80162 Commits

Author SHA1 Message Date
Wedge009
d5b95e621d While this is far from the only place where variables are used in translated text, the use of variables adds challenges to some translations.
The particular discussion which led to this reversion relates to the Czech translation.

Revert "Refactor handling of allies in UtBS. Resolves #6158."
Revert "Add po hints where self-referential troll names have been replaced with variables."

This reverts commit 541f0a1e73c45a8e58237e3a635d8d3bcbe1305a.
This reverts commit 4a3ddfb1430ce715e0ffbb519aef1c4592db3575.
2022-03-14 11:22:32 +11:00
Pentarctagon
9282828f58
Use the C++ compiler instead of the C compiler.
Note using clang++ to build C code as C++ without also providing `-x c++` gives a deprecation warning.
2022-03-13 18:38:12 -05:00
newfrenchy83
04181d7de8 update codeblock projetfiles 2022-03-13 12:07:00 -05:00
Pentarctagon
c1058215e5
Fix #6389.
Previously this code assumed that all add-ons would have a _server.pbl or an _info.cfg. When neither was the case, it tried to dereference the begin() of an empty set, causing the crash.
2022-03-13 11:48:13 -05:00
Charles Dang
439de2531d
Merge pull request #6561 from newfrenchy83/updatecodeblock
update codeblock projectfiles
2022-03-13 06:44:33 -04:00
newfrenchy83
429094b577 update codeblock projectfiles 2022-03-13 11:27:42 +01:00
Pentarctagon
8655095516
changelog update. 2022-03-12 16:37:14 -06:00
Pentarctagon
9689554aa9 Make MSVC fail when C files generate warnings. 2022-03-12 16:32:46 -06:00
Martin Hrubý (hrubymar10)
f363853993
Add support for libwebp in Xcode project 2022-03-12 21:06:10 +01:00
Pentarctagon
94002d60dc
Add webp requirement. 2022-03-12 13:51:03 -06:00
Pentarctagon
f44acd68c2 Add build support for webp images. 2022-03-12 13:47:46 -06:00
Nils Kneuper
2c0b0bac68 updated Czech translation 2022-03-12 12:54:27 +01:00
Pentarctagon
82a8350a94 Put translation contribution info into CONTRIBUTING.md. 2022-03-11 21:42:29 -06:00
Celtic Minstrel
57c2e6de4a Fix shroud unit tests not being classified as unit tests and showing up in the in-game test list 2022-03-11 09:46:33 -05:00
Celtic Minstrel
876827c644 Update deprecated uses of [replace_map] 2022-03-11 09:45:56 -05:00
Pentarctagon
7b08d049d7
Changelog update. 2022-03-10 10:25:57 -06:00
Pentarctagon
95aaac76a9 Store add-on passwords in the credentials file as well.
This allows storing add-on passwords for uploading in the same credentials file as is currently used by the client when connecting to a multiplayer server. For add-on authors that don't keep their passwords as plaintext in their _server.pbl, this removes the need for them to manually enter their password each time they upload an add-on.
2022-03-10 10:23:01 -06:00
Pentarctagon
999f0c1514
Add submodules into source archive.
git archive ignores submodules apparently, so the mariadbpp code has also been missing since it was added as well.
2022-03-09 17:21:46 -06:00
Pentarctagon
d32cfb88c4 Update instructions and add warning to scons/cmake. 2022-03-09 15:01:37 -06:00
Pentarctagon
1a3498cbf3 Rename nowarn/ to lua/
Also cleanup the includes.
2022-03-09 15:01:37 -06:00
Pentarctagon
e7a7e86634 Rename variable. 2022-03-09 15:01:37 -06:00
Pentarctagon
5155a74f4f Make lua a submodule.
No changes required to the lua source anymore.
2022-03-09 15:01:37 -06:00
Pentarctagon
573901376a Un-rename lua source files to .c
Being .cpp isn't required to have them be compiled as C++.
2022-03-09 15:01:37 -06:00
Pentarctagon
dd947db289 Avoid lua build warning without altering source code. 2022-03-09 15:01:37 -06:00
Pentarctagon
d4cef6d104 Revert "Reapply static_cast fix from 561cc33dc41d5b1561934d5c9e184f1da8545195"
This reverts commit 778e916b950f367102fa961da0c0e67b2a3e40dc.
2022-03-09 15:01:37 -06:00
Steve Cotton
3279973960 Remove gui/auxiliary/filter.hpp and unused includes of pane.hpp
Remove filter.hpp, which wasn't included by any file, and relied on
pane.hpp indirectly via one of the lines removed in this commit. The sorting
functionality seems to have moved into pane.cpp when matrix.hpp was added.
Note: there are two other unrelated `filter.hpp` files.

Header pane.hpp is only used by matrix.hpp, pane.cpp, and window_builder.cpp;
the class is also used via a forward-declaration in window.hpp, which friends
it, allowing a call to window::layout_linked_widgets. The class is also made
accessible via REGISTER_WIDGET.

Part of #6540.
2022-03-09 13:54:05 +01:00
Steve Cotton
1f41893f18 SoF: explain the Shorbear tools as products of the volcanic forge
I don't like the explanation of the tools being made of unobtainium, so changed
it to use a convenient plot device. I think this also solves a plot hole about
the forge; instead of it being near the Shorbear Caves by random chance, this
gives a reason for the Shorbear Clan to live there (even if they haven't been
in there in living memory).
2022-03-09 13:31:18 +01:00
Charles Dang
ae79f74e2e
Merge pull request #6557 from wesnoth/minor_req_cleanup
Minor req cleanup
2022-03-09 04:36:43 -05:00
Charles Dang
b2db5d0498 Don't link with boost::thread 2022-03-09 01:30:57 -05:00
Charles Dang
e6ff517950 Removed unused boost::assign and boost::multi-array includes and deps
boost::assign was removed a long time ago, and the only use of boost::multi-array was unused and removed in 9cf445e52624d4f233234907570b176b3981d1eb.
2022-03-09 01:21:38 -05:00
Steve Cotton
8e4be819dc Piglets: add a po hint that these are wild boars' young
(cherry picked from commit 2f6a9999892f6b168ec473868d24a2ca09f96027)
2022-03-07 08:28:16 +01:00
Pentarctagon
340023921d
2022 copyright update. 2022-03-06 19:07:13 -06:00
doofus-01
8b059e5b54
Crater updates and other minor terrain fixes (#6492)
* fix bad Swamp-Icy_Cobble (Ss-Rra) transition

* uncouple crater from desert sands

* different craters (^Dc) for sand, dirt, and ice

* fix some dull snow on Koa and Coa
2022-03-06 15:25:16 -08:00
Steve Cotton
9c810afaf3 Treat all 1.17 builds as dev versions, including non-canonical ones
This controls whether the "show deprecation warnings" preference defaults to
on or off. It seemed odd to have that default to on for the official 1.17.x
releases, yet default to off for local builds which developers are fixing.
2022-03-06 17:44:54 +01:00
newfrenchy83
691c157124 update codeblock projectfiles 2022-03-04 10:41:12 -06:00
Steve Cotton
50b5d67567 Add namespace to utils::irdya_datetime and utils::wesnoth_epoch
Add documentation for them too.
2022-03-03 21:23:02 -06:00
Steve Cotton
11b0d711f3 Put namespaces on the string_enums that don't need .cpp changes to do so 2022-03-03 21:23:02 -06:00
Pentarctagon
94ed780a6b This is required to be defined as of C++11. 2022-03-03 21:23:02 -06:00
Pentarctagon
afa9b78687 Throw exception instead of a string literal. 2022-03-03 21:23:02 -06:00
Pentarctagon
0f8c4318a8 Remove GCC version check - versions under 4.8.4 don't work anyway. 2022-03-03 21:23:02 -06:00
Pentarctagon
e9272f79d8 Remove duplicate code. 2022-03-03 21:23:02 -06:00
Pentarctagon
c4c292fa3b Replace all remaining usages if MAKE_ENUM. 2022-03-03 21:23:02 -06:00
Pentarctagon
f4e4bf6b49 Fix existing code that was relying on implicit string conversion. 2022-03-03 21:23:02 -06:00
Pentarctagon
ff3e823960 Add enum_base::get_enum(unsigned long) for converting to the equivalent enum.
Also some other improvements.
2022-03-03 21:23:02 -06:00
Elvish_Hunter
0a3ab226b6 Fix a deprecated macro call 2022-03-01 10:15:44 +01:00
Elvish_Hunter
b7c3fc8825 Fix an incorrect macro argument reported by wmlscope 2022-03-01 10:14:45 +01:00
Elvish_Hunter
993776eef3 Changelog entry 2022-03-01 10:12:59 +01:00
Elvish_Hunter
21bd75c12f wmlscope: allow reporting deprecated macro calls 2022-03-01 10:12:15 +01:00
Eric Gallager
4f3236d60b Add egallager to about.cfg
Add myself as a miscellaneous contributor; see #6475
2022-03-01 17:04:58 +11:00
Larkin Nickle
a98713e268 Add larb0b to about.cfg 2022-02-28 14:13:07 -06:00