Commit graph

2410 commits

Author SHA1 Message Date
Pentarctagon
61964a096c Handle the SFTP_PASSWORD not being present more gracefully on forks. 2020-02-07 16:49:50 -06:00
Pentarctagon
b14dfb25eb Fix the return code from the mingw job.
The job should take its final return code from the scons job if it failed, not the sftp attempt.
2020-02-07 16:49:50 -06:00
Pentarctagon
84d88e97e3 Make variables provided to docker environment variables.
Currently they are only regular variables passed to a script, so they are not picked up by cmake as expected.
2020-02-07 16:49:50 -06:00
Pentarctagon
656737e6c9 Upload executables from travis.
This will SFTP the wesnoth and wesnothd executables from Travis (UPLOAD_ID=<something>) to SourceForge.
2020-02-07 08:18:40 -06:00
Earth-Cake
23cb2eecf7 Remove WoV from wmlling and schema_validation 2020-02-04 18:05:59 -06:00
Iris Morelle
8cf5ce51cd pofix: 1.14 announcement rules for 1.14.11
[ci skip]
2020-02-02 22:30:28 -03:00
Steve Cotton
95e3b7aa91 Port the GDB pretty-printing functions to Python3 and update docs
The code in the documentation needed to change slightly for the port,
so the documentation update is combined in the same commit.
2020-01-22 19:34:01 +01:00
Steve Cotton
845b3ab5bb Update GDB pretty printers for renamed members in config.hpp 2020-01-22 19:34:01 +01:00
Pentarctagon
95dc6b5f45 Only store game information once the game starts. 2020-01-21 18:02:28 -06:00
Steve Cotton
10f08333dc Delete utils/update-language-percent as it's obsolete
When this utility was written, the list of languages was hardcoded in
src/language.cpp, an example of running it is shown in c2e397e07d.
That hardcoded list was removed by 3fbe2a5863 and b5270e41b9.
2020-01-21 06:03:02 +01:00
Iris Morelle
39be458d8e pofix: 1.14 announcement copyright update
[ci skip]
2020-01-10 00:22:16 -03:00
pentarctagon
6e27a84071 Enable caching/incremental builds for Windows builds on travis.
Problem: msbuild uses timestamps to determine what needs to be rebuilt, and git doesn't track files' last modified time, so everything is always fully rebuilt.
Solution: This commit adds an sqlite database that tracks C/C++ files and their md5 hashes. If a file's hash hasn't changed, then it doesn't need to be rebuilt, so its last modified time is backdated 20 years. The 20 years is an arbitrarily chosen amount of time and has no special significance.
2020-01-05 01:35:09 -06:00
pentarctagon
d1f2d9add2 Make sure to exit with the correct status. 2020-01-05 01:35:09 -06:00
pentarctagon
392f84afff Fail quickly if dependencies fail to install.
The chocolatey package manager seems to semi-frequently have 503 errors.  Ideally there's a way to cache these packages on Windows rather than re-downloading them every time.
2020-01-05 01:35:09 -06:00
pentarctagon
0a7f483c72 Add debug and release Windows jobs to travis.
This also removes the separate WML_tests.cmd scripts from VC14 and VC16, now instead using the same run_wml_tests script as the linux jobs.

There is currently no caching of the Windows jobs, since msbuild unfortunately uses timestamps rather than more complete information like scons/ccache in order to determine if things need to be rebuilt. Since git doesn't preserve any sort of last modified timestamp, the cloned repo into the travis job is always "newer" than the cached compiled output, and therefore wesnoth is always fully rebuilt.

Ideally, assuming this sticks around and gets out of early access from travis, we could then use just travis instead of travis and appveyor.
2019-12-31 17:17:34 -06: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
f3ed41d728
Remove schema validation for AOI. 2019-12-01 20:06:48 -06:00
pentarctagon
acb2dd8226
Install python3 for the WML unit tests. 2019-11-28 00:55:04 -06:00
pentarctagon
1a2be4bef5 Add steam runtime job to travis. 2019-11-18 19:28:15 -06:00
pentarctagon
9a34cbb329
Add quotes around UID variable.
On my own system, this variable isn't set, which cases the command to fail.
2019-11-15 19:05:23 -06:00
pentarctagon
d83fd5d9c8 Add mingw crosscompile job to travis.
Of note:
* The image now created by Dockerfile-base-mingw is available on wesnoth's Docker Hub.
* Strict building is disabled, as there are a couple warnings that show up when crosscompiling.
2019-11-15 18:54:49 -06:00
loonycyborg
479278a0d9 Improve dockerbuild scripts
- recreate output dir
- write output at user's uid
- mount /build dir onto tmpfs
2019-11-14 17:33:22 +03:00
pentarctagon
a8a5812928 Move travis' dockerfiles to common directory. 2019-11-13 19:48:14 -06:00
loonycyborg
755c5057d8 Make docker builds copy wesnothd to output/ too 2019-11-07 20:55:42 +03:00
loonycyborg
a7ba3a71cb Place dependencies for running steamrt build in correct subdir 2019-11-06 23:30:08 +03:00
loonycyborg
42293897e5 Add dockerfile for making mingw cross-compile builds 2019-11-06 19:39:38 +03:00
loonycyborg
4638a4b5b8 Improve start.sh scritp for steamos build 2019-11-06 15:07:14 +03:00
Gunter Labes
66e2d53859
Try to fix mac builds by disabling homebrew auto updatin 2019-10-29 17:16:55 +01:00
Gunter Labes
e78f9df653
Remove unused script 2019-10-29 13:55:38 +01:00
pentarctagon
81e2cae74f Store additional fields in the database.
* Whether the game allows observers.
* Whether the game's replay should be publicly available (currently the same as whether observers are allowed pending the second part of #3909).
* Whether the game had a password set.
* The side's name - this differs from what can be retrieved from USER_ID since it will have the name of any AI used.
2019-10-28 00:40:24 -05:00
Gunter Labes
ad25a207d5
Use PWD and add missing quotes
Fixes issues with word splitting or pathname expansion.
2019-10-27 13:09:54 +01:00
loonycyborg
f080886a83 Add a script to make steam build of wesnoth using docker 2019-10-27 14:29:23 +03:00
pentarctagon
ea90383f1d
Make additional changes to client source handling based on discussion.
Add a "BSD Repository" option.
Add data/dist to .gitignore.
Delete data/dist from git.
Error conditions reading data/dist just set the value to Default.
Remove a leftover TODO comment.
Add description comments for the two new database columns.
2019-10-22 01:14:45 -05:00
pentarctagon
21f9b19120 Also store where the client came from. 2019-10-20 13:57:45 -05:00
pentarctagon
c04ecaa8fb Store the client version in the database.
This will now store the version of the client playing a side in `game_player_info`.
2019-10-20 13:57:45 -05:00
josteph
87e3e8f9cf HttT: Typo fixes 2019-10-19 22:04:42 +00:00
loonycyborg
d2ee0f4b73 Move appdata script to a more appropriate place 2019-10-15 16:14:32 +03:00
Elvish_Hunter
636f29b0b9 Ported unused_functions to Python 3 2019-10-01 11:37:26 +02:00
Elvish_Hunter
ffc5edd3fe Ported ai_test to Python 3 2019-10-01 11:36:35 +02:00
Elvish_Hunter
4f667254c9 Ported wiki_grabber to Python 3 2019-09-29 11:07:59 +02:00
Elvish_Hunter
af64a10d50 Ported umc_dev/build/update_version to Python 3 2019-09-29 11:06:11 +02:00
pentarctagon
6d60cc550e
Use consistent formatting in table_definitions.sql. 2019-09-28 21:42:53 -05:00
pentarctagon
f1d48a0947
Fixup user_is_moderator default. 2019-09-28 12:32:54 -05:00
pentarctagon
2cd4273192 Use BIT(1) for fields with only 2 possible non-NULL values. 2019-09-28 09:27:20 +02:00
pentarctagon
7cb6482b32 Store in the database whether the game is a reload or not. 2019-09-28 09:27:20 +02:00
Severin Glöckner
b9928a038e add tsg change to pofix
[ci skip]
2019-09-25 18:36:14 +02:00
Iris Morelle
d5e58ed64d pofix: 1.14 announcement rules for 1.14.9
[ci skip]
2019-09-24 04:57:32 -03:00
Elvish_Hunter
dbe9d60c1f Removed utils/wescamp_import script 2019-09-23 10:52:55 +02:00
Elvish_Hunter
b4d855caad Updated the shebang of two Python 3 scripts 2019-09-23 10:50:55 +02:00
josteph
4e8d8e844a utils/codelist: Convert to python3
Issue #1508
2019-09-16 20:17:13 +00:00