Daylily-Zeleen
3db8549e19
mark return value of `get_class_static` and `get_parent_class_static` as const
2024-05-17 02:06:59 +08:00
Chris Cranford
e160966163
Fix PropertyInfo to use hint/usage default constants
2024-04-16 07:24:48 -04:00
A Thousand Ships
d055b575fb
Fix incorrect utility call signature
2024-04-02 21:44:40 +02:00
David Snopek
44d78ec881
Merge pull request #1409 from Repiteo/class-to-typename
...
Enforce template syntax `typename` over `class`
2024-04-02 14:30:01 -05:00
David Snopek
a62f633ceb
Merge pull request #1379 from dsnopek/uninitialized-value-mk2
...
Avoid creating most objects that Godot is going to use placement new to initialize
2024-03-14 11:06:59 -05:00
David Snopek
ec166295ba
Merge pull request #1397 from dsnopek/script-free-lists
...
Load new `script_instance_create3` GDExtension interface function
2024-03-14 10:02:21 -05:00
A Thousand Ships
fb79d5ff98
Add support for getting argument count from `Callable`s
2024-03-14 10:27:39 +01:00
David Snopek
efb46f7f82
Merge pull request #1407 from AThousandShips/flag_fix
...
Fix invalid `void` return in `BitField`
2024-03-11 12:43:12 -05:00
Thaddeus Crews
87f5fb0691
Enforce template syntax `typename` over `class`
2024-03-10 16:02:43 -05:00
Marc Gilleron
e607790647
Fix explicit namespaces in macros
2024-03-08 19:42:07 +00:00
A Thousand Ships
7ed8ef7221
Fix invalid `void` return in `BitField`
2024-03-08 13:32:28 +01:00
David Snopek
cc1217a43c
Merge pull request #1381 from dsnopek/notification-hierarchy
...
Fix `_notification()` with parent and child classes
2024-03-05 11:50:13 -06:00
David Snopek
8b92368165
Load new `script_instance_create3` GDExtension interface function
2024-03-01 10:50:02 -06:00
David Snopek
e55b792fea
Merge pull request #1383 from bruvzg/memalign
...
[Core] Improve `CowData` and `Memory` metadata alignment.
2024-02-26 12:54:17 -06:00
David Snopek
c4fde852e6
Avoid creating most objects that Godot is going to use placement new to initialize
2024-02-26 10:36:16 -06:00
David Snopek
23c010900c
Fix _notification with parent and child classes
2024-02-22 14:39:50 -06:00
David Snopek
fb884573ea
Allow registering "runtime classes"
2024-02-13 08:55:25 -06:00
David Snopek
5fcc43e54d
Merge pull request #1377 from dsnopek/gdextension-register-virtual-method
...
Allow GDExtensions to register virtual methods and call them on scripts (godot-cpp support)
2024-02-12 18:43:12 -06:00
David Snopek
9a13efa0e3
Merge pull request #1363 from Daylily-Zeleen/daylily-zeleen/fix_object_return_value_of_builtin_types_methods
...
Fix object return value of builtin types' methods.
2024-02-12 14:33:20 -06:00
David Snopek
8fbb7cf795
Allow GDExtensions to register virtual methods and call them on scripts
2024-02-12 13:30:07 -06:00
DaylilyZeleen
6a3753c076
Fix object return value of builtin types' methods.
2024-02-13 03:20:02 +08:00
Allen Pestaluky
349b5a3146
Added newer Variant types to `typed_array.hpp`
...
This is a companion commit to the godot PR https://github.com/godotengine/godot/pull/87992 which fixes https://github.com/godotengine/godot/issues/87991
Also undefines typed array templates after use to match Godot's typed_array.h
2024-02-06 13:53:38 -05:00
bruvzg
b173a4d935
[Core] Improve `CowData` and `Memory` metadata alignment.
2024-02-05 19:26:45 +02:00
David Snopek
0145e900f3
Merge pull request #1357 from bruvzg/cpp_64
...
Switch to 64-bit ints.
2024-01-19 12:15:55 -06:00
David Snopek
6c04514039
Merge pull request #1359 from Naros/GH-1287
...
Rework GDCLASS macro to allow abstract classes
2024-01-19 07:27:06 -06:00
Chris Cranford
5f350e2572
Rework GDCLASS macro to allow pure virtual functions
2024-01-18 20:14:13 -05:00
A Thousand Ships
3943e41d2f
Fix `AABB.encloses` failing on shared upper bound
2024-01-12 18:08:40 +01:00
bruvzg
59a5a8b104
Switch to 64-bit ints.
2024-01-10 15:36:36 +02:00
A Thousand Ships
f037a697eb
Add missing `OP_POWER` operator to `Variant`
2024-01-06 21:12:52 +01:00
David Snopek
dd62b9685f
Merge pull request #1347 from Chubercik/vector_method_parity
...
Add `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`
2024-01-04 08:36:30 -06:00
Jakub Mateusz Marcowski
b733102f4a
Add `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`
2024-01-03 11:45:05 +01:00
A Thousand Ships
b77cb648c3
Fix expected argument count for call errors
2023-12-30 13:23:36 +01:00
Aaron Franke
646c71c277
Add PackedRealArray as an alias for PackedFloat(32/64)Array
2023-12-19 04:44:05 -06:00
bruvzg
adc9def046
[iOS] Fix initialisation/termination of multiple statically linked extensions.
2023-11-23 13:38:20 +02:00
David Snopek
f426b12b5b
Fix comparison of `Callable`s from callable_mp() of the same method
2023-11-17 12:49:53 -06:00
David Snopek
4439a4a569
Merge pull request #1280 from dsnopek/callable-custom
...
Add `CallableCustom` that devs can use in their GDExtensions
2023-11-17 12:48:39 -06:00
David Snopek
c4b7b08c91
Merge pull request #1298 from Repiteo/int-to-variant-fix
...
Add missing int→Variant conversions
2023-11-15 09:07:48 -06:00
bruvzg
29b34d92bb
[iOS] Fix building as static library or xcframework, add iOS config and xcframework build script to the test project.
2023-11-09 20:01:59 +02:00
Thaddeus Crews
bcac96c8c2
Add missing int→Variant conversions
2023-11-08 09:45:53 -06:00
David Snopek
d33bd47219
Add `CallableCustom` that devs can use in their GDExtensions
2023-11-06 00:09:06 -06:00
Thaddeus Crews
6eb5d450bd
GDCLASS synced by ending with "private:"
...
• Matches implementation used by modules and godot itself
• Apply same to GDEXTENSION_CLASS, setup with same diff-friendly spacers as GDCLASS
2023-11-01 12:44:14 -05:00
David Snopek
a61cdc8860
Add protections against registering classes that didn't use GDCLASS()
2023-10-22 08:44:09 -05:00
Martin Capitanio
a926b96103
clang: Add CallableCustomMethodPointerBase virtual destructor
...
Fixes #1272
+ clang++ (debian v16/v17) warning:
destructor called on
'godot::CallableCustomMethodPointerBase' that is abstract but has non-virtual destructor
[-Wdelete-abstract-non-virtual-dtor]
2023-10-19 09:37:11 +02:00
David Snopek
64eac01d04
Merge pull request #1266 from dsnopek/automatic-engine-class-registration
...
Automatically register only engine classes whose header has been included
2023-10-16 10:47:06 -05:00
David Snopek
b507b3e591
Automatically register only engine classes whose header has been included
2023-10-16 10:19:11 -05:00
Rémi Verschelde
4f0eb2f520
Merge pull request #1263 from dsnopek/string-name-new
...
Use the new `string_name_new_with_latin1_chars` function to improve StringName construction performance
2023-10-12 18:08:09 +02:00
Mikael Hermansson
6e05b978b8
Declare explicit specializations for `CharStringT`
2023-10-12 16:00:48 +02:00
David Snopek
3d814f9e4a
Use the new `string_name_new_with_latin1_chars` function to improve StringName construction performance
2023-10-09 16:59:29 -05:00
David Snopek
df849651d9
Changes necessary for hot reload to work
2023-09-25 22:13:33 -05:00
David Snopek
c18c1916c3
Implement `callable_mp()` and `callable_mp_static()`
2023-09-21 15:17:50 -05:00