godot/platform/osx
Daniel Ting 91f7af48eb
Fix opening URLS with special characters in macOS
The Online Tutorials section of InputMap in the editor's built-in
documentation viewer contains this link:

docs.godotengine.org/en/latest/tutorials/inputs/inputevent.html#inputmap

The macOS implementation for opening a link percent-encodes it before
sending it to the browser, resulting in a 404. This is to fix #13422
where filenames with special characters could not be opened in Finder.
However, this breaks URLS so I added a check to see if the resource
scheme is file:// and if so, only then is it escaped. This allows other
schemes like `http`, `ftp`, and `mailto` to be used.
2020-08-14 09:14:58 +03:00
..
export Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
audio_driver_osx.cpp Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
audio_driver_osx.h Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
context_gl_osx.cpp Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
context_gl_osx.h Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
crash_handler_osx.h Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
crash_handler_osx.mm Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
detect.py change matrix and enable caching for Android, iOS and macOS (cross-compile) 2017-11-13 15:13:46 -04:00
dir_access_osx.h Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
dir_access_osx.mm Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
godot_main_osx.mm Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
godot_osx.h Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
godot_osx.mm Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
joystick_osx.cpp Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
joystick_osx.h Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
logo.png Fixed iCCp chunk in pngs 2016-06-22 21:13:29 +02:00
os_osx.h Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
os_osx.mm Fix opening URLS with special characters in macOS 2020-08-14 09:14:58 +03:00
platform_config.h Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
SCsub disable caching for targets using helper functions 2017-11-28 16:14:24 -04:00
sem_osx.cpp Update copyright statements to 2020 2020-08-13 22:58:13 +02:00
sem_osx.h Update copyright statements to 2020 2020-08-13 22:58:13 +02:00