Eugene Sandulenko
25577d4702
COMMON: Improved debug output for dumping archives
2024-05-24 18:29:08 +02:00
scemino
4325e2db00
COMMON: Add a log watcher
2024-05-24 12:39:29 +02:00
Le Philousophe
b8e08ff2a0
COMMON: Fix Path::baseName
...
When baseName was called with a base name path but escaped, unescape was
called with the escaping marker while this is not allowed.
2024-05-19 21:18:34 +02:00
Eugene Sandulenko
0a034af1b2
COMMON: Get rid of global constructor
2024-05-18 14:00:17 +02:00
Hubert Maier
fe62b967c3
JANITORIAL: Fix sucess typo in variable in liolib.cpp
2024-05-18 13:52:31 +02:00
Hubert Maier
14ca629215
JANITORIAL: Fix ressurect typo in lfunc.cpp
2024-05-18 13:52:31 +02:00
Hubert Maier
f154f5ab3d
JANITORIAL: Fix funtion typo in ldo.h
2024-05-18 13:52:31 +02:00
Hubert Maier
6788532cf3
JANITORIAL: Fix neccessarily and responsiblity typos in system.h
2024-05-18 13:52:31 +02:00
Hubert Maier
ec7d5f538d
JANITORIAL: Add apostrophe to seek'ed to distinguish between command and typo in stream.cpp
2024-05-18 13:52:31 +02:00
Hubert Maier
6bd015a042
JANITORIAL: Fix managment typo in str.h
2024-05-18 13:52:31 +02:00
Hubert Maier
e72abcbc26
JANITORIAL: Fix comparision typo in str-base.cpp
2024-05-18 13:52:31 +02:00
Hubert Maier
a56c9f6f43
JANITORIAL: Fix extremly typo in stack.h
2024-05-18 13:52:31 +02:00
Hubert Maier
39f3b632d5
JANITORIAL: Fix refering typo in ptr.h
2024-05-18 13:52:31 +02:00
Hubert Maier
a7e01b0d31
JANITORIAL: Fix comparision typo in path.h
2024-05-18 13:52:31 +02:00
Hubert Maier
b73454d417
JANITORIAL: Fix auxillary typo in mutex.h
2024-05-18 13:52:31 +02:00
Hubert Maier
c41d8330dc
JANITORIAL: Fix caluclate typo in macresman.h
2024-05-18 13:52:31 +02:00
Hubert Maier
48dcfe2305
JANITORIAL: Fix beeing typo in dialogs.h
2024-05-18 13:52:31 +02:00
Hubert Maier
e755a276d2
JANITORIAL: Fix continously typos in coroutines.h
2024-05-18 13:52:31 +02:00
Scott Percival
0bbed1793e
COMMON: Silence FSDirectory::createReadStreamForMemberAltStream warning
...
Components such as Common::MacResManager call this method to check if an
alternate stream exists; a null response is valid, so move this to the
debug log.
2024-05-12 22:00:19 +02:00
Little Cat
267bfc9d03
COMMON: Base64 string validation.
2024-05-12 15:08:27 +02:00
Little Cat
6b80c4c581
COMMON: Add Base64 encoding/decoding
2024-05-12 15:08:27 +02:00
Paul Gilbert
08bb30ea61
BAGEL: Created an engine data file for STRIP_POINTS array
2024-05-05 13:27:01 +02:00
Paul Gilbert
cf4b595166
MM: Move engine_data.cpp into Common namespace
2024-05-05 13:27:01 +02:00
Cameron Cawley
0ff6909fbd
COMMON: Remove deprecated SeekableSubReadStreamEndian class
2024-05-03 23:52:36 +02:00
scemino
936109fe4f
BACKENDS: Update ImGui callbacks in OSystem and fix engines
2024-05-03 20:25:01 +02:00
scemino
8e07681356
BACKENDS: Update setImGuiRenderCallback in OSystem
2024-05-03 20:04:30 +02:00
Le Philousophe
3822d9d644
BACKENDS: Move setImGuiRenderCallback in OSystem and hide implementation
...
This avoids dynamic casts and having a variable defined in
backends not supporting ImGui
2024-04-28 21:48:10 +02:00
PushmePullyu
3902c07d74
COMMON: Use matchPathComponents param in FSDirectory::listMatchingMembers
2024-04-24 20:46:00 -07:00
Giovanni Cascione
a72296be87
COMMON: clear mappedEvents list only if empty
2024-04-25 01:05:46 +02:00
elasota
319c0f98ab
COMMON: Fix readMultiple not compiling.
2024-04-01 08:32:52 +03:00
D G Turner
4f271d76f5
COMMON: Forbid strlwr() and strupr() Usage
...
These functions are often present, but not reliably portable.
They are not defined in ANSI C and were non-standard defined in older
versions of Microsoft C.
These are better replaced with Common::String.toLowercase() and
Common::String.toUppercase() if needed.
2024-03-09 21:38:18 +02:00
D G Turner
72db454796
COMMON: Forbid itoa() and uitoa() Usage
...
These functions are often present, but not reliably portable.
They are not defined in ANSI C and while they are likely present in
the stdlib.h, the exact behaviour especialy for invalid inputs can
vary.
Replacing usage of these functions in engines with Common::String::format()
is recommended.
2024-03-09 21:38:18 +02:00
scemino
c7a24e15bc
COMMON: Change BTEACrypto class to namespace
2024-03-07 20:08:26 +01:00
scemino
2423ba3ed6
TWP: Move btea to common
2024-03-07 20:08:26 +01:00
Giovanni Cascione
3b466e65be
COMMON: move mappedEvents declaration out of for loop
2024-03-02 14:10:13 +02:00
elasota
84fe1e2018
COMMON: Add multi-data IO templates and multi-value IO functions to streams
2024-02-27 17:13:35 +01:00
Torbjörn Andersson
18ff31bc92
COMMON: Flag some Path functions as WARN_UNUSED_RESULT
...
This would have caught the recent Hopkins regression. It also warns
about a few other things at the moment, so that has to be looked into at
some point.
2024-02-09 18:54:54 +01:00
Le Philousophe
aceaf99816
COMMON: Fix bug #14892
...
When both paths were equal, suffix was incremented one char too much and
went off the string.
Add test cases to check for this.
2024-02-02 08:06:59 +01:00
Josu Igoa
74763d28dd
COMMON: Add basque language
2024-01-30 11:49:53 +03:00
Le Philousophe
61b267759a
COMMON: Use hashit, hashit_lower, equalsIgnoreCase on Path string
...
This change should be safe as our escape system doesn't mess with case.
In addition, we compare underlying strings to check equality so hashing
its content should work too.
2024-01-20 23:20:55 +01:00
Kaloyan Chehlarski
b89b946e7d
COMMON: Allow extracting delimiter info from Tokenizer
...
Extended the StringTokenizer and U32StringTokenizer
classes with functions that provide the caller with a list
of all delimiters surrounding the last processed token.
2024-01-16 23:31:13 +02:00
Le Philousophe
e51e93c3de
COMMON: Fix DumpFile path creation at opening
...
Path rework broke it badly
2024-01-15 18:52:36 +01:00
Le Philousophe
5b4e26322e
COMMON: Don't fail when comparing empty strings
...
Add tests for this.
2024-01-14 14:06:41 +01:00
Le Philousophe
4f1ccf0ef7
COMMON: Fix fromConfig not using the fixed path under Windows
...
Instead of using value_ it uses the untouched value.
2024-01-13 17:57:57 +01:00
Cameron Cawley
7b025fb6f2
COMMON: Fix compilation with 32-bit Visual Studio
2024-01-09 09:52:55 +00:00
Cameron Cawley
f7c2d14587
COMMON: Move all find and replace functions into BaseString
2024-01-08 23:39:22 +01:00
Cameron Cawley
35125f5509
COMMON: Use more standard library functions in String classes
2024-01-08 23:39:22 +01:00
Cameron Cawley
0a4fec83c0
COMMON: Improve removing characters from strings
2024-01-08 23:39:22 +01:00
Cameron Cawley
a8183c7734
COMMON: Insert all characters in one go with String::insertString()
2024-01-08 23:39:22 +01:00
Cameron Cawley
dce0f057ec
COMMON: Optimize U32String::vformat a bit by appending chars instead of inserting them
2024-01-08 23:39:22 +01:00