Commit graph

9085 commits

Author SHA1 Message Date
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
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
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
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
Lukas Tenbrink
0f047944e4 Statically protect Object::cast_to for unrelated Object types.
Fix a handful of bugs associated with it.
2025-11-24 23:03:22 +01:00
Thaddeus Crews
369afc7b46
Merge pull request #86079 from dsnopek/required-args
Add `RequiredParam<T>` and `RequiredResult<T>` to mark `Object *` arguments and return values as required
2025-11-24 16:00:13 -06:00
Thaddeus Crews
f1de9c4845
Merge pull request #113117 from DarioSamo/resource-load-threaded-skip-progress
Skip ResourceLoader's progress query if not requested.
2025-11-24 16:00:11 -06:00
David Snopek
0820f32699 Update libgodot.h to use gdextension_interface.gen.h 2025-11-24 14:39:21 -06:00
David Snopek
090a4540b7 Use RequiredParam and RequiredResult in a handful of places in order to test 2025-11-24 12:12:10 -06:00
David Snopek
d95d49ee12 Add RequiredParam<T> and RequiredValue<T> to mark Object * arguments and return values as required
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2025-11-24 12:12:09 -06:00
Dario
f0e57a727b Skip ResourceLoader's progress query if not requested. 2025-11-24 14:40:07 -03:00
Thaddeus Crews
02335fa126
Merge pull request #107845 from dsnopek/gdextension-interface-json
GDExtension: Store source of `gdextension_interface.h` in JSON
2025-11-24 10:21:36 -06:00
Thaddeus Crews
48887b3f2e
Merge pull request #99640 from Repiteo/scons/future-annotations-minimal
SCons: Integrate `annotations` where relevant
2025-11-24 10:21:34 -06:00
Thaddeus Crews
56d766a2a7
Merge pull request #113061 from Ivorforce/profile-alloc-fixes
Only call `GodotProfileAlloc` when the allocation actually happened.
2025-11-24 10:21:29 -06:00
Pāvels Nadtočajevs
d454e1a1e0
[FileAccess] Implement support for reading and writing extended file attributes/alternate data streams. 2025-11-24 11:18:25 +02:00
Pāvels Nadtočajevs
8d10d8e7e6
Allow override.cfg to add autoloads to the front of the list. 2025-11-23 15:10:00 +02:00
Thaddeus Crews
11fc998368
SCons: Integrate annotations where relevant
• Expand Ruff linter to catch & upgrade legacy type-hint syntax
2025-11-22 13:22:31 -06:00
Lukas Tenbrink
70b7b44e5c Only call GodotProfileAlloc when the allocation actually happened. 2025-11-22 17:40:54 +01:00
Yarvin
364e98afc5 Fix String::rfindn for strings with only one character.
----

Remove optimization – no need to introduce extra complexity for
negligible (if any) gains.
2025-11-22 16:52:55 +01:00