summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Use `GDREGISTER` defines in exampleThaddeus Crews2024-04-101-9/+9
|
* Change cmake_minimum_required to match actual requirementsytnuf2024-03-221-1/+1
| | | | | | | | | 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
* Add support for getting argument count from `Callable`sA Thousand Ships2024-03-142-0/+11
|
* Merge pull request #1399 from bruvzg/init_listDavid Snopek2024-03-123-0/+12
|\ | | | | [Packed*Array] Add support for initializer lists.
| * [Packed*Array] Add support for initializer lists.bruvzg2024-03-033-0/+12
| |
* | Fix _notification with parent and child classesDavid Snopek2024-02-225-0/+55
|/
* Allow registering "runtime classes"David Snopek2024-02-133-0/+37
|
* Allow GDExtensions to register virtual methods and call them on scriptsDavid Snopek2024-02-125-1/+27
|
* Rework GDCLASS macro to allow pure virtual functionsChris Cranford2024-01-182-3/+15
|
* CMake: Remove hardcoded warnings list and forcing -Werror on library buildsRémi Verschelde2023-12-011-22/+0
| | | | | | | | | | 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.
* Send NOTIFICATION_POSTINITIALIZE to extension classesDavid Snopek2023-11-293-0/+27
|
* Fix comparison of `Callable`s from callable_mp() of the same methodDavid Snopek2023-11-171-0/+21
|
* Merge pull request #1280 from dsnopek/callable-customDavid Snopek2023-11-173-0/+56
|\ | | | | Add `CallableCustom` that devs can use in their GDExtensions
| * Add `CallableCustom` that devs can use in their GDExtensionsDavid Snopek2023-11-063-0/+56
| |
* | [iOS] Fix building as static library or xcframework, add iOS config and ↵bruvzg2023-11-096-0/+35
|/ | | | xcframework build script to the test project.
* Merge pull request #1277 from dsnopek/variant-iter-testsRémi Verschelde2023-10-243-0/+43
|\ | | | | Add an automated test using a Variant iterator
| * Add an automated test using a Variant iteratorDavid Snopek2023-10-203-0/+43
| |
* | Merge pull request #1278 from dsnopek/gdextension-callable-bind-testDavid Snopek2023-10-223-0/+11
|\ \ | | | | | | Add test for `Callable.bind()`
| * | Add test for `Callable.bind()`David Snopek2023-10-213-0/+11
| |/
* / SCons: Disable C++ exception handling by defaultRémi Verschelde2023-10-221-1/+16
|/ | | | Counterpart to https://github.com/godotengine/godot/pull/80612.
* [SCons] Rename javascript tool to webFabio Alessandrelli2023-10-151-2/+2
| | | | And clean it up a bit.
* Merge pull request #1247 from nicholas-maltbie/nickmaltbie/javascript-wasm-fixDavid Snopek2023-10-041-0/+2
|\ | | | | Javascript Web WASM Fix
| * Added fix for javascript build for godot 4.xNick Maltbie2023-10-011-0/+2
| | | | | | | | | | | | Added changes to tools/javascript.py to add PFlags to fix SharedArrayBuffer memory error. Corrected some small errors in tools/javascript.py to support new target names. Also updated ci to include validation for web build.
* | Implement `callable_mp()` and `callable_mp_static()`David Snopek2023-09-213-0/+98
| |
* | Merge pull request #1238 from dsnopek/variant-call-callpDavid Snopek2023-09-213-0/+16
|\ \ | |/ |/| Fix variant call compiler error (alternate)
| * Fix variant call compiler errorMatthew Murphy2023-09-093-0/+16
| | | | | | | | Co-authored-by: David Snopek <dsnopek@gmail.com>
* | Support `_validate_property()`David Snopek2023-09-123-0/+13
|/
* Fix formatting of `compatibility_minimum` examplesA Thousand Ships2023-08-311-1/+1
| | | | | Without quotes the values is parsed as a float, breaking in various cases.
* Add automated tests to verify some previous fixesDavid Snopek2023-08-144-1/+100
|
* Implement `String::resize()`David Snopek2023-07-313-0/+15
|
* Merge pull request #1150 from dsnopek/charstring-fullDavid Snopek2023-07-223-0/+10
|\ | | | | Attempt to fully implement CharString
| * Attempt to fully implement CharStringDavid Snopek2023-06-223-0/+10
| |
* | Add RPC tests.Fabio Alessandrelli2023-06-303-0/+39
|/
* Merge pull request #1128 from Mathis-Z/masterRémi Verschelde2023-06-083-0/+9
|\ | | | | Fixing #1127 by making return types of auto-generated functions dynamic
| * Fixing #1127 by making return types of auto-generated functions dynamicMathis-Z2023-06-083-0/+9
| |
* | Revert the changes from PR #1044 and #1045 and standardize on `Object **` ↵David Snopek2023-06-075-45/+63
|/ | | | encoding in ptrcall
* Add automated tests that run a GDExtension (rather than just building it)David Snopek2023-05-1716-120/+242
|
* Update to load function pointers for GDExtension interfaceDavid Snopek2023-05-092-2/+3
|
* Merge pull request #1028 from asmaloney/fix-improper-conversionRémi Verschelde2023-02-071-1/+1
|\ | | | | | | Fix improper implicit conversion
| * Fix improper implicit conversionAndy Maloney2023-02-021-1/+1
| |
* | ExampleRef::get_id() should be constAndy Maloney2023-02-022-2/+2
|/
* Merge pull request #1013 from bruvzg/set_typed_moveRémi Verschelde2023-01-301-3/+0
|\ | | | | | | Move Array:set_typed to internal GDExtension structure.
| * Move Array:set_typed to internal GDExtension structure.bruvzg2023-01-301-3/+0
| |
* | Fixed variant casting for enum and bitfieldДмитрий Сальников2023-01-203-1/+31
|/
* Expose some low level functions and String operators.bruvzg2023-01-193-0/+35
|
* Fix spelling in demo scriptAndy Maloney2023-01-101-1/+1
|
* Sync license copyright with upstream GH-70885Rémi Verschelde2023-01-101-29/+4
|
* Allow method binds to take Object subclasses as argumentsFabio Alessandrelli2023-01-103-0/+8
| | | | | | As done in upstream Godot via GH-57205. Add a test that ensures it works also for "gdextended" objects.
* Rename godot-headers to gdextension, move header to top folderRémi Verschelde2022-12-142-4/+4
| | | | | | | | Changes the `<godot/gdextension_interface.h>` include to simply `<gdextension_interface.h>`. Refactor and better document the SCons and CMake logic around setting the paths to the header and API JSON file.
* Merge pull request #949 from BastiaanOlij/fix_tests_refcountingRémi Verschelde2022-12-134-8/+46
|\ | | | | | | Change example code to properly test refcounted objects