Elias Pschernig
41c275cd45
[wesnoth_addon_manager] allow a trailing slash with --upload
2010-07-13 21:06:29 +00:00
Eric S. Raymond
d9b3abc945
Detect and warn of a missing ID field in a [race] tag.
...
Addresses bug #16101 : WMLint should handle missing id key in [race].
2010-07-12 15:39:03 +00:00
Elias Pschernig
0bc2152a86
[python] Made tag.get_text_val(X) return the value...
...
...of the last attribute X if the tag has multiple attributes with the
same name. Also updated documentation and unit tests accordingly.
2010-07-10 14:33:16 +00:00
Eric S. Raymond
e4e2ea6d97
Enforce "color" rather than "colour" in the WML.
2010-06-19 06:27:03 +00:00
Eric S. Raymond
dfb4239d83
Elinminate the redundant TERRAIN_PATTERN formal in favor of TERRAINLIST.
2010-06-18 17:15:32 +00:00
Eric S. Raymond
ff5f8b6852
Remove an obsolete production.
2010-06-18 16:15:27 +00:00
Alexander van Gessel
c312be7cbc
Port --to-xml option to wmlparser2
2010-06-18 02:11:18 +01:00
Alexander van Gessel
23285699d7
Add --to-xml option to old python wmlparser. Patch by Hexane (Ryan Henszey)
2010-06-18 02:11:13 +01:00
Alexander van Gessel
53aec2acc9
Add note about a function being obsoleted by a core module in python2.6
2010-06-18 02:11:07 +01:00
Eric S. Raymond
f23be008f1
Handle more UTF-8 wackiness gracefully in the spellchecker.
2010-06-17 21:41:45 +00:00
Alexander van Gessel
10de0e9f69
Rename wmlparser2's AttributeNode.key to AttributeNode.name,
...
...to coinicide with TagNode. Port --to-json from old wmlparser
2010-06-16 15:01:15 +01:00
Alexander van Gessel
d6f6070c57
Properly escape double-quotes in wmlparser,
...
...the only thing not done by python's repr()
2010-06-16 15:01:11 +01:00
Alexander van Gessel
d147a1255f
Prettify old wmlparser's WML output,original patch by Hexane
2010-06-16 15:01:07 +01:00
Eric S. Raymond
dd1f83f1eb
Fix bug #16098 : wmllint enters infinite loop during spellcheck
2010-06-01 22:03:37 +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
37792aa611
Added a Python script which removes all add-ons with preprocessor errors.
2010-05-28 15:34:29 +00:00
Elias Pschernig
6a4e871486
[python wml parser]added faster tag lookup
2010-05-28 15:32:51 +00:00
Elias Pschernig
d603f31494
new python wmlparser:
...
- simplified the high level API
- added support for escaping " with "" within "quoted" strings
- added support for a,b,c=1,2,3 style assignments
- added support for <<lua code quoting>>
- added unit tests for all of the above
2010-05-25 20:43:47 +00:00
Eric S. Raymond
5244938849
Address bug #16035 : wmllint missing stones -> petrifies.
2010-05-24 11:26:38 +00:00
Alexander van Gessel
5b35460a67
Use superclass constructor
2010-05-24 04:25:04 +01:00
Alexander van Gessel
ab936faa05
Fix TagNode.get_all()
2010-05-24 04:24:59 +01:00
Elias Pschernig
4d0910a082
[python wml parser] Added ability to parse strings (over a tempfile).
...
And started adding a few convenience methods.
2010-05-22 20:01:52 +00:00
Elias Pschernig
2a7192cd88
Added a new Python WML parser...
...
...based on wesnoth --preprocess output, making it much faster and
more correct than the old one. (Tools like wmlunits still use the old
parser right now though.)
2010-05-22 13:24:10 +00:00
Elias Pschernig
e3f1a8a434
[wmlunits] fixed error message encoding (ported from 1.8 branch)
2010-05-21 09:16:25 +00:00
Elias Pschernig
492eae3476
[wmlunits] Updated animations.html for new animation types.
2010-05-19 20:48:36 +00:00
Eric S. Raymond
4df6530a8a
Address bug #16041 : error in wmllint tag replacement.
2010-05-18 20:48:06 +00:00
Eric S. Raymond
01f2ee406b
My previous change didn't include transformation of pure maps.
...
Fixing now.
2010-05-16 13:43:05 +00:00
Eric S. Raymond
6b7cd26142
Changes requested to fulfil the FR in bug #16029...
...
...(wmllint rules needed for updating maps as per 2010-05-16T07:52:30Z!lari.nieminen@iki.fi).
2010-05-16 13:06:26 +00:00
Eric S. Raymond
77f298883a
Address bug #16019 (actually an FR).
2010-05-12 10:19:43 +00:00
Ignacio R. Morelle
2edce97b7c
Update copyright notice time interval...
...
...in the source for the web interface to the add-ons server
2010-05-11 14:37:35 +00:00
Sergey Popov
95517b8fe3
Partial fix for bug #15996 .
...
This fixes unresolved references but not mismatched references.
2010-05-08 11:53:02 +00:00
Alexander van Gessel
2275decee8
Convert all trunk images to RGBA format
2010-05-05 19:31:17 +01:00
Alexander van Gessel
0b31e864b7
Close the connection before processing the data
2010-04-27 14:35:19 +01:00
Alexander van Gessel
25aa0b9359
Serially TC addon icons after iterating over the campaigns
2010-04-27 14:35:15 +01:00
Nils Kneuper
4095965813
remove a feature from the addon manager...
...
...that creates problems on the server atm:
no teamcolorize for the icon list till the server is fixed again what
should be done: serialize the teamcolorize call, so that the script
only starts one instance at a time
2010-04-27 10:38:56 +00:00
Elias Pschernig
238bb00d29
possible fix for bug #15846 - _server.ign not quite working
2010-04-11 21:35:25 +00:00
Gunter Labes
9bc6c1488b
updated campaignd port
2010-03-28 22:42:25 +00:00
Eric S. Raymond
f95f0a5cd7
Fix a minor bug in wmllint revealed by Dead WAter.
2010-03-28 03:18:07 +00:00
Eric S. Raymond
abaf743be1
Teach wmllint about the stun ability.
2010-03-28 03:02:43 +00:00
Eric S. Raymond
2d66434504
Blatant hack to pass [side] declarations that are all macros,
...
...as in Dead Water.
2010-03-28 02:16:48 +00:00
Eric S. Raymond
d928daaa21
Handle id in [set_menu_item] as a declaration.
2010-03-28 01:55:09 +00:00
Eric S. Raymond
a860b23752
Oc portrait reference fixes. Goes with 2010-03-23T21:01:33Z!lari.nieminen@iki.fi.
2010-03-23 21:23:21 +00:00
Alexander van Gessel
0e85faa8f2
Add some rudimentary support for documentation embedded in a schema
2010-03-23 00:34:26 +01:00
Jérémy Rosen
0558fa07fc
fix castle exploder
2010-03-12 17:20:07 +00:00
Alexander van Gessel
8c627a2b15
Expanded the gui schema a bit
2010-02-21 05:40:21 +01:00
Fabian Müller
5a73121a0c
Added a lint-low option for wmllint...
...
...and made more scenarios being available in multiplayer.
2010-02-17 06:27:48 +00:00
Alexander van Gessel
db1c51d5e8
Make wmlparser check for emptiness of the tag stack at EOF
2010-02-16 17:14:54 +01:00
Alexander van Gessel
73bdcb5a68
Make wmlparser fail hard on a tag formed like [ this],
...
...where wesnoth's parser ignores the whitespace. Previously this was
treated as a differently named tag and could cause strange errors in
other places.
2010-02-16 17:05:50 +01:00
Eric S. Raymond
d236a9db2e
All mainline macros are now type checked.
...
mog, if you're watching, we should talk about this chamge. I had to
modify some code generated by meta-macros, and want to make sure the
meta-macros get tweaked in whatever way is needed to preserve the
changes.
2010-02-16 16:00:26 +00:00