Commit graph

2674 commits

Author SHA1 Message Date
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
Eric S. Raymond
c14a607215 Add typelist feature. 2008-02-16 23:56:03 +00:00
Mark de Wever
59360efc50 Rewrote the download from wescamp and upload to addon server.
This works now only wml.put_campaign is broken which causes the whole thing
to fail hopelessly...
2008-02-16 19:26:45 +00:00
Mark de Wever
d68703454b Add the svn export option 2008-02-16 19:24:53 +00:00
Mark de Wever
ba0f1625a5 Commit some possible fixes for downloading from wescamp, but needs more testing. 2008-02-16 18:16:16 +00:00
Eric S. Raymond
c9d86da3f7 Get rid of the FAKE_REFERENCE kluge. 2008-02-16 10:48:20 +00:00
Eric S. Raymond
e41511a6a2 Recognize formals with single-chracter names correctly.
Addresses bug #11064.
2008-02-16 09:36:59 +00:00
Eric S. Raymond
e140ac971f Add the ability to change the warning level with in-line comments. 2008-02-16 09:13:28 +00:00
Eric S. Raymond
de18297a39 Suppress trying to print out macro arity in normal listings. 2008-02-16 08:27:54 +00:00
Eric S. Raymond
948bc32489 Fix brown-paper-bag bug in argument checking. 2008-02-14 05:13:32 +00:00
Eric S. Raymond
608ded4239 More macro typechecking improvements. 2008-02-14 04:56:52 +00:00
Eric S. Raymond
6252baf0c9 Allow wmlscope to take multiple --foce-used options, and use the capability. 2008-02-13 18:03:43 +00:00
Eric S. Raymond
0fd8975c94 More macro type checking. 94% of calls in mainline are now checked. 2008-02-13 02:04:50 +00:00
Eric S. Raymond
4c4f802989 More macro type checking.
Replace a South Guard macro that duplicates one in the core library.
2008-02-13 01:11:52 +00:00
Eric S. Raymond
fe36193828 Collect statistics on macros with unchecked argument types. 2008-02-13 00:03:30 +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
4c6f5f1e3e More macro typechecking. Clean up the terrain-types mess. 2008-02-12 11:55:52 +00:00
Eric S. Raymond
ef4a692367 More macro typechecking. A terrain code is now a recognized actual type. 2008-02-12 11:16:54 +00:00
Eric S. Raymond
1e90674462 Extend type-checking to more macros. 2008-02-12 05:11:18 +00:00
Eric S. Raymond
d1c3678356 Generalize the --from option.
Add an images-unused production so we can find things than need to be
included in animation frames etc.  Note, the report generator emits a
fair number of false positives through not recognizing implicit
references; I'll fix that next.
2008-02-10 18:32:20 +00:00
Eric S. Raymond
0ee463c8cf Enrich macro type checking some more and simplify the type inference rules.
Also head off a potential bug noted by Mordante with WML that
looks like {X_SPAN},{Y_SPAN}.
2008-02-10 09:38:07 +00:00
Eric S. Raymond
28bee542c6 More formal-argument fixups and macro type checking. 2008-02-10 08:05:32 +00:00
Eric S. Raymond
74534ae07b wmlscope can now list macros with untyped formals. 2008-02-10 06:15:29 +00:00
Eric S. Raymond
fc045b288e Impprove reporting of type mismatches. Fix a few more formal args. 2008-02-10 05:18:39 +00:00
Eric S. Raymond
a600ade30e Regularize use of macro formal arguments so we can do better typechecking. 2008-02-10 04:30:18 +00:00
Eric S. Raymond
ca4c995e6c Expect integer literals from formals X and Y.
New magic formals XSPAN and YSPAN accept ranges.  (This will enable
tighter type-ccking on macros like PLACE_IMAGE).
2008-02-10 01:58:57 +00:00
Eric S. Raymond
006ef441b1 This is the other half of a rename 2008-02-09 22:11:49 +00:00
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