Eric S. Raymond
d7d4b130e8
First cut at [base_unit]-aware lookup.
2008-03-31 15:47:07 +00:00
Eric S. Raymond
2beeda0b9f
Correct a coding error introduced in last commit.
2008-03-31 15:19:08 +00:00
Eric S. Raymond
10862711e4
Collect all unit data in a single object so we can resolve basenames.
2008-03-31 15:07:31 +00:00
Eric S. Raymond
63bd89d392
Report generator doesn't need to be part of the UnitList object.
2008-03-31 14:45:47 +00:00
Eric S. Raymond
801c1409e6
Parsing is now correctly separated from report generation.
2008-03-31 14:25:49 +00:00
Eric S. Raymond
9e0c7d7e84
wmlunits now uses the textdomain information...
...
...included in each parsed unit item.
2008-03-31 14:12:14 +00:00
Eric S. Raymond
2d862f5646
Begin to separate unit parsing from report generation.
2008-03-31 13:35:23 +00:00
Eric S. Raymond
c6fca2eb00
Translation class is generally useful, so put it in the tools library.
2008-03-31 13:11:59 +00:00
Eric S. Raymond
515c68ce4c
Two changes to wmlparser:
...
1) All data items collected by the parse now carry information about
the text domain that was active when they were parsed.
2) Parser no longer ignores all #textdomain declarations other than
'wesnoth'.
Note: the second change is potentially not backwards-compatible,
depending on how the parser client uses the data.
2008-03-31 12:58:26 +00:00
Eric S. Raymond
513921c01c
Define a function for popping to the top-level dist directory.
2008-03-31 11:17:00 +00:00
Eric S. Raymond
b1a9d29509
Translation language can now be specified with a switch.
2008-03-31 11:05:04 +00:00
Eric S. Raymond
1c0660550a
Factor out translation processing.
2008-03-31 10:39:59 +00:00
Eric S. Raymond
1753e856fb
Start of wmlunits refactoring.
2008-03-31 09:58:49 +00:00
Eric S. Raymond
71d85e4c00
Added elias's unit lister to the data/tools directory.
2008-03-31 09:45:54 +00:00
Gunter Labes
5d7841b273
also add the image reference for the zombie bat
2008-03-29 00:06:53 +00:00
Elias Pschernig
35f37ca983
Applied patch #1023 by Walter Dörwald:
...
...Bug in Python source: wmlparser.DataDefine.copy()
2008-03-28 22:23:51 +00:00
Gunter Labes
de80e0cc8b
actually make the script work
2008-03-28 22:18:46 +00:00
Eric S. Raymond
5d28c25057
Fix bonehead error. I never tested in non-dryrun mode! (*blush*)
2008-03-28 17:09:04 +00:00
Eric S. Raymond
1288805d49
We only need one copy of TeamColorizer.
2008-03-28 16:06:29 +00:00
Gunter Labes
c7d072c890
typo fix
2008-03-28 15:25:37 +00:00
Gunter Labes
8921771b75
add the bat zombie
2008-03-28 15:20:45 +00:00
Douglas Hains
4add070c77
Added vim tools dir and syntax highlighting file for Formula AI scripts
...
(see Formula AI wiki for usage details & ctag support)
2008-03-27 01:50:09 +00:00
Eric S. Raymond
3a9b7440d1
Comment fix.
2008-03-26 14:14:56 +00:00
Eric S. Raymond
7ef7600fe3
No need to exclude unused image.
2008-03-26 14:13:25 +00:00
Elias Pschernig
087878100e
Added logic processing (#ifdef/#ifndef) to the python WML preprocessor...
...
...(until now it would just parse both branches and add them to the
output tree, as that's what campgen needed).
2008-03-23 15:35:10 +00:00
Eric S. Raymond
414568f71d
Delete TeamColorizer.pl, there's cleaned-up Python version now.
2008-03-23 15:31:42 +00:00
Eric S. Raymond
924d9ec0f9
Refactoring step.
2008-03-21 09:42:57 +00:00
Eric S. Raymond
f7dab42239
Document a script.
2008-03-21 09:31:43 +00:00
Eric S. Raymond
142d5cd739
TeamColorizer cleaned up and moves to Python.
2008-03-21 09:03:36 +00:00
Eric S. Raymond
e5e500ca60
[unit_type] unit_description -> description
2008-03-21 03:26:09 +00:00
Eric S. Raymond
54d289ab1c
More tag list adjustments.
2008-03-21 03:02:31 +00:00
Eric S. Raymond
89f0d9bdb6
Incorporate tags added recently.
2008-03-21 02:57:22 +00:00
Eric S. Raymond
bd129a9c79
Name changes preparatory to addressing bug #11318 .
2008-03-20 22:45:52 +00:00
Eric S. Raymond
c978a28d52
Add an "alignment" type check to wmllint.
2008-03-20 20:26:51 +00:00
Eric S. Raymond
4b2f5eecc7
Clean up the way the game_config::svnrev string is computed...
...
...(now game_config::revsion). As a result, user will never see
"unknown" when the SVN revision is not available.
2008-03-19 05:15:30 +00:00
Eric S. Raymond
1c5348cdb9
Eliminate some false positives.
2008-03-18 21:18:55 +00:00
Eric S. Raymond
39733d0ed1
wmllint had a bug. Fix it, and commit the resulting lifts.
2008-03-17 12:12:18 +00:00
Eric S. Raymond
9ea8a35f8d
Remove --display-revision switch, always build revision-stamp file.
...
Implement a :version debug command that shows the build version,
including the SVN revision from the build-stamp file.
2008-03-17 08:46:37 +00:00
Eric S. Raymond
34180d285a
Another consequence of unit_description -> name.
2008-03-16 18:30:42 +00:00
Eric S. Raymond
acd3f95a70
generate_description -> generate_name.
2008-03-16 11:08:04 +00:00
Eric S. Raymond
4a5a030151
Change definition-list format to carry more information.
2008-03-16 10:28:07 +00:00
Eric S. Raymond
c70a1064b3
Make WML match C++ reality,
...
...which is that object takes a "description" attribute rather than a
"user_description" attribute. I think this error was a fossil from an
experiment just after 1.4.
2008-03-15 22:40:47 +00:00
Eric S. Raymond
4ec05d32b7
Fix up WML variable references...
...
...to track the SingleUnitWML attribute name changes. These cannot be
lifted mechanically, but wmllint warns about possible problems.
2008-03-15 21:55:05 +00:00
Eric S. Raymond
b2b55e5996
description= -> name in [unit]
...
This will cause unit names to be displayed incorrectly from savefiles made
since 2008-03-14T01:38:17Z!esr@thyrsus.com. It was either that or break compatibility with 1.3/1.4
savefiles.
2008-03-15 20:30:45 +00:00
Eric S. Raymond
b132442dd4
Don't add extraneous whitespace.
2008-03-15 18:35:39 +00:00
Eric S. Raymond
c157b90733
Improved end-to-end checking for modifications.
2008-03-15 18:03:52 +00:00
Eric S. Raymond
43e2048246
No need for the speaker canomicalizatuin any more.
2008-03-15 07:08:07 +00:00
Eric S. Raymond
1b94e8f035
Better reporting of map header starts.
2008-03-15 06:56:37 +00:00
Eric S. Raymond
141539b513
Fix a minor error I untroduced into wmllint last night.
2008-03-15 04:48:30 +00:00
Eric S. Raymond
46b7625668
Use endswith for all excluded-suffix checks.
2008-03-14 15:24:55 +00:00