Commit graph

2438 commits

Author SHA1 Message Date
Pentarctagon
edef0c5f33 Add database insert for addon information. 2021-03-12 16:12:09 -06:00
Pentarctagon
9b2429c393 Add validation for the feedback topic id. 2021-03-12 16:12:09 -06:00
Pentarctagon
9b7a958e9a
Add a new query to get faction side count. 2021-03-12 00:27:06 -06:00
Pentarctagon
6ca9f0969e
Remove Ubuntu 18.04 CI job.
As of the TLS PR, supporting Ubuntu 18.04 will not be possible due to Boost 1.65 not supporting perfect forwarding in ssl stream's constructor.
2021-03-10 13:49:56 -06:00
Pentarctagon
cb5f45cae6
Remove left over paramiko usage from dockerfiles. 2021-03-07 16:49:22 -06:00
Celtic Minstrel
c645856974
Add a Wesnoth MSVC visualization file for config and t_string (#5571)
* Add a Wesnoth natvis file

The change to t_string is just to make the textdomain map visible to the debugger, since it can't see variables with static linkage.

* Update tstring.hpp

* Update tstring.cpp
2021-02-27 01:08:31 -05:00
Pentarctagon
fa53539f37
Rename query output column 2021-02-26 13:59:30 -06:00
Steve Cotton
93de411d2f Fixup WC2 validation (combination of 41b2b0b with e47b759)
The combination of disabling and validating WC2 meant that the build failed,
so add another #def that will enable it for validation.
2021-02-21 18:34:40 +01:00
Celtic Minstrel
41b2b0b42b WC: Include in the CI schema validation
There may not be much to validate, but we may as well validate what's there.
2021-02-20 19:54:19 -05:00
Pentarctagon
97bca421e7
Update flatpak docker image to newer runtime.
Also change the base image to Ubuntu 20.04 and remove the PPA providing a newer flatpak version.
2021-02-17 16:49:33 -06:00
loonycyborg
0ffe194f71 Update flatpak runtime version. This fixes #5552 2021-02-17 21:35:57 +03:00
Pentarctagon
ef7d69b953 Use gcc-9 in the Scout runtime instead of gcc-5.
The gcc-9 shipped with the Scout runtime forces the use of -static-libstdc++ which is what allows this to work. However, LTO is not yet able to be enabled since as of right now it simply crashes immediately with `free(): invalid pointer`.
2021-01-16 15:43:59 -06:00
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