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
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
debf072a0e
Rewrote some code from C to C++
2020-12-16 23:59:00 +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
ab87063770
Added case insensitive sorting option to some StringUtil functions.
2020-10-22 21:14:15 +02: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
3ae0726d1a
Improvements to the date and time handling.
2020-08-02 15:56:32 +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
Leon Styhre
57d6dab2cc
Some cosmetic code changes.
2020-07-13 20:58:25 +02:00
Leon Styhre
472a973f66
Added %ESPATH% variable support and fixed some other minor issues with the launch command.
2020-07-10 20:58:53 +02:00
Leon Styhre
3cad68be13
Added %EMUPATH% logic for Unix.
2020-07-10 19:53:33 +02:00
Leon Styhre
31da561695
Complete UTF-16 (Unicode) support added for Windows.
...
ROM names with Unicode characters are supported, as well as running ES from a directory that has Unicode characters in its name.
2020-07-10 18:32:23 +02:00
Leon Styhre
adb5cb6664
Made the es_systems.cfg template install to the home directory during the first application startup.
2020-07-09 19:26:48 +02:00
Leon Styhre
5a7fb828a6
Added proper error handling for resource files and improved overall logging.
2020-07-08 17:01:47 +02:00
Leon Styhre
2bea3021c3
Added proper emulator launch function for Windows and added logic for the new %EMUPATH% variable.
2020-07-07 21:27:48 +02:00
Leon Styhre
76aa239855
Initial update to make the application build and run on Windows.
...
Much more work will be needed to get the Windows port working properly.
2020-07-03 20:23:51 +02:00
Leon Styhre
0387d515fb
Update to fully support Clang/LLVM.
...
Also a general cleanup of CMakeLists.txt and many small code changes to satisfy Clang that complained quite a lot and actually wouldn't compile the binary at all at first.
2020-06-25 19:52:38 +02:00
Leon Styhre
fb4c5708b7
Made pugixml an external dependency and fixed the cmake/cpack installation and package creation.
...
As pugixml seems to be well supported nowadays and seems to ship with most distributions it's pretty pointless to keep bundling it with EmulationStation.
2020-06-24 17:38:41 +02:00
Leon Styhre
6b62065595
Large code cleanup and code documentation update.
...
The initial code cleanup of es-app is now complete as of this commit.
2020-06-23 20:07:00 +02:00
Leon Styhre
672026632d
Code cleanup and code documentation
2020-06-22 17:27:53 +02:00
Leon Styhre
b560429a20
Moved the CMake install prefix function to FileSystemUtil and implemented the same logic also for theme loading.
2020-06-21 21:08:54 +02:00
Jools Wills
ef186e7bd6
Merge pull request #624 from Teklad/reliable-exe-path
...
Use platform-specific methods for setExePath
2019-12-19 03:33:45 +00:00
Justin Kinnaird
08335841be
Use platform-specific methods for exePath
2019-12-18 21:28:01 -06:00
Cristi Mitrana
dc94060e7e
getGenericPath: don't remove trailing '/' when path is '/'.
...
This prevents 'getAbsolutePath' to get into a loop with an empty path and EmulationStation to crash when the `$CWD` is `/`.
2019-12-09 20:06:49 +02:00
John Rassa
961571655b
Grid updates. Animate scrolling option, autoLayout option, center selection option, scroll loop option, image source option
2019-09-21 19:38:57 -04:00