3998 Commits

Author SHA1 Message Date
Cameron Cawley
330346d3be COMMON: Change Common::Language and Common::Platform to use a smaller type 2022-08-23 21:45:29 +03:00
Cameron Cawley
5a069277f9 COMMON: Add a range-based version of Common::Array::erase() 2022-08-22 20:28:53 +03:00
Le Philousophe
111d259015 ALL: Add limits.h for all codebase 2022-08-22 15:38:10 +02:00
Orgad Shaneh
2e441b12e6 COMMON: Fix compiler warning on Win64
Amends 7d4d135b99d7454b2f4d3a8c25e0ed47828a759f.
2022-08-12 17:06:21 +03:00
Cameron Cawley
7bd5497dfe COMMON: Add Common::Pair 2022-08-12 00:27:15 +03:00
Eugene Sandulenko
7d4d135b99
COMMON: Add sanity checks to MacResManager::readMap() 2022-08-08 02:06:08 +02:00
Eugene Sandulenko
74c253bef8
COMMON: Some programs store AppleDouble files in *.rsrc. Check for that 2022-08-08 02:05:06 +02:00
elasota
e5881d3621 COMMON: Uninit field cleanup 2022-08-06 11:30:43 +02:00
Donovan Watteau
27f9a460b5 JANITORIAL: Fix "the the" and similar typos 2022-07-29 19:36:40 +03:00
Eugene Sandulenko
30f3e0eceb
COMMON: Get accessor methods to the platform and language lists 2022-07-22 15:03:48 +02:00
athrxx
dd39b406c0 COMMON: add CGA b/w render mode
(for SCUMM v1)
2022-07-11 18:16:23 +02:00
athrxx
bd1f3ff984 COMMON: add CGA Composite render mode
(for SCUMM v1)
2022-07-10 01:04:38 +02:00
Cameron Cawley
c72b59c8a8 COMMON: Add GUIO10, GUIO11 and GUIO12 2022-07-07 23:46:04 +03:00
D G Turner
d136adedd9 COMMON: Fix Signed vs. Unsigned Comparison Warnings in Punycode 2022-07-05 21:52:28 +01:00
Eugene Sandulenko
b0d722473b
COMMON: Process common suffixes for punycoded strings 2022-07-05 15:13:08 +02:00
Eugene Sandulenko
b84b8ac53c
JANITORIAL: Use C++-style comments 2022-07-05 14:21:12 +02:00
Eugene Sandulenko
c9d88ac756
COMMON: Do not crash on malformed punycode strings 2022-07-05 14:16:55 +02:00
Avijeet
a662df81c7 COMMON: Rename TI99 platform 2022-07-02 15:17:53 +02:00
Avijeet
4d66e735ba COMMON: Add new platform TI-99/4A 2022-07-02 15:17:53 +02:00
elasota
2cad62a6ec COMMON: Add string encoding API with more detailed error behavior. 2022-07-02 12:53:50 +02:00
Marcus Comstedt
52cee62a64 COMMON: Fix reading and writing of doubles when native double is 32-bit 2022-07-02 12:49:22 +02:00
Cameron Cawley
0d37729ff7 COMMON: Fix reading and writing doubles from streams with older ARM toolchains 2022-07-02 12:49:22 +02:00
Cameron Cawley
34057b773e COMMON: Remove the MIPS byteswap functions 2022-07-02 12:41:22 +02:00
Cameron Cawley
56986e337c COMMON: Use compiler intrinsics in SWAP_BYTES_16 when available 2022-07-02 12:41:22 +02:00
Le Philousophe
4ab044a254 OPENGL: Merge both OpenGL contexts 2022-06-26 18:32:10 +02:00
Avijeet
ab207d9e7c COMMON: Add new platform ZX Spectrum 2022-06-24 15:27:17 +02:00
eientei
fa3e3025bf DEVTOOLS: COMPANION, COMMON: Add DEL character to be punycoded 2022-06-24 13:45:34 +02:00
Thierry Crozat
63cef724f8 COMMON: Fix mapped events being dispatched twice 2022-06-19 02:12:34 +01:00
Cameron Cawley
cb3a024589 COMMON: Allow registering multiple event mappers 2022-06-18 23:13:17 +02:00
elasota
a4c8fb1b85 MTROPOLIS: Add support for QuickTime ranges, fix Obsidian Bureau light carousel triggering without interaction. 2022-06-16 21:58:09 +02:00
elasota
6e53185f52 MTROPOLIS: Initial movie element support 2022-06-16 21:58:09 +02:00
elasota
349bfa9694 MTROPOLIS: Plug-in base work, add Mac Obsidian support 2022-06-16 21:58:09 +02:00
athrxx
cdf19e6376 COMMON: fix CP950 encoding regression
(I somehow managed to mess up the CP950 encoder  with some wrong copy/pasting in b5079ca )
2022-06-13 20:06:12 +02:00
athrxx
05b9df0821 KYRA: (LoK/KOR) - make use of new Johab string encoding 2022-06-13 19:38:51 +02:00
athrxx
b5079ca5c7 COMMON: add Korean Johab string encoding 2022-06-13 19:38:47 +02:00
athrxx
1ffdbee49d COMMON: fix memory leak (free CJK tables) 2022-06-13 01:36:08 +02:00
antoniou79
07c1e5cc2a GUI: Fix thumbnails for event recorder dialogue
Also prevent segmentation fault cases related to low-res or switching from low-res to hi-res

And fix memory leak related to loading and scaling of the thumbnail image

A lot of the updated logic is borrowed from the saveload-dialog.cpp for the simple list view (with the thumbnail to the right of the list).
2022-06-12 15:08:01 +02:00
Donovan Watteau
4567f1b176 DINGUX: Only evaluate the toupper() macro argument once
toupper() callers should avoid putting a side-effect expression there, but
in practice it sometimes happen, so making the macro safer can't hurt.

This uses a GCC statement expression, but this port only uses GCC
anyway.
2022-06-12 10:30:04 +02:00
D G Turner
8c359e6ec9 COMMON: Fix Copy Constructor GCC Warning in 80-bit Float Class 2022-06-09 00:04:13 +01:00
eientei
2d3661052b COMMON: Add Android to Platform Header 2022-06-08 11:43:09 +02:00
Eric Lasota
a90a1a0aed
COMMON: Move 80-bit float parsing from Director to Common (#3953) 2022-06-03 21:28:17 +02:00
Eugene Sandulenko
699747bb14
COMMON: Added more debug output to XMLParser 2022-06-03 12:36:59 +02:00
elasota
19c3f539a7 COMMON: Add comparison to nullptr to SharedPtr 2022-06-02 18:39:54 -07:00
grisenti
8fccaf89ff ALL: add support for enable-gs and fix bugs 2022-05-29 13:56:21 +02:00
grisenti
c0acb85605 ALL: add support for --savepath command 2022-05-29 13:56:21 +02:00
Eugene Sandulenko
5e05f93f36
ALL: Remove Symbian port 2022-05-28 12:32:29 +02:00
Donovan Watteau
b9d3282ed6 COMMON: Remove workaround comment about GCC 2.95.3
GCC 2.95.3 has no C++11 support, so there's no point in referencing
it anymore.

The SYNC_AS() lines could be moved back to the end of the class
declaration, but it still seems fine where it is, so just remove the
workaround comment.
2022-05-25 19:07:30 +03:00
Donovan Watteau
4ac33a72c2 MATH: Just look for a GCC compatible compiler for __builtin_clz()
There's no need to check for GCC 3.4+ anymore, since we always require
a C++11 compiler.  Just look for __GNUC__, since this is an old
builtin and Clang always has it too.

Also #undef the LT() temporary macro while there, so that it can't
pollute something else by accident, since it's a short macro name in
a header file.
2022-05-25 19:07:30 +03:00
Donovan Watteau
5ebd9b8d23 BUILD: Remove/simplify GCC_ATLEAST() calls when they targeted pre-C++11 compilers
C++11 is now required, so there's no point in checking for pre-C++11
versions of GCC anymore.  Note that Clang defines __GNUC__ too, but
always reports itself as GCC-4.2.1-compatible (and, in practice, the
earliest C++11-compatible versions of Clang will also be have most
GCC 4.8 features).
2022-05-25 19:07:30 +03:00
Thierry Crozat
f2849282a6 Common: Add functions to decompose a Path into its components 2022-05-24 00:38:02 +02:00