Commit Graph

9058 Commits

Author SHA1 Message Date
0cc88f34da Add support for delta encoding to patch PCKs 2025-11-26 13:52:19 +01:00
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
b7f06bd14d Merge pull request #112539 from Ivorforce/bsearch-const
Make `Vector` `bsearch` method const.
2025-11-25 12:55:11 -06:00
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
109d3d8530 Make Vector bsearch method const. 2025-11-25 19:05:30 +01:00
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
985a5e95a9 Add back I/O error-handling to FileAccessPack constructor 2025-11-25 14:38:16 +01:00
14185ef082 Merge pull request #113145 from bruvzg/align_fix
Fix memory alignment on 32-bit Windows.
2025-11-25 07:07:01 -06:00
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
51ff09dc1e Fix memory alignment on 32-bit Windows. 2025-11-25 13:01:43 +02:00
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
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
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
0820f32699 Update libgodot.h to use gdextension_interface.gen.h 2025-11-24 14:39:21 -06:00
090a4540b7 Use RequiredParam and RequiredResult in a handful of places in order to test 2025-11-24 12:12:10 -06:00
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
f0e57a727b Skip ResourceLoader's progress query if not requested. 2025-11-24 14:40:07 -03:00
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
48887b3f2e Merge pull request #99640 from Repiteo/scons/future-annotations-minimal
SCons: Integrate `annotations` where relevant
2025-11-24 10:21:34 -06:00
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
d454e1a1e0 [FileAccess] Implement support for reading and writing extended file attributes/alternate data streams. 2025-11-24 11:18:25 +02:00
11fc998368 SCons: Integrate annotations where relevant
• Expand Ruff linter to catch & upgrade legacy type-hint syntax
2025-11-22 13:22:31 -06:00
70b7b44e5c Only call GodotProfileAlloc when the allocation actually happened. 2025-11-22 17:40:54 +01:00
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
dca2986321 Merge pull request #112844 from bruvzg/cwd_error
Add error message when trying to load project from CWD.
2025-11-21 18:37:29 -06:00
25cc9ccefb Merge pull request #112577 from timothyqiu/multiple-translations-per-locale
Add methods for querying loaded `Translation` instances
2025-11-21 18:37:24 -06:00
3fee7c2464 Fix assertions related to buffer overruns in input_event_codec.cpp 2025-11-21 22:55:52 +01:00
0e182ee83d Merge pull request #112506 from RandomShaper/less_locky_cmd_queue
CommandQueueMT: Reduce contention + Fix race conditions
2025-11-21 14:46:52 -06:00
6145b0ca29 Add Image.load_exr_from_buffer and enable tinyexr by default 2025-11-21 18:58:26 +01:00
4ba4558cf6 CommandQueueMT: Reduce lock contention in cases of single flusher 2025-11-21 11:11:30 +01:00
b16a8b8a76 CommandQueueMT: Fix race conditions 2025-11-21 11:09:16 +01:00
ec860ffe4a Add methods for querying loaded Translation instances 2025-11-21 08:51:26 +08:00
a7358ddd12 Add error message when trying to load project from CWD. 2025-11-20 23:19:09 +02:00
8deb221829 Merge pull request #101247 from Ivorforce/string-find-cleanup
Clean up `String::find` and similar functions to remove duplicate code, and speed up comparison.
2025-11-20 11:10:58 -06:00
a79b155298 Merge pull request #112969 from ashwinvbs/bugfix
Fix bug where optional argument is not validated before use
2025-11-20 11:10:49 -06:00
43a8009a56 Clean up String::find to remove duplicate code, and speed up comparison with memcmp where possible. 2025-11-19 22:39:05 +01:00
6e047a0287 Fix bug where optional argument is not validated before use 2025-11-19 13:19:29 -05:00
b15a13eed3 Merge pull request #112607 from KoBeWi/what_could_have_gone_wrong🤷‍♂️
Add MeshInstance3D upgrade code
2025-11-18 14:00:50 -06:00
2c11facde0 Merge pull request #112853 from aaronp64/dictionary_error_key
Include key in `Dictionary::operator[]` error message
2025-11-18 08:25:47 -06:00
eafc21fb05 Merge pull request #112784 from migueldeicaza/fix_dynamic_xcframework_loading
iOS: Fix loading of xcframework dynamic libraries.
2025-11-18 08:25:45 -06:00
04ac5cbb89 Prevent the main locale from being set to an empty string 2025-11-18 10:07:35 +08:00
40cba9094f Merge pull request #112823 from Ivorforce/tracy-unique-name
Fix `GodotProfileZone` with tracy backend failing with shadowed variable name warnings
2025-11-17 19:36:15 -06:00
e14263f917 Remove empty constructors and destructors from core/ 2025-11-17 20:09:05 +01:00
910133fda6 Merge pull request #104280 from Ivorforce/span-equality
Add `Span` equality (`==` and `!=`) operators.
2025-11-17 10:56:55 -06:00
f4bb9eaafe Merge pull request #112702 from enetheru/tracy-mem
Add memory profiling macros for tracy profiler option
2025-11-17 10:56:49 -06:00
187ab2161d Merge pull request #112793 from timothyqiu/remove-translation-po
Remove `TranslationPO`
2025-11-17 10:56:35 -06:00
42f06f6d4d Merge pull request #108170 from aaronfranke/test-ps-path-func
Use ProjectSettings path functions instead of hard-coded folder names in tests
2025-11-17 10:56:31 -06:00
359ef8fc2b Merge pull request #108932 from Nazarwadim/hash_map_final_optimization
Do not zero elements and perform fast clear in `HashMap`
2025-11-17 10:56:27 -06:00
c18332740c Include key in Dictionary::operator[] error message
Include key in error message when lookup fails
2025-11-16 18:06:04 -05:00
98caaebb72 Fix GodotProfileZone with tracy backend failing with shadowed variable names. 2025-11-15 20:03:14 +01:00