Commit Graph

13854 Commits

Author SHA1 Message Date
volzhs af0d547c02 Fix index out of size error on Image
Fix #18229
2018-04-16 21:15:31 +09:00
Juan Linietsky 1d15c5d726
Merge pull request #17502 from groud/2Deditor_rect
Remove the rect surrounding 2D nodes in 2D editor when it's not pertinent
2018-04-13 10:21:44 -03:00
George Marques 3a5b25d5b4
Merge pull request #18149 from marcelofg55/pulse_channel_map
Fix PulseAudio problems with 8 channels devices
2018-04-12 12:39:25 -03:00
Marcelo Fernandez 34395c6a38 Fix PulseAudio problems with 8 channels devices 2018-04-12 12:01:23 -03:00
Rémi Verschelde ab75fae564 Travis: Upgrade scons-local to 3.0.1 on OSX
Also change URL, prdownload alias seems broken right now on SF.
2018-04-12 14:07:48 +02:00
Rémi Verschelde d121f4af8a
Merge pull request #18124 from marcelofg55/pulse_channels
Fix PulseAudio driver for audio devices that report unknown number of channels
2018-04-12 13:46:10 +02:00
Rémi Verschelde 38fe9ae694 Travis: Enforce Coverity Scan on STATIC_CHECKS Linux/gcc build job
Also ensure that we are not using cached build objects (need to build
from scratch), and update encrypted Coverity Scan token.
2018-04-12 13:45:26 +02:00
Rémi Verschelde cf7c53ef01
Merge pull request #18145 from Faless/get_peer_ip_port
Implement get_peer_[address|port] in ENet/WSServer
2018-04-12 13:45:15 +02:00
Marcelo Fernandez 11fbfab7ec Fix PulseAudio driver for audio devices that report unknown number of channels 2018-04-12 08:36:56 -03:00
Fabio Alessandrelli 6b9ec810c6 Implement get_peer_[address|port] in ENet/WSServer
Also implement get_connected_host and get_connected_port in WebSocketPeer
(not supported in HTML5 due to browser limitation).
Add shorthand disconnect_peer(id) for get_peer(id)->close() like in ENet to
WebSocketServer.
2018-04-12 12:30:51 +02:00
Rémi Verschelde 23fc8ca223
Merge pull request #18140 from AndreaCatania/coverity1
Fixed wrong function call
2018-04-12 11:13:43 +02:00
Rémi Verschelde 6862cd7bf1 Travis: Remove unnecessary/obsolete before_install call
It comes from the Coverity documentation but it fails, and their example projects don't use it.
2018-04-12 11:09:55 +02:00
Andrea Catania df2a626b49 Fixed wrong function call 2018-04-12 11:02:43 +02:00
Rémi Verschelde 5fcf938909 Travis: Add setup for Coverity Scan 2018-04-12 10:59:19 +02:00
Rémi Verschelde cdf22e61ab
Merge pull request #18118 from akien-mga/nodes-internal-process
Use internal physics processing for Nodes' internal logic
2018-04-12 10:06:28 +02:00
Rémi Verschelde 12a9495f5e
Merge pull request #18123 from marcelofg55/pulse_stream_error
Fix error detecting for PulseAudio pa_stream_new call
2018-04-12 10:06:07 +02:00
Rémi Verschelde 5324bbb772
Merge pull request #18138 from AndreaCatania/patch-1
Rigidbody wake up when hitten by a kinematic body
2018-04-12 08:33:47 +02:00
Rémi Verschelde 04a4e96bf5
Merge pull request #18130 from Calinou/update-hack-font-v3.003
Update Hack font to v3.003
2018-04-12 08:22:50 +02:00
Andrea Catania f0abdf06ad
Rigidbody wake up when hitten by a kinematic body 2018-04-12 07:59:12 +02:00
Hugo Locurcio 93f52813bf
Update Hack font to v3.003 2018-04-11 22:40:58 +02:00
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
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