summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13 from Spartan322/sync/a06b0a04.3George L. Albany2024-11-251-3/+3
|\ | | | | Sync with tag redot-4.3-stable (Redot-Engine/redot-engine@a06b0a0)
| * Sync with tag redot-4.3-stable ↵Spartan3222024-11-221-3/+3
|/ | | | (Redot-Engine/redot-engine@a06b0a021c7ed07e3c1fa45392fa0ab49453c395)
* Merge pull request #12 from Spartan322/sync/f66b3b2George L. Albany2024-11-181-2/+2
|\ | | | | Sync with tag redot-4.3-rc.4 (Redot-Engine/redot-engine@364a394)
| * Sync with tag redot-4.3-rc.4 ↵Spartan3222024-11-171-2/+2
|/ | | | (Redot-Engine/redot-engine@364a394be03f7b22e8c4f66e51639ae731fe7ae1)
* Merge pull request #11 from Spartan322/sync/71193c7George L. Albany2024-11-151-2/+2
|\ | | | | Sync with tag redot-4.3-rc.3 (Redot-Engine/redot-engine@71193c7)
| * Sync with tag redot-4.3-rc.3 ↵Spartan3222024-11-131-2/+2
|/ | | | (Redot-Engine/redot-engine@71193c70f73ba4b609e20d7e70b97686a7bc01df)
* Merge pull request #9 from Spartan322/sync/afc82bcGeorge L. Albany2024-11-131-2/+2
|\ | | | | Sync with tag redot-4.3-rc.2 (Redot-Engine/redot-engine@afc82bc)
| * Sync with tag redot-4.3-rc.2 ↵Spartan3222024-11-131-2/+2
|/ | | | (Redot-Engine/redot-engine@afc82bc08531e6720f2442ad2b5e07d2e9d1dddd)
* Merge pull request #10 from Spartan322/4.3-fix/branchGeorge L. Albany2024-11-131-1/+1
|\ | | | | [4.3] Fix error from wrong CI test branch
| * Fix error from wrong CI test branchSpartan3222024-11-121-1/+1
|/
* Merge pull request #8 from Spartan322/sync/dceac0aGeorge L. Albany2024-11-121-3/+3
|\ | | | | Sync with tag redot-4.3-rc.1 (Redot-Engine/redot-engine@dceac0a)
| * Sync with tag redot-4.3-rc.1 ↵Spartan3222024-11-121-3/+3
|/ | | | (Redot-Engine/redot-engine@dceac0ae5bbccfccb1ca482c215271219be6d67e)
* Merge pull request #6 from Spartan322/sync/9bbd803George L. Albany2024-11-031-2/+2
|\ | | | | Sync with tag redot-4.3-beta.3 (Redot-Engine/redot-engine@9bbd803)
| * Sync with tag redot-4.3-beta.3 ↵Spartan3222024-11-031-2/+2
|/ | | | (Redot-Engine/redot-engine@9bbd8033be575a39f36cb2bc06b6eaceeeefe4d6)
* Merge pull request #5 from Spartan322/4.3-merge/56571dcGeorge L. Albany2024-11-0216-264/+396
|\ | | | | [4.3] Merge commit godotengine/godot-cpp@56571dc
| * Merge commit godotengine/godot-cpp@56571dc584ee7d14919996c6d58fb5b35e64af63Spartan3222024-11-0116-264/+396
| |\
| | * Merge pull request #1632 from dsnopek/4.3-cherrypicks-2David Snopek2024-10-3016-264/+396
| | |\ | | | | | | | | Cherry-picks for the godot-cpp 4.3 branch - 2nd batch
| | | * Add p_use_model_front to Basis::looking_at()Florent Guiocheau2024-10-282-3/+6
| | | | | | | | | | | | | | | | (cherry picked from commit 02fd535454773edb1a8c4b52d5b851e863660246)
| | | * SCons: Don't cache librarysThaddeus Crews2024-10-282-0/+2
| | | | | | | | | | | | | | | | (cherry picked from commit 83c0f15ab95d608f2c39eda942ee4a51cc1f0456)
| | | * [SCons] Enable WASM_BIGINT in web buildsFabio Alessandrelli2024-10-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Required since Godot 4.3, which is also the first Godot version with wide WASM gdnative support (previous versions were Chrome-only, and very brittle). (cherry picked from commit 78498da7c329141ba3c54e43561bf470a86b3dab)
| | | * [SCons] Remove use_clang_cl windows flag in favor of generic use_llvmFabio Alessandrelli2024-10-281-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | This is consistent with Godot upstream. (cherry picked from commit 4717a781445d9d1e9044602925cd9640b73a1b28)
| | | * VSProj Configure type on build command - to resolve #1582Samuel Nicholas2024-10-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio projects are multi-config projects like Ninja-MultiConfig which means you can't set the configuration at configure time as there are multiple, it always chooses the first one by default when not specified in the build command. Instead of this: cmake -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 17 2022" . cmake --build . --verbose It should be this cmake -G"Visual Studio 17 2022" . cmake --build . --verbose --config Release Update ci.yml Because the current build system doesnt use generator expressions for multi config builds, both the CMAKE_BUILD_TYPE and the build --config options need to be set (cherry picked from commit 07704f8f48308b83fc99c67b33a10027aa5a7846)
| | | * update .gitignore to add .idea for the Jetbrains CLion IDESamuel Nicholas2024-10-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | and also the default cmake build directory when building in clion cmake-build-* (cherry picked from commit 9f5daa2d904c8acae0540c11ee35cd1f78724429)
| | | * Re-Structure cmake solution to be closer to the scons solution.Samuel Nicholas2024-10-284-239/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is just a single step, re-arranging the code without actually changing its functionality. new docs/cmake.md moved the block of comments from the start of the CMakeLists.txt into the cmake.md file and converted content to markdown. new cmake/godotcpp.cmake Moved all exposed options into a new function godotcpp_options() Moved configuration and generation code into godotcpp_generate() To get all the options into the godotcpp_options() I changed the logic of GODOT_USE_HOT_RELOAD which I believe is a closer match to scons, that if the options is not set, and the build type is not release, then it defaults to ON. I msvc builds require the default flags to be modified or it will throw errors. I have added the links to articles in the commit, but its about removing the runtime error checks /RTC1 from the CMAKE_CXX_FLAGS_DEBUG variable. This needs to happen before the files are included. https://stackoverflow.com/questions/74426638/how-to-remove-rtc1-from-specific-target-or-file-in-cmake https://discourse.cmake.org/t/how-do-i-remove-compile-options-from-target/5965 Renamed GodotCompilerWarnings.cmake to common_compiler_flags.cmake to match scons Included files explicitly by path, as we dont need to append to the CMAKE_MODULES_PATH which effects the whole build tree. This prevents consumers of the library from clobbering the names of the cmake include files and breaking the build. (cherry picked from commit 2402a044ebc2189f6c725b9a64c66c9bc2e5c616)
| | | * Correctly set instance bindings on reloadDavid Snopek2024-10-283-29/+16
| | | | | | | | | | | | | | | | (cherry picked from commit cb543c192aef18b3e9b9d2c9f2ba770a4e574ad0)
| | | * Updated all variable names to use GODOT_ prefixSamuel Nicholas2024-10-282-30/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changed cache type for api file and api dir to FILEPATH and PATH respectively. Minor whitespace. docstring parity (cherry picked from commit 390a9a5590c9e162f838fb7ed5a58e45d5b14643)
| | | * Add GODOT_SYMBOL_VISIBILITY cache variable to match scons interface.Samuel Nicholas2024-10-281-1/+13
| | | | | | | | | | | | | | | | (cherry picked from commit 02bdc6665af45777b4d57120690a829d1c4445fc)
| | | * Add visibility-hiddenAndreas Pokorny2024-10-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should make all symbols that are not marked otherwise have hidden visibility. There still may be exposed symbols if marked with respective attributes. (cherry picked from commit d18fa929fbbf6d886e9122e1de948da94c29f54f)
| | | * Add hot reload support when building with GCC and CMakeytnuf2024-10-281-4/+5
| | | | | | | | | | | | | | | | (cherry picked from commit 05571971cc4b57f34c1fce180c2df20750c5bc90)
| | | * Add support for LLVM/MinGW and ARM64 Windows builds.bruvzg2024-10-282-8/+48
| | |/ | | | | | | | | | (cherry picked from commit f2353da5a35a5397a02d4fb47250244c988cfaeb)
* | | Merge pull request #4 from Spartan322/4.3-fix/docsGeorge L. Albany2024-11-012-20/+10
|\ \ \ | |/ / |/| | [4.3] Fix README documentation issues
| * | Fix README documentation issuesSpartan3222024-11-012-20/+10
|/ / | | | | | | | | | | Fix redot-cpp rebranding for minor docs (cherry picked from commit 246d3ecb5782f1f2db90a910e956fbc006972bd7)
* | Merge pull request #2 from Redot-Engine/4.3-rebrandGeorge L. Albany2024-10-31112-309/+684
|\ \ | |/ |/| [4.3] Rebrand godot-cpp to redot-cpp
| * Sync with tag redot-4.3-beta.2 ↵Spartan3222024-10-312-4/+178
| | | | | | | | (Redot-Engine/redot-engine@92225b33c283bff14c105c4d44c22a831601721b)
| * Ignore preamble Rebrand changes commitSpartan3222024-10-311-0/+11
| |
| * Rebrand preambles to RedotSpartan3222024-10-3192-184/+368
| |
| * Rebrand godot-cpp to redot-cppSpartan3222024-10-3117-121/+127
|/ | | | (cherry picked from commit 35f01391e0dd380c58f085badbf7be22a627c9f9)
* Merge pull request #1592 from dsnopek/4.3-revert-unexpose-is-instance-validDavid Snopek2024-09-231-9/+0
|\ | | | | [4.3] Revert "Unexpose `UtilityFunctions::is_instance_valid()`"
| * Revert "Unexpose `UtilityFunctions::is_instance_valid()`"David Snopek2024-09-171-9/+0
| | | | | | | | This reverts commit 56cd3fd99eb76ca3da33dafb694828a7306b2c81.
* | Merge pull request #1569 from dsnopek/4.3-cherrypicks-1David Snopek2024-09-117-19/+83
|\ \ | |/ |/| Cherry-picks for the godot-cpp 4.3 branch - 1st batch
| * Add a test to ensure that library path is absoluteDavid Snopek2024-09-033-0/+16
| | | | | | | | (cherry picked from commit 92ace04989bdf8d7d94846f059eeccd723f9b885)
| * Fix GCC 14 -Wtemplate-id-cdtor warningGeorge L. Albany2024-09-031-1/+1
| | | | | | | | | | | | As was fixed with godotengine/godot#91208 (cherry picked from commit 7b31f39beaca1a98307402f53d69f3657f3bed86)
| * [Web/SCons] Use CCFLAGS for SIDE_MODULE optionFabio Alessandrelli2024-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | Was using CPPFLAGS, but should use the explicit scons CCFLAGS which makes it clear they are applied to both the C and C++ compiler. CPPFLAGS was also fine (they are preprocessor flags, also applied to both C and C++), but we should try to stay consistent with what we do in Godot. (cherry picked from commit f36acd8e312c916c7e53364e1b0bd8eec3e4410e)
| * Fix missing MAKE_TYPED_ARRAY_INFO for Packed*ArraysAaron Franke2024-09-033-9/+25
| | | | | | | | (cherry picked from commit 10c3d1bc5f7f68bb4e260f32b9a8b529d23873ba)
| * Correct type for `char16` and `char32` metaRaul Santos2024-09-031-0/+2
| |
| * Fix incorrect generation of some C++ operatorsMikael Hermansson2024-09-031-6/+38
| |
| * Avoid hardcoded type conversion for metadataRaul Santos2024-09-031-2/+0
|/ | | | | | | | | | The engine uses the names `int` and `float` to refer to the 64-bit types, so in the bindings generator we have a hardcoded conversion for those types. But this type conversion should not be used for metadata. Even though the underlying type should still be 64-bit for interop, metadata is meant to specify the correct type to expose. So if metadata says `float` it means the type is really meant to be a 32-bit `float` and not `double`. Other hardcoded type conversions (`int` and `Nil`) won't ever be metadata. This change corrects the `float` type, to use the right type in the generated C++ code. Before we were always using `double` due to this type conversion. (cherry picked from commit 48291990817fbaa8cc2d0307a16d7345bf62da52)
* Merge pull request #1550 from Naros/sync-4.3-stableDavid Snopek2024-08-151-3/+2
|\ | | | | gdextension: Sync with upstream commit 77dcf97d82cbfe4e4615475fa52ca03da645dbd8 (4.3-stable)
| * gdextension: Sync with upstream commit ↵Chris Cranford2024-08-151-3/+2
|/ | | | 77dcf97d82cbfe4e4615475fa52ca03da645dbd8 (4.3-stable)
* Merge pull request #1546 from aaronfranke/fix-vec4arrDavid Snopek2024-08-114-0/+4
|\ | | | | Fix missing type info for PackedVector4Array