Arctis-Fireblight
759b2e5cc5
Merge remote-tracking branch 'godot/master' into Godot-Sync-2dd26a0
2025-09-09 04:42:00 -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
Spartan322
4f08ff1a11
Merge commit godotengine/godot@a3b42d85d2
2025-08-13 19:56:49 -04:00
Spartan322
265c6fd3f2
Add Godot drop-in replacement for GDExtension version checks
...
Add disable flag via `disable_godot_checks`
2025-08-09 00:40:00 -04: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
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
Spartan322
cd86012a9d
Merge commit godotengine/godot@71a9948157
2025-07-19 14:15:00 -04:00
David Snopek
e325c4bdba
GDExtension: Prevent compatibility breakage from change to ClassDB::instantiate() for unexposed classes
2025-07-14 14:09:23 -05:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
...
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Spartan322
63bd691bb9
Merge commit godotengine/godot@88b9932ce1
2025-06-23 16:28:53 -04:00
David Snopek
d5eb66947b
Fix minor inconsistencies and errors in gdextension_interface.h
2025-06-22 07:56:00 -05:00
Spartan322
7f9872092c
Merge commit godotengine/godot@5abed52fd9
2025-06-20 03:57:56 -04:00
David Snopek
3b7e34556c
GDExtension: Always run shutdown callback before deinitializing any levels
2025-06-18 07:51:12 -05:00
Lukas Tenbrink
b13a0e1834
Rename String::resize to resize_uninitialized, to better communicate to callers that new characters must be initialized.
2025-06-11 18:13:02 +02:00
Spartan322
9023767920
Merge commit godotengine/godot@1bbfe637c6
2025-06-10 22:00:50 -04:00
Rémi Verschelde
e9775a0c57
Merge pull request #106030 from raulsntos/gdextension/main-loop-callbacks
...
[GDExtension] Add function to register main loop callbacks
2025-06-10 12:29:52 +02:00
Raul Santos
73488f5afd
[GDExtension] Add function to register main loop callbacks
2025-06-10 04:55:20 +02:00
David Snopek
e4aaf9fbc6
GDExtension: Check if class without recreate callback is creatable, before marking whole extension as unreloadable
2025-06-09 10:34:57 -05:00
Spartan322
0e99b001ac
Merge commit godotengine/godot@5dd76968d8
2025-06-05 23:07:30 -04:00
Thaddeus Crews
cc4bbf78fb
Merge pull request #105345 from Zylann/gdextension_print_version
...
Print Godot version when an extension is found to be incompatible
2025-06-04 10:34:24 -05:00
Michael Alexsander
454e4f817c
Make build profile project detection also set build options
2025-06-03 11:11:33 -03:00
Dubhghlas McLaughlin
c97ca14537
Preallocate vectors with known size.
2025-05-22 16:14:28 -05:00
Spartan322
38fb5272ad
Merge commit godotengine/godot@7a0ab9d561
2025-05-22 14:03:25 -04:00
Thaddeus Crews
d237e31a89
Style: Remove redundant DEBUG_METHODS_ENABLED
...
• Replaced with functionally identical and far more ubiquitous `DEBUG_ENABLED`
2025-05-15 13:09:41 -05:00
Spartan322
63f2d58fcf
Merge commit godotengine/godot@428a762e98
2025-05-14 14:16:55 -04:00
Thaddeus Crews
5b935881fc
Typed array equality operator logic updated
...
• Instead of calling to `_ref`, the same effect is achieved by calling to the base class assignment operator
• No longer need to be expose `_ref`; set back to private & remove reference from gdextension_interface
2025-05-13 14:41:16 -05:00
Spartan322
a30eb5a590
Merge commit godotengine/godot@6a6a1168a5
2025-05-07 10:35:16 -04:00
Lukas Tenbrink
ec32dae1da
Rename _strlen_clipped to strnlen (and use the system equivalent for char * inputs).
...
Add `strnlen` for `char16_t *` and `wchar_t *`.
2025-05-06 15:17:07 +02:00
Thaddeus Crews
01fc9aee6c
Core: Modernize C headers with C++ equivalents
2025-05-02 08:23:01 -05:00
Spartan322
8122592328
Merge commit godotengine/godot@80a3d205f1
2025-05-01 01:30:09 -04:00
kobewi
5af4bef46f
Inline static variables (part 1)
2025-04-29 18:10:44 +02:00
Thaddeus Crews
f8a8d6cf04
Merge pull request #105700 from dementive/config-file-get-improvement
...
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
2025-04-27 19:21:31 -05:00
Lukas Tenbrink
f2bab45202
Fix GDExtensionLoader using the wrong super type in GDSOFTCLASS.
2025-04-27 10:28:08 +02:00
dementive
b8e44a0000
Improve ConfigFile get_sections and get_section_keys by returning Vector<String>
2025-04-24 20:10:31 -04:00
Spartan322
5ad22fc4ea
Add godot compatibility header to GDExtension API dump
...
To retain Godot GDExtension compatibility, relies on Godot's `header`, Redot's GDExtension header is in `redot_header`
(cherry picked from commit 96e7bce528 )
2025-04-22 14:28:28 -04:00
Spartan322
2b59059dde
Merge commit godotengine/godot@2d3bdcac35
2025-04-19 16:05:28 -04:00
Marc Gilleron
ab36db2cfa
Print Godot version when an extension is found to be incompatible
2025-04-13 14:14:23 +02:00
Thaddeus Crews
0fbb22c095
Merge pull request #104432 from YYF233333/dict_iter2
...
Do not iterate `Dictionary` with `Dictionary::keys()`
2025-04-07 08:43:33 -05:00
Thaddeus Crews
5edb235018
CI: Bump various pre-commit hooks
2025-04-07 08:23:35 -05:00
Yufeng Ying
8ae16699c5
Do not use Dictionary::keys() for Dictionary iteration.
2025-04-05 18:42:13 +08:00
Thaddeus Crews
abd565eb19
Merge pull request #104844 from Ivorforce/gdsoftclass
...
Add and require `GDSOFTCLASS` for `Object` subclasses that want to cast but do not use `GDCLASS`.
2025-03-31 19:02:03 -05:00
Lukas Tenbrink
fa0a3c9c6e
Add and require GDSOFTCLASS for Object subclasses that want to cast but do not use GDCLASS.
2025-03-31 20:49:50 +02:00
Kiro
23129a66ed
Replace append_utfx with direct String::utfx
2025-03-30 19:56:38 +02:00
Thaddeus Crews
780cf03051
Merge pull request #104556 from Ivorforce/string-extend-instead-of-parse
...
Use `append_` instead of `parse_` for `String` methods.
2025-03-29 10:16:33 -05:00
Yyf2333
22b5ec17fb
Using iterator pattern instead of List::Element *.
...
Co-authored-by: Adam Scott <ascott.ca@gmail.com >
2025-03-28 13:29:15 +08:00
Lukas Tenbrink
ffa6ef220b
Use append_ instead of parse_ for String methods.
2025-03-27 17:51:02 +01:00
Thaddeus Crews
1b631edf67
Merge pull request #104129 from dsnopek/gdextension-get-used-classes
...
GDExtension: Add mechanism to get which classes an extension is using
2025-03-17 16:03:27 -05:00
David Snopek
2dff9fef37
GDExtension: Add mechanism to get which classes an extension is using
2025-03-17 15:27:14 -05:00
Thaddeus Crews
b377562b52
Merge pull request #91660 from AThousandShips/methodinfo_vec
...
[Core] Use `Vector` for `MethodInfo::arguments`
2025-03-14 10:06:13 -05:00