aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-26HOPKINS: Fix GCC Compiler WarningsD G Turner
These were from using memset to clear non-trivial structures.
2019-08-26STARTREK: Fix GCC Compiler WarningD G Turner
2019-08-26DM: Fix GCC Compiler Warnings from Structure memset Usage.D G Turner
2019-08-26STARTREK: Read most strings for the LOV mission from its RDF filesFilippos Karapetis
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-25SCI: (FB01 sound driver) - get rid of mutexathrxx
- The mutex was added to avoid the triggering of the assert in backends/midi/windows.cpp, line 95. Meanwhile, this issue has been addressed differently. - SCI does not per se require a mutex for the sound drivers. The engine is mostly thread-safe by avoiding driver calls through the main thread.
2019-08-25AUDIO: (FM-Towns/PC-98) - deconstructor/race condition fixathrxx
(move mixer calls before mutex lock, since the mixer has a mutex of its own)
2019-08-25CLOUD: Make Network::ErrorResponse messages more verboseAlexander Tkachev
This commit updates all usages of Network::ErrorResponse to specify at least method name if not precise reason why operation failed.
2019-08-25CLOUD: Handle HTTP response headers case-insensitivelyAlexander Tkachev
RFC 2616 states that HTTP headers are not case-sensitive and also allows arbitrary number of whitespace characters around header value. Previous implementation was dependant on headers to be in "Title-Case" and to have only one space before header value. That has lead to cloud sync failure on Debian x64 (user's network environment was probably the reason though). This commit adds a new method, which parses headers name-value pairs into HashMap. To ensure case-insensitivity, all headers names are converted to lowercase, and thus code that uses this method should specify headers in lowercase. All usages of raw headers contents were updated to use this method.
2019-08-25TINSEL: Fix GCC Compilation WarningsD G Turner
These are also associated with memset on non-trivial structures.
2019-08-25TESTBED: Fix GCC Unused Variable Compiler WarningsD G Turner
2019-08-25ZVISION: Fix GCC Compiler WarningsD G Turner
These were from memset usage on non-trivial structures, but were fixed by directly clearing the Common::Point array.
2019-08-25AGI: Fix Remaining GCC Compiler WarningsD G Turner
These were the remaining memset on non-trivial structure warnings.
2019-08-25AGI: Fix GCC Compiler Warnings from memset of Game State StructuresD G Turner
This fixes these, but adding constructors causes further memset usage warnings on the structures which are now "non-trivial" due to the addition of constructors. Should be able to fix by repeating this process to remove further memset usage.
2019-08-24XEEN: Fix incorrect Throne sprites in Northern SphinxPaul Gilbert
The Northern Sphinx used a list of object sprites that had an empty entry mid-list. This commit fixes the problem by allow such entries, but will only apply for new games
2019-08-25CONFIGURE: Correct Formatting of ICONV TestsD G Turner
No functional change.
2019-08-25CONFIGURE: Check if iconv uses const.Jaromir Wysoglad
I looked at how ResidualVM works with iconv and used a define ICONV_USES_CONST, which they define in configure, thinking it is defined by iconv. I a define of this into configure, so this should fix the build error on osx_intel.
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-24SCI32: Fix QFG4 Empty Burgomeister room tellersluicebox
Fixes bug #10754
2019-08-24SDL: Use a non-const string for SDL_iconv_stringJaromir Wysoglad
With some older versions of SDL1, the SDL_iconv_string takes char * instead of const char * as it's argument. This should fix the build issue with gp2xwiz.
2019-08-24CLOUD: Fix Inverted Test Regression in Debug Message CodeD G Turner
This was introduced by my previous commit to this where I accidently inverted the tests during refactoring.
2019-08-24WIN32: Delete obsolete comment in convertEncoding.Jaromir Wysoglad
2019-08-24WIN32: Handle endianity in convertEncodingJaromir Wysoglad
2019-08-24COMMON: Convert endianity when needed in Encoding.Jaromir Wysoglad
2019-08-24COMMON: Fix typosJaromir Wysoglad
2019-08-24WIN32: Move getCodePageId to codepage.hJaromir Wysoglad
2019-08-24WIN32: Fix infinite loop when converting from utf32Jaromir Wysoglad
Because of how cyrilic transliteration and UTF-32 is handled on Windows, it was unfortunately possible to get into an infinite loop of conversions. The string would get converted to UTF-32 when transliterating, but because windows backend conversion cannot convert from UTF-32, it would use Common::Ustr to convert it to UTF-8, which would again get converted to UTF-32 when transliterating and so on.
2019-08-24COMMON: Encoding refactoringJaromir Wysoglad
2019-08-24SDL: Remove check for SDL2 in convertEncoding()Jaromir Wysoglad
SDL_iconv_string() is available even with SDL1
2019-08-24CONFIGURE: Move check for iconv downJaromir Wysoglad
2019-08-24TESTBED: Comment correctionvyzigold
Co-Authored-By: Cameron Cawley <ccawley2011@gmail.com>
2019-08-24COMMON: Add OSystem::convertEncoding documentationJaromir Wysoglad
2019-08-24TESTBED: Move encoding conversion tests to testbedJaromir Wysoglad
This way it is possible to test the backend conversions too.
2019-08-24COMMON: Add missing documentation.Jaromir Wysoglad
2019-08-24JANITORIAL: Remove debuging code.Jaromir Wysoglad
2019-08-24WIN32: Fix conversion of multibyte encodings.Jaromir Wysoglad
2019-08-24SDL: Fix convertEncoding for multibyte encodings.Jaromir Wysoglad
2019-08-24TEST: Remove tests for ascii transliterationJaromir Wysoglad
This can be handled differently by each conversion method. The "Šáleček" could be transliterated as "Salecek" or as "S'alecek" or maybe even differently.
2019-08-24WIN32: Resolve endianity in convertEncoding()Jaromir Wysoglad
2019-08-24COMMON: Resolve endianity in EncodingJaromir Wysoglad
2019-08-24TEST: Add tests for Common::EncodingJaromir Wysoglad
2019-08-24WIN32: Implement conversion to and from UTF-32Jaromir Wysoglad
UTF-32 is used in transliteration in Common::Encoding, so it is pretty important encoding and Windows should be the only thing, that cannot convert it.
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-24WIN32: Check calloc return value in covertEncodingJaromir 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