Commit Graph

1042 Commits (aef9ea73875ac763a89d1c51307f53faa87d535f)

Author SHA1 Message Date
Rémi Verschelde 4c5cfe3876
Merge pull request #940 from touilleMan/fix-get_property_list-stringname-lifetime
Fix lifetime of StringName objects returned by Wrapped::_get_property_list
2022-11-29 22:37:57 +01:00
Emmanuel Leblond fa405a8337
Fix lifetime of StringName objects returned by Wrapped::_get_property_list 2022-11-29 18:23:56 +01:00
Rémi Verschelde 576bd17285
headers: Sync with upstream commit 7f8ecffa5 (4.0-beta6) 2022-11-23 15:43:17 +01:00
Rémi Verschelde 12c022ee37
Merge pull request #927 from asmaloney/type-warnings
Fix some type warnings in example
2022-11-23 15:42:47 +01:00
Rémi Verschelde 4a4e2b0239
Merge pull request #930 from rune-scape/rune-missing-string-ops
Add missing String operators
2022-11-22 10:25:02 +01:00
Rémi Verschelde 6bebaa36bf
Merge pull request #932 from Faless/build/4.x_msvc_runtime
[SCons] Link MSVC debug runtime for optimize=none|debug only.
2022-11-21 11:38:55 +01:00
Rémi Verschelde 17170fe23c
Merge pull request #929 from asmaloney/static-analysis-fixes
Basic static analysis fixes
2022-11-21 11:38:37 +01:00
Fabio Alessandrelli edf02f8319 [SCons] Link MSVC debug runtime for optimize=none|debug only.
Select windows runtime in "targets" tool, use "/MDd" flag only when
building with optimize="none" and optimize="debug".
2022-11-21 11:04:10 +01:00
rune-scape d04ce481c4 Add missing String operators 2022-11-20 03:44:54 -05:00
Andy Maloney c7e34c2f9d Basic static analysis fixes
- remove extraneous semicolons
- use "nullptr" instead of "0"
- remove "break" after "return"
- use <cstdio> instead of <stdio.h>
2022-11-18 17:46:13 -05:00
Andy Maloney fbf7f7bc36 Fix some type warnings in example 2022-11-16 16:43:44 -05:00
Rémi Verschelde 6c2f9196d7
headers: Resync with actual 4.0-beta5 release build 2022-11-16 12:36:01 +01:00
Rémi Verschelde 00db31c4f0
headers: Sync with upstream commit 89a33d28f (4.0-beta5) 2022-11-16 10:36:25 +01:00
Rémi Verschelde d9c72c6773
Fixup after 243ec87918 2022-11-16 10:33:39 +01:00
Rémi Verschelde 243ec87918
Sync gdnative_interface.h with upstream refactoring
Syncs with https://github.com/godotengine/godot/pull/68701.
Breaks compat slightly by reordering member variables.
2022-11-16 09:55:03 +01:00
Rémi Verschelde dc38c72432
Merge pull request #924 from aaronfranke/color-names 2022-11-14 09:16:54 +01:00
Aaron Franke 1858e349c8
Update named colors to be in sync with the engine 2022-11-12 00:31:06 -06:00
Rémi Verschelde bb5579d075
Merge pull request #920 from touilleMan/fix-using-godot-required
fix https://github.com/godotengine/godot-cpp/issues/918
2022-11-11 22:59:31 +01:00
Emmanuel Leblond 2745d341aa
Fix broken namespace isolation in GDCLASS macro 2022-11-11 16:45:42 +01:00
Rémi Verschelde 10467e3062
Merge pull request #913 from bruvzg/mac_android 2022-11-11 13:14:05 +01:00
bruvzg 6e7a24d390
Fix Android build on macOS. 2022-11-10 15:20:15 +02:00
Emmanuel Leblond ce3c08359a
Merge pull request #896 from touilleMan/stringname-in-gdextension-api
Uses `StringName` in GDExtension perf critical instance creation & method/properties setter/getter
2022-11-08 23:00:42 +01:00
Emmanuel Leblond ed4d3d36f9
Fix missing final newline in godot-headers/extension_api.json 2022-11-08 21:56:41 +01:00
Emmanuel Leblond b6ba0dca13
StringName is working fine with demo \o/ 2022-11-08 21:44:33 +01:00
Emmanuel Leblond 3b82d5937b
Correct GDNativeExtensionScriptInstanceToString 2022-11-08 21:44:32 +01:00
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