Home | History | Annotate | Download | only in libedit
History log of /src/lib/libedit/filecomplete.h
RevisionDateAuthorComments
 1.15  25-Apr-2023  christos pass lint.
 1.14  26-Sep-2021  christos make flag unsigned to match prototype of the function used
 1.13  28-Mar-2021  christos document the flag
 1.12  27-Mar-2021  christos Add fn_complete2() that controls the quoting of the returned match.
Before it was based on the heuristic that we were not supplied an
attempted_completion_function, which worked well because programs
that supplied that function were not shells and did not want/understand
shell quoting. Recently though Piotr Stefaniak wanted to enhance command
completion for the Bourne Shell and this could benefit quoting the returned
command. This function adds an extra flags argument that controls that quoting.
 1.11  21-Apr-2017  abhinav When doing filename autocompletion, append a trailing slash at the end of directory
names. We already do this when there is only one completion option but
in case of of multiple completion options, it wasn't being done.

ok christos@
 1.10  11-Apr-2016  christos branches: 1.10.2; 1.10.4;
Char -> wchar_t from Ingo Schwarze.
 1.9  30-Dec-2009  christos Wide character support (UTF-8) from Johny Mattsson; currently disabled.
 1.8  16-Feb-2009  christos fix sign compare issues.
 1.7  15-Feb-2009  christos pass lint on _LP64.
 1.6  29-Apr-2008  martin branches: 1.6.8;
Convert to new 2 clause license
 1.5  21-Aug-2006  christos branches: 1.5.16;
Change to a 3 clause copyright after permission of the holders.
 1.4  11-Jun-2005  christos PR/30500: Paul Shupak: Inconsistent definition of tilde_expand().
Provide a layer of indirection between the readline compatibility functions
and our internal implementation, so that we have the freedom to change the
function signature.
 1.3  10-Jun-2005  christos Bug reported from Martin Dietze:

The place to change the completion_append_character is
usually somewhere in the `rl_completion_entry_function'
callback which is where one usually can distinguish between
file- or dir-like entries to append a slash for dirs etc.

This does no longer work since `fn_complete()' takes the
`append_character' as argument before the callback is executed,
so that changes to the variable `rl_completion_append_character'
have in fact no effect for the current completion.

Fix by adding a function that returns the rl_completion_append_character,
when it gets passed in a filename in readline emulation.
 1.2  07-May-2005  dsl gdb directly calls filename_completion_function()
 1.1  07-May-2005  dsl Separate out the filename completion functions from the readline() code.
Pass in loads of parameters instead of relying on shed-loads of global
variables to modify the behaviour.
The filename completion code can now be enabled by code that uses el_gets().
(eg /bin/sh)
 1.5.16.1  18-May-2008  yamt sync with head.
 1.6.8.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.10.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.10.2.1  26-Apr-2017  pgoyette Sync with HEAD

RSS XML Feed