aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2019-08-25COMMON: Don't include iconv.h in common/encoding.hJaromir Wysoglad
Move #include<iconv.h> from common/encoding.h to common/encoding.cpp and change the methods accordingly. This resulted in not saving the iconvHandle if using the "non-static" version of conversion, but it simplified the code and hopefuly resolved issues with forbidden symbols on some platforms.
2019-08-25COMMON: Don't include config.h before scummsys.hJaromir Wysoglad
Thil should fix the ds build. For some reason I thought the forbidden.h wouldn't allow me to include the iconv.h, so I tryed to include it before the forbidden.h (it seems like I didn't have to do that.)
2019-08-24COMMON: Convert endianity when needed in Encoding.Jaromir Wysoglad
2019-08-24COMMON: Fix typosJaromir Wysoglad
2019-08-24COMMON: Encoding refactoringJaromir Wysoglad
2019-08-24COMMON: Add OSystem::convertEncoding documentationJaromir Wysoglad
2019-08-24COMMON: Add missing documentation.Jaromir Wysoglad
2019-08-24JANITORIAL: Remove debuging code.Jaromir Wysoglad
2019-08-24COMMON: Resolve endianity in EncodingJaromir Wysoglad
2019-08-24COMMON: Rename methods in Common::EncodingJaromir Wysoglad
2019-08-24COMMON: Refactor convertIconvJaromir Wysoglad
2019-08-24COMMON: Check for return values in EncodingJaromir Wysoglad
2019-08-24COMMON: Add propper Encoding settersJaromir Wysoglad
2019-08-24COMMON: Add documentation to Common::EncodingJaromir Wysoglad
2019-08-24COMMON: Add cyrilic transliteration to Encoding.Jaromir Wysoglad
2019-08-24COMMON: Add transMan mapping encoding conversion.Jaromir Wysoglad
2019-08-24COMMON: Use backend specific encoding conversionJaromir Wysoglad
2019-08-24OSYSTEM: Add convertEncoding virtual methodJaromir Wysoglad
2019-08-24COMMON: Add encoding conversion using iconvJaromir Wysoglad
2019-08-20COMMON: added support for ini files with non english charactersAndrei Prykhodko
2019-08-20COMMON: Handle invalid INI file characters gracefullyFilippos Karapetis
This replaces all the asserts with warning messages
2019-08-19COMMON: fixed reading ini files which have not value for keyAndrei Prykhodko
2019-08-13LUA: Fix end of namespace commentCameron Cawley
2019-08-13LUA: Remove duplicate object file from module.mkCameron Cawley
2019-08-13COMMON: Move Lua into Common and make it into...Nipun Garg
an engine feature
2019-08-11COMMON: Implement FSNode::createDirectoryRecursive()Cameron Cawley
2019-08-11COMMON: Add warnings on failed FSNode::createDirectory()lolbot-iichan
2019-08-11COMMON: Implement createDirectory() method to Common::FSNodelolbot-iichan
Added a simple wrapper for AbstractFSNode::create(true) since there was no way to create directories.
2019-08-06BACKENDS: Rename and simplify AbstractFSNode::create()Cameron Cawley
2019-07-30COMMON: Update getHumanReadableBytes() in util.hAlexander Tkachev
Function now casts bytes (as <1024) to unsigned long int to correspond "%lu" format string. For consistency, KB are now printed as floating number. Finally, it looks like double is pretty precise to be used in comparisons, so I made the function a little bit shorter.
2019-07-30COMMON: Add getHumanReadableBytes() in util.hAlexander Tkachev
This function was used in cloud-related DownloadDialog before, and now it is also used in Options > Cloud tab.
2019-07-24COMMON: Add Default Values for Joystick State StructureD G Turner
This ensures that this has a defined value when used without the engine needing to set the field values directly i.e. as per CGE.
2019-07-24COMMON: Add wrappers for iscntrl() and isgraph()Cameron Cawley
2019-07-21COMMON: Add conversion table for CP1254lolbot-iichan
2019-07-18COMMON: Fix U32String initialization issuesPeter Kohaut
Bug 1: If the original C string contained chars > 127 they would be stored as huge u32 numbers due to the underflow as char is signed. It still might end-up with invalid UTF32 characters, but now the caller can control it. Bug 2: The inline storage was not properly initialized when U32String was initalized from shorter non-UTF32 strings.
2019-07-16COMMON: Add Turkish languagelolbot-iichan
2019-07-13SDL: Fix compiler warning and joystick event handlingjepael
2019-07-08COMMON: Open the main menu when the joystick START button is pressedCameron Cawley
2019-07-08SDL: Initial implementation of joystick eventsCameron Cawley
2019-06-30JANITORIAL: Avoid C4121 warnings in MSVC by reordering fieldsLe Philousophe
C4121 is about 'symbol': alignment of a member was sensitive to packing
2019-06-30COMMON & WINTERMUTE: Use non-1252 for 125X games (PR 1698)lolbot-iichan
* WINTERMUTE: Add detection for "The Driller Incident" "The Driller Incident" is a small freeware game for Wintermute, avaliable in English and Russian: http://questzone.ru/enzi/files/1645 * WINTERMUTE: Add detection table for "One Helluva Day" demo "One Helluva Day" is a point-and-click adventure demo in English / Czech / Russian. Free download: https://store.steampowered.com/app/603680/One_helluva_day/ * WINTERMUTE: Support CHARSET property for TT fonts "// we don't need this anymore" was a mistake =) Surely, most Wintermute games are either designed for 1252 language (DE_DEU, EN_ANY, ES_ESP, FR_FRA, IT_ITA, PT_BRA), or don't use TrueType fonts (5ma, deadcity, grotter1, grotter2, thekite, tib), or use CHARSET=1 with UTF strings (dirtysplit, reversion1, reversion2, twc), which meen this conversion is not needed for those games. However, there are some games that explicitly states CHARSET=10 (driller (RU_RUS), oknytt (RU_RUS), onehelluvaday (UNK_LANG when playing as Russian)) and there are some games with CHARSET=1 with non-1252 in mind (bookofgron (RU_RUS excepts 1251), carolreed4 (RU_RUS excepts 1251), kulivocko (CZ_CZE excepts 1250)). This fixes text in some games: bookofgron, carolreed4, driller, kulivocko, oknytt, onehelluvaday. * WINTERMUTE: Break savegame compatibility sizeof(BaseFontTT) was changed, so let's break savegame compatibility * COMMON: Add conversion tables for win1253 and win1257 * COMMON: Add string conversion from U32String back to Common::String convertUtf32ToUtf8 code is based on Wintermute::ConvertUTF32toUTF8 convertFromU32String use convertUtf32ToUtf8 for UTF8 or lookup through conversion table for single-byte encodings * WINTERMUTE: Use Common::convert functions for non-UTF charsets * WINTERMUTE: Fix whitespaces at detection tables * WINTERMUTE: Add TODO comments
2019-06-21ANDROID: Move isConnectionLimited into OSystemCameron Cawley
2019-06-01STREAM: add read/write functions for double LE/BELe Philousophe
2019-06-01COMMON: Fix a memory leak in Common::DumpFileBastien Bouclet
2019-05-24GLK: TADS2: Added code for output, run, various miscellaneousPaul Gilbert
2019-05-12COMMON: Fix seek return values, memory stream use in create_titanicPaul Gilbert
2019-05-12COMMON: Changed DumpFile & StdIOStream to derive from SeekableWriteStreamPaul Gilbert
2019-05-12COMMON: Created SeekableWriteStream classPaul Gilbert
2019-05-01COMMON: Replace NEResourceType and PEResourceType with a shared enumCameron Cawley
2019-04-30GUI: Support adding games via Drag and DropCameron Cawley