Commit graph

1944 commits

Author SHA1 Message Date
Elias Pschernig
3698f4c4e7 [wmlunits] fixed bug listing mainline units for each campaign 2012-03-03 16:47:46 +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
e2f9eccb48 [wmlunits] fixed bug 2012-03-02 19:11:20 +00:00
Elias Pschernig
b7f955cf78 [wmlunits] fixed bug 2012-02-29 21:50:08 +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
b3942cf1f6 [wmlunits] Fixed broken links to advancement units for addon units...
...advancing to mainline units.
2012-02-27 23:51:12 +00:00
Alexander van Gessel
30d4e650be Update CampaignClient to know about 1.10 (instead of 1.9) 2012-02-23 02:38:16 +01:00
Alexander van Gessel
f8879eeff1 Use ssh urls rather than git urls for wescamp checkouts 2012-02-21 12:54:03 +01:00
Elias Pschernig
3bd7c7ee1f [wmlunits] Create animation statistics again.
Sort unit tree overviews differently.
2012-02-20 22:38:55 +00:00
Elias Pschernig
5f79fb5439 [wmlunits] Don't display a bogus "rails" movement cost. 2012-02-19 16:53:44 +00:00
Elias Pschernig
b540995651 [wesnoth_addon_manager] Cache info about addon dependencies...
...from the .pbl file locally (so e.g. wmlunits can use it more easily).
2012-02-19 16:42:49 +00:00
Elias Pschernig
af48d016e4 [wmlunits] Added some error checks. 2012-02-19 13:22:18 +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
Elias Pschernig
b8ca578de2 wmlparser2 always passes absolute paths to wesnoth.exe now...
...and fixed a bug in wildcard tag lookup (which had caused weapon
specials to be missing on units.wesnoth.org)
2012-02-18 10:01:21 +00:00
Anonymissimus
5d0284a513 wmllint rule for the 2 deprecations in my latest revisions
No changes to mainline needed. These were only valid for
almost one year however.
2012-02-14 21:25:33 +00:00
Anonymissimus
5e311eb9b5 remove wmllint rule for empty side=...
...in remove/place_shroud,modify_side/ai,gold

The first three have "all sides" as default if no side info given,
the ladder two have inline SSF support and "all sides" as default
as well, so it's valid syntax which shouldn't be warned about.
2012-02-14 21:25:08 +00:00
Anonymissimus
6419bb4841 remove the rule making wmllint putting side=...
...into set*,allow*,disallow_recruit,store_gold

Since it is valid syntax now (again, but defaulting to all sides).
2012-02-14 21:23:06 +00:00
Steven Panek
e093fc6b5c Killed 'colour'. 2012-01-30 01:40:30 +00:00
Anonymissimus
820b021f9c Fix some of the id checking logic in wmllint.
If we have [message]id=, narrator, unit and second_unit are wrong values.
They need speaker= as keys.
2012-01-22 22:36:16 +00:00
Anonymissimus
b271273d33 Revert revisions of mine: 2012-01-19T17:58:30Z!anonymissimus@arcor.de, 2012-01-19T17:59:02Z!anonymissimus@arcor.de
Since it introduced wrong line numbers in wmllint messages.

And probably messes up files in case dryrun isn't used.

Reintroduces the wmllint breakage problem with Hornshark Island.
2012-01-20 22:19:01 +00:00
Anonymissimus
8bdf59969f Make wmllint id checks respect comma-separated lists of ids.
Another bug which I found due to the previous fix. I had added that
feature in the engine's SUF some time after the check in wmllint did
already no longer work.
2012-01-20 21:37:38 +00:00
Anonymissimus
6b45146d62 Fix leading whitespace being ignored when searching for subtag start.
Reenables the check for "unknown xy referred to by id".

Fix for a bug report in the forum:

http://forums.wesnoth.org/viewtopic.php?p=519028#p519028

(It's not clear to me what the purpose of the subtag_depth variable is
though.)
2012-01-20 21:37:21 +00:00
Anonymissimus
5d1c3d227b Make wmllint ignore embedded lua. There's no bug report for this.
Apparently it didn't already, it just didn't break so far, but the lua
I added in Hornshark let it choke.

wmllint ignores lines with << until a line with >> now (start and
end lines included).

esr: have a look pls
2012-01-19 17:58:30 +00:00
Anonymissimus
f1a2eb07d1 Fix wmlindent writing CRLF end of lines on windows.
Its documentation says it converts to LF. Also, my wesnoth+windows
experience says it is best to use always only LF no matter what OS.
For WML at least. And I dont wanna convert back each time.
2012-01-14 17:07:58 +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
Alexander van Gessel
f2f1f2168b Add --checkout option to wescamp.py 2011-12-26 00:36:50 +01:00
Alexander van Gessel
2a809c8f96 Fix libgithub's addon()'s repository filtering 2011-12-26 00:36:45 +01:00
Alexander van Gessel
a26bbeec75 More git wescamp fixes 2011-12-05 00:51:02 +01:00
Alexander van Gessel
d06d898e3b More fixes to git-mode of wescamp.py and libgithub 2011-12-04 18:24:48 +01:00
Alexander van Gessel
0c4a4c6720 Don't check errors on push for now, it writes to stderr even on success 2011-12-04 18:24:35 +01:00
Alexander van Gessel
172decc603 Open commit message file in write mode 2011-12-04 02:02:18 +01: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
Eric S. Raymond
65ab58a574 Fix wmllint glitches. 2011-11-15 04:58:47 +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
Steven Panek
923d4d06f0 Added liminal to the valid alignments list. 2011-11-11 21:09:45 +00:00
Alexander van Gessel
1fdb9baecc Add github authentication to wescamp.py 2011-11-11 17:01:56 +01:00
Alexander van Gessel
69bebf87ce Ignore warnings about empty repositories 2011-11-11 16:49:29 +01:00
Alexander van Gessel
54668fca3a Finish repository creation (authentication & team-adding) 2011-11-11 16:49:26 +01:00
Elias Pschernig
5721938776 [wmlunits] Use en_US instead of C for the default language. 2011-11-10 16:09:22 +00:00
Alexander van Gessel
d20499613d Further implement libgithub.
Most functions from libsvn that are used now have an equivalent.
2011-11-10 15:49:35 +01:00
Alexander van Gessel
ef5e4cb2ad Use distributed-with-python-since-2.6 json if simplejson isn't available 2011-11-06 19:38:21 +01:00
Thibault Févry
b59b3cec77 Made code easier to read, removed an unused class. (Output does not change) 2011-11-06 03:27:35 +00:00
Alexander van Gessel
654eaa907f Add a --git option to wescamp.py,
...to interface with the future repositories on github.
2011-10-31 03:10:03 +01:00
Alexander van Gessel
01e1efb5d9 Add libgithub.py, for usage in wescamp.py 2011-10-31 03:09:36 +01:00
Alexander van Gessel
999bf89835 Make libsvn's update() work as documented. 2011-10-30 00:43:44 +01:00
Nils Kneuper
2cee070a75 add a clarifying message in the python wmlxgettext script...
...saying that it is not used for mainline since some confusion seems
to have come up there...
2011-10-29 19:38:34 +00:00