Commit graph

8728 commits

Author SHA1 Message Date
Lothar Serra Mari
c03b166454 RELEASE: This is 2.6.1 2022-10-16 21:43:02 +02:00
Eugene Sandulenko
69e2e4a363
NETWORKING: Properly process TLS errors.
Now, when HTTPS is not supported, we will indicate it to the user.
2022-10-11 15:50:47 +02:00
Carlo Bramini
26f0fab159 BACKENDS: OPENGLSDL: Fix corrupted graphics.
Size of the alpha channel is not set to its default value and this caused totally corrupted graphics on my PC.
See:
https://bugs.scummvm.org/ticket/13712
2022-09-12 13:59:19 +02:00
Le Philousophe
b3ee4b75b6 ANDROID: Convert mouse coordinates between screen ones and virtual ones
In 2D graphical backend it's handled in the WindowedGraphicsManager
which we inherit from through OpenGLGraphicsManager
2022-08-20 17:05:38 +02:00
Lothar Serra Mari
3fd93d92d2 WIN32: Add missing / to icons path 2022-08-01 23:14:15 +02:00
Lothar Serra Mari
63d3d22edd WIN32: Fix auto-detection of Icons path for grid view 2022-08-01 23:14:04 +02:00
Le Philousophe
db1107ed2e RISCOS: Add more space to Wimp slot when not using makerun
We do the same as makerun: size of ELF + 32K
2022-07-31 22:01:57 +01:00
Lothar Serra Mari
1b7dfd0737 RELEASE: This is 2.6.1pre 2022-07-16 21:44:59 +02:00
Cameron Cawley
3d9eb53c5b RISCOS: Use makerun to calculate the wimpslot 2022-07-08 22:08:37 +01:00
Thunderforge
797408bbe7
COMMON: Adding endline to macosx_wrapper.mm 2022-07-02 22:37:52 +02:00
Thunderforge
80cc43a1d2
COMMON: Restructuring how ApplicationSupport path is calculated and putting in Icons subdirectory 2022-07-02 22:37:52 +02:00
Thunderforge
6ff9cde60c
COMMON: Adding prefix to POSIX icon path
Co-authored-by: Le Philousophe <lephilousophe@users.noreply.github.com>
2022-07-02 22:37:52 +02:00
Thunderforge
7515b6db22
COMMON: Putting Icons in a subdirectory if in Win32 portable mode 2022-07-02 22:37:52 +02:00
Thunderforge
da2434a2a1
COMMON: Adding comment for default path methods 2022-07-02 22:37:52 +02:00
Thunderforge
b6bedc46b3
COMMON: Renaming getDefaultIconPath() -> getDefaultIconsPath() 2022-07-02 22:37:52 +02:00
Thunderforge
e216e01769
COMMON: Add getDefaultIconPath() for Windows 2022-07-02 22:37:52 +02:00
Thunderforge
27872d79a9
COMMON: Adding default iconspath functionality
It's for macOS only right now.
2022-07-02 22:37:48 +02:00
BeWorld
33157530ff
MORPHOS: logMessage override
Use printf if DEBUG_BUILD only.
This removes a lot of console messages.
2022-06-23 20:49:38 +02:00
Hubert Maier
93b538026b
AMIGAOS: Corrected plugins destination path 2022-06-22 01:42:00 +02:00
Hubert Maier
06004dab53
AMIGAOS: Make use of DEBUG_BUILD define 2022-06-22 01:42:00 +02:00
Cameron Cawley
16781df602 RISCOS: Add a native MIDI driver 2022-06-20 23:35:56 +01:00
Cameron Cawley
25099563f5 DS: Avoid redefining double as float 2022-06-20 23:12:25 +01:00
Paweł Kołodziejski
be9858184e PS3: Handle platform specific features 2022-06-19 20:14:07 +02:00
rsn8887
2288c9604e BACKENDS: (PSP2) support three co-existing builds 2022-06-19 11:27:33 -05:00
Cameron Cawley
7a2164cbe0 RISCOS: Add log10f and strcoll to functions to link 2022-06-19 00:38:48 +01:00
Cameron Cawley
7babe5a3b9 RISCOS: Implement OSystem::messageBox() 2022-06-19 00:38:23 +01:00
Cameron Cawley
d586250d83 OPENGL3D: Make use of the active rect provided by WindowedGraphicsManager 2022-06-19 00:37:46 +01:00
Le Philousophe
b7db838039 RISCOS: Add expf to functions to link 2022-06-18 16:11:06 +02:00
Le Philousophe
abab65fa6a RISCOS: Don't build SDLPluginProvider: it doesn't work for us
And it fails to build with VFP because libdl is not compiled with VFP
2022-06-18 16:11:06 +02:00
Cameron Cawley
27dedd257c RISCOS: Ensure that functions used by plugins can be found in the main executable 2022-06-18 11:28:36 +02:00
Cameron Cawley
f9e2db4b6c RISCOS: Use OS_SynchroniseCodeAreas to flush the cache 2022-06-18 11:28:36 +02:00
Le Philousophe
262944cde1 RISCOS: Add an ELF plugin provider
This will allow do dynamically load plugins and not be limited by
24-bits relocations
2022-06-18 11:28:36 +02:00
Le Philousophe
5eacda51b8 PLUGINS: Force export of __dso_handle
Some toolchains (RiscOS) may not export it in certain conditions.
This list does not enforce the symbol to be here so it shouldn't fail
build on platforms without this symbol.
2022-06-18 11:28:36 +02:00
Le Philousophe
2fd5da1e76 PLUGINS: Implement R_ARM_PC24 relocations
These relocations are used in RiscOS even when using long calls.
As it's a relative relocation, nothing is to be done.
2022-06-18 11:28:35 +02:00
Le Philousophe
27de1f1145 ANDROID: Merge touch mode and toggle keyboard buttons
A long press on the button shows the keyboard
2022-06-17 21:35:34 +02:00
Le Philousophe
ad5993d24f ANDROID: Let user customize its preferred touch modes
There are 3 settings: in menus, in 2D games, in 3D games
2022-06-17 21:35:34 +02:00
Christian Kündig
42e500dd32
EMSCRIPTEN: Merging parts of scummvm/scummvm#3686 for fullscreen support, disabling exit buttons (openURL has been fixed in libsdl-org/SDL@15ebad6e7d and is not needed anymore) 2022-06-12 14:41:08 +02:00
Lothar Serra Mari
d96a2fe0c7 RELEASE: This is 2.6.0pre 2022-06-05 20:34:49 +02:00
Thierry Crozat
f95bf24fd1 MACOSX: Fix issue with restoring maximized window
The SdlWindow::createOrUpdateWindow makes sure the created window
is not bigger than the desktop. When not in fullscreen, the window
borders are also considered, but on macOS a maximimized window is
borderless, so this resulted in maximized window being restored
smaller than they should have (and no longer maximized).
2022-06-05 17:56:30 +01:00
Thierry Crozat
55dccdf787 SDL: Do not adjust window size when creating maximized window 2022-06-05 17:21:18 +01:00
Thierry Crozat
bde10f0dda BASE: Store screenshotpath command line in Session domain
The SDL backend was getting that path at the start and storing
it in a class member so that it would persist for the session.
But now that we have a kSessionDomain in ConfMan, it is cleaner
to use that (and this will also work for non-SDL backends).
2022-06-05 15:39:36 +01:00
Donovan Watteau
0f5dd7cd99 MACOS: Drop macOS 10.2-10.3 CoreAudio support
There's still code for macOS 10.4 in the codebase, but everything before
that has probably been KO for years.  And no C++11 toolchain exists for
macOS < 10.4 either.
2022-06-02 19:17:19 +01:00
Le Philousophe
337ec7f6d9 VITA: Fix build with latest toolchains
This whole workaround may be unnecessary though as mkdir seems to be
implemented correctly on lastest Vita toolchain.
2022-06-01 12:45:29 +02:00
Cameron Cawley
21ba2cffbb DS: Avoid disabling the virtual keyboard if it hasn't been enabled 2022-05-30 22:04:21 +01:00
Cameron Cawley
dd0304fb22 DS: Improve error reporting 2022-05-30 13:51:40 +01:00
Le Philousophe
31caab89e1 SDL: Make sure a context exists when calling SDL_GL_GetAttribute 2022-05-28 15:49:54 +02:00
Eugene Sandulenko
5e05f93f36
ALL: Remove Symbian port 2022-05-28 12:32:29 +02:00
Le Philousophe
8569296384 OPENGL: Detect framebuffer support using GL_ARB_framebuffer_object
We use functions from GL_ARB_framebuffer_object extension and not from
GL_EXT_framebuffer_object where functions are suffixed by EXT.
This avoids crashes on implementations supporting only the EXT version.
2022-05-27 18:13:10 +02:00
Donovan Watteau
630207d38b PS3: Properly init the fullscreen and aspect_ratio config keys
As done in the PSP2, Android and Switch ports.

Fix inconsistent reported state for the Aspect Ratio setting on PS3
(similar to Trac#11743 for Android).
2022-05-24 23:38:04 +03:00
Donovan Watteau
a933a0d261 MACOSX: Switch getResourceAppBundlePathMacOSX() to Objective-C
As suggested by criezy, we don't need to use the C-bridge from Core
Foundation now that the wrapper has been moved to an Objective-C file.
2022-05-22 23:42:45 +01:00