Commit graph

563 commits

Author SHA1 Message Date
Alexander van Gessel
372d50c847 Add support for ifhave/ifnhave to wmllint and wmliterator (bug #17159) 2010-11-27 21:45:10 +01:00
Eric S. Raymond
118052920d Fix an asset failure triggered by same base_unit cases. 2010-11-23 21:43:57 +00:00
Anonymissimus
e0c3b23db9 made the # wmllint: notecheck on/off and deathcheck on/off directives work
usage:

[unit_type]
# wmllint: notecheck off
description=...{SPECIAL_NOTES}
...
[/unit_type]
# wmllint: notecheck on
(since the message is omitted once that [/unit_type] is reached so it must still be off)
and
[event]
name=die
...
[message]
# wmllint: deathcheck off
id=...
# wmllint: deathcheck on
2010-11-10 22:43:41 +00:00
Ignacio R. Morelle
f3665105fb wmllint: *.editor_name is supposed to be translatable 2010-10-23 18:01:35 +00:00
Steven Panek
3a6eb75ee8 Renamed [removeitem] to [remove_item]; deprecated [removeitem]. 2010-10-01 23:42:21 +00:00
Steven Panek
c5b4681d93 Added a 'colour_lock' -> 'color_lock' conversion to wmllint. 2010-10-01 22:32:08 +00:00
Eric S. Raymond
d32c0205dc Clear up a bunch of minor string FIXMes from before 1.8. 2010-09-23 22:29:13 +00:00
J.W. Bjerk
64eb1ed49a added the volcano terrain code change to WMLLINT. 2010-09-19 10:16:45 +00:00
Eric S. Raymond
4147c6c77f Village-code changes requested by zookeeper,
...and wmllint code to perform them.
2010-09-13 16:43:50 +00:00
Eric S. Raymond
f1e86828dc Deal gracefully with conditional [scenario]/[multiplayer] tag nesting. 2010-09-01 01:51:15 +00:00
Eric S. Raymond
b1b1648e8f Partial wmllint cleanup. 2010-08-31 23:15:07 +00:00
Eric S. Raymond
85a6cb90ad Ggf -> Gg^Emf transformation requested by Eleazar. 2010-08-18 23:40:52 +00:00
Eric S. Raymond
2c86fcf4f0 Fix small nits setected by wmllint, and wmllint itself. 2010-08-12 20:08:22 +00:00
Eric S. Raymond
912a1a6336 More minor wmllint fixes. 2010-08-11 17:27:38 +00:00
Eric S. Raymond
d5f61d1b83 [sound_frame] islegal beneath [if]. 2010-08-11 16:51:41 +00:00
Eric S. Raymond
c14e1c566e Add two needed spelling exceptions. 2010-08-10 15:44:02 +00:00
Kosov Eugene
066c24be9b Fixed #16343: now wmllint doesn`t add translate mark to empty strings...
...and removes translate marks from empty strings
2010-08-02 20:19:32 +00:00
Eric S. Raymond
85324e2431 -p or --progress option for wmllint: - dumps filenames as it processes. 2010-07-16 18:53:13 +00:00
Eric S. Raymond
d9b3abc945 Detect and warn of a missing ID field in a [race] tag.
Addresses bug #16101: WMLint should handle missing id key in [race].
2010-07-12 15:39:03 +00:00
Eric S. Raymond
e4e2ea6d97 Enforce "color" rather than "colour" in the WML. 2010-06-19 06:27:03 +00:00
Eric S. Raymond
f23be008f1 Handle more UTF-8 wackiness gracefully in the spellchecker. 2010-06-17 21:41:45 +00:00
Eric S. Raymond
dd1f83f1eb Fix bug #16098: wmllint enters infinite loop during spellcheck 2010-06-01 22:03:37 +00:00
Eric S. Raymond
5244938849 Address bug #16035: wmllint missing stones -> petrifies. 2010-05-24 11:26:38 +00:00
Eric S. Raymond
4df6530a8a Address bug #16041: error in wmllint tag replacement. 2010-05-18 20:48:06 +00:00
Eric S. Raymond
01f2ee406b My previous change didn't include transformation of pure maps.
Fixing now.
2010-05-16 13:43:05 +00:00
Eric S. Raymond
6b7cd26142 Changes requested to fulfil the FR in bug #16029...
...(wmllint rules needed for updating maps as per 2010-05-16T07:52:30Z!lari.nieminen@iki.fi).
2010-05-16 13:06:26 +00:00
Eric S. Raymond
77f298883a Address bug #16019 (actually an FR). 2010-05-12 10:19:43 +00:00
Eric S. Raymond
f95f0a5cd7 Fix a minor bug in wmllint revealed by Dead WAter. 2010-03-28 03:18:07 +00:00
Eric S. Raymond
abaf743be1 Teach wmllint about the stun ability. 2010-03-28 03:02:43 +00:00
Eric S. Raymond
2d66434504 Blatant hack to pass [side] declarations that are all macros,
...as in Dead Water.
2010-03-28 02:16:48 +00:00
Eric S. Raymond
d928daaa21 Handle id in [set_menu_item] as a declaration. 2010-03-28 01:55:09 +00:00
Eric S. Raymond
a860b23752 Oc portrait reference fixes. Goes with 2010-03-23T21:01:33Z!lari.nieminen@iki.fi. 2010-03-23 21:23:21 +00: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
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
Alexander van Gessel
bc58979929 (partial) fix for incorrect wmllint 'unbalanced' handling 2010-01-13 05:32:10 +01: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
6febd458ee More spellcheck stripping. 2009-11-28 07:01:57 +00:00
Eric S. Raymond
e813a93f2e More spelling-error reduction. 2009-11-26 03:42:23 +00:00
Eric S. Raymond
8537681829 Handle more UTF-8 punctuation. 2009-11-26 03:17:59 +00:00
Eric S. Raymond
e6e0704b3b Try to scrub UTF-8 ellipses before spellchecking. 2009-11-26 03:04:41 +00:00
Eric S. Raymond
5770b67870 Comment fix. 2009-11-24 14:36:47 +00:00
Eric S. Raymond
28c975a55e Fix another error in the pangoization code. Addresses bug #14815. 2009-11-24 14:22:07 +00:00
Eric S. Raymond
379c45b05d Fix a string-quote test. 2009-11-23 15:33:08 +00:00
Eric S. Raymond
059daa4ecb Bugfixes for pangoization and handling of stringfreeze option. 2009-11-23 13:20:58 +00:00
Eric S. Raymond
7731814a07 Ignore concatenation signs when checking for missopellings. 2009-11-23 04:20:38 +00:00