Commit graph

83373 commits

Author SHA1 Message Date
demario-w
4604c949fa
Add 'k' hotkey to core management window from main screen
Fixes #8209
2024-01-22 16:30:39 +01:00
Nils Kneuper
c9380a960f updated British English translation 2024-01-21 15:04:49 +01:00
pentarctagon
79ca90648a 2024 copyright update - misc 2024-01-20 22:41:50 -06:00
pentarctagon
970163813d 2024 copyright update 2024-01-20 22:22:23 -06:00
pentarctagon
78dff4cf8e 1.17.25+dev 2024-01-20 20:04:23 -06:00
pentarctagon
971e05c63a 1.17.25 2024-01-20 20:02:42 -06:00
pentarctagon
6b3b6511b6 pot-update and regenerate doc files 2024-01-20 20:02:02 -06:00
pentarctagon
118f780f60 changelog_entries 2024-01-20 19:56:52 -06:00
Subhraman Sarkar
18086e78ae
Hotkeys (#8249)
Shortcut keys for map editor
2024-01-20 19:32:31 -06:00
Steve Cotton
255a99782e EI S11: Correct a couple of [message]message= to [message]female_message=
Fixup of ebab1ad8fd.
2024-01-21 02:11:11 +01:00
Steve Cotton
87b42c404b Add a unit test for the event-handler reordering bug
This test would fail without the fix from the previous commit.
2024-01-21 01:38:48 +01:00
Celtic Minstrel
508859cfb6 Make a copy of the active event handler list before executing them.
This avoids issues if the events being executed add new handlers, since adding a new handler needs to sort the list according to the event priority.

Fixes #8157
2024-01-21 01:38:48 +01:00
Steve Cotton
91bd96b319 Revert "systemd: drop _ prefix from username"
Prefixing all system and group names with the underscore is
recommended by the systemd developers.

This reverts commit d6d2a4f996.
2024-01-21 01:34:18 +01:00
Hejnewar
b3ec3f4d0b
UtBS Balance (#8269) 2024-01-21 01:15:14 +01:00
Steve Cotton
ebab1ad8fd EI: fix macros in translatable strings, improve po hints
In S11, make the first deserter always male so the translations don't need to
worry about gender variants. However, add gender variants to the strings that
talk to that deserter, as they're new in 1.17.
2024-01-20 23:58:10 +01:00
Eugene
9f99a4ef7d
Simplify nearest neighbor rescale (#8240) 2024-01-20 16:50:14 -06:00
Steve Cotton
c25fc888a7 Make event_test_filter_condition check when the filters run
Also add the missing first_time_only=no, which is why the three [moveto]
events didn't trigger the third event three times.
2024-01-20 23:00:59 +01:00
Celtic Minstrel
b2b2052e78
Update Morogor Dialect notes (#8258)
Address a few weird or problematic entries in the glossary. This also makes it use the term "glossary" instead of "dictionary", as that's what it really is.
2024-01-20 14:20:25 -05:00
Nils Kneuper
46ff2980e7 updated French translation 2024-01-20 14:48:04 +01:00
Nils Kneuper
9506be6f6b added new Finnish translator 2024-01-20 14:48:04 +01:00
Nils Kneuper
c67e4b4c9f updated Finnish translation 2024-01-20 14:48:04 +01:00
Nils Kneuper
8cc86e350c updated Arabic translation 2024-01-20 14:48:04 +01:00
Steve Cotton
286f14657b Handling of RTL in the left pane of the help browser
Fixes the display of topic headings, including unit names, in right to left
languages (Arabic and Hebrew).

The GUI1 menu code is only kept to support one UI feature, the help browser.
However, the code supported multiple columns and multiple things in each
column; to do the latter it handled each column as a string with embedded
separators. To support the help GUI, all that's needed is for each row to have
an indent, an icon, and a text field. Traces of the multiple-column support are
still in the code, but the drawing code is simplified.

The logic for working out whether mouse clicks are on the icon or the text has
moved from the subclass to the main menu class, as it's a subset of the logic
for drawing the UI.

In LTR languages, this looks almost identical.

In RTL languages, the book icons now appear in the right place, and the text
placement is reasonable.
2024-01-20 14:28:16 +01:00
Steve Cotton
69dae9f0a3 Remove code because menu::set_heading and menu::style::scale_images aren't called
Remove some special cases from the drawing code, because menu::draw_row
was previously also used for drawing the headings.

As scale_images was never called, adjust_image_bounds was a no-op.

This is separate from the main dead code removal commit because it touches
active code paths.
2024-01-20 14:28:16 +01:00
Steve Cotton
22c8a1581d Remove dead code from GUI1's menu class
The GUI1 menu code is only kept to support one UI feature, the help browser.
More specifically, the left-hand pane that looks like a treeview.

Remove the code for sorting the list in the UI. The help articles are ordered
by category, and there isn't a UI control for the user to sort them into a
different order.

Remove erase_item(), which wasn't called from anywhere.

Remove clear_item(), recalculate_pos() and assert_pos(). These three were
only called by the sorting code and erase_item().
2024-01-20 14:28:16 +01:00
Pentarctagon
d9aa71ac86
Add missing names to about.cfg (#8260)
Fixes #6475
2024-01-19 16:16:31 -06:00
Toom
8da8b96b07 Set filelist parameter in CrossRefLister constructor call, fixes #7841 2024-01-19 14:20:08 +01:00
Steve Cotton
162c65bedb WoF S01: Improve po hints 2024-01-19 11:41:09 +01:00
Steve Cotton
6ffc6051a6 WoF S12: Leave the epilogue much more open-ended
The replaced first line added facts into canon that didn't need to be there.
Also, that text felt too similar to some real-world racism, which is why I'm
pushing this change during the string freeze.

In discussion during review, the last two lines felt more like the start of
another story than part of WoF itself.
2024-01-19 11:41:09 +01:00
Gunter Labes
f8d8b1b161
Allow overriding tmpout 2024-01-18 22:29:16 +01:00
Toom
c3bc1f3bbe
Show accuracy/parry as weapon specials in html, fixes #7895 (#8259) 2024-01-18 22:01:53 +01:00
Gunter Labes
df359880e4
Double check executables were produced 2024-01-18 11:47:34 +01:00
Toom
2056be55a3
Support [harm_unit]experience values kill/attack/defend/fight/yes/no (#8231) 2024-01-18 11:32:18 +01:00
pentarctagon
1f50e0f2d2 fixup again 2024-01-17 21:02:42 -06:00
Toom
815af53a75 Add warning when [modification]type is not set, re #3415 2024-01-17 19:48:44 -06:00
pentarctagon
0052d26e54 fixup CI's strict usage
it should only be disabled for wesnothd/campaignd, not for everything
2024-01-17 19:38:12 -06:00
Severin Glöckner
d6d2a4f996 systemd: drop _ prefix from username
man 5 sysuses.d recommends:
It is strongly recommended to pick user and group names that are unlikely to clash with normal users created by the administrator.
A good scheme to guarantee this is by prefixing all system and group names with the underscore, and avoiding too generic names.

Looks better without underscore. wesnoth is unique enough to not clash, most daemons on Arch don't have an underscore either.

The group is created implicitely when the user is created.
2024-01-18 01:27:01 +01:00
gfgtdf
8039781676 fix unit:to_map(loc) #8229
lua_unit::put_map already removes the unit previously on that tile, and doing it here causes an error when the unit was on that tile already.
2024-01-18 00:58:57 +01:00
pentarctagon
34c8753878 forgot to remove this too 2024-01-17 08:56:46 -06:00
pentarctagon
e521b6414f deprecated method in mariadbpp 2024-01-17 00:38:11 -06:00
pentarctagon
453dbc685f Enable stricter checks for debug builds.
Use _GLIBCXX_DEBUG, _GLIBCXX_DEBUG_PEDANTIC, and _GLIBCXX_ASSERTIONS for the debug Ubuntu build.
2024-01-17 00:38:11 -06:00
doofus-01
a0aef5550d
Update changelog.md 2024-01-15 15:49:51 -08:00
Gunter Labes
1a47a9943f
Remove confusing lowercase comparison
If case insensitive handling is wanted here then it needs to show all matches not just an arbitrary first one.

Since this forwards to searchlog which properly matches case insensitively anyway that does not seem particularly useful though.
2024-01-15 22:28:29 +01:00
P. J. McDermott
fc4d11b2cb systemd: Run as _wesnoth:_wesnoth
systemd 246+ logs a warning message, because running as "nobody" is
unsafe:
https://github.com/systemd/systemd/blob/v246/NEWS#L106-L113

Prefix names with underscore, as recommended by systemd documentation:
https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html
2024-01-15 21:33:26 +01:00
doofus-01
1ecd4f4d59
1.18 - various minor monster updates (#8195)
* various minor monster sprite updates

* small fixes to wolf portraits, jumping spider portraits

* NE anims for jumping spider

* adding zombie fish, zombie bug
2024-01-15 12:25:38 -08:00
Wedge009
991d9a353f
EI S12: Ran-Lar appears to be renamed Rakkha in #7815. Resolves #8242. (#8244) 2024-01-14 18:25:26 -08:00
Toom
27e5dd50d2 Update all units of type and side after selection with is_game_override 2024-01-14 10:04:31 -06:00
pentarctagon
0c0f9ba997 Fix attempting to erase end() in the boost unit tests.
In that test current_addon_ is "", so when run locally with add-ons installed it results in it attempting to erase dirs_.end().
2024-01-13 13:44:56 -06:00
Pentarctagon
987827b475
Prevent wesnoth from crashing after campaign credits (#8235)
Fixes #7395
2024-01-13 11:15:50 -06:00
Nils Kneuper
7c4ac03be2 updated Slovak translation 2024-01-13 14:33:22 +01:00