1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00
mpv/osdep
Akemi 77021cf6fe osx: fix bundle on macOS High Sierra (10.13)
Apple slightly changed the App bundle mechanism which broke wrapper
scripts that invoke the actual binary. it caused the bundle to always
open a new instance of mpv instead of reusing the currently running one.

just removing the wrapper script would lead to several regressions, so
it was replaced with a symlink to the bundle binary. detection if mpv
was started from the bundle was replaced by comparing the execution name
of the binary, eg the name of the symlink "mpv-bundle". additionally,
because we load a standard config from the Resources folder of the
bundle again, we prevent that config from being loaded if mpv wasn't
started via the bundle. the psn argument has to be removed manually
again.

the ability of loading your standard shell environment has been removed
with the wrapper. a substitution will be added with another commit. as a
side effect this fixes an issues when zsh was used with common NodeJS
configuration scripts.

Fixes #4926 #4866
2017-10-03 11:30:56 +02:00
..
android android: posix_spawn(p) replacement 2017-09-22 09:24:19 +02:00
ar Fix misspellings 2016-06-26 13:47:21 +02:00
win32 win32: fix massive memory corruption (take 2) 2017-08-21 18:42:04 +02:00
atomic.h atomic: remove __atomic builtin usage 2017-02-13 06:45:40 +01:00
compiler.h osdep/compiler.h: change license to LGPL 2017-05-08 13:11:46 +02:00
endian.h
glob-win.c Universal Windows Plaform (UWP) support 2017-06-29 10:36:16 +02:00
io.c Universal Windows Plaform (UWP) support 2017-06-29 10:36:16 +02:00
io.h osdep/io: add android related bullshit 2017-09-18 20:28:46 +03:00
macosx_application_objc.h osx: refactor menu bar creation 2017-08-18 19:20:41 +02:00
macosx_application.h osx: move menu bar creation into its own file 2017-08-18 19:20:41 +02:00
macosx_application.m osx: fix bundle on macOS High Sierra (10.13) 2017-10-03 11:30:56 +02:00
macosx_compat.h osx: fix build on macOS 10.11 and earlier 2017-08-26 11:42:50 +02:00
macosx_events_objc.h osx: fix media keys input when other Apps steal the priority 2017-09-07 20:42:26 +02:00
macosx_events.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
macosx_events.m osx: fix media keys input when other Apps steal the priority 2017-09-07 20:42:26 +02:00
macosx_menubar_objc.h osx: refactor menu bar creation 2017-08-18 19:20:41 +02:00
macosx_menubar.h osx: move menu bar creation into its own file 2017-08-18 19:20:41 +02:00
macosx_menubar.m osx: fix build on macOS 10.11 and earlier 2017-08-26 11:42:50 +02:00
macosx_touchbar.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
macosx_touchbar.m osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
macosx_versions.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
main-fn-cocoa.c
main-fn-unix.c
main-fn-win.c player: do not let pseudo-gui override user config settings 2016-09-23 21:24:50 +02:00
main-fn.h
mpv.exe.manifest
mpv.rc mpv.rc, mpv.exe.manifest: change license to LGPL 2017-06-12 17:06:03 +02:00
path-macosx.m osx: fix bundle on macOS High Sierra (10.13) 2017-10-03 11:30:56 +02:00
path-unix.c
path-uwp.c Universal Windows Plaform (UWP) support 2017-06-29 10:36:16 +02:00
path-win.c win32: build with -DINITGUID 2016-09-28 21:38:52 +10:00
path.h Universal Windows Plaform (UWP) support 2017-06-29 10:36:16 +02:00
posix-spawn.h android: posix_spawn(p) replacement 2017-09-22 09:24:19 +02:00
semaphore_osx.c Fix use of ISC license 2017-04-15 16:20:00 +02:00
semaphore.h
strnlen.h
subprocess-dummy.c build: change how some OS specific source files are selected 2017-06-29 10:30:16 +02:00
subprocess-posix.c android: posix_spawn(p) replacement 2017-09-22 09:24:19 +02:00
subprocess-win.c subprocess-win: fix swprintf usage 2017-07-29 21:13:07 +10:00
subprocess.c build: change how some OS specific source files are selected 2017-06-29 10:30:16 +02:00
subprocess.h subprocess: add a callback to ignore output 2016-07-05 19:15:59 +02:00
terminal-dummy.c build: change how some OS specific source files are selected 2017-06-29 10:30:16 +02:00
terminal-unix.c Avoid calling close(-1) 2017-06-29 10:31:13 +02:00
terminal-win.c terminal: remove unused return value 2017-06-27 18:08:56 +02:00
terminal.h terminal: remove unused return value 2017-06-27 18:08:56 +02:00
threads.c Revert "osdep: NetBSD pthread_setname_np()" 2017-06-22 13:17:40 +02:00
threads.h
timer-darwin.c
timer-linux.c osdep/timer*: change license to LGPL 2017-05-05 12:35:57 +02:00
timer-win2.c Universal Windows Plaform (UWP) support 2017-06-29 10:36:16 +02:00
timer.c
timer.h osdep/timer*: change license to LGPL 2017-05-05 12:35:57 +02:00
w32_keyboard.c w32_common: handle media keys 2017-08-05 02:38:44 +10:00
w32_keyboard.h w32_common: handle media keys 2017-08-05 02:38:44 +10:00
win32-console-wrapper.c win32: fix some Clang warnings 2016-11-17 23:34:20 +11:00
windows_utils.c vo_opengl: angle: rewrite with custom swap chain 2017-02-07 22:45:07 +11:00
windows_utils.h win32: add COM-specific SAFE_RELEASE to windows_utils.h 2017-01-30 00:22:30 +11:00