Ruslan Mustakov
5dffa506dc
Fix Android input source checks
...
Input source types are not pure bit flags, they are combinations of
flags, so != 0 check was incorrect and resulted in crashes later, when
trying to obtain the device.
2018-04-16 11:19:07 +07:00
Poommetee Ketson
7b5703bc41
Merge pull request #18210 from willvincent/feature/exp_doc_fix
...
Fix/Remove potentially confusing references to Euler
[ci skip]
2018-04-16 00:17:37 +07:00
Will Vincent
b6b8c7b215
Remove incorrect & potentially confusing references to Euler
...
e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion.
e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid.
2018-04-15 11:40:31 -05:00
Rémi Verschelde
e44444ea2d
Merge pull request #18196 from ShyRed/fix18195
...
ItemList selection: Check against item count
2018-04-15 11:59:50 +02:00
Poommetee Ketson
ecab0ea959
Merge pull request #18211 from YeldhamDev/anim_player_doc_fix
...
Minor fixes for the AnimationPlayer doc.
[ci skip]
2018-04-15 11:03:17 +07:00
Michael Alexsander Silva Dias
9c3698dee2
Minor fixes for the AnimationPlayer doc.
2018-04-14 22:48:46 -03:00
Gilles Roudiere
e7445c3d82
Merge pull request #18170 from Chaosus/improvewrapf
...
Small performance fix to wrapf
2018-04-14 15:00:47 +02:00
ShyRed
cbcb96ae85
ItemList selection: Check against item count
...
ItemList needs to check against the number of items available when the user moves the selection via "ui_right" action.
2018-04-14 14:36:53 +02:00
Fabio Alessandrelli
eac2863c25
Merge pull request #18154 from mhilbrunner/issue-12512
...
Add DNS resolution in NetworkedMultiplayerEnet::create_client()
2018-04-13 23:09:17 +02:00
mhilbrunner
b0826dec05
Add DNS resolution in NetworkedMultiplayerEnet::create_client()
2018-04-13 22:31:01 +02:00
Ignacio Etcheverry
e3590a2522
Merge pull request #18038 from Chaosus/mathf
...
[Mono] Improvements for Mathf
2018-04-13 22:22:28 +02:00
Rémi Verschelde
e7e9d9a0ea
Merge pull request #18156 from RandomShaper/fix-messed-pr
...
Revert "Unify http- and percent- encode/decode"
2018-04-13 22:20:35 +02:00
Chaosus
655a4e6540
[Mono] Improve Mathf
2018-04-13 20:15:49 +03: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
Chaosus
ac4c340a45
Small performance fix to wrapf
2018-04-13 13:50:17 +03:00
Pedro J. Estébanez
00e98458ba
Revert "Unify http- and percent- encode/decode"
...
This reverts commit b76ee30917
.
2018-04-12 21:12:34 +02: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