thimenesup
e897dbe58a
Fix Projection create_orthogonal being incorrect
...
Title
(cherry picked from commit e4ae69f607
)
2024-04-17 11:00:56 -05:00
Thaddeus Crews
28a6609c0b
Implement `verbose` toggle from godot repo
...
(cherry picked from commit b05c21bb1d
)
2024-04-17 10:58:41 -05:00
dependabot[bot]
7f3e725a8a
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 10:58:31 -05:00
Thaddeus Crews
8e5d7c9268
Use `GDREGISTER` defines in example
...
(cherry picked from commit a537b4af4d
)
2024-04-17 10:58:16 -05:00
David Snopek
974e6c6f86
Merge pull request #1411 from dsnopek/4.1-cherrypicks-8
...
Cherry-picks for the godot-cpp 4.1 branch - 8th batch
2024-04-08 13:09:01 -05:00
A Thousand Ships
c8fa4c0fd0
Fix incorrect utility call signature
...
(cherry picked from commit d055b575fb
)
2024-04-08 11:40:05 -05:00
ytnuf
594a93f8ac
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:39:53 -05:00
Thaddeus Crews
9e48c45bfc
Enforce template syntax `typename` over `class`
...
(cherry picked from commit 87f5fb0691
)
2024-04-08 11:39:21 -05:00
David Snopek
76d6ce7136
Avoid creating most objects that Godot is going to use placement new to initialize
...
(cherry picked from commit c4fde852e6
)
2024-04-08 11:30:23 -05:00
bruvzg
e99d7b3b7e
[Packed*Array] Add support for initializer lists.
...
(cherry picked from commit 8c98a90f32
)
2024-04-08 11:29:39 -05:00
A Thousand Ships
07e245e3e4
Fix invalid `void` return in `BitField`
...
(cherry picked from commit 7ed8ef7221
)
2024-03-11 13:33:57 -05:00
Marc Gilleron
ed576f8318
Fix explicit namespaces in macros
...
(cherry picked from commit e607790647
)
2024-03-11 13:33:44 -05:00
David Snopek
f7a9d32f32
Fix _notification with parent and child classes
...
(cherry picked from commit 23c010900c
)
2024-03-11 13:31:19 -05:00
bruvzg
08da55cd0b
[Core] Improve `CowData` and `Memory` metadata alignment.
...
(cherry picked from commit b173a4d935
)
2024-03-11 13:11:26 -05:00
Fabio Alessandrelli
670c4d0eac
[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 13:06:57 -05:00
Fabio Alessandrelli
bab62a4d72
[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 13:01:23 -05:00
DaylilyZeleen
1ac8627b2e
Fix object return value of builtin types' methods.
...
(cherry picked from commit 6a3753c076
)
2024-03-11 12:59:32 -05:00
bruvzg
6202bf141e
Switch to 64-bit ints.
...
(cherry picked from commit 59a5a8b104
)
2024-03-11 12:59:19 -05:00
David Snopek
4b63d795e4
Merge pull request #1373 from dsnopek/4.1-cherrypicks-7
...
Cherry-picks for the godot-cpp 4.1 branch - 7th batch
2024-02-16 09:37:17 -06:00
MJacred
2cc967787a
Update README: fix godot-cpp issue tracker url
...
(cherry picked from commit 8a535d0ecc
)
2024-01-24 08:44:28 -06:00
nightblade9
6884ca9be0
Update README.md with basic pre-requisites
...
(cherry picked from commit ee169b201b
)
2024-01-22 15:53:49 -06:00
Daylily-Zeleen
dde0bbb93d
Remove "godot" namespace when binding global constants.
...
(cherry picked from commit bd40a94424
)
2024-01-22 15:53:49 -06:00
A Thousand Ships
1c03aa7746
Add missing `OP_POWER` operator to `Variant`
...
(cherry picked from commit f037a697eb
)
2024-01-22 15:53:49 -06:00
ArchLinus
82475b215b
Add an error message if android NDK is not installed
...
(cherry picked from commit 718d0baea3
)
2024-01-22 15:53:49 -06:00
Aaron Franke
49098fbdc7
Allow detecting when building as a GDExtension
...
(cherry picked from commit e17c7bf530
)
2024-01-22 15:53:49 -06:00
dependabot[bot]
756190705e
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
)
2024-01-22 15:53:49 -06:00
Rémi Verschelde
2e42c7020e
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
)
2024-01-22 15:53:49 -06:00
David Snopek
e9273e8528
Avoid error from -Werror=type-limits on GCC 11
...
(cherry picked from commit cad5be53b1
)
2024-01-22 15:53:49 -06:00
David Snopek
b1bd58d7da
Send NOTIFICATION_POSTINITIALIZE to extension classes
...
(cherry picked from commit 20c4e843b0
)
2024-01-22 15:53:49 -06:00
LAK132
d5a2e8e797
Fix file list issues when trying to build with meson via cmake
...
(cherry picked from commit 39c139c814
)
2024-01-22 15:53:49 -06:00
Bytzo
6bb4b1d321
Prevent CMake from always including debug symbols
...
(cherry picked from commit db884e9b1d
)
2024-01-22 15:53:49 -06:00
DmitriySalnikov
51aeda7437
[Scons] Set the minimum Android API level to 21
...
(cherry picked from commit 79d2a9c456
)
2024-01-22 15:53:49 -06:00
dependabot[bot]
cd904155a8
Bump mymindstorm/setup-emsdk from 12 to 13
...
Bumps [mymindstorm/setup-emsdk](https://github.com/mymindstorm/setup-emsdk ) from 12 to 13.
- [Release notes](https://github.com/mymindstorm/setup-emsdk/releases )
- [Commits](https://github.com/mymindstorm/setup-emsdk/compare/v12...v13 )
---
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 78bf5a42ed
)
2024-01-22 15:53:49 -06:00
bruvzg
b622b11df3
[iOS] Fix initialisation/termination of multiple statically linked extensions.
...
(cherry picked from commit adc9def046
)
2024-01-22 15:53:49 -06:00
Rémi Verschelde
92449b46e1
CI: Install Android NDK r23c explicitly
...
It has just been removed from the Ubuntu 20.04 default install,
breaking our CI setup.
Also, sets Emscripten version to 3.1.39, as done upstream.
Newer versions actually break dynamic library support.
(cherry picked from commit eea33b4133
)
2024-01-22 15:53:49 -06:00
Thaddeus Crews
e8b6887b36
Add missing int→Variant conversions
...
(cherry picked from commit bcac96c8c2
)
2024-01-22 15:53:49 -06:00
Rémi Verschelde
631cd5fe37
Merge pull request #1306 from dsnopek/4.1-cherrypicks-6
...
Cherry-picks for the godot-cpp 4.1 branch - 6th batch
2023-11-13 20:28:26 +01:00
Alex Drozd
731a10a4ea
ignoring venv in .gitignore
...
(cherry picked from commit 92dd34ae96
)
2023-11-13 13:00:24 -06:00
Thaddeus Crews
a1ae58448c
fix is_msvc and use_hot_reload variables
...
(cherry picked from commit 648b8c4489
)
2023-11-13 13:00:24 -06:00
Thaddeus Crews
805cdde0b7
GDCLASS synced by ending with "private:"
...
• Matches implementation used by modules and godot itself
• Apply same to GDEXTENSION_CLASS, setup with same diff-friendly spacers as GDCLASS
(cherry picked from commit 6eb5d450bd
)
2023-11-13 13:00:24 -06:00
Fredia Huya-Kouadio
29335d8f5c
Update the environment variables used to access the Android NDK toolchain
...
(cherry picked from commit 86dbd5fa0d
)
2023-11-13 13:00:24 -06:00
Rémi Verschelde
c5f47b2a4e
CI: Workaround upstream issue with .NET editor build not exiting
...
We force closing the process after 10 s, which should be ample time to generate
the .godot folder.
(cherry picked from commit 306774b5a4
)
2023-11-13 19:15:07 +01:00
Rémi Verschelde
df5b1a9a69
gdextension: Sync with upstream commit fc79201851a16215f9554884aa242ed957801b10 (4.1.3-stable)
2023-11-09 13:25:22 +01:00
Rémi Verschelde
04b34077d8
Merge pull request #1281 from dsnopek/4.1-cherrypicks-5
...
Cherry-picks for the godot-cpp 4.1 branch - 5th batch
2023-10-24 11:38:55 +02:00
David Snopek
9d813310bb
Add protections against registering classes that didn't use GDCLASS()
...
(cherry picked from commit a61cdc8860
)
2023-10-23 10:11:04 -05:00
Rémi Verschelde
ef8a499eac
SCons: Disable C++ exception handling by default
...
Counterpart to https://github.com/godotengine/godot/pull/80612 .
(cherry picked from commit bf1c03ab5f
)
2023-10-23 10:10:59 -05:00
gilzoide
698da13d66
Fix return value and r_valid value in Variant::iter_init and iter_next
...
(cherry picked from commit 60dfa3445a
)
2023-10-22 14:47:10 -05:00
Adam Scott
8295486fdb
Refactor compiledb implementation
...
This comment enables the possibility to build the "compile_commands.json"
file by only using `scons -Q compiledb`. No need to use the argument
`compiledb=yes`.
And when using the `compiledb=yes`, it will create a
"compiled_commands.json" automatically.
(cherry picked from commit 2d5024ac8e
)
2023-10-22 14:46:58 -05:00
Thaddeus Crews
7704a9d054
Let gdextension_dir function as only argument
...
(cherry picked from commit 7a5cbcac21
)
2023-10-22 14:46:48 -05:00
David Snopek
f7ffc4fe4d
Automatically register only engine classes whose header has been included
...
(cherry picked from commit b507b3e591
)
2023-10-22 14:46:26 -05:00