Commit Graph
4144 Commits
Author SHA1 Message Date
Eugene Sandulenko 4a5085b0f8 COMMON: Do not try to create "." directory in DumpFile 2021-08-08 17:44:14 +02:00
djsrv d2b42b52d1 COMMON: Use Path functions in FSNode constructor
Path has an empty() function and equality operator. No need to convert
to a String first.
2021-08-07 10:44:37 +02:00
djsrv 763d2813a0 COMMON: Replace Path's += with append/join 2021-08-07 10:44:37 +02:00
djsrv 8c4ecf6cc5 COMMON: Add Doxygen comments to path.h 2021-08-07 10:44:37 +02:00
djsrv 2eca1126c5 VIDEO: Use Path type in VideoDecoder functions 2021-08-07 10:44:37 +02:00
djsrv 6020f24661 COMMON: Create punycode_encodepath 2021-08-07 10:44:37 +02:00
djsrv 8501ce8e26 COMMON: Convert names to printable in FSDirectory warnings
Unit separator, a control character, is used as a directory separator,
so this is needed now.
2021-08-07 10:44:37 +02:00
djsrv 17297ea7ef COMMON: Use Path type in punycode_decodepath 2021-08-07 10:44:37 +02:00
djsrv 909595176a COMMON: Use Path type in MacResManager functions 2021-08-07 10:44:37 +02:00
djsrv 0d65c2fd12 ALL: Use Path type in File functions 2021-08-07 10:44:37 +02:00
djsrv 7eb4841065 ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +02:00
djsrv 0db0b2c201 COMMON: Create Path type 2021-08-07 10:44:37 +02:00
Thierry Crozat 1af6ae593a COMMON: Change OSystem::getSystemLanguage to always return a language code 2021-08-04 19:28:47 +01:00
Thierry Crozat cbb627a40b COMMON: Change TransMan builtin language to "en" instead of "C" 2021-08-04 19:28:47 +01:00
antoniou 84323fc78e ANDROID: Remove checkbox for Android SAF from global options
Themes rebuilt, and version bumped to SCUMMVM_STX0.8.50
2021-08-02 22:57:37 +03:00
Aapo Vienamo de1338787f COMMON: Fix divide by zero in getRandomNumber()
Calling RandomSource::getRandomNumber() results in divide by zero
exception when called with max = 4294967295 as max + 1 overflows to zero
and the subsequent modulus operation causes the exception.

Certain game saves in Bladerunner trigger this.
2021-08-02 13:40:11 +03:00
Fiodar Stryzhniou 475adcf8aa COMMON: Move text-to-speech.o MODULE_OBJS
It was bulded if USE_TTS enabled before. It builded bu defaault now.
That strange makefile structure break Symbian makefile parser.
2021-08-01 17:23:55 +02:00
antoniou 250206bd00 ANDROID: Add a checkbox for a revoke SAF permissions button
Themes were updated to version SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.8.48"
2021-08-01 16:10:54 +03:00
Eugene Sandulenko e79e58e077 COMMON: Avoid unnecessary object creation 2021-08-01 14:55:39 +02:00
Eugene Sandulenko 11e486d631 COMMON: Replace rindex() with more portable code 2021-08-01 14:51:04 +02:00
Eugene Sandulenko 1f40958a65 COMMON: Punycode more invalid characters in filenames 2021-08-01 10:44:24 +02:00
Eugene Sandulenko ad42c3fd97 COMMON: Fix compilation 2021-07-31 18:30:16 +02:00
Eugene Sandulenko 130270e9cc COMMON: Puny-encode '*', '[', ']' in file names 2021-07-31 17:04:13 +02:00
D G Turner 3f41ffa1c6 COMMON: Further fixes for signedness mismatch warnings in punycode 2021-07-31 13:09:17 +01:00
Orgad Shaneh 36224b990e COMMON: Fix signedness mismatch warnings in punycode 2021-07-28 08:51:17 +03:00
Cameron Cawley 74e7d777a9 BACKENDS: Add OSystem::messageBox() and use it for error handling 2021-07-27 20:50:51 +02:00
Eugene Sandulenko 163d0b333a COMMON: Make constants more portable 2021-07-27 18:44:00 +02:00
Eugene Sandulenko 83da582b4b COMMON: Fix compilation 2021-07-27 18:42:54 +02:00
Eugene Sandulenko 530354492a COMMON: Fix encode_punycode to match the perl code 2021-07-27 18:14:50 +02:00
Eugene Sandulenko e6429a1213 COMMON: Fix punycode encoding 2021-07-27 18:14:50 +02:00
Eugene Sandulenko 96bb4d2d53 COMMON: Added more auxiliary method to Punycode 2021-07-27 18:14:50 +02:00
Eugene Sandulenko f3145d0fb6 COMMON: Decode filenames from Punycode upon returning 2021-07-27 18:14:50 +02:00
Eugene Sandulenko cd3f703988 COMMON: Fix punycode encoding 2021-07-27 18:14:49 +02:00
Eugene Sandulenko 8789bdfd67 COMMON: Reworked encode_punycode to String 2021-07-27 18:14:49 +02:00
Eugene Sandulenko 191bc979a9 COMMON: Always return the original string on failed punycode decoding 2021-07-27 18:14:49 +02:00
Eugene Sandulenko a655cff203 COMMON: Added auxiliary methods for punycode 2021-07-27 18:14:49 +02:00
Eugene Sandulenko 56f7af8d2e COMMON: Fix punycode decoding and implement reverse utility for escaped filenames 2021-07-27 18:14:49 +02:00
Eugene Sandulenko 91d747ac5b COMMON: Initial code for punycode decoding 2021-07-27 18:14:48 +02:00
Le Philousophe e83fed6c60 COMMON: Fix 34cbff9dc2
size got set in ensureCapacity which is not expected.
It must only increase when effectively writing in the buffer after
current end of file.
2021-07-25 17:48:12 +02:00
Paul Gilbert 34cbff9dc2 COMMON: Add roundUpCapacity to MemoryWriteStreamDynamic 2021-07-24 18:45:56 -07:00
Orgad Shaneh dd792e9e87 JANITORIAL: Fix some MSVC warnings 2021-07-22 07:28:01 +03:00
Orgad Shaneh b983c1f29f COMMON: Add conversion table for DOS862 encoding 2021-07-22 00:06:25 +03:00
Orgad Shaneh 3ce662f5d4 COMMON: Fix indentation 2021-07-16 15:23:39 +03:00
djsrv b2988ce682 COMMON: Add constructor to make U32String from a character 2021-07-15 16:31:47 -04:00
Cameron Cawley 4736b0ed99 COMMON: Fix loading version information from 16-bit executables 2021-07-15 13:55:33 +02:00
Cameron Cawley bf4ae50a3f COMMON: Add a helper function for loading version resources 2021-07-15 13:55:33 +02:00
Cameron Cawley a7d61eb365 COMMON: Allow loading EXE files from an existing stream 2021-07-15 13:55:33 +02:00
Torbjörn Andersson 976d6564bc COMMON: Allow \0 to be appended to Strings
This has been discussed on the mailing list. While there wasn't much
input, the consensus was that it should be allowed for consistency with
std::string.

While most engines don't do this, it is possible that some engines will
break because of it. (A few have already been fixed.) But it will also
repear the currently broken ADL engine. For now, the warning() message
will remain so that it can be investigated on a case-by-case basis.
2021-07-13 10:35:19 +02:00
Torbjörn Andersson 5775637bb8 COMMON: Add translator's note for the Macintosh b/w render mode 2021-07-13 09:53:36 +02:00
Torbjörn Andersson 2ba156184c SCUMM: Add Macintosh b/w rendering mode
This is currently only (partially) implemented for the 16-color Mac
versions of Loom and Indiana Jones and the Last Crusade. The text is
still drawn in color, since that's rendered separately, but I'm
committing this now while it still works.
2021-07-13 09:53:36 +02:00