Commit graph

36749 commits

Author SHA1 Message Date
Rémi Verschelde
de2c2be19b
Shortcut: Rename shortcut property to event
Having a property which has the same name as its class leads to confusing
situations (e.g. `BaseButton` has a `shortcut` property of type `Shortcut`
which has a `shortcut` property of type `InputEvent`).

Also renames `is_event` to `matches_event`, and `is_valid` to `has_valid_event`
to better reflect what the methods check.
2021-08-05 13:48:43 +02:00
Rémi Verschelde
66d968e4b6
Merge pull request #51272 from akien-mga/scons-message-status-override
SCons: Fix info message when defining `GODOT_VERSION_STATUS`
2021-08-05 13:32:20 +02:00
Rémi Verschelde
e92ba89dc7
SCons: Fix info message when defining GODOT_VERSION_STATUS 2021-08-05 12:20:45 +02:00
Rémi Verschelde
a544e77822
Merge pull request #51247 from pycbouh/docs-extract-theme-items
Add theme item descriptions to the online documentation
2021-08-05 00:18:56 +02:00
Rémi Verschelde
73b1f5ac79
Merge pull request #48615 from Razoric480/lsp-rename
Implement LSP didSave notification and rename request
2021-08-05 00:18:31 +02:00
Yuri Sizov
bf2839ea3e Add theme item descriptions to the online documentation 2021-08-04 22:27:10 +03:00
Lightning_A
37b943be42 Minor improvements to the view rotation gizmo 2021-08-04 13:19:17 -06:00
Rémi Verschelde
85186bc0c5
Merge pull request #51242 from pycbouh/editor-theme-instructions
Improve user communications in the theme editor
2021-08-04 18:34:35 +02:00
Yuri Sizov
b27989ff67 Improve user communications in the theme editor 2021-08-04 18:26:36 +03:00
Rémi Verschelde
b8c08ba5ad
Tests: Improve coverage for File::get_csv_line()
Adds a few more complex edge cases which are supported.

Also adds some documentation, simplifies the code a bit and forbids using
double quotes as a delimiter.
2021-08-04 11:53:21 +02:00
Rémi Verschelde
0cee8831b2
Merge pull request #51005 from Faless/mp/4.x_channels
[Net] Implement RPC channels in MultiplayerAPI.
2021-08-04 09:31:33 +02:00
Rémi Verschelde
7eedc2c348
Merge pull request #51228 from timothyqiu/inspector-update
Disable save button when Inspector is not editing anything
2021-08-04 09:28:56 +02:00
Haoyu Qiu
b38f528082 Disable save button when Inspector is not editing anything 2021-08-04 15:03:10 +08:00
Rémi Verschelde
1eff610e2b
Merge pull request #51226 from nekomatata/fix-max-slides-error
Fix inverted condition in CharacterBody2D/3D set_max_slides
2021-08-04 07:04:32 +02:00
Ignacio Roldán Etcheverry
2e362d47c8
Merge pull request #47691 from 31/fix-script_class-null-master
Fix `script_class` null access when reloading a deleted C# script
2021-08-04 06:15:25 +02:00
31
6fd2edddc0 Fix 'script_class' null access when reloading a deleted C# script 2021-08-03 22:43:42 -05:00
PouleyKetchoupp
7d0a28f875 Fix inverted condition in CharacterBody2D/3D set_max_slides 2021-08-03 19:24:46 -07:00
Ignacio Roldán Etcheverry
d5e13a036f
Merge pull request #51020 from raulsntos/csharp-print-methods
Simplify C# print methods
2021-08-04 00:22:42 +02:00
Raul Santos
ad460cde79 Simplify C# print methods
- Extracts the parameters logic to a single method
- Simplify the handling of null parameters
2021-08-03 23:12:27 +02:00
Rémi Verschelde
769de0c35f
Merge pull request #51220 from pycbouh/editor-mono-build-log
Fix the editor theme application for the Mono build log
2021-08-03 21:45:33 +02:00
Yuri Sizov
d3e413c659 Fix the editor theme application for the Mono build log 2021-08-03 22:13:32 +03:00
Fabio Alessandrelli
ebdfe259c1
Merge pull request #51216 from Faless/headless/switch
[Headless] Add --headless switch (no rendering, no audio).
2021-08-03 19:57:29 +02:00
Aaron Franke
7cec3c2b95
Use real_t in 3D nodes 2021-08-03 11:16:51 -05:00
Haoyu Qiu
04ad838e2c Fix various i18n failures 2021-08-03 23:53:36 +08:00
Fabio Alessandrelli
09386ba9fd [Headless] Add --headless switch (no rendering, no audio).
Also remove now unused "--no-window" option, and relative OS getter and
setter.
2021-08-03 17:45:50 +02:00
Hugo Locurcio
a97c5b50db
Change the editor update spinner color when updating continuously
Updating continuously should only be enabled for troubleshooting
purposes, as it uses a lot of CPU/GPU power.

The update spinner is now displayed in red when the Update Continuously
editor setting is enabled.
2021-08-03 17:29:40 +02:00
Fabio Alessandrelli
80fc90e82a
Merge pull request #50454 from Ev1lbl0w/gsoc21-dap
Implemented initial DAP support
2021-08-03 17:12:37 +02:00
Rémi Verschelde
db9c993250
Merge pull request #51213 from pycbouh/editor-resource-picker-cache
Cache `EditorResourcePicker`'s allowed types
2021-08-03 16:15:13 +02:00
Yuri Sizov
decd548223 Cache EditorResourcePicker's allowed types 2021-08-03 16:52:12 +03:00
Rémi Verschelde
ba2e6c66cb
Merge pull request #50893 from KoBeWi/how_to_config_file
Improve ConfigFile example
2021-08-03 14:55:23 +02:00
kobewi
1721f0143e Improve ConfigFile example 2021-08-03 14:32:46 +02:00
Rémi Verschelde
3c21fc5db6
Merge pull request #51199 from Faless/net/4.x_ip_lock 2021-08-03 13:29:15 +02:00
Rémi Verschelde
74f5513d21
i18n: Sync template with current 3.x codebase
Weblate will now track the state of `3.x` to prepare for the 3.4 release.

(cherry picked from commit 92bafdcafb)
2021-08-03 11:07:47 +02:00
Rémi Verschelde
f618e7cf06
i18n: Sync translations with Weblate
Last POT sync with the `3.3` branch, we'll now switch Weblate to track
`3.x` to prepare for the 3.4 release.

(cherry picked from commit dec840452d)
2021-08-03 11:07:40 +02:00
Rémi Verschelde
52aad9d665
Merge pull request #51033 from merumelu/makerst-tutorial-links
makerst: use link titles for external tutorials
2021-08-03 10:13:33 +02:00
Rémi Verschelde
57a5186b08
Merge pull request #51006 from foxydevloper/drag-drop-naming
Name nodes added when drag & dropping an image by `name_casing`
2021-08-03 09:38:03 +02:00
Rémi Verschelde
c6879b150f
Merge pull request #51107 from Calinou/warn-engine-run-as-root
Print a warning when the engine is started as `root`/superuser
2021-08-03 09:36:20 +02:00
Rémi Verschelde
a7f24080a2
Merge pull request #51118 from SirQuartz/patch-39
Make the "View" menu in the 3D viewport stay open when selecting a checkbox
2021-08-03 09:35:17 +02:00
Rémi Verschelde
e0b560fb6f
Merge pull request #51177 from kleonc/tab_container-drop-tab-index-fix
TabContainer Fix moving dropped tab to incorrect child index
2021-08-03 09:34:51 +02:00
Rémi Verschelde
0f8cba285b
Merge pull request #50986 from raulsntos/fix-path-3d-end 2021-08-03 09:31:22 +02:00
Yuri Roubinsky
a1176ced48
Merge pull request #50966 from Chaosus/vs_builtins 2021-08-03 09:55:22 +03:00
Rémi Verschelde
8e4848ad34
Merge pull request #51093 from RandomShaper/fix_thread_null_ud
Fix thread start with no user data when target has no default argument
2021-08-03 08:43:39 +02:00
Yuri Roubinsky
a34a91a30b Added more input/output built-ins to visual shaders 2021-08-03 09:32:40 +03:00
Rémi Verschelde
a6374c6675
Merge pull request #50703 from Chaosus/vs_remove_subparticles_from_start
Removes EmitParticle node from the start functions in visual shader
2021-08-03 08:14:15 +02:00
Rémi Verschelde
0ce69064e9
Merge pull request #51203 from kbsanders/patch-1
Grammar fix.
2021-08-03 08:13:37 +02:00
Rémi Verschelde
26481cff95
Merge pull request #51198 from Calinou/codeedit-improve-callhint-highlight
Improve CodeEdit's callhint highlight visibility
2021-08-03 08:02:20 +02:00
Silc 'Tokage' Renew
4822499d70 Fixed gizmo forced uniform scale and inconsistent rotation 2021-08-03 14:17:22 +09:00
Kevin Sanders
6db57b9da2
Grammar fix. 2021-08-03 00:37:57 -04:00
K. S. Ernest (iFire) Lee
04703c6f66
Merge pull request #51042 from nikitalita/fix_binary_res_load_save
Fix binary resource loading and saving
2021-08-02 18:41:05 -07:00
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