2080 Commits

Author SHA1 Message Date
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
Iris Morelle
b62886d7a9 pofix: Rule for an http:// → https:// conversion in translatable strings
(cherry-picked from commit 74cbae01c453f4fb99876c52e15c04d9ce28fd6c)
2018-10-07 03:23:40 +00:00
Martin Hrubý (hrubymar10)
674fda85b7 Migrate links to https if available - Fwd c18537edc0678f40a209797d72dfaba3e5e88545
(cherry-picked from commit bc4d22dc72e79c3d6a3364ac896e473afd298246)
2018-10-07 03:23:36 +00:00
Charles Dang
39ff3e9114 Remove reference to players_changelog
(cherry-picked from commit 5bb72d7c8987ba4bb3ff734efe54d9c33c0d19b5)
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 aa1976f090a2d9fc80b6f8d564a6fc855dee2c28)
2018-10-07 03:23:18 +00:00
Severin Glöckner
31e26a4215 wmlxgettext: insert links which use ssl
[ci skip]

(cherry-picked from commit a66b30312bd2bc80f07490216b8120e1d32e3e01)
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 72948787450d2ba273b9a901455ae02ccf1cce5e)
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 e636549497feaccc4b9ea3cc5857b148e86a30ee)
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 73680ed764840a2e61d54d859a4768c75b873b3c)
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 0ca822795903e7f0ac93e410b7dde0b8012048fe)
2018-10-07 03:21:54 +00:00
Martin Hrubý (hrubymar10)
e6e8e20551 Switch travis Xcode to DEBUG scheme
(cherry-picked from commit dee670d2b5882c50464423b503477b0ae7593057)
2018-10-07 03:21:34 +00:00
Wedge009
90f9fb9ea5 Revert "Revert "'moreso' isn't a word in any dialect of English.""
This reverts commit 4d5a3de4e63ebaac4a853b0f724d1d342d451dd0.

Restoring correction at @Vultraz's request.

[ci skip]

(cherry-picked from commit e161d59536452ca78897d92cb2eaae2099228075)
2018-10-07 03:21:17 +00:00
Pentarctagon
f262321864 Fix building with osx+cmake on travis.
(cherry-picked from commit f5d74cd5ed0991ac02e3476e44ab1d615a6614a0)
2018-10-07 03:20:49 +00:00
Pentarctagon
b53e875bc6 Add osx+cmake support to travis.
(cherry-picked from commit f53c6b84cd96fa07405ebec699262158fb3311c3)
2018-10-07 03:20:49 +00:00
Iris Morelle
a2bbed728d pofix: Update with 1.14.0 -> 1.14.1 file size rules for the website
[ci skip]

(cherry-picked from commit fc002f49a935004633855f57623bc48d734d133a)
2018-10-07 03:20:44 +00:00
Iris Morelle
c4235d0306 pofix: Update with 1.14.0 -> 1.14.1 rules for the website
[ci skip]

(cherry-picked from commit c517abb122a0025099e2592528758bf39e8d03d7)
2018-10-07 03:20:44 +00:00
Wedge009
0b98ddd96b Update text to match changes in dialogues (fixes #2882).
[ci skip]

(cherry-picked from commit f1bcdc7f1b6e9c762edd075642954f4850d151f3)
2018-10-07 03:20:34 +00:00
Iris Morelle
ff61a878c8 pofix: Add 1.14 announcement typo fix
[ci skip]

(cherry-picked from commit d39d1b87fdfaf7cc463425cff847e28ad0d2c549)
2018-10-07 03:20:28 +00:00
pentarctagon
a040d521a4 Updates cmake and scons to be able to compile with OGL.
Scons OpenGL/GLEW test taken mostly verbatim from 3e2eba22a96cb2c6c69ee5109059b806f22a372f

(cherry-picked from commit 5e36a90039ddde3625690ace5259198e1932a7f8)
2018-10-07 03:20:04 +00:00
pentarctagon
ff0009aa52 Don't copy the po/ directory into the docker image for non-NLS jobs.
(cherry-picked from commit 3effecdb069dad3036011ddb47f07d56e8ded121)
2018-10-07 03:19:57 +00:00
pentarctagon
6da9f62685 Running the translations is short, so do them through scons and cmake.
(cherry-picked from commit ea4d85a06e6815b398cb4b33dd334fb025d59ca4)
2018-10-07 03:19:56 +00:00
pentarctagon
5045c09fd5 Put the docker image on its own line.
(cherry-picked from commit eb0a290ca16080e615b4e538616dbaacc36579f0)
2018-10-07 03:19:56 +00:00
Iris Morelle
456ddb8770 pofix changes for UtBS S10 typo fix
[ci skip]

(cherry-picked from commit f52828db88a5d1b20c4bd8225211533ac5b694df)
2018-10-07 03:19:50 +00:00
Celtic Minstrel
d2bc5eb2f1 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 3768dc687d9f8a709243912f7388f2917d20e2db)
2018-10-07 03:19:47 +00:00
Charles Dang
568b351ccb Pofix entry for fc6c3ac04b899b4c7f629a1cd8d80101c7cbb20c
[ci skip]

(cherry-picked from commit 087d9bb5afd79aca926ed3f752d700a724e60a0e)
2018-10-07 03:19:47 +00:00
Charles Dang
1fabe23ab4 Pofix entry for b86a2968fe87a7e4112e900070446d4a83808202
[ci skip]

(cherry-picked from commit c638d71bf9f1d08fb885a3915298b7008a6b4481)
2018-10-07 03:19:47 +00:00
Charles Dang
a9ebd3f19a Pofix entry for ab9f29a7a44372a3e3703fd842740a9b425b6f5f
[ci skip]

(cherry-picked from commit 9531e29b5d71965af8b4f7ec3991060056ca8296)
2018-10-07 03:19:47 +00:00
Iris Morelle
85bf47990a Revert "'moreso' isn't a word in any dialect of English."
This reverts commit fb866c6d1310d8398f0f481a8ab16b1606286cdd.

This fix is specific to master and translators aren't supposed to be
touching master at this time. There is no point to its existence.

(cherry-picked from commit 4d5a3de4e63ebaac4a853b0f724d1d342d451dd0)
2018-10-07 03:19:47 +00:00
pentarctagon
c75a083541 Allow specifying a sanitizer with cmake.
(cherry-picked from commit 5b94101975abd1ab81cc79bc18710478129446af)
2018-10-07 03:19:37 +00:00
pentarctagon
c07b8ca798 Enable building with mysql support on travis.
(cherry-picked from commit 4157251f11a5669c64a3941462615dad0da65c96)
2018-10-07 03:19:36 +00:00
pentarctagon
754b8a6221 Print the value of STRICT and build_timeout.
(cherry-picked from commit 96c41271d80937da778d05477b0e1caadc6def10)
2018-10-07 03:19:35 +00:00
pentarctagon
1ef1704fd9 Adds the opt/OPT option to scons/cmake.
Travis now also makes use of this to set the optimization level for the -O0 builds, rather than extra_flags_*.  This additionally fixes an issue where using -O0 in the release build with LTO resulted in the individual *.o files being compiled with -O0, but LTO then still linked with release's default -O3.

(cherry-picked from commit 63ff641662d4192401a49f9a002d7872000a3f02)
2018-10-07 03:19:35 +00:00
pentarctagon
17d921f434 Make the C++17 build fail on warnings.
(cherry-picked from commit dd4b525c402879c9b67f799e634c5c172b49ee97)
2018-10-07 03:19:25 +00:00
pentarctagon
a0adab3fcc Adds a c++17 build using the pre-release Ubuntu 18.04.
Though given 00d87f8fe4078ffd84fcdc0d73fcc2104efef1e7 I would say this is better than nothing.

(cherry-picked from commit 33ad6be326c234b173d680ce34589464f88f8418)
2018-10-07 03:19:24 +00:00
pentarctagon
83a2457dd8 Add a check to fail the job if compiling takes too long.
The intent behind this is that, if there most likely wouldn't be enough time left to complete the unit tests anyway, then just fail the job after compiling so the cache can be updated.  Otherwise, if the unit tests were run and the job timed out, then the cache would not be uploaded at all and the next time the job ran it would be from scratch again.

(cherry-picked from commit 5d970e40cd43a23a8d1b8198e962f198fc9282b0)
2018-10-07 03:19:14 +00:00
pentarctagon
b2cca08257 Allow setting a sanitizer to use.
Note: UBSan at least does seem to take a fairly significant amount of extra time to compile and run the WML tests with.

(cherry-picked from commit 92f74c39f6aedc10bd04f1cf6dc9144fb35e3a19)
2018-10-07 03:19:14 +00:00
pentarctagon
a07b847181 Allow setting EXTRA_FLAGS_RELEASE to something other than -O0.
(cherry-picked from commit 2ed9d2c0c4d1d079190ff5bd2a8a287f9076d198)
2018-10-07 03:19:13 +00:00
pentarctagon
4bb16f25a7 Make LTO controllable via travis env variable.
(cherry-picked from commit 66caa190f6dcde039cc5cb73e4f43a061aef43b8)
2018-10-07 03:19:13 +00:00
pentarctagon
f4c221216b Create travis dockerfile in the travis script step.
This allows having multiple Dockerfile-base-* files without also needing to add a separate Dockerfile-travis-* file due to the FROM line changing.

(cherry-picked from commit 3f67c2fbf051aa9e322defb66c782477cd53b8bd)
2018-10-07 03:18:45 +00:00
pentarctagon
dcf2767a14 Add using dockerfiles based on the LTS and BRANCH env vars
This makes it simpler in the future to have branches that have dependencies that are different from master, rather than having a single image with all necessary dependencies installed, which may at some point end up not being possible to do.

(cherry-picked from commit 1bb5fdf2830515d33793c52f298d305bd12b5a60)
2018-10-07 03:18:37 +00:00
Wedge009
e1506f86bd 'moreso' isn't a word in any dialect of English.
[ci skip]

(cherry-picked from commit fb866c6d1310d8398f0f481a8ab16b1606286cdd)
2018-10-07 03:18:35 +00:00