Eric S. Raymond
2341a7ee08
Suppress some verbosity.
2008-03-01 23:39:52 +00:00
Eric S. Raymond
c2c4914e19
Typo fix.
2008-03-01 08:47:37 +00:00
Eric S. Raymond
303a039679
Use cancrecruit={yes,no} rather than canrecruit={1,0} everywhere,
...
...because it's a good example mainline should set for UMC.
This change was done mechanically with a wmllint enhancement.
2008-03-01 08:42:40 +00:00
Eric S. Raymond
85b90320cf
Tweak some things soi SoF continues to pass sanity tests.
2008-02-19 22:57:57 +00:00
Eric S. Raymond
1981d43bad
Teach wmllint to convert letter= to terrain= when appropriate.
...
Fix a comment.
2008-02-12 13:16:22 +00:00
Eric S. Raymond
358cf05fb9
Avoid spurious messages.
2008-02-08 05:46:19 +00:00
Eric S. Raymond
e849504a0c
Remove unused transformation.
2008-02-06 20:57:07 +00:00
Eric S. Raymond
cc6d19f0d8
Impplement noyga's FR in bug #10990 :
...
detect unknown movetypes and rwaces in units.
2008-02-06 03:01:37 +00:00
Eric S. Raymond
5f883d14bd
Implement FR #4 in bug #10990 , checking side sequence numbers.
...
Fix a couple of glitches this revealed in mainline
2008-02-06 01:41:18 +00:00
Eric S. Raymond
b2061f6180
Code cleanup.
2008-02-06 01:07:55 +00:00
Eric S. Raymond
aba249cf83
Move all #textdomain declarations to line 1 at Ivanovic's request.
2008-02-05 21:56:35 +00:00
Eric S. Raymond
c10cf2b68b
Ibanovic wants all #textdomain declrations in line 1.
2008-02-05 21:31:31 +00:00
Eric S. Raymond
3d0d0a6841
Iplemented FR in bug #10952 , but under the --future switch.
...
We have a couple of these glitches but can't fix them until after 1.4.
2008-02-05 19:57:56 +00:00
Eric S. Raymond
30e46d21f9
Address FR #10951 .
...
My check is actually slightly more relaxed, it verifies that there are
no translatable strings before the #textdomain directive.
2008-02-05 19:45:35 +00:00
Eric S. Raymond
875f023721
Detect badly placed #textdomain strings (partial implementation of FR #10951 ).
...
Correct two mainline glitches detected by this code.
2008-02-05 19:22:06 +00:00
Eric S. Raymond
4f0c7c0c41
Don't just warn about wrong translation marks, actually fix them.
2008-02-05 18:20:15 +00:00
Eric S. Raymond
b84b295168
Added check for macro calls in translatable strings.
...
Mainline has none at this time.
2008-02-02 22:53:50 +00:00
Eric S. Raymond
759f1dc262
Spelling, typo and text fixes related to meta-bug #10960 .
2008-02-02 19:14:38 +00:00
Eric S. Raymond
9c7005d08d
Adde extended translation-mark checking and fixed some bugs it found.
2008-02-02 11:20:25 +00:00
Eric S. Raymond
727f8d6116
Expect description= within [trait] to have a translation mark.
2008-02-02 10:47:40 +00:00
Eric S. Raymond
793b94b23b
New logic in wmllint for checking tags that should have translation marks...
...
(such as [message]) and tags that should not (such as
[speaker]). Also, fixes for all but one of the glitches found with
this code.
2008-02-02 10:35:44 +00:00
Eric S. Raymond
8e486eea22
Restore --oldversion.
2008-02-02 04:59:36 +00:00
Eric S. Raymond
b5c52be244
Avoid some false his on the keyword 'usage'.
2008-02-01 23:29:58 +00:00
Eric S. Raymond
b527bc665b
Properly conditionalize another conversion.
2008-02-01 23:12:38 +00:00
Eric S. Raymond
b55fd6f648
Remove remaining version check
2008-02-01 15:49:44 +00:00
Eric S. Raymond
26033be54c
Reove the --oldversions option, It was never very useful.
2008-02-01 15:12:19 +00:00
Eric S. Raymond
13d01a4e51
wmllint now has the capability to automatically check...
...
...that every description= in [message] and [filter] blocks refers to
a unit that is present in the scenario. This commit fixes almost all
bugs found with this test, and adds magic comments to handle places
where the WML doesn't supply a recognizable unit creation or recall
(usually because of macros).
2008-01-31 13:12:19 +00:00
Eric S. Raymond
f077b9485e
Handle the last edge cases in the test for recruitment_pattern consistency.
2008-01-31 06:20:57 +00:00
Eric S. Raymond
1c34d84292
Yet more fixes to recruitment-pattern bugs,
...
...and a warning about the limitations of the wmllint test.
2008-01-31 05:47:44 +00:00
Eric S. Raymond
3534629847
Recruitment-pattern sanity checks now work.
2008-01-31 03:55:59 +00:00
Eric S. Raymond
4c1fcf1193
wmllint now gathers the information necessary...
...
...to do recruitment consistency checks, but doesn't do them yet.
2008-01-31 01:01:27 +00:00
Eric S. Raymond
67175d706a
Disable note checks if we see a base_unit.
2008-01-29 20:00:38 +00:00
Eric S. Raymond
d82fd86f96
1.3.13 -> 1.3.14 windmill to village conversion. Apparently for UMC only.
2008-01-25 03:57:49 +00:00
Eric S. Raymond
e579e973a9
Cleaner error message generation.
2008-01-24 22:50:11 +00:00
Eric S. Raymond
937f600c90
Clean up after some wmllint warnings.
2008-01-21 18:02:15 +00:00
Eric S. Raymond
8e1f96522a
Address bug #10844 .
2008-01-21 16:15:32 +00:00
Eric S. Raymond
127e5eb3d3
Address bug #10521 .
...
get_hit_sound conversion is now in wmllint, and all instances in
mainline are converted.
2008-01-11 16:22:54 +00:00
Eric S. Raymond
e1185d9f55
The check described in bug #10612 is now part of wmllint.
...
All unit files that did not pass the check have been corrected.
2008-01-10 21:03:50 +00:00
Eric S. Raymond
9dd4fc6e82
Ignore some deliberately unbalanced WML.
2008-01-03 15:14:26 +00:00
Eric S. Raymond
87841ddb19
Fix a bug that was causing wmllint to ignore maps.
2008-01-03 12:40:39 +00:00
Eric S. Raymond
c5f8c853ac
Attempt to address bug #10476 .
2007-12-09 01:09:05 +00:00
Eric S. Raymond
d3bbac3603
Change Ivanovic's test slightly.
2007-11-10 21:36:47 +00:00
Eric S. Raymond
eb28d8e83a
Found some false positives; implement a magic comment to ignore them.
2007-11-10 17:58:37 +00:00
Eric S. Raymond
11045df5fc
Correct the check for bad translation marks.
2007-11-10 17:45:53 +00:00
Eric S. Raymond
f9ceae7ee5
Add a check to wmllint for non-strings made translatable,
...
fix a few glitches ervealed by wmlcope/wmllint.
2007-11-10 14:27:43 +00:00
Eric S. Raymond
8e13bd3e95
Avoid false positives on the string "mask" in cfg text.
2007-11-07 15:06:26 +00:00
Eric S. Raymond
4d95ea11c5
Don't add a border to any mapfile with a usage=mask header.
...
Also, warn if a file has usage=mask and a map extension or vice-versa.
2007-11-07 14:12:30 +00:00
Eric S. Raymond
bf9df1b96d
Outlaw Ranger -> Ranger
2007-10-29 00:39:48 +00:00
Eric S. Raymond
74fa358fc1
Prevent border and header conversion of one-line maps.
...
This is basically so the NO_MAP macro doesn't get hosed.
2007-10-28 17:46:53 +00:00
Eric S. Raymond
5c21cce9be
Remove an obsolete comment.
2007-10-28 17:02:34 +00:00