aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.cpp
Commit message (Collapse)AuthorAge
* Use adjusted_pos when determining the token for tab completingGravatar ridiculousfish2014-05-03
| | | | redirecitons, per #1296
* Correctly complete redirections. Fixes #1296Gravatar ridiculousfish2014-05-02
|
* Run restyle.sh to enforce style rules.Gravatar ridiculousfish2014-03-31
|
* Excise use of parser_t's error() functionality. Thread aGravatar ridiculousfish2014-03-21
| | | | | | parse_error_list_t through all of the expand functions, enabling them to report errors more directly. Improve aspects of error reporting for expansion failures.
* Rewrite parser_t::test_args and parser_t::eval_args to use new parserGravatar ridiculousfish2014-03-20
|
* Rewrite parser_t::eval_args to use new AST parserGravatar ridiculousfish2014-03-20
|
* Revert "Merge pull request #1317 from pullreq/cpp"Gravatar ridiculousfish2014-02-28
| | | | | | | This reverts commit 74135c0600d5dcc40d396d0e7293c17b8d4bdaa7, reversing changes made to 6d749789ce240a3e6f1447777db63fd8e7525560. See discussion in #1317
* Fixes .c -> .cpp in comments. For doxygen.Gravatar Geoff Nixon2014-02-27
|
* Fix for busted tab completions in for loop arguments, switch statements,Gravatar ridiculousfish2014-02-21
| | | | and other syntactic constructs. Fixes #1309
* Reimplement exec parsing. Instead of special-casing exec as a command,Gravatar ridiculousfish2014-02-13
| | | | | | promote it to a decoration (like 'command' or 'builtin'). This makes tab completion and syntax highlighting treat exec's first argument as a command and is otherwise a nice simplification. Fixes #1300
* Don't complete variables when single quoted. Fixes #1023Gravatar ridiculousfish2014-02-09
|
* Fix for tab-completing arguments. Closes #1261Gravatar ridiculousfish2014-01-23
|
* Update style and formatting to conform to fish style guide.Gravatar ridiculousfish2014-01-15
|
* Fix for extra space when tab completing directories. Fixes #1241Gravatar ridiculousfish2014-01-14
|
* Eliminate class parse_tGravatar ridiculousfish2014-01-12
|
* Miscellaneous minor fixes based on cppcheck static analyzerGravatar ridiculousfish2014-01-12
|
* Miscellaneous optimizations to reduce string copyingGravatar ridiculousfish2014-01-07
|
* Merge branch 'master' into astGravatar ridiculousfish2014-01-01
|\
* | Support for stack overflow and infinite recursion detection in newGravatar ridiculousfish2014-01-01
| | | | | | | | parser
| * Fix completion bug for special fish characters.Gravatar Mandeep Sandhu2013-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #1108: If there are special characters like '{' in the completion suggestions, then we fail to parse it successfully as we are passing an unescaped version of the character to parser_t::eval_args(...). This causes us to retun w/o completion suggestions. This bug was discovered while implementing 'git stash' completion as the suggestion contained strings like 'stash@\{0\}'. Th fix is to properly escape the string before parsing it.
* | Merge branch 'master' into astGravatar ridiculousfish2013-12-07
|\| | | | | | | | | | | | | Conflicts: complete.cpp fish_tests.cpp highlight.cpp
| * Replace autosuggestions "completions to load" mechanism with moderatelyGravatar ridiculousfish2013-11-29
| | | | | | | | less hackish and far simpler "perform on main thread" mechanism
| * Allow autosuggestions to do job expansion. FixesGravatar ridiculousfish2013-11-29
| | | | | | | | https://github.com/fish-shell/fish-shell/issues/1152
* | Merge branch 'master' into astGravatar ridiculousfish2013-11-24
|\| | | | | | | | | | | Conflicts: complete.cpp fish_tests.cpp
| * Large cleanup and refactoring of unescape() function.Gravatar ridiculousfish2013-11-24
| |
* | Merge branch 'master' into astGravatar ridiculousfish2013-10-27
|\| | | | | | | | | Conflicts: complete.cpp
| * Fix formattingGravatar ridiculousfish2013-10-26
| |
* | Fix for bogus completions for function namesGravatar ridiculousfish2013-10-13
| |
* | Adopt new parser in tab completionsGravatar ridiculousfish2013-10-12
|/
* Restore directories' tab completion without slash in command.Gravatar Konrad Borowski2013-10-01
| | | | This is needed for implicit cd when ending command with `/`.
* Make tok_last_type return an enum token_type instead of intGravatar ridiculousfish2013-09-30
|
* Don't do fuzzy matching for file completions for arguments beginningGravatar ridiculousfish2013-09-15
| | | | with a dash, as suggested in #568
* 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
* Prevent inline destructor of completion_t to reduce compiled code size a bitGravatar ridiculousfish2013-04-19
|
* 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
* Move autogenerated completions to ~/.config/fish/generated_completions/Gravatar ridiculousfish2013-02-17
| | | | https://github.com/fish-shell/fish-shell/issues/576
* First round of fixes based on cppcheckGravatar ridiculousfish2013-02-16
| | | | https://github.com/fish-shell/fish-shell/issues/575
* Make subcommands modify $status, and make builtin_set not modify status ↵Gravatar ridiculousfish2013-01-31
| | | | | | | unless it fails https://github.com/fish-shell/fish-shell/issues/547 https://github.com/fish-shell/fish-shell/issues/214
* Hack around xdm's dumb assumption that the login shell is POSIX compliant so ↵Gravatar ridiculousfish2013-01-04
| | | | | | | we no longer kill OpenSUSE https://github.com/fish-shell/fish-shell/issues/367 Also fix some formatting
* Fix to avoid suggesting files for empty tokensGravatar ridiculousfish2012-12-26
|
* Eliminate str2wcsGravatar ridiculousfish2012-12-19
|
* Remove Python dependency from Makefile and Xcode buildGravatar ridiculousfish2012-12-08
| | | | https://github.com/fish-shell/fish-shell/issues/429
* Don't autosuggest files until after we've tried (and maybe failed) to load ↵Gravatar ridiculousfish2012-11-23
| | | | | | completions Fixes https://github.com/fish-shell/fish-shell/issues/378
* Fix a memory leakGravatar ridiculousfish2012-11-23
|
* Replaced some usage of wchar_t * with wcstring in complete(). Some style fixes.Gravatar ridiculousfish2012-11-23
|
* Implement new newline-escaping behavior. Backslashes at the end of lines now ↵Gravatar ridiculousfish2012-11-22
| | | | | | | essentially delete the newline, within normal text or double quotes. Backslashes are retained within single quotes. Fixes https://github.com/fish-shell/fish-shell/issues/347 Fixes https://github.com/fish-shell/fish-shell/issues/52
* Remove tok_destroyGravatar ridiculousfish2012-11-21
|