mpv/libmpv
wm4 332907e1d7 command: give named arguments to almost all commands
Before this change, only 1 command or so had named arguments. There is
no reason why other commands can't have them, except that it's a bit of
work to add them.

Commands with variable number of arguments are inherently incompatible
to named arguments, such as the "run" command. They still have dummy
names, but obviously you can't assign multiple values to a single named
argument (unless the argument has an array type, which would be
something different). For now, disallow using named argument APIs with
these commands. This might change later.

2 commands are adjusted to not need a separate default value by changing
flag constants. (The numeric values are C only and can't be set by
users.)

Make the command syntax in the manpage more consistent. Now none of the
allowed choice/flag names are in the command header, and all arguments
are shown with their proper name and quoted with <...>.

Some places in the manpage and the client.h doxygen are updated to
reflect that most commands support named arguments. In addition, try to
improve the documentation of the syntax and need for escaping etc. as
well.

(Or actually most uses of the word "argument" should be "parameter".)
2018-05-24 19:56:34 +02:00
..
client.h command: give named arguments to almost all commands 2018-05-24 19:56:34 +02:00
mpv.def command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
mpv.pc.in
opengl_cb.h drm/atomic: add connector to atomic context 2018-05-01 20:48:02 +03:00
qthelper.hpp client API: deprecate qthelper.hpp 2018-03-15 23:13:53 -07:00
render.h drm/atomic: refactor hwdec_drmprime_drm with native resources 2018-05-01 20:48:02 +03:00
render_gl.h client API: some doxygen fixes/additions 2018-05-24 19:56:33 +02:00
stream_cb.h client API: some doxygen fixes/additions 2018-05-24 19:56:33 +02:00