Commit Graph

1274 Commits (0ddef6ed96bf1acac408291907d73cdbe69fb58f)

Author SHA1 Message Date
Rémi Verschelde ff6f5792d2
Merge pull request #1159 from mihe/unused-exports
Remove unused free-standing `initialize_level` and `deinitialize_level`
2023-07-01 00:33:09 +02:00
Mikael Hermansson 4b1072e4da Remove unused free-standing `initialize_level` and `deinitialize_level` 2023-06-30 19:36:46 +02:00
Rémi Verschelde 3e44ad1867
Merge pull request #1157 from Faless/feat/rpc_test
Add RPC tests.
2023-06-30 15:50:03 +02:00
Fabio Alessandrelli 155f2e2a62 Add RPC tests. 2023-06-30 15:07:42 +02:00
Rémi Verschelde 80986f8497
gdextension: Sync with upstream commit 46424488edc341b65467ee7fd3ac423e4d49ad34 (4.1-rc2) 2023-06-30 10:02:54 +02:00
Rémi Verschelde a4784e12b9
gdextension: Sync with upstream commit ada712e06a471da2a2f4646237830bbd7980c114 (4.1-rc1) 2023-06-29 09:51:49 +02:00
David Snopek 4df112cd95 Attempt to fully implement CharString 2023-06-22 21:03:30 -05:00
Rémi Verschelde bfc9e0bd93
gdextension: Sync with upstream commit ada712e06a471da2a2f4646237830bbd7980c114 (4.1-beta3) 2023-06-21 15:58:41 +02:00
David Snopek 2377f7ec75
Merge pull request #1047 from Kehom/master
Unregister custom classes in reverse registration order
2023-06-20 08:24:56 -05:00
Kehom 20be441026 Unregister custom classes in reverse registration order 2023-06-19 11:04:11 -03:00
Rémi Verschelde 82edc89cfa
Merge pull request #1148 from Bromeon/bugfix/uninit-ptr-signature
GDExtension: `Uninitialized*Ptr` for constructors/converters using placement new
2023-06-19 10:43:58 +02: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
Jan Haller 2d4ec829a0 GDExtension: `Uninitialized*Ptr` for constructors/converters using placement new
These methods construct their destination in-place, but the parameters are not declared using the `Uninitialized*Ptr` pointer types.
2023-06-18 23:11:12 +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
Rémi Verschelde f0065bd801
Merge pull request #1048 from asmaloney/reserved_identifiers
Identifiers containing double underscore are reserved according to the C++ standard
2023-06-16 10:29:45 +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
Rémi Verschelde 1bc9ca7b57
Merge pull request #1139 from Trey2k/master
Prepend PATH to scons env to allow use of buildroot
2023-06-15 10:58:13 +02:00
Trey Moller 6f7e80bbb6
Prepend PATH to scons env 2023-06-14 10:30:24 -05:00
Rémi Verschelde be25a50617
gdextension: Sync with upstream commit a2575cba48121a9e31c3a550ebd29398a7facf3f (4.1-beta2) 2023-06-14 10:05:18 +02: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 ee5cf3a11d
Merge pull request #1137 from dsnopek/no-more-legacy-mode
Clarify error message because there isn't a legacy Godot 4.0 mode anymore
2023-06-08 10:11:29 -05:00
David Snopek 3074d22815 Clarify error message because there isn't a legacy Godot 4.0 mode anymore 2023-06-08 09:42:03 -05:00
Rémi Verschelde 92a139d31e
Merge pull request #1129 from dsnopek/interface-print-error
Correctly load gdextension_interface_print_error
2023-06-08 16:01:40 +02:00
Rémi Verschelde b5a3aeb8ee
Merge pull request #1123 from dsnopek/revert-pr-1044-1045
Revert the changes from PR #1044 and #1045 and standardize on `Object **` encoding in ptrcall
2023-06-07 17:30:44 +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 c669f0b78a
gdextension: Sync with upstream commit 828ec2c5d005b6499c7c4c88beaf81767d05614b (4.1-beta1) 2023-06-07 13:23:12 +02:00
David Snopek 59bffc94a8 Correctly load gdextension_interface_print_error 2023-05-31 01:32:44 -05:00
David Snopek aef9ea7387
Merge pull request #1113 from Calinou/add-issue-template
Add issue template based on the main Godot repository
2023-05-26 17:00:25 -05:00
David Snopek 0c466ddb67
Merge pull request #1117 from dsnopek/sync-gdextension-interface
Synchronize gdextension_interface.h with Godot
2023-05-26 17:00:13 -05:00
David Snopek 6347ce2550 Synchronize gdextension_interface.h with Godot 2023-05-26 15:43:50 -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
Hugo Locurcio e7c57a39db
Add issue template based on the main Godot repository 2023-05-25 15:59:33 +02:00
David Snopek 2e45bd8373
Merge pull request #1101 from dsnopek/better-tests
Add automated tests that run a GDExtension (rather than just building it)
2023-05-24 21:18:12 -05:00
David Snopek 0d0d5a670b
Merge pull request #1116 from saki7/Ref-allow-non-const-access
Change Ref<T> to allow non const access to ptr
2023-05-24 21:17:25 -05:00
David Snopek 8052f818b4
Merge pull request #1050 from dsnopek/object-correct-class
Ensure GDExtension class is the correct type for the Godot engine class
2023-05-24 21:17:12 -05:00
David Snopek 08bc2ef680
Merge pull request #1115 from dgcole/master
Update Getting Started section of README.md
2023-05-24 21:16:28 -05:00
dgcole 6f0649a86d Update getting started section of README.md 2023-05-24 21:49:55 -04:00
David Snopek 1fd3f82d3a Add automated tests that run a GDExtension (rather than just building it) 2023-05-17 14:08:12 -05:00
Nana Sakisaka 48635729b9 Change Ref<T> to allow non const access to ptr 2023-05-17 19:24:09 +09: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
Rémi Verschelde 1c18413de0
Merge pull request #1095 from dsnopek/gdextension-interface
Update to load function pointers for GDExtension interface
2023-05-16 17:26:31 +02:00
Hugo Locurcio 813827c26a
Merge pull request #1108 from sasichkamega/master 2023-05-12 19:58:34 +02:00
David Snopek a5c6ca5920 Update to load function pointers for GDExtension interface 2023-05-09 21:45:48 -05:00
Alex 7f94f90b01 Update CMakeLists.txt 2023-05-06 09:55:41 +03:00
Lucas Rafael cb0b105402 Fix: Include method_ptrcall.hpp on simple structs. 2023-04-07 18:53:07 +01:00