virtualx-engine/platform/osx
Daniel Ting 3f5f58b9d8 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.

(cherry picked from commit b8e6ff9a7f)
2020-07-06 14:18:18 +02:00
..
export [macOS export] Set correct external file attributes (Unix mode), and creation time. 2020-07-03 13:17:57 +02:00
crash_handler_osx.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
crash_handler_osx.mm Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
detect.py [macOS, 3.2] Add support for the Apple Silicon (ARM64) build target. 2020-06-29 14:43:29 +03:00
dir_access_osx.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
dir_access_osx.mm Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
godot_main_osx.mm [macOS] Load PCK from the .app bundle resources, instead of changing working directory. 2020-01-10 18:02:29 +02:00
joypad_osx.cpp Update OSX GUID to SDL uid conversion. 2020-06-04 12:09:40 +02:00
joypad_osx.h Replace IOHIDDeviceRegisterRemovalCallback with IOHIDManagerRegisterDeviceRemovalCallback to fix gamepad disconnection callback on macOS Catalina. 2020-03-06 23:51:26 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00
os_osx.h [macOS, 3.2] Implement confined mouse mode. 2020-07-02 17:12:16 +03:00
os_osx.mm Fix opening URLS with special characters in macOS 2020-07-06 14:18:18 +02:00
platform_config.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
platform_osx_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
power_osx.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
power_osx.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
semaphore_osx.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
semaphore_osx.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00