mpv/input
wm4 37210f0cbc 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.
2015-01-25 17:00:14 +09:00
..
cmd_list.c input: simplify 2014-11-24 16:48:34 +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 Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
input.c input: add a hack to fix keyboard navigation with dvd/bd menu 2014-12-07 23:56:25 +01:00
input.h input: simplify 2014-11-24 16:48:34 +01:00
ipc.c ipc: report some user errors better 2015-01-25 17:00:14 +09:00
joystick.c Do not call strerror() 2015-01-25 17:00:14 +09:00
keycodes.c Remove some unneeded NULL checks 2014-11-21 09:58:09 +01:00
keycodes.h input: make key bindings like "Shift+X" work (for ASCII) 2014-08-26 20:39:28 +02:00
lirc.c Do not call strerror() 2015-01-25 17:00:14 +09:00
pipe-win32.c pipe-win32: possible fix for Windows XP deadlock 2014-12-17 20:09:05 +01:00