79181 Commits

Author SHA1 Message Date
George Kormendi
80180aba57 I18N: Update translation (Hungarian)
Currently translated at 99.3% (923 of 929 strings)
2017-01-08 09:33:21 +01:00
Eugene Sandulenko
5f868a65b4 DIRECTOR: Added g_director uglyness 2017-01-08 09:32:32 +01:00
Eugene Sandulenko
e9d84a5abd DIRECTOR: Lingo: Documented D3 menu properties 2017-01-08 00:34:17 +01:00
Eugene Sandulenko
5ff622189e DIRECTOR: Lingo: Added more D3 stubs 2017-01-08 00:24:59 +01:00
Eugene Sandulenko
8a68c0d891 DIRECTOR: Lingo: Fix arguments check for built-ins 2017-01-07 22:56:30 +01:00
Eugene Sandulenko
03638300cf DIRECTOR: Lingo: Stubbed "sound*" built-ins 2017-01-07 21:20:26 +01:00
Eugene Sandulenko
8e303c7705 DIRECTOR: Lingo: Added stub for 'me' keyword 2017-01-07 17:31:19 +01:00
Eugene Sandulenko
e3a7fe4cab DIRECTOR: Lingo: Switch bison debug at runtime
--debugflags=lingocompile -d10
2017-01-07 17:13:33 +01:00
Eugene Sandulenko
993418674e DIRECTOR: Lingo: Fix 'on' keyword parsing
It requires handler name after 'end' keyword
2017-01-07 17:08:48 +01:00
Eugene Sandulenko
22929379e5 DIRECTOR: Lingo: Documented catmember differences for D3 2017-01-07 14:49:15 +01:00
Thierry Crozat
3cd5e20c19 I18N: Revert encoding of Polish translation back to ISO-8859-2
The translation was automatically converted to UTF-8 due to the use
of curly brackets, which I had to replace with straight ones.
2017-01-07 13:06:56 +00:00
Walter Agazzi
7b9ebace2e I18N: Update translation (Italian)
Currently translated at 100.0% (929 of 929 strings)
2017-01-07 13:47:42 +01:00
Filippos Karapetis
69962fd728 I18N: Update translation (Greek)
Currently translated at 100.0% (929 of 929 strings)
2017-01-07 13:47:42 +01:00
Thierry Crozat
e72f12d73d I18N: Change back encoding of Finnish translation to ISO-8859-1
It was changed to UTF-8 by Weblate due to the use of a character
that cannot be encoded with the ISO-8859-1 charset. The character
was the ellipses, which I had to replace with three dots.
2017-01-07 12:24:46 +00:00
Arius
af1d0c6731 I18N: Update translation (Greek)
Currently translated at 100.0% (929 of 929 strings)
2017-01-07 03:28:02 +01:00
Filippos Karapetis
d4ecfe70fc I18N: Update translation (Greek)
Currently translated at 99.7% (927 of 929 strings)
2017-01-07 03:26:56 +01:00
Arius
264e609d2f I18N: Update translation (Greek)
Currently translated at 99.7% (927 of 929 strings)
2017-01-07 03:26:39 +01:00
Filippos Karapetis
378e82a115 I18N: Update translation (Greek)
Currently translated at 98.8% (918 of 929 strings)
2017-01-07 03:23:39 +01:00
Arius
4890553b27 I18N: Update translation (Greek)
Currently translated at 98.8% (918 of 929 strings)
2017-01-06 22:08:44 +01:00
Filippos Karapetis
51d649d242 I18N: Update translation (Greek)
Currently translated at 98.2% (913 of 929 strings)
2017-01-06 22:07:32 +01:00
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 72f421cb38149d9a66d7145609be81cec2514d48, reversing
changes made to c919c9996c6f62cf4f0d1a22d0522b0ee9a0514c.
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 0da273fc8c843a6248e11f
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