virtualx-engine/core
lawnjelly 0bcda22d7c Protection for array operator for Vector2 / 3 in DEV builds
A previous PR had changed the array operator to give unbounded access. This could cause crashes where old code depended on this previous safe behaviour.

This PR adds DEV_ASSERT macros for out of bound access to DEV builds, allowing us to quickly identify bugs in calling code, without affecting performance in release or release_debug editor builds.
2022-03-07 10:34:40 +00:00
..
bind Add an OS.get_processor_name() method 2022-02-16 18:39:02 +01:00
crypto Bump mbedTLS version to 2.28.0 (new LTS). 2022-01-19 14:03:03 +01:00
io Fix decompression functions not returning errcodes 2022-02-19 15:50:38 +01:00
math Protection for array operator for Vector2 / 3 in DEV builds 2022-03-07 10:34:40 +00:00
os Add an OS.get_processor_name() method 2022-02-16 18:39:02 +01:00
array.cpp Fix Array and Dictionary id() and dictionary test bug 2022-01-25 18:20:59 +01:00
array.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
bitfield_dynamic.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
bitfield_dynamic.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
class_db.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
class_db.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
color.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
color.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 17:28:31 +00:00
color_names.inc Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
command_queue_mt.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
command_queue_mt.h Fix typos with codespell 2022-02-11 09:50:59 +01:00
compressed_translation.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
compressed_translation.h Fix typos with codespell 2022-02-11 09:50:59 +01:00
core_builders.py SCons: Generate header with info on which modules are enabled 2021-07-14 23:09:47 +02:00
core_string_names.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
core_string_names.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
cowdata.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
dictionary.cpp Fix Array and Dictionary id() and dictionary test bug 2022-01-25 18:20:59 +01:00
dictionary.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
engine.cpp Core: Move generated VERSION_HASH to a .cpp file 2022-02-10 13:06:56 +01:00
engine.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
error_list.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
error_macros.cpp Add fflush to error macros 2022-02-05 12:38:57 +00:00
error_macros.h Protection for array operator for Vector2 / 3 in DEV builds 2022-03-07 10:34:40 +00:00
func_ref.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
func_ref.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
global_constants.cpp Add type variations to Theme 2022-02-17 15:24:10 +03:00
global_constants.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
hash_map.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
hashfuncs.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
image.cpp Expose Image.COMPRESS_SOURCE_LAYERED to scripting 2022-01-17 20:43:05 +08:00
image.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
input_map.cpp [3.x] Fix action exact match 2022-01-13 22:29:18 -06:00
input_map.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
int_types.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
list.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
local_vector.h Fixed Timestep Interpolation (3D) 2022-02-16 09:41:23 +00:00
make_binders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
map.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
message_queue.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
message_queue.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
method_bind.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
method_bind.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
method_ptrcall.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
node_path.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
node_path.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
oa_hash_map.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
object.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
object.h Add type variations to Theme 2022-02-17 15:24:10 +03:00
object_id.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
object_rc.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
ordered_hash_map.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
packed_data_container.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
packed_data_container.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
paged_allocator.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
pair.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
path_remap.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
path_remap.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
pool_allocator.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
pool_allocator.h Fix typos with codespell 2022-02-11 09:50:59 +01:00
pool_vector.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
pool_vector.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
pooled_list.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
print_string.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
print_string.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
project_settings.cpp has_setting now correctly returns true when the setting is present due to a feature tag 2022-02-15 12:23:45 +01:00
project_settings.h ProjectSettings add dirty flag and project_settings_changed signal 2022-02-09 11:20:25 +00:00
ref_ptr.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
ref_ptr.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
reference.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
reference.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
register_core_types.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
register_core_types.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
resource.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
resource.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
rid.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
rid.h Use refval() instead of separate ref() and get() 2022-01-24 21:36:25 +01:00
rid_handle.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
rid_handle.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
ring_buffer.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
safe_refcount.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
safe_refcount.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
script_debugger_local.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
script_debugger_local.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
script_language.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
script_language.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
SCsub Core: Move generated VERSION_HASH to a .cpp file 2022-02-10 13:06:56 +01:00
self_list.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
set.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
simple_type.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
sort_array.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
string_buffer.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
string_builder.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
string_builder.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
string_name.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
string_name.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
threaded_callable_queue.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
translation.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
translation.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
type_info.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
typedefs.h Add nodiscard to core math classes to catch c++ errors. 2022-01-20 17:28:31 +00:00
ucaps.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
undo_redo.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
undo_redo.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
ustring.cpp Optimize String::copy_from(const CharType &p_char) 2022-02-20 12:47:35 +01:00
ustring.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
variant.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
variant.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
variant_call.cpp Fix PoolByteArray.decompress_dynamic return value and memleak 2022-02-05 15:14:23 +08:00
variant_op.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
variant_parser.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
variant_parser.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
vector.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
version.h Core: Move generated VERSION_HASH to a .cpp file 2022-02-10 13:06:56 +01:00
vmap.h Make VMap::find_nearest return -1 when empty 2022-02-17 09:59:28 +01:00
vset.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00