Commit Graph

25137 Commits

Author SHA1 Message Date
Fabio Alessandrelli
ca19a3fe9a Fix crash on Android with no manifest permissions.
API allows for null array of permissions. It is now normalized with an
empty array.
2019-12-17 14:46:04 +01:00
Rémi Verschelde
d8d96c9fa7
Merge pull request #34349 from timothyqiu/enum-scope
Show full enum name when not on the same doc page
2019-12-15 13:08:41 +01:00
Rémi Verschelde
e9474715c0
Merge pull request #34360 from timothyqiu/gdscript-func-docs
Updates docs for GDScript built-in functions
2019-12-15 12:33:38 +01:00
Haoyu Qiu
468fcd80bb Updates docs for GDScript built-in functions
* Adds description for `ord()`
* Adds relationship description between `char()` and `ord()`
* Describes the argument of `char()` as Unicode code point instead of ASCII code
* Fixes wrong interval notation in `randi()` description
2019-12-15 19:06:29 +08:00
Rémi Verschelde
389b7939bf
Merge pull request #34356 from Calinou/styleboxflat-lower-max-corner-detail
Lower the maximum StyleBoxFlat corner detail to 20
2019-12-15 11:41:00 +01:00
Rémi Verschelde
7045111f45
Merge pull request #34344 from YeldhamDev/slider_unused_cleanup
Remove unused theme elements in H/VSlider
2019-12-15 11:29:08 +01:00
Rémi Verschelde
9c5fd89365
Merge pull request #34361 from timothyqiu/group-editor-min-size
Fixes wrong minimum size of Group Editor
2019-12-15 10:35:02 +01:00
Haoyu Qiu
bbaf212c62 Fixes wrong minimum size of Group Editor
Takes current editor scale into account when setting the minimum size.
2019-12-15 13:41:01 +08:00
Hugo Locurcio
324e02596f
Lower the maximum StyleBoxFlat corner detail to 20
This value should be sufficient even for very large corner radii.

This closes #34354.
2019-12-14 23:35:01 +01:00
Rémi Verschelde
ce7d3bb1c7
Merge pull request #34353 from Calinou/increase-2d-editor-zoom-limits
Increase the TileSet and polygon UV editor zoom limits to 16×
2019-12-14 21:54:44 +01:00
Rémi Verschelde
d3a07d3550
Merge pull request #33910 from Faless/net/android_mlock
Acquire MulticastLock on Android when using broadcast/multicast
2019-12-14 21:53:08 +01:00
Hugo Locurcio
980e962bb8
Increase the TileSet and polygon UV editor zoom limits to 16×
This also changes the TileSet editor's minimum zoom to match
other 2D editors.

This closes #34346.
2019-12-14 20:49:43 +01:00
Fabio Alessandrelli
04c917899f Add Android NetSocket implementation.
Automatically acquire and release multicast lock when needed.
2019-12-14 18:10:36 +01:00
Fabio Alessandrelli
fafda80a4b Add GodotNetUtils Java class for Android.
Provides access to a MulticastLock.
As specified by the Android API, broadcast/multicast packets may be
filtered on some phones unless the application explicitly acquires
a "MulticastLock".
2019-12-14 18:10:36 +01:00
Fabio Alessandrelli
9269d6be32 UDP sockets broadcast is now disabled by default.
Add method `set_broadcast_enabled` to allow enabling broadcast via
GDScript.
2019-12-14 17:48:16 +01:00
Rémi Verschelde
a5dcabbbfb
Merge pull request #34272 from MissKraya/34258-fix
Fix for #34258 and added get_zoom_hbox() documentation.
2019-12-14 17:14:41 +01:00
Rémi Verschelde
abab4c0e25
Merge pull request #34300 from Acvarium/ragdoll-impuls
Added apply_impulse methods to PhysicalBone for ragdolls
2019-12-14 17:13:09 +01:00
Hannah Crawford
59937e1c54 Updated get_zoom_hbox() documentation. 2019-12-14 14:02:15 +00:00
Rémi Verschelde
e0ca3a9ffa
Merge pull request #34350 from volzhs/remove-convex-decomp
Remove convex_decomp in drivers/SCsub
2019-12-14 14:52:45 +01:00
volzhs
904b7700fa Remove convex_decomp in drivers/SCsub
follow-up f111d1aaed
2019-12-14 21:41:21 +09:00
Haoyu Qiu
d3851d5452 Show enum class name when not on the same doc page
Variant.Type and Variant.Operator are listed on GlobalScope page instead
of Variant. The `Variant` prefix should not be omitted on that page.
2019-12-14 18:46:34 +08:00
Rémi Verschelde
3a9284b562
Merge pull request #34338 from Catchawink/master
Fixed an issue with capturing audio from microphones in macOS.
2019-12-14 09:54:12 +01:00
Michael Alexsander
af67e97445 Remove unused theme elements in H/VSlider 2019-12-13 21:17:51 -03:00
Catchawink
5152afa70c Added microphone and camera usage descriptions to macOS builds. 2019-12-13 19:15:50 -05:00
Rémi Verschelde
3740ec25f7
Merge pull request #34339 from NoFr1ends/fix-bundle-verify-ios
Change bundle name rules on iOS to match Apple's requirements
2019-12-14 00:17:13 +01:00
Rémi Verschelde
d23b8719f4
Merge pull request #34340 from akien-mga/drop-box2d-convexdecomp
Drop b2d_convexdecomp, no longer necessary.
2019-12-14 00:16:37 +01:00
Jonas Bernemann
41c3c77e80 Change bundle name rules on iOS to match Apple's requirements
Changed the bundle identifier verification to match the official
verficiation.
https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleidentifier

This help developers to migrate existing games to godot without
constantly having to change the bundle identifier in the generated
XCode project.
2019-12-14 00:03:30 +01:00
Rémi Verschelde
f111d1aaed Drop b2d_convexdecomp. no longer necessary.
We now use `thirdparty/misc/triangulator.h` for all physics-related
(collision, navigation) triangulation needs.

Follow-up to #34293.
2019-12-13 23:29:52 +01:00
Rémi Verschelde
f18cb89681
Merge pull request #34293 from jitspoe/collision-polygon-export-fix
Fix for collision polygon not working at all on exported builds.
2019-12-13 23:28:22 +01:00
Rémi Verschelde
12ee35737f
Merge pull request #34334 from neikeq/issue-33503
Mono/C#: Fix class parser bug with 'where T : struct'
2019-12-13 20:13:28 +01:00
Rémi Verschelde
e65db6a16b
Merge pull request #34333 from vnen/gdscript-assign-op
Fix some cases where typed assignment gets invalid
2019-12-13 20:13:12 +01:00
Rémi Verschelde
d14f1947a4
Merge pull request #34327 from timothyqiu/types-doc
Makes int and bool types clickable in documentation
2019-12-13 20:13:01 +01:00
Ignacio Etcheverry
f2a2293709 Mono/C#: Fix class parser incorrectly handling nested namespaces
It would incorrectly error thinking the nested namespace is being declared inside a struct/class. This was because of an incorrect nesting level being used for classes and structs.
2019-12-13 19:55:32 +01:00
Ignacio Etcheverry
c1ab956dd0 Mono/C#: Fix class parser bug with 'where T : struct'
The struct decl parsing was outdated. Make both struct decl and class declparsing share the same code.
2019-12-13 19:50:42 +01:00
Rémi Verschelde
81f513ddc6
Merge pull request #34331 from akien-mga/vhacd-fix-uwp-arm-build
vhacd: Patch to fix UWP ARM build
2019-12-13 18:23:15 +01:00
Rémi Verschelde
19252d48ed vhacd: Patch to fix UWP ARM build
This is a very outdated copy of Bullet's btScalar.h,
we're probably only discovering the tip of the bad
cross-platform compatibility of the unmaintained vhacd.
2019-12-13 17:46:51 +01:00
George Marques
cb887324e6
GDScript: Convert values when setting member variables
This allows doing: self.x = 1 even if self.x is declared as float.
2019-12-13 12:51:53 -03:00
George Marques
475d7f0e52
GDScript: Fix type conversion in assignment with operation 2019-12-13 12:51:08 -03:00
Rémi Verschelde
37f664b1a5
Merge pull request #34328 from Dancovich/patch-1
Clarifying how float(String from) parses partially invalid strings
2019-12-13 15:47:18 +01:00
Danilo Costa Viana
185017b922
Clarifying how float(String from) parses partially invalid strings
Update the description of this method to be in line with [code]int int(String from)[/code] in regards to how it deals with a completely invalid parameter and a partially invalid parameter.
2019-12-13 11:34:26 -03:00
Haoyu Qiu
249c2c4615 Makes int and bool clickable in documentation
Also adjusted the way to check empty strings.
2019-12-13 21:53:52 +08:00
Rémi Verschelde
cf3a863fa9
Merge pull request #34229 from NoFr1ends/fix-home-indicator-ios
Allow to change the home indicator behaviour on iOS
2019-12-13 14:00:14 +01:00
Rémi Verschelde
9432520449 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@allkhor, @Eoin-ONeill-Yokai, @timothyqiu, @madmiraal, @zaksnet

Update sponsors on splash screen.

Thanks to all contributors and donors for making Godot possible!
2019-12-13 13:50:33 +01:00
Jonas Bernemann
4d61118f64 Add project setting to hide home indicator on iOS
On iOS devices without a physical home button iOS
shows a home indicator instead. This is often in the
way of the UI or the game.
Added a project setting to disable hidden home indicator.
The default value is to hide the home indicator
2019-12-13 11:00:18 +01:00
Rémi Verschelde
787113d96e i18n: Sync translation template with current source 2019-12-13 10:41:06 +01:00
Rémi Verschelde
115a45c2c5 i18n: Sync translations with Weblate 2019-12-13 10:41:06 +01:00
Rémi Verschelde
9f68626fb2 doc: Sync classref with current source
Also apply clang-format.
2019-12-13 10:41:06 +01:00
Rémi Verschelde
d31ff039ed
Merge pull request #34310 from qarmin/shift_operators
Don't allow to use too big or too small shift count
2019-12-13 09:47:43 +01:00
Rémi Verschelde
2d69c20d2a
Merge pull request #34287 from Xrayez/tween-trans-ease-default
Provide default Tween values for transition and easing types
2019-12-13 09:42:57 +01:00
Rémi Verschelde
ae2c6b638a
Merge pull request #34323 from timothyqiu/i18n
Make more editor strings translatable
2019-12-13 09:40:39 +01:00