cog/Application
Christopher Snowhill a640627fe1
Playlist: Add a workaround for AppleStript URLs
AppleScript is apparently such a legacy system, that when it sends URLs
to your app to open, they're in the old Carbon format. So we need to
translate these to proper URL strings for the rest of the app to deal
with them at all.

The format of these URLs is as follows:

/method/::

Followed optionally by:

username/password@

Where the slash and password are optional.

Followed by:

hostname

Followed optionally by:

/portnumber

And finally, followed by:

:path:on:server:filename.ext

So, in hostname field, we must swap slashes to colons. And in the path
field, swap colons to slashes. What a bizarre world.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2023-06-01 21:34:34 -07:00
..
AppController.h Restore the File Tree, now with a chooser button 2022-06-30 16:57:51 -07:00
AppController.m Playlist: Add a workaround for AppleStript URLs 2023-06-01 21:34:34 -07:00
DockIconController.h Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
DockIconController.m [Dock Icon] Refuse to update if plaque didn't load 2022-06-20 21:34:05 -07:00
MediaKeysApplication.h Reformat my own source code with clang-format 2022-02-06 21:49:27 -08:00
MediaKeysApplication.m [SceneKit Visualization] Refine blocklist again 2022-06-19 21:42:39 -07:00
PlaybackController.h Reintroducing App Sandbox, and more 2022-06-20 03:35:29 -07:00
PlaybackController.m Playback Controller: Fixed title bar updating 2022-12-09 22:34:47 -08:00
PlaybackEventController.h Reintroducing App Sandbox, and more 2022-06-20 03:35:29 -07:00
PlaybackEventController.m [Sandbox] Disable distributed iTunes notification 2022-06-20 16:43:21 -07:00
ScriptAdditions.h Add more automation commands and properties 2022-02-21 21:52:09 -08:00
ScriptAdditions.m Use NSNumber Literals as much as possible 2022-06-17 06:39:02 -07:00