Zhehang Ding
|
450c3d65cd
|
Use namespace in defs.hpp
A global alias of godot::real_t is defined for backward compatibility
|
2024-11-03 15:13:37 +08:00 |
Thaddeus Crews
|
2ffff669f5
|
Implement typed dictionaries
|
2024-09-17 15:05:16 -05:00 |
Aaron Franke
|
10c3d1bc5f
|
Fix missing MAKE_TYPED_ARRAY_INFO for Packed*Arrays
|
2024-08-22 21:02:48 -07:00 |
Aaron Franke
|
92e6ea7303
|
Fix missing type info for PackedVector4Array
|
2024-08-10 21:21:13 -07:00 |
Yuri Sizov
|
2b34bd0d8b
|
Fix argument metadata when binding methods
While there doesn't seem to be any runtime issues,
this triggers the address sanitizer in a few ways,
depending on what kind of method you're
binding.
|
2024-06-27 18:40:29 +02:00 |
David Snopek
|
5d8f80bc55
|
Merge pull request #1446 from Daylily-Zeleen/daylily-zeleen/set_instance_and_instance_biding_in_Wrapped_constructor
Set instance and instance binding in `Wrapped` constructor.
|
2024-06-14 09:39:46 -05:00 |
David Snopek
|
7f74fe7bb2
|
Fix undefined symbol error on Linux with virtual methods that take `Node *` arguments
|
2024-06-10 10:55:24 -05:00 |
David Snopek
|
246a803954
|
Explicitly refer to `godot` namespace in `GDREGISTER_*_CLASS()` macros
|
2024-06-01 08:46:26 -05:00 |
Daylily-Zeleen
|
76cbc66785
|
Set instance and instance binding in Wrapped constructor.
|
2024-05-28 22:59:37 +08:00 |
David Snopek
|
88df025aa0
|
Clean up instance bindings for engine singletons to prevent crash
|
2024-05-10 19:51:31 -05:00 |
David Snopek
|
e3f3cb58b7
|
Merge pull request #1450 from dsnopek/free-property-list-count
Update `free_property_list` callback to take count
|
2024-05-08 04:40:52 -05:00 |
David Snopek
|
a434850069
|
Allow submitting documentation to the Godot editor
|
2024-05-07 11:08:18 -05:00 |
David Snopek
|
54fe2f9891
|
Merge pull request #1445 from dsnopek/classdb-enum-issue
Allow forwarding from `ClassDB` to `ClassDBSingleton` to support enumerations
|
2024-04-30 09:30:01 -05:00 |
David Snopek
|
8cc78cfea9
|
Update `free_property_list` callback to take count
|
2024-04-30 08:48:53 -05:00 |
David Snopek
|
2cd3d39108
|
Merge pull request #1405 from dsnopek/fix-null-object-arguments
Correctly handle `Object *` arguments that were encoded as `nullptr`
|
2024-04-29 16:46:46 -05:00 |
David Snopek
|
ca46ef4d25
|
Give compile-time error if registering a class without its own `_bind_methods()` function
|
2024-04-24 14:49:26 -05:00 |
David Snopek
|
e23b117ac3
|
Merge pull request #1431 from pupil1337/fix-create-instance-func
Fix create instance func
|
2024-04-24 14:44:29 -05:00 |
David Snopek
|
d304f12dcd
|
Merge pull request #1443 from Naros/property-method-dict-helpers
Implement to/from dict helpers for PropertyInfo/MethodInfo
|
2024-04-24 14:43:53 -05:00 |
David Snopek
|
61450b3e1b
|
Merge pull request #1436 from AThousandShips/math_update
[Math] Add `is_finite` methods
|
2024-04-24 14:43:36 -05:00 |
David Snopek
|
e1b3b32db5
|
Allow forwarding from `ClassDB` to `ClassDBSingleton` to support enumerations
|
2024-04-23 13:47:36 -05:00 |
Chris Cranford
|
2a041b5240
|
Implement to/from dict helpers for PropertyInfo/MethodInfo
|
2024-04-20 18:50:34 -04:00 |
Chris Cranford
|
e160966163
|
Fix PropertyInfo to use hint/usage default constants
|
2024-04-16 07:24:48 -04:00 |
A Thousand Ships
|
d389171905
|
[Math] Add `is_finite` methods
|
2024-04-11 13:30:28 +02:00 |
pupil1337
|
1fa7a9cb19
|
Add static_assert() for register_class
|
2024-04-11 10:48:13 +08:00 |
David Snopek
|
37542dc2ec
|
Correctly handle `Object *` arguments that were encoded as `nullptr`
|
2024-04-08 11:12:40 -05: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
|
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
|
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
|
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 |
Chris Cranford
|
5f350e2572
|
Rework GDCLASS macro to allow pure virtual functions
|
2024-01-18 20:14:13 -05:00 |
A Thousand Ships
|
b77cb648c3
|
Fix expected argument count for call errors
|
2023-12-30 13:23:36 +01: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 |
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 |
David Snopek
|
d33bd47219
|
Add `CallableCustom` that devs can use in their GDExtensions
|
2023-11-06 00:09:06 -06:00 |
David Snopek
|
a61cdc8860
|
Add protections against registering classes that didn't use GDCLASS()
|
2023-10-22 08:44:09 -05:00 |
David Snopek
|
b507b3e591
|
Automatically register only engine classes whose header has been included
|
2023-10-16 10:19:11 -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 |
David Snopek
|
3a02feddc3
|
Update for addition of `get_virtual_call_data_func` and `call_virtual_func` to `GDExtensionClassCreationInfo2`
|
2023-09-20 12:15:31 -05:00 |
David Snopek
|
b1fd1b65fd
|
Merge pull request #1242 from AThousandShips/null_check
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
|
2023-09-20 07:32:14 -05:00 |