gstreamer/tools
David Rothlisberger 5d6635f9b4 tools/gstreamer-completion: Complete option & property values on bash 3.2
Bash 3's completion doesn't split words by characters in
COMP_WORDBREAKS. In particular it doesn't split at "=" signs. Now
_gst_launch_parse handles both bash 3 and 4 format of COMP_WORDS.

Note that "${cur%%=*}" means cur's value with the longest possible match
of "=*" deleted from the end; "${cur#*=}" means cur's value with the
shortest possible match of "*=" deleted from the beginning. See
http://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html

Regardless of the version of bash running the unit tests, I can test for
both behaviours because the unit test populates COMP_WORDS manually. So
this tests the bash 3 behaviour:

    test_gst_inspect_completion --gst-debug-level=4

and this tests the bash 4 behaviour:

    test_gst_inspect_completion --gst-debug-level = 4
2013-04-29 21:12:42 +02:00
..
.gitignore Remove everything libxml2- and loadsave-related 2011-06-04 15:22:06 +01:00
gst-indent gst-indent: Add --leave-preprocessor-space for indent 2.2.11 2010-04-03 20:51:17 +02:00
gst-inspect.1.in docs: fix typo on gst-inspect man page 2010-07-16 18:20:57 +01:00
gst-inspect.c gst-inspect: only add a '*' for non-'gpointer' pointers 2013-04-13 12:00:12 +01:00
gst-launch.1.in docs: flesh out gst-launch-1.0 man page a little 2013-02-13 23:27:16 +00:00
gst-launch.c tools: update for latest context API changes 2013-04-18 10:13:30 +01:00
gst-plot-timeline.py docs: some 0.10 -> 1.0 changes 2012-10-02 13:22:35 +02:00
gst-typefind.1.in docs: updates 2012-09-25 17:06:45 +02:00
gst-typefind.c Fix FSF address 2012-11-03 20:44:48 +00:00
gstreamer-completion tools/gstreamer-completion: Complete option & property values on bash 3.2 2013-04-29 21:12:42 +02:00
Makefile.am gst: Change versioning 2012-04-04 14:28:55 +02:00
tools.h Fix FSF address 2012-11-03 20:44:48 +00:00