Commit Graph

1300 Commits

Author SHA1 Message Date
Jérémy Rosen
0558fa07fc fix castle exploder 2010-03-12 17:20:07 +00:00
Alexander van Gessel
8c627a2b15 Expanded the gui schema a bit 2010-02-21 05:40:21 +01:00
Fabian Müller
5a73121a0c Added a lint-low option for wmllint...
...and made more scenarios being available in multiplayer.
2010-02-17 06:27:48 +00:00
Alexander van Gessel
db1c51d5e8 Make wmlparser check for emptiness of the tag stack at EOF 2010-02-16 17:14:54 +01:00
Alexander van Gessel
73bdcb5a68 Make wmlparser fail hard on a tag formed like [ this],
...where wesnoth's parser ignores the whitespace. Previously this was
treated as a differently named tag and could cause strange errors in
other places.
2010-02-16 17:05:50 +01:00
Eric S. Raymond
d236a9db2e All mainline macros are now type checked.
mog, if you're watching, we should talk about this chamge. I had to
modify some code generated by meta-macros, and want to make sure the
meta-macros get tweaked in whatever way is needed to preserve the
changes.
2010-02-16 16:00:26 +00:00
Alexander van Gessel
555131aa04 Make wmlparser more robust against things wesnoth's parser ignores...
...(but complain about them in verbose mode)
2010-02-16 16:38:38 +01:00
Alexander van Gessel
292dcd7bf6 Proof-of-concept GUI schema, with makefile entry to run it in data/tools 2010-02-16 16:19:48 +01:00
Eric S. Raymond
40198d42fe More macro argument type checking. 2010-02-16 03:12:00 +00:00
Eric S. Raymond
c4374f87e3 More macro argument type checking. No mismarches in mainline. 2010-02-15 21:46:31 +00:00
Eric S. Raymond
380c8e86e7 More macro argument type checking. No mismatches in mainline. 2010-02-15 14:32:20 +00:00
Alexander van Gessel
30c33ab654 Fix some issues with wmlvalidator 2010-02-14 23:53:01 +01:00
Alexander van Gessel
5950a82a68 Rewrite wmltest as wmlvalidator, unfinished, but somewhat functional 2010-02-14 23:52:57 +01:00
Alexander van Gessel
cd52f0bfc4 Add get_all_text() and get_texts() methods to wmldata.DataSub 2010-02-14 23:52:53 +01:00
Eric S. Raymond
2794e6c9ba Yet more macro argument type checking. No mismatches in mainline. 2010-02-14 22:24:31 +00:00
Eric S. Raymond
01c943aca6 More typechecking for macro arguments. No mismatches in mainline. 2010-02-12 14:10:51 +00:00
Eric S. Raymond
1ba88575e2 More macro argument type checking. No mismatches in mainline. 2010-02-12 13:19:30 +00:00
Eric S. Raymond
b543bb5115 Improved macro type checking for terrain macros. 2010-02-12 02:07:43 +00:00
Eric S. Raymond
c62c55e1a2 More macro argument typechecking. No mismatches in mainline. 2010-02-12 00:25:20 +00:00
Eric S. Raymond
75f2727548 More nacro argument type checking. No mismatches in mainline. 2010-02-11 22:45:04 +00:00
Eric S. Raymond
d72fb9cca7 More impprovements in macro type checking. No conflicts in mainline. 2010-02-11 20:26:35 +00:00
Eric S. Raymond
3c9a0d3a9d wmllint/wmlscope cleanup. BNo conflicts in mainline. 2010-02-11 15:36:15 +00:00
Eric S. Raymond
8992dccdbd More macro argument type abnnotations. No conflicts in mainline. 2010-02-11 14:57:19 +00:00
Eric S. Raymond
ca2f6c893f Deduce types for more macro formals. No conflicts in mainline. 2010-02-11 14:29:08 +00:00
Eric S. Raymond
e66a6eacf6 Flag specific macro arguments that have no typechecking with suffix ? 2010-02-08 18:26:07 +00:00
Eric S. Raymond
e45d72d31c More tweaks for macro type checking. No behavior changes. 2010-02-08 01:43:49 +00:00
Eric S. Raymond
1ffaf699f7 More macro-formal-argument tweaks to enable type checking. 2010-02-07 13:32:13 +00:00
Eric S. Raymond
23a425a9e4 Make it possible to type-check more macro calls.
No logic changes, this just renames some formals.
2010-02-06 18:35:10 +00:00
Alexander van Gessel
0ffeae5447 Add --to-json option to wmlparser 2010-02-06 14:53:21 +01:00
Eric S. Raymond
94c32d5ef9 A bit of refactoring and documentation related to bug #15214:
...wmllint fails to update binary paths.  Turns out it's a bad idea to
wire this in, as it's good for UMC only and clobbers mainline.
2010-01-27 11:27:49 +00:00
Ignacio R. Morelle
dd1715749c Files that reference themselves... 2010-01-21 13:59:06 +00:00
Ignacio R. Morelle
0716bef553 Rename *.xhtml snippets for macro-reference.html target to *.html 2010-01-21 13:54:49 +00:00
Ignacio R. Morelle
3efb87abd9 Rename macro-reference.xhtml target and its output to macro-reference.html 2010-01-21 13:53:08 +00:00
Ignacio R. Morelle
2c2e12d38c Copyright update 2010-01-20 01:33:38 +00:00
Ignacio R. Morelle
02e46c0663 Use text/html MIME type, not text/xhtml...
...which doesn't work for certain browsers including IE < 8
2010-01-20 01:28:46 +00:00
Eric S. Raymond
b2f788e240 Refactor mainline code to not rely on [unit]side defaulting to 1,
...and to not use [unit] within [side].
2010-01-14 02:07:25 +00:00
Eric S. Raymond
767c75358a Typo fix. 2010-01-13 23:34:10 +00:00
Gunter Labes
5b3a5412d4 fixed listing logic 2010-01-13 09:26:00 +00:00
Alexander van Gessel
bc58979929 (partial) fix for incorrect wmllint 'unbalanced' handling 2010-01-13 05:32:10 +01:00
Elias Pschernig
5431f82643 [wmlunits] fixed some problems with latin1 filenames 2010-01-11 20:52:57 +00:00
Eric S. Raymond
2f18ef450f Make spellchecker ignore the UTF-8 horizontal dash. 2010-01-08 23:58:46 +00:00
Eric S. Raymond
fbd4805d03 eyrie -> aerie 2010-01-08 20:37:22 +00:00
Eric S. Raymond
75d063925e Add "teleported" to spellcheck exceptions, and sort the list. 2010-01-08 20:23:07 +00:00
Alexander van Gessel
e07a2e58c1 Fix pango markup in wmllint rule 2009-12-26 00:13:24 +01:00
Eric S. Raymond
706395577b Spelling exceptions and one wmllint tweak. 2009-12-24 21:18:09 +00:00
Eric S. Raymond
cf68488d6e Add some spelling exceptions. 2009-12-24 19:55:23 +00:00
Eric S. Raymond
ee929c7ef2 Make it easier to exclude directories for VCSes from resource trees. 2009-12-21 21:40:51 +00:00
Eric S. Raymond
64ad6085c0 wmlscope/wmllint cleanup. 2009-12-21 21:08:07 +00:00
Mark de Wever
5d47584a12 Set the translate flag with the addon script.
patch #1387.
2009-12-07 19:33:57 +00:00
Eric S. Raymond
2d8550e6c0 Note on two cases wmlflip cannot handle. 2009-11-30 21:26:19 +00:00