Commit Graph

104 Commits

Author SHA1 Message Date
Elias Pschernig
5721938776 [wmlunits] Use en_US instead of C for the default language. 2011-11-10 16:09:22 +00:00
Elias Pschernig
3d9bbb7cf7 [wmlunits] Don't include addon campaigns with no units.
Fixes lots of campaigns from the "Multipart Campaign Template" addon
showing up.
2011-10-24 16:45:00 +00:00
Thibault Févry
c408f32b5f Strip trailing whitespaces.
Some other changes to make code look more pythonish. No important changes.
2011-10-22 00:17:25 +00:00
Elias Pschernig
8ddc6dc056 [units.wesnoth.org] Slight CSS change...
...and removed addon factions from the navigation bar.
2011-09-01 18:39:30 +00:00
Elias Pschernig
dee0085032 [units.wesnoth.org] some css fixes 2011-08-24 20:59:47 +00:00
Elias Pschernig
f75a65a483 [units.wesnoth.org] validate as xhtml strict 2011-08-23 22:50:09 +00:00
Elias Pschernig
741d008939 [units.wesnoth.org] fix translations 2011-08-22 18:08:58 +00:00
Elias Pschernig
adf26fffa0 [units.wesnoth.org] more small CSS changes 2011-08-19 19:46:54 +00:00
Elias Pschernig
66221c93f7 [units.wesnoth.org] Adjusted unit-info CSS...
...to look a bit more like ancestral's bestiary.
2011-08-18 21:20:00 +00:00
Elias Pschernig
17e6c8c481 [units.wesnoth.org] only recoloror unit icons 2011-08-16 21:40:40 +00:00
Elias Pschernig
acee107f58 [units.wesnoth.org] some small CSS/JS changes 2011-08-16 18:22:02 +00:00
Elias Pschernig
0cb1ca0505 [units.wesnoth.org] Fixed some CSS problems, collapsed the sidebar menus. 2011-08-12 20:52:51 +00:00
Elias Pschernig
1d11b66d57 [wmlunits] Use the english text as fallback for missing translations.
Use fixed width for unit details page.
2011-08-07 21:45:43 +00:00
Elias Pschernig
38e7b63844 [units.wesnoth.org] Not ang_GB@latin but ang_GB...
...was the language to remove for now.
2011-07-30 11:59:42 +00:00
Elias Pschernig
c5eec58b3f [units.wesnoth.org] As requested by Espreon,
...remove ang_GB@latin from the language selection.
2011-07-30 11:22:07 +00:00
Elias Pschernig
2192aac30d [wmlunits] make copyright notice on units.wesnoth.org say...
...2003-2011 instead of 2003-2009
2011-06-05 14:50:52 +00:00
Elias Pschernig
5d57f537bd [wmlunits] fixed small bug in [specials] handling 2011-06-05 13:10:35 +00:00
Elias Pschernig
c330fb8263 [wmlunits] fixed ignored unit-specific resistance/movement-cost/defence values 2011-04-16 14:27:21 +00:00
Thibault Févry
2288ef0939 Removed a lot of trailing whitespaces. Shouldn't be anymore in python scripts. 2011-03-12 02:22:21 +00:00
Elias Pschernig
22f7e80164 [wmlunits]fix navbar for translations 2010-12-23 19:27:21 +00:00
Elias Pschernig
7524e6befc [wmlunits] use translations only for mainline units...
...(very few addon units had translations but creating all the addon
units in each language takes a lot of time and .html files). Also
report less errors for addons (the addon authors don't get to read
them anyway i'm afraid :/)
2010-12-22 23:34:08 +00:00
Elias Pschernig
c51f7b701f [wmlunits] Try to make it robust enough again to survive user-made WML. 2010-12-12 16:22:35 +00:00
Elias Pschernig
f75d178cec [wmlunits] fix two minor issues 2010-12-12 15:13:08 +00:00
Elias Pschernig
779ff4bbee fixed -C parameter to wmlunits being ignored sometimes 2010-08-18 17:07:55 +00:00
Elias Pschernig
987cc9da3c updated wmlunits 2010-08-18 16:05:36 +00:00
Elias Pschernig
d9f06c6646 [wmlunits] made it work on python 2.5 2010-05-28 21:56:08 +00:00
Elias Pschernig
26a3dc2046 [wmlunits] Updated wmlunits to use the new --preprocess parser.
Now all add-ons which can be played with wesnoth can be parsed by
wmlunits (only those).
2010-05-28 15:39:48 +00:00
Elias Pschernig
5431f82643 [wmlunits] fixed some problems with latin1 filenames 2010-01-11 20:52:57 +00:00
Elias Pschernig
89bc70b37c [wmlunits] Index terrain types by the .string...
...instead of the .id field as the latter isn't unique right now.
2009-09-24 18:15:55 +00:00
Elias Pschernig
aaf2850371 [wmlunits] change the process names of wmlunits to 'wmlunits'...
...so it can be killed more easily
2009-09-17 16:16:28 +00:00
Elias Pschernig
a3875006eb [wmlunits] Reset a reference early to keep less objects referenced...
...and enable (manual) GC. Should keep memory footprint below 500MB
now for the full WML tree of all addons on the 1.6 server.
2009-09-15 20:13:40 +00:00
Elias Pschernig
eeb7d7671a Applied svn revision #36497 from 1.6 to trunk. 2009-07-01 17:22:06 +00:00
Gunter Labes
4a429a5530 made defense and resistance values default to 0% 2009-06-11 06:46:08 +00:00
Gunter Labes
b3a3d8ceb5 check the variable we're actually writing out 2009-05-26 13:39:29 +00:00
Gunter Labes
6daf8f7076 only parse addons when a userdir was given 2009-05-25 21:32:14 +00:00
Gunter Labes
901ad63e5a update scripts: s/~campaigns/~add-ons/ 2009-05-20 22:31:14 +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
Gunter Labes
75ea3436f4 parse addons first so mainline units overwrite user made units...
...with the same ID and not the other way around
2009-03-13 10:14:10 +00:00
Gunter Labes
d02bea2388 only show weapon specials if they have a name 2009-03-11 13:05:37 +00:00
Mark de Wever
a5d1d2e969 New year copyright update. 2009-01-01 10:27:41 +00:00
Alexander van Gessel
1c2e86d206 Deep-copy the base unit's attacks before modifying them, this fixes bug #12778. 2008-12-26 21:27:32 +01:00
Alexander van Gessel
ebf271e589 Convert newlines into '\n<br />' in unit descriptions. 2008-12-15 05:16:25 +01:00
Elias Pschernig
8e8855d065 wmlunits: use description from base units 2008-10-03 15:14:56 +00:00
Elias Pschernig
84dd1bda6c really fixed bug #12383 2008-10-03 15:03:56 +00:00
Elias Pschernig
c9b4737fa8 fix for bug #12384 2008-10-03 15:00:16 +00:00
Elias Pschernig
a35b8ba332 another go at fixing bug #12383 2008-10-03 14:55:53 +00:00
Alexander van Gessel
b9f689a117 Made wmlunits operate more like the game. (remove logic the game lacks)
This fixes the "attacks with same name overwrite eachother" bug.
2008-10-01 01:27:06 +01:00
Gunter Labes
cb9c05f1bc remove some obsolete links 2008-09-28 10:45:07 +00:00
Gunter Labes
cdbdf4ede1 small improvement to abbreviation generation 2008-06-08 20:36:27 +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