77431 Commits

Author SHA1 Message Date
Pentarctagon
b8c12b63ad
Wesnoth 1.15.7. [ci skip] 1.15.7 2020-11-20 22:53:13 -06:00
Iris Morelle
452ff09475 pot and documentation update 2020-11-21 01:44:12 -03:00
Pentarctagon
e502e4b017
Github Actions mingw/flatpak/steam runtime [ci skip] 2020-11-20 19:57:20 -06:00
Pentarctagon
31a5120e1c
Github Actions fix job name [ci skip] 2020-11-20 18:24:38 -06:00
Pentarctagon
59a04c747a
Github Actions 18.04 [ci skip] 2020-11-20 18:23:15 -06:00
Pentarctagon
77baa82c5e
Github Actions fix debug tests and cmake [ci skip] 2020-11-20 17:31:45 -06:00
Pentarctagon
a79907f863
Github Actions shell scripts can't have empty if blocks [ci skip] 2020-11-20 16:59:35 -06:00
Pentarctagon
84e699fbc2
Github Actions cmake and clang [ci skip] 2020-11-20 16:54:24 -06:00
Pentarctagon
2ab0ceea09
Github Actions nother typo... [ci skip] 2020-11-20 16:06:47 -06:00
Pentarctagon
8e62bb0acb
Github Actions can't color terminal output. [ci skip] 2020-11-20 15:59:10 -06:00
Pentarctagon
6b4280d4cf
Github Actions typo fix. [ci skip] 2020-11-20 15:53:51 -06:00
Pentarctagon
c6f65b64fa
Github Actions typo fix. [ci skip] 2020-11-20 15:39:14 -06:00
Pentarctagon
61192a1423
Github Actions add some configurability. [ci skip] 2020-11-20 15:33:32 -06:00
Pentarctagon
9f2e8a1aef
Github Actions test failing works 1. [ci skip] 2020-11-20 15:04:49 -06:00
Pentarctagon
d61fba680d
Github Actions caching. [ci skip] 2020-11-20 14:02:20 -06:00
Pentarctagon
c5bf66659b
Github Actions fix unit tests. [ci skip] 2020-11-20 13:23:33 -06:00
Pentarctagon
7a90b3a134
Github Actions run unit tests. [ci skip] 2020-11-20 12:47:16 -06:00
Pentarctagon
7d9d3357cf
Checkout submodules. [ci skip] 2020-11-20 12:06:12 -06:00
Pentarctagon
eb361bdccd
Use correct sanitize value.
[ci skip]
2020-11-20 11:25:54 -06:00
Pentarctagon
c09e95a20e
Github Actions ubuntu compile test. 2020-11-20 11:19:27 -06:00
Pentarctagon
ef20fc769c
Github Actions docker test. 2020-11-20 11:09:26 -06:00
Pentarctagon
3e9e33def5
Github Actions Test 1. 2020-11-20 10:49:44 -06:00
Pentarctagon
90f3255f08
Limit travis jobs to one per OS.
With the removal of Travis' OSS tier, we now have a limited amount of build time left that needs to last as long as possible.
2020-11-20 10:24:25 -06:00
Steve Cotton
b63b8a959a Convert the editor_action framework to use std::unique_ptr instead of raw pointers
When returning std::unique_ptr instead of raw pointers, the return type can't
be a co-variant, which is why the clone() functions are all being changed to
return the base class.

All of the instances of editor_action_ptr were replaced, except those in
commented-out code. Many of these replacements were with the `auto` keyword;
for the others the reason that I didn't use editor_action_ptr was that I find
`std::unique_ptr<editor_action>` quicker to read than remembering if
editor_action_ptr is a unique_ptr, a shared_ptr or a plain raw pointer.

A large amount of commented-out code in mouse_action_item.cpp and
mouse_action_unit.cpp gets removed, but the commented-out code in
action_item.cpp is left for a future refactor. I think the classes in these
files should end up being refactored with the responsibilty for putting items
on the map moving from mouse_action_item.cpp to action_item.cpp, leaving only
the parts specific to the input method in mouse_action_item.cpp. However,
that's for a separate commit (and separate PR).
2020-11-20 11:51:08 +01:00
josteph
205f779cc5 Addon manager: Save the last sort order in a hidden preference
This uses MAKE_ENUM for the listbox sort order, so that it can
be serialized to the preferences file.
2020-11-20 06:28:22 +01:00
Pentarctagon
b050a13b5d
Changelog update. 2020-11-19 22:35:51 -06:00
Hejnewar
2a1a385478
Balance update (#5289)
Dune Rider xp changed from 42 to 47.
Sunderer line dodge on hills changed form 60% to 50%.
Scorcher gold cost changed from 23 to 25.
Dragoon gold cost changed from 27 to 28.
Elvish Rider gold cost changed form 32 to 28.
2020-11-19 22:33:00 -06:00
nemaara
3d1a44847c DiD S9: another attempt at fixing ghost recall bug 2020-11-19 16:34:58 -05:00
Severin Glöckner
4e5fa1ad3b TSG Into the Depths: reposition portrait
Grek and his units are on the left corner of the screen,
the same place where the portrait is overlayed.
Better using the right side for Grek's portrait.
2020-11-19 22:17:49 +01:00
Severin Glöckner
baa889c4e9 TSG Into the Depths: Fix Troll villages
… not being transferred

Fixes #5269
2020-11-19 22:02:17 +01:00
Iris Morelle
6fe9e3040e Fix C/C++ indentation size
The previous setting is horribly inconsistent with existing practice in
this project, as well as the clang-format tool configuration included.

[ci skip]
2020-11-19 16:49:32 -03:00
loonycyborg
d643edc907 Silence -Wstringop-overflow warning from lua codebase
It currently results in some false positives from gcc 10.
2020-11-19 21:02:30 +03:00
Charles Dang
159609b58b Fixed some uninitialized members 2020-11-20 04:36:04 +11:00
loonycyborg
a15732aac3 Fix debug build on mingw platform 2020-11-19 19:45:06 +03:00
Steve Cotton
ffeb80f6ca Add a unit test for the behavior of [unit]id= recalling units
Answers a question raised in PR #4999. This also passes on 1.14.
2020-11-19 16:07:47 +01:00
Elvish_Hunter
30d9697ab5 wmlindent run on macros/deprecated-utils.cfg 2020-11-19 12:53:29 +01:00
Elvish_Hunter
4cf440e729 wmlscope: remove 'endarg' strings from HTML output 2020-11-19 11:49:39 +01:00
Elvish_Hunter
b39ca0e548 wmlscope: report optional macro arguments in HTML output 2020-11-19 11:46:55 +01:00
Elvish_Hunter
8c3ca97287 wmlscope: also report macros without documentation in HTML output 2020-11-19 11:44:52 +01:00
Elvish_Hunter
044901fd01 Fixed a deprecation comment to match a regex used in wmlscope 2020-11-19 11:37:06 +01:00
Elvish_Hunter
d51d389801 wmlscope: report about deprecated macros in HTML reference 2020-11-19 11:35:04 +01:00
Steve Cotton
296046d211 SotA: Don't concatenate strings in the recruit dialog
Instead of trying to concatenate translatable strings, just make a single full
string to be shown in the recruitment dialog. This came from trying to update
the i18n hints, and realising my suggest of making the swimmers "Merfolk" in
f6dc83375 was causing problems when they could also be nagas.

These strings are stored in a variable at the start of the campaign (in
ZOMBIE_INIT), so won't appear when loading an existing save game. This is why
the Lua script keeps some support for the old names (although they're not going
to be translated in that case).
2020-11-19 07:47:58 +01:00
nemaara
013bea067f DiD S6: fix orc reinforcement side 2020-11-18 17:41:16 -05:00
nemaara
03ea33ff02 DiD S5: increase AI aggression 2020-11-18 17:36:58 -05:00
nemaara
0c11cf40ea DiD S4: fix bad unit filter 2020-11-18 17:36:44 -05:00
Iris Morelle
74e838865c Update changelog 2020-11-18 18:17:59 -03:00
Artem Khrapov
4ca02ba8a4
Fixed the emptiness check for the addon's meta 2020-11-18 23:46:33 +03:00
kabachuha
00df26e116 update changelog
[ci skip]
2020-11-18 21:20:34 +03:00
kabachuha
2a2a2e84e8 Moved the downgradable status tracking to the UI 2020-11-18 20:49:49 +03:00
Artem Khrapov
967504aba5
Allow downgrading of existing addons 2020-11-18 19:33:54 +03:00