Leon Styhre
|
05cfbb55bd
|
Added try/catch statements to a couple of std::filesystem functions in FileSystemUtil
|
2023-08-02 19:32:46 +02:00 |
|
Leon Styhre
|
5705672957
|
Added a getFileSize() function to FileSystemUtil
Also modernized createEmptyFile() to use std::filesystem::path
|
2023-08-02 19:20:50 +02:00 |
|
Leon Styhre
|
3472c6f852
|
Added a FileSystemUtil function to return the system home directory
|
2023-07-31 17:49:58 +02:00 |
|
Leon Styhre
|
66555101bf
|
Added a FileSystemUtil function to create an empty file
|
2023-07-31 17:40:06 +02:00 |
|
Leon Styhre
|
c0ec753dc7
|
Replaced a number of homecooked functions in FileSystemUtil with those from the C++ standard library
|
2023-07-29 19:14:07 +02:00 |
|
Leon Styhre
|
19c8d5bb38
|
(Linux) The esBinary variable is now set correctly when running as an AppImage
|
2023-07-03 17:41:22 +02:00 |
|
Leon Styhre
|
15e5a8b305
|
Added a function to FileSystemUtil to return the ES-DE binary path
Also fixed an issue where the fallback to argv[0] in FileSystemUtil::setExePath() was not working correctly
|
2023-07-02 23:16:39 +02:00 |
|
Leon Styhre
|
b30f8a48d3
|
Fixed an issue where FileSystemUtil::renameFile() did sometimes not provide a return value for if it actually succeeded or not
|
2023-04-02 21:01:28 +02:00 |
|
Leon Styhre
|
ab31eafaca
|
Some code cleanup.
|
2022-12-14 17:30:34 +01:00 |
|
Leon Styhre
|
0d23719fe7
|
(Windows) Fixed an issue where file paths would get escaped with quotation marks even if they did not contain any spaces.
|
2022-07-01 16:32:31 +02:00 |
|
Leon Styhre
|
9df3436d82
|
(Windows) Fixed an issue where symlinking media directories would crash the application.
|
2022-05-07 12:16:31 +02:00 |
|
Leon Styhre
|
2f80d1e578
|
Removed some unnecessary log output when locating emulators when running as a Flatpak.
|
2022-04-27 18:57:17 +02:00 |
|
Leon Styhre
|
7eecf6bb41
|
(Linux) Yet another ugly hack to detect installed emulators when running as a Flatpak.
|
2022-04-27 17:33:43 +02:00 |
|
Leon Styhre
|
a9b17a7375
|
Removed some unreachable directories from the Flatpak path hack.
|
2022-04-26 23:20:47 +02:00 |
|
Leon Styhre
|
b7d3b242fd
|
(Linux) Ugly Flatpak PATH hack.
|
2022-04-26 21:26:25 +02:00 |
|
Leon Styhre
|
a98ba7a42d
|
A check is now done on game launch that emulator binaries are actually files or symlinks.
|
2022-04-24 11:17:51 +02: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
|
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
|
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
|
af52d9b0ac
|
Changed most increment and decrement operators from postfix to prefix for es-core.
|
2021-11-17 17:48:49 +01:00 |
|
Leon Styhre
|
019c764d93
|
Fixed a compiler warning on BSD Unix.
|
2021-10-06 18:47:30 +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
|
0b6d987263
|
Fixed lots of compiler warnings reported by the -Wall and -Wpedantic flags.
|
2021-09-18 09:53:26 +02:00 |
|
Leon Styhre
|
23fdc00044
|
Formatted the es-core source tree using clang-format.
|
2021-07-07 20:31:46 +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
|
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
|
8f32be00b4
|
Some general code cleanup.
|
2021-01-25 18:07:11 +01:00 |
|
Leon Styhre
|
eadeb88ece
|
Fixed a compile error on Unix.
|
2020-12-29 12:58:55 +01:00 |
|
Leon Styhre
|
c95334756d
|
Fixed a lot of MSVC compiler warnings.
|
2020-12-29 12:54:24 +01:00 |
|
Leon Styhre
|
9ec3f19482
|
(Windows) Added support for the MSVC compiler.
|
2020-12-28 23:23:01 +01:00 |
|
Leon Styhre
|
19edfd1690
|
Added support for FreeBSD, NetBSD and OpenBSD.
|
2020-11-26 18:53:00 +01:00 |
|
Leon Styhre
|
0b6dce687e
|
Changed to C++ casts throughout the application.
|
2020-11-17 23:06:54 +01:00 |
|
Leon Styhre
|
cc87084959
|
Fixed a crash when searching recursively through a directory.
|
2020-11-10 22:16:30 +01:00 |
|
Leon Styhre
|
0b6d0bfcd6
|
Improved some logging as well as handling of a missing es_systems.cfg file.
|
2020-10-19 17:28:20 +02:00 |
|
Leon Styhre
|
8db04c5fcb
|
Added SPDX license identifiers to all source files.
|
2020-09-21 19:17:34 +02:00 |
|
Leon Styhre
|
88a5962926
|
Changed '#ifdef' to '#if defined()' throughout the code.
|
2020-08-23 17:04:30 +02:00 |
|
Leon Styhre
|
b0624f2bc9
|
Updates to make the application work correctly (more or less) on macOS.
|
2020-08-18 17:48:21 +02:00 |
|
Leon Styhre
|
ad960b28ac
|
Various updates to make the application compile on macOS.
|
2020-08-17 19:15:05 +02:00 |
|
Leon Styhre
|
9c755f2d0b
|
Fixed a display issue for folders with dots in their names.
|
2020-07-30 15:42:39 +02:00 |
|
Leon Styhre
|
41c3c66eb7
|
(Windows) Added support for setting the root of a drive as the home folder.
This is mostly usable for portable installations, for example on a USB memory stick.
|
2020-07-27 14:23:40 +02:00 |
|
Leon Styhre
|
2b898981cb
|
(Windows) Updated some filesystem functions to support wide character filenames.
|
2020-07-27 13:17:36 +02:00 |
|
Leon Styhre
|
b5485b4ca9
|
Changed log levels from numbers to text.
|
2020-07-26 23:30:45 +02:00 |
|