42e398e4e2
Update for new NOTIFICATION_POSTINITIALIZE handling
2024-10-29 16:29:24 -05:00
ca5179f7d7
Merge pull request #1594 from dsnopek/macos-thread-local
...
Avoid `thread_local` on MacOS to prevent issues with hot reload
2024-10-29 15:39:49 -05:00
fa3dfa0e3c
Merge pull request #1591 from dsnopek/variant-object-instance-id
...
Directly get object instance ID from `Variant` and implement `Variant::get_validated_object()`
2024-10-29 13:10:12 -05:00
7fca545885
Merge pull request #1574 from dsnopek/unicode-class-names
...
Allow unicode class names
2024-10-29 13:09:45 -05:00
2004af63a0
Sync Quaternion with the version in Godot
2024-10-28 15:37:45 -05:00
0602c32986
Directly get object instance ID from Variant and implement Variant::get_validated_object()
2024-10-17 09:58:52 -05:00
91833c852e
Avoid thread_local on MacOS to prevent issues with hot reload
2024-10-17 09:06:27 -05:00
a98d41f62b
Merge pull request #1590 from dsnopek/reload-instance-bindings
...
Correctly set instance bindings on reload
2024-10-17 16:05:02 +02:00
02fd535454
Add p_use_model_front to Basis::looking_at()
2024-10-14 21:50:12 +02:00
536ea8561e
Allow unicode class names
2024-09-18 13:24:56 -05:00
2ffff669f5
Implement typed dictionaries
2024-09-17 15:05:16 -05:00
cb543c192a
Correctly set instance bindings on reload
2024-09-17 09:18:08 -05:00
aac0164b7a
Merge pull request #1561 from Spartan322/gcc-14-Wtemplate-id-cdtor-warning
...
Fix GCC 14 -Wtemplate-id-cdtor warning
2024-08-26 12:35:48 -05:00
7b31f39bea
Fix GCC 14 -Wtemplate-id-cdtor warning
...
As was fixed with godotengine/godot#91208
2024-08-25 07:55:58 +00:00
10c3d1bc5f
Fix missing MAKE_TYPED_ARRAY_INFO for Packed*Arrays
2024-08-22 21:02:48 -07:00
92e6ea7303
Fix missing type info for PackedVector4Array
2024-08-10 21:21:13 -07:00
738859f49b
removes warnings generated by GDCLASS usage
...
This change removes the warnings (unused parameters) coming from code injected by the GDCLASS macro.
Contrary to warnings coming from the normal source code which can be suppressed with most compiles by specifying the include directories of this library as external or system,
when the code is injected through a macro it is considered in the context of the user, which is the source code of user of the library.
That forces the users to modify their code to hide the warnings coming from the mandatory `GDCLASS` here.
That's why it's important to remove these warning from that specific macro and ideally any other macro that the user must use.
2024-08-08 02:46:28 +02:00
c77d44f3f6
Make sure _get and _set dispatch up the class hierarchy
2024-08-01 12:03:27 -04:00
6d939e6878
Merge pull request #1509 from YuriSizov/method-bind-is-off-by-one
...
Fix argument metadata when binding methods
2024-07-06 11:42:45 -05:00
99926d8e20
Merge pull request #1483 from AThousandShips/arr_typed_fix
...
Fix sharing of typed arrays from constructor
2024-06-28 07:26:44 -05:00
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
316dde80ba
Merge pull request #1505 from Repiteo/include-formatting
...
Fix `#include` formatting
2024-06-25 09:43:17 -05:00
7d7799b56e
Merge pull request #1504 from Repiteo/pre-commit-hooks
...
Replace legacy hooks with `pre-commit` Python tool
2024-06-25 09:42:55 -05:00
999018e7d1
Fix #include formatting
2024-06-25 08:28:04 -05:00
e0d363aad8
Integrate .pre-commit-config.yaml
2024-06-24 15:43:55 -05:00
78b63203d4
Add missing enum & ctor for PackedVector4Array implementation
2024-06-19 11:21:11 -04:00
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
2360f84513
[TextServer, GDExtension] Fix building text servers as GDExtension, expose new/changed low-level methods to GDExtension API.
2024-06-13 18:57:24 +03:00
7f74fe7bb2
Fix undefined symbol error on Linux with virtual methods that take Node * arguments
2024-06-10 10:55:24 -05:00
41aa71f8c3
Fix sharing of typed arrays from constructor
2024-06-06 16:40:10 +02:00
246a803954
Explicitly refer to godot namespace in GDREGISTER_*_CLASS() macros
2024-06-01 08:46:26 -05:00
76cbc66785
Set instance and instance binding in Wrapped constructor.
2024-05-28 22:59:37 +08:00
b697ba8896
Merge pull request #1447 from dsnopek/avoid-double-postinitialize
...
Fix NOTIFICATION_POSTINITIALIZE sent twice to native parent classes
2024-05-17 11:56:09 -05:00
e4a4d76cb3
Merge pull request #1463 from Daylily-Zeleen/daylily-zeleen/const_get_class_static
...
Mark return value of `get_class_static` and `get_parent_class_static` as const.
2024-05-17 11:55:45 -05:00
3db8549e19
mark return value of get_class_static and get_parent_class_static as const
2024-05-17 02:06:59 +08:00
6b39ed0732
Merge pull request #1457 from AThousandShips/foreach_list
...
[Core] Reduce and prevent unnecessary random-access to `List`
2024-05-16 08:46:39 -05:00
88df025aa0
Clean up instance bindings for engine singletons to prevent crash
2024-05-10 19:51:31 -05:00
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
17a82e7f94
Merge pull request #1374 from dsnopek/gdext-docs
...
Allow submitting documentation to the Godot editor
2024-05-08 00:48:02 +02:00
f5c2b38724
Merge pull request #1456 from dsnopek/packedvector4array
...
Add support for `PackedVector4Array`
2024-05-07 12:56:11 -05:00
3d0d9cd0e2
Merge pull request #1455 from AThousandShips/localvector_has
...
[Core] Add `LocalVector::has` for convenience
2024-05-07 12:55:59 -05:00
43be24f34c
Merge pull request #1437 from AThousandShips/vec_elem_scalar
...
Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-07 12:55:23 -05:00
a434850069
Allow submitting documentation to the Godot editor
2024-05-07 11:08:18 -05:00
d0bdd6096c
Optionaly add compatibility operators
2024-05-07 11:01:37 +02:00
12a1283663
[Core] Reduce and prevent unnecessary random-access to List
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
2024-05-07 11:00:56 +02:00
23178e81ff
Add support for PackedVector4Array
2024-05-06 14:30:04 -05:00
505076c9a9
[Core] Add LocalVector::has for convenience
2024-05-06 17:47:21 +02:00
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
8cc78cfea9
Update free_property_list callback to take count
2024-04-30 08:48:53 -05:00
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