Eric S. Raymond
3121bf5a7f
Make sure all user_team_names are quoted.
...
Fix the glitch check for this to run even when lift is not enabled.
2008-04-03 20:29:02 +00:00
Eric S. Raymond
659f5d1894
More suppression of spurious wmllint warnings.
2008-04-03 19:13:14 +00:00
Eric S. Raymond
01f02a707b
Teach wmllint to detect and warn of user_team_name members...
...
...without translation marks, and clean up a few.
2008-04-03 17:59:26 +00:00
Eric S. Raymond
84f7597007
Prevent some false positive during lifting.
2008-04-01 13:42:56 +00:00
Eric S. Raymond
e5e500ca60
[unit_type] unit_description -> description
2008-03-21 03:26:09 +00:00
Eric S. Raymond
1c5348cdb9
Eliminate some false positives.
2008-03-18 21:18:55 +00:00
Eric S. Raymond
39733d0ed1
wmllint had a bug. Fix it, and commit the resulting lifts.
2008-03-17 12:12:18 +00:00
Eric S. Raymond
9ea8a35f8d
Remove --display-revision switch, always build revision-stamp file.
...
Implement a :version debug command that shows the build version,
including the SVN revision from the build-stamp file.
2008-03-17 08:46:37 +00:00
Eric S. Raymond
34180d285a
Another consequence of unit_description -> name.
2008-03-16 18:30:42 +00:00
Eric S. Raymond
acd3f95a70
generate_description -> generate_name.
2008-03-16 11:08:04 +00:00
Eric S. Raymond
c70a1064b3
Make WML match C++ reality,
...
...which is that object takes a "description" attribute rather than a
"user_description" attribute. I think this error was a fossil from an
experiment just after 1.4.
2008-03-15 22:40:47 +00:00
Eric S. Raymond
4ec05d32b7
Fix up WML variable references...
...
...to track the SingleUnitWML attribute name changes. These cannot be
lifted mechanically, but wmllint warns about possible problems.
2008-03-15 21:55:05 +00:00
Eric S. Raymond
b2b55e5996
description= -> name in [unit]
...
This will cause unit names to be displayed incorrectly from savefiles made
since 2008-03-14T01:38:17Z!esr@thyrsus.com. It was either that or break compatibility with 1.3/1.4
savefiles.
2008-03-15 20:30:45 +00:00
Eric S. Raymond
b132442dd4
Don't add extraneous whitespace.
2008-03-15 18:35:39 +00:00
Eric S. Raymond
c157b90733
Improved end-to-end checking for modifications.
2008-03-15 18:03:52 +00:00
Eric S. Raymond
43e2048246
No need for the speaker canomicalizatuin any more.
2008-03-15 07:08:07 +00:00
Eric S. Raymond
1b94e8f035
Better reporting of map header starts.
2008-03-15 06:56:37 +00:00
Eric S. Raymond
141539b513
Fix a minor error I untroduced into wmllint last night.
2008-03-15 04:48:30 +00:00
Eric S. Raymond
17c9e1e0ad
user_description= -> description=
...
Code for SUF and reading unit configs has been modified
so things should work backward-compatibly.
2008-03-14 01:38:17 +00:00
Eric S. Raymond
fb48190801
Make wmllint cope wth keyboard interrupts gracefully.
2008-03-13 23:04:01 +00:00
Eric S. Raymond
9d430b0ed9
Enable wmllint to detect places where interpreting description= as...
...
...user_description= is interpreted now would cause SUFs to break.
Fix two wacky macros that caused false positives on this test
in mainline.
2008-03-13 21:30:54 +00:00
Eric S. Raymond
b769ebbb41
Remove some id declarations that (a) confuse wmllint,
...
...and (b) are ignored by the WML engine.
2008-03-13 18:21:26 +00:00
Eric S. Raymond
c2490d2cde
Teach wmllint that [filter_opponent] takes an SUF.
...
Fix more comments.
2008-03-13 10:06:24 +00:00
Eric S. Raymond
dff0a94c41
Teach wmllint to fix up macros containing description=...
...
...filters, and do that on mainline.
2008-03-13 09:32:07 +00:00
Eric S. Raymond
c66aa1eb74
Various cleanups related to description= -> id=, mostly comment fixes.
2008-03-13 09:14:15 +00:00
Eric S. Raymond
5d11edbd83
description= -> id= in SideWML.
...
description= is still accepted for backward compatibility.
2008-03-13 07:44:33 +00:00
Eric S. Raymond
aae5a0cb7c
description= -> id= in Standard Unit Fliters and SingleUnitWML.
...
For backward compatibility, description= is still accepted,
but this will change when it is merged with unit_description.
2008-03-13 06:22:01 +00:00
Eric S. Raymond
99e5675ce7
Fix archaic use of id= in [unit].
2008-03-12 11:06:33 +00:00
Eric S. Raymond
b1fd28f140
Variable name change.
2008-03-12 08:37:59 +00:00
Eric S. Raymond
9655d59081
[unit] enclosing UnitWML becomes [unit_type]
...
Note: This change breaks backward compatibility with the 1.4 branch!
2008-03-12 08:08:37 +00:00
Eric S. Raymond
500fa1ee31
Notify iser when we add map bordewrs, in case the code hits a false positive.
2008-03-12 05:42:36 +00:00
Eric S. Raymond
796b4ef8cc
Correct a minor wmllint error
2008-03-12 02:20:11 +00:00
Eric S. Raymond
06b7f7b1d9
Consistently use "speaker" rather than "description" in [message];...
...
...change by wmllint. This is a step towards cleaning up the mess
around "description", which is translatable in some contexts and not
in others.
2008-03-11 11:10:59 +00:00
Eric S. Raymond
31a3f81875
Change the "description" attribute in [object] to "user_description"...
...
...to mark the fact that it is used in the game display rather than as a
filter term. For backward compatibility with 1.4 UMC, continue to accept
"description", but this patch makes the appropriate change in all
mainline content.
2008-03-11 02:45:12 +00:00
Eric S. Raymond
b6ce8536be
Add a --stringfreeze option.
2008-03-10 02:54:42 +00:00
Eric S. Raymond
15187c0e65
Enabke wmllint to check for newlines in message strings,
...
...and implement a new kind of magic comment to suppress the warning.
2008-03-10 02:42:35 +00:00
Eric S. Raymond
f8491fa057
Teach wmllint to check for double spaces after end of sentence, and fix some.
2008-03-09 02:17:02 +00:00
Eric S. Raymond
7a0097ea9c
Small refactoring step.
2008-03-08 23:11:45 +00:00
Eric S. Raymond
f7122947fe
Disable the road terrain check.
2008-03-08 04:55:14 +00:00
Eric S. Raymond
364a4decbd
wmlindent strikes again.
2008-03-07 21:26:44 +00:00
Eric S. Raymond
878f5a32a5
Teach wmllint to detect unbalanced string quotes in macro calls,
...
...and fix the example.
2008-03-06 03:32:11 +00:00
Eric S. Raymond
512c996f22
New wmllint test and some minor cleanliness fixes to go with it.
2008-03-05 22:36:00 +00:00
Eric S. Raymond
43ada21c84
Address bug #11202 .
2008-03-04 17:39:32 +00:00
Eric S. Raymond
9c89a6c0fe
Minor bug fix.
2008-03-02 15:18:41 +00:00
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