summaryrefslogtreecommitdiffstats
path: root/binding_generator.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix global enum cast and add Varint::Type cast.Daylily-Zeleen2023-02-021-1/+7
|
* Update typed array API to match "GDScript: Fix typed arrays".bruvzg2023-01-311-0/+1
|
* Binding generator cleanupsAndy Maloney2023-01-301-28/+26
| | | | | | - remove unused vars - fix a few f-strings - remove f-string notation where not used
* Merge pull request #1013 from bruvzg/set_typed_moveRémi Verschelde2023-01-301-0/+1
|\ | | | | | | Move Array:set_typed to internal GDExtension structure.
| * Move Array:set_typed to internal GDExtension structure.bruvzg2023-01-301-0/+1
| |
* | Merge pull request #956 from DmitriySalnikov/enum_bitfield_castRémi Verschelde2023-01-301-4/+4
|\ \ | |/ |/| | | Fixed `VARIANT_ENUM/BITFIELD_CAST` to show the correct names
| * Fixed variant casting for enum and bitfieldДмитрий Сальников2023-01-201-4/+4
| |
* | Support typed array default values in extension APIGeorge Marques2023-01-281-0/+2
|/ | | | | | | The API JSON has changed syntax for default values of typed arrays. This detects the new format and use initializer lists (currently empty since the TypedArray class does not support initializer list construction and default values are always empty arrays).
* Merge pull request #1004 from asmaloney/remove-unused-ucapsRémi Verschelde2023-01-191-1/+0
|\ | | | | | | Remove unused ucaps header
| * Remove unused ucaps headerAndy Maloney2023-01-191-1/+0
| | | | | | | | | | | | These static structs were being included in every file string.hpp was included in... Part of #999
* | Expose some low level functions and String operators.bruvzg2023-01-191-4/+107
|/
* Sync license copyright with upstream GH-70885Rémi Verschelde2023-01-101-29/+29
|
* Rename float=64 build option to precision=doubleRicardo Buring2023-01-091-4/+5
| | | | | This makes the build system consistent with Godot again. Also fix CMake build to define REAL_T_IS_DOUBLE when precision=double.
* Fix enum return value size.bruvzg2023-01-071-1/+6
|
* Merge pull request #903 from PapyChacal/build_libraryFabio Alessandrelli2022-12-191-3/+4
|\ | | | | Make build_library=no usable at godot-cpp's root
| * Remove gen from emitted files to solve circular dependency with ↵Emilien Bauer2022-12-191-3/+4
| | | | | | | | | | | | | | build_library=no. Use env variable to pass the output dir instead. Add a CI step to guard regression on this. Clean the generated sources to avoid interfering with next steps.
* | Rename godot-headers to gdextension, move header to top folderRémi Verschelde2022-12-141-1/+1
| | | | | | | | | | | | | | | | 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.
* | Rename GDNative to GDExtensionGilles Roudière2022-12-121-48/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 const qualifier for parameters in GDExtension api functionsEmmanuel Leblond2022-12-031-6/+6
| |
* | Add missing String operatorsrune-scape2022-11-201-16/+20
| |
* | StringName is working fine with demo \o/Emmanuel Leblond2022-11-081-2/+14
| |
* | Use StringName in the whole GDExtension API instead of const char *Emmanuel Leblond2022-11-081-11/+12
| |
* | Uses `StringName` in GDExtension perf critical instance creation & ↵Emmanuel Leblond2022-11-081-6/+14
|/ | | | method/properties setter/getter
* Fix Variant types displayed as `Nil` in extension_api.jsonEmmanuel Leblond2022-10-101-5/+6
|
* Bind enums in built-in types and expose bindings for global constantsMikael Hermansson2022-10-061-2/+24
|
* Merge pull request #864 from Zylann/fix_passing_nullRémi Verschelde2022-10-051-1/+3
|\ | | | | | | Fix passing null to functions taking Object parameters
| * Fix passing null to functions taking Object parametersMarc Gilleron2022-09-231-1/+3
| |
* | Merge pull request #880 from aaronfranke/structRémi Verschelde2022-10-051-9/+12
|\ \ | | | | | | | | | Use `struct` instead of `class` for core structures
| * | Use struct instead of class for core structuresAaron Franke2022-10-051-9/+12
| | |
* | | Merge pull request #855 from Zylann/fix_issue854_virtual_methodsRémi Verschelde2022-10-051-3/+8
|\ \ \ | |/ / |/| | | | | Fix deriving a custom class with virtual methods
| * | Fix deriving a custom class with virtual methodsMarc Gilleron2022-09-211-3/+8
| | |
* | | Add wrapper function generation for built-in module ↔ godot-cpp ↵bruvzg2022-09-281-0/+72
| |/ |/| | | | | interoperability.
* | Implement support for typed arrays.bruvzg2022-09-231-5/+56
|/
* Merge pull request #838 from PapyChacal/scons-cachingFabio Alessandrelli2022-09-191-0/+10
|\ | | | | Add options to use scons caching for faster iteration.
| * Add options to use scons caching for faster iteration.Emilien Bauer2022-09-191-0/+10
| | | | | | | | Sort the sets in source generation so they are generated consistently between runs; otherwise caching is useless.
* | Merge pull request #849 from Zylann/const_cast_toRémi Verschelde2022-09-191-0/+5
|\ \ | | | | | | | | | cast_to` for `const Object*`
| * | Add `Object::cast_to` for `const Object*`Marc Gilleron2022-09-181-0/+5
| | |
* | | Class constants should be staticMarc Gilleron2022-09-181-1/+1
|/ /
* / Fix get_file_list not returning all generated files.Fabio Alessandrelli2022-09-111-5/+18
|/ | | | Adds a CI static check for it.
* Generate constants in the bindings generatorAaron Franke2022-09-021-0/+7
|
* Merge pull request #703 from AlphaSoftLLC/fix_struct_forward_declarationRémi Verschelde2022-08-311-2/+19
|\
| * Native structures forward declaration fixNikita Parfenov2022-02-161-2/+19
| |
* | Add bindings for Vector4, Vector4i, Projection built-in types.bruvzg2022-07-211-0/+9
| |
* | Add support for BitField hint, sync API files.bruvzg2022-07-111-9/+38
| |
* | Fix typo in static method binding generatorRémi Verschelde2022-07-081-1/+1
| | | | | | | | Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* | Unify bits, android_arch, macos_arch ios_arch into arch, support non-x86Aaron Franke2022-06-011-1/+1
| | | | | | | | Unify arguments and add support for ARM64 and RV64 Linux
* | Add double precision build support.bruvzg2022-05-041-3/+11
| |
* | [Scons] Use builder to track bindings regeneration.Fabio Alessandrelli2022-05-031-9/+27
| | | | | | | | | | | | | | | | Using a scons Builder we now regenerate the bindings automatically when the Godot API json or header has changed. The option to force bindings regeneration (generate_bindings=yes) is retained.
* | [CI] Add python file format to static checks.Fabio Alessandrelli2022-05-021-2/+6
| | | | | | | | Uses the same version of `black` as godot.
* | Add support for variadic method binds with the typed return. Sync headers.bruvzg2022-03-301-1/+6
| |