72007 Commits

Author SHA1 Message Date
ln-zookeeper
2c2b4da600 Updated changelog
[ci skip]

(cherry-picked from commit 33e924dc35fdbc6c32696d08d14beef9cd80893b)
2018-10-07 03:19:16 +00:00
Celtic Minstrel
dde49f05ea Editor: Refresh named locations list when map context changes (fixes #1023)
This solution is a bit of a hack, but odds are this code will be
majorly refactored in 1.15 anyway. The important thing is that
this works.

(cherry-picked from commit 8e4de9db67f533e98cd11235567b95a03cb9889a)
2018-10-07 03:19:15 +00:00
Charles Dang
f977cdc6cb Lobby Info: filter on game name first
It's more common to want a name.

(cherry-picked from commit 35590fd842ccaf6ff43769c88738813e0f06c1f5)
2018-10-07 03:19:15 +00:00
Charles Dang
c815fa1d25 Changelog entry for ab54b62
[ci skip]

(cherry-picked from commit 227c8ba20c24260a26c013d6f66f924af0c49632)
2018-10-07 03:19:15 +00:00
Charles Dang
3b3887d2e9 Attempt to fix non-required era being flagged for download
See #2747.

(cherry-picked from commit ab54b62553d5e6b3224ecf34c0e448eb58a972e9)
2018-10-07 03:19:15 +00:00
Charles Dang
2a6d9454de Replaced round_double and round_portable with std::round
std::round(double) uses the desired half-away-from-0 method.

(cherry-picked from commit 29fcbd053da63b790eb3b4fac32e204b054929d4)
2018-10-07 03:19:14 +00:00
pentarctagon
b32ce37de5 Allow setting c++17 in scons.
(cherry-picked from commit 7aeca70cb04f1990aeef0213b88ec80b0f4d24f8)
2018-10-07 03:19:14 +00:00
pentarctagon
83a2457dd8 Add a check to fail the job if compiling takes too long.
The intent behind this is that, if there most likely wouldn't be enough time left to complete the unit tests anyway, then just fail the job after compiling so the cache can be updated.  Otherwise, if the unit tests were run and the job timed out, then the cache would not be uploaded at all and the next time the job ran it would be from scratch again.

(cherry-picked from commit 5d970e40cd43a23a8d1b8198e962f198fc9282b0)
2018-10-07 03:19:14 +00:00
pentarctagon
b2cca08257 Allow setting a sanitizer to use.
Note: UBSan at least does seem to take a fairly significant amount of extra time to compile and run the WML tests with.

(cherry-picked from commit 92f74c39f6aedc10bd04f1cf6dc9144fb35e3a19)
2018-10-07 03:19:14 +00:00
pentarctagon
a07b847181 Allow setting EXTRA_FLAGS_RELEASE to something other than -O0.
(cherry-picked from commit 2ed9d2c0c4d1d079190ff5bd2a8a287f9076d198)
2018-10-07 03:19:13 +00:00
pentarctagon
4bb16f25a7 Make LTO controllable via travis env variable.
(cherry-picked from commit 66caa190f6dcde039cc5cb73e4f43a061aef43b8)
2018-10-07 03:19:13 +00:00
Charles Dang
58a61af5f9 Removed duplicate config_key_type alias
This isn't used in config_attribute_value.*pp but rather in config.*pp.

(cherry-picked from commit 9977addd64505b3042cd2a2a9e26f2a7a84acd5c)
2018-10-07 03:19:13 +00:00
Charles Dang
1f8ba287dd Expand NORETURN, enable C99 unconditionally on MSVC
[[noreturn]] is supported on all the compilers we support. Still need to decide
the exact minimum versions and figure out what to do with DEPRECATED and FALLTHROUGH,
so leaving those for now.

And since we require VS 2015 and up we can enable C99 unconditionally.

(cherry-picked from commit 96681151f083bb25a3ddb3301083241e36fd6789)
2018-10-07 03:19:13 +00:00
Charles Dang
68f066d94a Removed bind_void
This is no longer needed with the compilers we support. It is needed on VS 2013, but
we dropped that. Don't know when GCC or Clang stopped needed it (if they ever did).

I'm guessing the "function that returns a value cannot be bound in a function type
that returns void" behavior wasn't an intentional design. Additionally, I don't believe
point 1 raised in the accompanying comment has ever been true... if so, pretty sure
we wouldn't have been able to build at all.

Also removed unnecessary global.hpp include from functional.hpp.

(cherry-picked from commit 17fc9d71dbd933fa2e37c8fd9aed52a4e2fb5735)
2018-10-07 03:19:12 +00:00
pentarctagon
34a18a7692 Remove boost-thread from dockerfile.
(cherry-picked from commit 52f8e8233c99c214d7409fd9f0b2cd4056590255)
2018-10-07 03:19:12 +00:00
Martin Hrubý (hrubymar10)
13e402e031 Remove Boost thread from Xcode project
(cherry-picked from commit 6314c6ab05a2ac89efac2313c285c7aa5c4b2b29)
2018-10-07 03:19:12 +00:00
Martin Hrubý (hrubymar10)
116a897163 Update link to new MacCompileStuff repo
(cherry-picked from commit 68c1dbeab2453f41cfc06742becf149a2487694b)
2018-10-07 03:19:12 +00:00
Nils Kneuper
7969aaaf00 updated Polish translation
(cherry-picked from commit cff478f9d386afcb18e3bd5ed06149c29c4b356e)
2018-10-07 03:19:11 +00:00
Nils Kneuper
87bf4e3fd6 updated Italian translation
(cherry-picked from commit 6034cc50d1559a9776be9e4b4882c449b7c64afe)
2018-10-07 03:19:11 +00:00
Jyrki Vesterinen
00dff3f1d3 Changelog entry for commit 82e04ab7611b8c8458e70f66c49a8032e1c8469c
(cherry-picked from commit c5802cdcda42f068aa2a7372f864cc8f1522568a)
2018-10-07 03:19:11 +00:00
Jyrki Vesterinen
c6b7586f6f Fix #2850: [modify_side] share_vision=yes doesn't do anything
Thanks to @gfgtdf for the suggested fix that works well.

(cherry-picked from commit 82e04ab7611b8c8458e70f66c49a8032e1c8469c)
2018-10-07 03:19:10 +00:00
Charles Dang
32da54b059 Removed Boost Thread as a built-time dependency
We use std::thread now.

(cherry-picked from commit 9de7aff9044b1aae7fc56c4b78a400d93c0f6750)
2018-10-07 03:19:10 +00:00
Charles Dang
e22a48046a Removed last boost/thread.hpp include
Locale doesn't rely on boost, so it must have been some other issue in Boost 1.60
that was incidentally fixed by including that file. If anyone ever happens to build
with 1.60 again we can revisit this.

For the record, there are no issues with VS 2017 and Boost 1.66.

(cherry-picked from commit 7cf93413797c73e6ca33e22a615897ffbec42cdb)
2018-10-07 03:19:10 +00:00
loonycyborg
b6c843757b Fix "host networked game" option
It was broken by b95c9996bf435daa4d7e64fd1ef41425ac182b95 because
ignoring SIGCHLD makes it impossible to query exit status of wesnothd
subprocess. Fix this by spawning a thread to wait for the browser
instead of ignoring SIGCHLD.

(cherry-picked from commit 846bf8f208ae41381e133e96b24e6b9876ea2a01)
2018-10-07 03:19:10 +00:00
Charles Dang
1dd00c3441 Game Load: added a convenient button in Load Game to open your saves folder
(cherry-picked from commit 802bbe8cdccacb225ea02a8f8b4240b7172549ed)
2018-10-07 03:19:09 +00:00
Severin Glöckner
0c6322230a update 2nd stunned event as well with additions from 1.13.2
[ci skip]

(cherry-picked from commit 469488d9815a1dc243512396b5c644918dc77d60)
2018-10-07 03:19:09 +00:00
Charles Dang
20493dc07c ANL: removed unused macro (closes #2878)
[ci skip]

(cherry-picked from commit 90d45dcf074aaf6e2f118abba81103999a17521a)
2018-10-07 03:19:09 +00:00
Charles Dang
98c61118d5 Refactor out custom wesnothd_connection_ptr class again
I originally did this in 699047766a8852014df20c44d5ed84dadb37015e and then reverted it in
08a866dc20e678602f65f0cdedb21fb28a0bfa8c due to @gfgtdf pointing out the object was never
actually destroyed since io_service::stop was never called (issue #1927).

This new method foregoes the custom wrapper class and instead waits for the worker thread
to terminate in the wesnothd_connection dtor. The use of the wrapper class is also why using
thread::detach alone worked (@jyrkive) and using join did not.

Additionally, the ptr alias is now of a unique_ptr instead of a shared_ptr.

I have verified that the connection dtor is actually called. This new method makes it clearer
what's actually going on.

(cherry-picked from commit acc3fe890611b54c8493acafc33f1e78832b65dc)
2018-10-07 03:19:09 +00:00
Severin Glöckner
28c58d0e21 remove unneded keys
[ci skip]

(cherry-picked from commit 533c7e9822b097fd8cc7502d8362d0345b29d022)
2018-10-07 03:19:08 +00:00
Severin Glöckner
b9ea1961b1 INSTALL had been renamed to INSTALL.md
[ci skip]

(cherry-picked from commit 7d427aedee8ff5e8cec2866e3aee2d041ecc1a50)
2018-10-07 03:19:08 +00:00
Jyrki Vesterinen
cb3ddc368b Hotkey manager: drop duplicate commands
We use both SDL_KEYDOWN and SDL_TEXTINPUT events for hotkeys. It's possible
for both events (caused by the same keypress) to trigger the hotkey command
and we don't want that. Hence, let's drop duplicate commands.

Fixes #1736.

(cherry-picked from commit 8667e5bbdd3d2a92e966a15f12a3753b9e3c283f)
2018-10-07 03:19:08 +00:00
loonycyborg
99da3421ab Fix issue #1757: prevent abnormal termination if failed to bind address
(cherry-picked from commit 19d9e150e15ef811a2a395dbce874086c5efe216)
2018-10-07 03:19:07 +00:00
Iris Morelle
368e5cb7a7 Update changelog
[ci skip]

(cherry-picked from commit cfd5d5289d94aad69b5ef6ed3433e001ef224b49)
2018-10-07 03:19:07 +00:00
Iris Morelle
d7db76308e Add team colouring to some Aethermaw props missing it
[ci skip]

(cherry-picked from commit 8c97458a76b1a7303e23c2008cb069b0ffdd6724)
2018-10-07 03:19:07 +00:00
Celtic Minstrel
9c626fc4f7 Update changelog.md
(cherry-picked from commit 191c23c194bedf13e1eb6e27eb469d43da965af5)
2018-10-07 03:19:07 +00:00
Celtic Minstrel
3735b9c4f2 Add [move_unit]clear_shroud= as an attempt to clear shroud as the unit moves (untested)
(cherry-picked from commit b062b19e10c85faecf65246e94ec8dbbad0ad4ed)
2018-10-07 03:19:06 +00:00
Celtic Minstrel
c5b5bdda70 Allow [move_unit]dir= to perform relative movements
(cherry-picked from commit 68b33cf6bd8a44470c7ba8069b6b3502e117b5bd)
2018-10-07 03:19:06 +00:00
Celtic Minstrel
4ce00c6b6c Allow [move_unit]to_location to take a list of waypoints
(cherry-picked from commit 622db9d08b1e15ba99ccb797b4785ac9df4f49fe)
2018-10-07 03:19:06 +00:00
Charles Dang
9686d2030f TRoW: removed old, now-unused story art
[ci skip]

(cherry-picked from commit 3d71caff38d1261cfa3572e61b1b108c86adc06f)
2018-10-07 03:19:06 +00:00
ln-zookeeper
f46c4e9048 TRoW: New set of story art by LordBob
In scenarios 06 and 14 I turned the opening narrator message into story text instead. The image for 03 isn't used yet as there's no text to accompany it.

(cherry-picked from commit eaf186e021d885d5fb39c0ff5c89413d769f0fdd)
2018-10-07 03:19:05 +00:00
Iris Morelle
de8313a398 Fix test scenario references to Kaleh's WML
This is required after commit cbedd09ec2bd0d121e1deb38e3600f1e042032b7.

(cherry-picked from commit 0610b48d7e150a319ac55bb348d44d569712cc0d)
2018-10-07 03:19:05 +00:00
Celtic Minstrel
cdef87e875 Fix #2745
(cherry-picked from commit 8f6613ea09ba5740c9b9d4d50d4ebb1215605f82)
2018-10-07 03:19:05 +00:00
Celtic Minstrel
402b6d4cec Fix #2875
(cherry-picked from commit bf70d50b80857b01b70357bf8e6d62b55c34b6ec)
2018-10-07 03:19:04 +00:00
Iris Morelle
5eac05ac4c help: Use new attack stats separator in unit descriptions
Closes #2873.

(This is part of a commented-out block in master because Vultraz hasn't
updated the code yet. He said I could forward-port the patch into it
anyway. For the time being unit descriptions are just completely missing
because of this.)

(cherry-picked from commit 7f8cb13bd309eabe960a975a0ec0b5cbdd7f0719)
2018-10-07 03:19:04 +00:00
Nils Kneuper
bf83fdf649 updated Czech translation
(cherry-picked from commit 90dba93784d525be7007edffc6e3cbb66422157f)
2018-10-07 03:19:04 +00:00
Nils Kneuper
9eb6950ed5 updated Galician translation
(cherry-picked from commit 7ab1da24a52d5842c0c3aaf18220f692ce000295)
2018-10-07 03:19:03 +00:00
Nils Kneuper
97f5969719 updated Chinese (Simplified) translation
(cherry-picked from commit 5f201e17f0095e111c9b0f7174f1b6d0be20c3b6)
2018-10-07 03:19:03 +00:00
Jyrki Vesterinen
16535c3355 Revert "Fix #1736: on GNU/Linux, a hotkey can trigger multiple commands"
This reverts commit c42401a8deb92acc16039fbeed0acf16287e286c.

As @CelticMinstrel pointed out, that commit made it impossible to input characters which require
AltGr to type (e.g. @, € and $ in Finnish keyboard).

Reopens #1736.

(cherry-picked from commit 934f0326d85c90b7b0250f38365f56073540e357)
2018-10-07 03:19:02 +00:00
Jyrki Vesterinen
28b5912043 Revert "Changelog entry for commit c42401a8deb92acc16039fbeed0acf16287e286c"
This reverts commit c23fc2b66645fe82d290de09a36f6e625747ed69.

(cherry-picked from commit 2562a7e3b008a9e349a2f5ce3f215dae62bf9958)
2018-10-07 03:19:02 +00:00
Charles Dang
b20f838933 Fixup 4b6e547 because apparently I cannot write
[ci skip]

(cherry-picked from commit 607bc4c935beaa698d5985eafc5074fbe41bbf37)
2018-10-07 03:19:02 +00:00