1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-07 22:57:42 +00:00
mpv/osdep
wm4 7eca787571 build: change how some OS specific source files are selected
In a bunch of cases, we emulate highly platform specific APIs on a
higher level across all OSes, such as IPC, terminal, subprocess
handling, and more. We have source files for each OS, and they implement
all the same mpv internal API.

Selecting which source file to use on an OS can be tricky, because there
is partially overlapping and emulated APIs (consider Cygwin on Windows).
Add a pick_first_matching_dep() function to make this slightly easier
and more structured.

Also add dummy backends in some cases, to deal with APIs not being
available.

Clarify the Windows dependency identifiers, as these are the most
confusing.
2017-06-29 10:30:16 +02:00
..
android
ar Fix misspellings 2016-06-26 13:47:21 +02:00
win32 win32: pthread: avoid using TLS, simplify pthread_t 2017-06-15 16:33:42 +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 glob-win: relicense to LGPL 2016-02-18 22:57:28 +11:00
io.c win32: fix mismatched free/talloc_free 2017-04-12 14:12:41 +02:00
io.h build: replace glob() check and assume it's always in POSIX 2017-06-29 10:30:13 +02:00
macosx_application_objc.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
macosx_application.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
macosx_application.m osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
macosx_compat.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
macosx_events_objc.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +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: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +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
path-unix.c
path-win.c win32: build with -DINITGUID 2016-09-28 21:38:52 +10:00
path.h
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
subprocess-win.c osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02: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 terminal: remove unused return value 2017-06-27 18:08:56 +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 osdep/timer*: change license to LGPL 2017-05-05 12:35:57 +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, w32_keyboard: change license to LGPL 2017-06-24 12:54:45 +02:00
w32_keyboard.h w32_common, w32_keyboard: change license to LGPL 2017-06-24 12:54:45 +02: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