Commit graph

2426 commits

Author SHA1 Message Date
Pentarctagon
5ee08c80fb Add support for asynchronously querying a player's game history for display on the client. 2021-01-16 12:48:07 -06:00
Pentarctagon
6389c1e34e
Convert custom doc comments to doxygen.
NOTE: This does not do any validation of the existing documentation for whether it's correct or complete.  That would be the job of someone who actually knows the code being documented.  This is simply a format conversion to have everything now use the doxygen format.
2021-01-16 01:17:31 -06:00
Pentarctagon
0697f31cd3
Apparently I forgot to remove the column comment after ending up not using it. 2021-01-04 18:49:31 -06:00
Pentarctagon
96243ad778 Store content names for game history viewer. 2021-01-02 23:45:45 -06:00
Pentarctagon
551aa31390 Add a CI check for doxygen issues. 2020-12-31 23:59:28 -06:00
Iris Morelle
75df6f1eb1 pofix: 1.14 announcement rules for 1.14.15
[ci skip]
2020-12-20 03:15:25 -03:00
Pentarctagon
882d7abf55
Missed one. 2020-12-10 14:48:40 -06:00
Pentarctagon
8942efe5fd
Move/rename various CI scripts to no longer refer to travis. 2020-12-10 14:11:17 -06:00
Pentarctagon
515feabb66
Add boost coroutine and context. 2020-12-10 11:09:06 -06:00
Pentarctagon
2f3fd3eee0
Add windows jobs to github actions.
Move .travis.yml since all jobs have been moved to github actions.

Also remove caching from github actions for now since it doesn't work as expected.
2020-11-23 03:37:45 -06:00
Pentarctagon
e43a0d8848
Update query scripts for new table. 2020-10-27 17:07:56 -05:00
Pentarctagon
d741365325 Move the game content info (scenario/era/modifications) into their own table.
Fixes #5066
2020-10-26 09:51:21 -05:00
Celtic Minstrel
ccc9cccb4e Add schema self-validation to the Travis schema validation task 2020-10-24 13:26:18 -04:00
Pentarctagon
2b1d88356f Add travis check for WML indentation correctness. 2020-10-20 14:57:26 -05:00
Pentarctagon
5de7939384
Update steam runtime image. 2020-10-15 15:44:12 -05:00
Pentarctagon
467e4312b9 Add support for executing async queries.
Making the logging correctly handle multiple threads writing to the same stream at the same time will be handled separately later.
2020-10-14 19:38:49 -05:00
Steve Cotton
01424cc853 Check which glyphs are in each font, instead of using a list hardcoded in WML
This is a "it's known to be broken, so let's rip it out and put in a minimal
replacement" change. Updated raw pointers to smart pointers just because,
updated the docs a bit, and ended up with a big change.

Fixes the most visible part of #5194, where Chinese needed DroidSansFallbackFull
to be loaded before DroidSansJapanese. The removed code in
`char_block_map::insert` and `char_block_map::compress` had a bug that
triggered when one font had a contiguous range of codepoints that was a
superset of several ranges in another font - this meant it treated the first
font containing U+4E00 as having the whole CJK Unified Ideographs block.

Remove the now-unused font codepoints WML. There is no schema change for this,
it seems the data/hardwired/fonts.cfg file isn't checked by the validation.

Optimise calling set_font_list with the same list (but possibly reordered), by
reusing the already-loaded fonts.
2020-10-10 17:36:10 +02:00
Pentarctagon
adb504b9ae
Add echo after install step. 2020-09-16 14:19:20 -05:00
Iris Morelle
e704f11237 pofix: 1.14 announcement rules for 1.14.14
[ci skip]
2020-09-12 18:24:03 -03:00
Pentarctagon
c082660aa6 Compress linux and windows debug information before uploading.
Also limit sftp to taking at most 5 minutes.
2020-09-03 19:21:38 -05:00
Pentarctagon
10c60fd2e3 Print when starting/finishing the sqlite updates and when the caching step starts. 2020-09-02 12:47:34 -05:00
Pentarctagon
940a4e2776 Remove utf8 check for RELEASE_NOTES as it no longer exists. 2020-08-26 16:16:45 -05:00
Pentarctagon
3c6217fc1c Update MP query scripts to report source add-on and version. 2020-08-17 16:38:23 -05:00
Pentarctagon
35ed1ecb76 Stop and error the release windows job if there's not enough time to run the WML unit tests. 2020-08-06 12:04:34 -05:00
DisherProject
18c487e4ff
Add JPG support to VC++2019 build (#5031)
* Add JPG support to VC++2019 build

Co-authored-by: DisherProject <pycchio@tiscali.it>
2020-08-05 23:43:38 -05:00
pentarctagon
ba296898d7 Store additional information in the database:
* mp_scenario_addon_id
* mp_scenario_addon_version (host's version)
* mp_era_addon_id
* mp_era_addon_version (host's version)
* active_mod_addon_ids
* active_mod_versions (host's versions)

Forward-port of #4958
2020-07-30 13:17:22 -05:00
Pentarctagon
113a4e0913 Use mariadbpp rather than the mysql C connector.
Reasoning being:
* The result_set and other APIs are nicer to use.
* We use mariadb on our server rather than mysql, so this would minimize the chance of any incompatibilities.
* The mysql C++ connector 1.1 isn't compatible with with c++17 (https://stackoverflow.com/q/47284705).
2020-07-30 13:17:22 -05:00
Steve Cotton
c1e4178338 Disambiguate some python shebang lines to be "python3"
Loonycyborg already uses these tools with Python 3.

The python launcher tool for Windows has magic handling for some shebang lines,
however `#!/bin/env python` isn't recognised without the `/usr`. Had the `/usr`
been included with the old code then these scripts would likely have been run
with Python 2.
https://docs.python.org/dev/using/windows.html#shebang-lines
2020-07-29 22:10:02 +02:00
Pentarctagon
96369589e6 Remove the UMC IDE plugin.
The reasons being:
* It's been unmaintained for several years now, so any bugs that might be reported against it will almost certainly not be fixed.
* Having been unmaintained for so long, even if someone wanted to create a custom Wesnoth IDE plugin, it's unlikely this would be a good foundation to continue with anymore.
* There are at this point better alternatives that people are actually using and maintaining (such as the VSCode plugin).
* Having this be present can give the impression that this IDE plugin is something UMC authors should still be using, which I think makes it actively harmful. Case in point, the current version of this available on SourceForge (2.0.1) was downloaded twice as of the current week; however the most recent version (2.0.2 in the changelog, or 2.0.3 based on some git commits) is not available on SourceForge at all, nobody apparently ever uploading it.
2020-07-07 22:59:06 -05:00
Pentarctagon
0c3cdd3a86 Remove VC14 (VS2015/VS2017 project files).
Reasons:
* These projectfiles are still 32-bit, whereas all other builds for all other OSes are now 64-bit.
* Relatedly, these projectfiles are dependent on the libraries kept at the aquileia/external repository.
* VS2019 is still listed as supporting Windows 7, so there is a minimal likelihood of developers not being able to use VS2019.
* The VS2019 projectfiles instead use vcpkg to get the required dependencies, which is easier to setup than the aquileia/external prebuilt libraries.
* It's one less thing that needs to be updated whenever source files are added/moved/removed.
* It's two fewer jobs that Travis needs to run, which means Travis builds will finish more quickly.
2020-07-03 12:23:34 -05:00
Severin Glöckner
46d8f2def2 UtBS 1: change wording
closes #4868
[ci skip]
2020-06-19 15:35:12 +02:00
Iris Morelle
5ea16852d2 pofix: 1.14 announcement rules for 1.14.13
[ci skip]
2020-06-13 22:45:31 -04:00
Iris Morelle
fb0f7b9011 pofix: 1.14 announcement rules for 1.14.12
[ci skip]
2020-05-22 13:07:40 -04:00
Pentarctagon
6eeab88c5e Add additional translations steps for cmake to travis. 2020-05-08 16:19:30 -05:00
Pentarctagon
b1db683698
Remove old Ubuntu 16.04 dockerfile. 2020-05-08 15:32:19 -05:00
Pentarctagon
03c5c1b7ea
Update travis to Ubuntu 20.04 LTS image. 2020-05-03 11:54:15 -05:00
loonycyborg
61ace8da2c Add gcc-5 to dockerfile 2020-04-05 21:53:29 +03:00
Pentarctagon
7733666f2c
Update to most recent steam runtime. 2020-04-05 12:41:46 -05:00
Pentarctagon
a6a927139b Change back to creating the macOS dmg from scratch.
On macOS 10.14 on travis, mounting the dmg template results in the job failing due to hanging indefinitely. This can be revisited when 10.15 is available, or perhaps dmgbuild could be used to add in the background image/ds_store metadata from scratch as well.
2020-03-28 22:09:33 -05:00
Pentarctagon
67c169ed80 Add scripts to pull various pieces of information from the MP database.
The intent being that I plan to run these once a month and post the results on the forum.
2020-03-26 14:54:53 -05:00
Pentarctagon
a04dce619b Add the VS2019 Debug configuration job to travis. 2020-03-22 19:54:02 -05:00
Pentarctagon
111e327e7b Add VS2019 jobs to travis.
The first run of the 2019 jobs will fail, since that run will be used to build and cache the vcpkg dependencies - there's no way to get enough time to build wesnoth and build the dependencies in a single job.
2020-03-20 16:07:18 -05:00
Pentarctagon
7ecc6a3fb4 Use the vcvarsall bat script. 2020-03-14 23:20:12 -05:00
Pentarctagon
1487fec273 Use macOS dmg template on travis. 2020-03-12 17:06:12 -05:00
Pentarctagon
046c0a0f80 Fix for git archive from travis' shallow clone. 2020-03-12 17:06:12 -05:00
Pentarctagon
0c7b8a5007 Fix SFTP handling of files not in the directory the SFTP scripts is called from.
This is meant for moving single files to a single remote directory.  Handling anything more complex is not meant to be supported, and currently doesn't work anyway.
2020-03-12 17:06:12 -05:00
loonycyborg
85cea309fa Made mingw build docker image make installer in its entrypoint too 2020-03-11 15:48:51 +03:00
Pentarctagon
5185071e96 Fix the occasional mp unit tests travis failure.
Probably could be written more succinctly, but should work.
2020-03-04 07:29:00 -06:00
Pentarctagon
faa58bc441 Update the VC14 toolset to the same as used on travis. 2020-03-02 07:35:09 -06:00
Pentarctagon
b100cebd4b Upload VS pdb files for the Debug configuration. 2020-03-02 07:35:09 -06:00