Commit Graph

7455 Commits

Author SHA1 Message Date
antoniou
75826f80fc ANDROID: Comment out the logfile code
Since currently the logFile stuff are specific to SDL_BACKED
2020-09-24 10:14:02 +03:00
antoniou
c45dfd4a2f ANDROID: Migrate old save files
More testing pending
2020-09-24 01:50:45 +03:00
Bastien Bouclet
fb39b94384 3DS: Start ScummVM in a separate thread
Allows to have a larger stack than that of the main thread.

Fixes #11717
2020-09-20 16:33:45 +02:00
antoniou
9e35ce0e52 ANDROID: Add internal app path to SearchSet
Also have it with higher priority than the Android's assets structure which is too slow

Fixes a bug whereby a large font.dat file was very slow to be accessed during launch (for the modern themes), due to it being accessed from the Assets rather than the file system
2020-09-18 15:12:16 +03:00
antoniou
34b6a89967 ANDROID: Remove unnecessary check for isFile in a sideUpgrade 2020-09-17 23:56:32 +03:00
antoniou
30b7c882e8 ANDROID: Copy asset files in internal app folder 2020-09-17 23:25:23 +03:00
Hubert Maier
962a9c6f07 AMIGAOS: Indented comments are now supported
Since when i don´t really know, might be for some time. I just tried with the scummvm-tools .mk and they work as intended.
Hope i don´t break anything else
2020-09-17 22:14:20 +02:00
antoniou
6906bba959 ANDROID: Revert chnage for long press AC_BACK handler
Huawei Android 9 seemed to not be working ok (or at all) with the change
2020-09-16 20:34:49 +03:00
antoniou
e751b30691 ANDROID: Upgrade to 2.3 version re-using any old configuration file 2020-09-16 15:25:53 +03:00
Bastien Bouclet
0155bb06af KEYMAPPER: Fix comparing mappings for equality
Fixes clearing default action mappings.
2020-09-15 22:42:34 +02:00
Bastien Bouclet
a977dfb2d1 KEYMAPPER: Enable the GUI keymaps while the virtual keyboard is visible 2020-09-15 22:42:34 +02:00
Bastien Bouclet
1c5f923083 PSP2: Simplify the filesystem code
The Vita SDK gained support for dirent at the end of 2017. There is no
need to have our own version anymore.

DrivesPOSIXFilesystemFactory allows to specify the contents of the
pseudo-root file system node. There is no need to hardcode them in
posix-fs.cpp anymore.
2020-09-15 07:13:00 +02:00
rsn8887
3a5690ebb4 KEYMAPPER: Fix virtual mouse bound in small rectangle in vkeybd 2020-09-14 20:58:37 -05:00
Cameron Cawley
31be074893 BACKENDS: Add a function to return if the overlay is visible 2020-09-15 00:09:11 +02:00
antoniou
30b8842885 ANDROID: Use custom handler for long key press detection
To avoid possible mem leaks (see "This Handler Class Should Be Static Or Leaks Might Occur” warning

Also a few optimizations based on recommendations from the Android Studio error highlighting/fix suggestions (F2)
2020-09-14 16:16:46 +03:00
antoniou
bd95672815 ANDROID: get version info (wip) and use androidx for annotations
Also androidx is replacing the Android Support library so it's best to use this one

According to https://developer.android.com/jetpack/androidx
AndroidX is a major improvement to the original Android Support Library, which is no longer maintained. androidx packages fully replace the Support Library by providing feature parity and new libraries.
AndroidX replaces the original support library APIs with packages in the androidx namespace. Only the package and Maven artifact names changed; class, method, and field names did not change.
2020-09-14 09:32:37 +03:00
Cameron Cawley
e918a4b16f OPENPANDORA: Fix copy/paste error 2020-09-13 22:20:31 +01:00
Eugene Sandulenko
6a66bffec8 GCW0: Disable GLK engine 2020-09-13 17:55:15 +02:00
Cameron Cawley
c8c120d839 GPH/OPENPANDORA: Minor cleanup 2020-09-13 14:58:45 +01:00
Thierry Crozat
53bb50c906 IOS7: Do not overwrite user saves when saving state 2020-09-13 00:21:36 +01:00
Thierry Crozat
c50ffd74c6 IOS7: Properly restore state when the process has been terminated 2020-09-13 00:21:36 +01:00
Thierry Crozat
63627dc26d IOS7: Save state as a background task when entering background
This is better than using an hardcoded delay for two main reasons.
The first one is that the application can terminate as soon as it
has finished saving the state, and the second one is that it will
still work if saving the state takes longer than the delay that
was hardcoded.
2020-09-13 00:21:35 +01:00
Thierry Crozat
28e9910666 IOS7: Implement game state save/restore when switching tasks
This only works if the running engines can save the game at the
time when ScummVM goes to the background.
This should partially fix bug #7871.
2020-09-13 00:21:35 +01:00
Thierry Crozat
7c812a52f1 IOS7: Call pauseEngine() when suspending the application 2020-09-13 00:21:35 +01:00
Thierry Crozat
bdbbcd81ae OSX: Fix taskbar update
This was broken sometimes between release 1.8.1 and 1.9.0. I did not
track the change that broke it, but it looks like the code was trying
to get the DockTile object too early causing it to be nil.
2020-09-12 18:01:15 +01:00
Cameron Cawley
02c09a8ed6 WIN32: Replace strToInt with wcstol 2020-09-12 11:59:23 +02:00
Cameron Cawley
da978f3a2f WIN32: Simplify string conversion 2020-09-12 11:59:23 +02:00
Fiodar Stryzhniou
80c29d1c94 Symbian: fix incorrect return type in SymbianActions::actionName().
Symbian: silence more warnings from SDK headers.
Symbian: add new project files.
2020-09-12 01:00:36 +02:00
SupSuper
b123a21eed BACKENDS: Add support for qualified game IDs in taskbar icons 2020-09-09 01:58:20 +01:00
Thierry Crozat
7e05309077 KEYMAPPER: Translate hardware input description
The strings were already marked for translation, but were not actually
translated.
2020-09-08 21:25:02 +01:00
Thierry Crozat
c5ede297ea JANITORIAL: Simplify some code that use U32String::format 2020-09-08 21:24:27 +01:00
BeWorld
0e4e606e36 MORPHOS : add kFeatureOpenUrl
Enable OpenURL
2020-09-07 19:10:16 +01:00
BeWorld
81fe49242a MORPHOS: Add OpenURL support
- add OpenURL support
- setupIcon doesnt working with SDL2 MorphOS
2020-09-07 19:10:05 +01:00
SupSuper
60b2c9164b BACKENDS: Use unique game ID for Discord presence
Append engine ID to ensure uniqueness
2020-09-05 20:43:07 +01:00
Cameron Cawley
c502fd2162 BACKENDS: Remove unused functions 2020-08-31 21:37:41 +01:00
Thierry Crozat
f3cfe11ee6 I18N: Consistency fix for SoundFont in messages 2020-08-31 16:35:56 +01:00
aryanrawlani28
807eb44c9a ENGINES: SCUMM: Fix compilation for DS backend
- The DS Backend has a different help screen, which was not updated with U32Strings.
- Add translations for the same.
2020-08-31 12:14:51 +02:00
Thierry Crozat
5f30b95452 MACOSX: Fix compilation with 10.4 SDK for real (hopefully) 2020-08-30 23:57:05 +01:00
aryanrawlani28
9edc2f0a0a BACKENDS: DS: Fix compilation error arisen due to extra U32 wrappers. 2020-08-30 21:45:29 +02:00
aryanrawlani28
2fdb7bb894 BACKENDS: PSP: Fix compilation due to incorrect type in TimedMessageDialog 2020-08-30 20:03:26 +01:00
Thierry Crozat
3fc952a999 MACOSX: Fix compilation with SDK 10.4 (hopefully) 2020-08-30 19:42:19 +01:00
Thierry Crozat
d158866505 BACKENDS: Fix discord presence compilation with U32String 2020-08-30 14:43:41 +02:00
aryanrawlani28
a089fe47e7 BACKENDS: Display messages on OSD takes in U32Strings for modular backend. 2020-08-30 14:43:41 +02:00
aryanrawlani28
984e7fae99 BACKENDS: DIALOGS: Remove redundant code for GTK Dialogs.
- Dialogs take in const gchar *, so no need to convert to char* and then pass it along.
2020-08-30 14:43:41 +02:00
aryanrawlani28
455a05b059 BACKENDS: SDL: Remove redundant code when set text in clipboard. 2020-08-30 14:43:41 +02:00
aryanrawlani28
4cef06d7a8 BACKENDS: WIN32: Use calloc to allocate memory for UTF8ToUnicode wrapper. 2020-08-30 14:43:41 +02:00
aryanrawlani28
c855f6259a GUI: U32: Fix incorrect code for redirecting constructors.
- The changes previously were creating a temporary object whose lifetime was limited to that line.
- Additionally, use Strings instead of const char* in MessageDialogs.
2020-08-30 14:43:41 +02:00
aryanrawlani28
29b6274e67 BACKENDS: CLIPBOARD: Improve usage for SDL & Android.
- Fix possible issue for setting text inside clipboard for SDL.
- Always return a decoded string when from UTF-8 in Android when fetch clipboard.
2020-08-30 14:43:41 +02:00
aryanrawlani28
d41d0e9b22 JANITORIAL: Fix formatting issues 2020-08-30 14:43:41 +02:00
aryanrawlani28
d4a280ef29 BACKENDS: DIALOGS: GTK: Fix incorrect memory usage & replace unsafe code.
- Encoding::convert which was previously used needed to be freed by the caller.
- With the direct conversion to utf8 by .encode(), this doesn't need to happen anymore
2020-08-30 14:43:41 +02:00