mpv/input
wm4 98a80884da ipc: report some user errors better
Using the IPC with a program, it's not often obvious that a newline must
be sent to terminate a command. Print a warning if the connection is
closed while there is still uninterpreted data in the buffer.

Print the OS reported error if reading/writing the socket fails. Print
an erro if JSON parsing fails.

I considered silencing write errors if the write end is closed (EPIPE),
because a client might send a bunch of commands, and then close the
socket without wanting to read the reply. But then, mpv disconnects
without reading further commands that might still be buffered, so it's
probably a good idea to always print the error.
2014-12-24 13:18:00 +01:00
..
cmd_list.c command: extend revert_seek command 2014-12-17 22:56:45 +01:00
cmd_list.h input: simplify 2014-11-24 16:48:34 +01:00
cmd_parse.c input: simplify 2014-11-24 16:48:34 +01:00
cmd_parse.h command: print executed commands with -v 2014-10-23 15:13:05 +02:00
event.c input: use mpv_node parser for char** command parsers 2014-10-10 22:58:28 +02:00
event.h
input.c input: add a hack to fix keyboard navigation with dvd/bd menu 2014-12-04 22:42:06 +01:00
input.h input: simplify 2014-11-24 16:48:34 +01:00
ipc.c ipc: report some user errors better 2014-12-24 13:18:00 +01:00
joystick.c Do not call strerror() 2014-11-26 21:21:56 +01:00
keycodes.c Remove some unneeded NULL checks 2014-11-21 09:58:09 +01:00
keycodes.h
lirc.c Do not call strerror() 2014-11-26 21:21:56 +01:00
pipe-win32.c pipe-win32: possible fix for Windows XP deadlock 2014-12-11 23:38:15 +11:00