Donovan Watteau
1b91b7b3cd
I18N: Update g_obsoleteLanguages for latest SE_SWE -> SV_SWE change
...
Related to previous commit 8ffcf8229f
.
2025-04-01 05:43:34 +02:00
Daniel Nylander
8ffcf8229f
I18N: Change SE_SWE to SV_SWE
...
Change the Swedish language code from SE to SV according to ISO 639
2025-03-30 22:19:13 +03:00
Filippos Karapetis
5b1e2d502c
COMMON: Use C++ 11 range-based for loops
2025-03-27 13:47:57 +08:00
Filippos Karapetis
177f04349a
COMMON: Use C++ 11 range-based for loops
2025-03-27 13:47:57 +08:00
Eugene Sandulenko
bebaf73791
COMMON: Implement hasDataFork() method
2025-03-05 00:45:21 +01:00
Cameron Cawley
cdb45e65b5
COMMON: Add emplace and rvalue insert to Common::Queue
2025-03-03 11:24:06 +02:00
Cameron Cawley
85a7067bd4
COMMON: Add emplace and rvalue insert to Common::List
2025-03-03 11:24:06 +02:00
Filippos Karapetis
3fa6263af5
COMMON: Initialize class member in MemcachingCaseInsensitiveArchive
2025-03-01 22:12:33 +02:00
Le Philousophe
0a4dd23113
COMMON: Remove plural of debugChannels
...
This variable previously held several channels while it's only used for
one channel now.
2025-02-22 23:28:26 +01:00
Eugene Sandulenko
2435439665
COMMON: FORMATS: Put QT parser debug output to 'gvideo' debug channel
2025-02-22 15:51:24 +01:00
Eugene Sandulenko
c5ad81dd5d
COMMON: Added debugPrintC() method to Common::Rational
2025-02-22 15:51:24 +01:00
Eugene Sandulenko
6ae04dc157
COMMON: Added 'gvideo' global debug channel
2025-02-22 15:51:24 +01:00
Eugene Sandulenko
0bfebda407
COMMON: Added Rect::debugPrintC()
2025-02-22 15:51:24 +01:00
Eugene Sandulenko
204af35019
COMMON: Added debug level for global graphics
2025-02-22 15:51:23 +01:00
Eugene Sandulenko
fe27041c57
COMMON: Hid "file not found" debug message deeper
2025-02-22 15:51:23 +01:00
Eugene Sandulenko
ca1500833b
COMMON: FORMATS: Get rid of HotSpotType in QTVR
...
This is supposed to be user-extendable, thus, there always
will be "unknown" hotspots. So, we pass it as uint32
2025-02-20 01:34:32 +01:00
Eugene Sandulenko
04f23ac98f
COMMON: FORMATS: Fixed to PNAV atom reading in QuickTime
2025-02-19 01:51:15 +01:00
Eugene Sandulenko
8676fb1fba
COMMON: FORMATS: Simplified usage of QTVR node type
2025-02-16 18:09:16 +01:00
Eugene Sandulenko
5b3953aaf6
COMMON: FORMATS: Report QTVR 2.0 movies as unsupported
2025-02-16 18:09:16 +01:00
Le Philousophe
5e98ef6d21
COMMON: Silence cast-user-defined GCC warning
...
Make it explicit that we don't want to call any copy constructor but
only casting a reference type.
2025-02-16 13:30:36 +01:00
Le Philousophe
203d724e41
COMMON: Move remove_reference to type-traits.h
...
And remove the duplicate implementation in the Common::Std namespace.
2025-02-16 13:10:07 +01:00
Le Philousophe
d2ec868154
COMMON: Rename Conditional type
...
This now matches what STL does
Also add conditional_t type introduced in C++14.
2025-02-16 13:10:07 +01:00
Le Philousophe
89f632ef39
COMMON: Add add_cv, add_const, add_volatiles constructs
...
And migrate away from the old AddConst
2025-02-16 13:10:07 +01:00
Le Philousophe
95051b52d4
COMMON: Delete RemoveConst construct and move remove_*
...
We already have remove_const which has the same name as the STL
construct.
Move the STL compliant versions to type-traits.h to match STL more and
lighten util.h.
2025-02-16 13:10:07 +01:00
Le Philousophe
e556f54f98
COMMON: Rename type-traits.h to type_traits.h
...
This now matches the STL header
2025-02-16 13:10:07 +01:00
Torbjörn Andersson
332dc109a2
COMMON: FORMATS: Silence signed/unsigned warnings
2025-02-15 22:49:15 +01:00
Eugene Sandulenko
15a870c584
COMMON: FORMATS: Expose QTVR structures to the outer world
2025-02-15 20:08:26 +01:00
Eugene Sandulenko
089c575352
COMMON: FORMATS: Add helper methods for getting QTVR components
2025-02-14 23:08:58 +01:00
Eugene Sandulenko
135366d174
COMMON: FORMATS: added 'cmov' as a valid QTVR hotspot type
2025-02-13 00:57:37 +01:00
Eugene Sandulenko
b00992c0d4
COMMON: FORMATS: Added target track number to QT Track struct
2025-02-04 23:28:04 +01:00
Eugene Sandulenko
afda417473
VIDEO: Fix reading of 'pano' chunk from QTVR and initial panorama construction preps
2025-02-04 01:58:59 +01:00
Eugene Sandulenko
b0ccadb399
COMMON: FORMATS: Added more node types to QTVR
2025-01-31 16:48:59 +01:00
Paul Gilbert
64d7033cbc
HOPKINS: Fix crash using elevator
2025-01-27 14:21:50 -08:00
Eugene Sandulenko
0a6d381b17
COMMON: Initialize Navigation struct in QTVR
2025-01-27 00:20:34 +01:00
Cameron Cawley
99e2cecb41
COMMON: Add a helper to Rect to get the origin point
2025-01-24 08:23:54 +02:00
Le Philousophe
1a4e4c1826
COMMON: Avoid valgrind errors when opening invalid ZIP files
...
Bail out of the function before jumping on values which failed to read.
2025-01-22 19:14:42 +01:00
Vladimir Serbinenko
d31e9e97bb
COMMON: Add PS3 and Nintendo Switch Platforms
2025-01-11 14:20:56 +01:00
Vladimir Serbinenko
3c0a1312a0
COMMON: Allow specifying XMLParser stream name
2025-01-11 14:20:56 +01:00
Vladimir Serbinenko
78859312f8
COMMON: Make Archive listable
...
This allows efficient listing of files in a subdir even if archive has
a large amount of unrelated files.
2025-01-11 14:20:56 +01:00
Orgad Shaneh
cf8022dd27
JANITORIAL: Use default
for span ctors
2025-01-03 09:30:16 +02:00
Orgad Shaneh
c9c2ffd88b
JANITORIAL: Require semicolon after COMMON_SPAN_TYPEDEFS macro use
2025-01-03 09:30:16 +02:00
Le Philousophe
5f720aba7c
COMMON: Remove undefined behaviours from RNC decoder
...
Shifting an amount of 16 on a 16 bits variable is UB.
Make the variables larger to not fall inside it and avoid branches.
2024-12-27 22:16:35 +02:00
Filippos Karapetis
30d6e9452c
Common: Simplify check and fix formatting
2024-12-20 14:03:20 +02:00
tunnelsociety
30661a9f07
COMMON: Avoid passing nullptr to memcpy in MemoryReadStream read()
...
Even with dataSize=0, this is undefined behaviour.
What caller would pass in nullptr? UBSan caught this happening in a
FreeType callback, for example.
2024-12-19 22:51:20 +02:00
Cameron Cawley
9da6a28515
COMMON: Reduce the amount of memory needed by translations
2024-12-10 13:43:55 +02:00
Cameron Cawley
234dc99fd3
RISCOS: Don't encode path when it's not needed
...
Also disable atomic support as it may fail to write when file names are
long.
2024-12-04 22:41:14 +00:00
Cameron Cawley
e8131bcc5c
COMMON: Fix uninitialised variable in Path::punycodeNeedsEncode()
2024-12-04 22:36:47 +00:00
Cameron Cawley
4d7a2439b1
COMMON: Reduce duplication in the StringTokenizer classes
2024-11-29 03:14:24 +02:00
Cameron Cawley
e31b6ea8a7
COMMON: Unified implementation of constructing strings with single characters
2024-11-29 01:16:55 +02:00
Cameron Cawley
58a9aa6a2c
COMMON: Deprecate U32String constructors that accept a uint32 array
2024-11-29 01:14:36 +02:00