Commit Graph

1739 Commits

Author SHA1 Message Date
Chris Cranford
7284ac7573 Align Emscripten version 4.0.11 with Godot Engine
(cherry picked from commit 8daf1ea657)
2025-11-30 06:39:22 -06:00
Guillaume Riou
d6097a8a8e make -fno-exceptions private
(cherry picked from commit 7d114d8d28)
2025-11-30 06:39:12 -06:00
janos-ijgyarto
9745f83d07 Added missing namespace prefixes to GDVIRTUAL macros
(cherry picked from commit 8c5e038744)
2025-11-30 06:39:02 -06:00
Lukas Tenbrink
a5e04f7d77 Make ClassDB::classes pointer-stable again by changing it to HashMap (from AHashMap).
(cherry picked from commit 788edc6bfe)
2025-11-30 06:38:49 -06:00
Samuel Nicholas
a7378c589f 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:38:40 -06:00
David Snopek
7b0ee7466f On Linux default use_static_cpp to disabled
(cherry picked from commit d033e8abea)
2025-11-30 06:38:29 -06:00
David Snopek
abe94570a1 Merge pull request #1870 from dsnopek/4.5-cherrypicks-1
Cherry-picks for the godot-cpp 4.5 branch - 1st batch
2025-10-21 09:51:01 -05:00
Aaron Franke
a278404541 Add header builders script for env.GLSL_HEADER and SVG icons
(cherry picked from commit 51008e1556)
2025-10-20 13:15:41 -05:00
Lukas Tenbrink
bc8dabfe2a Migrate cmake docs to the godot docs.
(cherry picked from commit c7873e1355)
2025-10-20 13:15:28 -05:00
David Snopek
9e8b5827b9 Specifically handle each "meta" value, so new ones don't break code generation
(cherry picked from commit a9773579cb)
2025-10-20 13:15:17 -05:00
Thaddeus Crews
006888ca7a Remove CPPEXTPATH changes, add error macros
(cherry picked from commit 76d1ce6848)
2025-10-20 13:15:04 -05:00
dementive
1b6335278d Update missing hashfuncs
(cherry picked from commit fc70347ef7)
2025-10-20 13:14:49 -05:00
dementive
d600131bad Replace unordered_map with AHashMap
(cherry picked from commit 2fd41b7e16)
2025-10-20 13:14:38 -05:00
=
1e44bbefaa Silenced compiler warning in godot::call_with_variant_args_ret_helper
(cherry picked from commit 3eb3069e09)
2025-10-20 13:14:26 -05:00
Thomas Staudinger
3a2932cce2 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:14:17 -05:00
dementive
12cd5cd999 Use LocalVector instead of std::vector
(cherry picked from commit 0b8e76817b)
2025-10-20 13:14:06 -05:00
Lukas Tenbrink
7f4e81fda7 Update contributing section in README.md
(cherry picked from commit c58dfa4d99)
2025-10-20 13:13:56 -05:00
David Snopek
e83fd0904c gdextension: Sync with upstream commit 876b290332ec6f2e6d173d08162a02aa7e6ca46d (4.5-stable) godot-4.5-stable 2025-09-15 16:33:30 -05:00
David Snopek
d884bb1001 Merge pull request #1840 from dementive/no-std-string
Remove <string> includes in headers to improve build time
2025-09-15 11:04:51 -05:00
David Snopek
5f1a8177a5 gdextension: Sync with upstream commit 2dd26a027a99633231184616d4dd287bbdd1c0a3 (4.5-rc2) 2025-09-11 10:11:23 -05:00
dementive
e36e81ac86 Remove <string> includes in headers 2025-09-08 20:45:13 -05:00
David Snopek
24d79abcfa gdextension: Sync with upstream commit 4ebf67c12dcdffcb69242569c118a371a654b6ae (4.5-beta7) 2025-08-29 10:38:01 -05:00
David Snopek
4c78d30822 gdextension: Sync with upstream commit d5ad0556a2c04c50694b5c04dc1b3bf03ecd7113 (4.5-beta6) 2025-08-28 10:16:42 -05:00
David Snopek
449e37fa21 Merge pull request #1814 from enetheru/suffix.fix
CMake: Remove starting `.` from GODOTCPP_SUFFIX
2025-08-21 08:45:26 -05:00
David Snopek
21b73421c6 Merge pull request #1834 from dsnopek/wrapped-stringname-reference
Take reference in `Wrapped(const StringName &)`
2025-08-21 07:20:12 -05:00
David Snopek
b192b880d3 Take reference in Wrapped(const StringName &) 2025-08-20 11:13:28 -05:00
David Snopek
fd708f429b Merge pull request #1828 from BenLubar/guard-unaligned-access
Only check for Godot 4.0 if the pointer is aligned how it would be for the legacy interface.
2025-08-14 10:12:14 -05:00
David Snopek
3830fe4a40 Merge pull request #1829 from BenLubar/web-debug-symbols
Fix debug symbols logic on `platform=web` to match Godot core.
2025-08-11 07:23:53 -05:00
Ben Lubar
9ea9b4797c Fix debug symbols logic on platform=web to match Godot core. 2025-08-09 17:36:34 -05:00
Ben Lubar
05d2ce3006 Only check for Godot 4.0 if the pointer is aligned how it would be for the legacy interface. 2025-08-09 12:19:21 -05:00
David Snopek
1421ba26ad gdextension: Sync with upstream commit c81fd6c51233a727da528cf7f74137d56b5d6efe (4.5-beta5) 2025-08-08 06:50:17 -05:00
David Snopek
e0c0c566a6 Merge pull request #1826 from bruvzg/sync_android_vers
Sync Android SDK and NDK versions with the engine.
2025-08-07 08:11:50 -05:00
Pāvels Nadtočajevs
8646cd31b5 Sync Android SDK and NDK versions with the engine. 2025-08-06 22:48:13 +03:00
David Snopek
e53489bbbe Merge pull request #1824 from Klaim/patch-1
fix: missing `type_traits` include
2025-08-05 08:39:37 -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
cb3ad55873 gdextension: Sync with upstream commit 2d113cc224cb9be07866d003819fcef2226a52ea (4.5-beta4) 2025-08-01 09:52:19 -05: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
a2b6f91dbc Merge pull request #1817 from Naros/GH-1816
Reintroduce Math_INF and Math_NAN defines
2025-07-23 14:12:56 -05:00
David Snopek
309b17b6eb Test that internal classes work as expected 2025-07-23 13:53:52 -05:00
David Snopek
134e8b756d Merge pull request #1819 from dsnopek/fix-custom-api-file-scons-401
Fix `custom_api_file` with SCons 4.0.1
2025-07-19 06:57:30 -05:00
David Snopek
8e7dfbc71a Fix custom_api_file with SCons 4.0.1 2025-07-17 09:03:11 -05:00
Chris Cranford
6a21f76c4d Reintroduce Math_INF and Math_NAN defines 2025-07-13 00:08:50 -04:00
Samuel Nicholas
b64b941adf 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.
2025-07-11 11:30:34 +09:30
David Snopek
8bb931c6a9 gdextension: Sync with upstream commit 4d1f26e1fd1fa46f2223fe0b6ac300744bf79b88 (4.5-beta3) 2025-07-10 15:40:04 -05:00
David Snopek
6a870949a5 Merge pull request #1669 from Ivorforce/scons-variant_dir-support
Add SCons variant_dir support
2025-07-03 12:17:32 -05:00
David Snopek
f129db3e3d gdextension: Sync with upstream commit e1b4101e3460dd9c6ba0b7f8d88e9751b8383f5b (4.5-beta2) 2025-07-02 06:42:30 -05:00
David Snopek
c943beb4f4 Merge pull request #1795 from dsnopek/scons-dependency-on-build-profile
Files generated by SCons should depend on the `build_profile` (if given)
2025-06-25 08:57:38 -05:00
David Snopek
c45c4aa667 Merge pull request #1804 from dsnopek/github-actions-windows-2019
Update CI to use `windows-2022`
2025-06-24 16:30:44 -05:00
David Snopek
8938e7e4e3 Update CI to use windows-2022 2025-06-24 14:47:40 -05:00
David Snopek
75f95ffbcb Merge pull request #1792 from dsnopek/gdextension-interface-45
Update for GDExtension interface changes in Godot 4.5
2025-06-24 12:27:34 -05:00