Commit graph

28 commits

Author SHA1 Message Date
pentarctagon
40ef4dbbf4 Revert "Bump min Boost version to 1.82 (#9317)"
This reverts commit 7c60174ad1.
2024-09-08 10:25:45 -05:00
Charles Dang
7c60174ad1
Bump min Boost version to 1.82 (#9317) 2024-09-08 00:58:32 -04:00
Gunter Labes
c855a30404
Fix indentation 2024-03-14 19:47:01 +01:00
Gunter Labes
c082bc7b5f Set distribution channel for flatpak 2024-03-14 19:24:33 +01:00
pentarctagon
7726b243a3 also add graph here. 2024-02-24 21:27:45 -06:00
pentarctagon
86645b44ab and back to 23.08. 2023-11-29 21:20:30 -06:00
pentarctagon
3b2266d9fc revert to 22.08 until new release of 23.08 - also this 2023-11-18 21:54:21 -06:00
Gunter Labes
bf6b64be78
Update freedesktop runtime to 23.08 2023-11-11 22:05:18 +01:00
Pentarctagon
8bc5d7b72f
address codeql issue (#7832) 2023-08-20 19:45:47 -05:00
Pentarctagon
bd306a5aa9 Update flatpak runtime to freedesktop 22.08. 2022-09-03 11:53:56 -05:00
Pentarctagon
2a16933229 Enable LTO for flatpak. 2022-06-21 19:14:43 -05:00
loonycyborg
35211181b4
flatpak: update freedesktop runtime version to 21.08. Fixes #6497 2022-02-09 11:51:27 +03:00
loonycyborg
f175caf3bd
flatpak manifest: fetch scons using https instead of http 2021-09-30 22:02:40 +03:00
loonycyborg
ad38010a03
update flatpak manifest because boost download url changed 2021-05-03 20:28:58 +03:00
loonycyborg
0ffe194f71 Update flatpak runtime version. This fixes #5552 2021-02-17 21:35:57 +03:00
Sergey Popov
3933ebab5c
Use coroutines via boost::asio::spawn to improve overall code structure in servers (#5341)
* Convert server_base class to use coroutine instead of handlers

* Rework wesnothd's client login to use coroutine

* Merge 3 player handling functions into a single coroutine

* update cmakelists too

* Implement send_doc_queued in terms of coroutine

* Use brace initialization for making asio buffers

* Implement campaignd's request handling in coroutine

* Brace-initialize entire vector

* Remove old handler based send/receive helpers

* Document coroutine send/receive helpers

* Made coro_send_doc() helper take wml doc by reference

In most cases there is no need to rely on shared pointers to ensure
object lifetime if using coroutines since even when coroutine is
suspended args are still kept alive by its context.

* Document coro_send_file()

* Silence deprecation warning to fix build on earlier versions of boost

* Explicitly check for boost.context to allow linking against static boost libs

* Add boost.coroutine to flatpak manifest

* Port winapi TransmitFile codepath to coroutines

* Exception safety fix

* Add boost.scope_exit to vcpkg

* Fix build with pre-1.66 boost

* Move coro_* helpers into server_base class

Those helpers were in .ipp solely because they were templated on handler
types, this is no longer true after coroutine based rework.

* Make server_base::coro_send_file non-inline

* CleanUp Xcode project

Co-authored-by: Martin Hrubý (hrubymar10) <hrubymar10@gmail.com>
2020-12-30 19:08:34 +03:00
pentarctagon
21d133828b Add a flatpak travis job.
NOTE: This doesn't sign/upload/etc the output anywhere.
2019-12-31 17:17:34 -06:00
pentarctagon
5cdaab7589 Fixes a warning about scons builds with multiple threads.
Currently both on jenkins and locally building Wesnoth's flatpak gives the warning:

scons: warning: parallel builds are unsupported by this version of Python;
	ignoring -j or num_jobs option.

This is apparently due to an issue between scons 3.0.1 and python 3.7+, which was reported at https://github.com/SCons/scons/issues/3145, fixed in https://github.com/SCons/scons/pull/3150, and is therefore first included in scons 3.0.2.
2019-12-23 13:06:43 -06:00
loonycyborg
b5339299ea Fix flatpak manifest for master 2019-10-25 19:05:28 +03:00
loonycyborg
39674f13b5 Revert unintended path change 2019-03-27 22:29:58 +03:00
loonycyborg
798e809512 Rename appdata and desktop files to contain D-Bus well-known name
as per freedesktop spec
2019-03-27 22:18:01 +03:00
loonycyborg
6d0ac6b58e flatpak: pass hardening options when building static boost
(cherry-picked from commit f597494157)
2018-10-07 03:22:47 +00:00
loonycyborg
d474ca9796 Update flatpak manifest
(cherry-picked from commit c78e95cf6c)
2018-10-07 03:22:35 +00:00
loonycyborg
bb7afe25bb flatpak-builder manifest: cleanup a buildtime only dependency
(cherry-picked from commit c955416ef2)
2018-10-07 03:18:51 +00:00
loonycyborg
c04a13ec8f Removed linking workaround from flatpak manifest 2018-03-13 22:23:07 +03:00
loonycyborg
e251504b56 Made flatpak build use icu backend of boost.locale
without it addon dialog crashes with std::bad_cast exception
2018-03-02 21:54:42 +03:00
loonycyborg
4668010c4b flatpak-builder manifest: set wesnoth repo path to server's local git repo for now 2018-02-28 20:19:57 +03:00
loonycyborg
c38ff3856f Add a manifest file for flatpak-builder 2018-02-21 03:54:20 +03:00