virtualx-engine/core
Pedro J. Estébanez 0b30cfe228 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.
2019-12-12 17:11:01 +01:00
..
bind Merge pull request #29993 from bruvzg/vulkan 2019-12-12 17:04:53 +01:00
crypto Fix some crashes and using null pointers 2019-10-28 08:07:29 +01:00
io GIProbes working. 2019-12-12 17:09:36 +01:00
math Fix Vector3 ambiguities and out of bounds init. 2019-12-12 17:10:05 +01:00
os Merge pull request #29993 from bruvzg/vulkan 2019-12-12 17:04:53 +01:00
array.cpp Don't try to slice empty arrays 2019-09-24 21:33:09 +02:00
array.h Add array slice method 2019-09-14 13:08:28 -07:00
class_db.cpp GIProbes working. 2019-12-12 17:09:36 +01:00
class_db.h GIProbes working. 2019-12-12 17:09:36 +01:00
color.cpp Visual GPU profiler and related profiling support in Vulkan. 2019-12-12 17:08:05 +01:00
color.h Visual GPU profiler and related profiling support in Vulkan. 2019-12-12 17:08:05 +01:00
color_names.inc Add "transparent" to named color list 2019-05-24 20:37:40 +01:00
command_queue_mt.cpp Added a spinlock template as well as a thread work pool class. 2019-12-12 13:05:27 +01:00
command_queue_mt.h Added a spinlock template as well as a thread work pool class. 2019-12-12 13:05:27 +01:00
compressed_translation.cpp Small fixes to redundand code, copy paste bugs 2019-10-14 11:40:55 +02:00
compressed_translation.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
core_builders.py Allow system certs file to be used by Editor. 2018-09-15 14:45:54 +02:00
core_string_names.cpp Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
core_string_names.h Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
cowdata.h Remove circular include between core/typedefs.h and core/error_macros.h 2019-10-08 11:03:57 +02:00
dictionary.cpp Optimized Dictionary hash() and duplicate() methods 2019-10-10 18:12:20 +02:00
dictionary.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
engine.cpp More GIProbe work and fixes 2019-12-12 17:10:15 +01:00
engine.h More GIProbe work and fixes 2019-12-12 17:10:15 +01:00
error_list.h Properly expose all Error constants to scripting languages 2019-06-27 12:48:26 +02:00
error_macros.cpp Remove ERR_EXPLAIN macros and the scaffolding they needed. 2019-11-11 10:57:00 +01:00
error_macros.h Fix explain message not being stripped in release. 2019-11-13 14:21:32 +01:00
func_ref.cpp Add FuncRef.call_funcv 2019-08-08 11:58:57 +03:00
func_ref.h Add FuncRef.call_funcv 2019-08-08 11:58:57 +03:00
global_constants.cpp Properly expose all Error constants to scripting languages 2019-06-27 12:48:26 +02:00
global_constants.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
hash_map.h Initialise VMap and HashMap values to the default when they are created. 2019-10-24 08:18:34 +02:00
hashfuncs.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
image.cpp Rewritten StreamTexture for better code reuse, added basis universal support 2019-12-12 17:09:05 +01:00
image.h Rewritten StreamTexture for better code reuse, added basis universal support 2019-12-12 17:09:05 +01:00
input_map.cpp Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
input_map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
int_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
list.h Remove circular include between core/typedefs.h and core/error_macros.h 2019-10-08 11:03:57 +02:00
make_binders.py A lot of progress with canvas rendering, still far from working. 2019-12-12 10:50:00 +01:00
map.h Remove circular include between core/typedefs.h and core/error_macros.h 2019-10-08 11:03:57 +02:00
message_queue.cpp Removed unused variables, add some constants numbers 2019-12-10 05:13:02 +01:00
message_queue.h Change "ID" to lowercase "id" 2019-05-09 06:25:32 -04:00
method_bind.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
method_bind.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
method_ptrcall.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
node_path.cpp Fix crash when using Node.get_as_property_path() 2019-10-09 15:44:00 +02:00
node_path.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
oa_hash_map.h Initial work on Vulkan: 2019-12-12 08:50:47 +01:00
object.cpp Ensure object metadata is unique 2019-09-28 18:15:23 +03:00
object.h Improve the scene tree signals/groups tooltip 2019-08-17 14:20:16 +02:00
ordered_hash_map.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
packed_data_container.cpp Fix some crashes and using null pointers 2019-10-28 08:07:29 +01:00
packed_data_container.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pair.h Fix many asan and ubsan reported issues 2019-01-30 06:43:56 +01:00
path_remap.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
path_remap.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pool_allocator.cpp Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/' 2019-08-17 12:33:15 +02:00
pool_allocator.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pool_vector.cpp Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/' 2019-08-17 12:33:15 +02:00
pool_vector.h Added empty() function to pool array types 2019-10-31 16:27:32 +01:00
print_string.cpp Properly unlock mutex 2019-05-30 10:28:03 +02:00
print_string.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
project_settings.cpp Revert "Fix localise_path method so that uncached scripts don't sometimes get loaded with two backslashes" 2019-11-26 13:42:18 +01:00
project_settings.h Add flag to control the replacement of files by ProjectSettings.load_resource_pack 2019-09-25 15:29:59 +02:00
ref_ptr.cpp Fixed remote inspector for tool scripts 2019-10-28 18:32:00 +01:00
ref_ptr.h Fixed remote inspector for tool scripts 2019-10-28 18:32:00 +01:00
reference.cpp make core/Reference thread safe 2019-09-04 12:17:07 +08:00
reference.h make core/Reference thread safe 2019-09-04 12:17:07 +08:00
register_core_types.cpp Add hashing context class 2019-08-21 16:59:38 +02:00
register_core_types.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
resource.cpp Merge pull request #30622 from creikey/fix-path-caching 2019-10-21 13:53:45 +02:00
resource.h Merge pull request #30622 from creikey/fix-path-caching 2019-10-21 13:53:45 +02:00
rid.h Modify RenderingDevice to use RIDs, now that they are O(1) 2019-12-12 09:23:03 +01:00
rid_owner.cpp Refactored RID/RID_Owner to always use O(1) allocation. 2019-12-12 08:55:15 +01:00
rid_owner.h Fix bugs in RID_Alloc 2019-12-12 17:11:01 +01:00
ring_buffer.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
safe_refcount.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
safe_refcount.h make core/Reference thread safe 2019-09-04 12:17:07 +08:00
script_debugger_local.cpp Adds skip-breakpoints feature 2019-09-03 20:49:09 +02:00
script_debugger_local.h Adds skip-breakpoints feature 2019-09-03 20:49:09 +02:00
script_language.cpp check for cyclic inheritance when adding a global class 2019-10-08 11:54:29 +02:00
script_language.h Implement game camera override 2019-10-23 02:51:32 +01:00
SCsub Update zstd to 1.4.3 2019-11-03 10:37:48 -06:00
self_list.h Remove circular include between core/typedefs.h and core/error_macros.h 2019-10-08 11:03:57 +02:00
set.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
simple_type.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
sort_array.h Remove circular include between core/typedefs.h and core/error_macros.h 2019-10-08 11:03:57 +02:00
spin_lock.h Added a spinlock template as well as a thread work pool class. 2019-12-12 13:05:27 +01:00
string_buffer.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
string_builder.cpp Don't add to StringBuilder empty String 2019-10-03 19:14:29 +02:00
string_builder.h Use StringBuilder in C# bindings generator 2019-04-19 02:11:39 +02:00
string_name.cpp Changed some code showed in LGTM and Coverage 2019-07-20 08:09:57 +02:00
string_name.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
thread_work_pool.cpp Added a spinlock template as well as a thread work pool class. 2019-12-12 13:05:27 +01:00
thread_work_pool.h Added a spinlock template as well as a thread work pool class. 2019-12-12 13:05:27 +01:00
translation.cpp ResourceLoader: Add language code matching for localized resources 2019-12-04 16:53:40 +01:00
translation.h Translation: Refactor locale matching to use proper language code 2019-12-04 16:53:08 +01:00
type_info.h Make it a build error if a GetTypeInfo specialization cannot be resolved 2019-07-22 00:08:35 +02:00
typedefs.h Fix some overflows and unitialized variables 2019-11-20 16:22:16 +01:00
ucaps.h Reorder reverse caps characters table for string lower case conversion 2019-04-05 11:10:15 +03:00
undo_redo.cpp UndoRedo add version changed signal 2019-06-26 16:32:34 +02:00
undo_redo.h UndoRedo add version changed signal 2019-06-26 16:32:34 +02:00
ustring.cpp A lot of progress with canvas rendering, still far from working. 2019-12-12 10:50:00 +01:00
ustring.h A lot of progress with canvas rendering, still far from working. 2019-12-12 10:50:00 +01:00
variant.cpp Display error messages in console when vformat is called 2019-10-24 15:14:55 +03:00
variant.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
variant_call.cpp Merge pull request #27792 from Giacom/fix_quat 2019-12-11 22:04:09 +01:00
variant_op.cpp Changed some code showed in LGTM and Coverage 2019-07-20 08:09:57 +02:00
variant_parser.cpp Changed some code found by Clang Tidy and Coverity 2019-09-22 18:45:08 +02:00
variant_parser.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
vector.h Fix error macro calls not ending with semicolon 2019-06-11 14:49:34 +02:00
version.h Add hex-encoded version number to Engine singleton for easy comparisons 2019-02-17 13:38:52 +01:00
vmap.h Initialise VMap and HashMap values to the default when they are created. 2019-10-24 08:18:34 +02:00
vset.h Replace a few #if/#elif with #ifdef and "#elif defined" 2019-04-05 23:41:51 +02:00