Commit graph

25147 commits

Author SHA1 Message Date
Rémi Verschelde
7f62ee69b1 Travis: Fix reporting clang-format errors after #34097 2019-12-16 08:46:36 +01:00
Rémi Verschelde
183eafcea8
Merge pull request #34375 from timothyqiu/vcenter
Center error icon vertically in AssetLib
2019-12-16 08:27:55 +01:00
Rémi Verschelde
6ec42b7507
Merge pull request #34372 from KoBeWi/how_to_graphnode
Mention how to add slots to GraphNode
2019-12-16 08:26:43 +01:00
Rémi Verschelde
b72e4079f3
Merge pull request #34374 from KoBeWi/thinking_out_of_the_loop
Prevent infinite loop when focus_next is invisible
2019-12-16 08:24:49 +01:00
Rémi Verschelde
c39aa2b200
Merge pull request #34367 from clayjohn/GLES2-shadow_color
Fix shadow color in GLES2 by making sRGB
2019-12-16 08:05:17 +01:00
Rémi Verschelde
c87e6fa36f
Merge pull request #34336 from aaronfranke/transform-doc
Document that translated does not behave like rotated or scaled
2019-12-16 08:03:10 +01:00
Haoyu Qiu
a3ab1cb698 Center error icon vertically in AssetLib 2019-12-16 09:24:02 +08:00
Tomasz Chabora
32939ccd39 Prevent infinite loop when focus_next is invisible 2019-12-16 01:33:25 +01:00
Tomasz Chabora
078e9c04d2 Mention how to add slots to GraphNode 2019-12-15 23:29:27 +01:00
clayjohn
2a694a44cb fix shadow color in GLES2 by making sRGB 2019-12-15 10:27:31 -08:00
Aaron Franke
1b8b380993
Document that translated does not behave like rotated or scaled 2019-12-15 12:31:08 -05: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