Commit Graph
44 Commits
Author SHA1 Message Date
Kaloyan Chehlarski fc0988fdfc COMMON: Allow IFF containers to have custom header IDs
The IFF format used in the Nancy Drew engine uses a
non-standard id that reads DATA instead of FORM, though
the rest of the format is identical. This commit allows such
nonstandard ids to be used without needing to massage the
data first.
2023-10-26 19:46:32 +03:00
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
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 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
elasota 9892bedc61 COMMON: Add createReadStreamForAltStream to open Mac resource fork and metadata streams 2023-08-30 00:31:00 +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
elasota 92320d616d COMMON: When flattening QuickTime edit lists, don't flatten non-silent audio chunks into silent chunks or vice versa.
Fixes missing vidbot VO in Obsidian Japanese.
2023-08-22 13:18:15 +03:00
Eugene Sandulenko bb9e86e9c6 COMMON: Fix warnings 2023-08-07 10:48:59 +02:00
elasota 58271a834c COMMON: Remove #pragma once 2023-08-07 10:22:09 +02:00
elasota 3c1efe4f89 COMMON: Add file format info API 2023-08-07 10:22:09 +02:00
Scott Percival 7304796a01 VIDEO: Remove extra hexdump in QuickTime parser 2023-07-23 20:26:05 +08:00
Scott Percival ffa80f5aaf VIDEO: Add alias support to QuickTime parser 2023-07-23 14:07:20 +02:00
elasota b8acbe6bee COMMON: Archive path refactoring, add getFileName and getPathInArchive that unambiguously return the filename or the full path 2023-07-19 18:51:37 +02:00
Harishankar Kumar 7d8dcebeb7 COMMON: Fix memory leak when invalid PE executable is loaded
In function `PEResources::loadFromEXE`, there were memory leaks
because of not properly handling with streams, and thus when the
loaded movie was bad/non-exe file, the memory was not freed.

This was undetected in normal exe loading because there the streams
were being assigned and closed properly.
2023-06-14 13:57:50 +02:00
elasota e219e4e04e COMMON: Strip whitespace before checking if an INI line is a comment.
Fixes some versions of Reah failing to parse subtitle data.
2023-05-11 00:22:14 +03:00
Alexander Tkachov cc38b31ae7 CLOUD: Janitorial
- rename JSON::getPreparedContents() to JSON::untaintContents();
- minor changes to ConnectCloudClientHandler and CloudConnectionWizard.
2023-04-08 16:20:11 +02:00
Alexander Tkachov 3606a75db1 NETWORKING: Move getPreparedContents() to Common::JSON
Made the method that prepares the JSON received via network static and moved to Common::JSON, so it could be used not only in CurlJsonRequest.
2023-04-08 16:20:11 +02:00
elasota f8e85e9e4b COMMON: Add ability to disable valueless line warning in INI files. 2023-03-16 15:04:02 +01:00
= bb12e41290 COMMON: Fix array size of 'name' argument in ProDOSFile constructor 2023-03-01 16:41:16 -05:00
Michael Hayman 8d2bd83365 JANITORIAL: Remove excess debug statements and inconsistent indentation in prodos.cpp/h 2023-02-15 17:02:41 -05:00
Michael Hayman a845f0bb61 COMMON: Move ProDos disk parser from Immortal engine to Common 2023-02-15 17:02:41 -05:00
Matthew Duggan cd09481f6e COMMON: Add ability to handle unknown xml keys 2023-02-08 00:30:08 +01:00
Eugene Sandulenko 59ca2de0f2 COMMON: Better handling for malformed NE Windows executables 2023-01-27 19:56:50 +01:00
Cameron Cawley fd123d6679 COMMON: Split compression and formats into separate modules 2022-12-11 22:33:23 +01:00
Cameron Cawley 28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00