Allefant
a425c951c2
[wmlunits] show vision and jamming for a unit
...
(if available)
2014-02-02 13:35:56 +01:00
Allefant
c182e93441
[wmlunits] fix debug message
...
(time to move this to Python3...)
2014-01-28 16:18:48 +01:00
Allefant
62ddbd2f81
[wmlunits] add some debug info
2014-01-27 23:10:34 +01:00
Allefant
91800c34c8
[wmlunits] for campaigns, define a difficulty
...
The first preprocessor symbol listed in a campaigns difficulties=...
attribute is now set when parsing WML looking for unit definitions.
2014-01-27 16:57:16 +01:00
Allefant
a83ae0ab08
[wmlunits] Filter out eras from dependencies
2014-01-21 02:07:23 +01:00
Allefant
754229ff22
[wmlunit] fix help
2014-01-19 21:34:26 +01:00
Allefant
7a653b1c12
[wmlunits] Also take dependencies into account for second pass.
2014-01-19 21:34:26 +01:00
Allefant
db98a2af1c
[wmlunits] Don't store translations which are the same.
2014-01-19 21:34:26 +01:00
Allefant
e8b930260f
[wmlunits] simplified dependencies
2014-01-18 16:39:36 +01:00
Allefant
0c4cd5a337
[wmlunits] implemented dependencies support
2014-01-17 18:13:45 +01:00
Allefant
e9430a02d1
[wmlunits] increase timeout for parsing user addons
2014-01-17 10:58:38 +01:00
Allefant
dc4670b897
[wmlunits] Don't abort un uncaught exceptions.
...
Instead keep going to the next addon during pre-parsing of user addons.
2014-01-16 17:45:46 +01:00
Alexander van Gessel
38b224c1ff
Revert "Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old""
...
This reverts commit 23b72d6956
.
2013-08-09 00:13:46 +02:00
Thibault Févry
23b72d6956
Revert "Merge branch 'master' of github.com:wesnoth/wesnoth-old"
...
This reverts commit 5fa5c03411
, reversing
changes made to 06374c64ba
.
2013-08-08 18:50:46 +02:00
Alexander van Gessel
2148f769f4
Move from optparse to argparse
2013-08-04 22:45:21 +02:00
Elias Pschernig
6632eaae33
[wmlunits] Fix error logging.
...
Now that a separate process is doing the WML parsing, need to serialize exceptions in the other process and send them to the main process to access them there.
2013-05-25 10:28:14 +02:00
Elias Pschernig
0b5c23db51
[wmlunits] Fork the process before parsing each addon...
...
...to allow recovery from out-of-mem.
2013-02-21 14:53:13 +00:00
Elias Pschernig
b0e4f12b57
[[wmlunits fix]]
...
- Fixed a bug in wmlunits where the era tree omitted units whose
parent units belonged to a different faction.
- Made wmlunits provide feedback about required parameters.
2012-08-23 18:11:50 +00:00
Elias Pschernig
aef708cbc4
[wmlunits] use SKIP_CORE when parsing mainline campaigns,
...
...automatic data/core parsing with --preprocess doesn't seem to work anymore
2012-06-24 13:03:08 +00:00
Elias Pschernig
ed0a21cb58
[wmlunits] Set extra_defines from [campaign] in addition to the campaign define.
2012-03-23 20:40:37 +00:00
Elias Pschernig
93a9a3a330
Added wiki output option to wmlunits.
2012-03-16 18:16:47 +00:00
Elias Pschernig
a295a6909f
[wmlunits] converted error log to html
2012-03-07 13:20:26 +00:00
Elias Pschernig
80b2ae2cf2
[wmlunits] Added per-addon log pages.
2012-03-04 23:11:15 +00:00
Elias Pschernig
182dc77281
[wmlunits] Handle [advancefrom] WML tags for units.
2012-03-04 14:20:20 +00:00
Elias Pschernig
3ebb10809c
[wmlunits] Add units from an era but without any faction...
...
...to a special "factionless" faction.
2012-03-03 18:01:06 +00:00
Elias Pschernig
1b105e75ee
[wmlunits] Ignore addon unit levels < 0 or > 5.
...
Ignore addons with unhandled errors.
2012-03-02 23:16:08 +00:00
Elias Pschernig
a09daf74ea
[wmlunits] Started working on a per-addon log...
...
...listing all the unit WML mistakes in the addon's unit definitions.
2012-03-02 21:23:09 +00:00
Elias Pschernig
e0537fec86
[wmlunits] On translated unit pages, stay on the same page...
...
...(in the new language) when changing languages instead of jumping
back to the overview.
2012-02-28 19:57:00 +00:00
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