Alexander van Gessel
79220496f8
Update wmlgrammar a bit to newer WML.
2009-06-14 00:23:53 +01:00
Eric S. Raymond
a797f34029
Prevent Pango markup from confusing the spellchecker.
2009-06-11 19:55:49 +00:00
Eric S. Raymond
e4776e7077
Fix a minor Python error.
2009-06-11 19:01:36 +00:00
Gunter Labes
393de7e9f1
fixed terrain parsing
2009-06-11 06:46:15 +00:00
Gunter Labes
4a429a5530
made defense and resistance values default to 0%
2009-06-11 06:46:08 +00:00
Alexander van Gessel
713aebaf54
Teach wmlparser to read << ... >> strings.
2009-06-03 14:33:09 +01:00
Alexander van Gessel
42fd32774f
Make wmlparser ignore lua strings for now.
2009-06-03 14:07:31 +01:00
Eric S. Raymond
352009dbbb
Clarifying context.
2009-06-03 02:31:25 +00:00
Eric S. Raymond
b9aa8dc880
Make wmllint a bit more discriminating...
...
...about performing [unit] -> [unit_type] conversions.
2009-06-02 20:56:40 +00:00
Eric S. Raymond
8843e09218
Arrange for the value of the nd_text attribute to be spellchecked.
2009-06-02 12:22:41 +00:00
Eric S. Raymond
bb77c09b8c
end_text needs a translation mark.
2009-06-02 12:03:33 +00:00
Gunter Labes
52bc5141cd
silence some verbose output
...
the verbose setting of the WML parser could be turned into an int
for better granularity if wanted
2009-05-27 00:19:14 +00:00
Gunter Labes
b3a3d8ceb5
check the variable we're actually writing out
2009-05-26 13:39:29 +00:00
Gunter Labes
f6fdc4bea0
do not use os.system with user supplied data
2009-05-25 21:32:22 +00:00
Gunter Labes
6daf8f7076
only parse addons when a userdir was given
2009-05-25 21:32:14 +00:00
Gunter Labes
73c11b17e8
Revert "made the add-on type case insensitive"
2009-05-24 09:55:00 +00:00
Gunter Labes
04ef17ba7a
made the add-on type case insensitive
2009-05-24 02:00:55 +00:00
Gunter Labes
3a1686ebf1
added explanations for the different add-on types
2009-05-23 22:25:10 +00:00
Gunter Labes
3b188dd248
fixed some bugs with icon finding
2009-05-23 00:28:58 +00:00
Gunter Labes
b22f0d5e98
added a note on how to manually install add-ons...
...
...and a reminder that not all add-ons are campaigns..
2009-05-22 22:53:20 +00:00
Gunter Labes
b7628c80b0
made all paths relative to the addon manager dir
2009-05-22 22:53:16 +00:00
Gunter Labes
901ad63e5a
update scripts: s/~campaigns/~add-ons/
2009-05-20 22:31:14 +00:00
Gunter Labes
f8def0c67d
removed some non-portable parameters...
...
...and rewrote parameter parsing to be more readable
2009-05-19 11:08:15 +00:00
Eric S. Raymond
fcb5e5c348
Mainlining UtBS Dwarven Explorer line...
...
...so Dwarvish sides in THoT and elsewhere can have a bit more unit
variety.
2009-05-17 05:01:10 +00:00
Eric S. Raymond
372d3c8471
Simplify wmlmove usage a bit.
2009-05-17 04:32:11 +00:00
Eric S. Raymond
b4457fb15e
Remove unused dependency.
2009-05-17 04:08:11 +00:00
Eric S. Raymond
33a61c6a10
Make python tools use hashlib instead of the deprecated md5 module.
2009-05-15 02:29:34 +00:00
Elias Pschernig
b446d3c102
Fixed bug #13516 which I had introduced...
...
...with the previous commit to the Python parser.
2009-05-13 16:01:41 +00:00
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