virtualx-engine/core
Fabio Alessandrelli cbc772d696 Fix buffers size calculation in PacketPeerStream.
The calculation used to be wrong when exactly at a power of 2.
`nearest_shift` always return the "next" power of 2
`nearest_shift(4) == 3 # 2^3 = 8`.

On the other hand `next_power_of_2` returns the exact value if that
value is a power of 2 (i.e. `next_power_of_2(4) == 4`).

I.e. :
```
WARN_PRINT(itos(next_power_of_2(4)) + " " + itos(1 << nearest_shift(4)));
// WARNING: ... : 4 8
```

Is this by design?
2019-12-22 15:35:44 +01:00
..
bind Added support for vertical syncing via the Windows OS compositor (DWM.) 2019-12-04 11:14:21 +01:00
crypto Fix some crashes and using null pointers 2019-10-28 08:07:29 +01:00
io Fix buffers size calculation in PacketPeerStream. 2019-12-22 15:35:44 +01:00
math Drop b2d_convexdecomp. no longer necessary. 2019-12-13 23:29:52 +01:00
os Added support for vertical syncing via the Windows OS compositor (DWM.) 2019-12-04 11:14:21 +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 Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
class_db.h Fixed antialiased option for Polygon2D / Line2D 2019-11-28 22:57:27 +01:00
color.cpp Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
color.h Make is_equal_approx separate for structures 2019-10-14 16:46:54 -04:00
color_names.inc
command_queue_mt.cpp
command_queue_mt.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
compressed_translation.cpp Small fixes to redundand code, copy paste bugs 2019-10-14 11:40:55 +02:00
compressed_translation.h
core_builders.py
core_string_names.cpp
core_string_names.h
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
engine.cpp Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
engine.h Add access to interpolation fraction for fixed timestep interpolation 2019-07-11 08:25:26 +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
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
image.cpp Fix some crashes, overflows and using variables without values 2019-11-01 16:16:31 +01:00
image.h Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
input_map.cpp Added some obvious errors explanations 2019-09-25 10:28:50 +02:00
input_map.h
int_types.h
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 Fix some code found by Coverity Scan and PVS Studio 2019-07-23 09:14:31 +02: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
method_bind.cpp
method_bind.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
method_ptrcall.h
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 Implement backward shift deletion for OAHashMap 2019-09-21 14:32:40 +08:00
object.cpp Suggest use of deferred or oneshot on disconnect if the signal is locked. Closes #34443. 2019-12-18 19:32:00 -03:00
object.h Improve the scene tree signals/groups tooltip 2019-08-17 14:20:16 +02:00
ordered_hash_map.h
packed_data_container.cpp Fix some crashes and using null pointers 2019-10-28 08:07:29 +01:00
packed_data_container.h
pair.h
path_remap.cpp
path_remap.h
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
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
project_settings.cpp Encodes property names properly in project.godot 2019-12-20 10:42:08 +08: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.cpp
rid.h Remove redundant author doc comments 2019-08-12 04:26:38 -05:00
ring_buffer.h
safe_refcount.cpp
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
sort_array.h Remove circular include between core/typedefs.h and core/error_macros.h 2019-10-08 11:03:57 +02:00
string_buffer.h
string_builder.cpp Don't add to StringBuilder empty String 2019-10-03 19:14:29 +02:00
string_builder.h
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
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
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 Encodes property names properly in project.godot 2019-12-20 10:42:08 +08:00
ustring.h Encodes property names properly in project.godot 2019-12-20 10:42:08 +08: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 Document that translated does not behave like rotated or scaled 2019-12-15 12:31:08 -05:00
variant_op.cpp Don't allow to use too big or too small shift operators 2019-12-12 20:00:26 +01:00
variant_parser.cpp Encodes property names properly in project.godot 2019-12-20 10:42:08 +08:00
variant_parser.h
vector.h Fix error macro calls not ending with semicolon 2019-06-11 14:49:34 +02:00
version.h
vmap.h Initialise VMap and HashMap values to the default when they are created. 2019-10-24 08:18:34 +02:00
vset.h