Commit graph

2320 commits

Author SHA1 Message Date
Eric S. Raymond
985443c5f4 Fix broken campaigns-client upload. 2008-03-14 02:15:07 +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
f632b3c91e mk-edges removed as obsolete, on advice from art forum. 2008-03-13 18:51:39 +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
fe1af9a393 Remove obsolete {{Home}}, template,
...add new category 'Generated' to mark that this should not be
edited.
2008-03-08 09:38:51 +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
5a693050e9 Make the --listfiles option work again. 2008-03-07 11:43:52 +00:00
Eric S. Raymond
43900022cf Improve the duplicate detection...
...so that it normally only triggers on exported IDs.  The
--collisions option check all IDs.
2008-03-07 11:36:44 +00:00
Eric S. Raymond
c2971fed96 Teach wmlscope how to detect duplicate unit IDs. Fix some trivial instances. 2008-03-07 10:19:25 +00:00
Eric S. Raymond
06ca45a33b Consistency-check mask files as well as map files. 2008-03-06 19:35:23 +00:00
Eric S. Raymond
613ab8dd30 Find formals correctly on indented #define lines. 2008-03-06 13:34:56 +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
a8cee73c12 Enrich the editor theme markup for hotkeys by adding a description= attribute.
A new script, data/tools/extractbindings, uses this to automatically
generate an up-to-date list of editor keybindings in a form suitable
for the wiki.
2008-02-29 21:11:35 +00:00
Eric S. Raymond
c3facc5d43 Document magic export comments. 2008-02-27 11:48:14 +00:00
Eric S. Raymond
362e459779 wmlscope now interprets export properties. 2008-02-27 11:42:53 +00:00
Eric S. Raymond
92fe16e9ec Add export-property comments to _main.cfgs.
These will control whether or not wmlscope expects each namespace to
export names.  Presently, core exports but campaigns do not.
2008-02-27 11:11:54 +00:00
Eric S. Raymond
b20adef3e9 Frewall in case of really ill-formed WML. 2008-02-27 02:48:23 +00:00
Eric S. Raymond
9c637bf7ae Keep some unwanted macros ot of the reference. 2008-02-26 10:43:19 +00:00
Eric S. Raymond
5e7553e3c8 Typo fix. 2008-02-26 10:29:20 +00:00
Gunter Labes
4a25bd254b restore default values 2008-02-26 01:26:04 +00:00
Miguel Zapico
71374108ac Solved bug #11153, units description now defaults to English if missing 2008-02-25 23:55:20 +00:00
Eric S. Raymond
9b86ddb269 Suppress reporting of known unused images. 2008-02-19 23:42:35 +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
e3c2652f31 Scenery-scattering for two more campaigns.
The images-unused test noe passes on mainline.
2008-02-17 14:59:57 +00:00
Mark de Wever
761c93da36 Fix a stupid copy paste bug. 2008-02-17 08:34:32 +00:00