Commit Graph

9039 Commits

Author SHA1 Message Date
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
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
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
d7f5c13db8 Add Span equality (== and !=) operators.
Exchange duplicate equality iteration implementations across `Vector` and `String` with the `Span` version, for a speed boost.
2025-11-15 14:21:54 +01:00
43e323dce5 Remove TranslationPO 2025-11-15 10:13:07 +08:00
fa5c17d68c Add memory profile macros to profiling with tracy implementation
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-11-15 10:20:31 +10:30
b1465d6af0 iOS: Fix loading of xcframework dynamic libraries.
The logic used to determine whether to invoke the in-memory registration or to
delegate the loading of a library is incorrect for xcframework packages - as
these can contain either static or dynamic libraries.

This change instead lets the operating system handle the library request, and if
it fails, it attempts to load from the internal registry.

With this change, xcframeworks containing dynamic libraries work without
workarounds on iOS.

With an additional fallback case courtesy of @bruvzg

This fixes https://github.com/godotengine/godot/issues/112783
2025-11-14 16:31:09 -05:00
c6fe923e33 Merge pull request #108516 from KoBeWi/file_graveyard
Remove unnecessary cpp files after cleanup
2025-11-14 14:23:06 -06:00
235d11245c Merge pull request #112481 from stuartcarnie/2d_canvas_vbos
Massively optimize canvas 2D rendering by using vertex buffers
2025-11-14 14:23:02 -06:00
90413dacb4 Merge pull request #97758 from TsFreddie/debugger-stepout
Add step out to script debugger
2025-11-14 14:23:01 -06:00
c52c93e2a2 Merge pull request #112725 from Ivorforce/profiling-comments
Add some comments in the profiling.h header.
2025-11-14 14:22:53 -06:00
90c0e6acca 2D: Switch to VBOs for instance data
- Add support for vertex bindings and UMA vertex buffers in D3D12.
- Simplify 2D instance params and move more into per-batch data to save
  bandwidth

Co-authored-by: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
Co-authored-by: A Thousand Ships <96648715+athousandships@users.noreply.github.com>
2025-11-15 06:25:49 +11:00
e6bc3fa164 Do not zeroed elements and fast clear in HashMap 2025-11-14 11:33:13 +02:00
52e7b970af Merge pull request #111681 from Nintorch/joypad-led
Add support for setting a joypad's LED light color
2025-11-13 20:52:07 -06:00
9a9e64a6ee Merge pull request #108981 from DeeJayLSP/faster-uid-path-from-cache
Make getting a path from UID cache slightly faster
2025-11-13 17:43:00 -06:00
251746a89c Add MeshInstance3D upgrade code 2025-11-13 13:43:17 +01:00
9ebe051d5c Add some comments in the profiling.h header. 2025-11-13 12:14:41 +01:00
08fb2e61e7 Merge pull request #111503 from JestemStefan/fix_111176
Fix `Input.is_joy_known` response for SDL joypads
2025-11-12 17:26:22 -06:00
6b98a57b8e Fix tracy implementation when no callstack sampling is desired. 2025-11-12 20:51:04 +01:00
df51b1480d Merge pull request #112660 from aaronfranke/list-find-const
Add a const version of `List::find`
2025-11-12 11:24:16 -06:00
04bc282ae7 Merge pull request #104851 from Ivorforce/tracy
Add `profiler` option to `SCons` builds, with support for `tracy` and `perfetto`.
2025-11-12 11:24:15 -06:00
c9ef31360f Merge pull request #112657 from stuartcarnie/rid_alloc_owns_lockfree
Core: Switch `RID_Alloc::owns` to lock-free
2025-11-12 11:24:14 -06:00