aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Don't crash on complete -C in non-interactive modeGravatar ridiculousfish2015-09-10
| | | | Fixes #2361
* reader.cpp: send smkx/rmkx when entering/leaving interactive modeGravatar David Adam2015-09-10
| | | | Closes #2139.
* Stop exporting fish configuration directories (argh)Gravatar ridiculousfish2015-09-09
|
* Rename sgrep to __fish_sgrepGravatar Fabian Homborg2015-09-09
| | | | Makes it harder to cause issues with aliases, see fish-shell#2245
* Use the $TERM value from fish's computed environment for ncurses setupGravatar Chris Pick2015-09-09
| | | | | | | | | | Previously, the process's inherited $TERM value would be used. This prevented users from being able to set $TERM in their config.fish files. To make matters worse, the error message would print the computed $TERM value, giving the mistaken impression that it was being used. Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
* Fix error message for variable used as commandGravatar Corey Ford2015-09-03
|
* env_universal_common: always pick shmem strategy on CygwinGravatar David Adam2015-08-24
| | | | | | | | Cygwin FIFOs do not support more than one reader, so avoid them on this platform. An autoconf feature test would be helpful but is tricky to write. Closes #2152.
* Rewrite parse_util_unescape_wildcardsGravatar ridiculousfish2015-08-19
| | | | Make it simpler, and use wcstring instead of wcsdup
* Remove unused original_pid variableGravatar ridiculousfish2015-08-18
|
* Define a constant for function-not-found in input.cppGravatar ridiculousfish2015-08-16
| | | | | Avoids differences in widths of wchar_t, hopefully addressing issue #2284
* Factor function environment preparation into its own functionGravatar ridiculousfish2015-08-15
|
* Remove some dead #definesGravatar ridiculousfish2015-08-11
|
* Dead macro cleanupGravatar ridiculousfish2015-08-10
| | | | Enable -Wunused-macros, and remove said unused macros
* Use ++iter, not iter++ in input.cppGravatar ridiculousfish2015-08-10
|
* Correct the caret position for unbalanced square bracketsGravatar ridiculousfish2015-08-10
|
* 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
| |