1142 Commits

Author SHA1 Message Date
Eric S. Raymond
709ea04e11 The previous attempt to keep from leaking generated journey macros...
...into the global macro namespace got a bit overzealous.
2009-04-29 20:59:48 +00:00
Eric S. Raymond
ae4ff983a9 Fix errors in trackplacer's overlap detector. 2009-04-28 17:56:17 +00:00
Eric S. Raymond
75831da950 Typo fixes. 2009-04-28 17:05:25 +00:00
Eric S. Raymond
aa5e586d6e Don't allow generated trackplacer symbols to clutter up the global namespace. 2009-04-28 16:52:27 +00:00
Eric S. Raymond
84fe2dc2f0 Comment typo fixes. 2009-04-28 14:55:18 +00:00
Eric S. Raymond
df7b49deef Allowing conditionals inside [part] and [story]...
...allows some major simplifications in conditional journey macros and
their calling code.
2009-04-28 12:33:31 +00:00
Elias Pschernig
bceb82753f Made the python WML parser not choke on inline #textdomain commands. 2009-04-27 12:07:46 +00:00
Ignacio R. Morelle
7df8704662 wmllint is generating invalid WML for the ".stoned" and "[unstone]"...
...replacements (namely, it generates "petrified" and "[unpetrifyx]"
instead of ".petrified" and "[unpetrify]".

This commit fixes that.
2009-04-26 21:19:18 +00:00
Gunter Labes
f59d1604fd correct datadir option description...
...and also use the datadir when copying the css
2009-04-23 22:32:55 +00:00
Eric S. Raymond
25e9e53cb6 Change the terrain definition tag from [terrain] to [terrain_type].
This is paraallel to the change from [unit] to [unit_type], and for
similar reasons - reduces ambiguity, enables better WML sanity
checking.
2009-04-14 20:17:41 +00:00
Eric S. Raymond
ec8df73ff9 Enable wmllint to see saveames, including compressed savegames,
...and do its transformations on them.
2009-04-14 14:32:46 +00:00
Eric S. Raymond
9cd76d490c Wesnoth WML tools module now has an issave() entry pointy...
...that detects savefiles, including compressed savefiles.
2009-04-14 13:41:28 +00:00
Eric S. Raymond
3830227912 Fix incorrect comment. 2009-04-14 12:31:09 +00:00
Fabian Müller
a6837fe4cc added a rule for checking LoW only. 2009-04-12 19:25:56 +00:00
Eric S. Raymond
e7b27b6435 Change the trannstive verb "stone" (as in "turn to stone") to "petrify",
...and all related words such as "unstone", "stoned", etc. Former
usage was not really correct and led to unhelpful ambigiuity with both
"to stone" is in to hit with thrown stones, and "stoned" meaning
intoxicated.

All C++ code, WML, and tags are changed. New wmllint rules will handle all
lifting for UMC.  The wiki has been updated.

Will cause incompatibility with old savefiles containing stoned units.
2009-04-12 00:40:07 +00:00
Nils Kneuper
6ccc7c33c7 add some textdomain markers to files that had none,
...should not introduce any strings, just for completions sake (every
.cfg should have a marker, have done the job util
utils/change_textdomain -t )
2009-04-11 22:30:16 +00:00
Eric S. Raymond
4d13717cfa Prevent spurious conversion of RCs. 2009-04-10 12:06:45 +00:00
Eric S. Raymond
65773c5ed0 Feature for ShadowMaster and Espreon: "#wmllint: notecheck off"
suppresses error from traits wilth no matching notes.  "#wmllint:
notecheck off" re-enables this check.
2009-04-07 14:25:37 +00:00
Gunter Labes
e4b860c600 switch defaults to the new trunk addon server 2009-04-04 19:18:23 +00:00
Eric S. Raymond
3c5bc16d0a Don't generate exiguous space. 2009-04-04 16:14:47 +00:00
Eric S. Raymond
b332f4a054 Remove pointless -i/--initialdomain option inherited from Perl. 2009-04-04 16:00:03 +00:00
Eric S. Raymond
b7ae3a1134 Add to new wmlgettext the ability to embed translation notes 2009-04-04 13:56:48 +00:00
Eric S. Raymond
f6723ab962 Fix a claim in a comment that is no longer correct. 2009-04-03 22:16:33 +00:00
Iurii Chernyi
4ba3642690 Added some more checks for bad ai parameter placement 2009-04-02 15:44:41 +00:00
Iurii Chernyi
fb61e92b88 Added check for ai parameters outside [ai] to wmllint 2009-04-02 15:07:59 +00:00
Eric S. Raymond
20b27ed164 Generate Wesnoth version into .po. 2009-03-31 14:56:42 +00:00
Eric S. Raymond
2fc3eb541a Generate po headers. 2009-03-31 01:27:49 +00:00
Gunter Labes
a766a9c380 default to level 0 (like wesnoth) also on ValueError 2009-03-31 01:01:44 +00:00
Eric S. Raymond
c20896690c Beginnings of attribute filtering. 2009-03-31 00:59:42 +00:00
Eric S. Raymond
8f3b65075c More improvements in convenience methods.
The tag for a macro opener has had '}' removed, to make it
visually clear that it is unbalanced.
2009-03-31 00:53:35 +00:00
Eric S. Raymond
54c8c733c3 Speed up and improve parsing. 2009-03-30 23:59:05 +00:00
Eric S. Raymond
51dc220f3a Parsing stage for new wmlgettext is working. 2009-03-30 23:26:47 +00:00
Patrick Parker
9eab7cb5bb wmliterator : upgrade closeMacroType to actual element 2009-03-30 22:16:37 +00:00
Eric S. Raymond
502a52b8f5 Improved convenience methods for testing element types. 2009-03-30 20:49:38 +00:00
Eric S. Raymond
47b7a82e46 A start on a wmlgettexct replacement in Python. 2009-03-30 10:48:54 +00:00
Eric S. Raymond
36db78198c Improved documentation. 2009-03-30 09:14:06 +00:00
Eric S. Raymond
a777b64fac Remove most of the machinery relevant to obsolete 1.2 terrains,
we'll clean up the rest on the next pass.
2009-03-30 09:07:16 +00:00
Eric S. Raymond
5feb9927bc Address feature request at bug #13096: check for space in email names. 2009-03-30 03:23:41 +00:00
Eric S. Raymond
28fa71f718 Add transformations requested in bug #13246. 2009-03-30 02:12:13 +00:00
Eric S. Raymond
963249b101 For bug #13095, warn on files with a tilde *anywhere*. 2009-03-30 01:40:36 +00:00
Eric S. Raymond
2a84210a82 Address bug #13095 by having wmllint throw a warning...
...on filenames ending in tilde.
2009-03-30 01:36:22 +00:00
Eric S. Raymond
770b17e98d Encapsulate some Pango markup in WHISPER and ASIDE macros...
...so these conventions can be tweaked without changing translatable
strings.
2009-03-29 22:11:52 +00:00
Eric S. Raymond
f384fe4058 Pango-enable message= attributes within [message].
This patch includes (a) switching on this feature in the C core (and
diabling grotty old Wesnoth markup in this context), (b) an upgrade to
wmllint to do most of these conversions automatically (e.g. in TRoW),
(c) hand-fixes for some unual cases (in the Tutorial), and (d) a test
of Pango <i> (in THOT).
2009-03-29 20:55:13 +00:00
Eric S. Raymond
e981ebc3d4 Bad art removal, requested by kitty. 2009-03-27 21:49:55 +00:00
Ali El Gariani
aa6cc76240 A basic shell script to find the number of pixels out of the hex in unit images 2009-03-27 18:19:56 +00:00
Eric S. Raymond
c7a09d7dcb Add a production for listing campaigns by rank order. 2009-03-18 22:04:50 +00:00
Eric S. Raymond
40aa7d0ce5 Oops, don't discard *all* errors. 2009-03-18 14:43:21 +00:00
Eric S. Raymond
11efcc99ec Make wmlscope abort gracefully (without stack trace) on interrupt. 2009-03-18 14:41:39 +00:00
Eric S. Raymond
d6cd819cbd Minor wmllint/wmlscope cleanups. 2009-03-18 07:41:54 +00:00
Eric S. Raymond
7b276c2db2 Make wmliterator a bit more picky about matching tags,
...so it won't choke on formula-AI pth declrations.
2009-03-18 07:29:34 +00:00