Commit Graph

8009 Commits

Author SHA1 Message Date
Thierry Crozat
c80e1c6b49 NULL: Fix compilation without GNU C extensions 2020-11-22 16:35:03 +00:00
antoniou79
637d845210 COMMON: DEBUGGER: Don't attach again at EVENT_DEBUGGER
If already active

Addresses bug https://bugs.scummvm.org/ticket/11964
2020-11-22 13:58:57 +02:00
Cameron Cawley
c877097b49 ALL: Remove use of "" in Common::U32String constructors 2020-11-16 16:56:58 +00:00
Vladimir Serbinenko
f5ffbe1155 TEST: Copy encoding.dat to make tests work in relative build directory 2020-11-16 02:38:22 +01:00
Cameron Cawley
421e36a3a8 NULL: Implement getMillis() and delayMillis() on Windows 2020-11-15 22:42:01 +00:00
Cameron Cawley
ec62b546da NULL: Always implement OSystem::addSysArchivesToSearchSet() 2020-11-15 22:33:22 +00:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
antoniou
73c2c578ee ANDROID: Added a note comment about scummvm.ini location
Location is directly inside the app's internal storage folder

I am not sure if I did this by mistake, because I think it would be better for it
to be under the subpath ".config/scummvm" which we do create earlier.
However, this *mistake* makes the file easier accessible via the "LAN" feature,
since otherwise the user has to also enable the "show hidden files" option
and navigate specifically to the ".config/scummvm" subpath
to set it as root for the LAN server, in order to see the scummvm.ini.
In the current way, the user simply has to set the internal app folder
as root for the LAN server.
2020-11-13 10:46:41 +02:00
Thierry Crozat
a509afdf4d COMMON: Remove resetGraphicsScale from OSystem
This function used to be called from the Engine class, but was
not longer used since commit 432fd522. The single remaining use
was an internal use in the SurfaceSdlGraphicsManager, and I kept
the behaviour there while removing the function.
2020-11-12 21:05:36 +00:00
cyee
607d8adaef VITA: add support for booting game directly via bubble 2020-11-10 09:06:26 -06:00
Eugene Sandulenko
5936026209 ALL: Clarify POTFILES, remove redundant common/translations.h includes 2020-11-10 03:03:49 +01:00
Cameron Cawley
128b20634f IOS7: Fix compilation with Xcode 2020-11-09 19:12:33 +00:00
Cameron Cawley
0d4625d2d5 IOS7: Make use of ModularMutexBackend 2020-11-09 19:12:33 +00:00
Cameron Cawley
832f5d1c4a IPHONE: Make use of ModularMutexBackend 2020-11-09 19:12:33 +00:00
antoniou
0de952a59c ANDROID: Raise targetsdk to 29 but make use of requestLegacyExternalStorage
Also some fixes for deprecated warnings
2020-11-07 23:38:03 +02:00
Cameron Cawley
626755db94 IPHONE: Use kFeatureFilteringMode to toggle filtering 2020-11-07 18:05:53 +00:00
Matthieu Milan
5a31319853 SWITCH: Implement OSystem_Switch::getSystemLanguage() 2020-11-06 21:40:01 -06:00
Vladimir Serbinenko
e07fc52767
ANDROID: Merge few files between android and android3d (#2595)
While unfortunately it doesn't help with existing differences it help
to prevent their increase
2020-11-03 14:50:54 +01:00
Vladimir Serbinenko
a1a53eb205
ANDROID: Fix android3d compilation (#2594)
SAF was added to android but not android3d yet it is in both cases
in posifxfs.

Merging android and android3d will be a separate project
2020-11-03 12:36:51 +01:00
SupSuper
0128d5e3b5 OPENGLSDL: Fix SDL asserting when getting fullscreen state
This fixes a null pointer being passed to SDL_GetWindowFlags
when there is no window yet, since the condition was incomplete
2020-11-01 20:10:15 +00:00
Cameron Cawley
ee18a89df5 MAEMO: Add override and final keywords 2020-11-01 20:04:57 +00:00
antoniou
4bda9bf112 ANDROID: Use TextUtils.isEmpty() instead of String's isEmpty() 2020-11-01 19:38:07 +02:00
antoniou
7aa38e197a ANDROID: Callback for onDestroy at ScummVM thread end 2020-11-01 19:38:07 +02:00
antoniou
8fe6aae59e ANDROID: Use SAF for folder and file creation when normal way fails
Should affect only external "secondary" storage (eg. physical SD card)
2020-11-01 19:38:07 +02:00
Matthew Duggan
5135f1f4b9 ALL: Run optipng to reduce png file size 2020-11-01 21:34:03 +09:00
BeWorld
a434791bf8
MORPHOS: Add native file browser via Asl (#2574)
MORPHOS: Add native file browser via Asl
2020-10-31 09:44:55 +01:00
athrxx
86040f13b8 WIN32: add some CJK codepage name mappings 2020-10-30 21:36:29 +01:00
LMerckx
e7132897fd
GUI: Fix keymap of virtual keyboard if no GUI opened before (#2555) 2020-10-26 21:18:12 +01:00
Matthieu Milan
90d9540ad8
SWITCH: Add support for 3d games (#2558)
SWITCH: Add support for 3d games
2020-10-26 21:01:12 +01:00
antoniou
64eb1c0afe ANDROID: A tentative handling of handling joystick control
Basically as a virtual mouse
2020-10-25 02:30:32 +03:00
antoniou
cff369a14b ANDROID: Handle repeating keys for virtual keyboard 2020-10-24 16:04:11 +03:00
Eugene Sandulenko
2134a2dc72 BACKENDS: DIALOGS: Properly store last path in Gtk file browser 2020-10-23 00:32:21 +02:00
Cameron Cawley
7da4faf5a5 SDL: Fix the mouse being grabbed when returning from full screen 2020-10-22 17:03:53 +02:00
Matthew Duggan
e1bff1cbb3 ANDROID: Avoid crash if version no is not int
This can happen during development - shouldn't happen for any official release,
but even if it does let's just assume versions are different and default to
upgrading the config.
2020-10-20 20:41:38 +09:00
Laurent Merckx
237211a7fe GUI: Fix display of virtual keyboard for OpenGL/OpenGLES 2020-10-19 16:40:36 +02:00
Alexander Reim
901032db9f WII: Update linkscript and fix for linker false error message 2020-10-19 11:21:22 +02:00
Thierry Crozat
79b4e0ae21 MACOSX: Fix memory leak in dock tile plugin 2020-10-19 01:14:21 +01:00
antoniou
79acea3a18 ANDROID: use gradle's auto-align and set debuggable to false for release build
There were issues with manually aligning apks possibly due to upgrading gradle

The manual zipalign even though running with no fail message, would NOT align the apk properly anymore.
Command to manual verify alignment of an apk is:
Android/Sdk/tools/bin/zipalign -c -v 4 release/ScummVM-release-unsigned.apk
2020-10-18 13:42:44 +03:00
antoniou
80e32dbbc8 ANDROID: Do not use or show virtual keyboard when physical is connected
The toggle button will still be shown, but it won't show the in-app keyboard when pressed, unless the physical keyboard is disconnected
2020-10-17 22:00:41 +03:00
antoniou
7551d119e2 ANDROID: Fix crash when connecting or disconnecting physical keyboard
And also add some code to load and use the keyCharacterMap of the source device for the event

It is unclear if getUnicodeChar() already does this (loads the keyCharacterMap of the source device.
If it does, then the extra code is redundant.
2020-10-17 21:40:08 +03:00
antoniou
87a76f4a56 ANDROID: Fix shifted keys and key combos 2020-10-17 19:20:58 +03:00
LMerckx
9a35674cfc
Merge pull request #2536 from lmerckx/virt-mous-pos
GRAPHICS: Problem with virtual mouse position in an overlay when full…
2020-10-17 18:11:13 +02:00
BeWorld
cdc0ad802d
MORPHOS : Fixes clashing D in ptr.h with system defines and casting glGetString (#2531)
MORPHOS : Fixes clashing D in ptr.h with system defines and casting glGetString
2020-10-16 21:26:42 +02:00
antoniou
3f3ad0b2ca ANDROID: Remove keyUp and keyDown overrides from EditSurfaceView
They were causing some nasty loops with certain keys and are largely redundant since we already had a events manager for keys
2020-10-16 21:39:54 +03:00
Paweł Kołodziejski
bb388295a4 BACKENDS: drop setDefaultFeatureState() usage, it's not needed 2020-10-16 20:17:29 +02:00
Cameron Cawley
5c255b3aa9 WIN32: Add override and final keywords 2020-10-16 18:32:08 +01:00
antoniou
48d6ff8d6b ANDROID: Set flag to leep screen on 2020-10-16 20:29:18 +03:00
antoniou
940b87000d ANDROID: Merge ontouch from EditSurfaceView into ScummVMEventsBase
Also fix a bug with back button not removing the keyboard if it is shown without clicking on a text input field
2020-10-16 20:08:52 +03:00
Cameron Cawley
70aebaca5b WII: Add override and final keywords 2020-10-16 17:46:43 +01:00
Fiodar Stryzhniou
6a7340f744 SYMBIAN: sync with 2.2.0 release.
Added new project files, build fixes.
2020-10-16 17:06:05 +02:00