godot/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
io
math
os File: Re-add support to skip CR (`\r`) in `File::get_as_text` 2022-08-01 00:40:55 +02:00
SCsub
array.cpp
array.h
bitfield_dynamic.cpp
bitfield_dynamic.h
class_db.cpp
class_db.h
color.cpp
color.h
color_names.inc
command_queue_mt.cpp
command_queue_mt.h
compressed_translation.cpp
compressed_translation.h
core_builders.py
core_string_names.cpp
core_string_names.h
cowdata.h
dictionary.cpp
dictionary.h
engine.cpp
engine.h
error_list.h
error_macros.cpp
error_macros.h
func_ref.cpp
func_ref.h
global_constants.cpp
global_constants.h
hash_map.h
hashfuncs.h
image.cpp
image.h
input_map.cpp
input_map.h
int_types.h
list.h
local_vector.h
make_binders.py
map.h
message_queue.cpp
message_queue.h
method_bind.cpp
method_bind.h
method_ptrcall.h
node_path.cpp
node_path.h
oa_hash_map.h
object.cpp
object.h
object_id.h
object_rc.h
ordered_hash_map.h
packed_data_container.cpp
packed_data_container.h
paged_allocator.h
pair.h
path_remap.cpp
path_remap.h
pool_allocator.cpp
pool_allocator.h
pool_vector.cpp
pool_vector.h
pooled_list.h
print_string.cpp
print_string.h
project_settings.cpp
project_settings.h
ref_ptr.cpp
ref_ptr.h
reference.cpp
reference.h
register_core_types.cpp
register_core_types.h
resource.cpp
resource.h
rid.cpp
rid.h
rid_handle.cpp
rid_handle.h
ring_buffer.h
safe_refcount.cpp
safe_refcount.h
script_debugger_local.cpp
script_debugger_local.h
script_language.cpp
script_language.h
self_list.h
set.h
simple_type.h
sort_array.h
string_buffer.h
string_builder.cpp
string_builder.h
string_name.cpp
string_name.h
threaded_callable_queue.h
translation.cpp
translation.h
type_info.h
typedefs.h
ucaps.h
undo_redo.cpp
undo_redo.h
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
variant.h
variant_call.cpp
variant_op.cpp
variant_parser.cpp
variant_parser.h
vector.h
version.h
vmap.h
vset.h