summaryrefslogtreecommitdiff
path: root/src/completion.cc
AgeCommit message (Collapse)Author
2025-02-20Try to fix MacOS compilationMaxime Coste
2025-02-19Slight style tweaksMaxime Coste
2025-02-19Move command/filename completion logic to completion.ccMaxime Coste
Refactor list_files to use a callback instead of returning a vector, file.cc/hh should not know about completion logic.
2024-10-22Remove now unused CompletionFlagsMaxime Coste
Since shell-script-completions now runs the script asynchronously and unconditionally, there is no use for the CompletionFlags::Fast anymore which means we can remove that type altogether.
2024-08-12Reduce headers dependency graphMaxime Coste
Move more code into the implementation files to reduce the amount of code pulled by headers.
2018-05-26Do not expose C++ typeid().name to user facing errors on wrong option typeMaxime Coste
Fixes #2079
2017-10-25Fix infinite loop shell_completeMaxime Coste
Fixes #1648
2016-11-28Cleanup include dependencies a bitMaxime Coste
2015-11-19Remove trailing whitespacesMichael Vetter
2015-04-15Remove is_blank, which is identical to is_horizontal_blankMaxime Coste
2014-04-18Use StringView for completion functionsMaxime Coste
2014-01-03shell_completion use command completion after | and &&Maxime Coste
Fixes #21
2014-01-03shell_completion uses command completion after semicolonsMaxime Coste
2013-12-30Extract shell_complete lambda as a proper functionMaxime Coste
2013-03-13move complete_filename to file.ccMaxime Coste
2013-03-05log to debug when make_regex_ifp catch a regex_errorMaxime Coste
2013-03-05Strongly typed options supportMaxime Coste
* non builtins options require declaration using the decl command * At the moment, only int and string options are supported, however the goal of this change is to provide a consistent way to support more complex options, namely lists and booleans
2013-01-04various code style fixesMaxime Coste
2012-12-13File completion: when no files match entered text as prefix, try as regexMaxime Coste
2012-12-13file completion: disable ignored files when entered prefix matches.Maxime Coste
2012-11-29add an ignored_files regex option whose matches are not used for completionMaxime Coste
2012-10-11use ByteCount instead of CharCount when we are really counting bytesMaxime Coste
(that is most of the time when we are not concerned with displaying)
2012-09-12use parse_filename when opening files or completing filenames so that ~ and ↵Maxime Coste
env vars are handled
2012-08-29escape whitespaces in filename or buffername completionsMaxime Coste
2012-08-28fix complete_filenameMaxime Coste
2012-08-23use a strongly typed int CharCount for character countsMaxime Coste
2012-08-07fix complete_filenameMaxime Coste
2012-08-06Completions functions take a Context parameterMaxime Coste
2012-06-12Cleanup utils.hh, remove auto_raii in favor of on_scope_endMaxime Coste
2012-04-14replace std::string references with StringMaxime Coste
2012-03-04fix complete_filename when directory does not existMaxime Coste
2012-01-15Completion: sort results in complete_filenameMaxime Coste
2012-01-15Completion: handle hidden files in complete_filenamMaxime Coste
2011-12-22Completions: complete_filename correctly support directoriesMaxime Coste
2011-11-12Completion: decentralise, move buffer name completion to BufferManagerMaxime Coste
2011-09-22Completion: add complete_buffername completerMaxime Coste
2011-09-16complete_filename: accept cursor_position as additional parameterMaxime Coste
2011-09-14Completion: dedicated completion header and basic filename completionMaxime Coste