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
Samuel Nicholas
2680f4600c
CMake: Fix missing -sUSE_PTHREADS=1 in web build
...
- add -sUSE_PTHREADS=1 to link flags
- add =1 to sSIDE_MODULE=1 in compile flags to match scons.
(cherry picked from commit 42b03da2b1 )
2025-11-30 06:30:55 -06:00
David Snopek
a64f264337
On Linux default use_static_cpp to disabled
...
(cherry picked from commit d033e8abea )
2025-11-30 06:30:40 -06:00
David Snopek
cc8ad37ee0
Merge pull request #1871 from dsnopek/4.4-cherrypicks-4
...
Cherry-picks for the godot-cpp 4.4 branch - 4th batch
2025-10-21 09:51:09 -05:00
Aaron Franke
33ecd5bf8a
Add header builders script for env.GLSL_HEADER and SVG icons
...
(cherry picked from commit 51008e1556 )
2025-10-20 13:30:20 -05:00
Lukas Tenbrink
c1b2eb0d5a
Migrate cmake docs to the godot docs.
...
(cherry picked from commit c7873e1355 )
2025-10-20 13:30:07 -05:00
David Snopek
8ef809b9b6
Specifically handle each "meta" value, so new ones don't break code generation
...
(cherry picked from commit a9773579cb )
2025-10-20 13:29:00 -05:00
dementive
d3adff0063
Update missing hashfuncs
...
(cherry picked from commit fc70347ef7 )
2025-10-20 13:28:49 -05: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
Thomas Staudinger
895b66453c
README: Add link to 4.5 branch and fix link to Godot compile docs
...
Signed-off-by: Thomas Staudinger <Staudi.Kaos@gmail.com >
(cherry picked from commit ef63d2e657 )
2025-10-20 13:25:49 -05:00
dementive
fec8bd56db
Use LocalVector instead of std::vector
...
(cherry picked from commit 0b8e76817b )
2025-10-20 13:25:39 -05:00
Lukas Tenbrink
50eabd9359
Update contributing section in README.md
...
(cherry picked from commit c58dfa4d99 )
2025-10-20 13:25:26 -05:00
dementive
1518bd17dc
Remove <string> includes in headers
...
(cherry picked from commit e36e81ac86 )
2025-10-20 13:25:12 -05:00
David Snopek
269c925c29
Merge pull request #1836 from dsnopek/4.4-cherrypicks-3
...
Cherry-picks for the godot-cpp 4.4 branch - 3rd batch
2025-09-11 10:08:06 -05:00
Samuel Nicholas
ad484bcdbb
CMake: Add GODOTCPP_SUFFIX_GENEX variable
...
This is the same as GODOTCPP_SUFFIX but without the leading '.'
GODOTCPP_SUFFIX is then based on the above.
(cherry picked from commit b64b941adf )
2025-08-21 08:49:36 -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
Ben Lubar
0eeb43c4be
Fix debug symbols logic on platform=web to match Godot core.
...
(cherry picked from commit 9ea9b4797c )
2025-08-21 08:49:09 -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
David Snopek
d7bdc62a91
Fix custom_api_file with SCons 4.0.1
...
(cherry picked from commit 8e7dfbc71a )
2025-08-21 08:48:33 -05:00
Cedric Shock
9b6a44cb04
Add SCons variant_dir support, which allows specifying a target build directory.
...
(cherry picked from commit 1345c46650 )
2025-08-21 08:48:19 -05:00
David Snopek
58c3594cd7
Files generated by SCons should depend on the build_profile (if given)
...
(cherry picked from commit 646ccdf470 )
2025-08-21 08:48:04 -05:00
David Snopek
d502d8e8aa
Merge pull request #1805 from dsnopek/4.4-cherrypicks-2a
...
Cherry-picks for the godot-cpp 4.4 branch - 2nd batch
2025-07-03 08:53:10 -05:00
David Snopek
2f0dbc7bba
Update CI to use windows-2022
...
(cherry picked from commit 8938e7e4e3 )
2025-06-24 17:31:47 -05:00
David Snopek
022ce432b8
Disable double precisions builds in CI
...
(cherry picked from commit b46c31a50e )
2025-06-24 15:40:57 -05:00
Samuel Nicholas
6371691009
added missing include .hpp and .inc detection
...
removed redundant .py detection.
(cherry picked from commit 6d11a780bf )
2025-06-24 15:40:44 -05:00
Pāvels Nadtočajevs
4f2f319fb2
Fix binding generation for TypedArray/TypedDictionary with refcounted elements.
...
(cherry picked from commit ed53a70e71 )
2025-06-24 15:40:34 -05:00
Tom
da3b350e85
Cleaned up the MethodBind class
...
(cherry picked from commit ca5af3c861 )
2025-06-24 15:40:24 -05:00
marcin.mirski
bda8a0fbd6
Improve CMAKE_BUILD_PARALLEL_LEVEL message
...
(cherry picked from commit 0c2e66e414 )
2025-06-24 15:39:54 -05:00
marcin.mirski
eaeafdf596
Fix: Add STATUS to CMake message commands missing them
...
(cherry picked from commit 8eac097c37 )
2025-06-24 15:39:48 -05:00
MJacred
980edc22a7
Fix URL to gdextension cpp example in the official docs
...
(cherry picked from commit f25c4df5c4 )
2025-06-24 15:39:24 -05:00
Lukas Tenbrink
0be68c870f
Make ndk version configurable as a command-like argument.
...
(cherry picked from commit 16e47d7ae5 )
2025-06-24 15:39:06 -05:00
Tom
ac2263f126
Fixed a crash with an Array constructor
...
(cherry picked from commit ddd4f2513c )
2025-06-24 15:38:55 -05:00
Dyllan Cole
2eb13f8971
Fix incorrect binding_generator_generate_bindings variable names
...
(cherry picked from commit 4824aa41e8 )
2025-06-24 15:38:41 -05:00
Thaddeus Crews
2bd3d5314e
CI: Ensure utf-8 support on Windows GHA
...
(cherry picked from commit 42f6dc6d49 )
2025-06-24 15:38:32 -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
Fabio Alessandrelli
532a028e17
fix: Add iOS min SDK version link flags
...
This is required when publishing to the App Store, and consistent with
what we already do for the macOS deployment target.
(cherry picked from commit 4879eb7bd0 )
2025-06-24 15:37:09 -05:00
David Snopek
90260ea659
Stop referring to GDExtension as experimental in the README
...
(cherry picked from commit 7660dd28b3 )
2025-06-24 15:36:53 -05:00
Ben Lubar
b41801b6a8
fix iterators making unintended copies
...
(cherry picked from commit 7fd0999b3c )
2025-06-24 15:36:35 -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
Samuel Nicholas
947d357252
Match #1758 build option changes
...
d634a5f8c4 (diff-e2225522e55739f1533a3ce9eee58324ac9c192c8ba30065067964347d22fdacL471)
(cherry picked from commit b195a51c6c )
2025-06-24 15:35:33 -05:00
Thaddeus Crews
b905a87ebe
SCons: Add CPPEXTPATH for external includes
...
(cherry picked from commit 30bfa6f215 )
2025-06-24 15:35:19 -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
Samuel Nicholas
5dae002a5d
version bump of mozilla-sccache action to 0.0.9
...
https://github.blog/changelog/2025-03-20-notification-of-upcoming-breaking-changes-in-github-actions/#decommissioned-cache-service-brownouts
(cherry picked from commit bbbcc6adc7 )
2025-06-24 15:35:00 -05:00
Grublady
b0399d9782
Fix TypedDictionary binding generation
...
(cherry picked from commit 26201dd27a )
2025-06-24 15:34:29 -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
Samuel Nicholas
2b4512414b
Fix compatibility break for CI
...
(cherry picked from commit 38e517b98b )
2025-06-24 15:33:53 -05:00