Lukas Tenbrink
2c24570997
Make ClassDB::classes pointer-stable again by changing it to HashMap (from AHashMap).
...
(cherry picked from commit 788edc6bfe )
2025-11-30 06:31:08 -06:00
dementive
dae8fbdebc
Replace unordered_map with AHashMap
...
(cherry picked from commit 2fd41b7e16 )
2025-10-20 13:28:37 -05:00
=
0d658486dc
Silenced compiler warning in godot::call_with_variant_args_ret_helper
...
(cherry picked from commit 3eb3069e09 )
2025-10-20 13:26:03 -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
Klaim (Joël Lamotte)
9d8c520bb9
fix: missing type_traits include
...
Usage of `std::is_trivially_constructible` in `defs.hpp` requires including `type_traits`. This missing include leads to errors about that type not being found when building with clang++-22 with libc++-22.
(cherry picked from commit fbe5262d7b )
2025-08-21 08:48:56 -05:00
Chris Cranford
a8faa36fd2
Reintroduce Math_INF and Math_NAN defines
...
(cherry picked from commit 6a21f76c4d )
2025-08-21 08:48:46 -05:00
Tom
da3b350e85
Cleaned up the MethodBind class
...
(cherry picked from commit ca5af3c861 )
2025-06-24 15:40:24 -05:00
Thaddeus Crews
08f893f1ea
CI: Various version bumps; sync with main repo
...
(cherry picked from commit 64cdf089d9 )
2025-06-24 15:37:21 -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
37febead2b
Add method_ptrcall header include to type_info to fix compiler errors
...
(cherry picked from commit 7ffaecce8c )
2025-06-24 15:32:23 -05:00
David Snopek
940fdea07f
Fix stack smashing when Godot methods return char32_t, char16_t or wchar_t
...
(cherry picked from commit 035add9d4f )
2025-06-24 15:32:14 -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
Thaddeus Crews
f166d4ed8c
Style: Replace header guards with #pragma once
...
(cherry picked from commit 7056c996dd )
2025-06-24 15:31:15 -05:00
Thaddeus Crews
89fd27608f
Style: Replace _NO_DISCARD_ macro with [[nodiscard]]
2025-02-20 09:23:08 -06:00
David Snopek
13cd2d921c
Merge pull request #1628 from IvanInventor/typed_dict_regression_fix
...
fix typed_dictionary compile-time regression
2025-01-21 11:15:42 -06:00
David Snopek
65046d00a5
Merge pull request #1676 from dsnopek/gdextension-virtual-method-compat
...
Update for virtual method compatibility system
2025-01-12 05:28:38 -06:00
David Snopek
5c9529fc84
Update for virtual method compatibility system
2025-01-11 16:36:59 -06:00
David Snopek
47f11bc5c7
Merge pull request #1666 from raulsntos/set_class_icon
...
Add a method to set the class icon
2024-12-21 17:17:50 -06:00
Raul Santos
2fd3a80505
Add icon path to class creation info
2024-12-18 01:44:22 +01:00
David Snopek
47d9cb9bed
Fix print_verbose() macro conflicting with UtilityFunctions::print_verbose()
2024-12-09 11:33:57 -06:00
David Snopek
5255034fb0
Merge pull request #1653 from aaronfranke/print
...
Add `print_line` for compatibility with engine modules
2024-11-28 07:31:06 -06:00
David Snopek
b378d8c21f
Merge pull request #1654 from Ivorforce/gdextension-interface-update
...
Update gdextension_interface.h. Add metadata to GetTypeInfo of char16_t and char32_t.
2024-11-28 06:59:21 -06:00
David Snopek
bc6f79c67a
Merge pull request #1617 from zhehangd/fix_def_hpp_namespace
...
Use namespace in defs.hpp
2024-11-28 06:57:20 -06:00
Lukas Tenbrink
f174b4a445
Update gdextension_interface.h. Add metadata to GetTypeInfo of char16_t and char32_t.
2024-11-26 21:43:59 +01:00
Aaron Franke
ac466e4766
Add print_line for compatibility with engine modules
2024-11-26 03:06:22 -08:00
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
David Snopek
42e398e4e2
Update for new NOTIFICATION_POSTINITIALIZE handling
2024-10-29 16:29:24 -05:00
Vano
7f47d3951e
fix typed_dictionary compile-time regression
2024-10-21 04:13:12 +03: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
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
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