summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add PackedRealArray as an alias for PackedFloat(32/64)ArrayAaron Franke2023-12-191-0/+6
|
* [iOS] Fix initialisation/termination of multiple statically linked extensions.bruvzg2023-11-231-7/+25
|
* Fix comparison of `Callable`s from callable_mp() of the same methodDavid Snopek2023-11-171-27/+63
|
* Merge pull request #1280 from dsnopek/callable-customDavid Snopek2023-11-175-43/+146
|\ | | | | Add `CallableCustom` that devs can use in their GDExtensions
| * Add `CallableCustom` that devs can use in their GDExtensionsDavid Snopek2023-11-065-43/+146
| |
* | Merge pull request #1298 from Repiteo/int-to-variant-fixDavid Snopek2023-11-151-1/+13
|\ \ | | | | | | Add missing int→Variant conversions
| * | Add missing int→Variant conversionsThaddeus Crews2023-11-081-1/+13
| |/
* | [iOS] Fix building as static library or xcframework, add iOS config and ↵bruvzg2023-11-092-12/+13
| | | | | | | | xcframework build script to the test project.
* | GDCLASS synced by ending with "private:"Thaddeus Crews2023-11-011-97/+101
|/ | | | | • Matches implementation used by modules and godot itself • Apply same to GDEXTENSION_CLASS, setup with same diff-friendly spacers as GDCLASS
* Add protections against registering classes that didn't use GDCLASS()David Snopek2023-10-222-0/+20
|
* clang: Add CallableCustomMethodPointerBase virtual destructorMartin Capitanio2023-10-191-0/+1
| | | | | | | | Fixes #1272 + clang++ (debian v16/v17) warning: destructor called on 'godot::CallableCustomMethodPointerBase' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
* Merge pull request #1266 from dsnopek/automatic-engine-class-registrationDavid Snopek2023-10-164-10/+83
|\ | | | | Automatically register only engine classes whose header has been included
| * Automatically register only engine classes whose header has been includedDavid Snopek2023-10-164-10/+83
| |
* | Merge pull request #1263 from dsnopek/string-name-newRémi Verschelde2023-10-121-0/+1
|\ \ | | | | | | Use the new `string_name_new_with_latin1_chars` function to improve StringName construction performance
| * | Use the new `string_name_new_with_latin1_chars` function to improve ↵David Snopek2023-10-091-0/+1
| |/ | | | | | | StringName construction performance
* / Declare explicit specializations for `CharStringT`Mikael Hermansson2023-10-121-0/+12
|/
* Changes necessary for hot reload to workDavid Snopek2023-09-252-0/+25
|
* Implement `callable_mp()` and `callable_mp_static()`David Snopek2023-09-214-0/+310
|
* Merge pull request #1238 from dsnopek/variant-call-callpDavid Snopek2023-09-211-6/+14
|\ | | | | Fix variant call compiler error (alternate)
| * Fix variant call compiler errorMatthew Murphy2023-09-091-6/+14
| | | | | | | | Co-authored-by: David Snopek <dsnopek@gmail.com>
* | Update for addition of `get_virtual_call_data_func` and `call_virtual_func` ↵David Snopek2023-09-201-0/+2
| | | | | | | | to `GDExtensionClassCreationInfo2`
* | Merge pull request #1245 from AThousandShips/alloc_fixDavid Snopek2023-09-201-2/+5
|\ \ | | | | | | Fix allocation size overflow check in `CowData`
| * | Fix allocation size overflow check in `CowData`A Thousand Ships2023-09-191-2/+5
| | |
* | | Merge pull request #1242 from AThousandShips/null_checkDavid Snopek2023-09-207-14/+14
|\ \ \ | | | | | | | | Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
| * | | Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-137-14/+14
| |/ /
* | | Merge pull request #1164 from dsnopek/classdb-singleton-alternateDavid Snopek2023-09-192-3/+10
|\ \ \ | |/ / |/| | 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-312-3/+10
| | |
* | | Support `_validate_property()`David Snopek2023-09-123-0/+38
| | |
* | | 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
| | | |
* | | | Ensure `const` correctness for wrappersA Thousand Ships2023-09-061-9/+9
| |/ / |/| |
* | | Merge pull request #1228 from Bromeon/bugfix/yet-another-boolDavid Snopek2023-09-021-2/+2
|\ \ \ | | | | | | | | GDExtension: fix `bool` unknown in C
| * | | GDExtension: fix `bool` unknown in CJan Haller2023-09-021-2/+2
| | | |
* | | | Merge pull request #1091 from ↵David Snopek2023-09-021-0/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Daylily-Zeleen/daylily-zeleen/implement_builtin_classes_vararg_methods Implement vararg methods of builtin classes.
| * | | Implement vararg methods of builtin classes.Daylily-Zeleen2023-07-031-0/+2
| | | |
* | | | Fix `Object::notification` orderMarkus Sauermann2023-08-303-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Add support for placeholder_script_instance_create/updateDavid Snopek2023-08-281-0/+2
| | | |
* | | | Add remaining component-wise `min/max` functions to `Vector*`A Thousand Ships2023-08-164-0/+32
| | | |
* | | | Fix forgotten not operatorAdam Scott2023-08-161-1/+1
| | | |
* | | | Fix Clang deprecated builtinsAdam Scott2023-08-151-5/+6
| |/ / |/| | | | | | | | | | | | | | It seems that Clang and GCC have different interpretations of certain builtins. So this PR uses std <type_traits> functions just as cowdata.h does in the godot project.
* | | Implement `String::resize()`David Snopek2023-07-311-0/+1
| |/ |/|
* | Merge pull request #1184 from Zylann/fix_get_property_list_calling_parentDavid Snopek2023-07-262-30/+29
|\ \ | | | | | | 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-262-30/+29
| |/ | | | | | | | | | | 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.
* | Merge pull request #1186 from mihe/indexed-propertiesDavid Snopek2023-07-263-9/+2
|\ \ | | | | | | Add support for indexed properties
| * | Add support for indexed propertiesMikael Hermansson2023-07-263-9/+2
| |/
* / Attempt to fully implement CharStringDavid Snopek2023-06-222-55/+78
|/
* Unregister custom classes in reverse registration orderKehom2023-06-191-0/+3
|
* Identifiers containing double underscore are reserved according to the C++ ↵Andy Maloney2023-06-155-97/+97
| | | | | | | | | | | | | | | 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.