godot/core
Pedro J. Estébanez e38ae8d7e4 Fix bugs in RID_Alloc
- Replace unintended `%` with `&`
- `get_owned_list()`: make thread-safe and fix logic
- Apply same logic fix to the destructor

Previously, the determination of owned RIDs was wrong. For instance, it could skip owned items or include duplicates in the list.

Avoids the engine crashing at exit.
2020-02-11 12:04:41 +01:00
..
bind Merge pull request #29993 from bruvzg/vulkan 2020-02-11 11:57:40 +01:00
crypto Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
io GIProbes working. 2020-02-11 12:03:20 +01:00
math Fix Vector3 ambiguities and out of bounds init. 2020-02-11 12:03:39 +01:00
os Merge pull request #29993 from bruvzg/vulkan 2020-02-11 11:57:40 +01:00
array.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
array.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
class_db.cpp GIProbes working. 2020-02-11 12:03:20 +01:00
class_db.h GIProbes working. 2020-02-11 12:03:20 +01:00
color_names.inc doc: Document named color constants 2020-01-26 12:08:16 +01:00
color.cpp Visual GPU profiler and related profiling support in Vulkan. 2020-02-11 12:01:26 +01:00
color.h Visual GPU profiler and related profiling support in Vulkan. 2020-02-11 12:01:26 +01:00
command_queue_mt.cpp Added a spinlock template as well as a thread work pool class. 2020-02-11 11:53:29 +01:00
command_queue_mt.h Added a spinlock template as well as a thread work pool class. 2020-02-11 11:53:29 +01:00
compressed_translation.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
compressed_translation.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
core_builders.py SCons: Generate header with info on which modules are enabled 2020-02-07 11:31:37 +01:00
core_string_names.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
core_string_names.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
cowdata.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dictionary.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dictionary.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
engine.cpp More GIProbe work and fixes 2020-02-11 12:03:49 +01:00
engine.h More GIProbe work and fixes 2020-02-11 12:03:49 +01:00
error_list.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
error_macros.cpp Improve and document error macros 2020-01-24 17:19:57 +01:00
error_macros.h Remove do{ } while(0) wrapper around error macros. 2020-02-08 11:21:46 +01:00
func_ref.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
func_ref.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
global_constants.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
global_constants.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
hash_map.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
hashfuncs.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
image.cpp Rewritten StreamTexture for better code reuse, added basis universal support 2020-02-11 12:02:36 +01:00
image.h Rewritten StreamTexture for better code reuse, added basis universal support 2020-02-11 12:02:36 +01:00
input_map.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
input_map.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
int_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
list.h Refactor List operator[] to prevent compiler warnings. 2020-02-11 10:29:01 +01:00
make_binders.py A lot of progress with canvas rendering, still far from working. 2020-02-11 11:53:27 +01:00
map.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
message_queue.cpp Remove duplicate ERR_PRINT macro. 2020-02-05 11:13:24 +01:00
message_queue.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
method_bind.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
method_bind.h Allows to doc vararg method return type as void 2020-01-02 21:37:26 +08:00
method_ptrcall.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
node_path.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
node_path.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
oa_hash_map.h Initial work on Vulkan: 2020-02-11 11:53:26 +01:00
object.cpp Remove duplicate ERR_PRINT macro. 2020-02-05 11:13:24 +01:00
object.h Make sure we know when deleting an emitting object 2020-01-22 14:08:16 +01:00
ordered_hash_map.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
packed_data_container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
packed_data_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pair.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
path_remap.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
path_remap.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pool_allocator.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pool_allocator.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pool_vector.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
pool_vector.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
print_string.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
print_string.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
project_settings.cpp Remove duplicate WARN_PRINT macro. 2020-02-05 11:13:24 +01:00
project_settings.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
ref_ptr.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
ref_ptr.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reference.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reference.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_core_types.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
register_core_types.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
resource.cpp Merge pull request #34296 from timothyqiu/lock-33072 2020-01-06 14:04:23 +01:00
resource.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rid_owner.cpp Refactored RID/RID_Owner to always use O(1) allocation. 2020-02-11 11:53:26 +01:00
rid_owner.h Fix bugs in RID_Alloc 2020-02-11 12:04:41 +01:00
rid.h Modify RenderingDevice to use RIDs, now that they are O(1) 2020-02-11 11:53:26 +01:00
ring_buffer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
safe_refcount.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
safe_refcount.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
script_debugger_local.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
script_debugger_local.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
script_language.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
script_language.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub Update zstd to 1.4.3 2019-11-03 10:37:48 -06:00
self_list.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
set.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
simple_type.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
sort_array.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spin_lock.h Added a spinlock template as well as a thread work pool class. 2020-02-11 11:53:29 +01:00
string_buffer.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
string_builder.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
string_builder.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
string_name.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
string_name.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
thread_work_pool.cpp Added a spinlock template as well as a thread work pool class. 2020-02-11 11:53:29 +01:00
thread_work_pool.h Added a spinlock template as well as a thread work pool class. 2020-02-11 11:53:29 +01:00
translation.cpp Remove duplicate ERR_PRINT macro. 2020-02-05 11:13:24 +01:00
translation.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
type_info.h Remove duplicate ERR_PRINT macro. 2020-02-05 11:13:24 +01:00
typedefs.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
ucaps.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
undo_redo.cpp Remove duplicate ERR_PRINT macro. 2020-02-05 11:13:24 +01:00
undo_redo.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
ustring.cpp A lot of progress with canvas rendering, still far from working. 2020-02-11 11:53:27 +01:00
ustring.h A lot of progress with canvas rendering, still far from working. 2020-02-11 11:53:27 +01:00
variant_call.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
variant_op.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
variant_parser.cpp Fix VariantParser::StreamString EOF determination 2020-02-10 10:57:01 +01:00
variant_parser.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
variant.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
variant.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
vector.h Merge pull request #34618 from qarmin/vector_please_dont_crash 2020-01-02 15:44:41 +01:00
version.h PCK: Set VERSION_PATCH in header, factor out header magic 2020-01-06 13:13:17 +01:00
vmap.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
vset.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00