Commit graph

70 commits

Author SHA1 Message Date
Thierry Crozat
fa9651d1bb IOS7: Make sure openURL is executed on the main thread 2019-08-04 20:40:22 +01:00
Thierry Crozat
468c0f0743 IOS7: Implement isConnectionLimited 2019-08-04 19:03:34 +01:00
Thierry Crozat
cd7bf2b09f IOS7: Implement getSystemLanguage 2019-08-04 19:03:34 +01:00
Thierry Crozat
160070347f IOS7: Move non-video related functions to a separate file 2019-08-04 19:03:34 +01:00
Thierry Crozat
c505a7b4bb IOS7: Implement opening a URL 2019-08-04 19:03:34 +01:00
Thierry Crozat
0ddcb9de7b IOS7: Implement copy to clipboard and paste from clipboard 2019-08-04 19:03:34 +01:00
Thierry Crozat
d8cb826b19 IOS7: Add back mapping of LF character to the Return key
This is necessary for properly identifying the Return key pressed from
the software or a hardware keyboard, and this was erronously removed
in commit e5709ed.
2019-07-07 11:06:28 +01:00
Thierry Crozat
cfd66173ba IOS7: Hide input accessory toolbar when an external keyboard is connected 2019-07-06 17:00:27 +01:00
Thierry Crozat
bf92167007 IOS7: Add a tab key to the keyboard accessory view 2019-06-30 12:36:43 +01:00
Thierry Crozat
25ff69c250 IOS7: Use scrollview for keyboard accessory view
This allows to have more buttons than what can be displayed on the
screen, and now to have all the same buttons on iPhone and on iPad.
2019-06-30 12:36:43 +01:00
Thierry Crozat
ce9e776629 IOS7: Map three finger swipes to arrow keys
Also use the pinch gesture to show/hide the keyboard. Previously
it was using the three fingers swipe up and dowm, which is now
mapped to arrow keys.
2019-06-30 12:36:43 +01:00
Thierry Crozat
5232cf376b IOS7: Remove key mapping for function and return keys
Those keys are not present on the virtual keyboard accessory view.
This should fix bug #10314: LSL7: Unable to open Xqwsts's locker
on iOS.
2019-06-30 12:36:43 +01:00
Thierry Crozat
3ba9245138 IOS7: Add input accessory view to virtual keyboard
This adds buttons for some keys that are not present on the iOS
keyboard, such as the function and arrow keys, as well as a GMM
key.
2019-06-30 12:36:43 +01:00
Cameron Cawley
09dbe7686b JANITORIAL: Update all scummvm.org URLS to use https 2019-03-09 21:52:14 +01:00
Jonny Bergström
a9a6ce7e81 IOS: Add support for three finger swipes up/down for showing/hiding software keyboard 2019-02-16 17:28:16 +00:00
Thierry Crozat
4795f2b68a IOS: Implement kFeatureVirtualKeyboard to show/hide the keyboard 2019-02-16 17:20:57 +00:00
D G Turner
442c578223 IOS7: Enable Port Specific Software Scalers.
This was disabled during the merge of the initial pull request, PR 630
as this "limits the port to 16bit color precision, i.e. preventing it
from coping with engines like Wintermute, and Sword25.".

The intent was to replace this with GLSL based scalers, and thus to
avoid switching around and confusing users this was disabled.

However, since the GLSL solution has not been implemented after 2 years,
and users are asking for this feature on IOS7, am enabling this for now.

This can always be replaced in future with a GLSL based solution if a
motivated developer provides a patch.
2018-11-21 08:11:48 +00:00
Thierry Crozat
cc1e43bd2d IOS: Disable code using safeAreaInsets when compiling with iOS SDK 10 or below 2018-10-28 18:08:38 +00:00
Thierry Crozat
b41a3a518a IOS: Attempt to fix compilation with pre-iOS 11 SDK 2018-10-28 17:40:56 +00:00
Thierry Crozat
1f8b4a430f IOS: Fix missing brackets 2018-10-28 17:27:52 +00:00
Yoshi Sugawara
b4bad9100a IOS: Support building in Xcode 10/iOS 12, and for iPhone X-like devices that have a "safe area"
iOS 12 drops support for libstdc++, so the project needs to be compiled explicitly using libc++.
Support the "safe area" when redrawing the view to leave space for the notch in portrait and
landscape orientations.
2018-10-28 17:16:06 +00:00
Jozef Legény
b705262b09 IOS: Hide keyboard when rotating to landscape
On iOS12 at least, the rotation did not force the keyboard to hide. This
fix will force it to be retracted in landscape and restored when
rotating back to the portrait position.
2018-10-18 19:48:00 +01:00
D G Turner
2eecde612a IOS: Correct Compilation Breakage From Last Commit. 2018-10-06 08:33:20 +01:00
D G Turner
253e556601 IOS: Fix Closing Standard Output & Error Log File.
This is as per bug Trac #10656.
2018-10-06 07:16:32 +01:00
Jonny Bergström
58f3aac49e IOS: Only change idle timer from main thread.
This prevents various runtime warnings i.e.
"Main Thread Checker: UI API called on a background thread:
-[UIApplication setIdleTimerDisabled:] ..."
2018-09-14 02:32:25 +01:00
Michael Zinn
82e8bc43e6 IOS: Fix Arrow Key Capture in TextInputHandler.
This should fix these working from external keyboards i.e. IPad Pro and
other sources as well.

This is presumably what the original author intended.
2018-08-23 23:42:52 +01:00
Colin Snover
d43732ac47 IOS: Replace strdup with Common::String 2018-08-18 16:30:05 +02:00
D G Turner
f353e466df IOS: Fix Build due to Smartkeyboard on IPad Pro Patch.
The code provided for Smartkeyboard on IPad Pro seems to be broken, so
am making minor changes to try to fix this.

The following should still function, but this will need testing by an
IOS user with this hardware, if it compiles.
2018-07-29 02:55:48 +01:00
D G Turner
eee970df1f IOS: Add Keyboard and UI Fixes for Smartkeyboard on IPad Pro.
These have not been compiled or otherwise tested, but are cleaned up
version of code changes from forum user "dottostring" in thread:
http://forums.scummvm.org/viewtopic.php?t=14524

This should add Fake ESC key support replacing the '`' key and add full
support for the Arrow keys.
2018-07-25 10:17:40 +02:00
Adrian Frühwirth
cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
Thierry Crozat
e403167d03 IOS: Consolidate build instructions with the wiki
This replaces obsolete instructions to build ScummVM in the README.md
file with a link to the instructions on the wiki. The wiki has also
been updated with additional information that were contained in the
README.md.

and the wiki has been updated with additional instructions.
2018-04-29 11:56:18 +01:00
Colin Snover
bda253b1ac BACKENDS: Constify PaletteManager::grabPalette implementations 2017-10-15 13:47:19 -05:00
Vincent Bénony
8bc745fb55 IOS: Improve iOS 11 compatibility 2017-09-30 11:16:42 +02:00
Eugene Sandulenko
6da591df88 Merge pull request #853 from criezy/ios-no-sleep
IOS: Disable idle timer while an engine is running
2016-11-12 12:20:17 +01:00
Thierry Crozat
2882424306 IOS: Add support for filtering feature 2016-10-21 22:27:26 +01:00
Thierry Crozat
4a9446490a IOS: Disable idle timer while an engine is running 2016-10-20 22:38:14 +01:00
Eugene Sandulenko
355c4fa646 JANITORIAL: Remove more trailing spaces 2016-10-09 15:02:02 +02:00
Vincent Bénony
587d5d5703 IOS: Fixes savegame deletion on sandboxed iOS devices 2016-02-26 09:50:39 +01:00
Vincent Bénony
9a5143e080 IOS: Updates the compilation instructions 2016-01-11 16:44:20 +01:00
Johannes Schickel
f8ef5e2476 IOS7: Make includes match our style. 2016-01-07 12:44:48 +01:00
Johannes Schickel
3130b22fcb IOS7: Make filename style consistent in itself. 2016-01-07 12:44:48 +01:00
Johannes Schickel
8fc03872c4 IOS7: Use #include instead of #import.
We always use #include. #import is a nice ObjC feature (in theory), but can
lead to odd results in corner cases.
2016-01-07 12:44:48 +01:00
Johannes Schickel
17a57443ae IOS7: Use standard include guard names. 2016-01-07 12:44:48 +01:00
Johannes Schickel
bcaa725184 IOS7: Use our standard GPL headers. 2016-01-07 12:44:48 +01:00
Johannes Schickel
54f5c95832 COMMON: Make FSNode(AbstractFSNode *) private again.
This also fixes a memory leak in OSystem_iOS7::addSysArchivesToSearchSet.
2016-01-07 11:25:02 +01:00
Vincent Bénony
b5ef98637c IOS: Renames a macro 2016-01-07 09:55:56 +01:00
Vincent Bénony
aa77c0c92d IOS: Disable scalers 2016-01-06 16:20:28 +01:00
Vincent Bénony
a522c82f85 IOS: Removes a useless variable 2016-01-06 16:20:28 +01:00
Vincent Bénony
fae79955e5 IOS: Better emulation of the right mouse button 2016-01-06 16:17:39 +01:00
Vincent Bénony
1657b9d432 IOS: Update compilation instructions for FluidSynth 2016-01-06 16:17:39 +01:00