77785 Commits

Author SHA1 Message Date
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
Severin Glöckner
0996a95c48 DiD S9: small fixes
Some units can be cut of in the 2nd round. That's not a problem, but with a
good portion of bad luck it could happen to MKBones, making the scenario
unwinnable. That's handled by map adjustments.

Also increasing HP by 3 for the lich start, might even be more.
Discussion in #5296
2020-11-30 03:32:04 +01:00
Severin Glöckner
e0b39e5dd2 DiD S9: simplify terrain matching codes
Uu^* matches Uu too
2020-11-30 03:32:00 +01:00
Steve Cotton
72863e578b Add a unit test for resistances (using the standard 6 damage types)
I'm working on a bugfix for the [resistance_defaults] tag, for which the
unit test is going to be out-of-tree until we support some method of testing
it without affecting other tests. The version here is the part of that which
can be in-tree, because it doesn't change the core unit's stats.
2020-11-29 22:30:14 +01:00
doofus-01
771e9b96ac
Update changelog.md 2020-11-29 13:28:14 -08:00
doofus-01
77e465490d
units - undead variation for sea serpent(ish) units (#5323)
* units - serpent walking corpse

* units - WC and Soulless serpent

* adding zombie serpent portrait

* units - set undead_variation to serpent for croc and serpents
2020-11-29 13:26:51 -08:00
Celtic Minstrel
ef14581956 Remove make targets for the old and obsolete wmlvalidator
This validator was already removed in another commit, so there's no point in these targets existing.
2020-11-29 12:53:54 -05:00
Celtic Minstrel
212b4fc3d1 Put back the documentation comments removed in 0e800d36a6b57ad28d5e2a1d46c3181bb92b597c
This time they're added in the wrong place so as not to break the schema validation; they can be moved to the correct place later once that actually works.
2020-11-29 12:44:31 -05:00