Commit graph

62028 commits

Author SHA1 Message Date
Rémi Verschelde
3655973e0e
Merge pull request #87154 from Repiteo/scons/cl-quiet
SCons: Silence redundant MSVC output
2024-03-04 13:33:01 +01:00
Rémi Verschelde
7be96a55c4
Merge pull request #86973 from HolonProduction/tests-batch-1
Add tests for `get_node` autocompletion
2024-03-04 13:32:55 +01:00
Rémi Verschelde
f289ec90e3
Merge pull request #86208 from MarcusElg/betterworldboundary
Improve visualisation of WorldBoundary2D editor
2024-03-04 13:32:51 +01:00
Rémi Verschelde
b392ab5ff4
Merge pull request #85918 from 20kdc/tnj-static-called-on-instance-fix-confusion
GDScript: Adjust `STATIC_CALLED_ON_INSTANCE` warning to not force native type
2024-03-04 13:32:47 +01:00
Rémi Verschelde
8eb08522b3
Merge pull request #85494 from Hobitus/Allow-multi-selection-of-frames-in-the-SpriteFrames-animation-editor
Add multi-selection for `SpriteFramesEditor`
2024-03-04 13:32:44 +01:00
Rémi Verschelde
5d3369e095
Merge pull request #85153 from Repiteo/scons-improve-logs
SCons: Add two new `COMSTR` environment variables
2024-03-04 13:32:38 +01:00
Rémi Verschelde
1598af5668
Merge pull request #83504 from Repiteo/c#-generator-langword-check
C#: Bindings generator langword check
2024-03-04 13:32:34 +01:00
Rémi Verschelde
314efe9bec
Merge pull request #79387 from HolonProduction/completion-update-keep-open
Update completion menu even if no options exist
2024-03-04 13:32:25 +01:00
Haoyu Qiu
e5464648b7 Fix documentation of localization related editor settings 2024-03-04 19:12:11 +08:00
DeeJayLSP
7fa3431dca WAV importer: use cubic interpolation on resampler 2024-03-04 00:05:48 -03:00
markdibarry
a62870956a Add new Parallax2D node 2024-03-03 15:46:40 -05:00
A Thousand Ships
9273106bb3
[Wayland] Fix tilt handling 2024-03-03 20:45:07 +01:00
kobewi
c1cce6bb69 Fix undo action names for node replacement 2024-03-03 19:09:25 +01:00
kobewi
ffadba0b08 Allow to easily rename multiple nodes
Co-authored-by: ajreckof <tbonhoure@ymail.Com>
2024-03-03 13:16:21 +01:00
Ricardo Subtil
c07991ef36 Add missing variablesReference field to DAP evaluate request 2024-03-03 11:22:01 +00:00
Fabio Alessandrelli
45e8fa10c1 [MP] Fix replication config reload error
Override the `reset_state` method to properly handle reloading the
resource from disk.
2024-03-03 11:13:00 +01:00
Malcolm Nixon
8fcf385ac5 Allow the hips joint to be positioned even if the bone update mode is set to "Rotation Only". 2024-03-02 22:17:29 -05:00
David Luevano Alvarado
981883d041 Fix RandomNumberGenerator::rand_weighted return type 2024-03-02 20:56:01 -06:00
Michael Alexsander
d6917d2206
Fix issues with text clearing in RichTextLabel 2024-03-02 21:38:32 -03:00
Christen Lofland
e6d0bf32e9
Do not attempt to set cursor shape when that feature is not available.
Co-authored-by: Riteo <riteo@posteo.net>
2024-03-02 17:44:55 -06:00
A Thousand Ships
5aadb8660b
[C#] Fix typo in Color documentation 2024-03-02 18:13:01 +01:00
Micky
64ba22a9a7 Overhaul Transform3D documentation 2024-03-02 17:53:12 +01:00
David Snopek
0badf07657 GDExtension: Pass count when freeing method and property lists for script instances 2024-03-02 10:13:37 -06:00
Per Melin
853935a5c9 Fix error in AABB calculation for particles with USERDATA
Selecting "Generate AABB" on a 3D particle node in the editor would not work
and printed an error about incorrect buffer size if the particle shader used
one or more of the USERDATA build-ins.
2024-03-02 14:26:09 +01:00
Rémi Verschelde
f2045ba822
Merge pull request #88933 from raulsntos/dotnet/pre-commit
Move dotnet-format script to pre-commit
2024-03-02 10:48:25 +01:00
Raul Santos
97851f0340
Move dotnet-format script to pre-commit
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2024-03-02 08:25:48 +01:00
Omar Polo
32877ae994 fix FileAccessUnix on OpenBSD: there is no UF_HIDDEN
Part of the joint effort with @rfht to port Godot 4 on OpenBSD.
2024-03-01 19:33:49 +00:00
Hugo Locurcio
d0b54b1318 Document environment glow restrictions in the Compatibility rendering method 2024-03-01 20:02:15 +01:00
Thaddeus Crews
0ce9b6fd1d
Add two new COMSTR environment variables 2024-03-01 12:44:03 -06:00
Mika Viskari
0fbc857e3f Do not call _validate_script if editor is not enabled 2024-03-01 19:48:48 +02:00
Michael Alexsander
55b22c2bf6
Make Label3D obey auto translation 2024-03-01 14:19:17 -03:00
Rémi Verschelde
dad6c774b0
Merge pull request #89048 from KoBeWi/iBug
Fix `update_property()` in particle material editor
2024-03-01 17:22:25 +01:00
Rémi Verschelde
7c3090ed4a
Merge pull request #89043 from Mickeon/autocomplete-EditorSettings
Add autocompletion for EditorSettings' methods
2024-03-01 17:22:21 +01:00
Rémi Verschelde
34effe41dc
Merge pull request #89036 from Mickeon/documentation-uncommon-words-2
Overhaul some "uncommon" wording in class reference
2024-03-01 17:22:18 +01:00
Rémi Verschelde
c10463fba4
Merge pull request #89032 from YeldhamDev/as_arvores_somos_nozes
Add auto translation to `Tree`
2024-03-01 17:22:15 +01:00
Rémi Verschelde
0e0f564cea
Merge pull request #89021 from wheatear-dev/test-crypto-key
Add unit tests for CryptoKey
2024-03-01 17:22:12 +01:00
Rémi Verschelde
8c0511a69b
Merge pull request #87197 from Mickeon/autocompletion-SceneTree-change-packed-to-file
Optimize SceneTree's `change_scene_to_file` autocompletion
2024-03-01 17:22:09 +01:00
Rémi Verschelde
072da09fea
Merge pull request #86764 from Mickeon/autocompletion-inputmap
Add autocompletion for InputMap's methods
2024-03-01 17:22:06 +01:00
Rémi Verschelde
0394328a71
Merge pull request #86758 from Mickeon/autocompletion-project-settings
Add autocompletion for ProjectSettings' methods
2024-03-01 17:21:59 +01:00
Micky
70b428041b Add autocompletion for InputMap's methods 2024-03-01 16:44:26 +01:00
Michael Alexsander
612eed164c
Add auto translation to Tree 2024-03-01 12:21:45 -03:00
kobewi
24b210d1c8 Fix update_property() in particle material editor 2024-03-01 16:03:53 +01:00
Micky
c54e09a5a3 Overhaul some "uncommon" wording in class reference 2024-03-01 15:32:38 +01:00
20kdc
24181d1055
GDScript: Adjust STATIC_CALLED_ON_INSTANCE warning to not default to the native type, and to not trigger on self-calls
Not defaulting to the native type rationale:

Defaulting to the native type is less than useful, as:

* There are very few native types that are extensible and have static methods.
* Defaulting to the native type does not account for a method being script-defined.

While the "real fix" would be to carefully track the source of the method, the get_function_signature method is already complicated enough.

This will at least ensure the resulting code should always be valid.

Not triggering on self-calls rationale:

Found in PR comment https://github.com/godotengine/godot/pull/85918#issuecomment-1935864459

```
static func example():
	pass

func example2():
	example() # self-call on static function
```

Disabling this warning on self-calls is:

* Consistent with other languages
* Important for anonymous classes (where the output code is unusable)
2024-03-01 17:14:59 +03:00
Rémi Verschelde
ace8284231
Linux: Handle export preset compat with 'Linux/X11' platform name
Fixes #89012.
2024-03-01 15:12:54 +01:00
Micky
7b3e1a5bde Optimize SceneTree's change_scene_to_file autocompletion 2024-03-01 15:12:52 +01:00
Rémi Verschelde
8e951fd0a9
Merge pull request #89024 from bruvzg/rtl_hover_meta
[RTL] Add optional `push_meta` argument to control how meta underline is drawn.
2024-03-01 15:00:41 +01:00
Rémi Verschelde
d9a881b37c
Merge pull request #89009 from smix8/navobstacle_debug_visibility
Fix NavigationObstacle3D debug not reacting to visiblity changes
2024-03-01 15:00:38 +01:00
Rémi Verschelde
79005978b7
Merge pull request #88947 from lawnjelly/fix_physics_platform_rid
Fix physics platform crash
2024-03-01 15:00:35 +01:00
Rémi Verschelde
bd7637248c
Merge pull request #88883 from joaoh82/add-weighted-random-method
Add `RandomNumberGenerator::rand_weighted` method
2024-03-01 15:00:32 +01:00