Fabio Alessandrelli
aca5540e13
[Net] Fix IP address resolution incorrectly locking the main thread.
...
This seems to be a pretty old bug, older then originally reported (at
least under certain circumstances).
The IP singleton uses a resolve queue so developers can queue hostnames
for resolution in a separate while keeping the main thread unlocked
(address-resolution OS functions are blocking, and could block for a long
time in case of network disruption).
In most places though, the address resolution function was called with
the mutex locked, causing other functions (querying status, queueing
another hostname, ecc) to block until that resolution ended.
This commit ensures that all calls to OS address resolution are done
with the mutex unlocked.
2021-08-03 00:24:22 +02:00
Hugo Locurcio
3ea3addc79
Improve CodeEdit's callhint highlight visibility
...
This makes the currently edited parameter more visible in the
script editor's code completion hint.
2021-08-02 23:16:16 +02:00
Rémi Verschelde
c17a541650
Merge pull request #51039 from nekomatata/layer-grid-32
...
Refactor layer property editor grid
2021-08-02 21:14:16 +02:00
Yuri Roubinsky
bd6b7c4b0f
Merge pull request #51144 from Chaosus/vs_version
...
Makes dictionary instead of string for visual shader version
2021-08-02 21:55:50 +03:00
Rémi Verschelde
610fbc556a
Merge pull request #51168 from akien-mga/dependency-move-to-trash
...
Dependency editor: Edit message about move to trash
2021-08-02 20:45:55 +02:00
Rémi Verschelde
c620ede327
Merge pull request #50122 from Paulb23/code_edit_auto_brace_completion
2021-08-02 20:44:39 +02:00
Yuri Roubinsky
94c6817b51
Makes dictionary instead of string for visual shader version
...
Update doc/classes/VisualShader.xml
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-08-02 21:34:19 +03:00
Rémi Verschelde
737d3d31a6
Merge pull request #51192 from timothyqiu/sdfgi-enum-range
...
Validates set_sdfgi_cascades argument range
2021-08-02 18:20:58 +02:00
Rémi Verschelde
51fac9e3c7
Merge pull request #51187 from timothyqiu/vertex-index-3
...
Fix crash when number of indices to optimize is not a multiple of 3
2021-08-02 18:19:06 +02:00
Rémi Verschelde
cbfe6a4180
Merge pull request #51190 from timothyqiu/vs-node
...
Validates VisualScript.add_node input node
2021-08-02 18:18:19 +02:00
Haoyu Qiu
b6638cb80d
Validates set_sdfgi_cascades argument range
2021-08-02 23:50:59 +08:00
Haoyu Qiu
0ca38ffe76
Validates VisualScript.add_node input node
2021-08-02 23:36:13 +08:00
Rémi Verschelde
2db45b62c0
Merge pull request #51185 from timothyqiu/tile-data-enum-range
...
Validate TileData enum range before using it as index
2021-08-02 17:20:44 +02:00
Rémi Verschelde
5360c2012c
Merge pull request #51004 from groud/tilemap_layers
...
Implements TileMap layers and move TileSetPlugins's functions to the TileMap node instead
2021-08-02 17:20:32 +02:00
Haoyu Qiu
0c879ab288
Fix crash when number of indices to optimize is not a multiple of 3
2021-08-02 23:07:18 +08:00
Haoyu Qiu
091d802692
Validate TileData enum range before using it as index
2021-08-02 22:49:23 +08:00
Rémi Verschelde
b9d544b404
Merge pull request #51173 from RandomShaper/tidy_property_reversion
...
Fix up property reversion
2021-08-02 15:47:57 +02:00
Rémi Verschelde
538d026527
Merge pull request #51176 from KoBeWi/nullbind
...
Add null check to Tween.bind_node()
2021-08-02 15:47:41 +02:00
Rémi Verschelde
ba8158fc63
Merge pull request #51172 from Faless/io/4.x_64_array_marshalls
...
[Marshalls] Fix Float64Array and Int64Array serialization.
2021-08-02 15:11:38 +02:00
Rémi Verschelde
f20c00a935
Merge pull request #51170 from timothyqiu/spin-slider-osx
...
Use Command+Drag in EditSpinSlider on macOS
2021-08-02 14:40:26 +02:00
kleonc
a5a4532378
TabContainer Fix moving dropped tab at incorrect child index
2021-08-02 14:15:51 +02:00
kobewi
053f20be76
Add null check to Tween.bind_node()
2021-08-02 14:15:40 +02:00
Pedro J. Estébanez
24f2aaecc3
Fix up property reversion
2021-08-02 13:58:02 +02:00
Gilles Roudière
ad8b5cd5a4
Implements TileMap layers and move TileSetPlugins's functions to the TileMap node instead
2021-08-02 13:54:39 +02:00
Fabio Alessandrelli
fed0bf013a
[Marshalls] Fix Float64Array and Int64Array serialization.
...
One was incorrectly reading the size (potentially causing out-of-buffer
read), the other also potentially causing out-of-buffer write during
encoding.
2021-08-02 13:35:33 +02:00
Rémi Verschelde
33fd41472c
Merge pull request #49783 from aaronfranke/real-editor-plugins
...
Use real_t in editor plugins
2021-08-02 12:50:54 +02:00
Haoyu Qiu
4404c71ca1
Use Command+Drag in EditSpinSlider on macOS
2021-08-02 18:43:43 +08:00
Rémi Verschelde
face3203be
Merge pull request #50430 from goostengine/ctrl-enter-commit
...
VCS: Allow to stage and commit all files with Ctrl + Enter
2021-08-02 12:20:10 +02:00
Rémi Verschelde
41ed695ba2
Dependency editor: Edit message about move to trash
...
Fixes #47106 .
2021-08-02 12:03:18 +02:00
Ev1lbl0w
7bccd5487e
Implemented initial DAP support
...
Implemented "output" event
Refactored "seq" field generation
Prevent debugging when editor and client are in different projects
Removed unneeded references to peer on the parser
Refactored way to detect project path
Implemented "setBreakpoints" request
Fix double events when terminating from client
Refactored "stopped" event
Implemented "stopped" with breakpoint event
Implemented "stackTrace", "scopes" and "variables" request
Report incoming number of stack dump variables
Implemented proper reporting of scopes and variables from stack frames
Prevent editor from grabbing focus when a DAP session is active
Implemented "next" and "stepIn" requests
Implemented "Source" checksum computing
Switched expected errors from macros to silent guards
Refactored message_id
Respect client settings regarding lines/columns behavior
Refactored nested DAP fields
Implement reporting of "Members" and "Globals" scopes as well
Fix error messages not being shown, and improved wrong path message
2021-08-02 10:43:35 +01:00
Aaron Franke
dbad475fc7
Use real_t in editor plugins
...
Also use const more often and delete dead code in CanvasItemEditor
2021-08-01 21:48:34 -05:00
Rémi Verschelde
854725f400
Merge pull request #51119 from pycbouh/control-theme-overrides-rename
...
Make theme item overrides more obvious in the Inspector
2021-08-01 21:56:07 +02:00
Rémi Verschelde
dbd1a90bd4
Merge pull request #50942 from BastiaanOlij/cubemap_raster
...
Porting cubemap compute shaders to raster for the mobile renderer
2021-08-01 21:52:24 +02:00
Paulb23
809a32c045
Clean up and complete CodeEdit inspector and docs
2021-08-01 12:24:19 +01:00
Bastiaan Olij
c76426527b
Porting cubemap compute shaders to raster for the mobile renderer
2021-08-01 21:22:38 +10:00
Rémi Verschelde
f06d201bb7
Merge pull request #51139 from Chaosus/fix_canvasitem_drag_warning
...
Prevent warning spam to console when dragging a CanvasItem in container
2021-08-01 13:15:02 +02:00
Paulb23
dd5a37f556
Move symbol lookup into CodeEdit
2021-08-01 12:06:33 +01:00
Paulb23
8f900ac178
Move line length guidelines into CodeEdit
2021-08-01 12:06:33 +01:00
Paulb23
d1a1ad127e
Move brace matching into CodeEdit
2021-08-01 12:06:33 +01:00
Paulb23
12f0053555
Move auto brace completion to CodeEdit
2021-08-01 12:06:33 +01:00
Rémi Verschelde
8b129b1dfc
Merge pull request #51112 from Chaosus/fix_doc_drag_crash
...
Fix crash on doc dragging in script list panel
2021-08-01 12:54:01 +02:00
Rémi Verschelde
80143c9701
Merge pull request #51130 from timothyqiu/i18n-android-export
...
Make progress and errors translatable when exporting to Android
2021-08-01 12:11:06 +02:00
Yuri Roubinsky
bb5729fd35
Prevent warning spam to console when dragging a CanvasItem in container
2021-08-01 13:01:46 +03:00
Yuri Roubinsky
c86aa2a705
Fix crash on doc dragging in script list panel
2021-08-01 12:20:11 +03:00
Haoyu Qiu
1d5332069b
Make progress and errors translatable when exporting to Android
2021-08-01 17:16:16 +08:00
Rémi Verschelde
e5411a815c
Merge pull request #48958 from kleonc/astar-get_available_point_id-start-from-zero
...
Astar::get_available_point_id Return 0 instead of 1 when empty
2021-08-01 11:12:33 +02:00
Rémi Verschelde
8465ecc3ae
Merge pull request #51036 from winterpixelgames/master-ws-fix
...
WebsocketPeer outbound buffer fixes and buffer size query
2021-08-01 11:12:15 +02:00
Rémi Verschelde
56b137afb7
Merge pull request #51136 from akien-mga/scons-4.2.0
...
Windows: Fix build with SCons 4.2.0
2021-08-01 11:05:08 +02:00
Rémi Verschelde
536f6a1472
Merge pull request #51124 from YeldhamDev/local_editor_dup_fix
...
Fix being able to add duplicate files in the Localization editor
2021-08-01 10:14:11 +02:00
Rémi Verschelde
c191cfbddf
Windows: Fix build with SCons 4.2.0
2021-08-01 10:08:20 +02:00