Piotr Cychowski
748220eff8
Commit patch #1076
2008-06-29 16:52:29 +00:00
Greg Copeland
000f696fbf
Various changes to support gzip/zlib compression are now in place.
...
Some changes to core WML code is still required to make it properly
follow the new encoding/decoding escape sequences. Some results of
pylint have been applied. Includes minor portability enhancements.
Some code changed to be more OO+pythonic (e.g. threading). Some code
stubs are in place for future enhancements. Most reliable works
except for uploads.
2008-06-23 14:09:33 +00:00
Patrick Parker
caa60dbd03
added file comments
2008-06-23 03:14:18 +00:00
Pauli Nieminen
b59aa1b858
Made replacing \r\n and \t optional
2008-06-20 16:35:29 +00:00
Greg Copeland
24871184ba
Fixed missing reference to self.verbose and added missing reference to self.
2008-06-20 15:41:26 +00:00
Pauli Nieminen
f081033ef5
Fixed typo
2008-06-20 15:33:17 +00:00
Pauli Nieminen
86dff9d764
Added support to wmlparser for ignoring macros inside string
2008-06-20 15:31:27 +00:00
Pauli Nieminen
86e102a06a
Fixed tabs to spaces
2008-06-20 14:26:52 +00:00
Pauli Nieminen
2ce51639da
Fixed wml parser to read escaped strings
2008-06-20 14:19:16 +00:00
Nils Kneuper
bfaae1cee6
another fix needed for the move from gl_ES to gl
2008-06-20 11:06:53 +00:00
Sergey Popov
d7047db442
Apply patch #1072 .
2008-06-17 15:37:37 +00:00
Eric S. Raymond
86637f363c
Tweak the sanity checker so it can handle a special case in UtBS.
2008-06-09 16:48:55 +00:00
Eric S. Raymond
1f1fc2164f
Re-enable macro argument type checking, and fix some glitches it turns up.
...
Most changes in this diff just rename macro formal args so they match
what the type checker expects.
2008-06-09 16:25:13 +00:00
Gunter Labes
cdbdf4ede1
small improvement to abbreviation generation
2008-06-08 20:36:27 +00:00
Patrick Parker
8542b0de22
fix a typo in a variable initialization
2008-05-19 02:45:22 +00:00
Elias Pschernig
5cb6bf80eb
wmlunits: Made the Python wml parser more robust...
...
...when dealing with invalid WML, it should now abort with a
meaningful error message with about any bad WML you throw at it.
2008-05-16 16:05:51 +00:00
Elias Pschernig
a0084fcbcc
python wml parser: fix another problem with macro-in-macro-argument
2008-05-05 17:01:55 +00:00
Elias Pschernig
b75e8cd0ed
python wml parser: Fixed strange bug
2008-05-05 16:27:43 +00:00
Elias Pschernig
8da75c5dfb
wmlunits: allow factions to have empty recruits list
2008-05-05 15:51:03 +00:00
Elias Pschernig
61fc5bcace
Python WML parser: Ignore parentheses inside strings for macro parameters
2008-05-05 15:38:26 +00:00
Gunter Labes
f9eb4753d7
skip add-ons when there is a parse error instead of aborting
2008-05-02 14:19:53 +00:00
Elias Pschernig
1018163de7
python WML parser: Fixed typo in previous commit.
2008-05-02 13:47:03 +00:00
Elias Pschernig
472ba21396
python WML parser: Fixed a left-over bug from earlier textdomain stuff
2008-05-02 13:43:27 +00:00
Elias Pschernig
846688cbe6
wmlunits: Make base_unit work recursively...
...
...(one unit in EE needed that) and write lots of verbose error about
missing attack icons :P
2008-05-02 13:21:09 +00:00
Elias Pschernig
01bfe0c1b6
wmlunits: Abbreviate 'Default (accuracy mod)' as 'D(am)'
2008-05-02 12:41:25 +00:00
Elias Pschernig
8f65cf9741
wmlunits: replaced hero-icon.png with leader-crown.png...
...
...for faction leaders, and fixed some problems with attacks modified
from the base_unit
2008-05-02 12:34:46 +00:00
Elias Pschernig
5534e29a74
wmlunits: Tried to overlay hero-icon.png over leader units.
2008-05-01 16:20:43 +00:00
Elias Pschernig
2293806e2c
wmlunits: Fixed abilities and attacks display.
2008-04-30 22:43:38 +00:00
Elias Pschernig
f768001345
wmlunits: Added id also to unit info page.
2008-04-29 16:49:38 +00:00
Elias Pschernig
7e93462d43
wmlunits: increased font size of unit level indicator,
...
...added faction-leader indicator, added info link, added abilities,
added id
2008-04-29 16:38:45 +00:00
Gunter Labes
04518278ba
now really use the current dir for translations
...
comment the funny pop_to_top() call out since it doesn't work on
units.wesnoth.org
remove trailing spaces
2008-04-27 23:41:31 +00:00
Gunter Labes
90c7d5c289
default to the current directory for translations rather than cwd + /data
2008-04-27 22:47:18 +00:00
Elias Pschernig
657da51da7
wmlunits: display attacks also in the overview tree
2008-04-27 20:28:24 +00:00
Moritz Göbelbecker
5da3f92634
Reorganisation of the terrain macros including more consistent image naming.
2008-04-26 19:44:45 +00:00
Elias Pschernig
5df94c0232
wmlunits: output a page with animation statistics
2008-04-26 12:08:32 +00:00
Gunter Labes
33cb59f0e1
remove the umc era links
2008-04-25 23:03:40 +00:00
Elias Pschernig
59472613e3
wmlunits: Fixed bug where Methusalem in EOM...
...
...would not appear in the advancement tree as advancement from Sire.
2008-04-25 19:16:30 +00:00
Elias Pschernig
58a8cdd6d2
wmlunits: Copy images after parsing one language, not at end of script.
2008-04-25 15:59:02 +00:00
Elias Pschernig
9630080049
wmlunits: Changed units forest structure to a network structure...
...
...for multiple units advancing to the same unit, and added some
sanity checks for units who can advance to themselves.
2008-04-25 14:16:36 +00:00
Mark de Wever
584df8c958
Seems the move of the wiki grabber didn't delete the original.
2008-04-24 17:54:14 +00:00
Gunter Labes
5b9e5f7b66
update the portmap for the add-on manager
2008-04-24 02:25:31 +00:00
Elias Pschernig
3a41dc633d
wmlunits: Fix exception for missing female unit names in EoM,
...
...and ignore units with hide_help.
2008-04-23 21:30:12 +00:00
Gunter Labes
1b8d44e84d
revert 2008-04-23T19:07:49Z!esr@thyrsus.com
2008-04-23 20:34:59 +00:00
Gunter Labes
8c61572b07
revert 2008-04-23T19:31:40Z!esr@thyrsus.com, something went wrong there...
2008-04-23 20:27:27 +00:00
Eric S. Raymond
9db68b9b88
Back out my previous commit; I misunderstood the spec for the name change.
2008-04-23 19:31:40 +00:00
Eric S. Raymond
6921485048
campaigns -> add-ons.
...
This has been tested with the game, but the campaign-server client may
need work.
2008-04-23 19:07:49 +00:00
Mark de Wever
0597d11c07
Added a new wiki page with variables...
...
...and let the variables in the tables link to those descriptions.
2008-04-23 18:55:44 +00:00
Eric S. Raymond
40fadb5bcb
Refrain from mangling ability filters.
2008-04-23 09:55:28 +00:00
Mark de Wever
29a5ce6c12
Added the wiki grabber tool, which will grab wiki info from .cpp files.
...
It's used in the new GUI library and is hardcoded to process those
files. The format of the data needs to be in the wiki, hasn't been
done yet.
2008-04-20 18:01:14 +00:00
Elias Pschernig
04cf9aa4f6
wmlunits: Added unit_description as alternate name for description,
...
...and always add all advancements of all filtered units to the units tree.
2008-04-18 21:37:04 +00:00