Elvish_Hunter
15777e35e0
wmllint: added rule to handle removal of small portraits
2016-03-24 20:26:44 +01:00
Bruno Macabeus
74b72bb846
Added attributes of the [ai]
...
Added the optional parameter "limit-max(number)"
2016-03-22 11:05:58 +01:00
Bruno Macabeus
58e8bc7246
Added almost the attributes of the [side]
...
Added the optional parameter "limit-lower(number)"
Improved the optional parameter "need-file-in(dir)"
2016-03-22 11:05:58 +01:00
Bruno Macabeus
a0c882b02d
Added the optional parameter "need-file-in(dir)", to check if the file exists
2016-03-22 11:05:58 +01:00
Bruno Macabeus
71b4d75f15
Fixbug: Not correctly checked if using the optional parameters 'limit(a,b)' and 'list' simultaneously
2016-03-22 11:05:58 +01:00
Bruno Macabeus
426abfd46e
Added check "FORBIDDEN" for element
2016-03-22 11:05:58 +01:00
Bruno Macabeus
5e5128680c
Fixbug commit f1006f1adc
: I forgot to take the case to send a file, not a directory
2016-03-22 11:05:58 +01:00
Bruno Macabeus
42d4ae9109
Added the optional parameter "limit(\d+,\d+)", to specify the range of the value's attribute
...
Added, partly, toplevel [terrain_type] tag
2016-03-22 11:05:57 +01:00
Bruno Macabeus
98833e2b5b
Added optional parameter "optional-translatable" to some rare cases
2016-03-22 11:05:57 +01:00
Bruno Macabeus
a2f8d93785
Added some comments to organize
2016-03-22 11:05:57 +01:00
Bruno Macabeus
a6fec89753
If you specify a directory, will scan all files from directory.
...
Now can use environment variables.
2016-03-22 11:05:57 +01:00
Bruno Macabeus
128fc64f60
Return message is now more readable
2016-03-22 11:05:57 +01:00
Bruno Macabeus
b9f1ff84be
Update to Python3: using print function
2016-03-22 11:05:56 +01:00
Bruno Macabeus
67e79f7563
I forgot to translate two comments
2016-03-22 11:05:56 +01:00
Bruno Macabeus
2eeac0248c
Created the optional parameter "list"
...
Other minor improvements and updates in wmlvalidator
2016-03-22 11:05:56 +01:00
Bruno Macabeus
aeb2dc65c1
It is not necessary to define default values to datatypes, they will be caught the schema.cfg file
2016-03-22 11:05:56 +01:00
Bruno Macabeus
a79de2c35c
wmlvalidator, wmlgrammar and wmldata: now it checks translatable lines.
...
schema.cfg: it was removed type "tstring" and can now be optional parameters
2016-03-22 11:05:56 +01:00
Elvish_Hunter
256dd1e3da
Ported hexometer for Bash to Python3
2016-03-17 11:19:04 +01:00
Elias Pschernig
1279214968
[wmlparser3] use less recursion when parsing
...
specifically, avoid recursion for every double double-quite (i.e. the
escaping of " as "")
2016-03-11 17:12:36 -05:00
Charles Dang
ff7128f8dc
GUI.pyw: New years copyright update
2016-03-04 00:47:46 +11:00
Elvish_Hunter
b9380e88c1
wmltools3: fixed a bug reported by Robertdebrus in PR #596
...
The bug consisted in the accidental removal of the 'vcdir' constant, still used by wmlindent and wmllint-1.4.
2016-02-15 00:12:47 +01:00
Elvish_Hunter
9d12141ab3
changelog and documentation entries about wmlmove removal
2016-01-22 20:46:39 +01:00
Elvish_Hunter
79f6b4d483
wmltools: removed broken version control hooks
2016-01-12 17:26:12 +01:00
Elvish_Hunter
266bfee1ff
removed wmlmove script
2016-01-12 17:18:41 +01:00
Elvish_Hunter
d873695b5f
wmllint-1.4: replaced calls to vcmove() with os.rename()
2016-01-12 17:16:15 +01:00
Ignacio R. Morelle
a5ba3273aa
units.w.o: New Year copyright update
2016-01-04 00:45:38 -03:00
Ignacio R. Morelle
2fb643a76b
website: New Year copyright update
2016-01-04 00:45:38 -03:00
Ignacio R. Morelle
9ee11c76cc
addons.w.o: New Year copyright update
2016-01-04 00:45:38 -03:00
Elvish_Hunter
9b1262acc6
Converted imgcheck to Python 3
...
This commit also fixes the Pillow library not being imported correctly, which prevented the script from running at all, and slightly reformats the output.
2015-12-20 21:46:25 +01:00
Ignacio R. Morelle
3821b7c416
Remove macro-reference.html on clean target
2015-12-16 15:24:29 -03:00
Ignacio R. Morelle
1aaa341e35
wmllint: Ignore id in [trait] for unit id checks
2015-11-06 00:09:34 -03:00
Ignacio R. Morelle
ba8da92135
Restore executable bit on the WML tools GUI frontend
2015-10-30 02:43:35 -03:00
Ignacio R. Morelle
851eddfd5e
Restore executable bit on WML tools
2015-10-30 02:43:02 -03:00
Elvish_Hunter
e07de1bf48
GUI.pyw: fixed regexps not being handled correctly on non Windows systems
...
This fix relies on the fact that argparse doesn't require the equal sign any more.
2015-10-20 15:02:32 +02:00
Elvish_Hunter
491ba7924f
wmlindent: upgrade from optparse to argparse
2015-10-20 15:02:32 +02:00
Elvish_Hunter
2d4ef7a42d
wmlscope: upgrade from optparse to argparse
2015-10-20 15:02:32 +02:00
Elvish_Hunter
42ac2e0fe7
wmllint: upgrade from optparse to argparse
...
This has two advantages: first, it enforces a help style which is consistent across the various tools; second, it makes easier adding new command line options.
Another interesting fact is that those options requiring additional parameters do not need the equal sign any more; that is, writing --foo=bar is now the same as writing --foo bar.
2015-10-20 15:02:32 +02:00
Elvish_Hunter
1a0d04d7b2
GUI.pyw: fixed a bug that caused the output to not be printed on Windows
2015-10-20 15:02:32 +02:00
Elias Pschernig
b742542b37
[wesnoth_addon_manager] Speedup writing files to disk *a lot* :)
2015-10-05 17:36:46 -04:00
Elias Pschernig
ed83c6b888
[wesnoth_addon_manager] fixed an error message
2015-10-05 10:55:19 -04:00
Elvish_Hunter
6e4ecbb408
Converted wmllint-1.4 to Python 3
2015-09-24 11:40:14 +02:00
Elvish_Hunter
21a6bc5831
Converted GUI.pyw to Python 3
2015-09-24 11:40:14 +02:00
Elvish_Hunter
526d745dfb
Converted wmlindent to Python 3
2015-09-24 11:40:13 +02:00
Elvish_Hunter
1f5d713ee1
Converted wmlscope to Python 3
2015-09-24 11:40:13 +02:00
Elvish_Hunter
a04bc6f45d
Converted wmllint to Python 3
...
Please note that attempting to run wmllint on Python 3.4 leads to an exception after finishing the spellcheck. This is a known bug in PyEnchant 1.6.5, and it can be solved by using PyEnchant 1.6.6.
See https://github.com/rfk/pyenchant/issues/34 .
2015-09-24 11:40:13 +02:00
Elvish_Hunter
53b5d031e9
Added Python 3 versions of wmltools and wmliterator
...
The Python 2 versions should be removed as soon as there are no more scripts using them.
2015-09-24 11:40:13 +02:00
Elias Pschernig
900c84657b
Upgraded wesnoth_addon_manager to Python 3
...
This includes campaignserver_client.py which is also used by wescamp.py
- however wescamp.py is still Python 2 at this point and will need to be
upgraded at a later point in time.
2015-09-22 16:33:14 -04:00
Elias Pschernig
4c034d7705
Clean up wmlparser3.py a bit, fix json and xml output.
2015-09-20 14:53:49 -04:00
Elvish_Hunter
e39f6376c8
wmllint-1.4: use string formatting or interpolation instead of concatenation
2015-09-20 10:27:37 +02:00
Celtic Minstrel
f54d6b5d28
Rewrite leadership ability as a single macro using $other_unit
...
Note: It's no longer supported to use the macro in a unit with a non-matching level,
for example giving a 2nd-level unit 4th-level leadership.
2015-09-19 02:14:38 -04:00