Commit Graph

20391 Commits

Author SHA1 Message Date
thomas.herzog 2514594a45 [GDNative] fix godot_variant_evaluate function
Fixes #28984

(cherry picked from commit c1e733466b)
2019-11-12 11:40:17 +01:00
Michael Alexsander Silva Dias b01ef197a6 Fix bottom panel visibility behaviour in the theme editor
Fixes #29034, fixes #29056

(cherry picked from commit b5c8205312)
2019-11-12 11:39:53 +01:00
Rémi Verschelde 8dce0ce022 i18n: Skip unsupported locales for editor translations
Godot currently can't properly render scripts that require Right-To-Left
and font shaping support, so we skip those.
This is a temporary measure until these features are supported.

Fixes #28577.

(cherry picked from commit 92f67ceef3)
2019-11-12 11:39:30 +01:00
Martin Dahlgren bfcb9dfa01 Fix getting max magnitude in AudioEffectSpectrumAnalyzer
(cherry picked from commit 47f628a013)
2019-11-12 11:39:12 +01:00
Swarnim Arun 949e1da462 Fix history state setup in VisualScript
(cherry picked from commit 7155477caa)
2019-11-12 11:38:51 +01:00
Hugo Locurcio 665c00eb58 Allow empty replacement texts in the Find in Files replace dialog
This closes #29026.

(cherry picked from commit a411067829)
2019-11-12 11:38:34 +01:00
Guilherme Felipe 14587802f9 [StateMachine] Fix error message for travel method
(cherry picked from commit 4de6c94eb0)
2019-11-12 11:38:14 +01:00
Lukas Zanner 7022e02d4d Initialize padding on PoolByteArray serialization
(cherry picked from commit c35f4e8808)
2019-11-12 11:37:57 +01:00
Ibrahn Sahir 6d57ebed1a MessageQueue::flush now always destroys parameters of a spent message
Previously, destructors of Variant parameters were not called if the
target of the message was not found.

(cherry picked from commit 5626a1ec20)
2019-11-12 11:37:32 +01:00
RameshRavone ffab947e1c NULL global_tag for non exposed classes
(cherry picked from commit 71808b38bc)
2019-11-12 11:35:01 +01:00
Jason 2da174c9b4 Resolve: #24682 CSGPolygon - weird end cap
(cherry picked from commit 89a9f4621f)
2019-11-12 11:34:20 +01:00
Paulb23 909a1cced8 Fix text_edit drawing incorrect chars when syntax highlighting enabled
(cherry picked from commit a8a0392c12)
2019-11-12 11:26:14 +01:00
Fabio Alessandrelli 390dbbbcbd Fix Object::get_indexed for simple properties.
Object::get_indexed was not correctly reporting invalid keys if the name
was a direct property (not a subproperty), causing for example Tween to
not report correctly a bad interpolate_property key.

(cherry picked from commit d39ffc101b)
2019-11-12 11:25:58 +01:00
Frank Secilia 8ee5dc5850 Fix indexing failure in NativeScriptLanguage::unregister_binding_functions.
binding_functions.size() and an instance's binding_data.size() can get out of sync. They sync up when an instance's bindings are requested. When binding functions are registered after creating an instance's bindings, the instance's bindings are out of sync until requested again. If they're never requested, they're never synced.

unregister_binding_functions indexes into binding_data, but only checks that its safe to index into binding_functions. When they're out of sync, indexing fails.

This revision checks that it's safe to index into binding_data.

(cherry picked from commit a4a0e64245)
2019-11-12 11:25:18 +01:00
Gilles Roudière dcc9c1cc2a Fix NaN with get_action_strength
(cherry picked from commit 3bfa080c9c)
2019-11-12 11:24:39 +01:00
Fabio Alessandrelli 53eb140cf1 Fix GDNative library resource loading.
Store general properties in ConfigFile too when modifying them.
Additionally set config_file property as internal as it's not editable
from inspector. It also does not appear to get saved in a meaningful way
(saved as Object(ConfigFile, ...))

(cherry picked from commit aecbb330f3)
2019-11-12 11:24:12 +01:00
Bojidar Marinov d79be7ec33 Allow or_greater for most properties of NavMesh
Closes #28624

(cherry picked from commit 68bee3d9a2)
2019-11-12 11:23:47 +01:00
JFonS 49613428f1 Fixes to ClippedCamera
This work has been kindly sponsored by IMVU.

(cherry picked from commit 9e97bac0cf)
2019-11-12 11:22:14 +01:00
Bojidar Marinov dc90131d8c Fix AudioEffectRecord messing up the effect stack by not writing to dst_frames
(cherry picked from commit 9285aad8b3)
2019-11-12 11:21:46 +01:00
Fabio Alessandrelli 5c9694bc0d Avoid _can_call_mode resetting error message in MultiplayerAPI
(cherry picked from commit bba77fe387)
2019-11-12 11:20:11 +01:00
Guilherme Felipe 4a933a6409 [EditorSpatialGizmo] Fix error in intersect_ray
(cherry picked from commit 70ead9455f)
2019-11-12 11:19:33 +01:00
Bojidar Marinov 2b9c754d1d Fix default values not being read correctly in VS, take two
Fixes #25889.

(cherry picked from commit b291cfde1b)
2019-11-12 11:17:48 +01:00
Rémi Verschelde 3afd8a374d Locales: Add some missing locale names
(cherry picked from commit 867b96eb71)
2019-11-12 11:17:20 +01:00
homer666 027e2e90fd Refresh import dock on change "animation/storage"
(cherry picked from commit 106d1f3c3c)
2019-11-12 11:15:06 +01:00
homer666 918e120da3 Update edited keyframe's snap mode properly
(cherry picked from commit 62e0262951)
2019-11-12 11:14:08 +01:00
Michele Valente 4f09d433d8 fix builds made with Clang on some Linux distros
This is the same as #23542 (Fix binaries incorrectly detected as shared
libraries on some linux distros) but for Clang. It should be fine with
Clang 4 or higher.

(cherry picked from commit c0fcd55f96)
2019-11-12 11:13:10 +01:00
Ignacio Etcheverry c78c38d817 Mono: Lazily load scripts metadata file
- Only load the scripts metadata file when it's really needed. This way we avoid false errors, when there is no C# project,  about missing scripts metadata file.

(cherry picked from commit 791e1294c3)
2019-11-12 11:12:49 +01:00
James Buck 7577dd804a Cancel tooltip when hiding the node it belongs to
(cherry picked from commit bc7863775c)
2019-11-12 11:12:33 +01:00
Guilherme Felipe 8ef5052967 Add Input::get_current_cursor_shape
[Clean up] Removed unused/unnecessary methods.

(cherry picked from commit 1bae73d7d0)
2019-11-12 11:10:53 +01:00
mashumafi 717c492eb6 Add setting to exclude addons from script warnings
(cherry picked from commit d7137a6b72)
2019-11-12 11:10:01 +01:00
lupoDharkael ad1e8069d3 GDScript: add variable shadowing warning
(cherry picked from commit 14078fbb82)
2019-11-12 11:09:28 +01:00
Jared 66c1b8adc4 Light2D height range expanded to -2048 to 2048.
(cherry picked from commit 307bc16523)
2019-11-12 11:07:41 +01:00
Aaron Winter 794341e0b5 added negative X and negative Y offset to TileMap
clang-format

added negative X and negative Y offset to TileMap

(cherry picked from commit 63e0fd7675)
2019-11-12 11:07:19 +01:00
Christoph Schroeder 0f1704c9e8 Fixes Geometry.segment_intersects_circle working only one way.
(cherry picked from commit dcbe55a1fa)
2019-11-12 11:04:27 +01:00
will 7d84035e13 New shortcuts for the editor menu items
(cherry picked from commit 7a88002992)
2019-11-12 11:04:06 +01:00
Vixelz 39e76014d4 Include global class resources in Resource property inspector
Much like how script defined global classes can be created from the
"New Resource..." button in the FileSystem panel, this allows the
creation of script defined resources to be embedded.

(cherry picked from commit 03f7a724ed)
2019-11-12 11:02:43 +01:00
Rémi Verschelde a5f4f15510 AudioStreamOGGVorbis: Expose loop and loop_offset as properties
Fixes #11231.

(cherry picked from commit 51d1be5156)
2019-11-12 11:00:33 +01:00
Rémi Verschelde 24465c5e25 tinyexr: Sync with upstream 656bb61
(cherry picked from commit 6a2c2e5062)
2019-11-12 09:53:52 +01:00
Rémi Verschelde 908c8862ab nanosvg: Sync with upstream c1f6e20
Now formally unmaintained, so probably no further sync to expect
from this repository.

(cherry picked from commit 097b746fdd)
2019-11-12 09:53:04 +01:00
Rémi Verschelde 6b972f178a miniupnpc: Sync with upstream master (0ab1d67)
(cherry picked from commit e2fbfb1ded)
2019-11-12 09:52:09 +01:00
Rémi Verschelde 1b7a2e7284 mbedtls: Update to upstream version 2.16.3
(cherry picked from commit a3d77be53b)
2019-11-12 09:51:43 +01:00
Rémi Verschelde 699b087296 glad: Sync with upstream 0.1.33
(cherry picked from commit 92c3b6c85e)
2019-11-12 09:50:05 +01:00
Rémi Verschelde 716f7c3d32 X11: Fix memory leak in handle_key_event
Extracted from #27189.

(cherry picked from commit d191ffb47d)
2019-11-12 08:41:42 +01:00
PouleyKetchoupp 9360b23544 Fixed crash when pressing down key on empty Tree
Fixes #33554

(cherry picked from commit 47a4ca0022)
2019-11-12 08:41:00 +01:00
Jonathan Mannancheril 8851026e8a Update libogg to upstream c8fca6b
(cherry picked from commits 6eb8c11d32
and e70e894433)
2019-11-12 08:15:54 +01:00
volzhs b94f728699 Update libwebp to 1.0.3
(cherry picked from commit 074d421dca)
2019-11-12 08:14:40 +01:00
Rémi Verschelde 76db2b4dcb Android: Fix another regression with Secure.ANDROID_ID
Regression from #24145, which was missed in #28146.

(cherry picked from commit 071ebb1e48)
2019-11-12 08:13:22 +01:00
Jonathan Mannancheril bc31b11fdd Update zstd to 1.4.4
(cherry picked from commit 55afd6e784)
2019-11-12 08:10:10 +01:00
unknown c563839355 Update zstd to 1.4.3
(cherry picked from commit 61ad365fc9)
2019-11-12 08:09:52 +01:00
Rémi Verschelde b9b2e80add zstd: Update to upstream version 1.4.1
(cherry picked from commit b81fa47f38)
2019-11-12 08:09:07 +01:00