dementive
dae8fbdebc
Replace unordered_map with AHashMap
...
(cherry picked from commit 2fd41b7e16 )
2025-10-20 13:28:37 -05:00
dementive
fec8bd56db
Use LocalVector instead of std::vector
...
(cherry picked from commit 0b8e76817b )
2025-10-20 13:25:39 -05:00
dementive
1518bd17dc
Remove <string> includes in headers
...
(cherry picked from commit e36e81ac86 )
2025-10-20 13:25:12 -05:00
David Snopek
b842dc9696
Take reference in Wrapped(const StringName &)
...
(cherry picked from commit b192b880d3 )
2025-08-21 08:49:28 -05:00
Ben Lubar
cf79eb39da
Only check for Godot 4.0 if the pointer is aligned how it would be for the legacy interface.
...
(cherry picked from commit 05d2ce3006 )
2025-08-21 08:49:18 -05:00
Tom
da3b350e85
Cleaned up the MethodBind class
...
(cherry picked from commit ca5af3c861 )
2025-06-24 15:40:24 -05:00
Ben Lubar
b41801b6a8
fix iterators making unintended copies
...
(cherry picked from commit 7fd0999b3c )
2025-06-24 15:36:35 -05:00
Marc Gilleron
6182a2728b
Use Math::abs to avoid ambiguity with integer abs
...
(cherry picked from commit 7670de814f )
2025-06-24 15:35:09 -05:00
Tom
b139e2fb76
Synced defs.hpp with godot's typedefs.h
...
(cherry picked from commit d634a5f8c4 )
2025-06-24 15:34:18 -05:00
Tom
c435258dde
Made the Array's ptr and ptrw methods private
...
(cherry picked from commit a2c37f8a16 )
2025-06-24 15:32:54 -05:00
Aaron Franke
e299bc623d
Add missing Projection constructor with 16 real_t values
...
(cherry picked from commit aa03c32b3e )
2025-06-24 15:32:33 -05:00
David Snopek
67f6f96a9b
Synchronize most shared variant code with Godot 4.4
...
(cherry picked from commit 075b517d96 )
2025-06-24 15:31:38 -05:00
David Snopek
5c9529fc84
Update for virtual method compatibility system
2025-01-11 16:36:59 -06:00
Lukas Tenbrink
daef7d48ea
Add variant_internal.hpp.
...
This module contains VariantInternalType, VariantInternal, VariantGetInternalPtr, VariantInternalAccessor and VariantDefaultInitializer, allowing to access and manipulate Variant's internal values.
2024-11-28 15:15:03 +01:00
Aaron Franke
ac466e4766
Add print_line for compatibility with engine modules
2024-11-26 03:06:22 -08:00
David Snopek
253e095c81
Merge pull request #1581 from dsnopek/classdb-add-virtual-method-arg-metadata-size
...
Fix crash in `ClassDB::add_virtual_method()` if arguments metadata is the wrong size
2024-11-05 09:18:01 -06:00
David Snopek
42e398e4e2
Update for new NOTIFICATION_POSTINITIALIZE handling
2024-10-29 16:29:24 -05:00
David Snopek
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
David Snopek
1e169bb809
Fix crash in ClassDB::add_virtual_method() if arguments metadata is the wrong size
2024-10-29 13:22:12 -05:00
David Snopek
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
David Snopek
2004af63a0
Sync Quaternion with the version in Godot
2024-10-28 15:37:45 -05:00
David Snopek
0602c32986
Directly get object instance ID from Variant and implement Variant::get_validated_object()
2024-10-17 09:58:52 -05:00
David Snopek
91833c852e
Avoid thread_local on MacOS to prevent issues with hot reload
2024-10-17 09:06:27 -05:00
David Snopek
a98d41f62b
Merge pull request #1590 from dsnopek/reload-instance-bindings
...
Correctly set instance bindings on reload
2024-10-17 16:05:02 +02:00
Florent Guiocheau
02fd535454
Add p_use_model_front to Basis::looking_at()
2024-10-14 21:50:12 +02:00
Thaddeus Crews
2ffff669f5
Implement typed dictionaries
2024-09-17 15:05:16 -05:00
David Snopek
cb543c192a
Correctly set instance bindings on reload
2024-09-17 09:18:08 -05:00
Aaron Franke
92e6ea7303
Fix missing type info for PackedVector4Array
2024-08-10 21:21:13 -07:00
David Snopek
e65ec904b8
Remind developers about memnew() in crash message when missing binding callbacks
2024-06-27 13:09:24 -05:00
David Snopek
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
Thaddeus Crews
e0d363aad8
Integrate .pre-commit-config.yaml
2024-06-24 15:43:55 -05:00
Chris Cranford
78b63203d4
Add missing enum & ctor for PackedVector4Array implementation
2024-06-19 11:21:11 -04: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
bruvzg
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
Richard Hozák
8c6cc1ec15
Fix warnings emitted with -Wall
2024-06-02 21:48:50 +02:00
Daylily-Zeleen
76cbc66785
Set instance and instance binding in Wrapped constructor.
2024-05-28 22:59:37 +08:00
David Snopek
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
David Snopek
88df025aa0
Clean up instance bindings for engine singletons to prevent crash
2024-05-10 19:51:31 -05:00
Rémi Verschelde
17a82e7f94
Merge pull request #1374 from dsnopek/gdext-docs
...
Allow submitting documentation to the Godot editor
2024-05-08 00:48:02 +02:00
David Snopek
f5c2b38724
Merge pull request #1456 from dsnopek/packedvector4array
...
Add support for `PackedVector4Array`
2024-05-07 12:56:11 -05:00
David Snopek
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
David Snopek
a434850069
Allow submitting documentation to the Godot editor
2024-05-07 11:08:18 -05:00
David Snopek
23178e81ff
Add support for PackedVector4Array
2024-05-06 14:30:04 -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
06373ce1cf
Fix NOTIFICATION_POSTINITIALIZE sent twice to native parent class
2024-04-24 13:22:19 -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
A Thousand Ships
b65970860e
Add scalar versions of Vector* min/max/clamp/snap(ped)
...
Also added `snapped` to the integer vectors for completeness
2024-04-11 10:42:29 +02:00