Commit graph

162 commits

Author SHA1 Message Date
Elias Pschernig
3bd7c7ee1f [wmlunits] Create animation statistics again.
Sort unit tree overviews differently.
2012-02-20 22:38:55 +00:00
Elias Pschernig
dbf1082bdc [wmlunits] Reenable recoloring.
Always sort units overview into first place. Properly translate
"Units" heading.
2012-02-18 18:57:07 +00:00
Elias Pschernig
02729eb915 Rewrote wmlunits to parse one addon at a time.
Now it takes much longer to create units.wesnoth.org as it has to
parse the WML about 200 times instead of once but it also uses much
less memory (and so can run on the server again without risk of being
aborted).
2012-02-18 13:37:07 +00:00
Ignacio R. Morelle
334a4c0f28 Update page footers for units.wesnoth.org,
add-ons.wesnoth.org and the macro reference
2011-12-31 23:27:08 +00:00
Elias Pschernig
d05f887ee7 [wmlunits] When selecting a language on a page which does not exist...
...in that language, open the initial page for that language. Also
made some minor CSS changes.
2011-11-23 22:41:44 +00:00
Elias Pschernig
5a2a2fac95 [wmlunits] Fixed forest tile picture. Fixed inclusion of addon campaigns with only shared units. 2011-11-20 15:04:52 +00:00
Elias Pschernig
63d7e06bf9 [wmlunits] ignore addon units with no name 2011-11-12 22:46:30 +00:00
Elias Pschernig
66222fbcf7 [wmlunits] there were more places affecting the C->en_US locale rename 2011-11-11 22:44:53 +00:00
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