Commit Graph

866 Commits (d1963dc133d3fdc8f6ab90d47a87158dac7ebd2a)

Author SHA1 Message Date
Emmanuel Leblond d1963dc133
Correct __constant_get_bitfield_name with StringName 2022-11-08 21:44:32 +01:00
Emmanuel Leblond a706a9ceb9
Remove now useless `_alloc_and_copy_cstr` 2022-11-08 21:44:31 +01:00
Emmanuel Leblond e24b6b0e51
Use StringName in the whole GDExtension API instead of const char * 2022-11-08 21:44:31 +01:00
Emmanuel Leblond 0e81f89dd3
Uses `StringName` in GDExtension perf critical instance creation & method/properties setter/getter 2022-11-08 21:44:30 +01:00
Fabio Alessandrelli 73ad6717e9
Merge pull request #908 from Faless/build/4.x_cxxflags
[SCons] Remove bogus CCFLAGS from windows toolchain.
2022-11-04 09:12:22 +01:00
Rémi Verschelde 727673a043
headers: Sync with upstream commit e6751549c (4.0-beta4) 2022-11-03 13:53:27 +01:00
Fabio Alessandrelli 35ec1403dc [SCons] Remove bogus CCFLAGS from windows toolchain.
The c++ standard is added as part of the main SConstruct
2022-11-02 16:45:38 +01:00
Fabio Alessandrelli adf4802f4b
Merge pull request #895 from Faless/ext/add_missing_nativeptr
Add missing bindings for GDNativePtr<void>.
2022-10-20 20:47:48 +02:00
Fabio Alessandrelli a9c341656d Add missing bindings for GDNativePtr<void>. 2022-10-20 18:08:15 +02:00
Rémi Verschelde f33dfdbe26
Merge pull request #883 from rburing/abstract_class
Add support for virtual and abstract classes
2022-10-16 08:56:03 +02:00
Ricardo Buring 01960ffc9f Add support for virtual and abstract classes 2022-10-15 13:15:05 +02:00
Rémi Verschelde 1044251a9e headers: Sync with upstream commit 01ae26d31 (4.0-beta3) 2022-10-14 10:14:55 +02:00
Rémi Verschelde 3abd5e131f
Merge pull request #888 from touilleMan/gdextension-typed-enum-in-struct 2022-10-13 14:22:03 +02:00
Emmanuel Leblond b21931c4a3
Type `GDNativePropertyInfo.type` field as `GDNativeVariantType` 2022-10-13 14:04:54 +02:00
Rémi Verschelde 779eaba428
Merge pull request #891 from mihe/classdb-deinit
Fix use-after-free when deleting objects from extension terminator
2022-10-11 08:22:50 +02:00
Mikael Hermansson cddaf50ff8 Fix use-after-free when deleting objects from extension terminator 2022-10-11 00:59:35 +02:00
Rémi Verschelde 6696bebfa6 Merge pull request #887 from aaronfranke/static-checks
Add more static checks and move to separate file to match main repo
2022-10-10 13:51:19 +02:00
Rémi Verschelde 16a3c32da9 Merge pull request #879 from touilleMan/fix-variant-type-in-extension-api-dump
Fix Variant types displayed as `Nil` in extension_api.json
2022-10-10 13:51:14 +02:00
Emmanuel Leblond d17b256fdd
Correct godot-headers/extension_api.json `operator.right_type` field Nil -> Variant 2022-10-10 00:56:35 +02:00
Emmanuel Leblond 5282009121
Fix Variant types displayed as `Nil` in extension_api.json 2022-10-10 00:56:35 +02:00
Aaron Franke 592bd15c7a
Run scripts to format and make headers consistent 2022-10-09 01:47:07 -05:00
Aaron Franke bcfa3bf320
Add more static checks and move to separate file to match main repo 2022-10-09 01:46:28 -05:00
Rémi Verschelde f69f1bb58f Merge pull request #884 from akien-mga/update-makefile
Update Makefile after recent buildsystem changes
2022-10-07 22:25:58 +02:00
Rémi Verschelde db8679443f Merge pull request #885 from aaronfranke/core-data-structs
Update core data structures to match the engine
2022-10-07 22:25:54 +02:00
Rémi Verschelde 0eba81ef79 Merge pull request #876 from Daylily-Zeleen/Daylily-Zeleen/master
Add detail infos for binding error message.
2022-10-07 22:25:49 +02:00
Rémi Verschelde 3f3253ec2f Merge pull request #881 from mihe/builtin-binds
Bind enums in built-in types and expose bindings for global constants
2022-10-07 22:25:44 +02:00
Aaron Franke 65eeb94f75
Update core data structures to match the engine 2022-10-07 11:27:41 -05:00
Rémi Verschelde 67c9b2f8f4 Update Makefile after recent buildsystem changes
Fixes #882.
2022-10-06 14:34:29 +02:00
Mikael Hermansson 40d181d2f3 Bind enums in built-in types and expose bindings for global constants 2022-10-06 11:16:17 +02:00
Rémi Verschelde 1507253bd5 Merge pull request #864 from Zylann/fix_passing_null
Fix passing null to functions taking Object parameters
2022-10-05 10:37:17 +02:00
Rémi Verschelde 50a534bf55 Merge pull request #880 from aaronfranke/struct
Use `struct` instead of `class` for core structures
2022-10-05 10:35:59 +02:00
Rémi Verschelde 91afc08de1 Merge pull request #855 from Zylann/fix_issue854_virtual_methods
Fix deriving a custom class with virtual methods
2022-10-05 10:35:54 +02:00
Aaron Franke 0455f72ede
Use struct instead of class for core structures 2022-10-05 01:46:15 -05:00
Rémi Verschelde 4e5d0ee3a8 Merge pull request #867 from Faless/build/4.x_unify_targets
[SCons] Unify tools/target build type configuration
2022-10-04 16:39:51 +02:00
Rémi Verschelde d25cae9b61 Merge pull request #859 from aaronfranke/basis-transform-quat
Update Basis/Transform3D/Quaternion to match the engine
2022-10-04 16:39:46 +02:00
Rémi Verschelde 047b08922d Merge pull request #857 from aaronfranke/you-just-got-vectored
Update Vector2/2i/3/3i/4/4i to match the engine
2022-10-04 16:39:42 +02:00
Fabio Alessandrelli 64b2c9be0b [SCons] Refactor targets, symbols, optimizations.
Now matches Godot `master` target names and supports the same flags with
the following notable exceptions:
- The default target is "template_debug", since it's compatible with
  editor builds (and TOOLS_ENABLED is never used internally).
- separate_debug_symbols is still not supported, and will be done in a
  separate commit.
2022-10-04 16:05:40 +02:00
Aaron Franke fc879c04c8
Update Vector4/4i to match the engine 2022-10-01 21:09:05 -05:00
Aaron Franke d479208a8f
Update Vector2/2i/3/3i to match the engine 2022-10-01 21:09:05 -05:00
daylilyzeleen 3e91ec1729 Add detail infos for binding error message. 2022-09-30 15:16:43 +08:00
Rémi Verschelde fa4d18f21c headers: Sync with upstream commit f8745f2f7 (4.0-beta2) 2022-09-29 09:12:41 +02:00
Rémi Verschelde e51df8450c
Merge pull request #870 from bruvzg/ts_wrapper 2022-09-28 11:29:13 +02:00
bruvzg fb8253c912
Add wrapper function generation for built-in module ↔ godot-cpp interoperability. 2022-09-28 10:04:35 +03:00
Marc Gilleron cd2232eddf Fix passing null to functions taking Object parameters 2022-09-23 21:20:37 +01:00
Rémi Verschelde e40aa112ee
Merge pull request #841 from bruvzg/typed_array
Implement support for typed arrays.
2022-09-23 09:19:37 +02:00
bruvzg c001d0e5c7
Implement support for typed arrays. 2022-09-23 09:02:00 +03:00
Marc Gilleron 5de2c059d1 Fix deriving a custom class with virtual methods 2022-09-21 19:31:30 +01:00
Aaron Franke e83d472c00
Update Basis/Transform3D/Quaternion to match the engine 2022-09-20 01:07:45 -05:00
Rémi Verschelde 8670305589
Merge pull request #856 from aaronfranke/rename-elements
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-09-20 07:02:49 +02:00
Aaron Franke e26a75cd0c
Rename Basis "elements" to "rows"
https://github.com/godotengine/godot/pull/60627
2022-09-19 18:22:52 -05:00