Commit graph

563 commits

Author SHA1 Message Date
Eric S. Raymond
2cc7e6f954 Document what the spellchecker scanner is doing. 2008-11-03 08:25:16 +00:00
Eric S. Raymond
53d2b62b88 When a spelling exception occurs, report the non-case-smashed token. 2008-11-03 07:41:08 +00:00
Eric S. Raymond
c279bd6ba1 Teach the spellchecker to handle another edge case. 2008-11-03 07:17:31 +00:00
Eric S. Raymond
2dee5c7a2b Fix some minor bugs in the spellchecker scanner. 2008-11-03 04:51:15 +00:00
Eric S. Raymond
3863275e23 Refactoring step. 2008-11-03 03:04:00 +00:00
Eric S. Raymond
ff898341e1 This revision fixes almost all spellcheck exceptions in mainline.
The few that remaim probably indicate spellchecker bugs.
2008-11-03 00:49:29 +00:00
Eric S. Raymond
a055f9fbe2 Spell checking for WML text strings.
This is the infrastructure; there are still about 1500 exceptions to
be chased down.
2008-11-01 23:58:38 +00:00
Eric S. Raymond
7306eced9e wmllint missed a case in converting the track-marking macros. 2008-10-20 11:25:36 +00:00
Eric S. Raymond
c1ed694a9a Minor bug fix for wmllint. 2008-10-14 22:59:46 +00:00
Eric S. Raymond
aadd4578cd Various tweaks for wmllint hygiene. 2008-10-14 22:46:24 +00:00
Eric S. Raymond
3ad3d589d8 Remove unneeded code to lift death animations (under --future, never used). 2008-10-11 13:49:40 +00:00
Eric S. Raymond
e5245aefb8 Change the DOT*/CROSS*/FLAG* macros to {NEW,OLD}_{JOURNEY_BATTLE_REST}.
Convert coordinates in DOT and CROSS to the centered version.
This commit makes no behavioral change at all -- it is pure mechanism,
no policy -- but will make it easier to restyle the tracking markers.

Also deprecates the old macros, and teaches wmllint to do the up-conversion.
2008-10-09 20:48:59 +00:00
Mark de Wever
9227e277cf Tab to space fix. 2008-10-09 18:08:14 +00:00
Eric S. Raymond
76abc35ca6 wmllint now does translation-mark and doublespace checks outside scenrio tags.
This diff fixes some glitches found that way and tells wmllint to ignore
various edge cases.  A few cannot_use_message=NONE instances are removed,
as this simplifies the check and zookeeper says it's safe.
2008-10-09 17:46:10 +00:00
Eric S. Raymond
78328561f2 With these changes (including a slightly smarter wmllint)
Legend of Wesmere wmllints clean.
2008-10-07 04:04:23 +00:00
Eric S. Raymond
ff1f2d30c0 Pacify wmllint about some legitimate macro uses. 2008-09-30 14:24:41 +00:00
Eric S. Raymond
0ac71358e9 Strip attributes for stack checks even when there's no comment. 2008-09-16 22:07:57 +00:00
Eric S. Raymond
654d67fdbd Fix minor bugs reported by AI0867. 2008-09-12 18:15:57 +00:00
Eric S. Raymond
feda165fc1 Teach wmllint to report invalid unit names in advances_to attributes. 2008-09-12 06:49:24 +00:00
Eric S. Raymond
b7d1531b89 Clarify some history. 2008-09-04 18:26:59 +00:00
Eric S. Raymond
2d07184bc9 Since we can rely on map files to have a .map extension now,
...simplify a test a bit and remove an explicit list of exception
extensions.
2008-09-04 18:17:24 +00:00
Eric S. Raymond
4e09e5e06a Check unit-type derivations. 2008-09-04 17:30:48 +00:00
Eric S. Raymond
ccbc77ad6b Add much more rigorous consistency checking...
...of recruitment lists and patterns.
2008-09-04 10:30:36 +00:00
Eric S. Raymond
319492634b Simplify some code, reflecting 1.4 conventions. 2008-09-04 08:04:51 +00:00
Eric S. Raymond
8ac759098c Remove some dead code. 2008-09-04 08:03:08 +00:00
Eric S. Raymond
011cbdf919 Minor cleanup. 2008-09-02 17:54:41 +00:00
Eric S. Raymond
6326aa4ec4 Typo fix. 2008-09-02 16:01:10 +00:00
Eric S. Raymond
339599149f Another try at fixing AI0867's bug. 2008-09-02 15:56:21 +00:00
Eric S. Raymond
881e5e3ff6 Fix a bug reported by AI0867. 2008-09-02 15:50:24 +00:00
Eric S. Raymond
6d417ce2f5 Address bug #12259. 2008-09-02 00:32:16 +00:00
Eric S. Raymond
cb33e98e29 Remove upconvert switch, it's no longer needed. 2008-09-02 00:30:42 +00:00
Eric S. Raymond
aac6a79a04 Restore a 1.5 conversion I shouldn't have dropped. 2008-08-29 19:27:10 +00:00
Eric S. Raymond
fec0ec9d71 advancesto -> advances_to. 2008-08-29 19:03:00 +00:00
Eric S. Raymond
d0fb2d0461 This change removes lifting logic for pre-1.4 versions.
If you need it, check out a copy of wmllint from the 1.4 stable
branch and use that to lift before running this one.

I did this for a policy reason; I wanted to kill off the --oldversion
switch.  It will *not* be restored; in future, changes to WML syntax
*must* be forward compatible in such a way that tags from old versions
can be unambiguously recognized (this will save everybody heartburn).

As a virtuous side effect, this featurectomy cuts wmllint's code
complexity by over 50%, improves performance by about 33%, and
banishes some annoying behaviors related to the 1.2 map-conversion
code.
2008-08-29 18:27:37 +00:00
Eric S. Raymond
effe5298b9 Typo fix. 2008-08-29 17:30:04 +00:00
Eric S. Raymond
3465bf7a99 Comment typo fix. 2008-08-29 17:02:32 +00:00
Eric S. Raymond
a53745e104 Ignore .git directories in wmllint as well. 2008-08-29 02:03:51 +00:00
Ignacio R. Morelle
ac3df3bd02 Apply patch #1081 2008-08-26 23:16:40 +00:00
Eric S. Raymond
3870c6efd7 Address FR #11528. 2008-08-18 23:55:40 +00:00
Eric S. Raymond
7e24bcbeea Address bug #12091. 2008-08-14 11:32:25 +00:00
Eric S. Raymond
87f215083c A pass at fixing wmllint warnings. Not all are disposed of yet. 2008-08-13 14:07:30 +00:00
Eric S. Raymond
86637f363c Tweak the sanity checker so it can handle a special case in UtBS. 2008-06-09 16:48:55 +00:00
Patrick Parker
8542b0de22 fix a typo in a variable initialization 2008-05-19 02:45:22 +00:00
Eric S. Raymond
40fadb5bcb Refrain from mangling ability filters. 2008-04-23 09:55:28 +00:00
Eric S. Raymond
42322d5d93 Fix a bug induced by a wmllint false-positive match,
...and prevent wmllint from doing it again.
2008-04-15 11:34:00 +00:00
Eric S. Raymond
504e37dc04 Detect campaigns without IDs. 2008-04-14 15:39:35 +00:00
Eric S. Raymond
a4d18fb1c1 Detect units missing a race attribute. 2008-04-14 15:20:57 +00:00
Eric S. Raymond
e1cb485826 Typo fixes. Also, revert an earlier typo fix that was incorrect. 2008-04-14 15:02:21 +00:00
Eric S. Raymond
65026b2b14 Fix two glitchwes reported by Turin. 2008-04-13 23:15:31 +00:00
Patrick Parker
14247b09cd patch #1037: Filter_x renaming 2008-04-08 07:15:25 +00:00