aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/wildcard.cpp
Commit message (Collapse)AuthorAge
* Miscellaneous cleanup and dead code removalGravatar ridiculousfish2016-02-19
| | | | Noticed by cppcheck
* Implement the cd "unique hierarchy" autosuggestion in expand.cppGravatar ridiculousfish2016-02-18
|
* Additional work on unifying cd autosuggestions with completeGravatar ridiculousfish2016-02-18
|
* Pass a struct stat by const reference instead of by valueGravatar ridiculousfish2016-01-03
|
* Don't do intermediate fuzzy directory matching with $PATHGravatar ridiculousfish2015-10-03
| | | | | When expanding an executable with $PATH, don't attempt to interpret the directories in PATH as fuzzy matching. Fixes #2413.
* Fix a typoGravatar ridiculousfish2015-09-27
|
* Fix for recursive wildcard expansion ignoring directoriesGravatar ridiculousfish2015-09-27
| | | | | When ascending out of a directory, we need to clear the directory from the visited set. Fixes #2414.
* Trailing slashes in wildcards need to match directoriesGravatar ridiculousfish2015-09-27
| | | | Fixes the wrong sense in a waccess test.
* Add wreaddir_for_dirs functionGravatar ridiculousfish2015-08-08
| | | | Eliminates some stat calls, speeding up wildcard expansion
* Eliminate wildcard_expand functionGravatar ridiculousfish2015-08-08
|
* Initial implementation of intermediate fuzzy completionGravatar ridiculousfish2015-08-08
| | | | e.g. /u/l/b<tab> may be expanded to /usr/local/bin
* Experiment to rework wildcard matchingGravatar ridiculousfish2015-08-08
| | | | | Preparation for zsh-style intermediate component tab completion
* Tweak try_add_completion_result logicGravatar ridiculousfish2015-08-08
| | | | Preparation for zsh-style intermediate fuzzy matching
* Migrate the prepend_token_prefix logic into the expanderGravatar ridiculousfish2015-08-08
|
* Factor the expander class a bit moreGravatar ridiculousfish2015-08-08
|
* Move the "wildcard_complete" test into wildcard_test_flags_then_completeGravatar ridiculousfish2015-08-08
| | | | Simplifies code yet further
* Eliminate the wildcard_expand_internal functionGravatar ridiculousfish2015-08-08
|
* rename FOR_COMPLETIONS to EXPAND_FOR_COMPLETIONSGravatar ridiculousfish2015-08-08
| | | | This is yet clearer
* Slight refactoring of expander's return code implementationGravatar ridiculousfish2015-08-08
|
* Rewrite wildcard_complete_internal to be easier to followGravatar ridiculousfish2015-08-08
|
* Remove some dead codeGravatar ridiculousfish2015-08-08
|
* Factor the completion prefix behavior into its own functionGravatar ridiculousfish2015-08-08
| | | | | | In a few places, we need to add a prefix to completions that replace the token. This change factors that logic into its own function prepend_token_prefix.
* Eliminate recurse_to_subdirectories functionGravatar ridiculousfish2015-08-08
|
* rename ACCEPT_INCOMPLETE to FOR_COMPLETIONS, which is clearerGravatar ridiculousfish2015-08-08
|
* Turn on the new wildcard expanderGravatar ridiculousfish2015-08-08
|
* Initial implementation of wildcard match refactoringGravatar ridiculousfish2015-08-08
| | | | Not yet turned on.
* Merge branch 'iwyu'Gravatar David Adam2015-07-29
|\ | | | | | | http://include-what-you-use.org/
* | Stop passing mutable references to completions aroundGravatar ridiculousfish2015-07-27
| | | | | | | | | | Replace uses of vector<completion_t>& with vector<completion_t>* This makes it clear at the call site that the object may be mutated.
| * Merge branch 'master' into iwyuGravatar David Adam2015-07-26
|/
* Migrate source files into src/ directoryGravatar ridiculousfish2015-07-25
| | | | | | | | This change moves source files into a src/ directory, and puts object files into an obj/ directory. The Makefile and xcode project are updated accordingly. Fixes #1866
* Migrate source files into src/ directoryGravatar ridiculousfish2015-07-24
This change moves source files into a src/ directory, and puts object files into an obj/ directory. The Makefile and xcode project are updated accordingly. Fixes #1866