Commit Graph
8933 Commits
Author SHA1 Message Date
Thierry Crozat 2649f022de IOS7: Implement getHiDPIScreenFactor 2021-08-13 21:41:33 +01:00
Thierry Crozat 63dd44a81d SDL: Implement getHiDPIScreenFactor 2021-08-13 21:41:33 +01:00
Thierry Crozat 6d8462674f COMMON: Add getHiDPIScreenFactor to OSystem 2021-08-13 21:41:33 +01:00
Carlo Bramini f44e87dfb7 WIN32: Remove F_OK/R_OK/W_OK hack (#3265)
In backends/fs/windows/windows-fs.cpp, the macros F_OK/R_OK/W_OK are not defined by system includes of MSVC, so they have been added manually into the code.
While this solution works, in my opinion it would be much cleaner to use GetFileAttributes() for getting this information.
Actually, this is what the _access()/_waccess() functions do and, afterall, this is a piece of code expected to work on Windows only.
2021-08-13 21:58:01 +03:00
Cameron Cawley 423f4cce6b BACKENDS: Add override and final keywords 2021-08-12 15:16:48 +01:00
antoniou f900cbecdd ANDROID: Fix reset browser_lastpath via button
Also replace literal "scummvm" with Common::ConfigManager::kApplicationDomain in android options
2021-08-12 15:17:32 +03:00
djsrv 2aa7e3e558 COMMON: Replace matchString pathMode with general wildcard exclusions
Different characters may need to be excluded for different path styles.
2021-08-09 17:43:12 -04:00
Paul Gilbert be06c4eb8a BACKENDS: Extend OutSaveFile to support SeekableWriteStream
The seek and size methods of SeekableWriteStream are only
supported when creating uncompressed save files.
2021-08-08 18:13:30 -07:00
Paul Gilbert 9db14ee109 BACKENDS: Update all the backends to support SeekableWriteStream 2021-08-08 18:13:30 -07:00
Fiodar Stryzhniou 37e837bc85 SYMBIAN: Add a dependency static library
Add a dependency static library with libc functions missing in Symbian.
2021-08-07 21:36:48 +03:00
Max Horn 84de72ac76 MACOSX: fix deprecation warnings 2021-08-07 10:46:14 +02:00
djsrv ed41e12fd2 ANDROID: Pass Path to hasFile instead of String
hasFile was changed to take a Path, so converting it to a String and
converting it back didn't make much sense.
2021-08-07 10:44:37 +02:00
djsrv 9a22c59b67 WIN32: Fix compilation 2021-08-07 10:44:37 +02:00
djsrv 7eb4841065 ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +02:00
Fiodar bcc7b05b41 SYMBIAN: Implement openUrl() method. (#3236) 2021-08-06 11:25:30 +03:00
antoniou dad5179e9d ANDROID: Fix warning unchecked conversion
In CustomKeyboardView for mKeysDownCodesSet ArraySet

Also enable the option -Xlint:unchecked (within build.gradle) to show the unchecked conversion warnings on compile
2021-08-05 13:26:31 +03:00
Thierry Crozat 1af6ae593a COMMON: Change OSystem::getSystemLanguage to always return a language code 2021-08-04 19:28:47 +01:00
Max Horn 34523aba7e JANITORIAL: Fix some typos 2021-08-04 15:43:15 +02:00
Le Philousophe 68a327ecb1 BACKENDS: Harden grabOverlay in all platforms
Use specific copy code where applicable and replace duplicated code by
calls to copyBlit which optimizes blitting
2021-08-04 13:27:07 +02:00
antoniou bdb1cc2012 ANDROID: Only show SAF revokation in Options from launcher
But not in per Game domain settings (via Edit Game...)
2021-08-02 23:43:44 +03:00
antoniou 84323fc78e ANDROID: Remove checkbox for Android SAF from global options
Themes rebuilt, and version bumped to SCUMMVM_STX0.8.50
2021-08-02 22:57:37 +03:00
Cameron Cawley 5ecae89722 ANDROID3D: Fix JNI code 2021-08-02 17:28:35 +01:00
Fiodar Stryzhniou 70db437f0d SYMBIAN: Update symbian/README 2021-08-02 16:13:31 +02:00
Fiodar Stryzhniou 09645004ec SYMBIAN: Fix codestyle from #3170. 2021-08-02 16:13:06 +02:00
Fiodar Stryzhniou ad8129ffa3 SYMBIAN: Resolved installer conflict between test and release versions. 2021-08-02 16:11:38 +02:00
Fiodar Stryzhniou 21bcbb4254 SYMBIAN: Apply style fix from #3170 2021-08-02 16:11:38 +02:00
Fiodar Stryzhniou b7dfd620be SYMBIAN: FS: Fix codestyle from #3170. 2021-08-02 15:13:07 +03:00
Fiodar Stryzhniou 0b4c8176f9 SYMBIAN: Add test UID app for ScummVm.hrh generator. 2021-08-01 17:22:57 +02:00
Thierry Crozat 4fa0f7c9ba BACKENDS: Explicitly use ellipsis for the virtual keybord if needed
This is the default, so this commit does not change the behaviour.
But this will allow to change the default at a later stage.
2021-08-01 17:22:13 +02:00
Thierry Crozat ec06d940a2 BACKENDS: Explicitly use ellipsis for OSD text if needed
This is the default, so this commit does not change the behaviour.
But this will allow to change the default at a later stage.
2021-08-01 17:22:13 +02:00
antoniou 250206bd00 ANDROID: Add a checkbox for a revoke SAF permissions button
Themes were updated to version SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.8.48"
2021-08-01 16:10:54 +03:00
antoniou 4ac31d5481 ANDROID: Use SAF if a directory is not writeable 2021-08-01 16:10:54 +03:00
Lothar Serra Mari aae99da842 BACKENDS: OPENGLSDL: Save detected window dimensions to the config file
This prevents undefined behavior if no window dimensions are present in
the ScummVM config file from previous runs.
2021-07-30 20:47:53 +02:00
Orgad Shaneh 85c4f53f7f BUILD: Support peldd on mingw cross-compiler 2021-07-30 05:47:22 +03:00
Cameron Cawley 74e7d777a9 BACKENDS: Add OSystem::messageBox() and use it for error handling 2021-07-27 20:50:51 +02:00
Fiodar Stryzhniou 10028c857c SYMBIAN: Can find and use game data placed by installer on any drive.
Apply style fixes from #3170
2021-07-27 20:36:35 +02:00
Fiodar Stryzhniou b4218c9f8e SYMBIAN: Allow installation help file for beta versions.
Apply code style fixes from #3170.
2021-07-27 20:34:39 +02:00
Fiodar Stryzhniou 371396ff61 SYMBIAN: Add uids for new exe's. 2021-07-27 20:33:56 +02:00
Fiodar Stryzhniou be35c553f0 SYMBIAN: Fix race condition.
Add cleanup from results previous build before new start.
Code style fixes from #3170.
Forced CPU usage.
2021-07-27 20:33:28 +02:00
Fiodar Stryzhniou a4ee71abe4 SYMBIAN: Update help/ScummVM.rtf 2021-07-27 20:32:08 +02:00
Fiodar Stryzhniou c994a77353 SYMBIAN: Add engines layout for app creation. 2021-07-27 20:29:40 +02:00
Thierry Crozat 23ca3604b8 SDL: Fix crash when switching to a 3D graphics manager
The OpenGLSdlGraphics3dManager::getSupportedFormats() implementation
returns an empty list. This caused a crash when trying to get the
first element of the list in SdlGraphicsManager::setState().

This fixes bug #12762: The longest Journey crashes
2021-07-26 23:18:17 +01:00
Fiodar 4eb00e965a SYMBIAN: Avoid deleting argv if no command line arguments have been set
Also apply style fixes from #3170.
2021-07-22 00:12:16 +03:00
Fiodar Stryzhniou c4518c7d2c SYMBIAN: Remove unused files. 2021-07-20 08:32:39 +03:00
Orgad Shaneh 89f05c4bf1 BACKENDS: Fix compiler warning
size is int64, lu is for unsigned long, which depends on the platform.
2021-07-17 09:20:44 +03:00
D G Turner 4cbbabf1a2 SYMBIAN: Minor Fixes for Code Formatting Conventions
No functional change.
2021-07-17 05:43:13 +01:00
antoniou acc14ba30e ANDROID: Release pressed keys upon closing overlay keyboard 2021-07-16 19:49:00 +03:00
Thierry Crozat 2a410768ad OPENGLSDL: Fix increasing/decreasing the window size on macOS 2021-07-16 13:20:38 +01:00
Thierry Crozat c1a2d5ba1b OPENGLSDL: Remove getting the supported screen resolutions for SDL2
Since we use the SDL_WINDOW_FULLSCREEN_DESKTOP with SDL2, we always
use the desktop resolution in fullscreen mode anyway. Cycling
through other resolutions did nothing and was confusing.
2021-07-16 13:20:38 +01:00
Fiodar Stryzhniou 6ddfb08b16 SYMBIAN: Simplify access to file server session.
This fixes bug #12728.
2021-07-16 01:10:34 +01:00