33 Commits

Author SHA1 Message Date
Igor Murzov
d482e74682 mplayer: -dvd-devices takes dvd devices, dirs and .iso files as argument 2013-09-13 02:34:44 +04:00
Ville Skyttä
6185297fc9 *: Line continuation, whitespace, and compgen -W ... -- "$cur" quoting cleanups. 2013-02-17 23:49:30 +02:00
Igor Murzov
b5dce1c4b6 mplayer: Add opus to the list of supported formats.
mplayer can play opus since ffmpeg-1.0.
2012-11-04 15:41:30 +04:00
Igor Murzov
2c2860826f mplayer: Cleanup.
* Wrap a long Line.
* Remove unnecessary line continuation characters.
* Drop incomplete and redundant -af argument completion.
2012-11-04 15:33:06 +04:00
Igor Murzov
f3e10798e6 mplayer: Add some new option argument completions.
This changeset contains:
* New bluray related options.
* -channels argument completion.
* -aspect got the same completion as -monitoraspect. Also the list
  of available aspects is now the same as one in smplayer.
2012-11-04 15:09:15 +04:00
Igor Murzov
7f2eb8327c mplayer: Add -subcp argument completion. 2012-11-03 23:48:12 +04:00
Igor Murzov
6be86286d6 gpg, mplayer: Restore correct options.
This fixes a regression in commit 8f42adfa8d.
2012-11-03 23:15:20 +04:00
Ville Skyttä
a6ff57986f Trim trailing whitespace. 2012-07-22 19:35:03 +03:00
Ville Skyttä
45c0886acc mplayer: Add generic handling of options that take arguments. 2012-01-15 14:24:38 +02:00
Ville Skyttä
a90d7d861a mplayer: Add -monitoraspect arg completion. 2012-01-15 14:00:33 +02:00
Ville Skyttä
3b8ef29ef3 Cleanups: Use [[ instead of [. 2011-11-09 23:28:11 +02:00
Ville Skyttä
0d10b94e7a Move Emacs indentation settings from every file to .dir-locals.el. 2011-11-01 22:14:45 +02:00
Ville Skyttä
20c05b43b6 Load completions in separate files dynamically, get rid of have(). 2011-10-12 00:19:50 +03:00
Igor Murzov
c1132bd0a3 mplayer: Use the same completions as for mplayer2
Binary of mplayer2 should have name mplayer, but it turns out that at
least Debian packagers prefered to give different name.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631551
2011-06-26 14:39:51 +04:00
Ville Skyttä
0cb6263424 Use _init_completion() in completions/m*. 2011-04-20 22:42:55 +03:00
Ville Skyttä
ee43b22f9b Use += to append to arrays and strings.
It's easier on the eye and faster than foo=( "${foo[@]}" ... ).
2011-04-06 20:39:21 +03:00
Ville Skyttä
9af6f3504e Abort completion file loading earlier if required commands are not available.
Cuts ~10% from bash completion load time on two different systems I
just tested.
2011-04-05 00:37:55 +03:00
Ville Skyttä
94c51fc36e Coding style consistency tweaks. 2011-04-04 23:48:22 +03:00
Igor Murzov
e9393a96f7 Add completion for mplayer's -noconfig option 2011-01-27 21:39:14 +02:00
David Paleino
c55dfe6982 Complete on all files for mplayer's -dvd-device.
This is because mplayer is able to use a directory as "device" (i.e. if you
  copy a DVD on the harddisk), or even single files (.iso files, for example).
2010-12-18 23:23:59 +01:00
Ville Skyttä
0f450219b6 Remove most "-o filenames" options to "complete".
Turn it on dynamically when needed instead; see doc/styleguide.txt for
a longer explanation.  This fixes many non-filename completions which
had been previously more or less broken due to unwanted
escape-as-filenames behavior.
2010-11-01 19:29:45 +02:00
Ville Skyttä
f4c5d0c596 Add *.iso to mplayer, kaffeine, and dragon filename completions (Alioth: #311420).
xine-ui doesn't seem to support direct opening of *.iso files, so
split it and fbxine and aaxine from kaffeine and dragon completions.
2010-10-31 19:29:52 +02:00
Ville Skyttä
9aeeeec42a Add *.m2t to mplayer filename completions (Alioth: #312770). 2010-10-17 22:15:50 +03:00
Ville Skyttä
3d8efed618 Fixes to completions for filenames containing tabs (RedHat: #629518). 2010-10-04 20:49:17 +03:00
Ville Skyttä
35ac650e30 Make mplayer -skin completion work with post-2006 versions.
The subdir was "Skin" until 1.0pre8 (Jun 2006), "skins" in and after it.
2010-09-28 19:14:08 +03:00
Ville Skyttä
1a2de64f80 Localize IFS tighter in _mplayer(). 2010-09-28 19:11:54 +03:00
Ville Skyttä
5a254604e7 Add mplayer -subfont completion. 2010-09-28 19:07:01 +03:00
Ville Skyttä
06083c3563 Add Fontconfig patterns to mplayer -font completions. 2010-09-28 19:04:38 +03:00
Ville Skyttä
5134d0ac1d Add mplayer -show-profile completion. 2010-09-28 18:53:33 +03:00
Ville Skyttä
3fbee9ae9e Drop duplicate -demuxer from mplayer option 'case' statement. 2010-09-28 18:52:23 +03:00
Ville Skyttä
729f6c4ea3 Add mplayer -audio-demuxer and -sub-demuxer completions. 2010-09-28 18:52:11 +03:00
Ville Skyttä
7ea7d7b268 Simplify filename completions per new _filedir(_xspec) uppercasing behavior. 2010-09-19 12:29:29 +03:00
Guillaume Rousse
cb7fc2f7c4 rename 'contrib' directory to 'completions' 2010-09-12 16:42:21 +02:00