Commit Graph

33576 Commits

Author SHA1 Message Date
Rémi Verschelde
224f5cab99
Merge pull request #46378 from reduz/static-method-in-variant-types
Add static method support to core Variant types
2021-03-16 15:44:04 +01:00
reduz
ecfa570ccb Add static method support to core Variant types
* Properly exposed, including validated and variant call
* Bound static functions in String and Color
* Did not add support for scripting languages, will have to be added manually.
2021-03-16 10:53:05 -03:00
Fabio Alessandrelli
21b05a3944
Merge pull request #45018 from akien-mga/miniupnpc-2.2.1
miniupnpc: Update to version 2.2.2
2021-03-16 12:03:06 +01:00
Rémi Verschelde
d1d09bf8bc
i18n: Sync translations with Weblate
(cherry picked from commit 94a0fc47f7)
2021-03-16 11:42:02 +01:00
Rémi Verschelde
69486b1059
miniupnpc: Update to version 2.2.2 2021-03-16 10:54:38 +01:00
Rémi Verschelde
245cfcaba6
Merge pull request #47046 from aaronfranke/sprite-frames
Move SpriteFrames to its own file in the resources folder
2021-03-16 10:43:49 +01:00
Rémi Verschelde
ab76957960
Merge pull request #47049 from m4gr3d/simplify_godot_plugin_methods_registration_master
Improve Godot Android plugin methods registration
2021-03-16 10:35:01 +01:00
Fredia Huya-Kouadio
2d574bcc85 Leverage java annotations to simplify the logic used to register the Godot plugin methods. 2021-03-16 01:16:08 -07:00
Aaron Franke
a94cef0ea0
Move SpriteFrames to its own file in the resources folder 2021-03-16 02:00:47 -04:00
Rémi Verschelde
a384fac953
Merge pull request #47014 from aaronfranke/atlastex-doc
Improve documentation for AtlasTexture
2021-03-15 21:12:34 +01:00
Rémi Verschelde
37740ecb0e
Merge pull request #47032 from Calinou/doc-acos-atan-range
Document the valid input range for `acos()` and `atan()`
2021-03-15 20:59:14 +01:00
Rémi Verschelde
8e293bac4e
Merge pull request #47033 from timothyqiu/crash-fix
Fix AnimationTree editor crash when renaming node
2021-03-15 18:33:31 +01:00
Rémi Verschelde
da15867b8c
Merge pull request #47027 from Faless/net/4.x_upnp_null_fixes
[Net] Fix miniupnpc when no interface is specified
2021-03-15 18:32:04 +01:00
Fabio Alessandrelli
163fc125cd [Net] Fix miniupnpc when no interface is specified
This is a tricky one, it used to work, but it was wrong, because in such
a scenario instead of passing NULL as required by the API, it would pass
a buffer containing the `\0` terminator.
This stopped working on a specific miniupnpc version, when they fixed
some network endianess issue on Windows, to which we made a workaround,
which in turn would probably result in failures when the interface is
specified.

This commit address the issue properly, by checking the specified
interface string size, and correctly passing NULL instead of the empty
string when necessary.

Also reverts the commit that introduced the bogus workaround:
e85330231c

One of those PR when the explaination is much longer then code changes
:).
2021-03-15 17:33:26 +01:00
Hugo Locurcio
d359e159da
Document the valid input range for acos() and atan() 2021-03-15 17:25:22 +01:00
Haoyu Qiu
eac806547f Fix AnimationTree editor crash when renaming node 2021-03-16 00:21:20 +08:00
Rémi Verschelde
6eef187a81
Merge pull request #46993 from gongpha/check-if-edit-called-via-editor
Check if _edit_set_position and _edit_set_rect was used outside an editor
2021-03-15 08:57:45 +01:00
Rémi Verschelde
d1b5c1d09f
Merge pull request #47019 from neikeq/csharp-fix-disconnec-events-signals-twice
C#: Fix disconnecting event signals twice
2021-03-15 08:36:48 +01:00
Kongfa Waroros
b80406770f Check if _edit_set_position and _edit_set_rect was used outside an editor 2021-03-15 14:34:24 +07:00
Rémi Verschelde
5375da2fdb
Merge pull request #44333 from lupoDharkael/preferred-extension
Save resource: give .res less priority as preferred extension
2021-03-15 08:22:09 +01:00
Rémi Verschelde
db0355cb07
Merge pull request #37065 from dreamsComeTrue/ruler-origin-fix
Reset ruler tool when switching tools with shortcuts
2021-03-15 08:15:07 +01:00
Rémi Verschelde
a4fd6d374c
Merge pull request #47010 from akien-mga/modernized_thread_fix_freebsd
Thread: Re-add pthread_np.h include for FreeBSD/OpenBSD
2021-03-15 07:13:54 +01:00
Ignacio Etcheverry
5b3b9cd63b C#: Fix disconnecting event signals twice
`disconnect_event_signals` can be called twice (when managed instance
is disposed and from the ScriptInstance destructor).
2021-03-15 07:08:10 +01:00
Aaron Franke
682286fec8
Improve documentation for AtlasTexture 2021-03-14 21:18:50 -04:00
Dominik 'dreamsComeTrue' Jasiński
a99a671034 Reset ruler tool when switching tools with shortcuts
Fixes: #37056
2021-03-15 00:28:52 +01:00
Rémi Verschelde
7a64819c2f
Thread: Re-add pthread_np.h include for FreeBSD/OpenBSD
Was a regression from #45315.

Fixes #46998.
2021-03-14 22:42:48 +01:00
Rémi Verschelde
b060ca680a
Merge pull request #47004 from Calinou/editor-move-to-trash-windows
Use OS-specific terminology for "Move to Trash" in the editor filesystem
2021-03-14 22:00:15 +01:00
Rémi Verschelde
e726bf95e4
Merge pull request #47008 from pycbouh/tab-container-stale-texts
Fix stale tab names in TabContainer
2021-03-14 21:59:42 +01:00
Hugo Locurcio
79e31efd40
Use OS-specific terminology for "Move to Trash" in the editor filesystem
This closes https://github.com/godotengine/godot-proposals/issues/2460.
2021-03-14 21:18:58 +01:00
Yuri Sizov
0c41411fe8 Fix stale tab names in TabContainer 2021-03-14 22:54:46 +03:00
Rémi Verschelde
31bf926eb4
Merge pull request #47003 from bruvzg/rtl_bbcode_and_sel_fix
Fix RTL BBCode range regression and selection issues.
2021-03-14 20:13:46 +01:00
bruvzg
48698ccb9f
Fix RTL BBCode range regression and selection issues. 2021-03-14 19:54:48 +02:00
Rémi Verschelde
6edb0a75ab
Merge pull request #46936 from DavidSichma/match_temp_header
Fixed match test expression for temporaries
2021-03-14 15:46:53 +01:00
Rémi Verschelde
2e2d533b48
Merge pull request #46971 from YeldhamDev/editinspec_theme_fix
Fix EditorInspector not updating its theme on rare occasions
2021-03-14 11:58:30 +01:00
Rémi Verschelde
adeae2deae
Merge pull request #46990 from gongpha/check-in-camera-feed
Check if an input image wasn't Image on several functions in CameraFeed
2021-03-14 11:48:59 +01:00
Rémi Verschelde
55d9c31dcb
Merge pull request #46943 from jmb462/fix-editor-slider-grabber-zoomed-bad-position
Fix EditorSpinSlider grabber zoom issues (Fix #46632)
2021-03-14 11:35:46 +01:00
Rémi Verschelde
61155b5e29
Merge pull request #46942 from ray90514/debug
Fix Node can not be reselected
2021-03-14 11:34:02 +01:00
Kongfa Waroros
916e576021 Check if an input image wasn't Image on several functions in CameraFeed 2021-03-14 16:47:21 +07:00
Rémi Verschelde
dc038bd7c3
Merge pull request #46799 from goostengine/module-includes
Provide missing include path for custom modules
2021-03-14 01:16:11 +01:00
Rémi Verschelde
8051307efe
Merge pull request #46810 from W4RH4WK/file-access-get-buffer-parameter-checks
Add parameter checks to FileAccess get_buffer functions
2021-03-14 01:11:55 +01:00
Rémi Verschelde
a9bdc5dec0
Merge pull request #46986 from akien-mga/clang-format-hook-version-number
clang-format: Fix version number in hook warning
2021-03-14 01:08:30 +01:00
Rémi Verschelde
f4d46f6290
clang-format: Fix version number in hook warning 2021-03-14 01:07:14 +01:00
Rémi Verschelde
df4019c0da
Merge pull request #46970 from jmb462/fix-crash-on-closing-empty-modified-scene
Fix crash on closing empty modified scene (Fix #46959)
2021-03-14 01:04:32 +01:00
Rémi Verschelde
1066dbcecc
Merge pull request #46968 from sboronczyk/fix-editor-plugin-mono
Fix create c# script from editor after partial class type is necessary
2021-03-14 00:27:34 +01:00
Rémi Verschelde
f381ea8bb6
Merge pull request #46985 from jmb462/Fix-Asset-Library-URL-editor-update
Fix Asset Library URLs not updating without restarting after been changed in editor settings (Fix #46977)
2021-03-14 00:20:38 +01:00
jmb462
6525d74623 Fix Asset Library URL not updating after been changed in editor settings
The changes made in this commit refresh the URL OptionButton when editor settings are modified.

No need to restart any more for the changes to appear in the Asset Library.

Fix #46977
2021-03-13 22:55:59 +01:00
Rémi Verschelde
21aabc4fe3
Merge pull request #46969 from Pop0p/fix_folder_stripedges
Remove whitespaces when creating folder
2021-03-13 22:22:27 +01:00
Rémi Verschelde
0fd723d3ec
Merge pull request #46941 from goostengine/asan-msvc
Add `use_asan` option for MSVC to enable AddressSanitizer
2021-03-13 22:10:01 +01:00
lupoDharkael
f2e906496b Save resource: implement extension priority
give .res less priority and .tres more priority as preferred
extensions.
2021-03-13 22:09:17 +01:00
Rémi Verschelde
223a06955e
Merge pull request #46978 from jmb462/fix-hardcoded-maya-style-pan-key-modifier
Fix hardcoded Maya style navigation pan key modifier (Fix #46973)
2021-03-13 22:03:40 +01:00