Commit graph

1944 commits

Author SHA1 Message Date
Alexander van Gessel
4f316d5060 Fix an (apparently unused) codepath in wescamp.py 2011-10-29 13:16:15 +01:00
Alexander van Gessel
711b1bc6fa Don't mask built-in functions. 2011-10-26 16:27:24 +01: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
e718249a40 Fix the picture for some special cases. 2011-10-23 20:23:05 +00:00
Thibault Févry
85c307f8a2 Made terrain2wiki.py also show a picture of the terrain, looks better now. 2011-10-23 20:11:32 +00:00
Thibault Févry
3bce1693c2 Fixed an issue where terrain2wiki.py...
...would not remove # wmllint: ignore from output
2011-10-23 19:49:27 +00:00
Thibault Févry
1b8718c457 2011-06-27T06:33:30Z!shadowm@wesnoth.org and 2011-06-27T06:57:47Z!shadowm@wesnoth.org...
...changed terrain2wiki.py output. Fixing terrain2wiki.py to work with
the terrain.cfg changes..
2011-10-23 19:42:21 +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
Steven Panek
caba26c3c1 Killed references to [illuminated_time] in the emacs file. 2011-10-13 03:56:55 +00:00
Ignacio R. Morelle
d64927bf9c wmllint: Fix abnormal behavior on #ifver/#ifnver...
...directives creating false positives

See also: http://forums.wesnoth.org/viewtopic.php?f=21&t=34779
2011-09-13 23:04:21 +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
Ignacio R. Morelle
f0a3854f1b wmllint: Handle deprecated implicit side=1 in more actions;...
...run the new code in mainline

Shame on you, esr.

This commit handles [remove/place_shroud], [gold] and [modify_side/ai]...

...using modified code derived from patch #2666
2011-08-02 00:38:36 +00:00
Ignacio R. Morelle
97da3fcaa3 Teach wmllint to fix deprecated implicit side=1 in [store_gold] actions
This uses esr's rule from 2011-07-03T10:55:21Z!esr@thyrsus.com rather than patch #2666's.
2011-08-02 00:38:06 +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
61536effc1 [about_cfg_to_wiki] Updated outdated comment...
...at the top with instructions how to run it after the previous
change.
2011-07-30 11:13:45 +00:00
Eric S. Raymond
f880c89e81 Teach wmllint to detect missing side attribute in recruit,
...allow_recruit and disallow_recruit.  Fix all mainline instances of
this glitch.
2011-07-03 10:55:21 +00:00
Elias Pschernig
31ad9b2d06 Updated about_cfg_to_wiki to not require the deprecated python parser...
...any longer. As a side-effect seems to fix the script.
2011-06-20 19:19:17 +00:00
Elias Pschernig
dade3d80e8 Fixed the python wml parser:
wesnoth --preprocess no longer accepts defines, have to use
--preprocess-defines now.
2011-06-11 19:31:13 +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
4f42ca826c [wmlunits] For any WML errors encountered in addons...
...it kept the parser results in /tmp, wasting space.
2011-06-05 11:06:49 +00:00
Mark de Wever
1fb03f046c Fixes the Wescamp script download part.
The script was somewhat outdated and not updated to the latest changes
to the campaign management script. The functionallity itself is being
tested, so more fixes might be needed.
2011-06-05 08:34:09 +00:00
Chris Mann
66fb8e826c emacs-mode: Merge from upstream. 2011-06-04 12:11:11 +00:00
Eric S. Raymond
b9f997685f Apply unit-list tests to extra_recruit. 2011-05-17 16:27:00 +00:00
Fabian Müller
f2a0ecf47d Updated the emacs-mode's database. 2011-05-12 10:51:59 +00:00
Eric S. Raymond
389de25030 Address bug #18016: Please add next_scenario checks to wmllint. 2011-05-11 16:16:57 +00:00
Eric S. Raymond
33195adc1f Try to wildcaede range_* and type_* checks for translation marks. 2011-05-09 08:33:40 +00:00
Eric S. Raymond
2d6af3c664 Remove an asymmetry.
SPECIAL_EXTRA_HEAL exists now.
2011-05-09 07:46:11 +00:00
Eric S. Raymond
d33bd35d96 Address FR at bug #18047: type_*= and range_*=
aren't recognized as keys that should have translation marks.
2011-05-09 07:24:45 +00:00
Steven Panek
e5b93a6887 'naptha' -> 'naphtha'. 2011-05-08 22:50:42 +00:00
Eric S. Raymond
c4adb689e7 wmllint, spelling, and punctuation cleanup. 2011-05-08 15:13:41 +00:00
Steven Panek
464b1a5764 Made wmllint ignore UTF-8 minus signs when spellchecking. 2011-04-19 00:08:54 +00:00
Elias Pschernig
c330fb8263 [wmlunits] fixed ignored unit-specific resistance/movement-cost/defence values 2011-04-16 14:27:21 +00:00
Elias Pschernig
f57cbe99e0 Added --pbl option to wesnoth_addon_manager as requested by Espreon. 2011-03-31 21:15:05 +00:00
Nils Kneuper
f660ba74fd ran utils/wesnoth-optipng:
Overall statistics (only for files with a smaller recompressed size):
  Original size: 485 KiB on 277 files
 Optimized size: 447 KiB
   Total saving: 37 KiB = 7% decrease
2011-03-27 11:06:40 +00:00
Thibault Févry
6674487fb0 Remove W604 pep8 warning on files. Use repr(x) instead of deprecated 2011-03-25 20:46:50 +00:00
Thibault Févry
bc98136f7a Update the README: Fix a typo, change terrain2wiki extension...
(we now use python instead of ruby).
2011-03-24 20:59:45 +00:00
Thibault Févry
46ce51c8ff More whitespace removal 2011-03-24 20:52:22 +00:00
Ignacio R. Morelle
9e94b3410c wmlindent: Update for #ifver, #ifnver 2011-03-23 03:26:58 +00:00
Ignacio R. Morelle
e0b0a18104 WML preprocessor: implement #ifver, #ifnver MACRO <op> <version>
Currently, the specified MACRO is not expanded further, so if it
contains code inclusions with {} those will not be resolved.
Furthermore, MACRO should not take arguments. The whole idea is that it
should be defined to simple text such as "1.7.5" like Wesnoth does for
WESNOTH_VERSION since 2011-03-22T06:40:15Z!shadowm@wesnoth.org.
2011-03-23 03:20:39 +00:00