David Snopek
a434850069
Allow submitting documentation to the Godot editor
2024-05-07 11:08:18 -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
Chris Cranford
2a041b5240
Implement to/from dict helpers for PropertyInfo/MethodInfo
2024-04-20 18:50:34 -04:00
thimenesup
e4ae69f607
Fix Projection create_orthogonal being incorrect
...
Title
2024-04-14 20:27:53 +02:00
A Thousand Ships
d389171905
[Math] Add `is_finite` methods
2024-04-11 13:30:28 +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
Thaddeus Crews
87f5fb0691
Enforce template syntax `typename` over `class`
2024-03-10 16:02:43 -05: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
fb884573ea
Allow registering "runtime classes"
2024-02-13 08:55:25 -06:00
David Snopek
8fbb7cf795
Allow GDExtensions to register virtual methods and call them on scripts
2024-02-12 13:30:07 -06:00
bruvzg
b173a4d935
[Core] Improve `CowData` and `Memory` metadata alignment.
2024-02-05 19:26:45 +02:00
bruvzg
59a5a8b104
Switch to 64-bit ints.
2024-01-10 15:36:36 +02:00
Jakub Mateusz Marcowski
b733102f4a
Add `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`
2024-01-03 11:45:05 +01:00
David Snopek
cad5be53b1
Avoid error from -Werror=type-limits on GCC 11
2023-11-30 17:52:33 -06:00
David Snopek
20c4e843b0
Send NOTIFICATION_POSTINITIALIZE to extension classes
2023-11-29 12:00:43 -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
David Snopek
4b76485a4e
Switch to using `ObjectID` in custom callables
2023-10-25 13:05:32 -05:00
David Snopek
0a6a19e33b
Merge pull request #1253 from gilzoide/fix-variant-iteration-valid-flag
...
Fix return value and `r_valid` value in `Variant::iter_init` and `Variant::iter_next`
2023-10-20 10:39:05 -05: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
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
Joël Lamotte (Klaim)
5134c82573
Fixes crash in ClassDB::deinitialize due to usage of invalid iterator.
...
After the removed call to `std::vector::erase` all iterators,
`i` included, are invalidated and therefore this code has undefined
behavior (which can or not lead to a crash).
This change delays the removal of class names from
`class_register_order` to after having gone through it's content,
removing the undefined behavior.
2023-10-05 16:58:49 +02:00
David Snopek
df849651d9
Changes necessary for hot reload to work
2023-09-25 22:13:33 -05:00
gilzoide
60dfa3445a
Fix return value and r_valid value in Variant::iter_init and iter_next
2023-09-24 17:10:29 -03:00
David Snopek
c18c1916c3
Implement `callable_mp()` and `callable_mp_static()`
2023-09-21 15:17:50 -05:00
David Snopek
4314f91b7d
Merge pull request #1238 from dsnopek/variant-call-callp
...
Fix variant call compiler error (alternate)
2023-09-21 15:07:05 -05:00
David Snopek
db15731e4d
Merge pull request #1165 from dsnopek/missing-classes
...
Handle missing instance binding callbacks by finding the closest parent
2023-09-21 15:06:51 -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
David Snopek
52ca3ef547
Handle missing instance binding callbacks by finding the closest parent
2023-09-19 10:54:07 -05:00
David Snopek
634ed09ec0
Load 'print_error_with_message' function
2023-09-15 14:08:27 -05:00
A Thousand Ships
1e5767693e
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-13 14:34:04 +02:00
Matthew Murphy
ca3e25de04
Fix variant call compiler error
...
Co-authored-by: David Snopek <dsnopek@gmail.com>
2023-09-09 11:30:29 -05:00
David Snopek
b488f009bd
Merge pull request #1208 from dsnopek/check-godot-version
...
Check that GDExtension is opened by compatible Godot version
2023-09-09 09:30:36 -05:00
Markus Sauermann
c2d99fd519
Fix `Object::notification` order
...
For the notification-order to work correctly, it is necessary to
allow the `p_reversed` argument to be used within cpp.
This PR changes the necessary bindings.
2023-08-30 00:07:28 +02:00
David Snopek
f0405f18a3
Add support for placeholder_script_instance_create/update
2023-08-28 17:02:13 -05:00
David Snopek
fecb2959b4
Check that GDExtension is opened by compatible Godot version
2023-08-14 17:01:12 -05:00
David Snopek
8bc1c1dbeb
Implement `String::resize()`
2023-07-31 15:14:10 -05:00
David Snopek
1d49bef096
Merge pull request #1184 from Zylann/fix_get_property_list_calling_parent
...
Don't call parent _get_property_list when a class doesn't define it (for internal binding).
2023-07-26 15:31:15 -05:00