godot-4.2-stable
版本发布时间: 2023-12-04 16:27:29
godotengine/godot-cpp最新发布版本:godot-4.3-stable(2024-08-15 21:05:45)
What's Changed
- [MSVC] Force UTF-8 encoding. by @bruvzg in https://github.com/godotengine/godot-cpp/pull/1175
- Import
env
if possible by @adamscott in https://github.com/godotengine/godot-cpp/pull/1170 - Add lower-case "*.cache" in ".gitignore" by @adamscott in https://github.com/godotengine/godot-cpp/pull/1172
- In generated methods, only allocate the method StringName the first time by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1176
- Attempt to fully implement CharString by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1150
- Add support for indexed properties by @mihe in https://github.com/godotengine/godot-cpp/pull/1186
- Don't call parent _get_property_list when a class doesn't define it (for internal binding). by @Zylann in https://github.com/godotengine/godot-cpp/pull/1184
- Don't cache
null
forever if a singleton isn't available yet by @Zylann in https://github.com/godotengine/godot-cpp/pull/1181 - Add platform macros by @adamscott in https://github.com/godotengine/godot-cpp/pull/1188
- [SCons] Add option to generate a compilation database. by @Faless in https://github.com/godotengine/godot-cpp/pull/1189
- [SCons] Merge OSXCross tools into platform ones by @Faless in https://github.com/godotengine/godot-cpp/pull/1191
- Implement
String::resize()
in godot-cpp by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1166 - Statically link mingw/msvc runtime libraries on Windows by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1203
- Added generated version header by @Zylann in https://github.com/godotengine/godot-cpp/pull/1193
- Add automated tests to verify some previous fixes by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1209
- Fix Clang deprecated builtins by @adamscott in https://github.com/godotengine/godot-cpp/pull/1211
- Fix forgotten not operator by @adamscott in https://github.com/godotengine/godot-cpp/pull/1215
- SCons: Sync
targets.py
fully with upstream Godot by @akien-mga in https://github.com/godotengine/godot-cpp/pull/1204 - Add remaining component-wise
min/max
functions toVector*
by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1197 - Fix link to test project in readme by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1218
- Clarify versions and examples in the README by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1221
- Add support for placeholder_script_instance_create/update by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1225
- [SCons] Move the GodotCPP build to its own tool. by @Faless in https://github.com/godotengine/godot-cpp/pull/1190
- Fix
Object::notification
order (cpp-bindings) by @Sauermann in https://github.com/godotengine/godot-cpp/pull/1151 - Fix formatting of
compatibility_minimum
examples by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1226 - Implement vararg methods of builtin classes. by @Daylily-Zeleen in https://github.com/godotengine/godot-cpp/pull/1091
- GDExtension: fix
bool
unknown in C by @Bromeon in https://github.com/godotengine/godot-cpp/pull/1228 - Ensure
const
correctness for wrappers by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1233 - Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/godotengine/godot-cpp/pull/1231
- Ensure that PtrToArg specializations for native structs are used by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1214
- [SCons] Fixed crashes in several scripts by @DmitriySalnikov in https://github.com/godotengine/godot-cpp/pull/1237
- Check that GDExtension is opened by compatible Godot version by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1208
- Implement register unexposed classes by @Daylily-Zeleen in https://github.com/godotengine/godot-cpp/pull/970
- Support
_validate_property()
by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1239 - Load 'print_error_with_message' function by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1243
- Add static methods to
ClassDB
for the methods bound to theClassDB
singleton by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1164 - Replace
ERR_FAIL_COND
withERR_FAIL_NULL
where applicable by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1242 - Fix allocation size overflow check in
CowData
by @AThousandShips in https://github.com/godotengine/godot-cpp/pull/1245 - Update for addition of
get_virtual_call_data_func
andcall_virtual_func
toGDExtensionClassCreationInfo2
by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1246 - Add support to import custom variables from parent SConstruct (redux) by @adamscott in https://github.com/godotengine/godot-cpp/pull/1220
- Handle missing instance binding callbacks by finding the closest parent by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1165
- Fix variant call compiler error (alternate) by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1238
- Implement
callable_mp()
andcallable_mp_static()
by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1155 - Changes necessary for hot reload to work by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1200
- CI: Fix MinGW install error by pinning to earlier version by @akien-mga in https://github.com/godotengine/godot-cpp/pull/1259
- Javascript Web WASM Fix by @nicholas-maltbie in https://github.com/godotengine/godot-cpp/pull/1247
- Update for
get_class_category
added toGDExtensionScriptInstanceInfo2
by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1257 - Fixes crash in ClassDB::deinitialize due to usage of invalid iterator. by @Klaim in https://github.com/godotengine/godot-cpp/pull/1260
- Miscellaneous updates to gdextension_interface.h by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1264
- Declare explicit specializations for
CharStringT
by @mihe in https://github.com/godotengine/godot-cpp/pull/1265 - Use the new
string_name_new_with_latin1_chars
function to improve StringName construction performance by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1263 - [SCons] Rename javascript tool to web by @Faless in https://github.com/godotengine/godot-cpp/pull/1270
- Automatically register only engine classes whose header has been included by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1266
- Let
gdextension_dir
function as standalone argument by @Repiteo in https://github.com/godotengine/godot-cpp/pull/1258 - clang: Add CallableCustomMethodPointerBase virtual destructor by @capnm in https://github.com/godotengine/godot-cpp/pull/1275
- Refactor compiledb implementation by @adamscott in https://github.com/godotengine/godot-cpp/pull/1230
- Fix return value and
r_valid
value inVariant::iter_init
andVariant::iter_next
by @gilzoide in https://github.com/godotengine/godot-cpp/pull/1253 - SCons: Disable C++ exception handling by default by @akien-mga in https://github.com/godotengine/godot-cpp/pull/1216
- Add test for
Callable.bind()
by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1278 - Add protections against registering classes that didn't use
GDCLASS()
by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1279 - Add an automated test using a Variant iterator by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1277
- Switch to using
ObjectID
in custom callables by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1286 - Update the environment variables used to access the Android NDK toolchain by @m4gr3d in https://github.com/godotengine/godot-cpp/pull/1291
- Hack adding
--quit-after 100
to ensureextension_list.cfg
gets generated by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1299 -
GDCLASS
synced by ending with "private:" by @Repiteo in https://github.com/godotengine/godot-cpp/pull/1292 - Fix
is_msvc
anduse_hot_reload
variables by @Repiteo in https://github.com/godotengine/godot-cpp/pull/1303 - ignoring venv in .gitignore by @brno32 in https://github.com/godotengine/godot-cpp/pull/1301
- [iOS] Fix building as static library or xcframework, add iOS config and xcframework build script to the test project. by @bruvzg in https://github.com/godotengine/godot-cpp/pull/1302
- Revert "Hack adding
--quit-after 100
to ensure extension_list.cfg gets generated" by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1304 - CI: Workaround upstream issue with .NET editor build not exiting by @akien-mga in https://github.com/godotengine/godot-cpp/pull/1308
- Add missing int→Variant conversions by @Repiteo in https://github.com/godotengine/godot-cpp/pull/1298
- Add
CallableCustom
that devs can use in their GDExtensions by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1280 - Fix comparison of
Callable
s fromcallable_mp()
of the same method by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1294 - CI: Install Android NDK r23c explicitly by @akien-mga in https://github.com/godotengine/godot-cpp/pull/1314
- [iOS] Bump default version to 12 to match engine. by @bruvzg in https://github.com/godotengine/godot-cpp/pull/1315
- Bump mymindstorm/setup-emsdk from 12 to 13 by @dependabot in https://github.com/godotengine/godot-cpp/pull/1317
- [Scons] Set the minimum Android API level to 21 by @DmitriySalnikov in https://github.com/godotengine/godot-cpp/pull/1318
- [iOS] Fix initialisation/termination of multiple statically linked extensions. by @bruvzg in https://github.com/godotengine/godot-cpp/pull/1316
- Make CMake only include debug symbols when appropriate by @bytzo in https://github.com/godotengine/godot-cpp/pull/1288
- Fix file list issues when trying to build with meson via cmake by @LAK132 in https://github.com/godotengine/godot-cpp/pull/1307
- [Scons] Added the ability to change the visibility of symbols by @DmitriySalnikov in https://github.com/godotengine/godot-cpp/pull/1313
- Change bit field enums to use
uint64_t
as underlying type by @mihe in https://github.com/godotengine/godot-cpp/pull/1320 - Send NOTIFICATION_POSTINITIALIZE to extension classes by @dsnopek in https://github.com/godotengine/godot-cpp/pull/1321
New Contributors
- @adamscott made their first contribution in https://github.com/godotengine/godot-cpp/pull/1170
- @AThousandShips made their first contribution in https://github.com/godotengine/godot-cpp/pull/1197
- @Sauermann made their first contribution in https://github.com/godotengine/godot-cpp/pull/1151
- @nicholas-maltbie made their first contribution in https://github.com/godotengine/godot-cpp/pull/1247
- @Klaim made their first contribution in https://github.com/godotengine/godot-cpp/pull/1260
- @Repiteo made their first contribution in https://github.com/godotengine/godot-cpp/pull/1258
- @capnm made their first contribution in https://github.com/godotengine/godot-cpp/pull/1275
- @gilzoide made their first contribution in https://github.com/godotengine/godot-cpp/pull/1253
- @brno32 made their first contribution in https://github.com/godotengine/godot-cpp/pull/1301
- @bytzo made their first contribution in https://github.com/godotengine/godot-cpp/pull/1288
- @LAK132 made their first contribution in https://github.com/godotengine/godot-cpp/pull/1307
Full Changelog: https://github.com/godotengine/godot-cpp/compare/godot-4.1-stable...godot-4.2-stable