Pentarctagon
a7cf1fe714
1.17.0.
2022-01-16 12:24:01 -06:00
Elvish_Hunter
bcab977c03
Removed some duplicated images used by the obsolete unit_box theme
2022-01-14 22:15:55 +01:00
Elvish_Hunter
1fa069aeb7
Fixed some wmlscope warnings
2022-01-13 21:20:48 +01:00
Elvish_Hunter
6227507af7
wmllint: fixed a typo in a terrain code
2022-01-11 14:23:44 +01:00
Elvish_Hunter
5a50c03aaf
wmllint: fixed Ggf -> Gg^Emf and Qv -> Mv terrain conversions
2022-01-10 21:02:20 +01:00
Elvish_Hunter
33fbc5252a
wmllint: added support for unit levels and types in recruitment pattern checks
2021-12-27 22:39:58 +01:00
Elvish_Hunter
b0d3097a62
Added --version flag to wmllint, wmlscope and wmlindent
...
Also made GUI.pyw report the version in the about dialog. Fixes #6346
2021-12-26 22:10:44 +01:00
Elvish_Hunter
77eed10a09
wmlunits: fixed an error on [female] tags without image= key
2021-12-06 17:52:25 +01:00
Elvish_Hunter
1b65d08c37
wmlunits: fixed a deprecation warning
2021-12-06 17:49:53 +01:00
Elvish_Hunter
912625be84
wmllint: automatically remove {MAGENTA_IS_THE_TEAM_COLOR}
2021-12-03 11:47:48 +01:00
Steve Cotton
3761faf925
wmlxgettext: sort-by-filename before processing files
...
Add a sort inside wmlxgettext so that the order of filenames on the command
line doesn't affect the output. The sort is run unconditionally, because I
don't see a usecase for not enabling it. For consistency with xgettext and
msgcat, if there was an option to enable it then it would be called
`--sort-by-file`.
The aim of this change is to reduce the number of changes in .po files caused
by a pot-update. When multiple comments refer to the same translatable string,
separate runs of pot-update could generate them in a random order. If I've
understood the root cause correctly, wmlxgettext itself was deterministic, but
the order of the files on wmlxgettext's command line was not deterministic.
For testing, I tried reversing the sort order; the resulting reordering hit
lines that commonly swap order during pot-updates.
This affects the ordering of the lines beginning `#.` that are generated from
`#po:` comments and also those auto-generated from `[message]speaker=`, etc.
2021-12-02 09:54:26 +01:00
max-torch
78f37713f5
Define KeyboardInterrupt Exception Handler in wmlxgettext
...
Note: The signal class object was used to avoid wrapping the entire main routine in a try...except clause.
2021-11-17 23:08:37 +01:00
max-torch
e35690c8f9
Edit wmlscope KeyboardInterrupt Displayed Message
2021-11-17 23:08:37 +01:00
max-torch
74d8ac9e77
Edit wmllint KeyboardInterrupt Displayed Message
2021-11-17 23:08:37 +01:00
max-torch
56dc9830dc
Define KeyboardInterrupt Exception Handler in wmlindent
...
Note: The signal class object was used to avoid wrapping the entire main routine in a try...except clause.
2021-11-17 23:08:37 +01:00
Alexander Lacson
cc608a1cd2
Make wmltools Forest avoid version control subdirectories ( #6236 )
...
This also makes wmltools Forest avoid .DS_Store and Thumbs.db files.
2021-11-06 23:19:14 +01:00
Elvish_Hunter
bc38ece82f
GUI.pyw: update constant for the 1.17 series
2021-10-08 22:03:12 +02:00
Elvish_Hunter
4fed167032
wmllint: added automatic update of four terrain macros
...
Fixes #6009
2021-08-06 20:50:07 +02:00
Elvish_Hunter
80900fdc1a
wmllint: removed check for spaces in e-mail addresses
2021-07-31 17:47:45 +02:00
Toom
87e0900729
Update dune explorer image path, closes #5945 ( #5946 )
2021-07-12 16:42:41 -05:00
Elvish_Hunter
b397ca6262
wmlscope: document external docstring directive
2021-07-04 20:51:17 +02:00
Elvish_Hunter
ddc51d5d46
wmlscope: allow defining external docstrings for inline macros
...
External docstrings can be defined with the '# wmlscope: docstring' directive
2021-07-04 20:51:17 +02:00
Elvish_Hunter
00a5beb5ae
wmlscope: do not report 'INTERNAL:' macros in the macro reference
2021-07-04 20:51:17 +02:00
Alexander Lacson
9b7a287595
Alphabetically sort import statements and add comment explaining separation of import yaml
...
Sorting import statements was made easier and less error-prone using [isort](https://pypi.org/project/isort/ )
Make it clear that the `yaml` package is not part of Python's Standard Library and should be installed with a package manager as outlined in [this](https://pep8.org/#imports ) section of PEP8.
2021-06-30 18:18:58 +02:00
Gunter Labes
6c9813af8e
Update deprecated path options
2021-06-27 11:11:19 +02:00
Elvish_Hunter
a84e44d8f7
wmlscope: match level 4 deprecated macros
2021-06-25 21:34:27 +02:00
Elvish_Hunter
78c0954b2a
wmllint: added names to the translatable keys tuple
2021-06-25 21:34:27 +02:00
Elvish_Hunter
78b7e4ae11
wmllint: removed checks for arcane, spirit and defense cap special notes
...
These special notes now are automatically added by the engine.
2021-06-24 21:14:34 +02:00
Elvish_Hunter
0ef5b9f6d9
wmllint: added special_note to the translatable keys tuple
2021-06-24 21:14:34 +02:00
Iris Morelle
4511512c50
campaignd: Assign port 15016 to Wesnoth 1.16
2021-06-18 16:10:45 -04:00
Celtic Minstrel
3568b5ff66
An easier way of setting special notes in the most common use-case (abilities and weapon specials)
...
Rebased version of e6c58fc35c
, with merge conflicts resolved.
2021-06-01 14:29:57 +02:00
Elvish_Hunter
265116e1a0
wmlparser3: fixed a crash when using XML output
2021-04-27 17:54:22 +02:00
Elvish_Hunter
1da7675c81
GUI.pyw: fixed compatibility with Python 3.9
...
Fixes #5719 .
2021-04-18 21:52:05 +02:00
Elvish_Hunter
c72ea20c99
wesnoth_addon_manager: removed two calls to file()
2021-04-12 20:52:24 +02:00
Iris Morelle
8a2faf24e3
wmlunits: Units may have movement cost == max mp and be able to move
...
This applies to the Walking Corpse in particular, which has 4 MP and 4
movement cost to enter shallow water. In practice this means that it can
move into shallow water only if it's not slowed and hasn't spent any
movement points this turn, and then it cannot move any further until the
next turn.
Closes #5689 .
2021-04-08 18:05:54 -04:00
mattsc
4562bbae56
Add new Micro AI parameters to schema and emacs_mode
2021-03-21 16:23:59 -07:00
mattsc
7e8cedaea8
Merge pull request #5573 from mattsc/ca_retreat_injured
...
AI: Improve behavior of the retreat_injured CA
2021-03-03 08:22:21 -08:00
Elvish_Hunter
c1c80e3a7f
wmllint: implemented Xol terrain conversion
2021-03-01 20:30:07 +01:00
Elvish_Hunter
780797e3bc
wmllint: enable checks inside Lua [args] tags
...
Completes PR #5470
2021-03-01 18:43:03 +01:00
mattsc
fe316aec3a
Add new AI aspect retreat_enemy_weight
2021-02-26 13:57:13 -08:00
mattsc
efe5a4d497
Add new AI aspect retreat_factor
2021-02-25 20:25:16 -08:00
Elvish_Hunter
2a83e78a3c
wmllint: don't try to collect WML tags inside Lua code
...
Fixes #5509
2021-02-16 16:18:53 +01:00
Iris Morelle
e03ebed407
website: New Year copyright update
...
[ci skip]
2021-02-13 23:08:03 -03:00
Andrey Bienkowski
09be367357
wmllint: Stop looking for wml tags inside [lua]
...
wmllint should not search for wml tags and keys inside [lua].
I caught it trying to add a _ in 23_Test_of_the_Clans inside a lua tag.
2021-02-11 18:10:39 +01:00
Andrey Bienkowski
5826262023
wmllint: Only parse terrain strings if maptype==map
2021-02-02 15:41:34 +01:00
Andrey Bienkowski
5735a16abf
wmllint: Ignore notes when checking for shroud and fog
...
The following line was causing a wmllint error because it contains _s:
Irs, book_start Icr^Ii, Irs
"../../data/campaigns/Descent_Into_Darkness/maps/07c_A_Small_Favor3.map", line 10: warning, fog or shroud in map file
2021-02-02 15:41:34 +01:00
Andrey Bienkowski
bbf3840f82
wmllint: cleanup two useless lines
...
As far as I can tell this lines do nothing.
1. `file_handle = None` is NOT how to close a file in python
2. The file handle is already closed due to `with open() as file_handle:`
2021-02-02 15:18:06 +01:00
Andrey Bienkowski
2296a17e5d
wmllint: remove check for nonstandard word-wrap style
...
> I'm not convinced this test is doing anything useful. I really doubt this ever caught an error. I'd rather remove it.
@soliton- in https://github.com/wesnoth/wesnoth/pull/5479#issuecomment-763696081
2021-02-02 15:15:56 +01:00
Andrey Bienkowski
7a25c7f7d6
wmllint: remove outdated comment
...
This poor orphaned comment was left behind by 659f5d1894
2021-02-02 15:15:56 +01:00
Andrey Bienkowski
5032bed2b2
wmllint: remove commented out code
2021-01-31 15:09:11 -06:00