541 Commits

Author SHA1 Message Date
Martin Hrubý (hrubymar10)
f91f02b4fd
Fix Xcode project 2021-01-17 12:14:39 +01:00
Martin Hrubý (hrubymar10)
22dc527294
Use new automatic signing in Xcode project 2021-01-17 11:58:26 +01:00
Pentarctagon
1b8479c28a
Update xcode to C++17 as well. 2021-01-16 17:14:00 -06:00
Pentarctagon
cf23d44810
1.15.9. 2021-01-16 11:34:51 -06: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
Steve Cotton
4205de91e5 Remove the editor's unused set_starting_position dialog
6424d79f489129791fedb23e267565922dba3751 changed to using an editor palette instead.
2020-12-30 15:01:47 +01:00
Martin Hrubý (hrubymar10)
1d5448fb0c
Add support for Apple Silicon to Xcode 2020-12-20 20:38:44 +01:00
Pentarctagon
36fc7538b8
Wesnoth 1.15.8. 2020-12-18 19:34:38 -06:00
Martin Hrubý (hrubymar10)
8c31a4cb10
Update Xcode project 2020-12-13 20:40:36 +01:00
Martin Hrubý (hrubymar10)
8bf0742994
Fix Xcode project 2020-12-10 14:39:15 +01:00
Martin Hrubý (hrubymar10)
2673db12e4
Fix Xcode project 2020-12-04 11:44:37 +01:00
Martin Hrubý (hrubymar10)
65a377b7a1
Update Xcode project for #5287 2020-11-21 23:53:53 +01:00
Pentarctagon
b8c12b63ad
Wesnoth 1.15.7. [ci skip] 2020-11-20 22:53:13 -06:00
Martin Hrubý (hrubymar10)
8fcddfa6d6
Fix Xcode project 2020-11-10 19:50:41 +01:00
Martin Hrubý (hrubymar10)
eabaa42fe4
Fix Xcode project 2020-10-18 21:09:54 +02:00
Pentarctagon
49a5899c4e
Wesnoth 1.15.6. 2020-10-16 23:40:02 -05:00
Pentarctagon
f97d2f8250
Wesnoth 1.15.5. 2020-09-19 12:52:10 -05:00
Martin Hrubý (hrubymar10)
1b1c0a4e52
Fix Xcode project 2020-09-04 10:54:28 +02:00
Martin Hrubý (hrubymar10)
c48e176a1a
Fix Xcode source tarball builds
Closes #5117
2020-09-03 10:48:30 +02:00
Martin Hrubý (hrubymar10)
8ba4e4fca9
Fix "refusing to merge unrelated histories" error 2020-08-28 10:10:47 +02:00
Martin Hrubý (hrubymar10)
576bd8a419
Drop support for old OS X and update README and Xcode project 2020-08-24 15:44:30 +02:00
Martin Hrubý (hrubymar10)
5e5df83db6
Update Xcode project's changelog 2020-08-23 10:52:56 +02:00
Pentarctagon
12066c4357 Wesnoth 1.15.4. 2020-08-21 23:22:12 -05:00
Steve Cotton
c9511d7ba0
Drop support for the l10n-track file (#4722)
The file only had a run-time effect if it listed any files as "fuzzy", which it
hasn't since the last change in 2015. However, that isn't a reason for removing
it.

The reason for removing it is that it doesn't make sense to automatically mark
images as fuzzy when an image changes, because fuzzy is often much better than
untranslated. This is different to the logic for strings, where a single word
can negate the meaning of a sentence. The decision has to be a manual process,
and at that point it might as well be done with the source-control tool's
delete-file function.

Even considering the previous times that l10n-track was used, I can't see a
scenario where it would be useful.

* Scenario: a screenshot needs to be replaced. In this case the new images are
  going to be screenshots too. If the old images are out of date, better to
  just delete them instead of needing the fuzzy mechanism; either option would
  have the same effect of showing the up-to-date-but-untranslated image.

* Scenario: a map is completely redrawn. This seems unlikely, as a completely redrawn
  image could be added as a new map rather than replacing the old one. Even if
  it does happen, it's probably best to just delete the old --overlay.png
  files.

* Scenario: a new landmark is added to a map. Using the existing overlay file
  is still going to be good, as it means the rest of the map is shown
  translated. There's surely new dialogue in the WML files commenting on this
  new landmark, which would be a good place to say
    # po: Lorem's Ipsum was added to the map on 24 Jan 2020, please add a label to your language's --overlay file.

* Scenario: an old feature is removed from the map. Using the existing overlay
  will have an out-of-date label, and the significance of that would depend on
  how it affects the storyline. This could be significant enough to make
  showing the English labels be a better option than showing the translated
  ones. However, the translated maps could be updated without knowledge of the
  language, so if it's such a significant change then the developer writing the
  new WML should probably do that.

* Scenario: a feature moves slightly on the map. This is an example where the
  l10n-track file has been used, it happened with the Bitter Swamp on the
  bottom-right corner of the title screen. I think it would have been better to
  show the slightly-out-of-date overlay instead of showing the English.

Note about cherry-picking: in the 1.14 branch, the change needs to be applied
to src/picture.cpp instead of src/filesystem.cpp.
2020-08-08 05:07:59 +02:00
Martin Hrubý (hrubymar10)
f28ef7026b
Fix Xcode project after #5029 2020-08-06 22:01:59 +02:00
Martin Hrubý
9f854e7ce8
Fix SDL2 2.0.12 change in SDL_GetDisplayDPI (#5024)
* Fix SDL2 2.0.12 change in SDL_GetDisplayDPI

Fixes #5019

* Remove signing requirement for DEBUG Xcode builds
2020-08-05 23:44:39 -05:00
Martin Hrubý (hrubymar10)
96633954ef
Update Xcode project for new MacCompileStuff update 2020-07-31 00:29:39 +02:00
Martin Hrubý (hrubymar10)
3b54f93885
Fix Xcode project after #4884 2020-07-30 22:49:15 +02:00
Martin Hrubý (hrubymar10)
f3256cfbd1
Fix Xcode project after #4963 2020-07-02 15:40:30 +02:00
Martin Hrubý (hrubymar10)
24b84079df
Fix Xcode build after #4797 2020-03-16 11:09:46 +01:00
Martin Hrubý (hrubymar10)
da42ee0d83
Correct way for handling data inside Xcode project 2020-03-10 17:53:06 +01:00
Martin Hrubý (hrubymar10)
3ffbc985b8
Update macOS package changelog 2020-03-10 17:29:31 +01:00
Charles Dang
63cceb84f8 Wesnoth 1.15.3 2020-03-10 08:55:10 +11:00
Martin Hrubý (hrubymar10)
0badc6a5af
New Xcode README.md steps
* Wesnoth .dmg template init

* Update Xcode's README.md with current steps and informations
2020-03-09 14:00:21 +01:00
Pentarctagon
1975122f11
Fix typo 2020-02-16 10:10:15 -06:00
Martin Hrubý (hrubymar10)
4a58fee658
Update macOS package changelog 2020-02-02 04:34:33 +01:00
Martin Hrubý (hrubymar10)
d48f445eca
NSHumanReadableCopyright 2020-01-26 11:59:11 +01:00
mattsc
183408445f Xcode project: fix unit_tests build 2019-12-31 11:59:37 -08:00
mattsc
f1f7bd4f6f Update Xcode project 2019-12-10 19:27:32 -08:00
Martin Hrubý (hrubymar10)
a453dc05be
Fix Xcode project 2019-11-05 17:22:37 +01:00
josteph
6f6ecdbc26 Pre-release version bump 2019-10-20 01:38:25 +00:00
Martin Hrubý (hrubymar10)
06435d3cc0
Fix Xcode build 2019-10-19 19:05:49 +02:00
Martin Hrubý (hrubymar10)
e6c4e7d042
Fix Xcode project after 9e550e7ebb0cd7fdafe647556e12c6711116cab6 2019-10-12 16:18:50 +02:00
Celtic Minstrel
7c07cc71c0 Remove support for legacy menu markup 2019-09-18 22:48:53 -04:00
Martin Hrubý (hrubymar10)
6a300e63c0
Finally fix notarization and wesnothd 2019-09-11 12:30:34 +02:00
Martin Hrubý (hrubymar10)
80bb708eb7
Fix Xcode project after 77fc455b0b995c1a5f04ffda43d75c03e08eb460 2019-08-22 12:19:55 +02:00
Martin Hrubý (hrubymar10)
2144642d6d
Enable hardeneed runtime for macOS package
- Fixes #4109
2019-08-22 04:07:47 +02:00
Martin Hrubý (hrubymar10)
444906db10
Update changelog in macOS package 2019-08-22 04:06:44 +02:00
Martin Hrubý (hrubymar10)
94c248c69f
Fix Xcode Archive 2019-08-22 04:06:09 +02:00
Martin Hrubý (hrubymar10)
97d92b2188
Update README for Xcode builds 2019-08-22 04:05:08 +02:00