2030 Commits

Author SHA1 Message Date
pentarctagon
c456d4b288 Make UTF8 checks fail the build if they find anything.
Also fixes a comment typo in docker_run.sh.
2018-03-23 18:59:28 -05:00
pentarctagon
344b5c56b9 Removes a couple scripts that are not used.
utils/travis/install_deps.sh - no longer executes anything outside of the osx if block.
utils/travis/exit_wrapper.sh - I honestly don't know why this exists.
utils/travis/test_wrapper.sh - No longer used as of 7ca5a0df6449b4b895842566d33a38872f1f507e.
2018-03-23 18:59:28 -05:00
pentarctagon
b801140344 Remove debugging symbols from Travis xcode build.
This removes the -g option from the xcode travis build, since debugging information isn't needed and the increased size was causing the cache to timeout when compressing and uploading it.  ccache max cache size is also decreased from 2 GBs to 200 MBs, which matches the linux+cmake builds.  Fixes #2670.
2018-03-23 03:10:27 -05:00
pentarctagon
983045718a Stop hard-coding cmake's -std version.
Adds the CXX_STD variable which can be set.  Currently defaults to 14.  This also now makes cmake honor the CXXSTD env variable set on travis.
2018-03-18 14:59:52 -05:00
Victor Sergienko
c2a56b403e Hide minor translations (<80%) from language selection menu. (#2552)
@CelticMinstrel suggests we only use non-campaign textdomains without manpages.
2018-03-13 22:51:36 -04:00
Charles Dang
beec27f778 pofix entries for 1340c005b3be
[ci skip]

Forgot to include this in the above commit... >_>
2018-03-13 04:13:11 +11:00
Charles Dang
3a90f86674 Addressed more whitespace issues from #2613
[ci skip]
2018-03-12 03:48:59 +11:00
Charles Dang
950a156712 Addressed most of the remaining whitespace issues from #2613
[ci skip]
2018-03-11 14:59:37 +11:00
Iris Morelle
8442764435 Add script for creating a new campaignd instance
[ci skip]
2018-03-10 01:08:58 -03:00
Nobun
11d48f1639 help text fixes (#2617) 2018-03-09 20:31:05 +01:00
pentarctagon
02244aaa53 Make LTO controlled by a variable export in steps/install.sh.
Currently will remain disabled everywhere, but this allows for enabling LTO for optimized, non-xcode jobs just by changing the value of the LTO variable.
2018-03-08 15:40:05 +02:00
pentarctagon
ee51afa128 Moves the build-cache directory to be under $HOME.
Moving it out of the same directory as the git repository means that the object files won't be copied into the temporary docker container when it's being created.
2018-03-08 15:40:05 +02:00
pentarctagon
258b8b9bae Make docker_run.sh use 4 space indenting to match other shell scripts.
Also split apart the really long scons/cmake single lines
2018-03-08 15:40:05 +02:00
pentarctagon
900a159c8b Attempt to fix suspected race condition when running MP tests.
Currently the MP unit tests will randomly fail due to one of the two background wesnoth instances failing video initialization.  All unit tests require the display server to be initialized however, or they fail with the same error as the MP tests sometimes fail with.  However, the MP tests are the only tests to randomly fail due to video initialization, while for the same travis job the WML unit tests (which run before) and the boost unit tests (which run after) are still able to be successfully completed.

Therefore, the video initialization failures are not entirely random, and the MP tests are also the only tests that experience this failure while also being the only tests that have more than one instance of wesnoth running simultaneously.

tl;dr: the attempted solution here is to sleep for 5 seconds between starting background processes in the mp unit test script.

Also removes starting the display server prior outside of the docker container, since that's not needed anymore.
2018-03-05 15:49:46 +11:00
pentarctagon
abf93216ac Don't source steps/script.sh.
Travis runs all commands in .travis.yml in its own wrapper script, so by sourcing steps/script.sh and then using exit explicitly, it resulted in the entire travis wrapper immediately terminating.  With steps/script.sh no longer sourced, using exit works as expected again, and only exits steps/script.sh rather than quitting everything. Another solution, should sourcing steps/script.sh become necessary, is to use return instead of exit.

With that addressed, it's then possible to re-add printing the ccache statistics after the build ends while also making sure that the script exits with the return code of the xcodebuild/cmake+make command rather than the return code of the ccache statistics commands.
2018-03-04 15:48:00 -06:00
pentarctagon
2a783b0df2 Fix for failed ccache builds being considered successful.
Travis looks at the return code of the final command run, and since printing the ccache statistics never fails, building would never be considered as failing. Manually calling exit also causes travis to treat the build as errored, since by sourcing the build it results in the entire travis wrapper shell exiting.
2018-03-03 16:46:06 -06:00
Wedge009
1a3a28c59c Re-attempting e4730ef1 (Minor corrections to Dunefolk and Two Brothers text) as per advice from @ivanovic.
[ci skip]
2018-03-04 00:41:35 +11:00
Nils Kneuper
8b80fa6635 add a word of caution that pofix.py does not alter source strings 2018-03-03 11:22:22 +01:00
Nils Kneuper
88e2da74af Revert "Minor corrections to Dunefolk and Two Brothers text."
This reverts commit e4730ef1bb070af7fc6ad5ca15e37cb8ff860eae.

The changes were never added to the config files and because of this
create "false fuzzy" strings.
2018-03-03 11:18:31 +01:00
pentarctagon
6f02d1bebb Make scons' mysql handling more normal. 2018-03-02 13:55:22 -06:00
pentarctagon
ea06cdc63a Move the logic for the install and script steps into their own files.
Also merges the before_install and install steps.
2018-03-02 13:55:22 -06:00
pentarctagon
4bccc19ebc Move docker_run.sh into utils/travis/ 2018-03-02 13:55:22 -06:00
pentarctagon
b71f7cdc3c Moves the ccache clang wrapper scripts to utils/travis/.
Also clears the ccache statistics after printing them. This means the hit/miss count will be shown per run, rather than cumulatively.
2018-02-24 10:56:05 -06:00
Iris Morelle
c9eee2d351 Copyright/attribution update
[ci skip]
2018-02-16 20:03:24 -03:00
Wedge009
e4730ef1bb Minor corrections to Dunefolk and Two Brothers text.
[ci skip]
2018-02-10 02:50:51 +11:00
Matthias Krüger
a2168d2e24 codespell fixes to /src 2018-02-08 21:54:09 +11:00
Matthias Krüger
dc33cf7ceb pofix: add fixes of previous commits. 2018-02-06 23:03:06 +11:00
Charles Dang
fe23166a31 Updated pofix for ae33006
[ci skip]
2018-02-04 02:15:16 +11:00
josteph
6b703fd93c pofix: Update for HttT changes in previous commit. 2018-02-04 01:00:33 +11:00
josteph
e48964fa1b pofix: Add wesnoth-help fixes from previous commit. 2018-02-03 14:04:42 +11:00
Gregory A Lundberg
b5f76eff79
Bump copyright to 2018 2018-01-19 00:02:20 -06:00
Alexander van Gessel
c25bc555c4 Remove appveyor custom IRC notify script 2017-12-04 13:04:32 +11:00
Jyrki Vesterinen
72739c56a5 Revert ignoring MP test failures due to video init failure (2e5c5da0036be2e68b42e70f3153b799236b5b69)
This code ended up ignoring *all* MP test failures, in particular the one
fixed in commit 11d7b9f0cfe29ab6d6b5829c8e337b7cb67eeb18.

I'd test the code and fix it if I could, but unfortunately I can no longer
develop on GNU/Linux because of PC issues (which I mentioned in Discord).
Therefore I'm just reverting the entire change.
2017-11-29 21:34:03 +02:00
Nils Kneuper
6f9f1904fd fixed syntax error in pofix and "problem"
note: please do only enter "Part of the string", not the full strings.
The text in the po files is broken into parts and full strings, with
missing newlines, will not cause matches for the string.
2017-11-24 00:16:19 +01:00
sigurdfdragon
44f42b0fc5 Update pofix.py
For HttT S20b change.
2017-11-18 13:39:13 -05:00
Gregory A Lundberg
bf8758afde Tell Travis about Boost unit test name change 2017-11-06 13:43:18 -06:00
Alexander van Gessel
fc0674bcb6 Change *_RUNNING vars to string comparisons 2017-10-04 17:00:31 +02:00
Alexander van Gessel
fea609d309 Add missing break 2017-10-04 11:17:38 +02:00
Alexander van Gessel
2e5c5da003 MP test: treat failed init of SDL_video as a 'successful' test 2017-10-04 09:32:00 +02:00
Alexander van Gessel
7b3254964d Ensure that mp_test_executor exits 2017-10-04 09:12:32 +02:00
Alexander van Gessel
77ebb27222 Modify other scons files too 2017-09-21 15:41:57 +02:00
Nobun
3f287b9098 wmlxgettext: fix UTF-8 issue: #1785 (#1793)
Also: -o parameter is now mandatory. STOUT redirection still possible
2017-07-31 22:29:46 -04:00
Charles Dang
fda7bf63af Used more attractive table style when exporting data to wiki 2017-06-06 22:00:37 +11:00
Celtic Minstrel
c9191c9812 Add OpenSSL's libcrypto as a dependency
This also removes the included SHA1 and MD5 implementations
in favour of those from OpenSSL.

Thanks to @jyrkive for helping to get the CMake build working and
ensuring the game still compiles with OpenSSL 1.1.0.
(The SHA_xxx() aliases were removed in OpenSSL 1.1.0.)
2017-05-12 15:57:13 -04:00
Charles Dang
bba5454443 Made README files Markdown
[ci skip]
2017-04-28 15:07:06 +11:00
Ignacio R. Morelle
9ba02c0900 pofix: Add download path string fixes for the 1.12.6 release 2017-04-15 19:35:21 -03:00
loonycyborg
05f9f00289 Update autorevision script with upstream changes
this fixes autorevision errors if running from under su
2017-03-11 04:20:12 +03:00
Elvish_Hunter
759c3414f3 Merge pull request #804 from matthiaskrgr/woptipng-script
add woptipng png compression script
2017-01-15 21:53:16 +01:00
Jyrki Vesterinen
d6d25b50c0 AppVeyor IRC notification: explicitly set character encoding to UTF-8
Attempted fix for @Aginor's name being shown incorrectly.
2016-12-28 19:31:35 +02:00
Matthias Krüger
b3fe980d70 add woptipng png compression script
An improved version of the wesnoth-optipng shell script.

Supports multiple jobs at a time. ( -j )
Accepts a threshold for discarding images which were only reduced by a few bytes. ( -t 15 will only save images that were reduced in size by at least 15 %).
Niceness can be set using the -n switch.

Usage:
cd <directory>
woptipng . ../some/dir  ../some/some_file.png

The script should achive better compression ratios than the previous script.
The previous script was running optimizations in an unconditional loop and, at the end, did not save the image if pixel colors changed.
This implies if *one* of the crushers did a bad job and changed the images content in a bad way, *none* of the possibly good optimizations by the other crushed would be saved.
Woptipng checks the image every time after a crusher touched it and only reverts a single optimization if it was bad leaving possibility for the other tools to still perform a good job and reduce size of the image.
2016-12-22 15:27:43 +01:00