Thaddeus Crews
|
4b36c0491e
|
Merge pull request #105020 from YYF233333/opt_get_inheriters
Optimize `ClassDB::get_inheriters_from_class`
|
2025-04-04 17:40:59 -05:00 |
|
Thaddeus Crews
|
046c9f540c
|
Merge pull request #105030 from Ivorforce/class-is-enabled-object
Move `GD_IS_CLASS_ENABLED` and respective include from `class_db.h` to `object.h`, as this is where it's needed.
|
2025-04-04 17:40:58 -05:00 |
|
Lukas Tenbrink
|
aa5ca4f1a2
|
Move GD_IS_CLASS_ENABLED and respective include from class_db.h to object.h, as this is where it's needed.
|
2025-04-04 23:45:35 +02:00 |
|
Thaddeus Crews
|
78922d756a
|
Core: Decouple GDCLASS from ClassDB
|
2025-04-04 16:21:30 -05:00 |
|
Yufeng Ying
|
4029051bb1
|
Change ClassDB::get_inheriters_from_class.
|
2025-04-04 23:47:19 +08:00 |
|
Thaddeus Crews
|
21db8487a2
|
Merge pull request #104664 from tomfull123/missing-typed-dictionary-initializer-list
Add missing `initializer_list` constructor to TypedDictionary
|
2025-04-03 16:50:23 -05:00 |
|
Thaddeus Crews
|
6bd249a4c2
|
Merge pull request #104850 from Repiteo/core/warning-macros
Core: Integrate warning suppression macro helpers
|
2025-04-03 16:50:22 -05:00 |
|
Lukas Tenbrink
|
e6d166344b
|
Remove unused get_inheritance_list_static from GDCLASS.
|
2025-04-03 17:18:28 +02:00 |
|
Thaddeus Crews
|
207a2b6472
|
Core: Integrate warning suppression macro helpers
|
2025-04-03 10:13:46 -05:00 |
|
Thaddeus Crews
|
d0b3e0b474
|
Merge pull request #104921 from Ivorforce/no-get-valid-parents
Remove unused `get_valid_parents_static` functions from `GDCLASS`.
|
2025-04-03 09:27:54 -05:00 |
|
Thaddeus Crews
|
e5c5cb4ce2
|
Merge pull request #104906 from Daylily-Zeleen/daylily-zeleen/allow_instantiate_unexposed_editor_plugin_from_gdextension
Allow instantiating unexposed `EditorPlugin` from GDExtension.
|
2025-04-03 09:27:50 -05:00 |
|
Tom
|
8a3f9846c5
|
Add missing initializer_list constructor for TypedDictionary
|
2025-04-03 00:17:44 +01:00 |
|
Daylily-Zeleen
|
1cc879afc0
|
Allow instantiate unexposed EditorPlugin form GDExtension.
|
2025-04-02 23:52:14 +08:00 |
|
Lukas Tenbrink
|
be82731f99
|
Removed unused get_valid_parents_static functions from GDCLASS.
|
2025-04-02 13:50:47 +02:00 |
|
Yufeng Ying
|
4f4031a675
|
Replace size() == 0 with is_empty().
|
2025-04-02 19:18:43 +08:00 |
|
Thaddeus Crews
|
1f1b1c56e7
|
Merge pull request #104381 from Ivorforce/object-notification-nobool
Optimize `Object::notification` by avoiding runtime branches
|
2025-04-01 19:53:37 -05:00 |
|
Lukas Tenbrink
|
8a76e31547
|
Remove bool from Object::notification virtual function; replace with separate functions to avoid branching.
|
2025-04-01 15:26:32 +02: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 |
|
Thaddeus Crews
|
8f6bb119f4
|
Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
Add templated version of `ObjectDB::get_instance()`
|
2025-03-31 12:03:47 -05:00 |
|
Thaddeus Crews
|
f704113abe
|
Merge pull request #104649 from Ivorforce/move-semantics-ref-array-dict
Add move semantics to `Ref`
|
2025-03-31 12:03:44 -05:00 |
|
Rémi Verschelde
|
d8a81e416e
|
Merge pull request #104668 from monxa/redundant-lock-declaration
Remove redundant `ClassDB::locker` declaration
|
2025-03-28 14:33:45 +01:00 |
|
Rémi Verschelde
|
d01ffe4ad2
|
Merge pull request #103708 from Ivorforce/linear-casts-fast-virtual-casts-bad
Optimize `Object::cast_to` by assuming no virtual and multiple inheritance, gaining 7x throughput over `dynamic_cast`.
|
2025-03-28 14:32:04 +01:00 |
|
Rémi Verschelde
|
666edb3f76
|
Merge pull request #102440 from dsnopek/classdb-cannot-instantiate-unexposed-classes
Prevent instantiating classes that aren't exposed
|
2025-03-28 14:31:46 +01: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 |
|
kobewi
|
bc9d0c7835
|
Add templated version of ObjectDB::get_instance()
|
2025-03-27 15:43:23 +01:00 |
|
Lukas Tenbrink
|
dd9dc75a83
|
Optimize Object::cast_to by assuming no virtual and multiple inheritance, gaining 8x throughput over dynamic_cast.
Add `-Wvirtual-inheritance` to compiler warnings as a sanity check.
|
2025-03-27 15:39:53 +01:00 |
|
Alexander Montag
|
b79a6ca3e7
|
Remove redundant ClassDB::locker declaration
|
2025-03-26 21:14:11 +01:00 |
|
Lukas Tenbrink
|
28d6cf859a
|
Add move semantics to Ref.
|
2025-03-26 15:23:38 +01:00 |
|
Pedro J. Estébanez
|
2d885a3163
|
Sanitize ClassDB locking
|
2025-03-25 16:50:46 +01:00 |
|
Thaddeus Crews
|
8f331ebd9c
|
Merge pull request #103099 from YeldhamDev/build_res_loader_disable
Disable `ResourceFormatLoader/Saver`s of disabled classes
|
2025-03-23 19:04:01 -05:00 |
|
Thaddeus Crews
|
fd45f42464
|
Merge pull request #101361 from Repiteo/core/isolate-ref-logic
Core: Isolate `Ref` forward declare logic
|
2025-03-23 19:03:54 -05:00 |
|
Thaddeus Crews
|
d9ef361d12
|
Core: Isolate Ref forward declare logic
|
2025-03-23 08:22:00 -05:00 |
|
Thaddeus Crews
|
f09ee0171a
|
Style: Begin integrating simple .clangd fixes
|
2025-03-22 13:24:35 -05:00 |
|
Michael Alexsander
|
090358afcf
|
Disable ResourceFormatLoader/Savers of disabled classes
|
2025-03-21 14:23:05 -03:00 |
|
Rémi Verschelde
|
96a5d62507
|
Merge pull request #104355 from YYF233333/hashmap_iter
Optimize `ClassDB::get_direct_inheriters_from_class`
|
2025-03-21 13:03:53 +01:00 |
|
Rémi Verschelde
|
1f682b6554
|
Merge pull request #104237 from Ivorforce/optimize-thread-pool-waiting
Optimize thread pools by avoiding needless locks and unlocks of the `task_mutex`.
|
2025-03-21 13:03:37 +01:00 |
|
Yufeng Ying
|
c37c92b450
|
Optimize ClassDB::get_direct_inheriters_from_class.
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com>
|
2025-03-19 23:26:46 +08:00 |
|
Thaddeus Crews
|
4320800621
|
Core: Expand is_zero_constructible coverage
|
2025-03-17 11:45:26 -05:00 |
|
Lukas Tenbrink
|
9d30732c5b
|
Optimize thread pools by avoiding needless locks and unlocks of the task_mutex.
|
2025-03-16 15:33:55 +01: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 |
|
Thaddeus Crews
|
c1b7865ae9
|
Merge pull request #103557 from aaronfranke/godot-version-defines
Rename version defines to `GODOT_VERSION_*` to match GDExtension godot-cpp
|
2025-03-13 08:57:42 -05:00 |
|
Aaron Franke
|
97ee05e9b7
|
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp
|
2025-03-12 11:11:38 -07:00 |
|
Yufeng Ying
|
bebe037abf
|
Add ConstIterator to Dictionary.
|
2025-03-13 01:28:46 +08:00 |
|
A Thousand Ships
|
d9721954e6
|
[Core] Use Vector for MethodInfo::arguments
|
2025-03-10 13:57:53 +01:00 |
|
Thaddeus Crews
|
324512e11c
|
Style: Replace header guards with #pragma once
|
2025-03-07 17:33:47 -06:00 |
|
Thaddeus Crews
|
96fdaa616b
|
Style: Integrate #pragma once in builders/checks
|
2025-03-07 17:32:33 -06:00 |
|
kobewi
|
c6c1a49bea
|
Don't edit objects when loading folding
|
2025-03-06 15:04:00 +01:00 |
|
Pāvels Nadtočajevs
|
53bb897458
|
Use separate WorkThreadPool for shader compiler.
|
2025-03-03 22:28:39 +02:00 |
|
David Snopek
|
be81b0685f
|
Prevent instantiating classes that aren't exposed
|
2025-02-04 17:09:37 -06:00 |
|