258 Commits

Author SHA1 Message Date
Gunter Labes
1d0638b048
Use a single dot for the extension 2023-11-28 13:40:13 +01:00
Gunter Labes
0d3c00b13b
Remove outdated and not that useful test 2023-11-27 19:40:04 +01:00
Ivo Julca
d4f16cd75b wmlunits: Use safe charset for image paths 2023-05-25 10:35:57 +02:00
Ivo Julca
71ff0cfabc wmlunits: Normalize file paths consistently 2023-05-25 10:35:57 +02:00
Ivo Julca
89f819661c wmlunits: Add path2url function for cross-platform path handling 2023-05-25 10:35:57 +02:00
Ivo Julca
5136c45b3e wmlunits: Correctly get Wesnoth paths in Windows 2023-05-25 10:35:57 +02:00
Slayer95
20d443bfcb
wmlunits: Refactor HTML postprocess step (#7609)
Cleaner and faster.
2023-05-18 00:21:06 +02:00
Slayer95
eded720ee2
Refactor TeamColorizer into a Python library (#7604)
* Refactor TeamColorizer into a Python library

* Use TeamColorizer as library
2023-05-07 23:54:18 +02:00
Slayer95
5eaed1b744
wmlunits: Specify error as class in html reports (#7581) 2023-05-05 21:05:09 +02:00
Slayer95
fa76e775ac
wmlunits: Handle code paths for missing attributes (#7580) 2023-05-05 18:45:12 +02:00
Tahsin Jahin Khalid
4d092347db unit_tree: comment out [advancefrom] 2023-02-12 10:11:45 -06:00
Tahsin Jahin Khalid
2cd0e5db03 unit_tree: add missing defines 2023-02-12 10:11:45 -06:00
Elvish_Hunter
77eed10a09 wmlunits: fixed an error on [female] tags without image= key 2021-12-06 17:52:25 +01:00
Gunter Labes
6c9813af8e
Update deprecated path options 2021-06-27 11:11:19 +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
Iris Morelle
e03ebed407 website: New Year copyright update
[ci skip]
2021-02-13 23:08:03 -03:00
Iris Morelle
9a8bb8fb6e website: New Year copyright update
[ci skip]
2020-01-10 00:03:52 -03:00
Zaal Tonia
9c6dcb6a63 Use damage type and range icons
Fixes issue #3949
2019-05-14 18:13:03 +02:00
Iris Morelle
674beb3502 website: New Year copyright update
[ci skip]
2019-03-12 23:21:20 -03:00
Allefant
f117a41646 fix for #3965 2019-03-06 11:47:47 -05:00
elias-pschernig
a7e65de2de fix wmlunits crash (#3931)
* fix wmlunits crash
2019-02-25 10:29:42 +01:00
Michał Janiszewski
9d333bc95a Compare to None using identity is operator
This is a trivial change that replaces `==` operator with `is` operator, following PEP 8 guideline:

> Comparisons to singletons like None should always be done with is or is not, never the equality operators.

https://legacy.python.org/dev/peps/pep-0008/#programming-recommendations
2018-10-31 12:21:01 +11:00
Charles Dang
471c9e876a Addressed a large chunk of the whitespace issues from #2613
[ci skip]
2018-03-09 11:37:00 +11:00
Iris Morelle
8413b1014e wesmere: Copyright/attribution update
[ci skip]
2018-02-16 19:56:31 -03:00
Gregory A Lundberg
b5f76eff79
Bump copyright to 2018 2018-01-19 00:02:20 -06:00
Gunter Labes
03b6ad568c
Continue if there is an old executable
Chances are that the previous build works just as well.
We just need it for config file parsing which does not change often.
2018-01-12 19:14:41 +01:00
Gunter Labes
7cdec04c7f
only keep env vars upper case, add missing quotes 2018-01-09 02:06:04 +01:00
Gunter Labes
a535a3140c
Use a more generic default value 2018-01-08 23:36:10 +01:00
Elvish_Hunter
f6fbd6351a Added missing Python shebangs to several scripts 2017-10-02 21:30:00 +02:00
Ignacio R. Morelle
3eafff0d7d wmlunits: Use the unit type id on the id tooltip, not the name
Fixes #1978.

[ci skip]
2017-09-11 19:06:16 -03:00
Ignacio R. Morelle
3b1083f4e7 wesmere: status.w.o supports secure connections
[ci skip]
2017-09-06 13:04:50 -03:00
Ignacio R. Morelle
3fec145351 wmlunits: Avoid an unneeded list swap
[ci skip]
2017-09-05 15:12:33 -03:00
Ignacio R. Morelle
a62ee3930e wmlunits: Sort unit types on the side bar menus by name
[ci skip]
2017-09-05 15:12:33 -03:00
Ignacio R. Morelle
de721f38ad wmlunits: Do not use column layout for short race menus
[ci skip]
2017-08-30 15:02:34 -03:00
Ignacio R. Morelle
8139eab19e wmlunits: Exclude races consisting only of hidden units from the sidebar
[ci skip]
2017-08-30 14:29:36 -03:00
Ignacio R. Morelle
ddbc614312 wmlunits: Bump Wesmere CSS version
[ci skip]
2017-08-29 21:59:22 -03:00
Ignacio R. Morelle
2bb3e791cc wesmere: Don't use explicit tabindex (see wesnoth/wesmere#8)
[ci skip]
2017-08-29 21:55:41 -03:00
Ignacio R. Morelle
290cb4c2d2 wmlunits: Use transparent/ portraits where available, and omit sprite bg
We don't need the upscaled sprite background behind portraits, whether
they are transparent or not (for transparent portraits it just looks
bad).

[ci skip]
2017-08-29 17:26:30 -03:00
Ignacio R. Morelle
c0223cd7c0 wmlunits: Redo some bizarre bogus maths I did for the language menu 2017-08-28 19:55:03 -03:00
Ignacio R. Morelle
065d17b0c9 wmlunits: Major structural rearrangement of the unit details view page
Turns the unit description section into a flex container with the unit
portraits on the right, wherever flex is supported.

Fixes wesnoth/wesmere#4 and wesnoth/wesmere#3.
2017-08-27 20:48:11 -03:00
Ignacio R. Morelle
f28dafa7a4 wmlunits: Partial re-design of the navigation menu implementation
Needed in order to be able to style things better, especially for the
column layout popups.
2017-08-27 20:48:11 -03:00
Ignacio R. Morelle
f1eb040c76 wmlunits: Skip writing attack list sections when a unit has no attacks 2017-08-27 20:48:11 -03:00
Ignacio R. Morelle
769565b59c wmlunits: Don't format the abilities placeholder dash as bold 2017-08-27 20:48:11 -03:00
Ignacio R. Morelle
32169bfd2f wmlunits: Skip race names consisting of nothing but whitespace
They mess the markup up and aren't usually intended to be included in
the unit tree in the first place.
2017-08-27 20:48:11 -03:00
Ignacio R. Morelle
6cdfe9a7d2 wmlunits: "Language" hasn't been in the main textdomain for two stable series 2017-08-15 16:02:55 -03:00
Ignacio R. Morelle
3ba7c64010 wmlunits: Mark terrains with high movement costs properly 2017-08-15 01:31:36 -03:00
Ignacio R. Morelle
73857622fc wmlunits: Do not list abilities without name attributes
This reflects the in-game behavior, which is used to build compound
abilities with only one help entry.
2017-08-15 01:05:50 -03:00
Ignacio R. Morelle
1fe8ed3a13 wmlunits: Include the build timestamp in the main panel (closes #5) 2017-08-14 03:03:17 -03:00
Ignacio R. Morelle
9099cb484b wmlunits: Fix some translation issues caused by textdomain breakage in master
People moved strings around when refactoring parts of the help system in
1.13.x and didn't make sure to carry the textdomain symbol around, so a
bunch of strings that used to be in wesnoth-help in 1.12.x are now in
the main wesnoth textdomain. Sad!
2017-08-13 22:31:35 -03:00
Ignacio R. Morelle
ef406b6938 wmlunits: Update menu markup to allow for CSS column layouts 2017-08-13 21:40:58 -03:00