summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp/core
Commit message (Collapse)AuthorAgeFilesLines
* Fix expected argument count for call errorsA Thousand Ships2023-12-301-22/+22
|
* Merge pull request #1280 from dsnopek/callable-customDavid Snopek2023-11-172-22/+64
|\ | | | | Add `CallableCustom` that devs can use in their GDExtensions
| * Add `CallableCustom` that devs can use in their GDExtensionsDavid Snopek2023-11-062-22/+64
| |
* | [iOS] Fix building as static library or xcframework, add iOS config and ↵bruvzg2023-11-091-11/+12
|/ | | | xcframework build script to the test project.
* Add protections against registering classes that didn't use GDCLASS()David Snopek2023-10-221-0/+1
|
* Automatically register only engine classes whose header has been includedDavid Snopek2023-10-161-7/+4
|
* Changes necessary for hot reload to workDavid Snopek2023-09-251-0/+1
|
* Implement `callable_mp()` and `callable_mp_static()`David Snopek2023-09-212-0/+94
|
* Update for addition of `get_virtual_call_data_func` and `call_virtual_func` ↵David Snopek2023-09-201-0/+2
| | | | to `GDExtensionClassCreationInfo2`
* Merge pull request #1242 from AThousandShips/null_checkDavid Snopek2023-09-202-2/+2
|\ | | | | Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
| * Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-132-2/+2
| |
* | Merge pull request #1164 from dsnopek/classdb-singleton-alternateDavid Snopek2023-09-191-0/+4
|\ \ | |/ |/| Add static methods to `ClassDB` for the methods bound to the `ClassDB` singleton
| * Add static methods to `ClassDB` for the methods bound to the `ClassDB` singletonDavid Snopek2023-07-311-0/+4
| |
* | Support `_validate_property()`David Snopek2023-09-122-0/+13
| |
* | Merge pull request #970 from ↵David Snopek2023-09-111-2/+11
|\ \ | | | | | | | | | | | | Daylily-Zeleen/daylily-zeleen/register_unexposed_class Implement register unexposed classes
| * | Implement register unexposed class.Daylily-Zeleen2023-09-041-2/+11
| | |
* | | Merge pull request #1214 from dsnopek/ptrtoarg-native-structDavid Snopek2023-09-081-0/+2
|\ \ \ | |/ / |/| | Ensure that PtrToArg specializations for native structs are used
| * | Ensure that PtrToArg specializations for native structs are usedDavid Snopek2023-08-151-0/+2
| |/
* / Fix `Object::notification` orderMarkus Sauermann2023-08-301-3/+3
|/ | | | | | For the notification-order to work correctly, it is necessary to allow the `p_reversed` argument to be used within cpp. This PR changes the necessary bindings.
* Merge pull request #1184 from Zylann/fix_get_property_list_calling_parentDavid Snopek2023-07-261-1/+1
|\ | | | | Don't call parent _get_property_list when a class doesn't define it (for internal binding).
| * Don't call parent _get_property_list when a class doesn't define it.Marc Gilleron2023-07-261-1/+1
| | | | | | | | | | | | Godot is already supposed to call _get_property_list of parent classes, so this binding function must really only return procedural properties of the class it belongs to, and not parent or child classes.
* | Add support for indexed propertiesMikael Hermansson2023-07-262-9/+1
|/
* Unregister custom classes in reverse registration orderKehom2023-06-191-0/+3
|
* Identifiers containing double underscore are reserved according to the C++ ↵Andy Maloney2023-06-153-15/+15
| | | | | | | | | | | | | | | standard Rename __* to _gde_* https://timsong-cpp.github.io/cppwp/n3337/global.names https://en.cppreference.com/w/cpp/language/identifiers Identifiers appearing as a token or preprocessing token (i.e., not in user-defined-string-literal like operator ""id) (since C++11) of one of the following forms are reserved: - identifiers with a double underscore anywhere; - identifiers that begin with an underscore followed by an uppercase letter; - in the global namespace, identifiers that begin with an underscore.
* Revert the changes from PR #1044 and #1045 and standardize on `Object **` ↵David Snopek2023-06-071-2/+2
| | | | encoding in ptrcall
* Ensure GDExtension class is the correct type for the Godot engine classDavid Snopek2023-05-164-11/+25
|
* Update to load function pointers for GDExtension interfaceDavid Snopek2023-05-096-18/+18
|
* Merge pull request #1044 from zhehangd/fix_obj_ptr_crashRémi Verschelde2023-04-011-2/+6
|\ | | | | Fix crash using Object* as parameter
| * Fix PtrToArg<Object*> crashZhehang Ding2023-03-301-2/+6
| |
* | Fix incorrect memory allocation in release builds.bruvzg2023-02-211-5/+9
| | | | | | | | Co-authored-by: lightyears <lightyears1998@hotmail.com>
* | Revert "Fix Object::cast_to<T>() for custom classes"David Snopek2023-02-161-2/+2
|/ | | | This reverts commit 75af9003dc2b1583966ab91be6ce1687378860ae.
* Fix Object::cast_to<T>() for custom classesDavid Snopek2023-02-111-2/+2
|
* Merge pull request #1011 from mihe/error-macrosRémi Verschelde2023-02-071-134/+323
|\ | | | | | | Update error macros to match core
| * Update error macros to match coreMikael Hermansson2023-01-221-134/+323
| |
* | Merge pull request #1023 from mashumafi/fix-alloc-orderRémi Verschelde2023-01-301-14/+14
|\ \ | | | | | | | | | Move DefaultTypedAllocator after memdelete
| * | Move allocator to after memdeletemashumafi2023-01-291-14/+14
| | |
* | | Merge pull request #956 from DmitriySalnikov/enum_bitfield_castRémi Verschelde2023-01-302-59/+69
|\ \ \ | |/ / |/| | | | | Fixed `VARIANT_ENUM/BITFIELD_CAST` to show the correct names
| * | Fixed variant casting for enum and bitfieldДмитрий Сальников2023-01-202-59/+69
| | |
* | | Use std type traits instead of intrinsicsGeorge Marques2023-01-281-4/+4
| |/ |/| | | | | This removes warnings and mimics what has been done in Godot itself.
* | Merge pull request #1003 from akien-mga/fix-sign-0Rémi Verschelde2023-01-201-1/+1
|\ \ | |/ |/| | | Change behavior of Math::sign to match Godot builtin
| * Change behavior of Math::sign to match Godot builtinErik Abair2023-01-191-1/+1
| | | | | | | | Fixes #551.
* | Fix sign comparison warnings in method_bind.hppAndy Maloney2023-01-191-6/+8
| | | | | | | | Part of #999
* | Expose some low level functions and String operators.bruvzg2023-01-191-47/+161
|/
* Added property info for ptr and ref + ported the implementation of the ↵Дмитрий Сальников2023-01-132-3/+9
| | | | `check` method
* Sync license copyright with upstream GH-70885Rémi Verschelde2023-01-1014-406/+406
|
* Allow method binds to take Object subclasses as argumentsFabio Alessandrelli2023-01-101-3/+18
| | | | | | As done in upstream Godot via GH-57205. Add a test that ensures it works also for "gdextended" objects.
* Extension header: amend const correctness of `p_args` parametersJan Haller2022-12-143-43/+43
|
* Rename godot-headers to gdextension, move header to top folderRémi Verschelde2022-12-149-9/+9
| | | | | | | | 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.
* Use int64_t for BitField as in Godot itselfДмитрий Сальников2022-12-131-3/+3
|
* Rename GDNative to GDExtensionGilles Roudière2022-12-1212-297/+297
| | | | | | | | | | | | | Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension -> Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION -> EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface