godot/core
Rémi Verschelde 9ad9d1f3b3 Don't localize paths that contain but are not in the resource path
This issue could be triggered if you try to access a path which contains
the resource path string in its absolute path, while pointing to a directory
which is *not* in the resource path.

It's clearer with an example: with `/my/project` as resource path, the
previous logic would also localize `/my/project_data` to `res://data`, which
is incorrect and would lead to a cryptic error.

Fixes #24761.

Co-authored-by: volzhs <volzhs@gmail.com>
2019-05-30 16:03:12 +02:00
..
bind Merge pull request #26462 from SubSage/master 2019-05-28 14:26:57 +02:00
io Merge pull request #25148 from capnm/capnm-print-corrupt-image-path 2019-05-30 14:52:55 +02:00
math Merge pull request #28957 from aaronfranke/basis-optimize 2019-05-27 17:42:43 +02:00
os Add native window/taskbar icon support for Windows and macOS. 2019-05-24 14:23:57 +03:00
array.cpp Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
array.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
class_db.cpp Add ability to edit editor feature profiles 2019-04-08 19:18:51 -03:00
class_db.h Add ability to edit editor feature profiles 2019-04-08 19:18:51 -03:00
color_names.inc Add "transparent" to named color list 2019-05-24 20:37:40 +01:00
color.cpp
color.h
command_queue_mt.cpp
command_queue_mt.h Properly unlock mutex 2019-05-30 10:28:03 +02:00
compressed_translation.cpp
compressed_translation.h
core_builders.py
core_string_names.cpp Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
core_string_names.h Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
cowdata.h
dictionary.cpp Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
dictionary.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
engine.cpp
engine.h
error_list.h
error_macros.cpp
error_macros.h Fix typos with codespell 2019-05-19 13:10:35 +02:00
func_ref.cpp Added an is_valid function to FuncRef so script can check if it is safe to call it. 2019-04-29 23:38:42 +01:00
func_ref.h Added an is_valid function to FuncRef so script can check if it is safe to call it. 2019-04-29 23:38:42 +01:00
global_constants.cpp
global_constants.h
hash_map.h
hashfuncs.h
image.cpp Implement Lanczos image filter 2019-05-05 14:03:56 +02:00
image.h Implement Lanczos image filter 2019-05-05 14:03:56 +02:00
input_map.cpp
input_map.h
int_types.h
list.h Merge pull request #27676 from qarmin/small_fixes_2 2019-05-01 08:19:04 +02:00
make_binders.py C#: Generate the correct integer and floating point types 2019-04-27 01:30:46 +02:00
map.h
message_queue.cpp MessageQueue::flush now always destroys parameters of a spent message 2019-05-19 14:05:15 +01:00
message_queue.h Change "ID" to lowercase "id" 2019-05-09 06:25:32 -04:00
method_bind.cpp
method_bind.h C#: Generate the correct integer and floating point types 2019-04-27 01:30:46 +02:00
method_ptrcall.h
node_path.cpp
node_path.h
oa_hash_map.h
object.cpp Merge pull request #27886 from LeonardMeagher2/obj_to_string 2019-05-20 22:37:01 +02:00
object.h Merge pull request #27886 from LeonardMeagher2/obj_to_string 2019-05-20 22:37:01 +02:00
ordered_hash_map.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
packed_data_container.cpp Style: Apply new changes from clang-format 8.0 2019-04-09 17:09:48 +02:00
packed_data_container.h
pair.h
path_remap.cpp
path_remap.h
pool_allocator.cpp
pool_allocator.h
pool_vector.cpp
pool_vector.h
print_string.cpp Properly unlock mutex 2019-05-30 10:28:03 +02:00
print_string.h
project_settings.cpp Don't localize paths that contain but are not in the resource path 2019-05-30 16:03:12 +02:00
project_settings.h
ref_ptr.cpp
ref_ptr.h
reference.cpp
reference.h C#: Generate the correct integer and floating point types 2019-04-27 01:30:46 +02:00
register_core_types.cpp
register_core_types.h
resource.cpp No more metadata and dependency indices kept in resources saved. 2019-04-11 14:36:58 -03:00
resource.h No more metadata and dependency indices kept in resources saved. 2019-04-11 14:36:58 -03:00
rid.cpp
rid.h
ring_buffer.h
safe_refcount.cpp
safe_refcount.h
script_debugger_local.cpp
script_debugger_local.h
script_debugger_remote.cpp
script_debugger_remote.h
script_language.cpp Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
script_language.h Allow overriding how scripted objects are converted to strings 2019-05-03 15:06:05 -07:00
SCsub Build Clipper with tools=no and patch it to auto-disable exceptions 2019-05-22 13:12:21 +03:00
self_list.h
set.h
simple_type.h
sort_array.h
string_buffer.h
string_builder.cpp
string_builder.h Use StringBuilder in C# bindings generator 2019-04-19 02:11:39 +02:00
string_name.cpp
string_name.h
translation.cpp Locales: Add some missing locale names 2019-05-02 09:22:40 +02:00
translation.h Added TranslationServer::get_loaded_locales to return an array of all locales with a loaded Translation 2019-04-24 21:39:29 -04:00
type_info.h C#: Generate the correct integer and floating point types 2019-04-27 01:30:46 +02:00
typedefs.h
ucaps.h
undo_redo.cpp Fix typos with codespell 2019-05-19 13:10:35 +02:00
undo_redo.h Fix typos with codespell 2019-05-19 13:10:35 +02:00
ustring.cpp Support for binary literals in GDScript. Added an error that shows if a point is written in a hex literal. Added highlighting for binary literals in GDScript 2019-04-25 13:44:27 +01:00
ustring.h Support for binary literals in GDScript. Added an error that shows if a point is written in a hex literal. Added highlighting for binary literals in GDScript 2019-04-25 13:44:27 +01:00
variant_call.cpp Add ability to edit editor feature profiles 2019-04-08 19:18:51 -03:00
variant_op.cpp Style: Apply new changes from clang-format 8.0 2019-04-09 17:09:48 +02:00
variant_parser.cpp Style: Apply new changes from clang-format 8.0 2019-04-09 17:09:48 +02:00
variant_parser.h
variant.cpp Merge pull request #27886 from LeonardMeagher2/obj_to_string 2019-05-20 22:37:01 +02:00
variant.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
vector.h
version.h
vmap.h
vset.h