aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Correct the positioning of the error caretGravatar ridiculousfish2015-08-10
| | | | | | When an error occurs midway through a token, like abc(def, make the caret point at the location of the error (i.e. the paren) instead of at the beginning of the token.
* Make expansion test robust against different filesystem ordersGravatar ridiculousfish2015-08-08
| | | | Should make the tests pass on Linux
* Add wreaddir_for_dirs functionGravatar ridiculousfish2015-08-08
| | | | Eliminates some stat calls, speeding up wildcard expansion
* Remove a bogus function declarationGravatar ridiculousfish2015-08-08
|
* 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
|
* Add some expansion testsGravatar ridiculousfish2015-08-08
|
* Initial implementation of wildcard match refactoringGravatar ridiculousfish2015-08-08
| | | | Not yet turned on.
* Add a missing typecastGravatar ridiculousfish2015-08-08
|
* Fix wrong max argument list size reportingGravatar Tom Smeding2015-08-08
|
* common.cpp: check wcwidth for supported charactersGravatar David Adam2015-08-03
| | | | | | | | Rather than trying to detect Unicode support from the environment, check the printable width of characters in the current locale before deciding on whether to use them. Closes #1927.
* Merge branch 'iwyu'Gravatar David Adam2015-07-29
|\ | | | | | | http://include-what-you-use.org/
* | Remove unused unload_all functionGravatar ridiculousfish2015-07-27
| |
* | 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.
* | Support file tab completion after = and : separatorsGravatar ridiculousfish2015-07-27
| | | | | | | | | | | | For example, env VAR=/usr<tab> will now work as expected Fixes #2178
* | Fix a warning with g++ about an unused function resultGravatar ridiculousfish2015-07-26
| |
| * src/wutil: drop <features.h> header, _BSD_SOURCE is defined by the compilerGravatar David Adam2015-07-26
| |
* | Handle getcwd failures to satisfy the linterGravatar ridiculousfish2015-07-26
| |
* | Cast getcwd() to void to defeat a warningGravatar ridiculousfish2015-07-26
| |
* | Continue to refine tokenizer interfaceGravatar ridiculousfish2015-07-26
| | | | | | | | Migrate some functions into tokenizer instance methods
* | Continue migration to the new tokenizer interfaceGravatar ridiculousfish2015-07-26
| |
* | Early reworking of tokenizer interfaceGravatar ridiculousfish2015-07-25
| |
* | Remove some dead codeGravatar ridiculousfish2015-07-25
| |
| * Merge branch 'master' into iwyuGravatar David Adam2015-07-26
|/
* Eliminate wgetopt global variablesGravatar ridiculousfish2015-07-25
| | | | | Replace them with a new struct wgetopter_t that uses instance variables instead.
* Make our wgettext() implementation a little less terrifyingGravatar ridiculousfish2015-07-25
| | | | Use wchar_t* directly instead of wcstring.c_str()
* Use the address-of operator when checking for weak symbolsGravatar ridiculousfish2015-07-25
| | | | This fixes a warning with gcc on OS X
* 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