summaryrefslogtreecommitdiff
path: root/bash_completion (follow)
Commit message (Collapse)AuthorAge
* Switch to SPDX identifiers.Andre Noll2026-03-17
| | | | | | | | Generated with sed -i 's|Copyright.*Andre Noll.*|SPDX-License-Identifier: GPL-2.0 */|g' *.c *.h followed by manually tweaking the result a bit. No license change intended.
* Revamp bash_completion.Andre Noll2025-05-18
| | | | | | | | | | | This rewrite of the bash_completion script improves completion for the para_client and para_audioc commands significantly. One flaw which is fixed by this patch is related to the fact that by default readline creates COMP_WORDS by splitting at characters that separate a shell command, including "=", but for paraslash commands we only want to split at spaces. So we modify the completer to return the special code 124 to instruct readline to try split again with space as the only delimiter.
* bash completion: Fix help option parsing.Andre Noll2025-05-18
| | | | | | | | | | If we complete on para_client or para_audioc options rather than on server or audiod subcommands, we parse the --help output to determine the options to complete on. The regular expression we currently use for that is too lenient because it also matches the options in the synopsis section of the help output. Fix this by prefixing the expression with '^' to extract only the options of the subsequent help text.
* Merge branch 'maint'Andre Noll2017-12-31
|\ | | | | | | | | | | | | | | | | | | | | A conflict in init_random_seed_or_die() of gcrypt.c. The fix added in the maint branch conflicted against the master branch which also modified the function to bump the required libgcrypt version. * maint: resample filter: Don't discard const. gcrypt: Seed PRNG in init_random_seed_or_die(). bash_completion: Get rid of weird retry logic.
| * bash_completion: Get rid of weird retry logic.Andre Noll2017-12-17
| | | | | | | | | | | | | | | | | | | | | | It's totally unclear what this is supposed to do, as the commit which introduced it six years ago does not say anything about the space character being the only "proper" value. Removing the check fixes an issue that only happens on the first completion attempt: if a unique completion is possible, the completer prints this completion as if there were multiple completions possible instead of completing the command line.
* | bash_completion: Fix typo.Andre Noll2017-09-24
| | | | | | | | | | The underscore was dropped by mistake recently in commit d31995b3 (Shorten copyright notice).
* | Shorten copyright notice.Andre Noll2017-09-22
|/ | | | | | | | | | | | | | | | | | | | | The GPLv2 line does not add any additional information, so drop it. This leaves a single line of legalese text for most files, which is about the amount of screen real estate it deserves. This patch was created with the following script (plus some manual fixups): awk '{ if (NR <= 5) { gs = gensub(/.*Copyright.* ([0-9]+).*Andre Noll.*/, "\\1", "g") if (gs != $0) year = gs next } if (NR == 6 && year != "") printf("/* Copyright (C) %s Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */\n", year) print }'
* Update year in copyright headers.Andre Noll2015-01-12
| | | | | | | | | | | | | | | | Done with files=$(git grep -l 'Copyright (C) [0-9]\{4\}\(-2014\)* Andre Noll') sed --in-place= -e 's/Copyright (C) \([0-9]\{4\}\)-2014 Andre Noll/Copyright (C) \1 Andre Noll/1' $files In previous years we ran a similar script to set the second year in the range to the current year. This is kind of silly, so let's get rid of this useless information. This commit replaces "Copyright (C) A-B" by "Copyright (C) A" in all file headers, i.e. only the first year (A) is left in. Accurate information including time stamps for each change can be obtained from the git history.
* doc: Change email address to maan@tuebingen.mpg.deAndre Noll2014-08-18
| | | | | | | | | | | | | | The mail server on systemlinux.org was down for more than a week lately, so let's use an alternative official address. This commit changes all maan@systemlinux.org addresses to maan@tuebingen.mpg.de. Most .c and .h files contain the email address in the copyright header, so they must all be patched. Three other files contain the address for a different reason: * README lists email and git, gitweb and home page URLs * configure.ac needs it for configure -h * version.c contains it for the -V option of all commands
* Change copyright year to 2014.Andre Noll2014-02-22
| | | | | | | | | This year, we're really on time. The changes in this patch were created by the following silly script: files=$(git grep -l 'Copyright (C) [0-9]\{4\}\(-2013\)* Andre Noll') sed --in-place= -e 's/Copyright (C) \([0-9]\{4\}\)-2013 Andre Noll/Copyright (C) \1-2014 Andre Noll/1' $files sed --in-place= -e 's/Copyright (C) 2013 Andre Noll/Copyright (C) 2013-2014 Andre Noll/1' $files
* bash_completion: Run client/audioc from PATH.Andre Noll2013-09-22
| | | | This way it works for everybody.
* Rewrite bash completion.Andre Noll2011-11-20
| | | | | | | Now that para_client and para_audioc gained the --completion option for completing a partially entered command line, we can use this feature in the bash completion script. This allows to avoid duplicating the available commands in the completion script.
* bash_completion: Update database name.Andre Noll2011-09-02
| | | | Oops, this should have been done in v0.4.0..
* bash_completion: Fix sender completion.Andre Noll2010-05-19
| | | | | Commit 6d1b1feadb2e7221874b7be205c51e0fe56d0519 changed the output of the si command but missed to update the completion script accordingly.
* Use symbolic names for loglevels and clean up the ggo mess.Andre Noll2009-01-18
| | | | | | We now use m4 to generate the ggo files, which allows to get rid of a lot of duplicated command line options and improves the readability of the man pages.
* Update bash_completion to v0.3 commands.Andre Noll2007-12-28
| | | | | It doesn't care about options, and it's slow. But it's better than what was there before.
* initial git commitAndre2006-02-20
Let's try if this works out.