Eric S. Raymond
31c743f3ff
Add more tools documentation.
2008-02-09 00:24:18 +00:00
Eric S. Raymond
487db57e33
Document mk-edges.
2008-02-09 00:18:30 +00:00
Eric S. Raymond
67ffc6374c
Document a limitation of this script.
2008-02-09 00:07:15 +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
7eb3510fca
Implement checking of range, span, and filter types in macros.
...
Show the type signatures in ythe wmlscope error messages for the mismatches.
2008-02-06 20:22:44 +00:00
Eric S. Raymond
8a2db11ceb
Implement the IMAGE argument type for macros.
...
This involved changing a bunch of formal args in the terrain graphics
macros from IMAGE to IMAGESTEM or IMAGELINE to avoid false positives.
2008-02-06 19:28:56 +00:00
Eric S. Raymond
f5a323e8c3
Improved macro argument type checking,
...
and change some formals to convey type expectations.
2008-02-06 12:06:24 +00:00
Eric S. Raymond
3bf19bb1f1
wmlscope now does some argument type checking of macros.
...
The logic for deducing expected types from formals needs work.
2008-02-06 11:47:20 +00:00
Eric S. Raymond
a058c0ea21
Checkpoint before implementing argument type matching.
2008-02-06 10:39:46 +00:00
Eric S. Raymond
2f30f121cc
Implement zookeeper's FR #5 from bug #10990
...
check macro calls for mismatches in argument number. Fix a few
glitches found in mainline using this test.
2008-02-06 08:17:57 +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
e41fb3fc77
Use the --nolift option when doing normal sanity checks;
...
...this avoids invoking all the logic for converting from old dialects
of WML and speeds things up considerably.
2008-02-01 22:27:05 +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
332d9df9ae
More cosmetic fixes.
2008-01-31 19:37:39 +00:00
Eric S. Raymond
746312be0a
Cosmetic fixes.
2008-01-31 19:36:29 +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
Gunter Labes
c8d45d21e0
* fix attack animation listing
2008-01-28 20:55:51 +00:00
Eric S. Raymond
dc35a4411c
Small tweak to macro use detector,
...
...will avoid spurious matches on filemanes containing . and lead with
capital letter.
2008-01-28 19:59:59 +00:00
Eric S. Raymond
dc3703711c
Fix indentation error that was causing unresolved macros to be missed.
2008-01-28 18:30:23 +00:00
Elias Pschernig
7a420c55a3
slightly updated the python parser, for what it's worth
2008-01-28 17:06:48 +00:00
Gunter Labes
60ec9f153e
make animations page work again
...
(didn't take subdirectories for units into account)
fix indentation
2008-01-27 22:28:57 +00:00
Mark de Wever
d2dd39ef7a
wescamp script allows the same values for true as utils::string_bool()
2008-01-27 18:37:52 +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
d52a829b24
Always report changed files when reindenting.
2008-01-25 03:26:21 +00:00
Eric S. Raymond
e579e973a9
Cleaner error message generation.
2008-01-24 22:50:11 +00:00
Eric S. Raymond
b1b2435d40
Reindent the mainline content to uniiform whitespace.
2008-01-24 00:16:42 +00:00
Eric S. Raymond
937f600c90
Clean up after some wmllint warnings.
2008-01-21 18:02:15 +00:00