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
c3facc5d43
Document magic export comments.
2008-02-27 11:48:14 +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
c14a607215
Add typelist feature.
2008-02-16 23:56:03 +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
6252baf0c9
Allow wmlscope to take multiple --foce-used options, and use the capability.
2008-02-13 18:03:43 +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
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
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
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
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
746312be0a
Cosmetic fixes.
2008-01-31 19:36:29 +00:00
Eric S. Raymond
f39e2bd385
Sort cross-reference results by key.
2007-09-21 07:31:34 +00:00
Eric S. Raymond
b1b809feed
Omit textdomain declarations from generated macro reference, fix a typo.
2007-08-26 13:56:51 +00:00
Eric S. Raymond
17ec5556ba
Document what we're doing.
2007-07-24 12:54:34 +00:00
Eric S. Raymond
5606e00902
Document "no-icon".
2007-07-24 12:45:50 +00:00
Eric S. Raymond
0cdc363178
wmlscope now constructs implicit references to attack icons.
2007-07-22 19:16:39 +00:00
Eric S. Raymond
9433ae3fee
Implement a facility to make wmlindent ignore designated stretches of lines.
...
Allow generation of XHTML docs from macro comments indented in the new format.
2007-06-29 11:50:33 +00:00
Eric S. Raymond
7cf55aa99a
Fix the macro-reference generator.
2007-06-23 15:38:21 +00:00
Elias Pschernig
48a82a6f55
Grouped the installed python scripts into a single wesnoth module...
...
...as to not clutter up the python lib dir too much.
2007-05-31 19:06:25 +00:00
Eric S. Raymond
4c71177e34
Two name changes:
...
macroscope -> wmlscope
upconvert -> wmllint
This is to keep the names of our tools, insofar as possible,
within a wml* private namespace.
2007-05-10 21:01:22 +00:00