aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2019-12-27COMMON: Add ZH_ANY language for generic chinese languagesaviloria
We have a game that has actual ZH_CNA, ZH_TWN translations and also ships with the same file set that formed ZH_CNA in previous game versions, when there was no separate Traditional/Simplified variants and was only one 'Chinese'
2019-12-26COMMON: Add sanity check to MacResManEugene Sandulenko
2019-12-16ANDROID: Fix crash due to adding '.' folder in SearchManagerThanasis Antoniou
2019-12-15BACKENDS: Add default implementation for GraphicsMode functionsCameron Cawley
2019-12-14BACKENDS: Move nextHigher2() into common/algorithm.hCameron Cawley
2019-12-13JANITORIAL: Whitespace fixesEugene Sandulenko
2019-12-12COMMON: Fix string length in U32String::encode()Eugene Sandulenko
Our method expects length in bytes, not in characters, which is 4x for U32
2019-12-11COMMON: Minor Spelling Fix to Util Header CommentD G Turner
No functional change.
2019-12-11COMMON: Fix toPrintable() for upper charactersEugene Sandulenko
2019-12-09COMMON: Make save compression optional when copyingsluicebox
Allows for copying or renaming uncompressed save files, such as in Phantasmagoria 1, without compressing them in the process.
2019-12-10COMMON: Added helper function to produce printable stringsEugene Sandulenko
2019-12-09COMMON: Fix GCC-9 Warning in MacResManager ClassD G Turner
This is another case of a warning from using memset to clear a non-trivial data structure. GCC-9 detects this with the default warning of -Wclass-memaccess.
2019-12-01COMMON: Fix Missing Default Switch Case in Span HeaderD G Turner
This is flagged by GCC if -Wswitch-default is enabled.
2019-11-30COMMON: Add CJK encodings to Common::CodePageLe Philousophe
Use Encoding::convert to do the conversion first and try old method if it fails
2019-11-19GRAPHICS: Add interface for horizontal shakesluicebox
2019-11-17BACKENDS: Remove the Windows CE portCameron Cawley
2019-11-15TTS: Fix use of virtual function in TTSMan destructorBastien Bouclet
TextToSpeechManager::freeVoiceData was called while the virtual function table pointer was already reset by the parent class destructor.
2019-11-11COMMON: Allow for enabling/disabling debug channels by numberPaul Gilbert
2019-11-10COMMON: Fix very noisy warning when building with GCC 9 in C++11 modeBastien Bouclet
2019-11-10BACKENDS: Fix using fillScreen in non-paletted screen modesCameron Cawley
2019-11-08COMMON: Clarify documentation for OSystem::convertEncodingThierry Crozat
2019-11-03COMMON: Add ignoreClashes flag to SearchSet and FSDirectoryLe Philousophe
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-10-21COMMON: Fix Missing Default Switch Case in Coroutine MacrosD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-19COMMON: Moved string encoding to separate fileEugene Sandulenko
2019-10-18COMMON: Added new + operator to U32StringEugene Sandulenko
2019-10-18COMMON: Added String::find()Eugene Sandulenko
2019-10-16TTS: Fix language setting.Jaromir Wysoglad
2019-10-06COMMON: Add Missing Default Switch Case to U32String ClassD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-06COMMON: Fix Missing Default Switch Cases in Lua InterpreterD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-04COMMON: Add methods to U32String to match StringEugene Sandulenko
2019-10-04JANITORIAL: Whitespace fixesEugene Sandulenko
2019-10-04COMMON: Add Missing Switch Default Case in ZLIB ClassD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-04COMMON: Add Missing Default Switch Cases in DCT ClassD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-04RECORDER: Add Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-03BLADERUNNER: Remove use of C99 math functionsCameron Cawley
2019-10-03COMMON: Add Switch Default Cases in JSON ParserD G Turner
2019-10-03COMMON: Add Missing Switch Default Cases to Stream Seek MethodsD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-02COMMON: Add Default Cases to Switch Statements in Memstream ClassesD G Turner
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-09-30COMMON: Fix memory leaks in iconv error caseThierry Crozat
This fixes coverity CID 1405783 and CID 1405784.
2019-09-30COMMON: Fix MSVC Compiler WarningD G Turner
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-25GLK: ADRIFT: Implement zlib decompressionPaul Gilbert
2019-09-23COMMON: Workaround for a compiler bug in osx_intel buildbot toolchainEugene Sandulenko
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-21BACKENDS: Add EVENT_CLIPBOARD_UPDATE eventCameron Cawley
2019-09-21BACKENDS: Add a default clipboard implementationCameron Cawley
2019-09-21COMMON: Fix escaping and parsing of UTF-8 strings in JASON parserThierry Crozat
2019-09-15LUA: Fix Coverity Warnings in File ClassD G Turner
2019-09-15Revert "COMMON: Implement FSNode::createDirectoryRecursive()"Cameron Cawley
This reverts commit aca627bec7b407790d78a64df984344ff454c15b.
2019-09-14EVENTRECORDER: Fix GCC Compiler WarningsD G Turner
These were memcpy usage to copy a non-trivial structure.
2019-09-09BUILD: Fix GCC bogus warning by removing constLe Philousophe
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-06LUA: Remove references to Sword25 (#1833)Cameron Cawley