1825 Commits

Author SHA1 Message Date
bc1fcd501f Merge pull request #1975 from dsnopek/variant-get-type-by-name
Implement `Variant::get_type_by_name()`
2026-05-04 10:29:18 -05:00
0d61c1c94b Merge pull request #1974 from dsnopek/better-object-cast-to
Optimize `Object::cast_to<T>()` using `Object::is_class()` now that it takes a `StringName`
2026-05-04 10:25:55 -05:00
b4ce22a76b Merge pull request #1973 from dsnopek/memnew-refcounted
Make `memnew(RefCounted)` return `Ref<T>` for improved ownership safety
2026-05-04 10:22:54 -05:00
2360bbd03e Implement Variant::get_type_by_name() 2026-05-04 08:45:38 -05:00
bc96761901 Optimize Object::cast_to<T>() using Object::is_class() now that it takes a StringName 2026-05-04 08:45:04 -05:00
1115359634 Make memnew(RefCounted) return Ref<T> for improved ownership safety 2026-05-04 08:44:41 -05:00
5e4200d6a7 Merge pull request #1972 from dsnopek/godot47-beta1
Update `gdextension_interface.json` and `extension_api.json` for Godot 4.7-beta1
2026-05-04 08:42:51 -05:00
0a7e09c630 Update gdextension_interface.json and extension_api.json for Godot 4.7-beta1 2026-04-27 15:48:27 -05:00
973a98f9b8 Merge pull request #1945 from DrCosinus/master
Fix variadic version of the callp_static method of the Variant class.
2026-04-21 17:28:54 -05:00
a7b6c01fbf Merge pull request #1957 from BenLubar/ref-non-object
Don't automatically treat numeric values as ObjectIDs
2026-04-21 17:28:14 -05:00
4862a9dcf1 Merge pull request #1966 from Lemno-Studio/contrib
FIX:	separated situation of building/installing on target_include_directories on cmake
2026-04-14 13:11:22 -05:00
d32932d27f FIX: separated situation of building/installing on target_include_directories on cmake
SEE:	https://github.com/godotengine/godot-cpp/pull/1966

 Changes to be committed:
	- modified:   cmake/godotcpp.cmake
2026-04-08 23:44:06 +09:00
41cfbd1d3b Merge pull request #1965 from Naros/fix-methodinfo-equality-check
Align MethodInfo equality check with engine
2026-04-07 06:46:21 -05:00
9c5dae532d Align MethodInfo equality check with engine 2026-04-05 18:14:19 -04:00
1c8db40a64 Merge pull request #1958 from dsnopek/rid-alignment
Fix alignment on `RID` and other classes that use `uint8_t opaque[SIZE]`
2026-04-01 08:33:34 -05:00
27d7ad0000 Merge pull request #1961 from samysadi/fix-emscripten-cstdlib
Fix missing <cstdlib> include for Emscripten web builds
2026-03-31 15:08:13 -05:00
319af8d875 Merge pull request #1962 from zhehangd/fix_static_inline
Fix static inline template in defs.hpp
2026-03-31 11:57:26 -05:00
403935b1d8 Fix missing <cstdlib> include for Emscripten web builds
Compiling `godot-cpp` for the Web platform (`wasm32`) using Emscripten currently fails in `src/godot.cpp` with the following error:

`error: use of undeclared identifier 'realloc'`

Unlike, for instance, GCC on Linux, Emscripten's Clang compiler strictly requires `<cstdlib>` to be explicitly included to use standard memory allocation functions like `realloc`. This commit adds the missing header alongside `<stdio.h>` to resolve the build failure and ensure cross-platform compatibility.
2026-03-31 15:29:53 +01:00
fcde5479e8 Replace static inline with constexpr in defs.hpp 2026-03-31 15:43:42 +08:00
a3f50357ee Merge pull request #1960 from Naros/GH-1959
Do not clear variant on assignment to self
2026-03-30 08:02:11 -05:00
d648ec6094 Do not clear variant on assignment to self 2026-03-29 07:36:12 -04:00
45f45e8db2 Fix alignment on RID and other classes that use uint8_t opaque[SIZE] 2026-03-24 14:33:08 -05:00
44a1a7dfbc Don't automatically treat numeric values as ObjectIDs 2026-03-24 13:32:36 -05: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
362e09eb7a Remove the extra parameter causing a compilation error when using the variadic version of the callp_static method of the Variant class. 2026-03-04 20:37:41 +01:00
3dd9bf1695 Merge pull request #1842 from dementive/no-std-list
Replace `std::list` and `std::set` with `List` and `HashSet`
2026-03-04 09:41:45 -06:00
55a86bae9d Merge pull request #1918 from foxandfeature/multiple-XML-doc-sources
Fix passing multiple XML doc sources to generate_doc_source
2026-03-03 16:34:41 -06: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
9ba2fbe1bf Merge pull request #1943 from dsnopek/cmake-version
Update godot-cpp's version in `CMakeLists.txt` for v10.0
2026-03-03 15:22:09 -06:00
7f7d668341 Update godot-cpp's version in CMakeLists.txt for v10.0 2026-03-03 15:05:45 -06:00
b65ddbf976 Merge pull request #1940 from Ivorforce/span
Add `Span` from upstream Godot.
2026-03-03 15:03:20 -06:00
252e2770fb Merge pull request #1939 from Ivorforce/sync-ref
Sync `Ref` to godotengine master.
2026-03-03 15:03:05 -06:00
0ba1b79778 Merge pull request #1931 from godotengine/Ivorforce-patch-1
Improve V10.0 explanation
2026-03-03 15:02:50 -06:00
cd1e4f1ee3 Add Span from upstream Godot. 2026-02-28 19:27:41 +01:00
ef6b34d0c2 Sync Ref to godotengine master. 2026-02-28 18:37:34 +01:00
d0e4afe322 Improve V10.0 explanation 2026-02-20 20:14:09 +01:00
713481f6f9 Merge pull request #1919 from dsnopek/int-min-error
Workaround `unary minus operator applied to unsigned type` error in MSVC with `-2147483648`
2026-02-19 05:11:46 -06:00
b05859428e Merge pull request #1916 from ashtonmeuser/type-limits
Filter conflicting global constants
2026-02-18 13:01:36 -06:00
67a0b191d3 Filter conflicting global constants
See https://github.com/godotengine/godot/pull/115649
2026-02-18 08:36:15 -08:00
965d0e9a10 Merge pull request #1929 from dsnopek/out-of-date-readme
Update `gdextension/README.md` for new `gdextension_interface.json`
2026-02-17 10:42:55 -06:00
405950e049 Update gdextension/README.md for new gdextension_interface.json 2026-02-17 10:05:31 -06:00
43b4f26353 Fix missing quotes when passing XML doc sources in test CMake 2026-02-06 17:56:33 +01:00
935a616293 Workaround unary minus operator applied to unsigned type error in MSVC with -2147483648 2026-02-01 07:23:54 -06:00
9ae5fc475a Fix passing multiple XML doc sources to generate_doc_source 2026-01-31 19:05:35 +01:00
863d732f44 Merge pull request #1912 from dsnopek/dont-reload-print-error
Don't reload `print_error` interface function
2026-01-27 17:26:42 -06:00
823a08ad8e Don't reloading print_error interface function 2026-01-27 16:24:10 -06:00
58d1de720b gdextension: Sync with upstream commit 89cea143987d564363e15d207438530651d943ac (4.6-stable) 10.0.0-rc1 2026-01-26 08:17:41 -06:00
c6bf465ca6 Merge pull request #1906 from fatduckling/master
Removed unused variable
2026-01-23 09:31:20 -06:00