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
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
Tom
ac2263f126
Fixed a crash with an Array constructor
...
(cherry picked from commit ddd4f2513c )
2025-06-24 15:38:55 -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
David Snopek
f4c1de582c
Fix classes without _to_string() always returning "[Wrapped:0]"
...
(cherry picked from commit f38c056b67 )
2025-06-24 15:35:46 -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
Marc Gilleron
bdeb1987f6
Use Math::abs to avoid ambiguity with integer abs
...
(cherry picked from commit 7e6c9c9370 )
2025-06-24 15:34:04 -05:00
Tom
466a743112
Added initialiser list support to TypedDictionary
...
(cherry picked from commit 335b490061 )
2025-06-24 15:33:33 -05:00
Tom
6e6a1ea451
.
...
(cherry picked from commit 946a693859 )
2025-06-24 15:33:04 -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
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
0a39efe3d3
Synchronize most shared template code with Godot 4.4
...
(cherry picked from commit 1edfca295b )
2025-06-24 15:31:53 -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
David Snopek
4a9409a30f
Update GDVIRTUAL*() macros to match Godot 4.4
2025-02-26 12:56:55 -06: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
Fabio Alessandrelli
c4f1abe3f9
[Bindings] Build profile now strips methods and skip files
...
This allows removing dependencies that are not explicitly unused by the
gdextension being built and is implemented using an intermediate json
API file with the methods and classes stripped (i.e. without touching
the file generators).
2025-01-07 20:33:12 +01: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
72aeb35691
Merge pull request #1655 from Ivorforce/variant-internal
...
Add variant_internal.hpp.
2024-12-06 16:08:04 -06:00
David Snopek
bb567060f4
Merge pull request #1616 from dsnopek/ptrtoarg-no-error-for-null-ref
...
Don't print an error when decoding a null Ref<T>
2024-12-02 12:54:26 -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
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
259c757cce
Merge pull request #1609 from Ivorforce/patch-3
...
Rename Vector4.components -> coords.
2024-10-30 14:51:04 -05:00
Lukas Tenbrink
23c9d41d2a
Rename Vector4.components -> coords.
...
The use of .components is deprecated.
2024-10-30 15:44:44 +01:00
David Snopek
7871cec1e7
Merge pull request #1568 from dsnopek/post-initialize-44
...
Update for new NOTIFICATION_POSTINITIALIZE handling
2024-10-30 08:49:59 -05:00
David Snopek
688ed4b388
Merge pull request #1626 from ruffenman/remove-unimplemented-variant-functions
...
Remove unimplemented static variant functions 'blend' and 'interpolate'…
2024-10-30 08:49:38 -05: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
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
7fca545885
Merge pull request #1574 from dsnopek/unicode-class-names
...
Allow unicode class names
2024-10-29 13:09:45 -05:00
David Snopek
2004af63a0
Sync Quaternion with the version in Godot
2024-10-28 15:37:45 -05:00
Vano
7f47d3951e
fix typed_dictionary compile-time regression
2024-10-21 04:13:12 +03: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