2320 Commits

Author SHA1 Message Date
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
josteph
2b1ebdc204 utils/codelist: Fix TypeError that occurred on any input 2019-09-16 20:17:13 +00:00
Pentarctagon
b9246dc6b4 Add a flag to record if the game encountered an OOS error. 2019-08-17 14:42:35 +02:00
Pentarctagon
9470eea825 People who have MP mod authority for testing or other reasons can continue to use the existing user_is_moderator column check, but for people who are supposed to moderate the server, now the forum group will be used.
This will make it easier to add/remove people to/from the group, and also ensure that the list of actual moderators matches up with the list available to users.

New config attributes added for this are:
* db_group_table - should be, based on the phpbb documentation I found, phpbb_user_group
* mp_mod_group - should be set to Multiplayer Moderators group ID
2019-08-15 14:36:16 +02:00
Pentarctagon
59e9f9a138 Add support for storing game information in wesnoth's mysql database.
This requires three more tables to be added to any database with the forum user handler enabled, the structures of which are defined in the wesnothd man page:
* `db_game_info_table` - stores information about each game.
* `db_game_player_info_table` - stores information about each player in the game.
* `db_game_modification_info_table` - stores information about any modifications that are enabled for the game.
2019-08-12 13:04:26 +02:00
Gunter Labes
40a343268a
Check if isutf8 is installed and exit 0 if not
We don't want to exit with failure if the tool is not installed.
Simplified exclusion of certain file extensions.
2019-07-29 20:54:08 +02:00
Pentarctagon
b8acbfe8d0 Put --add-cap right after docker run. 2019-07-25 19:18:47 -05:00
Pentarctagon
1165ce0d39 Docker doesn't like --cap-add for some reason. 2019-07-25 18:33:35 -05:00
Pentarctagon
b0200d1380 Attempt to fix gdb error when attempting to disable aslr 2019-07-25 18:27:19 -05:00
sigurdfdragon
8e9baf98b7 Schema: Add campaign Wings of Victory 2019-06-30 13:17:14 -04:00
Iris Morelle
19b326ce03 pofix: 1.14 announcement rules for 1.14.8 macOS rev a
[ci skip]
2019-05-08 19:12:13 -04:00
Iris Morelle
5b00a4db11 pofix: 1.14 announcement rules for 1.14.7 macOS rev a
[ci skip]
2019-05-08 19:11:50 -04:00
Iris Morelle
3a5b8aca5e pofix: 1.14 announcement rules for 1.14.7
[ci skip]
2019-04-16 16:16:40 -04:00
Pentarctagon
073081ef89 Fix travis macos+scons build.
Steps:
1) added `brew install libffi`, was told it was already installed and to try reinstalling.
2) changed to `brew reinstall libffi`, was told it was "keg only" and was provided the PKG_CONFIG export statement.
3) added export statement, seems to work.
2019-03-15 03:29:04 -05:00
Jyrki Vesterinen
37a72b7423 Revert "Attempted workaround for macOS SCons build failure"
This reverts commit 643210ba7fe8ebb7f3968ad49ef8979f435a6844.

The workaround didn't help. SCons still doesn't find libffi. See build
log at https://travis-ci.org/wesnoth/wesnoth/jobs/505677825
2019-03-13 12:34:35 +02:00
Jyrki Vesterinen
643210ba7f Attempted workaround for macOS SCons build failure
Homebrew should really install libffi implicitly when we install anything
that depends on it. But let's try to work around the problem by installing
it explicitly.
2019-03-13 12:10:05 +02:00
Iris Morelle
ca499c4495 pofix: 1.14 announcement copyright update
[ci skip]
2019-03-13 01:18:20 -03:00
Gunter Labes
e5615b92bc
Print error messages in red
Use unbuffer to work around a travis issue when a secret is set in .travis.yml: https://github.com/travis-ci/travis-ci/issues/7967
As a bonus colored output of for example cmake now works again.
Also streamline test execution.
2019-03-06 14:21:32 +01:00
Iris Morelle
ad49853e07 pofix: 1.14 announcement rules for 1.14.6
[ci skip]
2019-03-01 16:25:56 -03:00
Martin Hrubý (hrubymar10)
8629cbf91f
[Fwd-port] Apply latest changes to Xcode project from 1.14 branch
Commits included:
b677423cdd2a46b5abc1a8cdb21b79f9cde968ba
662da36ac5cee6c9786b83413daf9524979be5b0
d3eebd61e14efb00754f49bcefd962ab5e24b760
4d08b1eb78955378fbb13537b3f8cfc43450fa92
c03ab2e54c2d2410350dbbd4c6c8ef5fdc92e501
2019-01-31 14:17:49 +01:00
josteph
92ef6bc3ff pofix: Strip msgstr's when checking for duplicate msgid's 2018-12-27 12:35:54 +00:00
pentarctagon
7034c8f97b Run WML schema validation in travis. Fixes #3709
This adds running the WML schema validation in travis.  It also updates the schema itself and fixes a few WML errors so that core and all campaigns under all difficulties pass the schema validation.
2018-11-24 10:35:22 -06:00
Nils Kneuper
752919e5c3 removed entry that leads to duplicate strings and breaks po files 2018-11-03 00:01:08 +01:00
Michał Janiszewski
9d333bc95a Compare to None using identity is operator
This is a trivial change that replaces `==` operator with `is` operator, following PEP 8 guideline:

> Comparisons to singletons like None should always be done with is or is not, never the equality operators.

https://legacy.python.org/dev/peps/pep-0008/#programming-recommendations
2018-10-31 12:21:01 +11:00
Celtic Minstrel
63d0aa3356 Fix pofix
Two of these strings were not a fix, just a removed string, so no need for pofix.
The other was not specific enough for pofix to match unambiguously.
Also, someone forgot a comma somewhere, causing a syntax error.

(cherry picked from commit 4331c7f4e90dc62a6ea0551abbe971261e7526e7)
2018-10-28 02:52:56 +00:00
Charles Dang
6ecca66c23 Pofix entry for fc6c3ac04b899b4c7f629a1cd8d80101c7cbb20c
[ci skip]

(cherry picked from commit f64f51c10e7f7e45cae647111a27e61bb32626bd)
2018-10-28 02:52:55 +00:00
Charles Dang
6ef8599f0b Pofix entry for b86a2968fe87a7e4112e900070446d4a83808202
[ci skip]

(cherry picked from commit 9f6b66c7383f2dec849adc42acf943675428efa8)
2018-10-28 02:52:55 +00:00
Charles Dang
c6595d6f84 Pofix entry for ab9f29a7a44372a3e3703fd842740a9b425b6f5f
[ci skip]

(cherry picked from commit 697216e8ea1c29887a59d3e761d28c1be24ea616)
2018-10-28 02:52:55 +00:00
Victor Sergienko
8716b8f9d0 #3634, #3557: Port from iOS: Compile with Apple crypto framework instead of OpenSSL. 2018-10-25 23:20:04 -07:00
Iris Morelle
7e4d12e10d pofix: 1.14 announcement rules for 1.14.5
[ci skip]

(cherry-picked from commit 2ea2a4da4968ffc274757271ebe006a795cae955)
2018-10-07 03:25:18 +00:00
Celtic Minstrel
42c48d1483 Move wmlxgettext to the data/tools directory so that it's automatically included in official packages
(cherry-picked from commit 59e78e556593cea7650998611640aeff3a6b288f)
2018-10-07 03:24:58 +00:00
Jyrki Vesterinen
1166bfb485 Pofix: fix incorrect removal of a space
Thanks to @jostephd for pointing out that it shouldn't be removed.

[ci skip]

(cherry-picked from commit c59ae5204affcdc6f4e2ac68535c212ab0f46611)
2018-10-07 03:24:37 +00:00
Jyrki Vesterinen
7cfd220976 Fix another pofix mistake
That comma wasn't supposed to be replaced with a period, and I didn't
notice the mistake before pushing the commit.

[ci skip]

(cherry-picked from commit 20bfb35bdda3dca06a9e997812d50bea0e24f341)
2018-10-07 03:24:27 +00:00
Jyrki Vesterinen
9a3084fbd5 Pofix fixes
The tool that generates .po files splits lines in order to limit line
length, and pofix can't track split strings. Thus, pofix search rules need
to be shorter so that pofix finds the affected strings.

I also moved the replacements to the right text domains, placed wesnoth-l
to the right spot, and removed the "Asheviere is the Queen of Wesnoth"
replacement because it isn't pofixable. (The second part of the string
becomes just "Queen of Wesnoth." and "queen of Wesnoth." with lowercase Q
is used legitimately elsewhere.)

[ci skip]

(cherry-picked from commit 3df91c9fc126ac3fd70ab9c0ea9e97eb3d008b33)
2018-10-07 03:24:26 +00:00
Jyrki Vesterinen
2d8f8ea53a Add pofix entries for the recent typo fixes (resolves #3377)
Manual merge of pull request #3490. I also ran pofix.

[ci skip]

(cherry-picked from commit 217eba5f97f5593375c17daeb2ddb82c7da5f7b3)
2018-10-07 03:24:24 +00:00
Nobun
90956117ab wmlxgettext: fix #3469: lua plural strings not recognized in some context (#3481)
* bugfix: https://github.com/wesnoth/wesnoth/issues/3469

* wmlxgettext: removed a debug comment forgotten on the previous bugfix

(cherry-picked from commit 4b79c263d357fb23e4531ad8fbd37b2bfbc85c55)
2018-10-07 03:24:20 +00:00
Iris Morelle
79fd02cd0f pofix: Genericize the Lua version number for the 1.14 announcement
Otherwise people will keep complaining that it doesn't reflect the
latest 1.14 version since the original number was valid for 1.14.0 and
1.14.4.

[ci skip]

(cherry-picked from commit c589e39098614b2180b4043db6b9faa71afe6c84)
2018-10-07 03:24:20 +00:00
Jyrki Vesterinen
cdd9a902a7 Fix #3436: pot-update failing
(cherry-picked from commit 5bbc7fedca1a7ab19cfe05e3b92fb49973e29972)
2018-10-07 03:24:03 +00:00
Iris Morelle
768f400516 pofix: 1.14 announcement rules for 1.14.4
Also fixes a mistake from the 1.14.3 rules that caused "xxx MiB" to be
replaced with "xxx MB MiB" for all platforms. Oops. Nobody noticed
anyway (?).

[ci skip]

(cherry-picked from commit 12a3b973b9f357d0b1685df5b29fbcea0fefc7be)
2018-10-07 03:23:53 +00:00
Jyrki Vesterinen
945a386c25 check_utf8.sh: don't check the second Lua bytecode test scenario
This avoids the other file with binary data.

(cherry-picked from commit 212601deab6ba803db3e0b4ed8ee5d0cbc3f3018)
2018-10-07 03:23:47 +00:00
Jyrki Vesterinen
81d6970195 check_utf8.sh: don't check the Lua bytecode file
This avoids one of the two files which are currently causing macOS SCons
builds to fail in the master branch.

(cherry-picked from commit 8dc60ae98fa472d7a5fa124002f7b1a2f552e0f3)
2018-10-07 03:23:46 +00:00