virtualx-engine/core/io
Hein-Pieter van Braam cacced7e50 Convert Object::cast_to() to the static version
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.

This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.

It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
..
compression.cpp Style: Apply clang-format on all files 2017-07-30 22:53:40 +02:00
compression.h -Reorganized all properties of project settings (Sorry, Again). 2017-07-17 22:18:58 -03:00
config_file.cpp Removes type information from method binds 2017-08-10 07:17:50 +02:00
config_file.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
file_access_buffered.cpp Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
file_access_buffered.h Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
file_access_buffered_fa.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
file_access_compressed.cpp Removed unnecessary assignments 2017-08-21 15:15:55 -04:00
file_access_compressed.h Add zstd compression support. 2017-06-08 23:48:14 -05:00
file_access_encrypted.cpp Move core thirdparty files to thirdparty/{minizip,misc} 2017-04-28 21:19:23 +02:00
file_access_encrypted.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
file_access_memory.cpp Style: Apply clang-format on all files 2017-07-30 22:53:40 +02:00
file_access_memory.h Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
file_access_network.cpp Style: Apply clang-format on all files 2017-07-30 22:53:40 +02:00
file_access_network.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
file_access_pack.cpp Moved member variables from constructor to initialization list 2017-08-08 21:43:19 -04:00
file_access_pack.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
file_access_zip.cpp Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
file_access_zip.h Move core thirdparty files to thirdparty/{minizip,misc} 2017-04-28 21:19:23 +02:00
http_client.cpp ClassDB: Provide the enum name of integer constants 2017-08-20 22:07:43 +02:00
http_client.h ClassDB: Provide the enum name of integer constants 2017-08-20 22:07:43 +02:00
image_loader.cpp Added support for SVG 2017-08-20 13:53:02 -05:00
image_loader.h Added support for SVG 2017-08-20 13:53:02 -05:00
ip.cpp ClassDB: Provide the enum name of integer constants 2017-08-20 22:07:43 +02:00
ip.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
ip_address.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
ip_address.h Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
json.cpp Synchronize parameter names in definition and declaration 2017-08-16 17:22:23 +02:00
json.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
marshalls.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
marshalls.h -Properly check limits to objects sent (regarding to size), fixes #9034 2017-08-18 10:59:31 -03:00
networked_multiplayer_peer.cpp ClassDB: Provide the enum name of integer constants 2017-08-20 22:07:43 +02:00
networked_multiplayer_peer.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
packet_peer.cpp -Properly check limits to objects sent (regarding to size), fixes #9034 2017-08-18 10:59:31 -03:00
packet_peer.h -Properly check limits to objects sent (regarding to size), fixes #9034 2017-08-18 10:59:31 -03:00
packet_peer_udp.cpp Removes type information from method binds 2017-08-10 07:17:50 +02:00
packet_peer_udp.h Use const reference where favorable 2017-08-14 13:28:06 -04:00
pck_packer.cpp Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
pck_packer.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
resource_format_binary.cpp Convert Object::cast_to() to the static version 2017-08-24 23:08:24 +02:00
resource_format_binary.h core/io: fix typo 'resoucre' to 'resource' 2017-08-08 12:02:49 +07:00
resource_import.cpp Removing a Resource also deletes imported files. 2017-08-15 01:13:41 +02:00
resource_import.h Removing a Resource also deletes imported files. 2017-08-15 01:13:41 +02:00
resource_loader.cpp Removes type information from method binds 2017-08-10 07:17:50 +02:00
resource_loader.h Reworked translation system 2017-06-28 17:01:35 -03:00
resource_saver.cpp Style: Apply clang-format on all files 2017-07-30 22:53:40 +02:00
resource_saver.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
SCsub Move core thirdparty files to thirdparty/{minizip,misc} 2017-04-28 21:19:23 +02:00
stream_peer.cpp Fix StreamPeer put_utf8_string not working 2017-08-14 13:19:02 +02:00
stream_peer.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
stream_peer_ssl.cpp ClassDB: Provide the enum name of integer constants 2017-08-20 22:07:43 +02:00
stream_peer_ssl.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
stream_peer_tcp.cpp ClassDB: Provide the enum name of integer constants 2017-08-20 22:07:43 +02:00
stream_peer_tcp.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
tcp_server.cpp Removes type information from method binds 2017-08-10 07:17:50 +02:00
tcp_server.h Use const reference where favorable 2017-08-14 13:28:06 -04:00
translation_loader_po.cpp Ignore fuzzy translations 2017-07-12 21:49:22 +07:00
translation_loader_po.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
xml_parser.cpp ClassDB: Provide the enum name of integer constants 2017-08-20 22:07:43 +02:00
xml_parser.h Add "Godot Engine contributors" copyright line 2017-04-08 00:11:42 +02:00
zip_io.h Move core thirdparty files to thirdparty/{minizip,misc} 2017-04-28 21:19:23 +02:00