mpv/player
Avi Halachmi (:avih) 557e9d9531 win32: scripting utils.get_env_list(): use UTF-8
lua/js utils.get_env_list() uses `environ' which was ANSI, thus
it broke any unicode names/values.

mpv already has an internal utf8_environ for win32, but it's used
only at the getenv(..) wrapper and not exposed in itself, and also it
has lazy initialization - on first getenv() call.

Now `environ' maps to a function which ensures initialization while
keeping it an l-value (like posix expects).

The cost of this fuglyness is that files should include osdep/io.h
(which now declares environ as extern) rather than declaring it
themselves, or else the build will break on mingw.
2020-08-16 12:24:19 +03:00
..
javascript js: hooks: allow deferred continuation (match d0ab562b) 2020-08-07 15:12:20 +03:00
lua ytdl_hook: sort subtitle list by language 2020-08-12 20:16:13 +02:00
audio.c audio: redo internal AO API 2020-06-01 01:08:16 +02:00
client.c client API: report IDs of inserted playlist entries on loading playlist 2020-03-27 00:57:11 +01:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c command: extend subprocess command stdin, change behavior 2020-08-16 02:54:44 +02:00
command.h command: use client IDs for hooks 2020-03-26 23:40:25 +01:00
configfiles.c player: warn if both proper and compat. config directories exist 2020-06-25 17:56:16 +02:00
core.h auto_profiles: add this script 2020-08-05 22:37:47 +02:00
external_files.c external_files: add .pgs subtitle extension 2020-07-21 15:07:17 +02:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c win32: scripting utils.get_env_list(): use UTF-8 2020-08-16 12:24:19 +03:00
loadfile.c player: remove duplicated track option setter code 2020-04-15 17:10:01 +02:00
lua.c win32: scripting utils.get_env_list(): use UTF-8 2020-08-16 12:24:19 +03:00
main.c build: change filenames of generated files 2020-06-04 16:59:05 +02:00
misc.c player: slightly improve use of secondary track selection limits 2020-04-15 17:04:00 +02:00
osd.c player: add --term-title option 2020-05-25 20:39:37 +02:00
playloop.c player: make unpausing directly after seek work with --keep-open (again) 2020-06-10 11:44:47 +02:00
screenshot.c screenshot: fix typo in comment 2020-02-07 13:42:42 +01:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c auto_profiles: add this script 2020-08-05 22:37:47 +02:00
sub.c command: add property to return text subtitles in ASS 2020-05-14 22:14:49 +02:00
video.c player: remove some display-adrop leftovers 2020-05-23 04:24:04 +02:00