Commit Graph
4314 Commits
Author SHA1 Message Date
D G Turner 781fabac28 COMMON: Fix Signed vs. Unsigned GCC Compiler Warning in Cue Sheet Parser
This should now be fixed irrespective of whether size_t is signed or not.
2023-10-15 20:37:16 +01:00
Eugene Sandulenko dea1412b3b COMMON: Fix warnings 2023-10-12 23:54:48 +02:00
Eugene Sandulenko 587d770786 COMMON: Shortened constant names in CueSheet class 2023-10-12 23:54:48 +02:00
Eugene Sandulenko 3e32fd3776 COMMON: Added another constructor for CueSheet 2023-10-12 23:54:48 +02:00
Eugene Sandulenko 12cf6c9988 COMMON: Improve debug output in CueSheet 2023-10-12 23:54:48 +02:00
Eugene Sandulenko 462870c64d COMMON: Lookup track sector sizes for CueSheet 2023-10-12 23:54:48 +02:00
Eugene Sandulenko c5a71570f0 COMMON: Added parsing of catalog and Cue track flags 2023-10-12 23:54:48 +02:00
Eugene Sandulenko 824d28ff5e COMMON: Parse pregap for tracks in cue sheet 2023-10-12 23:54:48 +02:00
Eugene Sandulenko 4bd9e71f59 COMMON: Parse track performer in cue sheets 2023-10-12 23:54:48 +02:00
Eugene Sandulenko 41d7ca4c19 COMMON: Skip comments in CueSheets 2023-10-12 23:54:48 +02:00
Eugene Sandulenko fef7a4b72d COMMON: Added track parsing to the CueSheet 2023-10-12 23:54:48 +02:00
Eugene Sandulenko 7c2514fe1d COMMON: Added parsing of cue sheet metadata to the CueSheet 2023-10-12 23:54:48 +02:00
Eugene Sandulenko 9f3b4b6128 COMMON: Parsing FILE token in CueSheets 2023-10-12 23:54:48 +02:00
Eugene Sandulenko 5284c8d7a0 COMMON: Addeed initial stub for CueSheet class 2023-10-12 23:54:48 +02:00
elasota 2f19102f44 COMMON: Avoid calling punycode_decodefilename on strings that aren't punycode. 2023-09-20 02:16:25 +02:00
elasota e5e9d5c96d COMMON: Performance improvement for toUppercase and toLowercase: Avoid calling makeUnique on strings that aren't modified. 2023-09-20 02:16:25 +02:00
Eugene Sandulenko 7f4c0c9391 JANITORIAL: Remove trailing whitepaces 2023-09-19 15:16:20 +02:00
Eugene Sandulenko 6632467df7 COMMON: Add missing override keywords 2023-09-17 21:12:34 +02:00
elasota 63b01f5e85 COMMON: Strip trailing slashes from ZipArchive directories and improve directory detection. Add support for listChildren and isDirectory. 2023-09-17 19:17:33 +02:00
elasota b93d803f3e COMMON: Add isDirectory and listChildren to FSNode and FSDirectoryFile 2023-09-17 19:17:33 +02:00
elasota 1155eb7894 COMMON: Add isPathDirectory to Archive, and isDirectory and listChildren to ArchiveMember 2023-09-17 19:17:33 +02:00
elasota 79e06f899a COMMON: Fix String::matchString matching excluded characters with trailing asterisk wildcards 2023-09-17 19:17:33 +02:00
Eugene Sandulenko 2bea791278 OSYSTEM: Improed const'ness of the buildHelpDialogData() call 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 1d636a1687 OSYSTEM: Described format for buildHelpDialogData() call 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 7ab1c93712 OSYSTEM: Added buildHelpDialogData() call 2023-09-17 00:56:28 +02:00
Eugene Sandulenko c20290afeb COMMON: Rename class variables in SDMarkdown 2023-09-17 00:56:28 +02:00
Eugene Sandulenko e237634777 COMMON: Turn sd_markdown into a class 2023-09-17 00:56:28 +02:00
Eugene Sandulenko ce8a0456db COMMON: Reduce Common:: namespace pollution by Markdown 2023-09-17 00:56:28 +02:00
Eugene Sandulenko fe0fbe5cff COMMON: Make Markdown return Common::String 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 3cbb035875 COMMON: Added String::chop() method 2023-09-17 00:56:28 +02:00
Eugene Sandulenko eac4a62389 COMMON: Remove unused functions in Markdown 2023-09-17 00:56:28 +02:00
Eugene Sandulenko f12386adea COMMON: FORMATS: Catch list start in Markdown 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 85b2b3ce1d COMMON: Fix function prototype 2023-09-17 00:56:28 +02:00
Eugene Sandulenko 3c6284949c COMMON: Added initial code for Markdown parsing
Taken from https://github.com/vmg/sundown
2023-09-17 00:56:28 +02:00
Ankush Dutt 2a60a4d213 DLC: Set kFeatureDLC and _dlcStore for ScummVMCloud, Playstore in backend 2023-09-14 08:22:56 +02:00
Ankush Dutt 478d3f2ab9 COMMON: Fix incomplete type warning for dlc store 2023-09-14 08:22:56 +02:00
Ankush Dutt 045a99e50c BACKENDS: Remove platform-specific defines and enforce factory design pattern for creating DLC store 2023-09-14 08:22:56 +02:00
Ankush Dutt 6e8bdee909 BACKENDS: Add initial code for DLC Manager 2023-09-14 08:22:56 +02:00
elasota 9892bedc61 COMMON: Add createReadStreamForAltStream to open Mac resource fork and metadata streams 2023-08-30 00:31:00 +02:00
elasota 4f83f8f625 COMMON: Use standard library strlen for char string lengths. 2023-08-28 22:04:26 +02:00
elasota 20c91ae391 COMMON: Move string length calculation to a separate function so it's easier to get through string constructors with just Step Over while debugging (vs. Step Out which has a 2-key default keybind in VS and can behave badly with optimizations enabled). 2023-08-28 22:04:26 +02:00
Simon Delamarre c097a43a1f COMMON: Allow to know the archive name of matching members in SearchSet 2023-08-28 21:52:38 +02:00
Le Philousophe 2f7c2149e5 COMMON: Remove useless inflateZlib function
To write on stream it's simpler to use wrapCompressedReadStream and
writeStream function.
2023-08-28 21:49:03 +02:00
Le Philousophe 5bdd9e6f50 ALL: Unify zlib and gzio API
zlib is used when available and falls back on gzio.
This allows performance improvements as our CRC32 and gzio
implementations are slower than base zlib.
As zlib is available when libpng is present, this is sensible to
benefit from it.
2023-08-28 21:49:03 +02:00
Le Philousophe be3eb09753 COMMON: Allow GZipReadStream to work on data in the middle of stream 2023-08-28 21:49:03 +02:00
Le Philousophe 191bde03ad COMMON: Use memcpy instead of memmove
memove was used although the buffers were not overlapping.
Using memcpy allows for better optimizations by compiler.
2023-08-28 21:49:03 +02:00
Le Philousophe 5edf74d8a6 COMMON: Cleanup flags defines
In addition, use flags from RFC and not from (really) old gzip
implementations.
2023-08-28 21:49:03 +02:00
Le Philousophe b5e3173b10 COMMON: Fix inflateZlibHeaderless name
The function takes a stream beginning with zlib header unlike the name
suggests.
inflateInit expects to parse a zlib header.
2023-08-28 21:49:03 +02:00
Le Philousophe ead4171bbd COMMON: Rewrite writeStream to work with any ReadStream
This let it work with stream without a known size and avoids allocating
big buffers when file is big.
2023-08-28 21:49:03 +02:00
Thierry Crozat ef7c881416 OSYSTEM: Add kFeatureTouchscreen to identify backends with a touchscreen 2023-08-22 23:37:11 +01:00