summaryrefslogtreecommitdiffstats
path: root/player
Commit message (Collapse)AuthorAgeFilesLines
* terminal: abstract terminal color handlingwm42013-12-201-1/+1
| | | | | | | | Instead of making msg.c an ifdef hell for unix vs. windows code, move the code to separate functions defined in terminal-unix.c/terminal- win.c. Drop the code that selects random colors for --msgmodule prefixes.
* osc: use mp.send_commandvwm42013-12-201-18/+18
| | | | | See previous commit. Drop no-osd prefixes, as this is the default for send_commandv anyway. send_command should probably be renamed later.
* input, lua: add functions to take pre-split input commandswm42013-12-201-0/+23
| | | | | | | | | | | | | | So you can pass a command as list of strings (each item is an argument), instead of having to worry about escaping and such. These functions also take an argument for the default command flags. In particular, this allows setting saner defaults for commands sent by program code. Expose this to Lua as mp.send_commandv command (suggestions for a better name welcome). The Lua version doesn't allow setting the default command flags, but it can still use command prefixes. The default flags are different from input.conf, and disable OSD and property expansion.
* Rename getch2....c/h to terminal....c/hwm42013-12-194-3/+7
| | | | | "getch2" really tells nothing about what the heck this code does. It'd be even worse when moving the rest of terminal handling code there.
* player: replace some overlooked mp_msgswm42013-12-198-42/+31
| | | | | There are still some using IDENTIFY, and some without context in configfiles.c.
* command: remove radio commandswm42013-12-191-39/+0
| | | | | | | Remove these because I'm too lazy to convert them to proper STREAM_CTRLs. Considering that probably nobody uses radio://, caring about this is a complete waste of time. I will add these commands back if someone asks for them, but I don't expect this to happen.
* Remove the _ macrowm42013-12-183-40/+40
| | | | | This was a gettext-style macro to mark strings that should be translated.
* command: better check whether file duration is availablewm42013-12-171-1/+1
|
* Split mpvcore/ into common/, misc/, bstr/wm42013-12-1717-55/+55
|
* Move options/config related files from mpvcore/ to options/wm42013-12-1716-38/+38
| | | | | | | | | Since m_option.h and options.h are extremely often included, a lot of files have to be changed. Moving path.c/h to options/ is a bit questionable, but since this is mainly about access to config files (which are also handled in options/), it's probably ok.
* Move libquvi stuff to stream/resolve/wm42013-12-174-4/+2
|
* Move mpvcore/input/ to input/wm42013-12-177-7/+7
|
* Rename mp_lua.c/h to lua.c/hwm42013-12-174-3/+3
|
* Rename mp_core.h to core.hwm42013-12-1717-16/+16
| | | | Get rid of the mp_ prefix.
* Move mpvcore/player/ to player/wm42013-12-1723-0/+13324