1
0
Fork 0
Commit Graph

9024 Commits

Author SHA1 Message Date
Thaddeus Crews 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
Thaddeus Crews 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
Lukas Tenbrink 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
Ashwin Balasubramaniyan 6e047a0287 Fix bug where optional argument is not validated before use 2025-11-19 13:19:29 -05:00
Thaddeus Crews b15a13eed3
Merge pull request #112607 from KoBeWi/what_could_have_gone_wrong🤷‍♂️
Add MeshInstance3D upgrade code
2025-11-18 14:00:50 -06:00
Thaddeus Crews 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
Thaddeus Crews 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
Haoyu Qiu 04ac5cbb89 Prevent the main locale from being set to an empty string 2025-11-18 10:07:35 +08:00
Thaddeus Crews 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
kobewi e14263f917 Remove empty constructors and destructors from core/ 2025-11-17 20:09:05 +01:00
Thaddeus Crews 910133fda6
Merge pull request #104280 from Ivorforce/span-equality
Add `Span` equality (`==` and `!=`) operators.
2025-11-17 10:56:55 -06:00
Thaddeus Crews 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
Thaddeus Crews 187ab2161d
Merge pull request #112793 from timothyqiu/remove-translation-po
Remove `TranslationPO`
2025-11-17 10:56:35 -06:00
Thaddeus Crews 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
Thaddeus Crews 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
aaronp64 c18332740c Include key in Dictionary::operator[] error message
Include key in error message when lookup fails
2025-11-16 18:06:04 -05:00
Lukas Tenbrink 98caaebb72 Fix `GodotProfileZone` with tracy backend failing with shadowed variable names. 2025-11-15 20:03:14 +01:00
Lukas Tenbrink 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
Haoyu Qiu 43e323dce5 Remove `TranslationPO` 2025-11-15 10:13:07 +08:00
Samuel Nicholas 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
Miguel de Icaza 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
Thaddeus Crews c6fe923e33
Merge pull request #108516 from KoBeWi/file_graveyard
Remove unnecessary cpp files after cleanup
2025-11-14 14:23:06 -06:00
Thaddeus Crews 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
Thaddeus Crews 90413dacb4
Merge pull request #97758 from TsFreddie/debugger-stepout
Add step out to script debugger
2025-11-14 14:23:01 -06:00
Thaddeus Crews 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
Stuart Carnie 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
Nazarii e6bc3fa164 Do not zeroed elements and fast clear in HashMap 2025-11-14 11:33:13 +02:00
Thaddeus Crews 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
Thaddeus Crews 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
kobewi 251746a89c Add MeshInstance3D upgrade code 2025-11-13 13:43:17 +01:00
Lukas Tenbrink 9ebe051d5c Add some comments in the profiling.h header. 2025-11-13 12:14:41 +01:00
Thaddeus Crews 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
Lukas Tenbrink 6b98a57b8e Fix tracy implementation when no callstack sampling is desired. 2025-11-12 20:51:04 +01:00
Thaddeus Crews 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
Thaddeus Crews 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
Thaddeus Crews 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
Thaddeus Crews 6678288490
Merge pull request #111909 from bruvzg/mods_are_bad_they_make_you_mad
Disable some unsafe CLI arguments in template builds by default.
2025-11-12 11:24:12 -06:00
Aaron Franke 6f207a4601
Add a const version of List::find 2025-11-12 00:36:09 -08:00
Stuart Carnie bdfe8549b8 Core: Switch `RID_alloc::owns` to lock-free 2025-11-12 15:17:45 +11:00
Nintorch a55242747a Add support for joypad LED lights 2025-11-12 06:01:03 +05:00
JestemStefan 3f98a5472d Fix Input.is_joy_known response for SDL joypads 2025-11-11 23:23:46 +01:00
Thaddeus Crews 180ccae934
Merge pull request #111707 from Nintorch/joypad-features
Support adding advanced joypad features
2025-11-11 16:07:56 -06:00
Thaddeus Crews 18a17de164
Merge pull request #112630 from aaronp64/push_back_move
Avoid extra copy in `Vector`/`CowData` `push_back`/`insert`
2025-11-11 16:07:54 -06:00
aaronp64 afd59b36cf Avoid extra copy in Vector/CowData push_back/insert
Update push_back/insert methods to move new item into CowData instead of copying
2025-11-11 12:19:35 -05:00
Thaddeus Crews 8327dfa215
Merge pull request #112092 from timothyqiu/ts-nums
Move localized number formatting methods to `TranslationServer`
2025-11-10 17:47:09 -06:00
kobewi 98141c3d73 Replace repetitive meta/ctrl condition with a method 2025-11-10 16:23:28 +01:00
Thaddeus Crews a6db8aa621
Merge pull request #111597 from HolonProduction/code-edit-dirty-flag
CodeEdit: Use flag to recalculate characteristics
2025-11-10 08:20:22 -06:00
Thaddeus Crews 9ac55bcc7f
Merge pull request #112415 from timothyqiu/project-name-localized
Allow localizing the application name with project translations
2025-11-10 08:20:00 -06:00
Thaddeus Crews 32242dbe4d
Merge pull request #112026 from timothyqiu/plural-default
Use more practical default plural rules
2025-11-10 08:19:58 -06:00
Haoyu Qiu 72d437c030 Move localized number formatting methods to TranslationServer
Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-11-10 15:01:22 +08:00