Commit graph

162 commits

Author SHA1 Message Date
Leon Styhre
2fe11bd827 A few fixes for the Emscripten WebAssembly build. 2022-03-15 17:17:56 +01:00
Leon Styhre
6b095bde05 (Windows) Fixed some compiler errors. 2022-03-14 20:29:25 +01:00
Leon Styhre
d8b99b1dff Escaped some characters needed to get emulator wildcards to work with certain directories. 2022-02-21 19:05:29 +01:00
Leon Styhre
da802aec61 Added emulator filename wildcard support for es_systems.xml and es_find_rules.xml 2022-02-21 17:23:23 +01:00
Leon Styhre
fabc18a680 Updated the StringUtil::replace function to avoid potential endless loops. 2022-02-21 17:14:51 +01:00
Leon Styhre
ee1a0f7cd3 Added support for using the tilde symbol for ROM path tags in es_systems.xml 2022-02-16 19:32:02 +01:00
Leon Styhre
e6d6f3252f Improved the StringUtil::toCapitalized function. 2022-02-10 21:56:02 +01:00
Leon Styhre
6db671de3d Added support to TextComponent for lowercase and capitalized text conversions.
Also changed camelCase to capitalized and textStyle to letterCase in various places.
2022-02-09 20:44:22 +01:00
Leon Styhre
0c8efee8ad General refactoring and code cleanup. 2022-01-16 18:18:28 +01:00
Leon Styhre
8a6652552f Set the clang-format option SpaceBeforeCpp11BracedList to true. 2022-01-16 12:09:55 +01:00
Leon Styhre
73beeeaeaf Fixed two Emscripten compiler warnings. 2022-01-13 20:07:04 +01:00
Leon Styhre
a233b96c2a Removed some unnecessary typedefs and replaced the remaining ones with the more modern 'using' keyword.
Also harmonized the names of some user defined types and made some other minor cleanup.
2022-01-11 21:57:00 +01:00
Leon Styhre
d45a67eeab (Windows) Fixed a few compiler errors and warnings. 2022-01-10 19:53:23 +01:00
Leon Styhre
b4e08ba92b Renamed Platform to utils/PlatformUtil 2022-01-10 18:56:04 +01:00
Leon Styhre
5fd2c86c7d Fixed an issue where corrupt Unicode strings could crash the application. 2021-12-14 17:08:37 +01:00
Leon Styhre
a4f8fe78e1 Fixed a time zone issue related to the Unix epoch. 2021-11-26 20:55:54 +01:00
Leon Styhre
af52d9b0ac Changed most increment and decrement operators from postfix to prefix for es-core. 2021-11-17 17:48:49 +01:00
Leon Styhre
043db7e05e (RPi) Fixed a crash by null terminating the Unicode lookup tables. 2021-11-11 22:41:13 +01:00
Leon Styhre
39926abc41 Some very small optimizations in CImgUtil. 2021-11-09 22:57:15 +01:00
Leon Styhre
019c764d93 Fixed a compiler warning on BSD Unix. 2021-10-06 18:47:30 +02:00
Leon Styhre
08888e00af Clarified the use of bundled include files. 2021-10-06 18:41:21 +02:00
Leon Styhre
3233288a8c Improved the string trim function and replaced some inlined occurrences. 2021-09-25 18:01:41 +02:00
Leon Styhre
be62e8fc5d Proper fix for the last commit. 2021-09-23 17:54:27 +02:00
Leon Styhre
1d07879868 Fixed a compiler warning. 2021-09-23 17:49:59 +02:00
Leon Styhre
dd8f5afdf4 (Windows) Fixed some compiler errors and a compiler warning. 2021-09-19 14:57:54 +02:00
Leon Styhre
63767347f2 Fixed numerous compiler warnings reported by the -Wall and -Wpedantic flags. 2021-09-19 14:37:10 +02:00
Leon Styhre
0b6d987263 Fixed lots of compiler warnings reported by the -Wall and -Wpedantic flags. 2021-09-18 09:53:26 +02:00
Leon Styhre
42458a7d76 Very minor code cleanup. 2021-09-17 21:10:16 +02:00
Sophia Hadash
b9b3e35e09 reformat toCamelCase. 2021-08-23 15:02:56 +02:00
Sophia Hadash
dfffd1057d Add help component theme options textStyle. 2021-08-23 12:58:06 +02:00
Leon Styhre
192bec6f5c Added a function to generate MD5 hashes. 2021-08-18 21:03:25 +02:00
Leon Styhre
816d79c32f (Windows) Silenced some MSVC compiler warnings related to the C++17 language standard. 2021-08-18 18:58:43 +02:00
Leon Styhre
12c853bc31 Moved the remaining math functions to a math utility namespace. 2021-08-17 22:11:16 +02:00
Leon Styhre
7b5d673050 Replaced the internal Vector2i data type and functions with the GLM library equivalent.
Also applied some code formatting changes for braced lists using clang-format.
2021-08-17 18:41:45 +02:00
Leon Styhre
23fdc00044 Formatted the es-core source tree using clang-format. 2021-07-07 20:31:46 +02:00
Leon Styhre
05990d0457 Moved most CImg functions from MiximageGenerator to a new utility module. 2021-06-12 20:05:28 +02:00
Leon Styhre
89c845b4d5 (Windows) Fixed a compiler error and two warnings. 2021-05-30 20:52:19 +02:00
Leon Styhre
4533409c65 Substantial code cleanup of various utility functions. 2021-05-30 20:46:17 +02:00
Leon Styhre
4ff95c4ddf (Unix) Changed the default installation prefix from /usr/local to /usr on Linux.
Also changed the prefix on NetBSD from /usr/local to /usr/pkg.
2021-04-02 12:12:49 +02:00
Leon Styhre
d041bda5cf (Windows) Fixed two MSVC compiler warnings. 2021-03-15 17:22:45 +01:00
Leon Styhre
f35e3c2e65 (Windows) Fixed the symbolic link support. 2021-03-15 17:18:33 +01:00
Leon Styhre
72fcef8428 Made the delimited string functions in StringUtil more general. 2021-02-06 09:30:05 +01:00
Leon Styhre
b1b58fe90c Added some additional error logging. 2021-02-01 22:06:28 +01:00
Leon Styhre
4305c211eb (Windows) Fixed an issue where directory deletions would be incorrectly reported as failed. 2021-01-31 20:30:43 +01:00
Leon Styhre
c63fc39e8d Added a function to delete directories. 2021-01-31 19:55:57 +01:00
Leon Styhre
f949d8dde0 Fixed a Clang compile error. 2021-01-28 21:16:03 +01:00
Leon Styhre
4d8b0deb9b Added support for converting two-byte Unicode characters to uppercase and lowercase. 2021-01-28 19:38:27 +01:00
Leon Styhre
8f32be00b4 Some general code cleanup. 2021-01-25 18:07:11 +01:00
Leon Styhre
8173ccda80 Moved the first character extraction function to StringUtil. 2021-01-23 16:25:53 +01:00
Leon Styhre
c747416071 Changed from localtime to the more secure localtime_r and localtime_s functions. 2020-12-29 13:44:13 +01:00