ridiculousfish
0a1960865e
Support for "merged completions" (multiple completions on the same line)
...
in new pager. Support for using up-arrow to end pager navigation.
2014-01-24 18:10:41 -08:00
ridiculousfish
7d3f808e4c
Various tweaks and improvements to new pager, including disclosure
...
feature
2014-01-22 17:45:27 -08:00
ridiculousfish
ee9a4082b6
Allow down arrow to enter pager. Clean up repainting within
...
reader_readline
2014-01-21 16:25:55 -08:00
ridiculousfish
f714d80c93
Support for scrolling through the pager
2014-01-21 14:35:18 -08:00
ridiculousfish
605c306bef
Correctly clear pager contents on ctrl-C
2014-01-20 13:05:18 -08:00
ridiculousfish
998ce1fe89
Support for correctly resizing pager contents.
2014-01-19 23:52:35 -08:00
ridiculousfish
d9d65577f4
Improved navigation of pager list. Added tests for it too.
2014-01-19 16:41:40 -08:00
ridiculousfish
808bc42f2a
Further work on keyboard navigating the completion list
2014-01-18 12:42:53 -08:00
ridiculousfish
32054b6f32
Implement and document new -P / --paging-mode flags to commandline, to support new
...
pager
2014-01-17 12:53:01 -08:00
ridiculousfish
c6e5201e15
Initial support for navigating completions that appear under the
...
commandline using arrow keys
2014-01-17 12:04:03 -08:00
ridiculousfish
0627ae82fb
Clean up pager on exit from interactive read
2014-01-15 18:21:38 -08:00
ridiculousfish
54689f6087
Merge branch 'master' into pager
...
Conflicts:
highlight.h
2014-01-15 02:05:46 -08:00
ridiculousfish
53814983ff
Update style and formatting to conform to fish style guide.
2014-01-15 01:40:40 -08:00
ridiculousfish
40897cd7da
Merge branch 'master' into pager
...
Conflicts:
screen.h
2014-01-15 01:23:30 -08:00
ridiculousfish
e2fe873049
Change highlight colors from a bitmask into a combination enum / bitmask
...
so that we can support more than 16 color specifications.
2014-01-15 01:01:25 -08:00
ridiculousfish
295c8f48a6
Teach screen how to render completion page. Correct spacing in
...
completion page contents.
2014-01-14 15:39:53 -08:00
ridiculousfish
096f850433
Eliminate class parse_t
2014-01-12 22:39:12 -08:00
ridiculousfish
40e223c12d
Additional miscellaneous fixes based on cppcheck static analysis
2014-01-12 13:53:59 -08:00
ridiculousfish
0e9d159bc2
Improvements to error reporting. In particular, we now append a newline
...
in reader_shell_test, so that there's always a statement terminator.
Otherwise commands like 'echo |' would not be considered an error (just
incomplete).
2014-01-08 18:20:55 -08:00
ridiculousfish
993148552e
Support for Ctrl-C cancellation in new parser. Added tests for it too.
2014-01-02 16:19:33 -08:00
ridiculousfish
a9787b769f
Support for implicit cd, no-exec, and the exit builtin. All tests now
...
pass (!). Error reporting still unsteady.
2013-12-29 16:23:26 -08:00
ridiculousfish
715823a666
Bringup of function definitions, switch statements with new parser
2013-12-27 03:58:42 -08:00
ridiculousfish
6536ffe178
Facilities for turning on new AST-based parser.
2013-12-26 13:24:10 -08:00
ridiculousfish
ed70195c7e
Merge branch 'master' into ast
...
Conflicts:
function.cpp
parser.cpp
parser.h
2013-12-20 17:44:37 -08:00
ridiculousfish
e38217683c
Refactor block_t storage in parser_t from a linked list to a vector
2013-12-20 17:41:21 -08:00
ridiculousfish
3e9153d955
Clean up some error messages. Don't show the line in the error message
...
if it's the first line and we're interactive, since then it's obvious
2013-12-16 16:52:23 -08:00
ridiculousfish
5b24aac266
Initial work on backtrace support with new parser
2013-12-15 16:05:37 -08:00
ridiculousfish
5cf59de676
Finish rewriting detect_errors to use new parser. All tests now pass (!)
2013-12-12 18:18:07 -08:00
ridiculousfish
925fe65dd8
Remove the indentation part of parser_t::test(). Rename it to
...
detect_errors().
2013-12-08 16:25:07 -08:00
ridiculousfish
dd0cc5ed9f
Rewriting indenting functionality to use new parser
2013-12-08 13:41:12 -08:00
ridiculousfish
a23441109d
Merge branch 'master' into ast
...
Conflicts:
complete.cpp
fish_tests.cpp
highlight.cpp
2013-12-07 12:54:43 -08:00
ridiculousfish
263f919beb
Replace autosuggestions "completions to load" mechanism with moderately
...
less hackish and far simpler "perform on main thread" mechanism
2013-11-29 23:44:26 -08:00
ridiculousfish
964c7e6f3b
Merge branch 'master' into ast
...
Conflicts:
complete.cpp
2013-10-27 13:37:14 -07:00
ridiculousfish
cf766b55cc
Fix formatting
2013-10-26 15:27:39 -07:00
ridiculousfish
e05743d0ba
Fix for errant SIGHUPs due to child fish shells messing with the term.
...
Fixes https://github.com/fish-shell/fish-shell/issues/1002
2013-10-26 15:22:20 -07:00
ridiculousfish
ddf98661e4
Adopt new parser in tab completions
2013-10-12 18:17:03 -07:00
ridiculousfish
5490f54d00
Make parse_t::parse a static method so we don't have to create lots of
...
useless parse_t objects
2013-10-12 01:17:55 -07:00
ridiculousfish
7b86b2e05a
Adoption of new parser in abbreviations
2013-10-09 02:03:50 -07:00
ridiculousfish
cbe615224d
Make tok_last_type return an enum token_type instead of int
2013-09-30 13:57:36 -07:00
ridiculousfish
7ce5f34d6f
Disable flow control per #814
2013-09-22 18:14:18 -07:00
ridiculousfish
97ea61a407
Fix for parse_util_token_extent doing the wrong thing inside a command
...
substitution. Fixes https://github.com/fish-shell/fish-shell/issues/833
2013-09-21 16:38:57 -07:00
ridiculousfish
44bd405ed3
reader_replace_current_token can be made static
2013-09-21 16:27:37 -07:00
ridiculousfish
61c5b631f3
Fix for infinite loop in cycle_competions, and potential issue in
...
fish_pager when given an empty completion list
2013-09-10 21:13:47 -07:00
ridiculousfish
b993dce12f
Rework some of the new case-modifying commands to share more code, and
...
also to update the autosuggestion and syntax highlighting
2013-09-10 20:46:46 -07:00
Christian Rishøj
cd1c2f74d3
add support for downcase-word, upcase-word and capitalise-word
2013-09-09 18:46:16 +02:00
Leonardo Boiko
1b1aa07414
When exiting, only warn about _stopped_ background jobs ( fix #111 )
2013-09-08 22:51:34 +08:00
ridiculousfish
c38a40d193
Adjust prefix completions to sort alphabetically instead of by length.
...
Other completions are still sorted by length.
https://github.com/fish-shell/fish-shell/issues/923
2013-08-31 15:01:02 -07:00
Konrad Borowski
da89591a53
Initialize cycle_cursor_pos.
...
This removes the warning from compiler.
2013-08-29 13:06:04 +02:00
ridiculousfish
06b4964dd8
Clean up some comments and make a function static
2013-08-26 00:05:23 -07:00
Tony Wang
d2ffdc8986
improve comments and extract a common function
2013-08-25 19:33:39 -07:00