godot/core
Rémi Verschelde c717d5c64b Arrays: Zero new items of trivial types on resize() (bindings only)
This is not enabled by default in the core version for performance reasons,
as Vector/CowData are used in critical code paths where not zero'ing memory
which is going to be set later on can be important.

But for bindings / the scripting API, we make zero the new items by default
(which already happened for built types like Vector3, etc., but not for
trivial types like int, float).

Fixes #43033.

Co-authored-by: David Hoppenbrouwers <david@salt-inc.org>
2022-08-04 13:35:37 +02:00
..
config Merge pull request #61315 from lawnjelly/variant_bucket_pools 2022-08-02 15:54:18 +02:00
crypto Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
debugger Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
error Errors: Fallback to fprintf if OS singleton doesn't exist 2022-06-30 16:00:30 +02:00
extension Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
input Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
io Merge pull request #56442 from PucklaMotzer09/remap_files_moved 2022-08-03 16:57:26 +02:00
math Fix consistency of translated/scaled/rotated in Transform2D and Transform3D 2022-08-02 23:38:14 +02:00
object Clean-up array editing 2022-08-02 23:36:02 +02:00
os Add support for command-line user arguments. 2022-08-01 00:56:59 +02:00
string Merge pull request #61315 from lawnjelly/variant_bucket_pools 2022-08-02 15:54:18 +02:00
templates Arrays: Zero new items of trivial types on resize() (bindings only) 2022-08-04 13:35:37 +02:00
variant Arrays: Zero new items of trivial types on resize() (bindings only) 2022-08-04 13:35:37 +02:00
core_bind.cpp Bring back Geometry2D.segment_intersects_circle 2022-08-03 17:05:21 +02:00
core_bind.h Expose the "restart on exit" OS functionality 2022-08-01 14:06:13 +02:00
core_builders.py Use maximum zlib compression when generating editor translation headers 2021-10-29 19:07:48 +02:00
core_constants.cpp [Net] Modularize multiplayer, expose MultiplayerAPI to extensions. 2022-07-26 09:31:12 +02:00
core_constants.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
core_globals.cpp Variant memory pools 2022-07-04 12:01:46 +01:00
core_globals.h Variant memory pools 2022-07-04 12:01:46 +01:00
core_string_names.cpp Cleanup metadata usage 2022-05-06 00:27:10 +02:00
core_string_names.h Cleanup metadata usage 2022-05-06 00:27:10 +02:00
doc_data.cpp Fix missing method qualifiers in script doc 2022-07-24 23:00:19 +02:00
doc_data.h Merge pull request #62713 from YuriSizov/docs-scripting-annotations 2022-07-06 15:31:19 +02:00
register_core_types.cpp [Net] Modularize multiplayer, expose MultiplayerAPI to extensions. 2022-07-26 09:31:12 +02:00
register_core_types.h Fix extension registration order. 2022-02-20 10:58:46 -03:00
SCsub [Net] Modularize multiplayer, expose MultiplayerAPI to extensions. 2022-07-26 09:31:12 +02:00
typedefs.h Change some math macros to constexpr 2022-03-09 16:24:32 +01:00
version.h Core: Move generated VERSION_HASH to a .cpp file 2022-02-09 09:20:17 +01:00