Commit Graph

25565 Commits

Author SHA1 Message Date
Catchawink b2a14042d5 Fixed issues with using a relative path in the export window.
Before this fix, opening relative export paths inside of an EditorFileDialog was not possible. This was fixed by modifying String::path_to_file() to save relative paths in EditorExportPreset::set_export_path() more appropriately and changing EditorFileDialog::set_current_dir() to open relative paths.
2019-12-16 09:50:42 -05:00
Rémi Verschelde a866028a7a Mono: Enable threads suspend workaround on Windows
This appears to be necessary for current official builds cross-compiled
with MinGW from Linux, using Mono 6.6.0.160.

Follow-up to #31784, see #29812 for details.
2019-12-16 15:40:26 +01:00
Rémi Verschelde 817165b96c
Merge pull request #34246 from tygree/nan-in-sprite-fix
Fixed a bug within sprite.cpp that caused a nan value to appear
2019-12-16 15:03:58 +01:00
Rémi Verschelde f8ea390b52
Merge pull request #34269 from KoBeWi/scrolling_peeps
Scroll ScrollContainer to focused children
2019-12-16 14:03:21 +01:00
Tyler Greenwood e4a0abdd93 Fixed a bug within sprite.cpp that caused nan values to appear when a texture had zero area 2019-12-16 13:53:35 +01:00
Rémi Verschelde d4601776db
Merge pull request #34377 from timothyqiu/i18n
Makes more strings in editor translatable
2019-12-16 09:56:23 +01:00
Haoyu Qiu 7a9c337dfe Makes more strings in editor translatable
* File type names in file dialogs
* Layout option names
* Visual shader editor UI
2019-12-16 16:41:07 +08:00
Rémi Verschelde 74977277fa
Merge pull request #34280 from zaksnet/fix-yield-documentation
Fix documentation for yield
2019-12-16 08:49:32 +01:00
Rémi Verschelde 51ab6a96fd
Merge pull request #34311 from mikkac/34289
Fix- using cut in first line of a script file does not remove the line
2019-12-16 08:48:47 +01:00
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
Yuri Roubinsky dc0199989d Moves switch for show scripts panel from File menu to status bar 2019-12-15 16:56:28 +03: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
Mikolaj Kaczmarek eced81e359 Fix- using cut in first line of a script file does not remove the line 2019-12-14 19:11:19 +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