77742 Commits

Author SHA1 Message Date
Iris Morelle
9de5c60a72 image: Drop redundant include
Absolutely nothing here uses SDL 2 out in the open.
2020-12-04 02:19:47 -03:00
Iris Morelle
2f80397bd6 image: Doxygen documentation
Mostly formatting and wording improvements. Also added a longer
description for the namespace explaining IPFs, image formats and the
image cache briefly.
2020-12-04 02:19:47 -03:00
Iris Morelle
7d0e586eac image: Formatting
No code changes here.
2020-12-04 02:19:47 -03:00
Charles Dang
6e2f3e099e Removed utils/functional.hpp 2020-12-04 15:30:46 +11:00
Charles Dang
30c7a747ab Explicitly specify std::placeholders namespace for all bind placeholders
Apparently, even on Boost 1.73 without Boost placeholders specialized as is_placeholder, they were somehow
getting used in the global namespace. Would explain all the "Boost placeholders in the global namespace is
deprecated" warnings I was getting after 23d1db043f9f8266c77c6270ed4ef3eafbc0cf67.

When testing with BOOST_BIND_NO_PLACEHOLDERS, even though I had `using namespace std::placeholders` in utils/functional.hpp,
compilation still failed in places. This confirms even more that Boost global placeholders were being used. Honestly,
it was simplest just to specify std::placeholders for everything. This also means we can remove the hack in utils/functional.hpp
designed to allow Boost placeholders to work with `std::bind`.
2020-12-04 15:28:15 +11:00
Charles Dang
472fba4e76 GUI2/Window: used a scoped enum for show_mode 2020-12-04 13:52:14 +11:00
Iris Morelle
4db2abcc9c addon/info: Simplify operator= methods
These methods are actually the compiler's defaults. We do need to keep
them around in some capacity because of the explicitly defined default
constructors, so just explicitly default them instead of keeping extra
redundant code around.
2020-12-03 23:49:53 -03:00
Iris Morelle
85b6daa9c9 campaignd: Drop plain text passphrase migration
Closes #5080.
2020-12-03 23:49:53 -03:00
Iris Morelle
f7e8d3770f addon/state: Remove unused enum types
These were part of the GUI1 Add-ons Manager implementation.
2020-12-03 23:49:53 -03:00
Charles Dang
ab770d1cba GUI2/Network Transmission: rethrow any exceptions from the poller in the main thread
This is the same method used by the loading screen. Basically, connection::poll could throw and that exception
wasn't caught in the worker. Instead, it got stored in the std::future object, but was never accessed and therefor
never propagated.
2020-12-04 13:14:33 +11:00
Charles Dang
ba1dbe56e3 VS: removed 32 bit target from wesnothlib and wesnothd
Was already removed from wesnoth, campaignd, and liblua.
2020-12-04 13:14:33 +11:00
Pentarctagon
257f1810af Add Discord notification when build fails. 2020-12-03 18:52:49 -06:00
Charles Dang
23d1db043f
Removed patched boost::bind (#5339)
This seemed to be a patch for older compilers (GCC 4.8/4.9, see 3c56630b54)
which we no longer support.
2020-12-04 11:45:16 +11:00
Charles Dang
2371b8af60 GUI2: marked builders' virtual build() function overrides as such 2020-12-04 10:09:11 +11:00
Elvish_Hunter
e7c96a2619 Changelog entry 2020-12-03 21:58:57 +01:00
Elvish_Hunter
1fd4111cb9 Merge branch 'master' of github.com:wesnoth/wesnoth 2020-12-03 21:40:17 +01:00
Elvish_Hunter
785bd018e6 wmllint: prevent a crash if CLEAR_VARIABLE and its arguments aren't on the same line 2020-12-03 21:33:49 +01:00
Elvish_Hunter
845887dfa6 wmllint: prevent a crash if an [attack] tag without the corresponding [/attack] is found 2020-12-03 21:12:21 +01:00
Elvish_Hunter
a5207027fe wmllint: don't quit when finding a mask= key not referencing a .mask file
Fixes #5324
2020-12-03 21:01:15 +01:00
Elvish_Hunter
5e4ba6c01b wmllint: fix a crash if advances_to= is placed before id= in [unit_type]
This was supposed to be a part of the fix for #4102, but for some reason it never got committed.
2020-12-03 20:55:12 +01:00
Pentarctagon
c7643e0785
Fix macOS CI. 2020-12-03 11:48:17 -06:00
Charles Dang
7bdd72886d GUI2/Window: don't create raw window pointers 2020-12-04 01:01:32 +11:00
Charles Dang
e996a30603 GUI2/Window: take window_resolution reference instead of pointer
This was never null, so it should be a reference.
2020-12-04 00:24:51 +11:00
Charles Dang
0f68d936df GUI2/Stacked Widget: no need to keep grid builders in shared_ptrs
The stacked_widget builder's grid builder stack is only passed to stacked_widget::finalize.
As of 4ada05a2cf74227ec460010db52acf525dddfcf6, the builder_grid is now passed by reference
to the generator's create functions rather than passing another shared_ptr.
2020-12-03 23:55:55 +11:00
Charles Dang
4ada05a2cf GUI2: passed builder_grid references directly to generator create functions 2020-12-03 19:14:32 +11:00
Charles Dang
cb4979ac0c GUI2: passed builder_grid reference directly to container_base::init_grid and window::finalize 2020-12-03 17:21:18 +11:00
Charles Dang
e8b72f2d2d Fixup fd2662b 2020-12-03 14:48:19 +11:00
Charles Dang
826947c4c9 GUI2/Multi Page: marked set_page_builders private 2020-12-03 14:48:01 +11:00
Charles Dang
fd2662bea6 Removed boost::intrusive_ptr include (unnecessary as of 6d73033445bddbbcf597b648f3801634add695ec) 2020-12-03 14:28:03 +11:00
Charles Dang
6aae355fcf Unit: used optional instead of unique_ptr where appropriate 2020-12-03 13:19:48 +11:00
mattsc
bf3cdeb179 AToTB S2: fix AI bug when Muff Toras has no move
This was caused by a change in the return value of ai_helper.find_best_move() when no move is found.

Fixes #5316
2020-12-02 17:35:26 -08:00
Severin Glöckner
a7320744d0 NR S2: weaken fallback events
One of them seems to be triggered occasionally
2020-12-03 01:18:41 +01:00
loonycyborg
d8e9588be7 Make ssh agent work for scons+distcc+ssh 2020-12-02 23:46:12 +03:00
Severin Glöckner
7c4ce9dd0f NR: remove unused images
belonged to the alternative story branch
2020-12-02 16:19:48 +01:00
Severin Glöckner
d4e06c83e2 DiD: remove accidentally commited file 2020-12-02 16:15:04 +01:00
Severin Glöckner
db28a8657b DiD S9: increase health
Bats deal 3 damage.
Malin heals also 3 damage if he hits (unless the enemy has less than 6 health)
With 28 hp, Malin can take 9 more hits than he does,
compared to 6 previously on hard (and 8 previously on normal)

closes #5296
2020-12-02 14:10:21 +01:00
Pentarctagon
c723dc14f0
Fixup vcpkg dependencies for playing audio. 2020-12-02 00:42:52 -06:00
Pentarctagon
11fac5ed2b
We don't use travis anymore. 2020-12-02 00:40:19 -06:00
Pentarctagon
fd29aa8503
Fixup vcpkg dependencies for locales. 2020-12-02 00:37:22 -06:00
Charles Dang
14d429072c Removed type_trait_aliases.hpp
Most of what used to be in these files (the _t types) were removed once we switched to C++14.
These two value aliases aren't used, so no need to keep them around.
2020-12-02 14:56:08 +11:00
newfrenchy83
da224661c4 update scons codeblock projectfiles 2020-12-01 16:53:09 -06:00
newfrenchy83
0687196b4f Update tests.cbp 2020-12-01 16:53:09 -06:00
newfrenchy83
ea7a643951 update codeblock projectfiles 2020-12-01 16:53:09 -06:00
Charles Dang
c9d1fda443 Updated VS projectfile 2020-12-02 08:18:49 +11:00
Charles Dang
cb537f781b
Converted uses of boost::optional to utils::optional (#5329) 2020-12-02 08:16:05 +11:00
Charles Dang
ffde778f10
Refactored use of boost::mpl out of lexical_caster (#5330) 2020-12-02 08:13:21 +11:00
Charles Dang
4f0e8e1e5b Marked open_object_is_supported constexpr 2020-12-02 01:03:34 +11:00
Charles Dang
baa1a87a8a Cleaned up excessive indentation and newlines in the AI code 2020-12-02 01:02:24 +11:00
Pentarctagon
62aa0b252f
Run wmlindent. 2020-11-30 16:10:28 -06:00
Celtic Minstrel
9c102a64c6
Fix OBJECTIVE_FOOTNOTE 2020-11-30 13:41:09 -05:00