Commit Graph

5006 Commits

Author SHA1 Message Date
Cameron Cawley
42903e7e6e COMMON: Add inttypes.h to common/scummsys.h 2024-07-03 22:34:26 +01:00
Le Philousophe
05a62249a9 PLUGINS: hide unloadAllPlugins from outside of PluginManager
This function will delete all plugins even those also stored in
_allEnginePlugins list which triggers a double free when cleaning up.
2024-06-30 18:39:06 +02:00
Le Philousophe
3a57523490 ANDROID: Avoid use-after-free when setting up touch mode
We set up touch mode in graphics managers constructor.
At this point, the _graphicsManager variable was pointed to the freshly
deleted old manager instead of being null.
When we are in this position, assume the cursor is at top left.
2024-06-22 20:23:49 +02:00
Cameron Cawley
a6a369cdd3 GUI: Handle padding for the backend and engine options in the theme definitions 2024-06-14 01:15:12 +02:00
Cameron Cawley
efec9b2d25 GUI: Remove built-in scroll containers from OptionsContainerWidget 2024-06-14 01:15:12 +02:00
Le Philousophe
f0609ad962 ANDROID: Fix building from scratch 2024-06-02 10:08:12 +02:00
Le Philousophe
e0eac792df ANDROID: Fix typo in comment 2024-06-01 12:44:11 +02:00
Le Philousophe
c998525443 ANDROID: Use our own ZipFile implementation and load icons when needed 2024-06-01 12:44:11 +02:00
Le Philousophe
c966d31c21 ANDROID: Add our own ZipFile implementation
This allows us to use a FileInputStream (as given by SAF) but with
seeking support.
This avoids us to parse the whole zip files while we only need some of
the files.
2024-06-01 12:44:11 +02:00
Le Philousophe
a329f62069 ANDROID: Add a search field to games list 2024-06-01 12:44:11 +02:00
Le Philousophe
e70b758496 ANDROID: Add UI to add game shortcuts on the launcher
The UI is started using the standard "Add widget" feature from the
launcher.
Loading of game icons is quite slow and could be optimized later.
2024-06-01 12:44:11 +02:00
Le Philousophe
960c74ad6a ANDROID: Add compatibility shims to handle shortcuts and drawables 2024-06-01 12:44:11 +02:00
Le Philousophe
c1827fd420 ANDROID: Add a method to get a ParcelFileDescriptor from a SAFFSNode 2024-06-01 12:44:11 +02:00
Le Philousophe
1a76acc938 ANDROID: Allow sorting of SAFFSNode using their path component 2024-06-01 12:44:11 +02:00
Le Philousophe
81669642da ANDROID: Add getPath method to INIParser
This mimics the getPath method of ConfigManager
2024-06-01 12:44:11 +02:00
Le Philousophe
4ecf2e4ccc ANDROID: Allow to use an Intent to start a specific game
UI to create such intents will come in a later commit.
If the game is already running, it's resumed where it was left when
ScummVM was paused.
2024-06-01 12:44:11 +02:00
Le Philousophe
074344f84e ANDROID: Fix dependencies in port Makefile
Every generated file has now its rule and APKs depend on all the
generated files
2024-06-01 12:44:11 +02:00
Le Philousophe
b3e5cf8e58 ANDROID: Optimize imports 2024-06-01 12:44:11 +02:00
Le Philousophe
30c8b3eec3 ANDROID: Use a dedicated INI parser for our configuration file 2024-06-01 12:44:11 +02:00
Le Philousophe
0c748c894f ANDROID: Use a dedicated properties file for srcdir
This allows to have a real file for gradle.properties.
2024-06-01 12:44:11 +02:00
Giovanni Cascione
c6ad212419 LIBRETRO: remove unneeded translation.h include 2024-06-01 02:53:58 +02:00
Giovanni Cascione
3df20dd9c6 LIBRETRO: BUILD: add FORCE_OPENGL* 2024-05-31 18:21:58 +02:00
Giovanni Cascione
b8dac3f5b0 LIBRETRO: add common/translation.h includes 2024-05-31 18:21:42 +02:00
Eugene Sandulenko
9829448a02
MACOS: Added missing License files to macOS menu 2024-05-22 21:59:00 +02:00
Eugene Sandulenko
1919a349e4
WIN32: Added missing License files 2024-05-22 21:59:00 +02:00
Eugene Sandulenko
10da6c6acb
MAEMO: Added missing License files 2024-05-22 21:59:00 +02:00
Eugene Sandulenko
472f59c610
LIBRETRO: Moved include to the relevant .cpp file 2024-05-22 21:58:59 +02:00
Le Philousophe
c30b68115a TESTS: Abort runner when error is called
By default null backend exits with 0 error code.
2024-05-19 21:17:31 +02:00
Hubert Maier
0371cd79ac JANITORIAL: Fix beeing typo in osystem_sfx.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier
6a9006d4cf JANITORIAL: Fix compability typo in osystem_gfx.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier
c204e1295f JANITORIAL: Fix seach typo in mp3.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier
b5fb519219 JANITORIAL: Fix preceeding, threshhold and occuring typos in dlmalloc.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier
d8df8eb0a0 JANITORIAL: Fix continously typos in touchcontrols.cpp 2024-05-18 13:52:31 +02:00
Hubert Maier
4ac44129fe JANITORIAL: Fix auxilliary typo in events.cpp 2024-05-18 13:52:31 +02:00
Giovanni Cascione
07e10b5cc3 LIBRETRO: add displayMessageOnOSD to sw graphics manager 2024-05-11 00:58:00 +02:00
Eugene Sandulenko
c59ac26f97
BACKENDS: Remove obsolete gph/caanoo/gp2x/gp2xwiz port 2024-05-10 13:38:20 +02:00
Hubert Maier
4b0c29e5db AMIGAOS: Rename Ext_Inst_so.rexx to install_deps.rexx 2024-05-09 15:20:43 +02:00
Hubert Maier
9bb72735ff
AMIGAOS: Enhance stack cookie and set more default .ini values 2024-05-04 00:19:03 +02:00
Le Philousophe
9c681ddd77 ANDROID: Fix segmentation fault
We expect the array to be of even size so don't add the external data
title if there is no external data mount point
2024-05-01 11:44:10 +02:00
Le Philousophe
8475ef50da ANDROID: Add shim for AccessibilityEvent 2024-05-01 11:44:10 +02:00
Le Philousophe
bb2ebef540 ANDROID: Make a compatibility shim for AudioTrack construction 2024-05-01 11:44:10 +02:00
Le Philousophe
abca8ce013 ANDROID: Split deprecated code in its own function
This allows to remove deprecation warning on a limited part of code
2024-05-01 11:44:10 +02:00
Le Philousophe
bed4b2ee0d ANDROID: Remove deprecated use of toggleSoftInputFromWindow 2024-05-01 11:44:10 +02:00
Le Philousophe
5146495601 ANDROID: Don't use deprecated getDefaultDisplay and getMetrics 2024-05-01 11:44:10 +02:00
Le Philousophe
c155e3dc3b ANDROID: Remove old compatibility code
We don't support something like Honeycomb anymore
2024-05-01 11:44:10 +02:00
Le Philousophe
35e6c7a094 ANDROID: Introduce Compatibility helper class
It's kind of based on Androidx but is simpler and goes up to Jelly Bean.
This removes a bunch of warnings.
2024-05-01 11:44:10 +02:00
Le Philousophe
2522cba583 ANDROID: Don't use deprecated WiFi API
Use ConnectivityManager instead:
- it's more accurate
- it has been available since API level 16 which is the minimum we
  require
- it removes a deprecation warning
2024-05-01 11:44:10 +02:00
Cameron Cawley
378531d779 WIN32: Ensure that _WIN32_WINNT is set high enough for required defines 2024-04-28 20:11:47 +02:00
Cameron Cawley
7e0309b175 3DS: Update the documentation to reflect the options changes 2024-04-23 21:09:17 +02:00
Cameron Cawley
a1cb48c888 3DS: Rewrite the options dialog to use OptionsContainerWidget 2024-04-23 21:09:17 +02:00