Commit graph

1745 commits

Author SHA1 Message Date
Jools Wills
a0c0b90a72 bump version to v2.11.0 2022-09-18 18:00:03 +01:00
Jools Wills
a885fa262f Merge remote-tracking branch 'retropie/master' into stable 2022-09-18 17:57:18 +01:00
pjft
52c04d7786
Merge pull request #806 from sylt/fix-shutdown-crash
CollectionSystemManager: Fix possible crash in destructor
2022-08-27 21:37:38 +01:00
pjft
b5e1950500
Merge pull request #802 from cmitu/view-bulk-remove-2
ViewController: improves bulk removal of entries
2022-08-26 22:59:38 +01:00
pjft
48b2db560a
Merge pull request #809 from Gemba/fix_num_joystick_assertion
Fixes ES crash after boot on stale SDL joy add/remove events.
2022-08-23 17:13:22 +01:00
pjft
2600ba9bf0
Merge pull request #807 from cmitu/get-the-time
timeutil: fix building with recent `gcc` versions.
2022-08-22 22:00:15 +01:00
Gemba
4ba672b7cd Fixes ES crash after boot on stale SDL joy add/remove events.
This happens whenever a joystick is remved during ES splashscreen. Putting the PR here after initial discussion in forum:

https://retropie.org.uk/forum/topic/33014/failed-assertion-on-connected-joysticks-terminates-emulationstation-on-specific-conditions
2022-08-22 19:11:53 +02:00
pjft
1f756a9adf
Merge pull request #805 from sylt/master
FileSystemUtil: Update path cache when creating new directory
2022-08-22 08:10:31 +01:00
cmitu
5ba5498a62 timeutil: fix building with recent gcc versions.
Included `time.h` to get the declarations of `time_t` and `struct tm`.
Should fix building with `gcc` 12.x.
2022-08-20 17:04:51 +01:00
Richard Eklycke
dc96e7c29e CollectionSystemManager: Fix possible crash in destructor
This could happen if no mCustomCollectionsBundle was initialized.
2022-08-20 16:25:59 +02:00
Richard Eklycke
3feff1c4dd FileSystemUtil: Update path cache when creating new directory
With this fix in place, emulationstation will start up correctly
when there is no ~/.emulationstation directory present.
2022-08-20 15:47:48 +02:00
cmitu
48ef225796 ViewController: improve bulk removal of entries
Added an extra parameter for the `remove` call, hinting that a refresh of the View is not desired.
This skips any `onFileChanged` event called at the end of `remove`, leaving it to the caller to explicitely call the `onFileChanged` method. The skip decreases the time spent in `remove`.

The sole usage - right now - is during the initial built-in collections creation, when the `recent` collection trimming can take a long time when it has >>50 entries.
2022-08-08 18:18:55 +01:00
Jools Wills
86a0823c46
Merge pull request #795 from gizmo98/opengl21
renderer: Add build option for OpenGL 2.1
2022-07-13 14:11:27 +01:00
Stefan
1b239144a1
renderer: Add build option for OpenGL 2.1
Add option USE_GL21 which can be activated with „-DUSE_GL21=On“. Use
OpenGL 1.4 by default for backward compatibility.
2022-06-12 12:20:22 +02:00
pjft
c11b9ec7d1
Merge pull request #794 from cmitu/del2-metadata
gamelists: remove scraped files when removing game
2022-06-02 09:18:28 +01:00
cmitu
df9fa3bcab gamelists: remove scraped files when removing game
Remove thumbnail, video, image and marquee files for a game when the game file is removed. Check for shared assets when deleting the resources, just in case the scraped files are used in another gamelist, for another game.
2022-06-01 18:33:08 +03:00
Jools Wills
7e02b26215
Merge pull request #652 from hhromic/modernise-findsdl2
Modernise SDL2 CMake find module
2022-05-22 20:40:43 +01:00
Jools Wills
6451038d2b
Merge pull request #792 from cmitu/audio-changes
RPI support: split omxplayer build option
2022-05-22 20:40:01 +01:00
pjft
3f47f0b2ad
Merge pull request #793 from cmitu/platform-updates
scrapers: platform updates
2022-05-20 07:55:09 +01:00
cmitu
6bb30ae3bb scrapers: platform updates
Added for scraping:
  * TI-99 (ScreenScraper, TheGamesDB)
  * Dragon32/64 (ScreenScraper)
2022-05-15 07:16:19 +01:00
pjft
7e23edb43d
Merge pull request #790 from obrie/game-select-omx-freeze-alt
Fix race condition between Video component and Scripting events causing ES to freeze
2022-05-13 11:31:11 +01:00
Aaron Pfeifer
0d9cbb6e16 Fix VideoPlayerComponent not handling multiple child processes needed to be reaped when Scripting events are being fired 2022-05-12 21:00:11 -04:00
cmitu
b99e8c21ba RPI support: add a separate omxplayer build option
Modified the build options and source files to enable `omxplayer` for video previews only when the `OMX` option is used.
Updated the build instructions on RPI accordingly and added some notes about the deprecation of the BRCM GPU drivers in RasPI OS 'Bullseye'.

Previously, the `RPI` build option would be used to add both RPI specific audio settings/VRAM limits AND add `omxplayer` support. However, `omxplayer` does not work with the RPI KMS video driver (`vc4-kms-v3d`) or with a 64bit RPI system, due to the lack of OpenMAX (OMX) API support.
The new RasPi OS ('bullseye') has made the KMS driver the default [1] and doesn't offer `omxplayer` anymore (considered deprecated [2]).

Splitting the OMX support from the RPI option allows to set some default values for RPI systems without automatically adding the `omxplayer` bits.

[1] https://www.raspberrypi.com/news/raspberry-pi-os-debian-bullseye/
[2] https://github.com/popcornmix/omxplayer/commit/1f1d0ccd65
2022-05-07 17:54:05 +01:00
pjft
25971d2989
Merge pull request #791 from cmitu/fixup1
guis: fix wrong dialog title for video resolution
2022-05-02 08:49:18 +01:00
cmitu
4e70a24928 fix wrong dialog title 2022-05-01 07:08:08 +01:00
Jools Wills
3d22c283d8 bump version to v2.10.3 2022-04-27 02:57:40 +01:00
Jools Wills
9663f5eaed Merge remote-tracking branch 'retropie/master' into stable 2022-04-27 02:56:28 +01:00
pjft
e26fa8d48b
Merge pull request #784 from Gemba/fb_enhance_cli_help
Brooming of --help output
2022-04-24 22:07:37 +01:00
pjft
bdfa2e8274
Merge pull request #787 from Gemba/fb_paging_lb_rb_enhanced
Cursor movement more user friendly when using paging with full page.
2022-04-24 22:01:43 +01:00
pjft
b93b19b9c1
Merge pull request #786 from Gemba/fix_quicksys_select_scrolling
fixes continued scrolling on system leave and reenter navigation
2022-04-24 21:58:27 +01:00
Jools Wills
3079ef8166
Merge pull request #789 from cmitu/shuffle-bobble
SystemView: fix random system warp crash
2022-04-20 16:37:06 +01:00
cmitu
199b9556e4 SystemView: fix random system warp crash
When no Game system is visible, choosing a random system in the carousel will lead to a crash.
Added an extra check before the random shuffle is performed.
2022-04-20 16:19:19 +01:00
Gemba
feaf44afac restructured --help output, removed legacy --help output from README.md and
removed surplus SplashScreenProgress switch (always true).
2022-03-20 22:12:13 +01:00
Jools Wills
2dd5e6b679 bump version to v2.10.2 2022-03-07 01:08:31 +00:00
Jools Wills
677f63c9ea Merge remote-tracking branch 'retropie/master' into stable 2022-03-07 01:08:09 +00:00
Gemba
7589ced632 Cursor movement more user friendly when using paging with full page. 2022-03-05 10:42:14 +01:00
Gemba
69ee73c764 fixes continued scrolling on system leave and reenter navigation 2022-03-01 08:45:17 +01:00
Tomas Jakobsson
9277c352ab
Merge pull request #780 from tomaz82/skip_directory_check
Skip isDirectory check on known directory paths
2022-02-13 15:48:42 +01:00
Jools Wills
ba62e70303
Merge pull request #782 from cmitu/mame-resources2
resources: update MAME files and add a generator
2022-02-12 20:12:10 +00:00
cmitu
2b08fb8c54 resources: update MAME files and add a generator
Added a script to generate the MAME related resources (devices/bioses/names) from a series of DAT files.
`mameres.py` ingests several XML based DAT files and produces the 3 MAME resource files. The operation merges the info from all given files.
For `mamenames.xml`, the `realname` precendence is based on the 1st occurence of the romset in the DAT files, so the order of the files is important.

The resources added in this commit are based on (in this order):
 * MAME 240 (Jan-2022) (games, bioses and devices)
 * FinalBurn Neo (11 Feb 2022) (games and bioses)
 * Mame2003 Libretro (11 Feb 2022) (games and bioses)

Note: the devices file was generated from the 'MAME 0.240.dat' file, since it contains both MESS and Arcade systems.
2022-02-12 08:46:39 +00:00
Tomas Jakobsson
c7b3b42efc Skip isDirectory check on known directory paths 2022-02-08 10:19:00 +01:00
Tomas Jakobsson
d1e4862609
Merge pull request #751 from EnsignRutherford/game-system-select-events
Changes necessary to implement Scripting events for "game-select", "system-select" and "screeensaver-game-select"
2022-02-01 16:55:53 +01:00
Tomas Jakobsson
1e23dc54f2 Merge branch 'master' into game-system-select-events 2022-02-01 16:50:38 +01:00
Tomas Jakobsson
6f92612ff4
Merge pull request #777 from cmitu/scraper-input
scraper: teach ScreenScraper to use the user input
2022-01-31 09:20:52 +01:00
cmitu
d3917391aa scraper: teach ScreenScraper to use the user input
Fixed the ScreenScraper search by user input, since it only by searched by filename and ignored the user input for the game name.
2022-01-31 09:55:34 +02:00
Tomas Jakobsson
0eb41f304b
Merge pull request #779 from tomaz82/fix_wrap_text
Fix infinite loop in wrapText when maxWidth is less than 0
2022-01-31 08:49:03 +01:00
Tomas Jakobsson
f4cae18e32 Don't wrap if maxWidth is 0 or negative 2022-01-30 20:21:17 +01:00
Jools Wills
3eb9f65872 cosmetic - convert CRLF file to LF 2022-01-30 19:02:49 +00:00
Tomas Jakobsson
16c1ef1811
Merge pull request #778 from tomaz82/lineendings
Fix broken lineendings
2022-01-27 15:57:30 +01:00
Tomas Jakobsson
367e0b00ea Fix broken lineendings 2022-01-27 15:55:02 +01:00