aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.h
Commit message (Collapse)AuthorAge
* Use natural (digit-sequence-aware) sorting for wildcard expansionGravatar ridiculousfish2015-03-23
| | | | Fixes #1993
* Don't suggest non-directories when tab completing cdGravatar ridiculousfish2014-10-31
| | | | Fixes #1059
* Set of fixes for issues identified by cppcheckGravatar ridiculousfish2014-10-30
|
* Don't erase old-style options with `complete -l foo -e`Gravatar Kevin Ballard2014-09-02
| | | | | When erasing long option completions, distinguish between gnu-style and old-style options, just like we do when adding and printing completions.
* Support for command wrapping ("aliases")Gravatar ridiculousfish2014-08-15
| | | | | | | | | | | | | | | | | | | | | | | Add the --wraps option to 'complete' and 'function'. This allows a command to (recursively) inherit the completions of a wrapped command. Fixes #393. When evaluating a completion, we inspect the entire "wrap chain" for a command, i.e. we follow the sequence of wrapping until we either hit a loop (which we silently ignore) or the end of the chain. We then evaluate completions as if the wrapping command were substituted with the wrapped command. Currently this only works for commands, i.e. 'complete --command gco --wraps git\ checkout' won't work (that would seem to encroaching on abbreviations anyways). It might be useful to show an error message for that case. The commandline builtin reflects the commandline with the wrapped command substituted in, so e.g. git completions (which inspect the command line) will just work. This sort of command line munging is also performed by 'complete -C' so it's not totally without precedent. 'alias will also now mark its generated function as wrapping the 'target.
* Remove old fish_pager source and implementationGravatar ridiculousfish2014-03-15
|
* Attempt to fix the Linux build by including stdint.hGravatar ridiculousfish2014-01-24
|
* Fix for extra space when tab completing directories. Fixes #1241Gravatar ridiculousfish2014-01-14
|
* Miscellaneous optimizations to reduce string copyingGravatar ridiculousfish2014-01-07
|
* Replace autosuggestions "completions to load" mechanism with moderatelyGravatar ridiculousfish2013-11-29
| | | | less hackish and far simpler "perform on main thread" mechanism
* Fix formattingGravatar ridiculousfish2013-10-26
|
* Fix a comment typoGravatar ridiculousfish2013-09-12
|
* Adjust prefix completions to sort alphabetically instead of by length.Gravatar ridiculousfish2013-08-31
| | | | | Other completions are still sorted by length. https://github.com/fish-shell/fish-shell/issues/923
* FormattingGravatar ridiculousfish2013-06-02
|
* Support for fuzzy completionsGravatar ridiculousfish2013-05-25
| | | | | https://github.com/fish-shell/fish-shell/issues/568 https://github.com/fish-shell/fish-shell/issues/528
* Formatting and style updatesGravatar ridiculousfish2013-05-05
|
* Prevent inline destructor of completion_t to reduce compiled code size a bitGravatar ridiculousfish2013-04-19
|
* Teach case-insensitive completions about tildes. Fixes ↵Gravatar ridiculousfish2013-04-07
| | | | https://github.com/fish-shell/fish-shell/issues/647
* Update code formattingGravatar ridiculousfish2013-03-21
|
* Break out COMPLETE_NO_CASE and COMPLETE_REPLACES_TOKEN into separate flags, ↵Gravatar ridiculousfish2013-03-05
| | | | in preparation for upcoming fuzzy completion work
* Teach fish how to put completion data inside a closing quoteGravatar ridiculousfish2013-02-02
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/552
* Fix spelling: s/compeltion/completion/gGravatar Cheer Xiao2013-01-24
|
* Apply new indentation, brace, and whitespace styleGravatar ridiculousfish2012-11-18
|
* More stylefixesGravatar Łukasz Niemier2012-11-18
|
* Remove trailing whitespaces and change tabs to spacesGravatar Łukasz Niemier2012-11-18
|
* Support for tab cyling through completionsGravatar ridiculousfish2012-08-21
| | | | https://github.com/fish-shell/fish-shell/issues/84
* Fix to make completions non-authoritative by default, which is why unknown ↵Gravatar ridiculousfish2012-08-06
| | | | options were always colored like errors (e.g. --rebase)
* Additional warnings cleanup, effective C++ violations, dead code removalGravatar ridiculousfish2012-08-05
|
* Various changes to reduce fish's compiled code sizeGravatar ridiculousfish2012-07-17
| | | | OS X release build executable size dropped from 672k to 511k
* Remove string_buffer_t (!)Gravatar ridiculousfish2012-03-03
|
* Some more changes in preparation for turning on complete-based autosuggestionsGravatar ridiculousfish2012-02-26
|
* Some cleanup of completions in preparation for more multithreadingGravatar ridiculousfish2012-02-26
|
* More work towards autosuggesting completionsGravatar ridiculousfish2012-02-25
|
* Some more work on threaded completionsGravatar ridiculousfish2012-02-24
|
* Some work to allow completions to be evaluated off of the main threadGravatar ridiculousfish2012-02-24
|
* Large set of changes to migrate sb_out and sb_err to wcstringGravatar ridiculousfish2012-02-22
|
* Migrate errors from array_list_t to wcstring_list_tGravatar ridiculousfish2012-02-10
|
* Excised some more hallocGravatar ridiculousfish2012-02-07
|
* Work on new history implementationGravatar ridiculousfish2012-02-05
|
* Cleanup complete_cmd_descGravatar ridiculousfish2012-02-02
|
* Clean up uses of completion_tGravatar ridiculousfish2012-02-01
|
* Squash a bunch of warningsGravatar ridiculousfish2012-01-31
|
* Added constructor to completion_t for guarranted initialzation of flags ↵Gravatar Siteshwar Vashisht2012-01-16
| | | | attribute.
* Merge branch 'CPlusPlus' of ↵Gravatar Siteshwar Vashisht2012-01-16
|\ | | | | | | gitorious.org:~ridiculousfish/fish-shell/fishfish into CPlusPlus
* | Converted all auto completion calls (on pressing tab) to use ↵Gravatar Siteshwar Vashisht2012-01-16
| | | | | | | | std::vector<completion_t>, bugs are yet to be fixed
| * Fix to prevent autoloading of completions on highlight threadGravatar ridiculousfish2012-01-15
|/
* Some changes to migrate towards C++ and a multithreaded modelGravatar ridiculousfish2011-12-26
|
* remove trailing spacesGravatar Grissiom2010-09-18
| | | | | This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not introduce any functionality change.
* Add canse insensitive tilde completionGravatar liljencrantz2008-01-14
| | | | darcs-hash:20080113193221-75c98-169804fe128001f73eaee6fab28bfb99dca7c93e.gz
* Add lots of new code comments.Gravatar liljencrantz2008-01-14
| | | | darcs-hash:20080113164747-75c98-9d0cefd27be7aef7ba60772616d9da7e6bb52912.gz