godot/core/io
Pedro J. Estébanez 28a7a95531 ResourceLoader: Fix sync issues with error reporting
This is about not letting the resource format loader set the error code directly on the task anymore. Instead, it's stored locally and assigned only when it is right to do so.

Otherwise, other tasks may see an error code in the current one before it's state having transitioned to errored. While this, besides the technically true data race, may not be a problem in practice, it causes surprising situations during debugging as it breaks assumptions.
2024-07-19 10:00:41 +02:00
..
compression.cpp [Core] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-11 19:45:49 +02:00
compression.h Expose brotli decompression to the scripting API. 2023-03-29 22:43:36 +03:00
config_file.cpp Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
config_file.h Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
dir_access.cpp Merge pull request #90069 from KoBeWi/file_suicide_prevention_measures 2024-06-21 16:49:26 +02:00
dir_access.h Enforce template syntax typename over class 2024-03-07 22:39:09 -06:00
dtls_server.cpp [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
dtls_server.h [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
file_access_compressed.cpp [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
file_access_compressed.h [FileAccess] Implement resize method. 2024-04-12 19:20:49 +03:00
file_access_encrypted.cpp [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on macOS/BSD and Windows. 2023-08-08 21:51:32 +03:00
file_access_encrypted.h [FileAccess] Implement resize method. 2024-04-12 19:20:49 +03:00
file_access_memory.cpp Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
file_access_memory.h [FileAccess] Implement resize method. 2024-04-12 19:20:49 +03:00
file_access_pack.cpp [Export] Use relative file base offset for embedded PCK. 2024-03-06 14:02:01 +02:00
file_access_pack.h [FileAccess] Implement resize method. 2024-04-12 19:20:49 +03:00
file_access_zip.cpp [Core] Use unztell64 in FileAccessZIP to ensure 64 bit return 2024-04-26 11:49:54 +02:00
file_access_zip.h [FileAccess] Implement resize method. 2024-04-12 19:20:49 +03:00
file_access.cpp Revert "Fix FileSystem dock won't show any file folders" 2024-06-11 11:46:35 +02:00
file_access.h [FileAccess] Implement resize method. 2024-04-12 19:20:49 +03:00
http_client_tcp.cpp [TLS] Fix crashes trying to use TLS when not available. 2023-05-12 20:08:10 +02:00
http_client_tcp.h [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
http_client.cpp Add const references detected by clang-tidy 2023-12-16 13:36:44 -05:00
http_client.h [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
image_loader.cpp Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
image_loader.h Add 'override' mark to ResourceFormat class 2024-03-25 04:06:34 +08:00
image.cpp [TextServer, GDExtension] Fix building text servers as GDExtension, expose new/changed low-level methods to GDExtension API. 2024-06-12 19:30:19 +03:00
image.h [TextServer, GDExtension] Fix building text servers as GDExtension, expose new/changed low-level methods to GDExtension API. 2024-06-12 19:30:19 +03:00
ip_address.cpp Replace find with contains/has where applicable 2024-05-08 12:37:42 +02:00
ip_address.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
ip.cpp Reduce and prevent unnecessary random-access to List 2024-05-04 16:08:55 +02:00
ip.h Display BitField[Enum] in docs to distinguish from Enum 2023-06-15 17:23:02 +03:00
json.cpp Rename internal is_ascii_char to is_ascii_alphabet_char 2024-04-20 02:36:41 -07:00
json.h Add 'override' mark to ResourceFormat class 2024-03-25 04:06:34 +08:00
logger.cpp Fix UTF-8 misintepreted as Latin-1 when logging to file 2024-07-07 02:46:41 +08:00
logger.h Strip ANSI escape codes from file logging 2024-04-24 01:02:47 +02:00
marshalls.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
marshalls.h Convert en_GB spelling to en_US with codespell 2023-01-23 11:02:20 +01:00
missing_resource.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
missing_resource.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
net_socket.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
net_socket.h Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
packed_data_container.cpp Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
packed_data_container.h Improve and document PackedDataContainer 2023-04-29 00:29:40 +02:00
packet_peer_dtls.cpp [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
packet_peer_dtls.h [NET] Refactor TLS configuration. 2023-01-28 11:08:02 +01:00
packet_peer_udp.cpp Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
packet_peer_udp.h Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
packet_peer.cpp Promote CowData to 64 bits 2024-01-19 17:41:10 +01:00
packet_peer.h Extract ScriptInstance to simplify includes 2023-09-06 22:54:38 +02:00
pck_packer.cpp Remove nondeterminism in pck_packer 2023-09-03 18:14:30 -04:00
pck_packer.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
plist.cpp [macOS/iOS export] Add option to set custom Info.plist data. 2024-01-11 21:05:35 +02:00
plist.h [macOS/iOS export] Add option to set custom Info.plist data. 2024-01-11 21:05:35 +02:00
remote_filesystem_client.cpp Fix various typos with codespell 2023-08-07 13:09:47 +02:00
remote_filesystem_client.h Fix GCC -Wmaybe-uninitialized warnings 2023-08-14 14:35:35 +02:00
resource_format_binary.cpp GDScript: Enhance handling of cyclic dependencies 2024-06-26 17:44:32 +02:00
resource_format_binary.h Add 'override' mark to ResourceFormat class 2024-03-25 04:06:34 +08:00
resource_importer.cpp Merge pull request #92320 from Hilderin/fix-importing-assets-with-csv 2024-06-21 13:54:35 +02:00
resource_importer.h Revert "Fix FileSystem dock won't show any file folders" 2024-06-11 11:46:35 +02:00
resource_loader.cpp ResourceLoader: Fix sync issues with error reporting 2024-07-19 10:00:41 +02:00
resource_loader.h Fixup recent changes to threading concerns 2024-07-16 11:03:02 +02:00
resource_saver.cpp Fix import and saving related crashes 2024-04-22 12:13:19 +02:00
resource_saver.h Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
resource_uid.cpp Merge uid_cache.bin and global_script_class_cache.cfg after mounting PCKs 2024-03-06 12:14:21 -05:00
resource_uid.h Merge uid_cache.bin and global_script_class_cache.cfg after mounting PCKs 2024-03-06 12:14:21 -05:00
resource.cpp Re-add resource thread-safety measures 2024-07-15 12:15:22 +02:00
resource.h Speed up inspector updates for TileMap 2024-03-07 18:01:30 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
stream_peer_gzip.cpp add check for negative buffer_size inside start_(de)compression method. 2024-03-08 17:49:48 +03:00
stream_peer_gzip.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
stream_peer_tcp.cpp FIX: Return if TCP is in STATUS_CONNECTED 2024-04-16 10:32:11 +02:00
stream_peer_tcp.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
stream_peer_tls.cpp [Net] Remove StreamPeerTLS.blocking_handshake option. 2023-01-28 11:08:02 +01:00
stream_peer_tls.h [Net] Remove StreamPeerTLS.blocking_handshake option. 2023-01-28 11:08:02 +01:00
stream_peer.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
stream_peer.h Extract ScriptInstance to simplify includes 2023-09-06 22:54:38 +02:00
tcp_server.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
tcp_server.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
translation_loader_po.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
translation_loader_po.h Add 'override' mark to ResourceFormat class 2024-03-25 04:06:34 +08:00
udp_server.cpp Reduce and prevent unnecessary random-access to List 2024-05-04 16:08:55 +02:00
udp_server.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
xml_parser.cpp Replace error checks against size with is_empty 2024-02-09 12:50:15 +01:00
xml_parser.h Display BitField[Enum] in docs to distinguish from Enum 2023-06-15 17:23:02 +03:00
zip_io.cpp Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
zip_io.h Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00