570 Commits

Author SHA1 Message Date
David Snopek
fe68c22c3e Generate GDExtension interface header and loader from JSON 2025-12-18 12:09:41 -06:00
David Snopek
7f75888cda Merge pull request #1887 from Ivorforce/classes-pointer-stability
Make `ClassDB::classes` pointer-stable again by changing it to `HashMap`
2025-11-27 05:16:13 -06:00
David Snopek
2d7941d0dc Merge pull request #1711 from BenLubar/vector-bsearch-const
Make Vector<T>::bsearch use a const receiver
2025-11-27 05:15:41 -06:00
Lukas Tenbrink
788edc6bfe Make ClassDB::classes pointer-stable again by changing it to HashMap (from AHashMap). 2025-11-26 11:19:30 +01:00
David Snopek
647c7d811f Merge pull request #1861 from Repiteo/revert-cppextpath
Remove `CPPEXTPATH` changes, add error macros
2025-10-20 10:52:21 -05:00
David Snopek
bde278b2c7 Merge pull request #1858 from dementive/update-hashfuncs
Update missing hashfuncs
2025-10-20 10:52:01 -05:00
Thaddeus Crews
76d1ce6848 Remove CPPEXTPATH changes, add error macros 2025-10-06 13:49:49 -05:00
dementive
fc70347ef7 Update missing hashfuncs 2025-10-05 10:10:12 -05:00
dementive
2fd41b7e16 Replace unordered_map with AHashMap 2025-10-04 15:45:25 -05:00
David Snopek
28e8b1a04b Merge pull request #1857 from qqwobble/silenced-warning-call-with-variant
Silenced compiler warning in godot::call_with_variant_args_ret_helper
2025-10-03 12:27:58 -05:00
=
3eb3069e09 Silenced compiler warning in godot::call_with_variant_args_ret_helper 2025-10-01 21:54:23 +02:00
David Snopek
48d02db27c Update to use mem_alloc2, mem_realloc2 and mem_free2 2025-10-01 08:12:27 -05:00
dementive
0b8e76817b Use LocalVector instead of std::vector 2025-09-16 15:47:41 -05:00
dementive
e36e81ac86 Remove <string> includes in headers 2025-09-08 20:45:13 -05:00
David Snopek
b192b880d3 Take reference in Wrapped(const StringName &) 2025-08-20 11:13:28 -05:00
Klaim (Joël Lamotte)
fbe5262d7b 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.
2025-08-04 15:49:36 +02:00
David Snopek
4f80491c8c Merge pull request #1818 from dsnopek/test-internal-classes
Test that internal classes work as expected
2025-07-23 16:52:19 -05:00
David Snopek
309b17b6eb Test that internal classes work as expected 2025-07-23 13:53:52 -05:00
Chris Cranford
6a21f76c4d Reintroduce Math_INF and Math_NAN defines 2025-07-13 00:08:50 -04:00
David Snopek
7f5f02940d Update for GDExtension interface changes in Godot 4.5 2025-06-23 16:40:43 -05:00
David Snopek
5a0d6565d1 Merge pull request #1773 from tomfull123/method-bind-clean-up
Clean up the MethodBind class
2025-06-20 12:01:26 -05:00
David Snopek
5cbffab4c6 Merge pull request #1780 from piiertho/expose-object-set-script-instance
Expose gdextension_object_get_script_instance method from engine
2025-06-16 08:25:44 -05:00
David Snopek
a7127d3ec7 Merge pull request #1771 from tomfull123/array-constructor-crash
Fix array constructor crash
2025-06-07 14:20:01 -05:00
David Snopek
d5baa7071e Merge pull request #1757 from Repiteo/ci/version-bumps
CI: Various version bumps; sync with main repo
2025-06-07 14:13:14 -05:00
Pierre-Thomas Meisels
0871c7a93a Expose gdextension_object_get_script_instance and gdextension_object_set_script_instance methods from engine 2025-05-05 18:55:59 +02:00
Thaddeus Crews
64cdf089d9 CI: Various version bumps; sync with main repo 2025-04-26 12:23:07 -05:00
David Snopek
f38c056b67 Fix classes without _to_string() always returning "[Wrapped:0]" 2025-04-25 15:54:41 -05:00
Tom
ca5af3c861 Cleaned up the MethodBind class 2025-04-20 20:47:06 +01:00
David Snopek
08fd033a9e Merge pull request #1743 from dsnopek/get-used-classes
Register the classes used with the Godot editor
2025-04-18 06:56:23 -05:00
Tom
ddd4f2513c Fixed a crash with an Array constructor 2025-04-16 20:30:15 +01:00
David Snopek
97ad05beeb Merge pull request #1758 from tomfull123/sync-defs
Sync defs
2025-04-15 11:02:10 -05:00
Marc Gilleron
7e6c9c9370 Use Math::abs to avoid ambiguity with integer abs 2025-04-14 23:46:47 +02:00
Tom
d634a5f8c4 Synced defs.hpp with godot's typedefs.h 2025-04-07 17:30:55 +01:00
David Snopek
478e2637bd Merge pull request #1716 from tomfull123/master
Add support for `initializer_list` to Array and TypedArray
2025-04-05 10:32:18 -05:00
Tom
335b490061 Added initialiser list support to TypedDictionary 2025-04-03 23:16:12 +01:00
Tom
946a693859 . 2025-04-02 19:58:05 +01:00
David Snopek
da064d84d2 Merge pull request #1717 from tomfull123/typed-array-range-based-loop-support
Add support for range based loops for Array
2025-04-02 13:00:38 -05:00
David Snopek
c26e7c9734 Merge pull request #1754 from tomfull123/typed-dictionary-compilation-errors
Add method_ptrcall header include to type_info to fix compiler errors
2025-04-02 12:59:51 -05:00
David Snopek
d72baf192d Merge pull request #1742 from aaronfranke/projection-construct
Add missing Projection constructor with 16 `real_t` values
2025-04-02 12:59:14 -05:00
Tom
a2c37f8a16 Made the Array's ptr and ptrw methods private 2025-04-01 20:47:35 +01:00
Tom
7ffaecce8c Add method_ptrcall header include to type_info to fix compiler errors 2025-04-01 20:35:19 +01:00
David Snopek
035add9d4f Fix stack smashing when Godot methods return char32_t, char16_t or wchar_t 2025-03-28 07:41:25 -05:00
David Snopek
aed195f6dc Register the classes used with the Godot editor 2025-03-17 13:23:32 -05:00
David Snopek
f08e781b0b Merge pull request #1718 from dsnopek/godot-sync-pre44-templates
Synchronize most shared template code with Godot 4.4
2025-03-14 14:13:31 -05:00
David Snopek
075b517d96 Synchronize most shared variant code with Godot 4.4 2025-03-14 11:39:56 -05:00
David Snopek
1edfca295b Synchronize most shared template code with Godot 4.4 2025-03-14 11:33:10 -05:00
Aaron Franke
aa03c32b3e Add missing Projection constructor with 16 real_t values 2025-03-14 02:46:23 -07:00
Thaddeus Crews
7056c996dd Style: Replace header guards with #pragma once 2025-03-07 17:58:10 -06: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