Commit Graph
86814 Commits
Author SHA1 Message Date
Arius 5a42fae9f5 I18N: Update translation (Greek)
Currently translated at 98.2% (913 of 929 strings)
2017-01-06 22:07:20 +01:00
Walter Agazzi e1e83757f7 I18N: Update translation (Italian)
Currently translated at 100.0% (929 of 929 strings)
2017-01-06 22:05:31 +01:00
Filippos Karapetis 6db575b552 I18N: Update translation (Greek)
Currently translated at 97.7% (908 of 929 strings)
2017-01-06 22:03:40 +01:00
Arius 794369852b I18N: Update translation (Greek)
Currently translated at 97.7% (908 of 929 strings)
2017-01-06 22:03:24 +01:00
Filippos Karapetis 1203425516 I18N: Update translation (Greek)
Currently translated at 97.4% (905 of 929 strings)
2017-01-06 22:02:37 +01:00
Arius 67f8e9c1b1 I18N: Update translation (Greek)
Currently translated at 97.4% (905 of 929 strings)
2017-01-06 22:02:21 +01:00
Colin Snover 809dcf12ab SCI32: Fix overlapped memory copies in SciString 2017-01-06 13:13:59 -06:00
Filippos Karapetis d9b2b7d484 SCI32: Fix a subtle bug in SciArray::trim()
With this bug, whenever a string was trimmed from the right, the last
character was always cut off, even if it wasn't whitespace. This was
apparent in the RAMA demo, which parses a text file for its scenes,
and each line is trimmed
2017-01-06 13:13:21 -06:00
Colin Snover 0aba92b4b0 Revert "Merge pull request #885 from csnover/faster-travis"
Travis builds are failing randomly after this change due to
upstream bug travis-ci/travis-ci#7103, so reverting these changes
until it is fixed.

This reverts commit 72f421cb38, reversing
changes made to c919c9996c.
2017-01-06 12:40:31 -06:00
Eugene Sandulenko 319a993592 DIRECTOR: Lingo: Properly fix compilation on Dreamcast
It should originally go to lingo-lex.l, as lingo-lex.cpp is
autogenerated. The fix was initially in 0da273fc8c
2017-01-06 19:34:56 +01:00
Willem Jan Palenstijn 1ba7f8aa1e Merge pull request #873 from wjp/sci_save_palvary
SCI: Unconditionally save palvary state
2017-01-06 10:34:33 -08:00
Willem Jan Palenstijn 95ab3bece9 SCI: Add FIXME for (very unlikely) race condition in _palVarySignal 2017-01-06 19:03:50 +01:00
Willem Jan Palenstijn 740b0bb0ca SCI: Unconditionally save palvary state
Additionally, add workaround to fix up old QfG3 saves with broken
_palVaryPaused state. Fixes bug #9674.
2017-01-06 19:03:50 +01:00
Timo Mikkolainen 7984111289 I18N: Update translation (Finnish)
Currently translated at 100.0% (929 of 929 strings)
2017-01-06 18:25:25 +01:00
Eugene Sandulenko deea03eaad DIRECTOR: Lingo: Add test for events 2017-01-06 18:20:19 +01:00
Eugene Sandulenko dd60bb88d1 DIRECTOR: Lingo: Implement 'on' statement parsing 2017-01-06 18:17:30 +01:00
Walter Agazzi 95733eca85 I18N: Update translation (Italian)
Currently translated at 99.8% (928 of 929 strings)
2017-01-06 14:58:43 +01:00
Rafał Rzepecki 3e5394d06b I18N: Update translation (Polish)
Currently translated at 88.6% (824 of 929 strings)
2017-01-06 12:52:36 +01:00
Timo Mikkolainen 27537a729e I18N: Update translation (Finnish)
Currently translated at 100.0% (929 of 929 strings)
2017-01-06 12:43:13 +01:00
Petter Sjölund b336a329d8 I18N: Update translation (Swedish)
Currently translated at 98.7% (917 of 929 strings)
2017-01-06 10:19:15 +01:00
Walter Agazzi 162884cff1 I18N: Update translation (Italian)
Currently translated at 99.7% (927 of 929 strings)
2017-01-06 10:19:07 +01:00
Petter Sjölund 027d3199f1 I18N: Update translation (Swedish)
Currently translated at 98.6% (916 of 929 strings)
2017-01-05 23:04:44 +01:00
Colin Snover 0c40d60d24 SCI32: Fix off-by-one error in array resizing
This bug existed in SSCI and was pulled in carelessly during
initial implementation of SciArray. Closer examination of SCI3
reveals that this only happened to work in SSCI because it would
always allocate on the first resize, and would always allocate 25
extra elements per allocation.
2017-01-05 16:01:05 -06:00
Colin Snover 70d1edf615 SCI32: Add validity checks to kList iteration methods
In GK2, restoring a save game causes the segment manager to reset
in the middle of a kListFirstTrue call, which invalidates all
pointers and reg_ts to stored data. This means that when
kListFirstTrue tries to decrement the list recursion counter at
the end of iteration, it is writing to freed memory, potentially
resulting in heap corruption.

SCI3 added checks to prevent this from happening, but these checks
seem like they should have also been applied to some SCI2.1 games
as well (like GK2).

Since there should be no negative side-effect to this check, it
is applied universally to all SCI32 games.
2017-01-05 16:00:59 -06:00
jepael 3c170d630a I18N: Update translation (Finnish)
Currently translated at 100.0% (929 of 929 strings)
2017-01-05 22:44:05 +01:00
Eugene Sandulenko 72f421cb38 Merge pull request #885 from csnover/faster-travis
BUILD: Speed up Travis-CI builds
2017-01-05 22:38:00 +01:00
Willem Jan Palenstijn c919c9996c TESTS: Fix warnings 2017-01-05 22:07:24 +01:00
Colin Snover 9d3893459f COMMON: Add strnlen for safer C string length reads
This API is intended for use in cases where C strings come
from untrusted sources like game files, where malformed data
missing the null terminator would cause strlen to read out of
bounds.
2017-01-05 22:07:24 +01:00
Colin Snover 507562e0a2 BUILD: Speed up Travis-CI builds
container-based infrastructure (by sudo: false) starts and runs
faster:
https://docs.travis-ci.com/user/migrating-from-legacy/

gcc and make are preinstalled by Travis-CI for C++ language
containers, so do not need to be listed as dependencies:
https://docs.travis-ci.com/user/trusty-ci-environment/#Compilers-%26-Build-toolchain

ccache caching prevents wasting time rebuilding unchanged code:
https://docs.travis-ci.com/user/caching#ccache-cache
2017-01-05 13:25:52 -06:00
Tobia Tesan 28d2f1d0df I18N: Update translation (Italian)
Currently translated at 99.7% (927 of 929 strings)
2017-01-05 17:12:24 +01:00
Torbjörn Andersson fa466af0ca FULLPIPE: Silence GCC signed/unsigned warning. 2017-01-05 17:12:01 +01:00
Walter Agazzi 825482e22f I18N: Update translation (Italian)
Currently translated at 99.7% (927 of 929 strings)
2017-01-05 12:59:19 +01:00
Eugene Sandulenko 84fc3505b3 Merge pull request #884 from tobiatesan/it
I18N: Some improvements to Italian strings
2017-01-05 12:59:13 +01:00
Tobia Tesan 4cb86e6451 I18N: Improve Italian translation 2017-01-05 12:17:01 +01:00
Tobia Tesan 0bbebfc6e4 I18N: Replace "gioco" with "partita" in select italian strings.
"Game" as in "chess is a 2 player game" is "gioco" in italian, but
"game" as in "a tournament game" is "partita".

You save a "partita" - an ongoing game, not *the* game itself ("gioco").
2017-01-05 12:16:30 +01:00
Tobia Tesan bcc663e1d2 I18N: Replace "scaricamento" with "download" in italian translation
While "scaricare" is commonplace, "download" seems generally preferred
to "scaricamento" in writing and in user interfaces.
2017-01-05 12:12:37 +01:00
Tobia Tesan 1ea1b047b2 I18N: Improve italian translation of "game data" strings 2017-01-05 12:12:30 +01:00
Eugene Sandulenko 978fb3969a I18N: Update translation (Italian)
Currently translated at 99.7% (927 of 929 strings)
2017-01-05 12:08:20 +01:00
Walter Agazzi 90733fec40 I18N: Update translation (Italian)
Currently translated at 98.8% (918 of 929 strings)
2017-01-05 11:54:06 +01:00
Eugene Sandulenko 00a08823ee I18N: Update translation (Italian)
Currently translated at 98.8% (918 of 929 strings)
2017-01-05 11:42:12 +01:00
Eugene Sandulenko d457db5b54 I18N: Update translation (Swedish)
Currently translated at 98.4% (915 of 929 strings)
2017-01-05 08:34:57 +01:00
Petter Sjölund 4116e96202 I18N: Update translation (Swedish)
Currently translated at 98.4% (915 of 929 strings)
2017-01-05 08:34:18 +01:00
Walter Agazzi bb764c84f1 I18N: Update translation (Italian)
Currently translated at 98.8% (918 of 929 strings)
2017-01-05 08:32:39 +01:00
Timo Mikkolainen 078364363e I18N: Update translation (Finnish)
Currently translated at 100.0% (929 of 929 strings)
2017-01-05 08:28:42 +01:00
Eugene Sandulenko 11812d9af9 Merge pull request #883 from bluegr/fullpipe_mem
FULLPIPE: Plug some memory leaks
2017-01-05 08:28:32 +01:00
Eugene Sandulenko b7bf9e8772 I18N: Update translation (Italian)
Currently translated at 95.3% (886 of 929 strings)
2017-01-04 23:19:18 +01:00
Walter Agazzi 3f6f05eebe I18N: Update translation (Italian)
Currently translated at 95.3% (886 of 929 strings)
2017-01-04 23:18:52 +01:00
Filippos Karapetis f018869f93 I18N: Update translation (Greek)
Currently translated at 97.0% (902 of 929 strings)
2017-01-04 22:56:09 +01:00
Filippos Karapetis e6e1789f96 I18N: Update translation (Greek)
Currently translated at 97.0% (902 of 929 strings)
2017-01-04 22:55:00 +01:00
Filippos Karapetis 72b7f11672 I18N: Update translation (Greek)
Currently translated at 94.5% (878 of 929 strings)
2017-01-04 22:52:10 +01:00