Commit Graph

33585 Commits

Author SHA1 Message Date
c28428fe4d Allow nullptr with zero length in FileAccess get_buffer
fix #47071
2021-03-16 22:55:11 +01:00
97ce8708e8 Merge pull request #47076 from Faless/debugger/4.x_remote_peer_backoff
[Net] Make debugger peer less CPU intensive.
2021-03-16 22:14:21 +01:00
87353c90fa [Net] Make debugger peer less CPU intensive.
Make sure that RemoteDebuggerPeer wait at least 100us between polls
(effectively forcing a min tick of 100 microseconds).

This greatly improve performances (the call to poll was useless since
during low traffic, writes would always be available, and during high
traffic, reads would always be available, effectively making it a
busy-waiting loop). We could further improve this, by separating the two
polls, and adjust the min tick based on load, but this is most likely
more than enough already without sacrificing too much on high loads.
2021-03-16 21:48:15 +01:00
a6066c5e42 Merge pull request #47072 from bruvzg/hb_2_8_0
HarfBuzz: Update to version 2.8.0
2021-03-16 21:28:00 +01:00
d71c9f0005 Merge pull request #47065 from m4gr3d/fallback_to_text_project_godot
Fix bug causing `project.godot` to be ignored when `project.binary` is missing
2021-03-16 21:03:09 +01:00
b79e8c22f0 HarfBuzz: Update to version 2.8.0 2021-03-16 19:56:52 +02:00
4c56fcd6cd Merge pull request #39810 from christinoleo/master
Make GraphNode handle children with EXPAND flag
2021-03-16 18:10:08 +01:00
862e2df1a4 Fix bug causing project.godot to be ignored when project.binary is missing 2021-03-16 09:38:35 -07:00
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
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
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
d1d09bf8bc i18n: Sync translations with Weblate
(cherry picked from commit 94a0fc47f7)
2021-03-16 11:42:02 +01:00
69486b1059 miniupnpc: Update to version 2.2.2 2021-03-16 10:54:38 +01:00
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
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
2d574bcc85 Leverage java annotations to simplify the logic used to register the Godot plugin methods. 2021-03-16 01:16:08 -07:00
a94cef0ea0 Move SpriteFrames to its own file in the resources folder 2021-03-16 02:00:47 -04:00
a384fac953 Merge pull request #47014 from aaronfranke/atlastex-doc
Improve documentation for AtlasTexture
2021-03-15 21:12:34 +01:00
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
8e293bac4e Merge pull request #47033 from timothyqiu/crash-fix
Fix AnimationTree editor crash when renaming node
2021-03-15 18:33:31 +01:00
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
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
d359e159da Document the valid input range for acos() and atan() 2021-03-15 17:25:22 +01:00
eac806547f Fix AnimationTree editor crash when renaming node 2021-03-16 00:21:20 +08:00
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
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
b80406770f Check if _edit_set_position and _edit_set_rect was used outside an editor 2021-03-15 14:34:24 +07:00
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
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
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
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
682286fec8 Improve documentation for AtlasTexture 2021-03-14 21:18:50 -04:00
a99a671034 Reset ruler tool when switching tools with shortcuts
Fixes: #37056
2021-03-15 00:28:52 +01:00
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
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
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
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
0c41411fe8 Fix stale tab names in TabContainer 2021-03-14 22:54:46 +03:00
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
48698ccb9f Fix RTL BBCode range regression and selection issues. 2021-03-14 19:54:48 +02:00
6edb0a75ab Merge pull request #46936 from DavidSichma/match_temp_header
Fixed match test expression for temporaries
2021-03-14 15:46:53 +01:00
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
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
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
61155b5e29 Merge pull request #46942 from ray90514/debug
Fix Node can not be reselected
2021-03-14 11:34:02 +01:00
916e576021 Check if an input image wasn't Image on several functions in CameraFeed 2021-03-14 16:47:21 +07:00
dc038bd7c3 Merge pull request #46799 from goostengine/module-includes
Provide missing include path for custom modules
2021-03-14 01:16:11 +01:00
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
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
f4d46f6290 clang-format: Fix version number in hook warning 2021-03-14 01:07:14 +01:00