David Snopek
8aef77a64d
Give compile-time error if registering a class without its own `_bind_methods()` function
...
(cherry picked from commit ca46ef4d25
)
2024-05-17 16:33:38 -05:00
pupil1337
897280444b
Add static_assert() for register_class
...
(cherry picked from commit 1fa7a9cb19
)
2024-05-17 16:32:54 -05:00
A Thousand Ships
3d814f6e87
[Math] Add `is_finite` methods
...
(cherry picked from commit d389171905
)
2024-05-17 16:32:05 -05:00
Chris Cranford
8f8ea90088
Implement to/from dict helpers for PropertyInfo/MethodInfo
...
(cherry picked from commit 2a041b5240
)
2024-05-17 16:30:54 -05:00
David Snopek
b28098e76b
Merge pull request #1460 from dsnopek/misc-backports
...
[4.2] Backport miscellaneous changes that can't be cherry-picked
2024-05-09 07:35:56 -05:00
David Snopek
9afbdb9cf6
Backport miscellaneous changes that can't be cherry-picked
2024-05-08 16:49:18 -05:00
David Snopek
98c143a483
gdextension: Sync with upstream commit 15073afe3856abd2aa1622492fe50026c7d63dc1 (4.2.2-stable)
2024-04-17 13:06:07 -05:00
David Snopek
28d43fb99a
Merge pull request #1442 from dsnopek/4.2-cherrypicks-3
...
Cherry-picks for the godot-cpp 4.2 branch - 3rd batch
2024-04-17 12:58:21 -05:00
Chris Cranford
77f1d228cd
Fix PropertyInfo to use hint/usage default constants
...
(cherry picked from commit e160966163
)
2024-04-17 11:09:24 -05:00
thimenesup
ab5b9f2ceb
Fix Projection create_orthogonal being incorrect
...
Title
(cherry picked from commit e4ae69f607
)
2024-04-17 11:09:00 -05:00
Thaddeus Crews
ef4d771444
Implement `verbose` toggle from godot repo
...
(cherry picked from commit b05c21bb1d
)
2024-04-17 11:08:41 -05:00
dependabot[bot]
66ced64c1e
Bump mymindstorm/setup-emsdk from 13 to 14
...
Bumps [mymindstorm/setup-emsdk](https://github.com/mymindstorm/setup-emsdk ) from 13 to 14.
- [Release notes](https://github.com/mymindstorm/setup-emsdk/releases )
- [Commits](https://github.com/mymindstorm/setup-emsdk/compare/v13...v14 )
---
updated-dependencies:
- dependency-name: mymindstorm/setup-emsdk
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 32ca574f49
)
2024-04-17 11:08:29 -05:00
Thaddeus Crews
fc5366c026
Use `GDREGISTER` defines in example
...
(cherry picked from commit a537b4af4d
)
2024-04-17 11:08:14 -05:00
David Snopek
7e5fa8e7a9
Merge pull request #1410 from dsnopek/4.2-cherrypicks-2
...
Cherry-picks for the godot-cpp 4.2 branch - 2nd batch
2024-04-08 13:09:13 -05:00
A Thousand Ships
f8477fb9f2
Fix incorrect utility call signature
...
(cherry picked from commit d055b575fb
)
2024-04-08 11:50:07 -05:00
ytnuf
ef723ca9ec
Change cmake_minimum_required to match actual requirements
...
This is because target_link_options was added in v3.13
So this wouldn't build with cmake v3.12
Likewise in CMAKE_CXX_STANDARD only supports value of 17 starting with
cmake v3.9
So the test wouldn't build properly with cmake v3.6
(cherry picked from commit 5c12bd2287
)
2024-04-08 11:49:53 -05:00
Thaddeus Crews
7473b984cb
Enforce template syntax `typename` over `class`
...
(cherry picked from commit 87f5fb0691
)
2024-04-08 11:49:37 -05:00
David Snopek
98ad839827
Avoid creating most objects that Godot is going to use placement new to initialize
...
(cherry picked from commit c4fde852e6
)
2024-04-08 11:45:25 -05:00
bruvzg
a07b1f6e07
[Packed*Array] Add support for initializer lists.
...
(cherry picked from commit 8c98a90f32
)
2024-04-08 11:44:28 -05:00
A Thousand Ships
f002ca18c7
Fix invalid `void` return in `BitField`
...
(cherry picked from commit 7ed8ef7221
)
2024-03-11 12:51:07 -05:00
Marc Gilleron
3fe7c2e87b
Fix explicit namespaces in macros
...
(cherry picked from commit e607790647
)
2024-03-11 12:50:56 -05:00
David Snopek
7ddd278dea
Fix _notification with parent and child classes
...
(cherry picked from commit 23c010900c
)
2024-03-11 12:50:43 -05:00
bruvzg
cae4bf58ac
[Core] Improve `CowData` and `Memory` metadata alignment.
...
(cherry picked from commit b173a4d935
)
2024-03-11 12:47:09 -05:00
Fabio Alessandrelli
1517a24f72
[SCons] Split `targets.py`, apply flags from tools
...
Split `targets` tool logic, moving all the compiler-specific flags to a
new `common_compiler_flags.py` file, and everything else (CPPDEFINES,
optimize option logic, dev build logic, etc) to the `godotcpp` tool.
The default tools now apply the common compiler flags by importing the
file and explicitly calling `configure`.
(cherry picked from commit 16df4bff30
)
2024-03-11 12:46:58 -05:00
Fabio Alessandrelli
1b8cfaab71
[SCons] Add support for custom build tools and platforms
...
Use with:
`scons platform=os2 custom_tools=/path/to/tools`
(assuming you have an `os2.py` inside `/path/to/tools/`)
(cherry picked from commit baaad7ada2
)
2024-03-11 12:46:48 -05:00
DaylilyZeleen
dc19986497
Fix object return value of builtin types' methods.
...
(cherry picked from commit 6a3753c076
)
2024-03-11 12:46:39 -05:00
bruvzg
c2d4ccd592
Switch to 64-bit ints.
...
(cherry picked from commit 59a5a8b104
)
2024-03-11 12:46:27 -05:00
David Snopek
51c752c46b
Merge pull request #1372 from dsnopek/4.2-cherrypicks-1
...
Cherry-picks for the godot-cpp 4.2 branch - 1st batch
2024-02-16 09:03:54 -06:00
MJacred
45dc04f2cf
Update README: fix godot-cpp issue tracker url
...
(cherry picked from commit 8a535d0ecc
)
2024-01-24 08:43:31 -06:00
Chris Cranford
dc76664cea
Rework GDCLASS macro to allow pure virtual functions
...
(cherry picked from commit 5f350e2572
)
2024-01-22 15:30:04 -06:00
A Thousand Ships
97214ecd7a
Fix `AABB.encloses` failing on shared upper bound
...
(cherry picked from commit 3943e41d2f
)
2024-01-22 15:29:53 -06:00
nightblade9
300e74364b
Update README.md with basic pre-requisites
...
(cherry picked from commit ee169b201b
)
2024-01-22 15:29:45 -06:00
Daylily-Zeleen
3129672a4f
Remove "godot" namespace when binding global constants.
...
(cherry picked from commit bd40a94424
)
2024-01-22 15:29:36 -06:00
A Thousand Ships
c0b2d85ffc
Add missing `OP_POWER` operator to `Variant`
...
(cherry picked from commit f037a697eb
)
2024-01-22 15:29:27 -06:00
A Thousand Ships
62eed50524
Fix expected argument count for call errors
...
(cherry picked from commit b77cb648c3
)
2024-01-22 15:29:18 -06:00
ArchLinus
f9b66e3c72
Add an error message if android NDK is not installed
...
(cherry picked from commit 718d0baea3
)
2024-01-22 15:29:08 -06:00
Aaron Franke
81a72ff06b
Allow detecting when building as a GDExtension
...
(cherry picked from commit e17c7bf530
)
2024-01-22 15:28:57 -06:00
Aaron Franke
0472b6bdd4
Add PackedRealArray as an alias for PackedFloat(32/64)Array
...
(cherry picked from commit 646c71c277
)
2024-01-22 15:28:46 -06:00
David Snopek
aaffda23a5
Avoid error from -Werror=type-limits on GCC 11
...
(cherry picked from commit cad5be53b1
)
2024-01-22 15:27:51 -06:00
Rémi Verschelde
78ffea5b13
gdextension: Sync with upstream commit b09f793f564a6c95dc76acc654b390e68441bd01 (4.2.1-stable)
2023-12-12 13:48:47 +01:00
dependabot[bot]
f93a6c5a5b
Bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit a7becb43e6
)
2023-12-12 13:47:56 +01:00
Rémi Verschelde
b03e56922d
CMake: Remove hardcoded warnings list and forcing -Werror on library builds
...
The CMake buildsystem should be completely reviewed to properly match
what is done by SCons, instead of making its own arbitrary decisions on
how godot-cpp should be compiled.
Currently the SCons setup doesn't include warning options, so CMake
shouldn't either. Options similar to upstream Godot's SCons setup could
be added, and then replicated for CMake.
(cherry picked from commit 41517eacb1
)
2023-12-12 13:47:21 +01:00
Rémi Verschelde
54136ee835
Add 4.2 branch to README
2023-11-30 10:02:53 +01:00
Rémi Verschelde
0f78fc45bd
gdextension: Sync with upstream commit 46dc277917a93cbf601bbcf0d27d00f6feeec0d5 (4.2-stable)
2023-11-30 10:01:44 +01:00
Rémi Verschelde
11b2700b23
Merge pull request #1321 from dsnopek/postinitialize
...
Send NOTIFICATION_POSTINITIALIZE to extension classes
2023-11-30 09:55:30 +01:00
David Snopek
20c4e843b0
Send NOTIFICATION_POSTINITIALIZE to extension classes
2023-11-29 12:00:43 -06:00
Rémi Verschelde
f3143c7a9c
Merge pull request #1320 from mihe/bit-field-size
...
Change bit field enums to use `uint64_t` as underlying type
2023-11-28 15:05:41 +01:00
Mikael Hermansson
943d1c8cdf
Change bit field enums to use `uint64_t` as underlying type
2023-11-28 01:03:41 +01:00
David Snopek
588d869a3b
Merge pull request #1313 from DmitriySalnikov/visibility_hidden
...
[Scons] Added the ability to change the visibility of symbols
2023-11-24 07:15:52 -06:00
Rémi Verschelde
5be275d73b
gdextension: Sync with upstream commit d6a1db2b07595f80c0f19ab01c6b4d0b66002b18 (4.2-rc2)
2023-11-24 12:36:26 +01:00