mpv/player
Akemi 8bbdecea83 osx: consistent normalisation when searching for external files
several unicode characters can be encoded in two different ways, either
in a precomposed (NFC) or decomposed (NFD) representation. everywhere
besides on macOS, specifically HFS+, precomposed strings are being used.
furthermore on macOS we can get either precomposed or decomposed
strings, for example when not HFS+ formatted volumes are used. that can
be the case for network mounted devices (SMB, NFS) or optical/removable
devices (UDF). this can lead to an inequality of actual equal strings,
which can happen when comparing strings from different sources, like the
command line or filesystem. this makes it mainly a problem on macOS
systems.

one case that can potential break is the sub-auto option. to prevent
that we convert the search string as well as the string we search in to
the same normalised representation, specifically we use the decomposed
form which is used anywhere else.

this could potentially be a problem on other platforms too, though the
potential of occurring is very minor. for those platforms we don't
convert anything and just fallback to the input.

Fixes #4016
2017-02-02 16:21:04 +01:00
..
lua osc: allow playlist buttons when looping 2017-02-01 13:26:38 +00:00
audio.c audio: stop being dumb 2017-01-08 14:47:53 +01:00
client.c player: restructure cancel callback 2017-01-18 17:52:05 +01:00
client.h client API: turn mpv_suspend() and mpv_resume() into stubs 2016-11-22 15:54:44 +01:00
command.c command: nicer OSd-formatting for loop-file 2017-01-31 11:47:28 +01:00
command.h options: slightly better option update mechanism 2016-09-19 19:51:26 +02:00
configfiles.c player: fix previous commit 2016-10-03 17:16:02 +02:00
core.h player: add prefetching of the next playlist entry 2017-01-18 19:02:50 +01:00
external_files.c osx: consistent normalisation when searching for external files 2017-02-02 16:21:04 +01:00
external_files.h
lavfi.c lavfi: shut up false positive compiler warnings 2016-04-26 19:38:51 +02:00
lavfi.h player: add complex filter graph support 2016-02-05 23:19:56 +01:00
loadfile.c player: remove --stream-capture option/property 2017-01-21 17:19:01 +01:00
lua.c lua: close directory after reading its entries 2017-01-17 08:22:13 +01:00
main.c player: actually initialize/destroy MPContext.lock 2017-01-22 15:24:13 +01:00
misc.c player: remove --stream-capture option/property 2017-01-21 17:19:01 +01:00
osd.c player: remove dysfunctional edition switching OSD code 2017-01-05 00:07:28 +01:00
playloop.c player: add prefetching of the next playlist entry 2017-01-18 19:02:50 +01:00
screenshot.c cuda: use libavutil functions for copying hw surfaces to memory 2017-01-12 13:59:35 +01:00
screenshot.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
scripting.c scripting: don't call dlclose() on C plugins 2017-01-14 17:14:30 +01:00
sub.c player: enable no-video subtitle display on coverart too 2016-10-31 13:55:32 +01:00
video.c player: print hw format on "VO: " line too 2017-01-29 12:53:58 +01:00