Thaddeus Crews
326b22124a
Merge pull request #108794 from bruvzg/macos_actool_export
...
[macOS] Add support for exporting macOS 26 Liquid Glass icons.
2025-09-20 13:41:38 -05:00
Thaddeus Crews
40bd86819b
Merge pull request #104332 from ColinSORourke/FindSeq
...
Add 'Find Sequence' to `Span`s, and consolidate negative indexing behavior
2025-09-20 13:41:34 -05:00
Thaddeus Crews
ebbd5a7ff5
Merge pull request #110694 from wheatear-dev/bugfix-110693
...
Add `GDSOFTCLASS` to `NetSocket`
2025-09-20 13:41:33 -05:00
Thaddeus Crews
8eeef165d4
Merge pull request #104781 from Ivorforce/string-encode-complete
...
Expose missing `String` encoding conversion functions
2025-09-19 20:54:26 -05:00
Thaddeus Crews
075d99fc11
Merge pull request #109897 from WhalesState/geo2d-opt
...
Geometry2D minor optimization
2025-09-19 20:54:23 -05:00
Rinnegatamante
ad09677532
Perform per-line or per-rect blits in blit_rect.
2025-09-19 22:01:43 +02:00
Michael Alexsander
aeb3a45c97
Hide `Control` focus when given via mouse input
2025-09-19 13:43:29 -03:00
Edward Moulsdale
c652119812
Add GDSOFTCLASS to NetSocket
2025-09-19 16:01:01 +01:00
kobewi
d61a337a70
Improve usage of String.split() vs get_slice()
2025-09-19 16:31:55 +02:00
Thaddeus Crews
9b96eaaf80
Merge pull request #107989 from Jojo-1000/docs-add-required-qualifier
...
Documentation: Add missing required qualifier for various classes
2025-09-19 09:17:06 -05:00
Yufeng Ying
05dae23f18
Remove dependency of variant.h in print_string.h
...
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-09-19 14:57:36 +08:00
Lukas Tenbrink
406b22d2d5
Delete `VariantGetInternalPtr` and `VariantImplicitConvert`.
...
Replace uses with `VariantInternalAccessor`.
2025-09-19 00:20:07 +02:00
Lukas Tenbrink
f81287d765
Introduce `VariantImplicitConvert<>` template for types that can be implicitly converted to and from `Variant`.
...
De-duplicate a lot of `VariantGetInternalPtr`, `VariantInternalAccessor`, `VariantInitializer` and `VariantDefaultInitializer`.
2025-09-19 00:20:07 +02:00
Thaddeus Crews
3fa7c65914
Merge pull request #108504 from precup/optimize-duplicate
...
Avoid unnecessary copy in ClassDB::get_property_list
2025-09-18 12:42:27 -05:00
Thaddeus Crews
d90d8afa5a
Merge pull request #108118 from YYF233333/varray_and_vformat
...
Simplify `varray`
2025-09-18 12:42:25 -05:00
Thaddeus Crews
ff111e395d
Merge pull request #103917 from Ivorforce/sprintf-span
...
Optimize `vformat` by using `Span` in `sprintf`
2025-09-18 12:42:24 -05:00
Thaddeus Crews
aad046edba
Merge pull request #107045 from Ivorforce/rename-hashing-variables
...
Rename internal fields and variables in `AHashMap`, `HashMap` and `HashSet`
2025-09-18 12:42:20 -05:00
Thaddeus Crews
1e84bc4d9c
Merge pull request #108260 from Silver1063/master
...
Fix modifier order in keycode string generation
2025-09-18 12:42:20 -05:00
Lukas Tenbrink
a916325e6a
Use `Span` for `String.sprintf`, to accelerate `vformat` not needing to allocate an `Array`.
2025-09-18 19:29:04 +02:00
Lukas Tenbrink
d1fd42bf3c
Expose `copy_from_unchecked` as `append_utf32_unchecked` and `String::utf32_unchecked` in `String` for high performance string copies. Expose `append_wstring` and `String::wstring` for platform strings.
2025-09-18 19:26:57 +02:00
Lukas Tenbrink
46b88dcbda
Rename internal fields and variables in `AHashMap`, `HashMap` and `HashSet` for consistency.
2025-09-17 19:10:02 +02:00
Thaddeus Crews
cc7397ceb7
Merge pull request #110556 from Ivorforce/safe-nul-parse
...
Check for `NUL` characters in string parsing functions.
2025-09-17 11:34:18 -05:00
Thaddeus Crews
38d80598f5
Merge pull request #108121 from Repiteo/core/disabled-class-rework
...
Core: Handle disabled class detection in `ClassDB`
2025-09-17 11:34:16 -05:00
Thaddeus Crews
aa294bb3c8
Merge pull request #110360 from zorbathut/pr/memorybarrierrename
...
Rename RDD::MemoryBarrier to avoid conflicts with the Windows headers.
2025-09-17 11:34:15 -05:00
Aaron Franke
6bc6110a90
Apply rtos_fix hack for handling 32-bit floats on all calls to rtos_fix
2025-09-17 07:05:33 -07:00
Thaddeus Crews
1a89648c61
Merge pull request #110206 from aaronp64/remove_unused_enum_bitfield_param
...
Remove unused parameter in `__constant_get_enum_name`/`__constant_get_bitfield_name`
2025-09-16 20:29:01 -05:00
Thaddeus Crews
138e21e6ff
Merge pull request #110169 from BlueCube3310/file-access-flush-opti
...
Optimize data flushing for `FileAccessCompressed` and `FileAccessEncrypted`
2025-09-16 20:28:58 -05:00
Thaddeus Crews
f279257883
Merge pull request #110537 from dsnopek/gdextension-do-not-update-gdextension-special-compat-hashes
...
GDExtension: Update warning about `gdextension_special_compat_hashes.cpp` to prevent confusion
2025-09-16 20:28:55 -05:00
Lukas Tenbrink
abe3b481ae
Make conversions from `LocalVector` to `Vector` explicit.
2025-09-16 21:41:28 +02:00
Colin O'Rourke
03d32c68a9
Added Find Sequence to Spans
...
Added FindSequence to Span.h
Refactored String find to use Span::Find_Seq in Ustring.cpp
2025-09-16 12:37:07 -07:00
Mounir Tohami
081cebb2f7
Geometry2D minor optimization
2025-09-16 21:33:53 +03:00
Thaddeus Crews
fb23f7d175
Merge pull request #110557 from Splizard/fix-dump-extension-api-with-docs-indentation
...
Fix `--dump-extension-api-with-docs` indentation
2025-09-16 11:44:54 -05:00
Thaddeus Crews
c39edeca6d
Merge pull request #109744 from Repiteo/core/math-constants-semantic
...
Core: Integrate semantic constants in math structs
2025-09-16 11:44:49 -05:00
Thaddeus Crews
570577a4d6
Merge pull request #109214 from archhabra/godotengine_109204
...
Correct the order of Diagonal Mode in Add Property
2025-09-16 09:49:02 -05:00
Quentin Quaadgras
e9131550b1
add codeblock indentation back to --dump-extension-api-with-docs
...
xml codeblock indentation was changed from spaces to tabs but the tabs
were being replaced with empty strings when exported with
--dump-extension-api-with-docs, this is small change so that tab
characters are no longer replaced.
2025-09-16 22:04:32 +12:00
Lukas Tenbrink
0d700e53f3
Check for `NUL` characters in string parsing functions.
2025-09-16 10:55:44 +02:00
Yufeng Ying
8f36c97a49
Optimize varray.
2025-09-16 15:01:26 +08:00
Yufeng Ying
a50fc5acd8
Change ClassDB::get_class_list and related stuff.
2025-09-16 15:00:33 +08:00
BlueCube3310
ebdf57fbf1
Optimize data flushing for `FileAccessCompressed` and `FileAccessEncrypted`
2025-09-16 00:19:19 +02:00
David Snopek
d0a0d8b798
GDExtension: Update warning about `gdextension_special_compat_hashes.cpp` to prevent confusion
2025-09-15 14:02:56 -05:00
aaronp64
4c3f2be16d
Avoid repeated _copy_on_write() calls in Array::resize()
...
Updated Array::resize() to call ptrw() once before looping to initialize typed array elements, instead of accessing each through .write[].
2025-09-15 14:03:21 -04:00
Ben Rog-Wilhelm
e5ab5acd95
Rename RDD::MemoryBarrier to avoid conflicts with the Windows headers.
2025-09-10 05:19:36 -05:00
aaronp64
cfde73ac17
Remove unused parameter in __constant_get_enum_name/__constant_get_bitfield_name
...
Removed unused String parameter in __constant_get_enum_name() and __constant_get_bitfield_name() to avoid creating/destroying extra Strings.
2025-09-02 13:13:12 -04:00
Clay John
6339f31a02
Merge pull request #109770 from RandomShaper/fix_signal_antifree
...
Fix regression in mechanism to hold objects while emitting
2025-09-01 19:42:13 -07:00
Thaddeus Crews
52a5644b5f
Merge pull request #108214 from Nintorch/fix-joypad-vendor-product
...
Fix `Input.get_joy_info()` regression after the SDL input driver PR
2025-09-01 11:14:12 -05:00
Nintorch
f28acf97d0
Fix Input.get_joy_info() regression
...
SDL input driver did not have the "xinput_index", "raw_name", "vendor_id" and "product_id" fields for this method and exposed an additional, essentially useless for the users "mapping_handled" field. This commit fixes these issues.
2025-08-29 22:13:40 +05:00
Emmanuel Leblond
a7f224375a
Fix `classdb_register_extension_class*` documentation in `core/extension/gdextension_interface.h`
2025-08-28 22:11:14 +02:00
Pedro J. Estébanez
a25846507d
Fix regression in mechanism to hold objects while emitting
2025-08-28 18:23:27 +02:00
Thaddeus Crews
221731f30e
Merge pull request #110003 from WinnerWind/fix-zero-threadcount
...
Revert "Prevent crashing if `max_threads` is zero."
2025-08-27 13:39:44 -05:00
WinnerWind
976016b701
Revert "Prevent crashing if `max_threads` is zero."
...
This reverts commit a1788e09bf .
2025-08-27 09:02:34 +05:30
Thaddeus Crews
555e7ad073
Core: Handle disabled class detection in ClassDB
2025-08-26 09:31:14 -05:00
Thaddeus Crews
b432e108d5
Merge pull request #109791 from Talkashie/master
...
Typo cleanup pass
2025-08-21 18:39:37 -05:00
Muller-Castro
be68ff8cea
Fix FileAccess::create_temp() default args error
2025-08-21 20:00:55 -03:00
Thaddeus Crews
610a5bd65b
Merge pull request #109276 from bruvzg/sym_copy
...
Fix symlink copy in `DirAccess::copy_dir`.
2025-08-20 13:04:23 -05:00
Talkashie
bc7e68dfd1
Typos
2025-08-19 18:32:59 -05:00
David Snopek
b9bff1fba5
Expose `Thread::is_main_thread()`
2025-08-19 10:35:45 -05:00
Thaddeus Crews
84c0ec04f3
Core: Integrate semantic constants in math structs
...
- Excludes self-explanatory constants (ZERO, ONE, etc)
2025-08-19 10:15:08 -05:00
Yarvin
b2e4c4f334
Fix typo - is_deprecated was being set twice, skipping is_experimental.
2025-08-19 13:54:41 +02:00
Thaddeus Crews
f5152699bc
Merge pull request #108768 from WinnerWind/fix-zero-threadcount
...
FIX: Prevent crashing if `max_threads` is zero.
2025-08-18 08:29:04 -05:00
WinnerWind
a1788e09bf
Prevent crashing if `max_threads` is zero.
...
Adds a note in the docs that a thread count of 0 has the same effect as a thread count of -1.
Change language of WorkerThreadPool in ProjectSettings
Co-Authored-By: Tomasz Chabora <kobewi4e@gmail.com>
2025-08-17 20:12:41 +05:30
Thaddeus Crews
8892a8d362
Merge pull request #109612 from dsnopek/emit-signal-no-alloca
...
Don't use `alloca()` in `Object::emit_signalp()` to prevent stack overflow
2025-08-15 12:58:46 -05:00
David Snopek
3eed53686b
Don't use `alloca()` in `Object::emit_signalp()` to prevent stack overflow
2025-08-14 09:54:59 -05:00
MarianoGnu
5033a6af07
Never duplicate Scripts when duplicating resources recursively
...
This allows to duplicate PackedScenes safely
Fixes #108220
2025-08-14 10:26:48 -03:00
Pāvels Nadtočajevs
10fd7163d4
Add methods to check which event first triggered "just pressed/released" state.
2025-08-12 16:25:23 +03:00
Thaddeus Crews
b1792e5fb5
Merge pull request #109309 from dsnopek/gdextension-startup-callback-after-reload
...
GDExtension: Call startup callback only after reload is fully finished
2025-08-07 10:40:35 -05:00
Dubhghlas McLaughlin
4841add19a
Fixed `local_to_scene` duplication of typed dictionary.
2025-08-06 17:04:35 -05:00
Thaddeus Crews
65eb664352
Merge pull request #109310 from Yarwin/fix-gdextension-add-editor-plugin-during-initialization-level-editor
...
Postpone adding new extension plugins to the editor
2025-08-06 12:01:21 -05:00
Thaddeus Crews
395b0f0a3d
Merge pull request #103635 from BlueCube3310/rgb565-fix
...
Fix Image format RGB565 conversion and rendering
2025-08-06 12:01:17 -05:00
Thaddeus Crews
5f402da946
Merge pull request #109240 from bruvzg/scr_log_unreg
...
Automatically unregister loggers when script language is deinitialized.
2025-08-06 12:01:14 -05:00
David Snopek
92d9227d4a
GDExtension: Call startup callback only after reload is fully finished
2025-08-05 08:30:39 -05:00
Yarvin
1aca96d139
Postpone adding new extension plugins to the editor.
...
----
Extension EditorPlugins added during Hot Reload on Initialization level
Editor were being attached to the scene tree before all the GDExtension
Classes (such as already loaded resources) are re-initialized.
2025-08-04 21:57:22 +02:00
Pāvels Nadtočajevs
19dbfec777
Fix symlink copy in `DirAccess::copy_dir`.
2025-08-03 19:52:48 +03:00
Thaddeus Crews
62dc131d74
Merge pull request #109172 from mihe/printraw-overflow
...
Fix `printraw` causing infinite recursion in `Logger._log_message`
2025-08-03 10:51:16 -05:00
BlueCube3310
638c6a5659
Fix Image format RGB565 conversion
2025-08-03 16:28:13 +02:00
Pāvels Nadtočajevs
9fd98410df
Automatically unregister loggers when script language is deinitialized.
2025-08-02 18:29:00 +03:00
Arti Chhabra
6a288c9275
Corrected the order of DiagonalMode in Add Property
2025-08-01 14:59:59 -07:00
Thaddeus Crews
c2202d36c1
Merge pull request #103838 from ebeem/master
...
Core: Fix translation remaps incorrectly falling back
2025-08-01 11:45:22 -05:00
Thaddeus Crews
761f8df597
Merge pull request #109016 from Rindbee/use-undo_redo-to-track-property-changes
...
Use `EditorUndoRedoManager` to track the property changes of the configured `InputEvent` in the plugin
2025-08-01 11:45:20 -05:00
Thaddeus Crews
c5d2033e98
Merge pull request #109123 from beicause/fix-img-nearest-cubic-resize-bias
...
Fix `Image` nearest and cubic resizing bias
2025-08-01 11:45:13 -05:00
Almarhoon Ibraheem
9add19a4ad
Core: Fix translation remaps incorrectly falling back
2025-08-01 19:23:06 +03:00
Mikael Hermansson
494471dda2
Fix `printraw` causing infinite recursion in `Logger._log_message`
2025-07-31 20:24:47 +02:00
Thaddeus Crews
00a0512854
Merge pull request #109151 from clayjohn/WTP-low-priority-threads
...
Allow processing low priority threads on calling thread in the WTP.
2025-07-31 10:39:13 -05:00
Thaddeus Crews
0d10e85b88
Merge pull request #109122 from mihe/ext-resource-id-caching
...
Fix external resource IDs being lost for default properties
2025-07-31 10:38:45 -05:00
Mikael Hermansson
d0826b0bfe
Fix external resource IDs being lost for default properties
2025-07-31 16:57:35 +02:00
clayjohn
2a8ac1c05b
Allow processing low priority threads on calling thread in the WTP.
...
This fixes a recent regression. In theory, low priority tasks should always go to the queue and never be executed on the calling thread. However, when using NO_THREADS build, all tasks need to execute on the calling thread.
2025-07-30 23:15:38 -07:00
Jojo-1000
ab178719d9
Mark methods for various classes as required
2025-07-30 19:24:56 +02:00
LuoZhihao
a32b59622f
Fix `Image` nearest and cubic resizing bias
2025-07-30 23:54:12 +08:00
Thaddeus Crews
cfc58710b7
Merge pull request #108697 from clayjohn/pump-task
...
Ensure that threads only process one pump task
2025-07-30 09:03:42 -05:00
clayjohn
782b9e328c
Ensure that threads only process one pump task.
...
This is necessary because we will always deadlock if a thread takes on multiple pump tasks since pump tasks never return.
This means when using separate threads for certain systems (like physics or rendering), we need to be sure that there are enough threads to have at least one per system (to ensure forward progress).
2025-07-29 07:15:34 -07:00
Pāvels Nadtočajevs
838cb0eefc
[macOS] Add support for exporting macOS 26 Liquid Glass icons.
2025-07-28 14:35:48 +03:00
Chaosus
610712a269
Add a way to filter neighbor points to AStar2D/3D
2025-07-28 13:25:02 +03:00
风青山
95403207e8
Use `EditorUndoRedoManager` to track the property changes of the
...
configured `InputEvent` in the plugin
This allows undo and redo, and can mark in time whether the handled
`InputEvent` resource is edited.
`command_or_control_autoremap` needs to be handled separately, as
its value will change the usage of other properties.
2025-07-27 13:57:16 +08:00
George Marques
28d3214acd
Expose type validator from Dictionary and allow testing without error
...
- Now you can get the ContainerTypeValidate from a Dictionary (both for
keys and for values).
- ContainerTypeValidate exposes a validator function that does not show
any error in case of failure. This allows testing values before trying
to use them in Dictionary.
2025-07-24 13:35:48 -03:00
Thaddeus Crews
b74c8b4c03
Merge pull request #108614 from dsnopek/gdextension-compat-unexposed-classes
...
GDExtension: Prevent compatibility breakage from change to `ClassDB::instantiate()` for unexposed classes
2025-07-23 13:27:02 -05:00
Thaddeus Crews
037956dbc9
Merge pull request #108831 from aaronfranke/json-pass-full-precision
...
Fix internal JSON stringify not preserving p_full_precision
2025-07-22 11:20:15 -05:00
Mikael Hermansson
836a1a0b02
Prevent infinite recursion during printing
2025-07-22 16:13:03 +02:00
Aaron Franke
b626695f70
Fix internal JSON stringify not preserving p_full_precision
2025-07-21 08:36:29 -07:00
David Snopek
91a4a28aab
GDExtension: Add `mem_alloc2` (and friends) so padding can be requested
2025-07-17 16:16:05 -05:00
David Snopek
e325c4bdba
GDExtension: Prevent compatibility breakage from change to `ClassDB::instantiate()` for unexposed classes
2025-07-14 14:09:23 -05:00
kobewi
188e313dd8
Fix Variant properties losing value upon script update
2025-07-12 20:29:19 +02:00