Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | complete: recognise -w short option for --wraps | David Adam | 2014-11-04 |
| | | | | Closes #1793. | ||
* | Erase all completions with `complete -c foo -e` | Kevin Ballard | 2014-09-02 |
| | | | | | | | When passing `-e` to `complete -c foo` without any other options, all options for the command should be erased. Fixes #380. | ||
* | Don't erase old-style options with `complete -l foo -e` | Kevin Ballard | 2014-09-02 |
| | | | | | When erasing long option completions, distinguish between gnu-style and old-style options, just like we do when adding and printing completions. | ||
* | Support for command wrapping ("aliases") | ridiculousfish | 2014-08-15 |
| | | | | | | | | | | | | | | | | | | | | | | | Add the --wraps option to 'complete' and 'function'. This allows a command to (recursively) inherit the completions of a wrapped command. Fixes #393. When evaluating a completion, we inspect the entire "wrap chain" for a command, i.e. we follow the sequence of wrapping until we either hit a loop (which we silently ignore) or the end of the chain. We then evaluate completions as if the wrapping command were substituted with the wrapped command. Currently this only works for commands, i.e. 'complete --command gco --wraps git\ checkout' won't work (that would seem to encroaching on abbreviations anyways). It might be useful to show an error message for that case. The commandline builtin reflects the commandline with the wrapped command substituted in, so e.g. git completions (which inspect the command line) will just work. This sort of command line munging is also performed by 'complete -C' so it's not totally without precedent. 'alias will also now mark its generated function as wrapping the 'target. | ||
* | Allow parse_util_detect_errors to treat incomplete strings as errors | ridiculousfish | 2014-07-24 |
| | | | | | Fixes bug where sourcing a file with an unclosed quote would not have a backtrace | ||
* | Run restyle.sh to enforce style rules. | ridiculousfish | 2014-03-31 |
| | |||
* | Rewrite parser_t::test_args and parser_t::eval_args to use new parser | ridiculousfish | 2014-03-20 |
| | |||
* | Revert "Merge pull request #1317 from pullreq/cpp" | ridiculousfish | 2014-02-28 |
| | | | | | | | This reverts commit 74135c0600d5dcc40d396d0e7293c17b8d4bdaa7, reversing changes made to 6d749789ce240a3e6f1447777db63fd8e7525560. See discussion in #1317 | ||
* | Fixes .c -> .cpp in comments. For doxygen. | Geoff Nixon | 2014-02-27 |
| | |||
* | Make builtin_complete output escaped completions. Fixes #1127 | ridiculousfish | 2014-02-04 |
| | |||
* | Miscellaneous minor fixes based on cppcheck static analyzer | ridiculousfish | 2014-01-12 |
| | |||
* | Initial work on backtrace support with new parser | ridiculousfish | 2013-12-15 |
| | |||
* | Finish rewriting detect_errors to use new parser. All tests now pass (!) | ridiculousfish | 2013-12-12 |
| | |||
* | Remove the indentation part of parser_t::test(). Rename it to | ridiculousfish | 2013-12-08 |
| | | | | detect_errors(). | ||
* | Large cleanup and refactoring of unescape() function. | ridiculousfish | 2013-11-24 |
| | |||
* | Break out COMPLETE_NO_CASE and COMPLETE_REPLACES_TOKEN into separate flags, ↵ | ridiculousfish | 2013-03-05 |
| | | | | in preparation for upcoming fuzzy completion work | ||
* | First round of fixes based on cppcheck | ridiculousfish | 2013-02-16 |
| | | | | https://github.com/fish-shell/fish-shell/issues/575 | ||
* | Indent switch + case properly. ↵ | ridiculousfish | 2013-01-24 |
| | | | | https://github.com/fish-shell/fish-shell/issues/530 | ||
* | Fix indentation of switch statements | ridiculousfish | 2012-11-19 |
| | |||
* | Apply new indentation, brace, and whitespace style | ridiculousfish | 2012-11-18 |
| | |||
* | Remove trailing whitespaces and change tabs to spaces | Łukasz Niemier | 2012-11-18 |
| | |||
* | Replaced some calls to unescape with unescape_string | ridiculousfish | 2012-05-09 |
| | |||
* | Add some more locking and const correctness to completion_entry_t in ↵ | ridiculousfish | 2012-02-26 |
| | | | | preparation for supporting better multithreading | ||
* | Fix a crash in complete -C | ridiculousfish | 2012-02-26 |
| | |||
* | Some work to allow completions to be evaluated off of the main thread | ridiculousfish | 2012-02-24 |
| | |||
* | Large set of changes to migrate sb_out and sb_err to wcstring | ridiculousfish | 2012-02-22 |
| | |||
* | Squash a bunch of leaks | ridiculousfish | 2012-02-21 |
| | |||
* | Switched to std::map instead of hash_table_t in env.cpp and ↵ | Siteshwar Vashisht | 2012-02-18 |
| | | | | env_universal_common.cpp. | ||
* | Cleanup al_list from builtin_complete.cpp | ridiculousfish | 2012-02-08 |
| | |||
* | Excised some halloc | ridiculousfish | 2012-02-07 |
| | |||
* | Const correctness changes | ridiculousfish | 2012-02-06 |
| | |||
* | Work on new history implementation | ridiculousfish | 2012-02-05 |
| | |||
* | A bunch of work to move towards a sane memory model in job_t | ridiculousfish | 2012-01-29 |
| | |||
* | buggy-auto-complete is not so buggy now. Merged branch 'buggy-auto-complete' ↵ | Siteshwar Vashisht | 2012-01-29 |
|\ | | | | | | | into CPlusPlus | ||
* | | Get some basic function signatures right for new instanced parser | ridiculousfish | 2012-01-16 |
| | | |||
| * | Converted all auto completion calls (on pressing tab) to use ↵ | Siteshwar Vashisht | 2012-01-16 |
|/ | | | | std::vector<completion_t>, bugs are yet to be fixed | ||
* | Some changes to migrate towards C++ and a multithreaded model | ridiculousfish | 2011-12-26 |
| | |||
* | Initial C++ conversion | ridiculousfish | 2011-12-26 |