summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add support for adding/removing editor pluginsDavid Snopek2023-05-161-0/+2
| |
* | Merge pull request #1116 from saki7/Ref-allow-non-const-accessDavid Snopek2023-05-241-14/+3
|\ \ | | | | | | Change Ref<T> to allow non const access to ptr
| * | Change Ref<T> to allow non const access to ptrNana Sakisaka2023-05-171-14/+3
| |/
* / Ensure GDExtension class is the correct type for the Godot engine classDavid Snopek2023-05-166-17/+31
|/
* Update to load function pointers for GDExtension interfaceDavid Snopek2023-05-098-28/+162
|
* Merge pull request #1045 from zhehangd/fix_ref_crashRémi Verschelde2023-04-041-6/+9
|\ | | | | Fix crash using Ref<T> as parameter
| * Fix PtrToArg<Ref<T>> crashZhehang Ding2023-02-151-6/+9
| |
* | 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-212-10/+14
| | | | | | | | 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
| |
* | Update typed array API to match "GDScript: Fix typed arrays".bruvzg2023-01-311-23/+19
| |
* | Merge pull request #982 from WildRackoon/templates-add-LocalVectorRémi Verschelde2023-01-301-0/+339
|\ \ | | | | | | | | | Add missing local_vector.hpp template
| * | Add missing LocalVector templateRackoon2023-01-301-0/+339
| | | | | | | | | | | | Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* | | 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
* | | Merge pull request #1004 from asmaloney/remove-unused-ucapsRémi Verschelde2023-01-191-1415/+0
|\ \ \ | | | | | | | | | | | | Remove unused ucaps header
| * | | Remove unused ucaps headerAndy Maloney2023-01-191-1415/+0
| |/ / | | | | | | | | | | | | | | | These static structs were being included in every file string.hpp was included in... Part of #999
* | | Merge pull request #939 from bruvzg/gde_low_level_funcs_cppRémi Verschelde2023-01-193-49/+175
|\ \ \ | | | | | | | | | | | | Expose some low level functions and String operators.
| * | | Expose some low level functions and String operators.bruvzg2023-01-193-49/+175
| |/ /
* | | Merge pull request #965 from WildRackoon/fix-GDCLASS-fwddeclarationRémi Verschelde2023-01-191-0/+2
|\ \ \ | | | | | | | | | | | | Fix GDCLASS needs explicit ClassDB fwd declaration
| * | | Fix GDCLASS needs explicit ClassDB fwd declarationRackoon2022-12-161-0/+2
| | | |
* | | | "Wrapped" has virtual functions so it should have a virtual destructor.Andy Maloney2023-01-191-0/+1
| |/ / |/| | | | | | | | Deleting an object through a pointer to a base class is undefined behaviour unless the destructor in the base class is virtual.
* | | Merge pull request #997 from asmaloney/fix-shadow-eulerorderRémi Verschelde2023-01-181-9/+1
|\ \ \ | | | | | | | | Fix a shadowed enum (EulerOrder)
| * | | Fix a shadowed enum (EulerOrder)Andy Maloney2023-01-171-9/+1
| | | | | | | | | | | | | | | | Use the global constants.
* | | | Merge pull request #983 from rburing/variant_to_from_objectidRémi Verschelde2023-01-181-0/+4
|\ \ \ \ | |/ / / |/| | | Add conversions between `Variant` and `ObjectID`
| * | | Add conversions between Variant and ObjectIDRicardo Buring2023-01-011-0/+4
| | |/ | |/|
* | | Added property info for ptr and ref + ported the implementation of the ↵Дмитрий Сальников2023-01-133-5/+11
| | | | | | | | | | | | `check` method
* | | Sync license copyright with upstream GH-70885Rémi Verschelde2023-01-1058-1683/+1683
| | |
* | | 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-1411-11/+11
| | | | | | | | | | | | | | | | 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 #958 from BastiaanOlij/improve_gdextension_virtual_refRémi Verschelde2022-12-141-2/+13
|\ \ | | | | | | Fix virtual GDExtension method Ref<T> conversion
| * | Fix virtual GDExtension method Ref<T> conversionBastiaan Olij2022-12-131-2/+13
| | |
* | | Use int64_t for BitField as in Godot itselfДмитрий Сальников2022-12-131-3/+3
|/ /
* / Rename GDNative to GDExtensionGilles Roudière2022-12-1216-426/+426
|/ | | | | | | | | | | | | 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
* Fix cast on PtrToArg::convertEmmanuel Leblond2022-12-051-2/+2
|
* Fix const qualifier for parameters in GDExtension api functionsEmmanuel Leblond2022-12-0311-143/+143
|
* Fix lifetime of StringName objects returned by Wrapped::_get_property_listEmmanuel Leblond2022-11-291-206/+207
|
* Basic static analysis fixesAndy Maloney2022-11-1811-16/+16
| | | | | | | - remove extraneous semicolons - use "nullptr" instead of "0" - remove "break" after "return" - use <cstdio> instead of <stdio.h>
* Update named colors to be in sync with the engineAaron Franke2022-11-121-146/+149
|