Eugene Sandulenko
bc6b225eed
COMMON: Include <limits> by default
...
We discussed it in https://github.com/scummvm/scummvm/pull/3966 , so
std::numeric_limits is OK to use in the ScummVM codebase.
2023-06-05 17:17:19 +02:00
grisenti
7698d18a9b
COMMON: Fix StableMap API to conform to std::map
2023-06-03 23:23:09 +02:00
grisenti
b8f7e9416b
COMMON: Remove unused method in Common::RBTree
2023-06-03 23:11:03 +02:00
grisenti
09db135b3a
COMMON: Fix documentation for Common::RBTree
2023-06-03 23:09:19 +02:00
grisenti
40d305c92b
COMMON: Improve documentation for Common::StableMap
2023-06-03 23:08:18 +02:00
grisenti
deb22d6bc1
COMMON: Improve documentation for Common::RBTree
2023-06-03 22:39:10 +02:00
grisenti
88062119f9
COMMON: Fix documentation for lower/upperBound
2023-06-01 23:18:12 +02:00
grisenti
9380f2f7da
COMMON: Improve documentation for lower/upperBound
2023-06-01 19:10:59 +02:00
grisenti
4248f351f3
COMMON: add upperBound and lowerBound to algorithm
2023-06-01 18:28:01 +02:00
hax0kartik
b8f6af8dfe
COMMON: Update documentation for Common::remove()
2023-06-01 16:32:03 +02:00
hax0kartik
698bb261d1
COMMON: Add remove() to algorithm
2023-06-01 16:32:03 +02:00
hax0kartik
9be3246a3e
COMMON: Fix operator[] of StableMap
2023-05-31 08:09:14 +02:00
grisenti
2c2cc1720b
COMMON: Add std::map and std::multimap replacements
...
moved from hpl1/std
2023-05-30 19:14:04 +02:00
elasota
6823514318
COMMON: Add Bulgarian language code
2023-05-29 23:50:15 +02:00
elasota
0e99ed1ad1
COMMON: Add Rect constructor that accepts a top-left coordinate, width, and height
2023-05-27 11:10:18 +03:00
elasota
bf087e4ad3
COMMON: Add Rect constructor that accepts top-left and bottom-right coordinates as points
2023-05-27 11:10:18 +03:00
Vladimir Serbinenko
9874d200c8
COMMON: Fix logic error in macresman
2023-05-20 14:32:53 +02:00
elasota
3adb30e4bf
COMMON: Avoid makeUnique on string if trim wouldn't modify it.
2023-05-14 23:07:32 +02:00
elasota
ee758dee53
BACKENDS: Undo some formatting-only changes.
2023-05-14 22:42:59 +02:00
elasota
6c8ceeae25
BACKENDS: Refactor some things to make getDoubleClickTime behavior with event recorder simpler.
2023-05-14 22:42:59 +02:00
elasota
74ddbe5eaa
BACKENDS: Add double-click time feature to support OS-configurable double-click intervals, implement it for Windows.
2023-05-14 22:42:59 +02:00
Vladimir Serbinenko
31b150d7a0
COMMON: Make BitArray::get const
2023-05-14 20:32:38 +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
Vladimir Serbinenko
088b14a83a
COMMON: Add function to open data fork from macbinary stream
2023-05-10 22:44:04 +02:00
Vladimir Serbinenko
f9b6669241
COMMON: Add DBCS-oriented variant of String
2023-05-10 13:18:54 +02:00
Einar Johan Trøan Sømåen
c1eedd42c5
COMMON: Make the Common::String()/U32String() constructor constexpr
...
This lets us have constexpr structs/classes that contain Common::String
2023-04-29 13:10:23 +02:00
Einar Johan Trøan Sømåen
6057d12816
COMMON: Make the Common::Rect() / Common::Point() constructor constexpr
...
This lets us have constexpr structs/classes that contain Rect / Point
2023-04-29 13:10:23 +02:00
Einar Johan Trøan Sømåen
f5491c9e65
COMMON: Make the Common::List() constructor constexpr
...
This lets us have constexpr structs/classes that contain Common::List
2023-04-29 13:10:23 +02:00
Einar Johan Trøan Sømåen
5b1239eb93
COMMON: Make the Common::Array() constructor constexpr
...
This lets us have constexpr structs/classes that contain Common::Array
2023-04-29 13:10:23 +02:00
Eugene Sandulenko
7c59a77aca
COMMON: Added string splitter to StringTokenizer class
2023-04-23 16:20:37 +02:00
Kaloyan Chehlarski
d99d325747
COMMON: Detect obfuscated and invalid files in InstallShield cabs
...
Files marked as invalid are now ignored in all IS versions. Trying to
extract an obfuscated file now results in a warning instead of just failing.
2023-04-09 13:02:30 +02:00
Kaloyan Chehlarski
ba11cf87cd
COMMON: Fix incorrectly marked split files in InstallShield cabinets
2023-04-09 13:02:30 +02:00
Kaloyan Chehlarski
6efa793a25
COMMON: Fix InstallShield v5 file list reading
...
Fixed the InstallShield archive code to correctly load the file list in
multi-cabinet v5 archives.
2023-04-09 13:02:30 +02:00
Kaloyan Chehlarski
9fb08caa4e
COMMON: Upgrade InstallShield archive code
...
Added support for files split across volumes, and for multi-volume
v5 archives to the InstallShield cabfile code.
2023-04-09 13:02:30 +02: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
Antoniou Athanasios
fd5a5a2156
KEYMAPPER: Add HAT AXIS (DPAD as movement) to hw input
...
Also add it in JoystickAxis enum of common/events
Many gamepads have HATs instead of DPAD buttons, ie. they send movement events instead of button presses for the DPAD directions
2023-04-04 22:16:24 +03:00
Eugene Sandulenko
47a1a1b86c
COMMON: Make punycode warnings more useable
2023-04-01 18:29:41 +02:00
antoniou79
093f7d1cd6
KEYMAPPER: Add DPAD_CENTER as hardware input source
...
And define an event for it as a JoystickButton
Some controllers produce this key press with their DPAD, typically to select and interact with options.
See: https://developer.android.com/develop/ui/views/touch-and-input/game-controllers/controller-input
Fire TV remote controller is such a contoller.
see: https://developer.amazon.com/docs/fire-tv/remote-input.html
2023-03-30 01:12:52 +02:00
Eugene Sandulenko
b2e6c74eff
I18N: Added more explanations to the render modes
2023-03-26 17:42:20 +02:00
Eugene Sandulenko
8e2f765223
OSYSTEM: Expose getDefaultLogFileName() via OSystem
2023-03-25 14:48:56 +01:00
Thierry Crozat
4885225174
COMMON: Move autorun detection code to OSystem::updateStartSettings()
2023-03-24 21:11:50 +01:00
Thierry Crozat
c8ce35075a
COMMON: Add updateStartSettings() method to OSystem
...
This lets backend customize the start settings. For example
they can auto-start a game under some circumstances.
2023-03-24 21:11:50 +01:00
antoniou79
d6b2f6850a
ANDROID: Revert "ANDROID: Support FireTV remote"
...
This reverts commit 16f626401e
It was accidentally pushed, while not being ready yet.
2023-03-22 22:19:58 +02:00
Antoniou Athanasios
16f626401e
ANDROID: Support FireTV remote
2023-03-22 21:46:48 +02:00
Eugene Sandulenko
a542d6cad7
COMMON: Comment out unused variable
2023-03-17 16:58:44 +01:00
elasota
f8e85e9e4b
COMMON: Add ability to disable valueless line warning in INI files.
2023-03-16 15:04:02 +01:00
Donovan Watteau
18ab6803d6
JANITORIAL: Fix various "an" typos in comments
2023-03-16 14:47:28 +01:00
Vladimir Serbinenko
f513d6eee9
COMMON: Support patching clickteam installer and version used by PRCA
2023-03-13 20:17:33 +01:00
Vladimir Serbinenko
6476e55aab
COMMON: Allow memcaching archive to bypass caching part and return a stream
...
It's useful for patchers if they can easily create a stream in some cases but
not others.
2023-03-13 20:17:33 +01:00