Eugene Sandulenko
59ca2de0f2
COMMON: Better handling for malformed NE Windows executables
2023-01-27 19:56:50 +01:00
Cameron Cawley
138a983d80
COMMON: Refactor VSync handling to match the other options
2023-01-16 18:09:53 +01:00
Vladimir Serbinenko
600f33bccf
COMMON: Allow unzip to flatten tree structure
...
It's easier to some games to ignore directories
2023-01-15 19:22:34 +01:00
Vladimir Serbinenko
30717496ce
COMMON: Allow unarj to flatten tree structure
...
It's easier to some games to ignore directories
2023-01-15 19:22:34 +01:00
Eugene Sandulenko
c3b2d0267d
JANITORIAL: Clarify comments
2023-01-14 14:42:18 +01:00
elasota
3a07524b73
COMMON: Add initial config file option.
...
This allows an initial/default configuration file to be specified via the command line. This allows a default settings file to be bundled and loaded even if it's installed to a read-only location, such as Program Files on Windows, and allows the written config file to be deleted without losing the custom defaults.
2023-01-11 14:46:39 +01:00
Eugene Sandulenko
7f426af872
COMMON: Fix warning
2023-01-10 22:44:06 +01:00
Vladimir Serbinenko
94944b8c8b
COMMON: Downgrade AppleDouble and actual resource forks in macresman
...
They are created silently by various versions of OSX and may contain
garbage describing plain macbinary rather than historically dumped data from
disk.
2023-01-10 14:45:36 +01:00
Eugene Sandulenko
5d08b1a0f3
COMMON: Add flag to match whole path for Archive::listMatchingMembers()
2023-01-08 01:15:52 +01:00
Eugene Sandulenko
f262e71eb4
JANITORIAL: Remove redundant namespace specs
2023-01-08 01:15:52 +01:00
Eugene Sandulenko
82e21f3c3c
COMMON: Probe files for existnce, so there is less noise
2023-01-08 01:15:52 +01:00
Eugene Sandulenko
e41559cfa5
GUI: Moved icons pack set generation to common/
2023-01-08 01:15:51 +01:00
Vladimir Serbinenko
187304f730
COMMON: Reject all-zero macbinary header
2023-01-07 19:44:37 +03:00
Martin Gerhardy
f2c9137979
COMMON: removed foreach.h
...
now that we are using c++11 we don't need this wrapper anymore
2023-01-07 02:40:44 +02:00
Eugene Sandulenko
63f39ca792
COMMON: Rename base-str.* to str-base.* for consistency and file grouping
2023-01-05 14:21:23 +01:00
Eugene Sandulenko
0fb25d7734
COMMON: Allow specify random seed via scummvm.ini
2023-01-02 16:12:44 +01:00
Eugene Sandulenko
41da1de090
COMMON: Sync RNG seed initialising between common and event recorder
2023-01-02 16:12:44 +01:00
neuromancer
3cd8f444b5
COMMON: added Commodore 64 rendering mode
2023-01-02 08:09:37 -03:00
Vladimir Serbinenko
0adf22278b
COMMON: Uplift SafeMutexedSeekableSubReadStream to common
2022-12-31 20:47:10 +01:00
Matthew Duggan
c53b42311d
COMMON: Fix path split+join combinations, add tests for same
...
This resolves multiple scenarios where a path ends up with a trailing
separator.
2022-12-31 17:57:07 +09:00
neuromancer
90d97edd63
COMMON: added a render mode for Amstrad CPC
2022-12-29 10:52:57 -03:00
Vladimir Serbinenko
af2643be44
COMMON: Add a check in StuffIt parser to check for crash condition
2022-12-28 13:02:22 +01:00
Vladimir Serbinenko
324b22682e
COMMON: Respect StuffIt archive size
...
This allows handling of archives with trailer like one used in
Private eye installer
2022-12-28 13:02:22 +01:00
neuromancer
6829865c8f
COMMON: renamed Amstrad CPC platform data to be more precise
2022-12-26 11:48:17 -03:00
neuromancer
5ee734b844
COMMON: added Amstrad CPC as a platform
2022-12-26 09:12:26 -03:00
elasota
e280186a8c
ALL: VS warning cleanup
2022-12-25 16:31:57 +01:00
Donovan Watteau
49585ad152
COMMON: BUILD: Use 'long' for int32 in MSVC 32-bit builds
...
The NDS and AmigaOS ports have frequent buildbot issues, because they
need to use 'long' for int32, for their own reasons. The buildbot is
run *after* things are merged into the main branch, so we'd like to
catch the frequent int/int32 build issues as an earlier development
stage (such as by the automated Github Actions).
MSVC 32-bit builds look like a good candidate for this, since its
'long' is also a 32-bit value on Win32, this platform is tested by
Github Actions right from the PR stage, and there are more developers
doing frequent local build tests there.
Not applying this change to Mingw builds yet, since GCC is less
permissive about this trick (i.e. -Wformat becomes quite noisy), and
the Mingw builds are used for releases, so let's be safe for now.
2022-12-25 16:13:29 +01:00
elasota
e193f71ac0
COMMON: Fix --disable-lua not working.
2022-12-25 15:55:58 +01:00
neuromancer
d4129d5aa2
COMMON: corrected kRenderZX to avoid duplicates in RenderMode
2022-12-24 13:18:53 -03:00
neuromancer
6841227241
COMMON: added zx spectrum render mode
2022-12-24 13:18:53 -03:00
grisenti
3c0dfdf49f
COMMON: fix move assignment operator in ScopedPtr
2022-12-23 14:03:30 +01:00
Vladimir Serbinenko
395aa10644
COMMON: Add missing escaping in Common::Path.
2022-12-20 10:04:55 +01:00
Cameron Cawley
4002c7bdde
COMMON: Add a version of Common::Array::resize with a fill value
2022-12-19 14:33:07 +02:00
Cameron Cawley
a55361b65d
COMMON: Add Common::Array::swap()
2022-12-18 23:36:09 +02:00
Vladimir Serbinenko
2ca39a0745
COMMON: Support resource fork coming from OSX zip or FAT
2022-12-16 22:59:34 +01:00
Vladimir Serbinenko
0979c692de
COMMON: Add new method joinComponents
2022-12-16 22:59:34 +01:00
Eugene Sandulenko
8bf6aec613
COMMON: LUA: Replace sprintf -> snprintf
2022-12-16 10:54:49 +01:00
Vladimir Serbinenko
a690a034cf
COMMON: Remove reliance that \x1f is never part of filename
...
So far we never encountered such a case but mac disks are notorious for
having non-printable characters in names
2022-12-14 05:08:46 +01:00
Vladimir Serbinenko
673e5e025b
COMMON: Remove rawString member for Common::Path
2022-12-14 05:08:46 +01:00
Vladimir Serbinenko
7ded5c2de0
COMMON: Move DIR_SEPARATOR into path.cpp
2022-12-14 05:08:46 +01:00
Vladimir Serbinenko
4a2e69f990
COMMON: conflate : and / in mac names.
...
When using mounted images on OSX or with fusehfs : and / are swapped.
When using dumper-companion it encodes / in punycode and preserves it.
2022-12-14 05:08:46 +01:00
Vladimir Serbinenko
78b6e60057
COMMON: Change common/fs to use Common::Path as key
2022-12-14 05:08:46 +01:00
Vladimir Serbinenko
ab517cc577
COMMON: Add case-insensitive comparator and hash for Common::Path
2022-12-14 05:08:46 +01:00
Vladimir Serbinenko
43d7259ff9
COMMON: Add matchPattern method for Common::Path
2022-12-14 05:08:46 +01:00
Vladimir Serbinenko
ce55430f1c
COMMON: Don't access DIR_SEPARATOR in macresman
...
DIR_SEPARATOR is an implementation detail of Common::Path, it should not
be accessed outside of it. Use public functions that do the same instead
2022-12-14 05:08:46 +01:00
Vladimir Serbinenko
d02a25230d
COMMON: Add appendComponent to Common::Path for convenience
2022-12-14 05:08:46 +01:00
Vladimir Serbinenko
af7d9cb850
COMMON: Move punycode_*codepath to path.cpp
...
This allows to reduce access to DIR_SEPARATOR from outside of Common::Path
2022-12-14 05:08:46 +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
Cameron Cawley
0581301b24
COMMON: Move huffman.h back out of the compression directory
2022-12-11 22:33:23 +01:00