Commit Graph

14036 Commits

Author SHA1 Message Date
Marcelo Fernandez
86e101ec82 Fix error detecting for PulseAudio pa_stream_new call 2018-04-11 11:46:58 -03:00
Rémi Verschelde
d87307d850
Merge pull request #18106 from endragor/iphone-x
iPhone X support and iOS-related fixes
2018-04-11 10:40:58 +02:00
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
sheepandshepherd
bc110b3771 Fix NativeScript property list 2018-04-11 09:43:07 +02:00
Rémi Verschelde
fbc61374ca Use internal physics processing for Nodes' internal logic 2018-04-11 09:28:14 +02:00
Rémi Verschelde
4d787869e1
Merge pull request #18108 from akien-mga/travis-xcode9.3
Travis: Use XCode 9.3 / macOS 10.13 for osx/iphone builds
2018-04-11 08:44:16 +02:00
Rémi Verschelde
fa97ec2385
Merge pull request #17724 from Noshyaar/doc
Update classref and docs, fix missing parameters' name
2018-04-11 08:42:23 +02:00
Poommetee Ketson
72aa87758a
Update classref and docs, fix missing parameters' name 2018-04-11 10:20:22 +07:00
Rémi Verschelde
0f6fdb77c5
Merge pull request #18116 from Paulb23/fix_shader_highlighting
Fixed colour region calculation for the first line, issue 18104
2018-04-10 22:02:24 +02:00
Paulb23
aba4247910 Fixed color region calculation for the first line 2018-04-10 20:42:28 +01:00
Fabio Alessandrelli
a522bb1106
Merge pull request #18070 from mhilbrunner/godot-net-kick
NetworkedMultiplayerEnet: Add disconnecting/kicking peers
2018-04-10 21:06:21 +02:00
mhilbrunner
c531287328 NetworkedMultiplayerEnet: Add disconnecting/kicking peers 2018-04-10 19:00:05 +02:00
Chris Bradfield
a7f6e093d8
Merge pull request #18111 from mhilbrunner/docs-os 2018-04-10 08:42:31 -07:00
Max Hilbrunner
66714a3d29 [DOCS] OS 2018-04-10 17:30:34 +02:00
Rémi Verschelde
cc5acaf2d5
Merge pull request #18093 from guilhermefelipecgs/set_default_cursor_shape
Implement Input.set_default_cursor_shape to change the default shape
2018-04-10 17:15:11 +02:00
Guilherme Felipe
4f05190fb0 Implement Input.set_default_cursor_shape to change the default shape
Closes #18043
2018-04-10 11:38:34 -03:00
Rémi Verschelde
040e9ecae0 Travis: Use XCode 9.3 / macOS 10.13 for osx/iphone builds 2018-04-10 15:02:48 +02:00
Rémi Verschelde
48890b15c5
Merge pull request #18105 from akien-mga/coreaudio-iphone
CoreAudio: Fix iphone build after audio device refactor (#17742)
2018-04-10 13:29:42 +02:00
Rémi Verschelde
e955fbc36e CoreAudio: Fix iphone build after audio device refactor (#17742) 2018-04-10 13:04:30 +02:00
Rémi Verschelde
6c2d36271d Travis: Reenable osx and iphone builds
We disabled them due to Travis having big infrastructure issues for osx builds,
but it seems to be back under control now.
2018-04-10 12:42:27 +02:00
Rémi Verschelde
cb7fe2c793 doc: Sync classref with current source 2018-04-10 10:12:42 +02:00
Rémi Verschelde
cb996d7169
Merge pull request #18095 from robfram/fix-lineedit-17113
LineEdit placeholder alignment, content margins, and overflow bugs
2018-04-10 08:18:16 +02:00
Rémi Verschelde
fd32a98145
Merge pull request #18071 from denisw/navigation2d-docs
[DOCS] Navigation & Navigation2D
2018-04-10 08:14:54 +02:00
Rémi Verschelde
a360a9b348
Merge pull request #18091 from RandomShaper/icon-radio-item
Add support for radio-looking items with icon
2018-04-10 08:09:18 +02:00
Rémi Verschelde
b1d4e1be6d
Merge pull request #18089 from guilhermefelipecgs/same_cursor_to_diferent_shape
Allow set_custom_mouse_cursor to use same cursor(image) with different shapes
2018-04-10 08:07:50 +02:00
Rémi Verschelde
2cfc284d52
Merge pull request #18047 from marcelofg55/mingw_fix
WASAPI audio driver compile fix on mingw
2018-04-10 07:57:34 +02:00
Rémi Verschelde
7e2782e177
Merge pull request #17081 from endragor/no-press-when-scroll
Make Button not emit press when container is scrolled
2018-04-10 07:56:37 +02:00
Rémi Verschelde
866cb2805f
Merge pull request #17080 from simedis/pretty_print_tree
Made Node.print_tree() print prettily
2018-04-10 07:50:10 +02:00
Denis Washington
89b9e8852e Add Navigation docs 2018-04-10 07:22:30 +02:00
Denis Washington
a7f3933a51 Add Navigation2D docs 2018-04-10 07:22:30 +02:00
Marcelo Fernandez
3316a64e12 WASAPI audio driver compile fix on mingw 2018-04-09 23:29:25 -03:00
robfram
53b51f68bf LineEdit placeholder alignment, content margins, and overflow bugs
LineEdit doesn't correctly uses style margins nor use placeholders
width correctly, causing multiple rendering bugs.
2018-04-09 23:57:23 +02:00
Rémi Verschelde
ca1312dbe9
Merge pull request #18083 from Noshyaar/tutorial
Add new transform tutorial to the appropriate classes
2018-04-09 22:15:38 +02:00
Rémi Verschelde
e15f2636ea
Merge pull request #18081 from AndreaCatania/arcle
Corrected area overlap cleaning
2018-04-09 22:04:25 +02:00
Rémi Verschelde
07e4556434
Merge pull request #18080 from Alexander-Alekseev/fix_rigidbody_config_warning
Fix of RigidBody's configuration warning for Z axis
2018-04-09 22:01:13 +02:00
Rémi Verschelde
ebeb493dc0
Merge pull request #18079 from Crazy-P/Resolves-Inccorect-Quaternion-Conversion
Resolves Incorrect Quaternion Conversion
2018-04-09 21:58:05 +02:00
Rémi Verschelde
62e5be8651
Merge pull request #18075 from guilhermefelipecgs/fix_3086
Fix custom cursor when it's hidden
2018-04-09 21:47:22 +02:00
Rémi Verschelde
24c2efc0f5
Merge pull request #16473 from ianb96/move_tab
Drag to Rearrange Editor Docks
2018-04-09 21:45:06 +02:00
Pedro J. Estébanez
b964a9e678 Add support for radio-looking items with icon
Letting users of `PopupMenu` use them. `OptionButton` was one of those interested and is updated in this commit.

Fixes #18063.
2018-04-09 19:55:54 +02:00
Rémi Verschelde
93ae37f118
Merge pull request #18069 from mhilbrunner/docs-scenetree
[DOCS] SceneTree
2018-04-09 19:49:44 +02:00
Guilherme Felipe
19d2a44e5d Allow set_custom_mouse_cursor use same cursor(image) with different shapes. 2018-04-09 14:33:13 -03:00
Rémi Verschelde
9101a89510
Merge pull request #18054 from Mintormo/bugfix-inconsistent-sort-in-file-manager
Fixed bug #17929. Inconsistent sort in file manager.
2018-04-09 17:56:43 +02:00
Rémi Verschelde
36552c2c90
Merge pull request #18040 from Paulb23/color_region_cache
Fixed colour regions and added local colour region cache
2018-04-09 16:05:26 +02:00
Ruslan Mustakov
dcf5be92a3 Make BaseButton not emit press when container is scrolled
This fixes the problem described in #13996 in a proper way.

This also adds "deadzone" property to ScrollContainer. It can be used
on mobile, where taps are not as precise as mouse clicks. Player could
slightly move their finger when tapping, in which case we still want
the button to be pressed rather than the container to be scrolled.
2018-04-09 20:34:52 +07:00
Guilherme Felipe
62b835a2cd Fix custom cursor when it's hidden
[Linux] Ensures that the custom cursor will be used when changing to
MOUSE_MODE_VISIBLE. Fix #3086

[Windows] Fix cursor flickering when MOUSE_MODE_HIDDEN.

[Mac] Fix possible cursor flicker when MOUSE_MODE_HIDDEN.
2018-04-09 10:28:20 -03:00
Geoffrey
8362ce4769 Made print_tree_pretty() function which displays scene tree graphically 2018-04-09 15:01:37 +02:00
Poommetee Ketson
e83af5dfc6 Add new transform tutorial to appropriate classes 2018-04-09 17:44:13 +07:00
Andrea Catania
45b778c7f8 Fixed area overlap cleaning 2018-04-09 09:33:29 +02:00
Ignacio Etcheverry
ea0e73f3c8
Merge pull request #17864 from NikodemL/fix_mono_bottom_panel_issue_activated
Fixed mono bottom panel to select the correct file when messages are filtered
2018-04-09 09:15:43 +02:00
Crazy-P
ae7a9df292 Resolves Inccorect Quaternion Conversion
Fixes https://github.com/godotengine/godot/issues/18025
2018-04-09 14:48:03 +08:00