Commit graph

2410 commits

Author SHA1 Message Date
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 643210ba7f.

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:
b677423cdd
662da36ac5
d3eebd61e1
4d08b1eb78
c03ab2e54c
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 4331c7f4e9)
2018-10-28 02:52:56 +00:00
Charles Dang
6ecca66c23 Pofix entry for fc6c3ac04b
[ci skip]

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

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

(cherry picked from commit 697216e8ea)
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 2ea2a4da49)
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 59e78e5565)
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 c59ae5204a)
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 20bfb35bdd)
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 3df91c9fc1)
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 217eba5f97)
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 4b79c263d3)
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 c589e39098)
2018-10-07 03:24:20 +00:00
Jyrki Vesterinen
cdd9a902a7 Fix #3436: pot-update failing
(cherry-picked from commit 5bbc7fedca)
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 12a3b973b9)
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 212601deab)
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 8dc60ae98f)
2018-10-07 03:23:46 +00:00
Iris Morelle
b62886d7a9 pofix: Rule for an http:// → https:// conversion in translatable strings
(cherry-picked from commit 74cbae01c4)
2018-10-07 03:23:40 +00:00
Martin Hrubý (hrubymar10)
674fda85b7 Migrate links to https if available - Fwd c18537edc0
(cherry-picked from commit bc4d22dc72)
2018-10-07 03:23:36 +00:00
Charles Dang
39ff3e9114 Remove reference to players_changelog
(cherry-picked from commit 5bb72d7c89)
2018-10-07 03:23:25 +00:00
Iris Morelle
373437ec70 pofix: Add rules for whitespace/dot count-changing commits
[ci skip]

(cherry-picked from commit aa1976f090)
2018-10-07 03:23:18 +00:00
Severin Glöckner
31e26a4215 wmlxgettext: insert links which use ssl
[ci skip]

(cherry-picked from commit a66b30312b)
2018-10-07 03:23:09 +00:00
Iris Morelle
aaa055a6ac pofix: Add rules to address typographical fixes to race descriptions
NOTE: the rule for the "true orc" case does not work. The string in
question will just have to be fuzzied.

[ci skip]

(cherry-picked from commit 7294878745)
2018-10-07 03:22:45 +00:00
Iris Morelle
90ad7f51ca pofix: Update with 1.14.3 -> 1.14.3a (macOS) rules for the website
[ci skip]

(cherry-picked from commit e636549497)
2018-10-07 03:22:35 +00:00
Iris Morelle
b524c05e04 pofix: Update with 1.14.2 -> 1.14.3 rules for the website
[ci skip]

(cherry-picked from commit 73680ed764)
2018-10-07 03:22:34 +00:00
Iris Morelle
b7823147e5 pofix: Update with 1.14.1 -> 1.14.2 rules for the website
[ci skip]

(cherry-picked from commit 0ca8227959)
2018-10-07 03:21:54 +00:00
Martin Hrubý (hrubymar10)
e6e8e20551 Switch travis Xcode to DEBUG scheme
(cherry-picked from commit dee670d2b5)
2018-10-07 03:21:34 +00:00