David Snopek
82e960a810
Merge pull request #1233 from AThousandShips/wrapper_fix
...
Ensure `const` correctness for wrappers
2023-09-07 08:27:38 -05:00
A Thousand Ships
f651df5e7a
Ensure `const` correctness for wrappers
2023-09-06 19:33:03 +02:00
David Snopek
0db95a92a6
Merge pull request #1228 from Bromeon/bugfix/yet-another-bool
...
GDExtension: fix `bool` unknown in C
2023-09-02 16:13:51 -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
Jan Haller
54092861f1
GDExtension: fix `bool` unknown in C
2023-09-02 13:19:14 +02:00
David Snopek
9ada7065d6
Merge pull request #1226 from AThousandShips/version_str
...
Fix formatting of `compatibility_minimum` examples
2023-08-31 08:17:51 -05:00
A Thousand Ships
b3596a18e1
Fix formatting of `compatibility_minimum` examples
...
Without quotes the values is parsed as a float, breaking in various
cases.
2023-08-31 12:45:11 +02:00
David Snopek
9a6c741d5d
Merge pull request #1151 from Sauermann/fix-notification-order
...
Fix `Object::notification` order (cpp-bindings)
2023-08-30 14:19:51 -05:00
Markus Sauermann
c2d99fd519
Fix `Object::notification` order
...
For the notification-order to work correctly, it is necessary to
allow the `p_reversed` argument to be used within cpp.
This PR changes the necessary bindings.
2023-08-30 00:07:28 +02:00
David Snopek
dd9586b841
Merge pull request #1190 from Faless/build/godotcpp_tool
...
[SCons] Move the GodotCPP build to its own tool.
2023-08-29 13:07:38 -05:00
Fabio Alessandrelli
f8b4f60cb9
[SCons] Move the GodotCPP build to its own tool.
2023-08-29 18:14:42 +02:00
David Snopek
6d9416eb17
Merge pull request #1225 from dsnopek/placeholder-script-instance
...
Add support for placeholder_script_instance_create/update
2023-08-29 09:39:05 -05:00
David Snopek
f0405f18a3
Add support for placeholder_script_instance_create/update
2023-08-28 17:02:13 -05:00
Rémi Verschelde
c370f0f24a
Merge pull request #1221 from dsnopek/readme-improvements
...
Clarify versions and examples in the README
2023-08-17 17:14:07 +02:00
David Snopek
1588dc8437
Clarify versions and examples in the README
2023-08-17 09:39:13 -05:00
David Snopek
a7d3f00b26
Merge pull request #1218 from AThousandShips/readme_fix
...
Fix link to test project in readme
2023-08-17 06:27:11 -05:00
A Thousand Ships
e586e11637
Fix link to test project in readme
...
Also updated format for library paths
2023-08-17 10:51:12 +02:00
David Snopek
7ed7a84782
Merge pull request #1197 from AThousandShips/vec_elem
...
Add remaining component-wise `min/max` functions to `Vector*`
2023-08-16 16:45:33 -05:00
David Snopek
112e41bd8f
Merge pull request #1204 from akien-mga/scons-targets-sync-with-godot
...
SCons: Sync `targets.py` fully with upstream Godot
2023-08-16 10:02:54 -05:00
A Thousand Ships
52eb77efd4
Add remaining component-wise `min/max` functions to `Vector*`
2023-08-16 13:52:51 +02:00
Rémi Verschelde
74b352e979
Merge pull request #1215 from adamscott/fix-deprecated-builtins-clang-2
...
Fix forgotten not operator
2023-08-16 12:29:56 +02:00
Adam Scott
f5c8e5190f
Fix forgotten not operator
2023-08-16 05:30:40 -04:00
Rémi Verschelde
524bbd3ee9
Merge pull request #1211 from adamscott/fix-deprecated-builtins-clang
...
Fix Clang deprecated builtins
2023-08-16 09:12:41 +02:00
Adam Scott
5c262844ad
Fix Clang deprecated builtins
...
It seems that Clang and GCC have different interpretations of certain
builtins. So this PR uses std <type_traits> functions just as cowdata.h
does in the godot project.
2023-08-15 18:50:47 -04:00
Rémi Verschelde
df5500565a
Merge pull request #1209 from dsnopek/missing-tests
...
Add automated tests to verify some previous fixes
2023-08-15 09:30:21 +02:00
David Snopek
d5fab0b9f8
Add automated tests to verify some previous fixes
2023-08-14 20:48:51 -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
Rémi Verschelde
600e749d9b
SCons: Sync `targets.py` fully with upstream Godot
...
- Reorders existing code to match Godot.
- Adds `NDEBUG` for non-dev builds.
- Adds `-gdwarf-4` for Clang debug symbols.
- Adds strip link flag for GCC/Clang builds without debug symbols.
2023-08-10 09:23:32 +02:00
David Snopek
c47bd60c73
Merge pull request #1203 from dsnopek/1082-update
...
Statically link mingw/msvc runtime libraries on Windows
2023-08-09 18:53:16 -05:00
Feiyun Wang
a745c2ac47
Statically link mingw/msvc runtime libraries on Windows
...
Co-authored-by: David Snopek <dsnopek@gmail.com>
2023-08-09 13:38:38 -05:00
David Snopek
5834e16a22
Merge pull request #1166 from dsnopek/string-resize
...
Implement `String::resize()` in godot-cpp
2023-07-31 18:31:24 -05:00
David Snopek
845226d66a
Merge pull request #1191 from Faless/build/unify_osxcross
...
[SCons] Merge OSXCross tools into platform ones
2023-07-31 15:40:27 -05:00
David Snopek
d168dd021e
Merge pull request #1189 from Faless/build/compiledb
...
[SCons] Add option to generate a compilation database.
2023-07-31 15:39:07 -05:00
David Snopek
494b51698d
Merge pull request #1188 from adamscott/add-platform-macros
...
Add platform macros
2023-07-31 15:38:47 -05:00
David Snopek
8bc1c1dbeb
Implement `String::resize()`
2023-07-31 15:14:10 -05:00
David Snopek
c5d8447861
Merge pull request #1181 from Zylann/fix_singleton_caching
...
Don't cache `null` forever if a singleton isn't available yet
2023-07-26 21:09:10 -05:00
Marc Gilleron
c6b2c82570
Added generated version header
2023-07-26 23:23:56 +01:00
David Snopek
1d49bef096
Merge pull request #1184 from Zylann/fix_get_property_list_calling_parent
...
Don't call parent _get_property_list when a class doesn't define it (for internal binding).
2023-07-26 15:31:15 -05:00
David Snopek
d15550fdee
Merge pull request #1186 from mihe/indexed-properties
...
Add support for indexed properties
2023-07-26 14:22:34 -05:00
Marc Gilleron
baf0b9e0f7
Don't call parent _get_property_list when a class doesn't define it.
...
Godot is already supposed to call _get_property_list of parent classes,
so this binding function must really only return procedural properties of
the class it belongs to, and not parent or child classes.
2023-07-26 20:12:25 +01:00
Mikael Hermansson
7d8cb7c155
Add support for indexed properties
2023-07-26 00:31:53 +02:00
Adam Scott
9d9f4279ed
Add platform macros
2023-07-23 19:23:01 -04:00
Fabio Alessandrelli
6d195137fe
[SCons] Merge OSXCross tools into platofrm ones
2023-07-23 22:54:07 +02:00
Fabio Alessandrelli
2586ad016e
[SCons] Add option to generate a compilation database.
2023-07-22 20:04:30 +02: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
3162be28e5
Merge pull request #1150 from dsnopek/charstring-full
...
Attempt to fully implement CharString
2023-07-22 09:04:27 -05:00
David Snopek
ef5a185dc4
Merge pull request #1176 from dsnopek/string-name-allocate-once
...
In generated methods, only allocate the method StringName the first time
2023-07-22 09:04:13 -05:00
Yuri Sizov
1009da4d7e
gdextension: Sync with upstream commit bd6af8e0ea69167dd0627f3bd54f9105bda0f8b5 (4.1.1-stable)
2023-07-17 20:10:45 +02:00
David Snopek
749b0b9ae0
Merge pull request #1172 from adamscott/add-cache-dir-gitignore
...
Add lower-case "*.cache" in ".gitignore"
2023-07-14 11:41:03 -05:00
David Snopek
67bd2eac44
Merge pull request #1170 from adamscott/import-env-if-exists
...
Import `env` if possible
2023-07-14 11:40:52 -05:00