Commit Graph

1457 Commits (daf8ac1c330839304040fb0ed5e8ff5775980cc3)

Author SHA1 Message Date
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
Rémi Verschelde feaba551b5
Merge pull request #1045 from zhehangd/fix_ref_crash
Fix crash using Ref<T> as parameter
2023-04-04 11:30:08 +02:00
Rémi Verschelde e9942db502
Merge pull request #1044 from zhehangd/fix_obj_ptr_crash
Fix crash using Object* as parameter
2023-04-01 11:36:17 +02:00
Zhehang Ding 093f0673f5 Fix PtrToArg<Object*> crash 2023-03-30 19:38:12 -07:00
Rémi Verschelde 9d1c396c54
gdextension: Sync with upstream commit 92bee43adba8d2401ef40e2480e53087bcb1eaf1 (4.0-stable) 2023-03-01 15:32:44 +01:00
Rémi Verschelde e31e15bb3b
Add compatibility warning: godot-cpp is still in beta 2023-03-01 15:32:36 +01:00
Rémi Verschelde 1f1a373041
gdextension: Sync with upstream commit 0cd148313213e2923004be65bafd6a3781c917ec (4.0-rc6) 2023-02-27 08:55:28 +01:00
Rémi Verschelde 4f2b1ed2e8
gdextension: Sync with upstream commit 6296b46008fb8d8e5cb9b60af05fa1ea26b8f600 (4.0-rc5) 2023-02-25 01:16:11 +01:00
Rémi Verschelde c2c5c85ef4
gdextension: Sync with upstream commit e0de3573f3fc86062763152f5a1ac62f5a986da3 (4.0-rc4) 2023-02-23 18:05:21 +01:00
Rémi Verschelde c1ff169bf3
gdextension: Sync with upstream commit 7e79aead99a53ee7cdf383add9a6a2aea4f15beb (4.0-rc3) 2023-02-21 21:38:17 +01:00
Rémi Verschelde 2a15286060
Merge pull request #1053 from bruvzg/fix_release_memalloc
Fix incorrect memory allocation in release builds.
2023-02-21 14:51:15 +01:00
bruvzg ba4b50118d
Fix incorrect memory allocation in release builds.
Co-authored-by: lightyears <lightyears1998@hotmail.com>
2023-02-21 15:32:26 +02:00
Rémi Verschelde 2f07eb07ee
Merge pull request #1046 from dsnopek/revert-fix-object-cast-to
Revert "Fix Object::cast_to<T>() for custom classes"
2023-02-20 10:09:53 +01:00
David Snopek 964c515d75 Revert "Fix Object::cast_to<T>() for custom classes"
This reverts commit 75af9003dc.
2023-02-16 06:58:32 -06:00
Zhehang Ding 517db6686a Fix PtrToArg<Ref<T>> crash 2023-02-15 22:36:29 -08:00
Rémi Verschelde f5133c08a5
Merge pull request #1040 from zhehangd/fix_const_str_ptr
Fix compilation error: const GDExtensionStringPtr -> GDExtensionConst…
2023-02-15 10:16:49 +01:00
Zhehang Ding 07c914b479 Fix compilation error: const GDExtensionStringPtr -> GDExtensionConstStringPtr 2023-02-14 18:53:11 -08:00
Rémi Verschelde 0068320ff1
gdextension: Sync with upstream commit d2699dc7ab96fbd75faccc1f32f55baebf1d84dc (4.0-rc2) 2023-02-14 19:12:02 +01:00