1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00
Commit Graph

9059 Commits

Author SHA1 Message Date
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
David Snopek
2c681794cd GDExtension: Store source of gdextension_interface.h in JSON 2025-11-11 14:58:45 -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
Haoyu Qiu
b8a8f8b35a Allow localizing the application name with project translations 2025-11-08 13:06:55 +08:00
Lukas Tenbrink
c3747884da Add some important profiling hooks. 2025-11-08 00:08:48 +01:00
Lukas Tenbrink
e80194e31f Add profiler option to SCons builds.
Add `tracy` option to `profiler`. If set, a tracy profiling client will be injected into the Godot binary.

# Conflicts:
#	platform/linuxbsd/godot_linuxbsd.cpp
2025-11-08 00:08:45 +01:00
Thaddeus Crews
6fd949a6dc Merge pull request #110748 from MauriceButler/project-setting-changed-signal
Add ability to get list of Project Settings changed, similar to Editor Settings functionality
2025-11-07 10:32:39 -06:00
Maurice Butler
ffa2651fbc Added ability to get a list of project settings changed. 2025-11-06 20:15:07 +10:00
kobewi
89432600ce Misc script editor code cleanup 2025-11-05 18:18:33 +01:00
David Snopek
bc9f3c7d92 Make Vector<T>::duplicate() const
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2025-11-04 17:13:11 -06:00
David Snopek
fc58be9bfc GDExtension: Add system for builtin method compatibility 2025-11-04 17:12:31 -06:00
Thaddeus Crews
d845f0960d Merge pull request #112351 from charjr/fix-array-remove-at
GDExtension: Add missing method flag
2025-11-04 16:32:51 -06:00
Thaddeus Crews
cef4a7805f Merge pull request #111772 from nikitalita/fix-fmem-integer-underflow
Fix buffer over-read in `FileAccessMemory::get_buffer`
2025-11-04 16:32:29 -06:00
Thaddeus Crews
0d89d2fb82 Merge pull request #112149 from timothyqiu/csv-template
Add CSV translation template generation
2025-11-04 16:32:26 -06:00
John Charman
c342ce423c GDExtension: Add missing method flag
Add GDEXTENSION_METHOD_FLAG_VIRTUAL_REQUIRED
2025-11-04 18:44:11 +00:00
Pāvels Nadtočajevs
29da94290f Disable some unsafe CLI arguments in template builds by default. 2025-11-03 12:21:42 +02:00
nikitalita
3fa73d4f5f FileAccessMemory: prevent seeking past end of file 2025-11-02 12:40:51 -08:00
kobewi
d27fb9b15a Remove default skeleton path in MeshInstance3D 2025-11-01 01:59:58 +01:00