Commit Graph

57064 Commits

Author SHA1 Message Date
Yuri Sizov
36cc4754f5 Merge pull request #81305 from YuriSizov/theme-fix-tests-shadowing
Fix ThemeDB initialization in tests
2023-09-05 15:14:27 +02:00
Yuri Sizov
3604b46bda Merge pull request #81300 from bitsawer/fix_empty_shader_handling
Fix empty shader resource loading
2023-09-05 15:14:24 +02:00
Yuri Sizov
cfdc016038 Merge pull request #81296 from AThousandShips/blend_fix
Fix incorrect cast when animating `int`
2023-09-05 15:14:21 +02:00
Yuri Sizov
d90918194f Merge pull request #81295 from aaronfranke/fix-compile-no-3d
Fix compiling with 3D disabled due to unused navigation variable
2023-09-05 15:14:17 +02:00
Yuri Sizov
c9bf824124 Merge pull request #79166 from bruvzg/ts_dict_chk
[TextServer] Remove excessive Dictionary checks.
2023-09-05 15:14:14 +02:00
Rémi Verschelde
e7208420bc
Merge pull request #81302 from akien-mga/gha-bump-versions
CI: Bump version for `actions/checkout@v4` and `actions/setup-dotnet@v3`
2023-09-05 10:13:43 +02:00
Yuri Sizov
4328ffcc79 Fix ThemeDB initialization in tests
Also fixes class name shadowing in Viewport/Window tests.
2023-09-04 18:07:16 +02:00
Rémi Verschelde
de14f1d295
CI: Bump version for actions/checkout@v4 and actions/setup-dotnet@v3 2023-09-04 16:05:57 +02:00
bitsawer
15eec2450a Fix empty shader resource loading 2023-09-04 14:59:59 +03:00
A Thousand Ships
035cf5e210 Fix incorrect cast when animating int
Type was cast to `int` rather than `int64_t`
Also corrects `real_t` to `double`
2023-09-04 11:58:29 +02:00
Aaron Franke
93cf3391bd
Fix compiling with 3D disabled due to unused navigation variable 2023-09-04 03:16:55 -05:00
Rémi Verschelde
75de1ca768
Merge pull request #81280 from ogapo/deterministic_pcks
Fix for non-deterministic behavior in PCKPacker
2023-09-04 09:09:23 +02:00
Rémi Verschelde
f05c7f6d68
Merge pull request #81239 from Malcolmnixon/xr-tracking-signals
Add XR tracking state-change signals
2023-09-04 09:08:59 +02:00
Rémi Verschelde
00e14f39fd
Merge pull request #81230 from SamiKalliomaki/array-dispose
Fix double unregistration on dispose of Array.
2023-09-04 09:08:35 +02:00
Rémi Verschelde
0215d53a10
Merge pull request #81229 from raulsntos/dotnet/arc-hyperbolic
C#: Expose `asinh`, `acosh` and `atanh` in Mathf
2023-09-04 09:08:12 +02:00
Rémi Verschelde
a0d21d41a8
Merge pull request #80149 from aaronfranke/fix-res-reimport-empty-scene
Fix error message when reimporting resources with an empty scene open
2023-09-04 09:07:48 +02:00
Rémi Verschelde
92da5a7654
Merge pull request #79792 from Miguel0312/SceneTreeTooltips
Correctly display tooltips for buttons in Tree when they overlap cell content
2023-09-04 09:07:24 +02:00
Rémi Verschelde
dd4fae6162
Merge pull request #74809 from Chaosus/completion_color_xyzw
Add coloring for completion of vector components
2023-09-04 09:06:57 +02:00
bruvzg
31a8a9b2e1
[TextServer] Remove excessive Dictionary checks. 2023-09-04 09:47:55 +03:00
David Nikdel
067807c1cb Remove nondeterminism in pck_packer
PCK files (like other build products) should be deterministic based on their inputs. Removed calls to Math::rand() that are being used to generate padding.

Looks like these were introduced as part of adding encryption support, but the padding being random does not have any cryptographic significance. This can be trivially inferred since file blocks that happen to be aligned don't get padding anyway.

If there's a desire to indroduce something that functions as a nonce it should probably be added explicitly and only if encryption is enabled.
remove Math::rand() calls in editor_export_platform.cpp

follow up to make consistent with pck_packer
2023-09-03 18:14:30 -04:00
Aaron Franke
ff911c3ad3
Fix error message when reimporting resources with an empty scene open 2023-09-03 11:40:48 -05:00
Malcolm Nixon
22de1b31b5 Added XR tracking-state change signals
Add "pose_lost_tracking" signal to XRPositionalTracker.
Add "tracking_changed" signal to XRNode3D.
2023-09-03 12:17:16 -04:00
Sami Kalliomäki
43a6748dfd Do not call Array default constructor when not necessary.
This fixes a bug where Array would get registered twice with the
DisposablesTracker causing an exception on shutdown.

Fixes #81231
2023-09-03 11:25:23 +01:00
Rémi Verschelde
fa3428ff25
Merge pull request #81221 from dalexeev/editor-inspector-and-signal-dock-improvements
Editor: Inspector and Signal docks improvements
2023-09-03 00:21:04 +02:00
Rémi Verschelde
497ca8c433
Merge pull request #80296 from RandomShaper/overhaul_vk_pso_cache
Enhance Vulkan PSO caching
2023-09-03 00:20:40 +02:00
Rémi Verschelde
3f3f865f8a
Merge pull request #81247 from Bromeon/bugfix/yet-another-bool
GDExtension: fix `bool` unknown in C
2023-09-02 23:10:47 +02:00
Jan Haller
4e202bcec7 GDExtension: fix bool unknown in C 2023-09-02 21:04:49 +02:00
Rémi Verschelde
d2ae309f2c
Merge pull request #81238 from dsnopek/godot-cpp-version
Use godot-cpp 4.1 for the "Godot CPP" CI workflow to prevent circular dependency
2023-09-02 14:33:12 +02:00
Rémi Verschelde
7dc14db283
Merge pull request #81232 from wlsnmrk/lineedit-reference-typos
Fix typos in LineEdit documentation
2023-09-02 14:32:10 +02:00
Rémi Verschelde
b842c73acc
Merge pull request #81228 from raulsntos/docs/code_to_constants
Use `[constant]` instead of `[code]` when possible
2023-09-02 14:31:46 +02:00
Rémi Verschelde
865879faf9
Merge pull request #81227 from raulsntos/docs/int
Fix int's C# documentation
2023-09-02 14:31:23 +02:00
Rémi Verschelde
f383249f6f
Merge pull request #81212 from mateuseap/fix/meshDataToolClassReference
Fix misleading description of `MeshDataTool.get_vertex()` method
2023-09-02 14:31:00 +02:00
Rémi Verschelde
c326914c49
Merge pull request #81206 from dsnopek/script-instance-extension-memory-bug2
GDExtension: Allocate `GDExtensionScriptInstanceInfo2` for compatibility on the heap to prevent crash
2023-09-02 14:30:36 +02:00
Rémi Verschelde
07035466e8
Merge pull request #81189 from jsjtxietian/Fix-press-space-when-enter-editor-layout-name-will-confirm-save
Use `ui_text_submit` instead of `ui_accept` to confirm and close text prompts
2023-09-02 14:30:12 +02:00
Rémi Verschelde
d18963485e
Merge pull request #81106 from garychia/gridmap_visibility
GridMap: Ensure the visibility is updated when entering the tree
2023-09-02 14:29:48 +02:00
Rémi Verschelde
bb61a932c2
Merge pull request #81072 from KoBeWi/the_scene_file_is_in_another_castle
Refactor disabling scene tab context menu options
2023-09-02 14:29:24 +02:00
Rémi Verschelde
60422759fa
Merge pull request #80849 from KoBeWi/edit_NOTHING
Unedit nodes early when closing scene tab
2023-09-02 14:29:00 +02:00
Rémi Verschelde
2e71e5516e
Merge pull request #80632 from Repiteo/C#-editor-docstring
C#: Dereference editor types in core documentation
2023-09-02 14:28:35 +02:00
Rémi Verschelde
7f3dbe81ed
Merge pull request #80270 from aaronfranke/gltf-scene-name-assignment
Fix doubly-reserved unique names in GLTF scene name assignment
2023-09-02 14:28:11 +02:00
Rémi Verschelde
ec517dcbaf
Merge pull request #76047 from Daylily-Zeleen/daylily-zeleen/builtin_vararg_ptrcall
Set vararg methods' ptrcall of builtin classes, and let them can be called without arguments.
2023-09-02 14:27:41 +02:00
Raul Santos
f90005072c
C#: Expose asinh, acosh and atanh in Mathf 2023-09-02 12:00:02 +02:00
Danil Alexeev
c33ca26e17
Editor: Inspector and Signal docks improvements 2023-09-02 08:50:28 +03:00
David Snopek
80126468fb Use godot-cpp 4.1 for the "Godot CPP" CI workflow to prevent circular dependency 2023-09-01 16:11:51 -05:00
Thaddeus Crews
cbf17b5ac1
C#: Dereference editor types in core documentation 2023-09-01 15:17:13 -05:00
kobewi
a949f1b4b5 Refactor disabling scene tab context menu options 2023-09-01 21:34:54 +02:00
Daylily-Zeleen
67e1401891 Set builtin varrarg ptrcalls, called without arg. 2023-09-02 00:34:16 +08:00
Mark Wilson
5f9d5a0cea Docs: Fix typos for LineEdit reference 2023-09-01 12:22:10 -04:00
Raul Santos
0897a795c3
Fix int's C# documentation
- There's no implicit conversion from `double` to `int`, a cast was missing.
- The example about literals in GDScript also applies to C# (with the same syntax even).
2023-09-01 17:00:09 +02:00
Raul Santos
03add1f6d8
Use [constant] instead of [code] when possible 2023-09-01 16:57:53 +02:00
Rémi Verschelde
80bfca20c6
Merge pull request #81198 from KoBeWi/MissingRID
Add placeholder RID to GradientTexture1D
2023-09-01 16:03:22 +02:00