Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Clean up some memory allocation in builtin_commandline | ridiculousfish | 2014-10-30 |
| | |||
* | Make `commandline -P` actually work | Kevin Ballard | 2014-08-24 |
| | | | | | `commandline --paging-mode` worked but the short flags list accidentally omitted the documented `-P`. | ||
* | 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. | ||
* | Run restyle.sh to enforce style rules. | ridiculousfish | 2014-03-31 |
| | |||
* | Changes to bind_mode implementation based on code review and merge | ridiculousfish | 2014-03-30 |
| | | | | errors | ||
* | Merge branch 'master' into 1218_rebase | ridiculousfish | 2014-03-29 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Conflicts: builtin.cpp builtin_commandline.cpp highlight.cpp input.cpp input.h reader.cpp screen.cpp screen.h | ||
| * | Fixed various Undefined Behavior occurrences. | Daniel J. Hofmann | 2014-03-07 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conditionally uninitialized: - builtin_commandline.cpp:577 - expand.cpp:869 - parse_util.cpp:1036 Initialization of POD structs: - event.cpp:61 - autoload.cpp:22 References used with va_start: - common.cpp:608:18 Found with clang-3.4's awesome -Wconditional-uninitialized, -Wmissing-field-initializers and -Wvarargs. | ||
| * | 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 |
| | | |||
* | | Add kill-selection function and visual binds for 'y' and 'd' | Julian Aron Prenner | 2014-01-18 |
| | | |||
| * | Implement and document new -P / --paging-mode flags to commandline, to ↵ | ridiculousfish | 2014-01-17 |
| | | | | | | | | | | | | support new pager | ||
| * | Initial support for navigating completions that appear under the | ridiculousfish | 2014-01-17 |
| | | | | | | | | commandline using arrow keys | ||
* | | Fix a bug, commandline -s works now as expected. Add "*y binding in | Julian Aron Prenner | 2014-01-17 |
| | | | | | | | | visual mode | ||
* | | Merge remote-tracking branch 'upstream/master' into bind_mode | Julian Aron Prenner | 2014-01-15 |
|\| | | | | | | | | | | | | | Conflicts: builtin.cpp reader.cpp share/functions/fish_default_key_bindings.fish | ||
* | | Add experimental support for selection and visual mode | Julian Aron Prenner | 2014-01-15 |
| | | |||
| * | Miscellaneous minor fixes based on cppcheck static analyzer | ridiculousfish | 2014-01-12 |
|/ | |||
* | Fix formatting | ridiculousfish | 2013-10-26 |
| | |||
* | Make tok_last_type return an enum token_type instead of int | ridiculousfish | 2013-09-30 |
| | |||
* | Fix a sign warning | ridiculousfish | 2013-04-03 |
| | |||
* | Implement new newline-escaping behavior. Backslashes at the end of lines now ↵ | ridiculousfish | 2012-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_destroy | ridiculousfish | 2012-11-21 |
| | |||
* | Work towards refactoring tokenizer to be a real object | ridiculousfish | 2012-11-21 |
| | |||
* | 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 |
| | |||
* | Cleaned up lots of typecasts, simplified some string handling | ridiculousfish | 2012-08-04 |
| | |||
* | Additional warning fixes and migration from int to size_t or long where ↵ | ridiculousfish | 2012-08-04 |
| | | | | appropriate | ||
* | Lots of work towards making fish build without warnings on Mountain Lion, ↵ | ridiculousfish | 2012-08-04 |
| | | | | mostly in terms of using size_t instead of int | ||
* | Warning cleanup | ridiculousfish | 2012-08-04 |
| | |||
* | Merge branch 'master' into CPlusPlus | ridiculousfish | 2012-04-18 |
| | | | | | | Conflicts: builtin_commandline.cpp util.c | ||
* | Removed a lot of string_buffer_t | ridiculousfish | 2012-02-22 |
| | |||
* | Replace some string_buffer_t with wcstring | ridiculousfish | 2012-02-22 |
| | |||
* | Large set of changes to migrate sb_out and sb_err to wcstring | ridiculousfish | 2012-02-22 |
| | |||
* | Const correctness changes | ridiculousfish | 2012-02-06 |
| | |||
* | More work towards instanced parser. First successful compilation | ridiculousfish | 2012-01-22 |
| | |||
* | More work on instancing the parser | ridiculousfish | 2012-01-19 |
| | |||
* | Get some basic function signatures right for new instanced parser | ridiculousfish | 2012-01-16 |
| | |||
* | Some changes to migrate towards C++ and a multithreaded model | ridiculousfish | 2011-12-26 |
| | |||
* | Initial C++ conversion | ridiculousfish | 2011-12-26 |