godot/core
Ruslan Mustakov 1d9a3a9b1c iPhone X support and iOS-related fixes
Starting from April 2018 Apple no longer accepts apps that do not
support iPhone X. For games this mainly means respecting the safe area,
unobstructed by notch and virtual home button. UI controls must be
placed within the safe area so that users can interact with them.

This commit:

- Adds OS::get_window_safe_area method that returns unobscured area of
  the window, where interactive controls should be rendered.

- Reorganizes how launch screens are exported - the previous way was
  incorrect and modern iPhones did not pick up the correct screens and
  because of that used a non-native resolution to render the game.

- Adds launch screen options for iPhone X.

- Makes launch screens optional in the export template. If not
  specified, a white screen will be used.

- Adds App Store icon (1024x1024) export option as it now has to be
  bundled with the app instead of being provided in iTunes Connect.

- Fixes crash when launching games in iOS Simulator. It happened because
  controllerWasConnected callback came before the engine was
  initialized. Now in such case the controllers will be queued up and
  registered after initialization is done.

- Fixes issue with the virtual keyboard where for some reason
  autocorrection panel would intersect with the keyboard itself and not
  allow you to use the top row of the keyboard. This is fixed by
  disabling autocorrection altogether.

Closes #17358. Fixes #17428. Fixes #17331.
2018-04-11 14:53:24 +07:00
..
bind iPhone X support and iOS-related fixes 2018-04-11 14:53:24 +07:00
helper
io Merge pull request #17227 from Faless/multiplayer_api 2018-04-08 11:04:16 -03:00
math Resolves Inccorect Quaternion Conversion 2018-04-09 14:48:03 +08:00
os iPhone X support and iOS-related fixes 2018-04-11 14:53:24 +07:00
allocators.h
array.cpp Duplicate Arrays and Dictionaries when instancing scene in editor 2018-03-13 17:18:08 +02:00
array.h Duplicate Arrays and Dictionaries when instancing scene in editor 2018-03-13 17:18:08 +02:00
class_db.cpp Ctrl+Clicking a enum now scrolls down to it in the docs. 2018-04-03 21:56:54 +02:00
class_db.h Ctrl+Clicking a enum now scrolls down to it in the docs. 2018-04-03 21:56:54 +02:00
color_names.inc
color.cpp Fix mismatch between Color.h and Color.from_hsv() 2018-03-14 21:04:02 +01:00
color.h Add Color.from_hsv() 2018-01-18 22:13:00 +01:00
command_queue_mt.cpp Fix several in-class initialization clang warning 2018-03-22 00:17:18 -03:00
command_queue_mt.h Fix several in-class initialization clang warning 2018-03-22 00:17:18 -03:00
compressed_translation.cpp
compressed_translation.h Fix typos with codespell 2018-02-21 19:46:06 +01:00
core_string_names.cpp
core_string_names.h
dictionary.cpp Duplicate Arrays and Dictionaries when instancing scene in editor 2018-03-13 17:18:08 +02:00
dictionary.h Duplicate Arrays and Dictionaries when instancing scene in editor 2018-03-13 17:18:08 +02:00
dvector.cpp
dvector.h
engine.cpp
engine.h
error_list.h
error_macros.cpp
error_macros.h Fix typos with codespell 2018-02-21 19:46:06 +01:00
func_ref.cpp
func_ref.h
global_constants.cpp Fix typos with codespell 2018-02-21 19:46:06 +01:00
global_constants.h
hash_map.h
hashfuncs.h
image.cpp Merge pull request #16898 from Lerc/master 2018-04-08 15:52:05 -03:00
image.h change to clang format 2018-02-24 13:59:02 +13:00
input_map.cpp Allows to map an action to all devices. 2018-04-07 20:08:09 +00:00
input_map.h Allows to map an action to all devices. 2018-04-07 20:08:09 +00:00
int_types.h
list.h Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
make_binders.py Properly closing all files in Python code 2018-03-11 14:55:50 +01:00
map.h Fix typos with codespell 2018-02-21 19:46:06 +01:00
message_queue.cpp Fix typos with codespell 2018-02-21 19:46:06 +01:00
message_queue.h
method_bind.cpp
method_bind.h Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
method_ptrcall.h
node_path.cpp
node_path.h
oa_hash_map.h Fix typos in code and docs with codespell 2018-01-18 22:01:42 +01:00
object.cpp
object.h Make sure PropertyHint matches in the VisualScript editor. 2018-01-15 22:19:54 +01:00
ordered_hash_map.h
packed_data_container.cpp
packed_data_container.h
pair.h
path_remap.cpp
path_remap.h
pool_allocator.cpp Fix typos with codespell 2018-02-21 19:46:06 +01:00
pool_allocator.h
print_string.cpp
print_string.h
project_settings.cpp Merge pull request #16947 from Faless/ui_actions 2018-03-16 20:55:11 +01:00
project_settings.h Improve error reporting of ProjectSettings::setup() 2018-02-19 16:41:43 +01:00
ref_ptr.cpp
ref_ptr.h
reference.cpp
reference.h Fix several in-class initialization clang warning 2018-03-22 00:17:18 -03:00
register_core_types.cpp Add new MultiplayerAPI class 2018-03-03 18:28:49 +01:00
register_core_types.h
resource.cpp Duplicate Arrays and Dictionaries when instancing scene in editor 2018-03-13 17:18:08 +02:00
resource.h
rid.cpp
rid.h
ring_buffer.h
safe_refcount.cpp Fix inconsistencies and typos in argument names 2018-02-01 16:47:20 +01:00
safe_refcount.h
script_debugger_local.cpp Kill an old debugging message 2018-02-05 11:18:49 +01:00
script_debugger_local.h
script_debugger_remote.cpp Fix typos with codespell 2018-02-21 19:46:06 +01:00
script_debugger_remote.h
script_language.cpp
script_language.h Ctrl+Clicking a enum now scrolls down to it in the docs. 2018-04-03 21:56:54 +02:00
SCsub Merge pull request #17440 from viktor-ferenczi/issue-5042 2018-03-13 11:49:58 +01:00
self_list.h
set.h Fix typos with codespell 2018-02-21 19:46:06 +01:00
simple_type.h
sort.h
string_buffer.h Fix several in-class initialization clang warning 2018-03-22 00:17:18 -03:00
string_builder.cpp fixed crash with StringBuilder 2018-01-20 15:26:58 +01:00
string_builder.h Fix several in-class initialization clang warning 2018-03-22 00:17:18 -03:00
string_db.cpp
string_db.h
translation.cpp Add locale renames for Hebrew and Indonesian on Windows 2018-02-14 18:49:27 +01:00
translation.h
type_info.h
typedefs.h
ucaps.h
undo_redo.cpp
undo_redo.h
ustring.cpp Fix buggy percent-encoding 2018-04-05 21:49:44 +02:00
ustring.h Unify http- and percent- encode/decode 2018-03-27 19:18:30 +02:00
variant_call.cpp Duplicate Arrays and Dictionaries when instancing scene in editor 2018-03-13 17:18:08 +02:00
variant_construct_string.cpp
variant_op.cpp Merge pull request #17382 from bojidar-bg/13971-path-array-unsaved 2018-04-08 09:39:03 -03:00
variant_parser.cpp add template argument for size in StringBuffer 2018-01-20 20:03:17 +01:00
variant_parser.h
variant.cpp Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion. 2018-02-21 09:39:09 -03:00
variant.h Duplicate Arrays and Dictionaries when instancing scene in editor 2018-03-13 17:18:08 +02:00
vector.h
version.h Refactor version macros and fix related bugs 2018-02-23 20:15:29 +01:00
vmap.h
vset.h