virtualx-engine/core
Rémi Verschelde 751b16a285 File: Re-add support to skip CR (\r) in File::get_as_text
This was removed in #63481, and we confirmed that it's better like this,
but we add back the possibility to strip CR as an option, to optionally
restore the previous behavior.

For performance this is done directly in `String::parse_utf8`.

Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR.

Supersedes #63717.

(cherry picked from commit 1418f97c70)
2022-08-01 00:40:55 +02:00
..
bind File: Re-add support to skip CR (\r) in File::get_as_text 2022-08-01 00:40:55 +02:00
crypto Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
io Add error messages and docs to explain restrictions when calling NetworkedMultiplayerCustom.initialize() 2022-07-29 13:51:44 -05:00
math Fixup BVH debugging statements 2022-07-25 18:35:14 +02:00
os File: Re-add support to skip CR (\r) in File::get_as_text 2022-08-01 00:40:55 +02:00
array.cpp Add fill method to Array and PoolArrays 2022-04-23 19:29:17 +08:00
array.h Add fill method to Array and PoolArrays 2022-04-23 19:29:17 +08:00
bitfield_dynamic.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
bitfield_dynamic.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
class_db.cpp Enable type information on release 2022-04-01 18:20:33 -03:00
class_db.h Enable type information on release 2022-04-01 18:20:33 -03:00
color.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
color.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
color_names.inc Update color constants to use HEX codes 2022-03-17 15:49:58 +01:00
command_queue_mt.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
command_queue_mt.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
compressed_translation.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
compressed_translation.h Fix typos with codespell 2022-02-11 09:50:59 +01:00
core_builders.py SCons: Generate header with info on which modules are enabled 2021-07-14 23:09:47 +02:00
core_string_names.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
core_string_names.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
cowdata.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
dictionary.cpp Add Dictionary.merge() 2022-06-09 11:58:48 +02:00
dictionary.h Add Dictionary.merge() 2022-06-09 11:58:48 +02:00
engine.cpp Core: Move generated VERSION_HASH to a .cpp file 2022-02-10 13:06:56 +01:00
engine.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
error_list.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
error_macros.cpp Errors: Fallback to fprintf if OS singleton doesn't exist 2022-06-30 19:23:02 +02:00
error_macros.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
func_ref.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
func_ref.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
global_constants.cpp [3.5] Update NavigationServer backport 2022-06-14 05:55:14 +02:00
global_constants.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
hash_map.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
hashfuncs.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
image.cpp Improve error messages when creating Images from code 2022-05-16 21:12:21 +02:00
image.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
input_map.cpp [3.x] Fix action exact match 2022-01-13 22:29:18 -06:00
input_map.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
int_types.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
list.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
local_vector.h Optimized Mesh Merging 2022-06-07 20:16:51 +01:00
make_binders.py Fix argument type generation with typed method binds 2022-04-02 14:32:01 -03:00
map.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
message_queue.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
message_queue.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
method_bind.cpp Enable type information on release 2022-04-01 18:20:33 -03:00
method_bind.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
method_ptrcall.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
node_path.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
node_path.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
oa_hash_map.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
object.cpp fix get_meta() with defalt value 2022-05-24 20:23:08 +08:00
object.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
object_id.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
object_rc.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
ordered_hash_map.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
packed_data_container.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
packed_data_container.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
paged_allocator.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
pair.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
path_remap.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
path_remap.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
pool_allocator.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
pool_allocator.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
pool_vector.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
pool_vector.h [GDNative] Refactoring: add const to has and join methods of pooled arrays 2022-07-16 14:08:42 +02:00
pooled_list.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
print_string.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
print_string.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
project_settings.cpp ProjectSettings: Ensure 'editor/' settings aren't nested 2022-06-19 11:47:19 +02:00
project_settings.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
ref_ptr.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
ref_ptr.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
reference.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
reference.h Enable type information on release 2022-04-01 18:20:33 -03:00
register_core_types.cpp Add NetworkedMultiplayerCustom so high-level multiplayer backends can be added from GDScript 2022-07-19 09:16:41 -05:00
register_core_types.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
resource.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
resource.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
rid.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
rid.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
rid_handle.cpp Improve locking safety for RID handles builds 2022-04-23 09:09:50 +01:00
rid_handle.h Improve locking safety for RID handles builds 2022-04-23 09:09:50 +01:00
ring_buffer.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
safe_refcount.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
safe_refcount.h Use the right memory ordering in SafeNumeric operations 2022-07-19 17:10:26 +02:00
script_debugger_local.cpp Rename profiler "Idle Time" to "Process Time" 2022-05-06 19:31:31 +02:00
script_debugger_local.h Rename profiler "Idle Time" to "Process Time" 2022-05-06 19:31:31 +02:00
script_language.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
script_language.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
SCsub Core: Move generated VERSION_HASH to a .cpp file 2022-02-10 13:06:56 +01:00
self_list.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
set.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
simple_type.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
sort_array.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
string_buffer.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
string_builder.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
string_builder.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
string_name.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
string_name.h Implement Scene Unique Nodes 2022-04-26 13:55:48 +02:00
threaded_callable_queue.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
translation.cpp Add context support for editor translation 2022-03-16 15:44:30 +08:00
translation.h Add context support for editor translation 2022-03-16 15:44:30 +08:00
type_info.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
typedefs.h Float literals - fix math classes to allow 32 bit calculations 2022-02-24 16:46:02 +00:00
ucaps.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
undo_redo.cpp Merge pull request #54188 from Rubonnek/increase_var_arg_max_3x 2022-03-08 13:10:48 +01:00
undo_redo.h Fix UndoRedo::create_action() invalid memory usage 2022-03-02 12:02:37 +01:00
ustring.cpp File: Re-add support to skip CR (\r) in File::get_as_text 2022-08-01 00:40:55 +02:00
ustring.h File: Re-add support to skip CR (\r) in File::get_as_text 2022-08-01 00:40:55 +02:00
variant.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
variant.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
variant_call.cpp [GDScript][GDNative] Add 'sort' and 'has' methods to pooled arrays 2022-07-07 23:24:31 +02:00
variant_op.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
variant_parser.cpp [3.x] Add forwards-compatible aliases for pool/packed arrays 2022-07-18 12:37:15 -05:00
variant_parser.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
vector.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
version.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
vmap.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
vset.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00