Paul Gilbert
d51d3d4086
COMMON: Allow for enabling/disabling debug channels by number
2019-11-11 18:20:29 -08:00
Bastien Bouclet
6a627e3e98
COMMON: Fix very noisy warning when building with GCC 9 in C++11 mode
2019-11-10 21:04:29 +01:00
Cameron Cawley
d1fa1154fe
BACKENDS: Fix using fillScreen in non-paletted screen modes
2019-11-10 01:25:46 +02:00
Thierry Crozat
8ac0012fdd
COMMON: Clarify documentation for OSystem::convertEncoding
2019-11-08 20:43:25 +00:00
Le Philousophe
d62bb15d71
COMMON: Add ignoreClashes flag to SearchSet and FSDirectory
...
This lets engine mute warnings about name clashes when there are useless
for its case. This will be used by Versailles as the tree has
directories with the same name at various places.
Files are duplicated too in different directories but are identical.
2019-11-03 00:44:23 +01:00
D G Turner
dca112f94b
COMMON: Fix Missing Default Switch Case in Coroutine Macros
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-21 00:19:41 +01:00
Eugene Sandulenko
50822e708b
COMMON: Moved string encoding to separate file
2019-10-19 17:38:26 +02:00
Eugene Sandulenko
9ff8e69aa9
COMMON: Added new + operator to U32String
2019-10-18 17:20:27 +02:00
Eugene Sandulenko
eb72d6b479
COMMON: Added String::find()
2019-10-18 00:28:36 +02:00
Jaromir Wysoglad
b9d3c84db4
TTS: Fix language setting.
2019-10-16 19:30:56 +02:00
D G Turner
a7c497af3b
COMMON: Add Missing Default Switch Case to U32String Class
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-06 09:51:01 +01:00
D G Turner
70582daf46
COMMON: Fix Missing Default Switch Cases in Lua Interpreter
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-06 07:58:40 +01:00
Eugene Sandulenko
dbf56a3b29
COMMON: Add methods to U32String to match String
2019-10-04 15:54:48 +02:00
Eugene Sandulenko
72a5d9d4ba
JANITORIAL: Whitespace fixes
2019-10-04 15:54:48 +02:00
D G Turner
4a2cbd94b6
COMMON: Add Missing Switch Default Case in ZLIB Class
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-04 04:27:42 +01:00
D G Turner
cee1b56f3a
COMMON: Add Missing Default Switch Cases in DCT Class
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-04 04:27:03 +01:00
D G Turner
8a96a1854d
RECORDER: Add Missing Default Switch Cases
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-04 02:30:19 +01:00
Cameron Cawley
3cb6a84f03
BLADERUNNER: Remove use of C99 math functions
2019-10-03 23:52:46 +01:00
D G Turner
9308f802f3
COMMON: Add Switch Default Cases in JSON Parser
2019-10-03 02:53:56 +01:00
D G Turner
0eec560cac
COMMON: Add Missing Switch Default Cases to Stream Seek Methods
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-03 01:01:16 +01:00
D G Turner
78ef4b9499
COMMON: Add Default Cases to Switch Statements in Memstream Classes
...
These are flagged by GCC if -Wswitch-default is enabled.
This avoids possible hard to diagnose bugs if the whence int parameter is
accidently set to an unexpected value.
2019-10-02 06:12:38 +01:00
Thierry Crozat
06acfd515f
COMMON: Fix memory leaks in iconv error case
...
This fixes coverity CID 1405783 and CID 1405784.
2019-09-30 22:04:27 +01:00
D G Turner
e895548237
COMMON: Fix MSVC Compiler Warning
...
The enum is implicitly int32 by default so causes signed vs. unsigned
assignment warnings. Changing this to a const uint32 avoids the issue.
2019-09-30 01:44:14 +01:00
Paul Gilbert
c03b7a50ea
GLK: ADRIFT: Implement zlib decompression
2019-09-25 20:13:27 -07:00
Eugene Sandulenko
7def18a26c
COMMON: Workaround for a compiler bug in osx_intel buildbot toolchain
...
It was introduced in 014bef9eab9fb409cfb3ec66830e033e4aaa29a9. There is
nothing wrong with our code, but strangely, it makes the
i686-apple-darwin9-as v1.38 to choke when parsing .stabd directives.
Once we upgrade buildbot or do another change to system.h, hopefully
this could be removed.
2019-09-23 22:22:23 +02:00
Cameron Cawley
7bf22fa996
BACKENDS: Add EVENT_CLIPBOARD_UPDATE event
2019-09-21 22:16:01 +03:00
Cameron Cawley
014bef9eab
BACKENDS: Add a default clipboard implementation
2019-09-21 22:16:01 +03:00
Thierry Crozat
bdd7b6baed
COMMON: Fix escaping and parsing of UTF-8 strings in JASON parser
2019-09-21 22:15:26 +03:00
D G Turner
04242ce829
LUA: Fix Coverity Warnings in File Class
2019-09-15 16:21:02 +01:00
Cameron Cawley
410923351b
Revert "COMMON: Implement FSNode::createDirectoryRecursive()"
...
This reverts commit aca627bec7b407790d78a64df984344ff454c15b.
2019-09-15 00:07:46 +02:00
D G Turner
019de0cc23
EVENTRECORDER: Fix GCC Compiler Warnings
...
These were memcpy usage to copy a non-trivial structure.
2019-09-14 00:54:10 +01:00
Le Philousophe
5cc574a695
BUILD: Fix GCC bogus warning by removing const
...
GCC emits "warning: type qualifiers ignored on cast result type" when
some types are used for HashMap because of the const modifier.
This applies especially to pointer-to-member-functions.
The const there is not really useful as it only prevents unfortunate
object editions.
2019-09-09 17:39:06 +03:00
Cameron Cawley
713fe80b47
LUA: Remove references to Sword25 ( #1833 )
2019-09-06 10:38:14 +03:00
Jaromir Wysoglad
8f930126e7
COMMON: Add string size computation to Encoding.
2019-09-05 23:52:46 +01:00
Eugene Sandulenko
102846becf
COMMON: Added PocketPC platform
2019-09-03 17:17:30 +02:00
Eugene Sandulenko
ea2f09b256
COMMON: Restored functionaluty of Lua print
2019-09-03 17:17:21 +02:00
SupSuper
1c1cc91ad5
COMMON: Don't include win32.h in common/encoding.h
2019-09-02 08:01:18 +03:00
Jaromir Wysoglad
d4a98dcadb
COMMON: Add CP437 encoding conversion table.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
291360a280
COMMON: Add CP850 conversion.
...
CP850 is used by the mortevielle engine (and apparently by other
engines too). Anytime an engine using CP850 encoding wants to use
the TTS, the encoding has to be converted, so this is pretty
important encoding conversion to support. Unfortunately SDL
(when compiled without iconv) doesn't support this encoding
(which means, there might not be a way to convert this encoding
on some platforms), so I added a conversion table for this.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
4b5b812712
TTS: Better documentation of TTSVoice.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
54c37f6f46
TTS: Document diferences in resume()
...
On linux the resume() behaves slightly differently than on
other platforms.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
c2c4458253
JANITORIAL: Remove some trailing whitespaces
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
01d843c527
TTS: Update documentation of INTERRUPT_NO_REPEAT
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
38e769430a
TTS: Improve documentation
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
4bae32ffe7
TTS: Add *_NO_REPEAT actions
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
1694b930e6
TTS: Make one say() method non-virtual
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
6703f88f7f
TTS: Implement speech queueing on Linux and Win
2019-09-01 22:47:55 +03:00
Thierry Crozat
5baa023ed0
TTS: Improve documentation
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
c7dbf192ef
TTS: Remove unneeded code
...
Remove debuging outputs
Remove commented iconv implementation of text conversion to UTF-8
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
58065ceacd
TTS: Refactoring
...
* Delete multiple empty rows
* Make getVolume non-virtual and leave just the implementation
in base class
* Resolve warning about signed / unsigned comparison in
gui-manager
* Clear availableVoices when updating voices on linux
* By default set language to transMan language on windows
(if the transMan is available)
* Remove freeVoices method from Windows ttsMan, it isn't needed
anymore
2019-09-01 22:47:55 +03:00