517 Commits

Author SHA1 Message Date
Martin Hrubý (hrubymar10)
b916fa69ca
Update Xcode project 2021-12-25 20:20:05 +01:00
mattsc
c5d1602160 Update Xcode project 2021-07-31 07:23:22 -07:00
Pentarctagon
e5b4a39242
Add a prompt to migrate data from previous versions of wesnoth.
Currently migrated, if existing:
* Add-ons (redownloaded if present on new add-ons server)
* Preferences file
* Credentials file
2021-07-15 20:16:17 -05:00
Martin Hrubý (hrubymar10)
63b4bcbf05
Update Xcode project's version 2021-07-08 20:15:38 +02:00
Martin Hrubý (hrubymar10)
321dfb4cc1
Update Xcode project 2021-07-08 20:15:12 +02:00
Pentarctagon
39a6a9a839
1.15.14. 2021-06-20 13:05:52 -05:00
Pentarctagon
548e37939f Attempt to fix xcode. 2021-06-02 12:31:01 -05:00
mattsc
6a4e0ae03d Update Xcode project with tls_root_store.?pp files 2021-05-21 16:01:40 -07:00
Pentarctagon
f54124eea2
1.15.13. 2021-05-15 21:13:52 -05:00
Celtic Minstrel
dddd551765 Add an audio module 2021-05-11 14:52:17 -04:00
Celtic Minstrel
a09f88c1c9 Start a Lua mathx module to hold round, shuffle, random, and a few other things 2021-05-08 17:20:47 -04:00
Pentarctagon
a576b0a180
1.15.12. 2021-04-17 21:44:27 -05:00
Celtic Minstrel
508bc2519e Add a guard_value utility for scoped temporary assignment 2021-04-15 19:02:34 -04:00
Celtic Minstrel
74afe17ddf Add the new GUI2 dialog to the unit tests in the Xcode project 2021-04-05 13:35:52 -04:00
Celtic Minstrel
7860b2845b Add some missing test files to the Xcode project 2021-04-05 13:35:52 -04:00
Celtic Minstrel
be4b10a611 Update Xcode project
In addition to the new source file, this adds a number of header files that had been missed in previous updates.
2021-04-04 03:44:10 -04:00
Martin Hrubý (hrubymar10)
c59e71b974
Update Xcode project 2021-03-21 10:39:28 +01:00
Pentarctagon
fa5592eb05
1.15.11. 2021-03-20 20:20:24 -05:00
Martin Hrubý (hrubymar10)
a0d1896942
Fix Xcode project 2021-03-13 18:40:27 +01:00
Celtic Minstrel
9346c3c6b6 Oops, that wasn't supposed to be committed 2021-03-06 10:15:09 -05:00
Celtic Minstrel
a96fd147d1 Fix a crash if the cache gets corrupted 2021-03-06 10:07:52 -05:00
Martin Hrubý (hrubymar10)
0cb0f35dc1
Update Xcode project README.md 2021-02-21 16:31:09 +01:00
Martin Hrubý (hrubymar10)
1b12de98f2
Remove changelog from Xcode build and add link instead 2021-02-21 16:27:11 +01:00
Martin Hrubý (hrubymar10)
7ef9548fe0
Disable App Sandbox for Xcode Debug builds 2021-02-21 16:26:39 +01:00
Pentarctagon
ba580774f1
1.15.10. 2021-02-20 18:01:19 -06:00
Charles Dang
561cc33dc4
Upgrade to Lua 5.4.2 (#5535)
The change to static_cast for the definition of  LUAL_BUFFERSIZE replaces the fix previously used (d0100758f855ec0d8f30dff41e8a8b6ff2d45fda) for Lua 5.3. 5.4 removes the static alternative for LUAL_BUFFERSIZE. A better solution would probably be to disable the old-style-cast warning for luaconf.h, but I can't figure out how to do that so using static_cast is the easiest solution. Do note that change will have to be applied each Lua update like the aforementioned commit.
2021-02-14 02:07:12 +11:00
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