Commit graph

9102 commits

Author SHA1 Message Date
Rémi Verschelde
877b113afa
Merge pull request #113553 from bruvzg/no_phy
Do not show `Physical` in the special key names.
2025-12-04 15:53:01 +01:00
Rémi Verschelde
8f3801aaec
Merge pull request #113526 from Ivorforce/tracy-profile-nocrash
Make `!configured` checks in `profiling.cpp` soft checks instead of crashing
2025-12-04 13:21:52 +01:00
Rémi Verschelde
957094a1aa
Merge pull request #113524 from Bromeon/bugfix/filedialog-compat-breakage
Add special compat methods for EditorFileDialog enum functions
2025-12-04 13:21:47 +01:00
Rémi Verschelde
daf2871828
Merge pull request #113088 from KoBeWi/juggling_paths
Ensure paths in autoload info
2025-12-04 13:21:43 +01:00
Jan Haller
f31aa20562 Add special compat methods for EditorFileDialog enum fns
Fixes broken binary compatibility in GDExtension, introduced
by moving methods from EditorFileDialog to its base class
FileDialog.

While the general derived-to-base compat mechanism works,
the function hashes are changed when enum types are also moved
between classes.

An earlier attempt restored original enums in EditorFileDialog
and added regular compatibility methods, however this caused
shadowed symbols in C# bindings. Instead, hash mappings are
now directly hardcoded as "special compat hashes".
2025-12-04 11:40:53 +01:00
Pāvels Nadtočajevs
36521091aa
Do not show Physical in the special key names. 2025-12-04 11:30:57 +02:00
Thaddeus Crews
63e14e13f9
Merge pull request #111767 from Repiteo/scons/libcpp-transitive
SCons: Remove transitive includes in `libc++`
2025-12-03 21:02:01 -06:00
Thaddeus Crews
2ab75a93df
Merge pull request #113514 from Ivorforce/required-param-no-refcount
Optimize `RequiredParam` to not increase and decrease refcounts on call.
2025-12-03 16:50:37 -06:00
Thaddeus Crews
66333f9d92
Merge pull request #113322 from nikitalita/fix-translation
Fix loading old-style translation files
2025-12-03 16:50:35 -06:00
Thaddeus Crews
662db6eb59
Merge pull request #106016 from Ivorforce/gdtype-loves-gdextension
Expand `GDType` to cover GDExtension types as well
2025-12-03 16:50:29 -06:00
Lukas Tenbrink
aa33b53e67 Use GDType for GDExtension types as well.
Co-authored-by: David Snopek <dsnopek@gmail.com>
2025-12-03 21:32:46 +01:00
Lukas Tenbrink
ebc9aebb69 Optimize RequiredParam to not increase and decrease refcounts on call. 2025-12-03 21:21:18 +01:00
Lukas Tenbrink
ab4e59dced Make !configured checks in profiling.cpp soft checks, returning dummies. 2025-12-03 21:01:19 +01:00
Thaddeus Crews
825d0fe94a
Merge pull request #113418 from Calinou/inputevent-shortcut-physical-unicode-avoid-nested-parentheses
Avoid nested parentheses in physical/Unicode InputEventKey text conversion
2025-12-03 11:42:22 -06:00
David Snopek
308f23f21d Synchronize the names for RequiredParam<T> arguments in header files 2025-12-03 04:14:52 -06:00
Rémi Verschelde
5ef57c669f
Merge pull request #113244 from blueskythlikesclouds/d3d12-descriptor-refactor
Refactor descriptor heaps in D3D12 driver.
2025-12-03 09:49:45 +01:00
Skyth
a8d3ecec13 Refactor descriptor heaps in D3D12 driver. 2025-12-03 11:02:41 +03:00
Pāvels Nadtočajevs
e815a8f899
Do not attempt deleting local cache in Resource::_teardown_duplicate_from_variant. 2025-12-03 08:07:50 +02:00
Thaddeus Crews
c585681d72
Merge pull request #113342 from stuartcarnie/instruments_profiling
Core: Add Apple Instruments support
2025-12-02 20:42:57 -06:00
Thaddeus Crews
9f76aa3df5
Merge pull request #113282 from dsnopek/required-ptr-get-out-there
Use `RequiredParam`/`RequiredResult` in some high value places
2025-12-02 20:42:53 -06:00
Stuart Carnie
93b6348cfe Core: Add Apple Instruments support 2025-12-03 06:48:41 +11:00
Thaddeus Crews
ec3f304ccc
Merge pull request #113455 from bruvzg/ios_p
[iOS] Fix use of `godot_path`.
2025-12-02 11:52:01 -06:00
Thaddeus Crews
51d5a17055
Merge pull request #113447 from TokageItLab/opt-nodepath
Optimize NodePath
2025-12-02 11:51:58 -06:00
Pāvels Nadtočajevs
a9ef3e5804
Fix duplicate minus in print output.
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
2025-12-02 18:58:55 +02:00
David Snopek
fc92ce3e7f Use RequiredParam/RequiredResult in some high value places 2025-12-02 10:44:12 -06:00
Hugo Locurcio
e483d2e2d1
Avoid nested parentheses in physical/Unicode InputEventKey text conversion
This was visible in tooltips displayed in shortcuts, including in the editor itself.

For example, "Forward (W (Physical))" is now displayed as "Forward (W - Physical)".
2025-12-02 16:58:24 +01:00
Pāvels Nadtočajevs
358d799b9a
[iOS] Fix use of godot_path. 2025-12-02 16:44:00 +02:00
Rémi Verschelde
71d4ded745
Merge pull request #113279 from Ivorforce/tracy-gdscript-codeloc
Add support for profiling GDScript with tracy.
2025-12-02 14:16:56 +01:00
Rémi Verschelde
6d4ad21903
Merge pull request #113211 from aaronp64/type_by_name_map
Make `Variant::get_type_by_name` `HashMap` initialization thread-safe
2025-12-02 14:16:41 +01:00
Rémi Verschelde
37cfae845b
Merge pull request #113132 from aaronp64/variant_op_eval
Reuse/optimize common `OperatorEvaluator*::evaluate` logic
2025-12-02 14:16:32 +01:00
Rémi Verschelde
a1848013e5
Merge pull request #113114 from RandomShaper/fix_load_progress_cycles
ResourceLoader: Fix potential infinite recursion in progress reporting
2025-12-02 14:16:27 +01:00
Rémi Verschelde
3d585df89f
Merge pull request #112762 from Benjamin-Dobell/fix/android/dpad-support
Android: Improve D-pad support for Default Android Gamepad.
2025-12-02 14:16:12 +01:00
Silc Lizard (Tokage) Renew
b97aa0ba3c Optimization NodePath
co-authored-by: Ryan-000 <73148864+Ryan-000@users.noreply.github.com>
2025-12-02 21:45:35 +09:00
Pedro J. Estébanez
5806e3c761 ResourceLoader: Fix potential infinite recursion in progress reporting 2025-12-01 12:33:48 +01:00
Rémi Verschelde
a2df35489a
Merge pull request #113078 from bruvzg/proj_ov_aload_front
Allow `override.cfg` to add autoloads to the front of the list.
2025-12-01 11:49:01 +01:00
nikitalita
349b61cb14 Fix loading old-style translation files 2025-11-29 10:22:46 -05:00
aaronp64
5f7566a72e Reuse/optimize common OperatorEvaluator*::evaluate logic
Added CommonEvaluate class to be used by OperatorEvaluator* classes that have the same logic for `evaluate` and `validated_evaluate`. CommonEvaluate initializes the return Variant to the correct type, then passes through to validated_evaluate, reducing code duplication between evaluate/validated_evaluate and avoiding the overhead of creating/destroying temporary Variants from previous evaluate implementations.
2025-11-28 11:06:19 -05:00
Lukas Tenbrink
acefbbbbcd Add support for profiling GDScript with tracy.
This adds macro `GodotProfileZoneGroupedFirstScript`, and uses interning for speedy lookups.

Co-authored-by: Samuel Nicholas <nicholas.samuel@gmail.com>
2025-11-28 16:36:36 +01:00
Mikael Hermansson
3e97ee7750 Replace usage of Zstandard advanced API 2025-11-27 14:28:16 +01:00
aaronp64
8ac43f4733 Make Variant::get_type_by_name HashMap initialization thread-safe
Updated Variant::get_type_by_name to call separate function for static HashMap initialization, which includes adding the initial key/value pairs.
2025-11-26 15:01:49 -05:00
Mikael Hermansson
0cc88f34da Add support for delta encoding to patch PCKs 2025-11-26 13:52:19 +01:00
Thaddeus Crews
f34c270452
Merge pull request #113150 from mihe/file-access-pack-errors
Add back I/O error-handling to `FileAccessPack` constructor
2025-11-25 12:55:12 -06:00
Thaddeus Crews
b7f06bd14d
Merge pull request #112539 from Ivorforce/bsearch-const
Make `Vector` `bsearch` method const.
2025-11-25 12:55:11 -06:00
Thaddeus Crews
807df6e9ab
Merge pull request #113028 from madsbangh/fix/asserts-in-input_event_codec.cpp
Fix assertions against buffer overruns in input_event_codec.cpp
2025-11-25 12:55:07 -06:00
Lukas Tenbrink
109d3d8530 Make Vector bsearch method const. 2025-11-25 19:05:30 +01:00
Thaddeus Crews
158f13aebf
Merge pull request #102232 from bruvzg/xattr
[FileAccess] Implement support for reading and writing extended file attributes/alternate data streams.
2025-11-25 09:52:37 -06:00
Mikael Hermansson
985a5e95a9 Add back I/O error-handling to FileAccessPack constructor 2025-11-25 14:38:16 +01:00
Thaddeus Crews
14185ef082
Merge pull request #113145 from bruvzg/align_fix
Fix memory alignment on 32-bit Windows.
2025-11-25 07:07:01 -06:00
Thaddeus Crews
6e69760134
Merge pull request #111967 from Ivorforce/object-cast-to-protect
Statically protect `Object::cast_to` for unrelated `Object` types.
2025-11-25 07:06:48 -06:00
Pāvels Nadtočajevs
51ff09dc1e
Fix memory alignment on 32-bit Windows. 2025-11-25 13:01:43 +02:00