Commit Graph

224 Commits

Author SHA1 Message Date
fcde5479e8 Replace static inline with constexpr in defs.hpp 2026-03-31 15:43:42 +08:00
9ae37ac8b9 Merge pull request #1944 from VerdantInteractive/master
binding_generator: include core/version.hpp in core/defs.hpp
2026-03-06 08:27:01 -06:00
799af34b8e Fix use of undeclared identifier 'set_typed' in in typed_dictionary.hpp when dictionary.hpp is also included. 2026-03-06 10:11:40 +11:00
50f18d3719 Replace std::set with HashSet 2026-03-03 16:42:01 -05:00
d11cfd2b2f Replace std::list with List 2026-03-03 16:39:19 -05:00
ce18d99cb0 Add back support for Godot 4.3 2026-01-15 06:45:44 -06:00
c90f436694 Add back support for Godot 4.4 2026-01-06 10:06:13 -06:00
fe68c22c3e Generate GDExtension interface header and loader from JSON 2025-12-18 12:09:41 -06:00
788edc6bfe Make ClassDB::classes pointer-stable again by changing it to HashMap (from AHashMap). 2025-11-26 11:19:30 +01:00
76d1ce6848 Remove CPPEXTPATH changes, add error macros 2025-10-06 13:49:49 -05:00
2fd41b7e16 Replace unordered_map with AHashMap 2025-10-04 15:45:25 -05:00
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
0b8e76817b Use LocalVector instead of std::vector 2025-09-16 15:47:41 -05:00
e36e81ac86 Remove <string> includes in headers 2025-09-08 20:45:13 -05:00
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
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
309b17b6eb Test that internal classes work as expected 2025-07-23 13:53:52 -05:00
6a21f76c4d Reintroduce Math_INF and Math_NAN defines 2025-07-13 00:08:50 -04:00
5a0d6565d1 Merge pull request #1773 from tomfull123/method-bind-clean-up
Clean up the MethodBind class
2025-06-20 12:01:26 -05:00
64cdf089d9 CI: Various version bumps; sync with main repo 2025-04-26 12:23:07 -05:00
Tom
ca5af3c861 Cleaned up the MethodBind class 2025-04-20 20:47:06 +01:00
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
d634a5f8c4 Synced defs.hpp with godot's typedefs.h 2025-04-07 17:30:55 +01:00
Tom
7ffaecce8c Add method_ptrcall header include to type_info to fix compiler errors 2025-04-01 20:35:19 +01:00
035add9d4f Fix stack smashing when Godot methods return char32_t, char16_t or wchar_t 2025-03-28 07:41:25 -05:00
aed195f6dc Register the classes used with the Godot editor 2025-03-17 13:23:32 -05:00
075b517d96 Synchronize most shared variant code with Godot 4.4 2025-03-14 11:39:56 -05:00
7056c996dd Style: Replace header guards with #pragma once 2025-03-07 17:58:10 -06:00
89fd27608f Style: Replace _NO_DISCARD_ macro with [[nodiscard]] 2025-02-20 09:23:08 -06:00
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
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
5c9529fc84 Update for virtual method compatibility system 2025-01-11 16:36:59 -06:00
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
2fd3a80505 Add icon path to class creation info 2024-12-18 01:44:22 +01:00
47d9cb9bed Fix print_verbose() macro conflicting with UtilityFunctions::print_verbose() 2024-12-09 11:33:57 -06:00
5255034fb0 Merge pull request #1653 from aaronfranke/print
Add `print_line` for compatibility with engine modules
2024-11-28 07:31:06 -06:00
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
bc6f79c67a Merge pull request #1617 from zhehangd/fix_def_hpp_namespace
Use namespace in defs.hpp
2024-11-28 06:57:20 -06:00
f174b4a445 Update gdextension_interface.h. Add metadata to GetTypeInfo of char16_t and char32_t. 2024-11-26 21:43:59 +01:00
ac466e4766 Add print_line for compatibility with engine modules 2024-11-26 03:06:22 -08:00
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
42e398e4e2 Update for new NOTIFICATION_POSTINITIALIZE handling 2024-10-29 16:29:24 -05:00
7f47d3951e fix typed_dictionary compile-time regression 2024-10-21 04:13:12 +03:00
91833c852e Avoid thread_local on MacOS to prevent issues with hot reload 2024-10-17 09:06:27 -05:00
a98d41f62b Merge pull request #1590 from dsnopek/reload-instance-bindings
Correctly set instance bindings on reload
2024-10-17 16:05:02 +02:00
2ffff669f5 Implement typed dictionaries 2024-09-17 15:05:16 -05:00
cb543c192a Correctly set instance bindings on reload 2024-09-17 09:18:08 -05:00
10c3d1bc5f Fix missing MAKE_TYPED_ARRAY_INFO for Packed*Arrays 2024-08-22 21:02:48 -07:00
92e6ea7303 Fix missing type info for PackedVector4Array 2024-08-10 21:21:13 -07:00