忘忧の
a977f2b7a5
Merge 29d19fbed1
into 0145e900f3
2024-01-20 03:50:06 +08:00
David Snopek
0145e900f3
Merge pull request #1357 from bruvzg/cpp_64
...
Switch to 64-bit ints.
2024-01-19 12:15:55 -06:00
DaylilyZeleen
29d19fbed1
Fix object return value of builtin types' methods.
2024-01-19 14:18:31 +08:00
Rémi Verschelde
64529361b4
Merge pull request #1351 from Daylily-Zeleen/daylily-zeleen/remove_namespace_in_global_constants_binding
...
Remove "godot" namespace when binding global constants.
2024-01-11 13:10:51 +01:00
bruvzg
59a5a8b104
Switch to 64-bit ints.
2024-01-10 15:36:36 +02:00
Daylily-Zeleen
bd40a94424
Remove "godot" namespace when binding global constants.
2024-01-07 15:24:02 +08:00
A Thousand Ships
f037a697eb
Add missing `OP_POWER` operator to `Variant`
2024-01-06 21:12:52 +01:00
Mikael Hermansson
943d1c8cdf
Change bit field enums to use `uint64_t` as underlying type
2023-11-28 01:03:41 +01:00
Rémi Verschelde
4fed88afcf
Merge pull request #1307 from LAK132/master
...
Fix file list issues when trying to build with meson via cmake
2023-11-24 12:35:29 +01:00
LAK132
39c139c814
Fix file list issues when trying to build with meson via cmake
2023-11-11 23:29:33 +10:30
David Snopek
d33bd47219
Add `CallableCustom` that devs can use in their GDExtensions
2023-11-06 00:09:06 -06:00
David Snopek
64eac01d04
Merge pull request #1266 from dsnopek/automatic-engine-class-registration
...
Automatically register only engine classes whose header has been included
2023-10-16 10:47:06 -05:00
David Snopek
b507b3e591
Automatically register only engine classes whose header has been included
2023-10-16 10:19:11 -05:00
David Snopek
3d814f9e4a
Use the new `string_name_new_with_latin1_chars` function to improve StringName construction performance
2023-10-09 16:59:29 -05:00
David Snopek
b1fd1b65fd
Merge pull request #1242 from AThousandShips/null_check
...
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-20 07:32:14 -05:00
David Snopek
0d6de7a80e
Merge pull request #1164 from dsnopek/classdb-singleton-alternate
...
Add static methods to `ClassDB` for the methods bound to the `ClassDB` singleton
2023-09-19 10:33:15 -05:00
A Thousand Ships
1e5767693e
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-13 14:34:04 +02:00
David Snopek
5cdc2fc099
Merge pull request #1214 from dsnopek/ptrtoarg-native-struct
...
Ensure that PtrToArg specializations for native structs are used
2023-09-08 10:12:23 -05:00
David Snopek
8990d5a40e
Merge pull request #1091 from Daylily-Zeleen/daylily-zeleen/implement_builtin_classes_vararg_methods
...
Implement vararg methods of builtin classes.
2023-09-02 08:04:29 -05:00
David Snopek
3cd3f24150
Ensure that PtrToArg specializations for native structs are used
2023-08-15 17:54:11 -05:00
David Snopek
5eebc6b20c
Merge pull request #1193 from Zylann/version_header
...
Added generated version header
2023-08-11 10:33:49 -05:00
David Snopek
6f913563d8
Add static methods to `ClassDB` for the methods bound to the `ClassDB` singleton
2023-07-31 16:04:27 -05:00
David Snopek
8bc1c1dbeb
Implement `String::resize()`
2023-07-31 15:14:10 -05:00
Marc Gilleron
c6b2c82570
Added generated version header
2023-07-26 23:23:56 +01:00
Marc Gilleron
548c758677
Don't cache `null` forever if a singleton isn't available yet
...
# Conflicts:
# binding_generator.py
2023-07-22 16:31:28 +01:00
David Snopek
efc16b49d9
In generated methods, only construct the method StringName the first time
2023-07-13 13:05:41 -05:00
Daylily-Zeleen
3536803e9e
Implement vararg methods of builtin classes.
2023-07-03 17:30:42 +08:00
Rémi Verschelde
130644c061
Merge pull request #1138 from dsnopek/editor-plugins-deinitialize
...
Automatically remove editor plugins when deinitializing GDExtension
2023-06-19 10:43:34 +02:00
Rémi Verschelde
ca78bcf558
Merge pull request #1086 from lucasrafael98/fixes/missing-include-audio-frame
...
Fix: Include method_ptrcall.hpp on simple structs.
2023-06-19 10:43:10 +02:00
Rémi Verschelde
f56f45156b
Merge pull request #1143 from bruvzg/py_utf8
...
Force UTF-8 encoding in the binding generator script.
2023-06-16 10:30:08 +02:00
bruvzg
f1ad719ffc
Force UTF-8 encoding in the binding generator script.
2023-06-16 10:41:23 +03:00
Andy Maloney
db2394dbe7
Identifiers containing double underscore are reserved according to the C++ 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.
2023-06-15 20:45:01 -04:00
David Snopek
d28a3cbbd5
Automatically remove editor plugins when deinitializing GDExtension
2023-06-13 14:24:33 -05:00
Rémi Verschelde
d12cf071bb
Merge pull request #1128 from Mathis-Z/master
...
Fixing #1127 by making return types of auto-generated functions dynamic
2023-06-08 22:31:51 +02:00
Mathis-Z
ac98dd2752
Fixing #1127 by making return types of auto-generated functions dynamic
2023-06-08 20:35:29 +02:00
David Snopek
ad726015e7
Revert the changes from PR #1044 and #1045 and standardize on `Object **` encoding in ptrcall
2023-06-07 08:30:33 -05:00
Rémi Verschelde
2078c00bab
Merge pull request #1114 from dsnopek/editor-plugins
...
Add support for adding/removing editor plugins
2023-05-26 11:04:35 +02:00
David Snopek
e75ebffb70
Add support for adding/removing editor plugins
2023-05-16 22:02:35 -05:00
David Snopek
431e30bc32
Ensure GDExtension class is the correct type for the Godot engine class
2023-05-16 15:18:48 -05:00
David Snopek
a5c6ca5920
Update to load function pointers for GDExtension interface
2023-05-09 21:45:48 -05:00
Lucas Rafael
cb0b105402
Fix: Include method_ptrcall.hpp on simple structs.
2023-04-07 18:53:07 +01:00
Daylily-Zeleen
a614f61015
Fix global enum cast and add Varint::Type cast.
2023-02-02 16:42:15 +08:00
bruvzg
37f6e35974
Update typed array API to match "GDScript: Fix typed arrays".
2023-01-31 11:28:55 +02:00
Andy Maloney
2d5e5c0fd6
Binding generator cleanups
...
- remove unused vars
- fix a few f-strings
- remove f-string notation where not used
2023-01-30 10:57:26 -05:00
Rémi Verschelde
f59fd96ab4
Merge pull request #1013 from bruvzg/set_typed_move
...
Move Array:set_typed to internal GDExtension structure.
2023-01-30 12:31:38 +01:00
bruvzg
40d3cfd97b
Move Array:set_typed to internal GDExtension structure.
2023-01-30 13:27:25 +02:00
Rémi Verschelde
2ef10f9754
Merge pull request #956 from DmitriySalnikov/enum_bitfield_cast
...
Fixed `VARIANT_ENUM/BITFIELD_CAST` to show the correct names
2023-01-30 12:07:15 +01:00
George Marques
1c625befa3
Support typed array default values in extension API
...
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).
2023-01-28 14:01:27 -03:00
Дмитрий Сальников
6528c7177f
Fixed variant casting for enum and bitfield
2023-01-20 21:10:03 +03:00
Rémi Verschelde
2a9b21e46a
Merge pull request #1004 from asmaloney/remove-unused-ucaps
...
Remove unused ucaps header
2023-01-19 13:55:29 +01:00