Commit graph

187 commits

Author SHA1 Message Date
Leon Styhre 4260ecdbfc (Linux and Unix) Made it possible to change the application data directory using the ESDE_APPDATA_DIR environment variable 2024-03-10 14:56:19 +01:00
Leon Styhre a49f22144f (Android) Removed symlink support 2024-03-09 12:30:28 +01:00
Leon Styhre 6bad84a27a Fixed a number of potential issues where SDL_Event unions were not properly initialized 2024-01-05 10:42:28 +01:00
Leon Styhre 83ff89acb2 (Android) Removed support for using the SAF to list directory contents 2024-01-03 17:32:04 +01:00
Leon Styhre d934cfb48f Added support for filtering UTF-8 strings using UTF8-CPP 2024-01-03 17:29:22 +01:00
Leon Styhre 63c21fcea0 (Android) Added support for getting directory listings via the SAF 2023-12-30 17:01:54 +01:00
Leon Styhre 116d73c62a Removed some std::filesystem code
Also fixed an issue with launching emulators not defined via find rules
2023-12-19 17:35:58 +01:00
Leon Styhre a0d636ffb8 Changed the application name to ES-DE in all source file headers 2023-12-16 19:48:25 +01:00
Leon Styhre 946a783100 The .emulationstation directory is now ignored if there is already an ES-DE directory 2023-12-16 12:37:09 +01:00
Leon Styhre 361bf832e1 Changed the application name from EmulationStation Desktop Edition to ES-DE 2023-12-16 12:30:13 +01:00
Leon Styhre 6b0bfbfc09 Changed to a new application data directory structure 2023-12-15 22:35:28 +01:00
Leon Styhre 56ccba81d1 Removed all instances of hardcoded application directory entries
Also changed some source file headers
2023-12-15 18:33:02 +01:00
Leon Styhre 932cb60027 Changed some more FileSystemUtil functions to use std::filesystem facilities 2023-12-14 00:25:08 +01:00
Leon Styhre b72e2a20a8 Changed a number of FileSystemUtil functions to use std::filesystem facilities 2023-12-13 22:04:14 +01:00
Leon Styhre 6bcbd70237 (Android) Changed a variable for the private data directory 2023-12-13 20:07:23 +01:00
Leon Styhre 8571dfe7bf (Android) Implemented a cleaner way of handling the private data directory 2023-12-12 23:21:27 +01:00
Leon Styhre 8403b40d4c Moved some code 2023-12-11 18:23:20 +01:00
Leon Styhre 3ae7bc6b5b (Android) Updated the game launching logic 2023-12-07 18:51:09 +01:00
Leon Styhre d87bb4e3a4 (Android) Resources and themes are now only copied to internal storage after upgrades or for new installations 2023-12-07 18:33:08 +01:00
Leon Styhre a83763c2c3 (Android) Added preliminary support for copying assets to the internal data directory 2023-12-07 18:28:55 +01:00
Leon Styhre 811118d3ee (Android) Added support for launching emulators with scoped storage permissions 2023-12-07 18:22:43 +01:00
Leon Styhre b2e9507b0e (Android) Small change to PlatformUtil 2023-12-07 18:19:34 +01:00
Leon Styhre 25f017d9f8 (Android) Added support for defining a specific Intent action in the find rule configuration 2023-12-07 18:16:38 +01:00
Leon Styhre 310fb6e809 (Android) Added find rules logic and launch command configuration logic
Also did some general refactoring of the emulator launch code
2023-12-07 18:15:04 +01:00
Leon Styhre a09e4096ac (Android) Added preliminary support for requesting storage permissions 2023-12-07 18:10:47 +01:00
Leon Styhre 87a8d5a23a Fixed a few issues reported by scan-build 2023-11-02 12:38:19 +01:00
Leon Styhre 78a4223b8e (Windows) Fixed an issue where Unicode characters in folder names would sometimes crash the application 2023-10-17 23:58:38 +02:00
Leon Styhre 925d1b218b Added event polling when suspending ES-DE on game launch
Also added a ~5 MB log output size limitation for launched games on Unix and macOS
2023-10-16 18:27:46 +02:00
Leon Styhre e3e319f2af Fixed a regression where StringUtil::toCapitalized() stopped working 2023-08-21 17:01:43 +02:00
Leon Styhre fd1da398ac The %STARTDIR% variable could not be combined with running ES-DE in the background while launching games on Linux and macOS 2023-08-16 23:02:38 +02:00
Leon Styhre 88373f06ee Changed two FileSystemUtil functions to use std::filesystem facilities 2023-08-14 19:03:37 +02:00
Leon Styhre de4bd7341f Changed a number of stream operations to open files in binary mode to always get proper Unix line breaks 2023-08-10 23:02:36 +02:00
Leon Styhre 590591d0fb Added a check to MathUtil::md5Hash() to not attempt to hash directories 2023-08-03 20:14:04 +02:00
Leon Styhre 57fffd88b2 Added support to MathUtil::md5Hash() for streaming files in chunks 2023-08-02 20:34:32 +02:00
Leon Styhre c22bdae16e Changed most try/catch statements in FileSystemUtil to actually output the std::filesystem error messages 2023-08-02 20:28:29 +02:00
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 768539e8e7 (Windows) Fixed an issue where attempting to capitalize multi-byte Unicode strings crashed the application if built using the MSVC compiler 2023-07-28 21:46:24 +02:00
Leon Styhre 3b62dc6ee7 (Windows) Fixed an issue where wide string conversions were not done correctly 2023-07-28 21:44:03 +02:00
Leon Styhre 849ed7499b Some minor code cleanup 2023-07-24 16:53:24 +02:00
Leon Styhre c06f598d80 (macOS) Suppressed a compiler warning 2023-07-07 18:32:11 +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 923240aac0 Added options to the miximage generator for how to fit screenshots that do not match the aspect ratio of the miximage frame 2023-07-01 11:15:43 +02:00
Leon Styhre 6bf8c5af46 Added Windows support for the PDF viewer 2023-06-22 21:15:35 +02:00
Leon Styhre e7e3db7f6d Minor change to a error log output in PlatformUtil 2023-06-21 22:44:29 +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