Commit Graph

1653 Commits

Author SHA1 Message Date
Thaddeus Crews
64cdf089d9 CI: Various version bumps; sync with main repo 2025-04-26 12:23:07 -05: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
David Snopek
195188f321 Merge pull request #1769 from enetheru/defs
CMake: Match #1758 move of DEBUG_METHODS_ENABLED from build options to defs.hpp
2025-04-17 07:41:48 -05:00
Samuel Nicholas
b195a51c6c Match #1758 build option changes
d634a5f8c4 (diff-e2225522e55739f1533a3ce9eee58324ac9c192c8ba30065067964347d22fdacL471)
2025-04-17 08:46:58 +09:30
David Snopek
2a8d218f12 Merge pull request #1756 from Repiteo/scons/external-includes
SCons: Add `CPPEXTPATH` for external includes
2025-04-16 16:10:45 -05:00
David Snopek
70d8ff0c47 Merge pull request #1770 from Zylann/basis_abs
Use Math::abs to avoid ambiguity with integer abs
2025-04-16 16:10:07 -05:00
Marc Gilleron
7670de814f Use Math::abs to avoid ambiguity with integer abs 2025-04-16 20:37:19 +02:00
David Snopek
321af5b827 Merge pull request #1768 from enetheru/sccache_update
CI: bump of mozilla-sccache action to 0.0.9
2025-04-16 08:33:20 -05:00
Samuel Nicholas
bbbcc6adc7 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
2025-04-16 10:31:50 +09:30
David Snopek
62a5c609d3 Merge pull request #1763 from Grublady/typeddict
Fix TypedDictionary binding generation
2025-04-15 11:21:40 -05:00
David Snopek
97ad05beeb Merge pull request #1758 from tomfull123/sync-defs
Sync defs
2025-04-15 11:02:10 -05:00
David Snopek
94a8fad88c Merge pull request #1767 from Zylann/quaterion_abs
Use Math::abs to avoid ambiguity with integer abs
2025-04-15 08:12:53 -05:00
Marc Gilleron
7e6c9c9370 Use Math::abs to avoid ambiguity with integer abs 2025-04-14 23:46:47 +02:00
Grublady
26201dd27a Fix TypedDictionary binding generation 2025-04-08 20:34:29 -04:00
Tom
d634a5f8c4 Synced defs.hpp with godot's typedefs.h 2025-04-07 17:30:55 +01:00
David Snopek
c173cc0159 Merge pull request #1761 from enetheru/CI_compat_fix
Fix compatibility break for CI action 'setup-godot-cpp'
2025-04-07 07:09:36 -05:00
Samuel Nicholas
38e517b98b Fix compatibility break for CI 2025-04-07 08:10:16 +09:30
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
David Snopek
1163d1b4a8 Merge pull request #1750 from tomfull123/typed-dictionary-initializer-support
Typed dictionary initializer support
2025-04-05 10:32:06 -05:00
David Snopek
096d9056f0 Merge pull request #1760 from Calinou/update-test-project-4.4
Update test project to Godot 4.4
2025-04-05 10:31:50 -05:00
David Snopek
7888c15233 Merge pull request #1726 from enetheru/continuous_integration
Update CI with new CMake builds.
2025-04-05 10:03:49 -05:00
Samuel Nicholas
b6c0251296 CMake: Update CI
- Duplicated the ci.yml into ci-scons.yml and ci-cmake.yml
- Replaced some manual shell commands to detect changes with  tj-actions/changed-files@v45
- Conditionally run the CI depending on what files change.
- Add ios toolchain from leetal/ios-cmake
- Added a cmake-minimum of 3.10 to silence errors from ios toolchain
2025-04-05 13:31:52 +10:30
Thaddeus Crews
30bfa6f215 SCons: Add CPPEXTPATH for external includes 2025-04-04 09:39:47 -05:00
Tom
335b490061 Added initialiser list support to TypedDictionary 2025-04-03 23:16:12 +01:00
Hugo Locurcio
552a74c96e Update test project to Godot 4.4 2025-04-03 16:40:19 +02: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
David Snopek
c2d688bae6 Merge pull request #1747 from unvermuthet/linux-use-static-cpp
Implement `use_static_cpp` flag for Linux
2025-04-02 12:59:04 -05:00
unvermuthet
b0f41909e0 Implement use_static_cpp flag for Linux 2025-04-01 22:35:40 +02: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
f3deed0270 Merge pull request #1753 from dsnopek/stack-smashing-char-types
Fix stack smashing when Godot methods return `char32_t`, `char16_t` or `wchar_t`
2025-04-01 09:26:42 -05: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
f088bc9b25 Merge pull request #1752 from bruvzg/rem_libs
[macOS] Remove unnecessary Cocoa reference.
2025-03-28 07:17:53 -05:00
Pāvels Nadtočajevs
d239da3221 [macOS] Remove unnecessary Cocoa reference. 2025-03-28 08:45:43 +02: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
2b4802d0a8 Merge pull request #1715 from dsnopek/godot-sync-pre44
Synchronize most shared variant code with Godot 4.4
2025-03-14 14:13:21 -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
David Snopek
67ca2fbbad Merge pull request #1740 from enetheru/privatise
CMake: public/private flags
2025-03-14 09:20:46 -05:00
David Snopek
654de13b5c Merge pull request #1702 from zhmt/master
binding_generator.py: Don't error if directory already exists
2025-03-14 08:56:30 -05:00
David Snopek
e4bd867056 Merge pull request #1730 from enetheru/XCode
CMake: XCode dependency chain fixes
2025-03-14 07:34:36 -05:00
Aaron Franke
aa03c32b3e Add missing Projection constructor with 16 real_t values 2025-03-14 02:46:23 -07:00
zhmt
d79959c79e binding_generator.py: Don't error if directory already exists
It should be ok when folders exist. Exception shouldn't be thrown.

Update binding_generator.py

It should be ok when folds exist. It will fail to build without this patch,  in vs code on windows with compiler ( visual studio community 2022 amd 64) .

Co-Authored-By: Chris Cranford <ccranfor@redhat.com>
2025-03-14 14:02:53 +08:00
Samuel Nicholas
5eb16d0c5b CMake: public/private flags
Made all warnings private.
Warning as error private
Consistency in  generator expressions
2025-03-14 11:11:15 +10:30
Samuel Nicholas
f83f364144 CMake: XCode dependency chain fixes - remastered
When attempting to generate XCode projects it would fail due to the target dependency chain not meeting expectations.

This PR, adds the required dependency infomation so that the XCode generator works.
2025-03-14 10:10:33 +10:30
David Snopek
6f981b33cc Merge pull request #1704 from BenLubar/missing-braces
Fix -Wmissing-braces warning (included in -Wall) in array constructor for generated function call bindings
2025-03-13 12:45:03 -05:00