78376 Commits

Author SHA1 Message Date
Martin Hrubý (hrubymar10)
7ef9548fe0
Disable App Sandbox for Xcode Debug builds 2021-02-21 16:26:39 +01:00
Iris Morelle
962db2ebf6 Update changelog oops
[ci skip]
2021-02-21 02:51:36 -03:00
Celtic Minstrel
862668911a Split core.lua up by module to make things easier to find
Core is now a directory instead of a file. The Lua kernel automatically loads all files in that directory when it starts up.
2021-02-20 21:32:29 -05:00
Celtic Minstrel
fd95180b8a WC: Found one more invalid use of split 2021-02-20 20:06:49 -05:00
Celtic Minstrel
41b2b0b42b WC: Include in the CI schema validation
There may not be much to validate, but we may as well validate what's there.
2021-02-20 19:54:19 -05:00
Pentarctagon
b96f047d7c
1.15.10+dev. 2021-02-20 18:02:48 -06:00
Pentarctagon
ba580774f1
1.15.10. 1.15.10 2021-02-20 18:01:19 -06:00
Iris Morelle
624f7d1363 wc: Use mainline's "Close" string for the help system OK button 2021-02-20 19:53:37 -03:00
Celtic Minstrel
9e0914ebfa WC: A few more little fixes 2021-02-20 17:47:51 -05:00
Celtic Minstrel
3efe2973e8 WC: Minor improvements to pickup dialog
- Add some padding
- No need to say the key shortcuts
2021-02-20 17:47:51 -05:00
Celtic Minstrel
0cc39f985d Lua API: Also make sure the expanded form of context-free generators accepts translatable strings 2021-02-20 17:47:51 -05:00
Charles Dang
7206d0cf4b
Merge pull request #5565 from shikadiqueen/feature/menu-streamlining
hotkey: Streamline some menu action labels
2021-02-21 09:26:41 +11:00
Iris Morelle
b0e017f7f0 pot and documentation update 2021-02-20 18:47:30 -03:00
Celtic Minstrel
3e896ba1dd Fix Lua name generator API not accepting translatable strings 2021-02-20 16:47:19 -05:00
Celtic Minstrel
1cbd2b6ef7 WC: Fix broken use of map_split
One use-case of wc2_utils.split_to_set was different and not directly compatible with map_split
2021-02-20 16:47:19 -05:00
Celtic Minstrel
5bc101104a WC: Use the Markov Chain generator for names 2021-02-20 16:29:25 -05:00
Celtic Minstrel
6865cca0f1 I have no idea how that got mangled like that 2021-02-20 16:21:12 -05:00
Celtic Minstrel
0802779f9e Found a deprecated thing not in WC 2021-02-20 16:12:49 -05:00
Celtic Minstrel
22fe1e9b71 WC: Update a bunch of deprecated things 2021-02-20 16:12:49 -05:00
Celtic Minstrel
bb7483d456 Add a deprecated stub for math.pow 2021-02-20 16:12:48 -05:00
Celtic Minstrel
0b4297b0f8 Fix wesnoth.random returning a real number when called with arguments 2021-02-20 16:12:48 -05:00
Iris Morelle
ef1fbedb82 hotkey: Streamline some menu action labels
Something that people occasionally miss is that several hotkey actions
double as menu items throughout the UI. Menu items have this particular
quality to them that requires them to be as succinct as possible to make
their meaning apparent without requiring excessive reading and parsing
from users/players. Furthermore, in a UI like ours with large elements
everywhere,  we want to avoid excessively wordy elements that can become
ten times as long when translated into foreign languages.

Commit c42bf114249dcef5241327ca92214cf155ff89e8 replaced the Preferences
label with a unnecessarily longer version despite it being pretty
standard among most applications for it to be a single word (either
Preferences or Options or Settings). This commit reverts that.

Clear Chat and Errors (also from the aforementioned commit) is relabeled
Clear Chat rather than Clear Messages so it's clearer that it applies to
chat messages in particular and not anything else. On that note, the
fact that game diagnostics share real estate and infrastructure with
chat is really unfortunate but there's not much that can be done about
it at the moment. At least it is visually obvious that this is the case.
It's also rarely relevant (and most people won't think of entering
"error" into the hotkey filter before reporting the error somewhere).

View Chat Log is relabeled Chat Log since no other option deals with the
Chat *Log* in particular.

Scenario Objectives is relabeled Objectives because there really isn't
anything else that has objectives we can look at in the whole game.

Enter User Command is relabeled Enter Command so as to not sound
superfluous.

Additionally, the Quit to Main Menu action is relabeled just Quit to
Menu, which is closer to what the option actually does in MP games (quit
to lobby) without being inaccurate in either SP or MP (closes #2744).
2021-02-20 17:07:46 -03:00
Pentarctagon
40ff503470
Retroactively add WoV's removal to the changelog. 2021-02-20 14:06:11 -06:00
Pentarctagon
e47b75940f
Disable World Conquest pending removal or a maintainer stepping forward. 2021-02-20 13:29:14 -06:00
Iris Morelle
b231306631 gui2: Drop trailing stops from tooltips 2021-02-20 14:43:56 -03:00
Iris Morelle
38af14f1a8 gui2/preferences: Streamline filter options on the Hotkeys page
Categories vs. Filter both deal with filtering -- the only difference is
that categories has a broader scope than the name-based filtering, with
the latter being applied to results for the selected categories. We
don't need two rows for both.
2021-02-20 14:37:13 -03:00
Iris Morelle
4d8cff6c40 gui2/preferences: Increase window height to accomodate the sidebar
This is specifically meant to address the sidebar gaining a short
vertical scrollbar at higher resolutions because of button sizes
increasing slightly.
2021-02-20 14:08:33 -03:00
Charles Dang
206675050d GUI2/Addon License Prompt: simplify implementation 2021-02-21 03:45:47 +11:00
Nils Kneuper
243bc6de78 updated Turkish translation 2021-02-20 14:12:56 +01:00
Charles Dang
8118cc5f1b GUI2/Dialogs: made use of nested namespace specifiers where possible 2021-02-20 21:41:13 +11:00
Charles Dang
34cb0c8ea9 GUI2: added helper to execute a function with a found widget as its argument 2021-02-20 19:32:03 +11:00
mattsc
1f3a90cdef Update changelog 2021-02-19 20:23:01 -08:00
mattsc
1ec1405f95 move_leader_to_keep CA: prevent error message
Previously, trying to move the leader toward an occupied keep hex caused an E_NOT_REACHED_DESTINATION error.

Fixes #5345
2021-02-19 19:41:06 -08:00
Steve Cotton
09c8c506e1 Make the preferences window big enough for HDPI fonts
The hardcoded size of the window was too small for the large fonts on HDPI
displays, this changes to using the automatic width and calculated-based-on-dpi
height. On HDPI displays that does leave blank space on the General tab, but it's
better than not scaling.

Buttons that were placed at the bottom of pages move up so that they aren't
too far from the other controls. The sub-tab-selector buttons on the
multiplayer tab move above the sub-tabs themselves.

With HDPI text, the checkboxes are placed a little too high to align with
the font, but that's a cosmetic detail; this commit fixes the usability issue.
2021-02-19 15:52:47 +01:00
Celtic Minstrel
56bdd42815
Fix segfaults and a few other issues in wesnoth.find_path
Co-authored-by: mattsc
2021-02-18 22:15:31 -06:00
newfrenchy83
05b2ea2262
Extend special_id_active and special_type_active to account for abilities used as specials 2021-02-18 18:19:35 -06:00
newfrenchy83
f671d2a678 Update wesnothd.cbp 2021-02-18 14:14:34 -06:00
newfrenchy83
144dd2310e Update wesnoth.cbp 2021-02-18 14:14:34 -06:00
newfrenchy83
6e43b2bd48 Update liblua.cbp 2021-02-18 14:14:34 -06:00
newfrenchy83
f0dae02029 Update tests.cbp 2021-02-18 14:14:34 -06:00
newfrenchy83
0bcd1853e7 revert to c++20 dev to c++17 2021-02-18 14:14:34 -06:00
kabachuha
0293e77968 Update changelog
[ci skip]
2021-02-18 19:14:30 +03:00
Charles Dang
c26b13d8bb Small cleanup to d7eab6894c6eb6d94d1159189814fe20783e1611 2021-02-19 03:00:22 +11:00
Charles Dang
ad1523f43a
Merge pull request #5538 from kabachuha/command_memory
Command history for in-game consoles
2021-02-19 02:16:05 +11:00
kabachuha
f924a75afc added command history for in-game consoles
Added terminal-style command history browsing with up-down keys for in-game consoles used by debug mode, ai and search floating textboxes.
2021-02-18 16:39:17 +03:00
kabachuha
9cf445e526 removed unused variable 2021-02-18 12:20:09 +03:00
Charles Dang
0738755bf6
Merge pull request #5550 from wesnoth/smol-campaignd-cleanup
Campaignd: cleaned up error reporting slightly
2021-02-18 19:24:56 +11:00
Pentarctagon
97bca421e7
Update flatpak docker image to newer runtime.
Also change the base image to Ubuntu 20.04 and remove the PPA providing a newer flatpak version.
2021-02-17 16:49:33 -06:00
Iris Morelle
041e56e63b help: Use color_t::from_hex_string() instead of from_argb_bytes()
Colours obtained from help markup until now have been generated using
from_argb_bytes(), even though the caller ensures they are 7 characters
long and thus in #RRGGBB hex notation. When porting the help text render
code to pango_text, this resulted in text with colour set by markup
being rendered invisible with an alpha value of 0.

Unless we decide at a later point to support alpha values in help
markup, we want alpha to always be 255.
2021-02-17 17:29:43 -03:00
loonycyborg
0ffe194f71 Update flatpak runtime version. This fixes #5552 2021-02-17 21:35:57 +03:00