Siteshwar Vashisht
a1b43b7a09
Fix for opening bindings tab as initial tab
...
'fish_config bindings' command should open bindings tab as initially active tab
2014-01-30 23:53:49 +05:30
ridiculousfish
bfc78186f5
Correctly initialize search_field_shown to avoid phantom search field
...
after the prompt
2014-01-30 07:59:45 -08:00
ridiculousfish
20130d89dc
Support for escaped colons in makefile targets in __fish_print_make_targets, as part of #1259
2014-01-29 15:42:52 -08:00
David Adam
8490aac025
sshfs completions: use all directories as mount points
...
Closes #1268 .
2014-01-29 13:33:27 +08:00
David Adam
8fbffe250a
__fish_print_packages: correct syntax for yum, improve yum/rpm pipelines
...
Closes #1269 (output to cache file).
Reworks the editing pipeline for both yum and rpm completions down to a
single sed command.
2014-01-29 12:47:56 +08:00
Geoff Nixon
60808a4820
Enhance/fix isatty
using command test
.
...
Presently, `isatty` only works on a handful of keywords. Here it
is rewritten to be able to take any path, device or fd number as
an argument, and eliminates errors printed to stdout.
Per discussion in #1228 , using `builtin test -c` within a pipe to
test special file descriptors is not viable, so this implementation
specifcially uses `command test`. Additionally, a note has been
added to the documentation of `test` regarding this potential
aberration from the expected output of the test utility under the
'Standards' section.
2014-01-28 11:14:54 -08:00
ridiculousfish
d5cb16aa1f
NULL -> false
2014-01-28 08:19:24 -08:00
ridiculousfish
afd6ca314c
Make COMPLETE_AND_SEARCH always show the search field. Also end paging upon
...
modifying the command line contents.
2014-01-28 07:30:05 -08:00
ridiculousfish
441522f97b
Make return not execute the selected completion in the pager, instead
...
just accept it
2014-01-27 22:01:38 -08:00
ridiculousfish
369229ea71
Make escape clear the current completion
2014-01-27 02:28:19 -08:00
ridiculousfish
15a63805d9
Make arrow keys navigate completions instead of manipulate completion
...
search field
2014-01-27 02:22:34 -08:00
ridiculousfish
7d8766980b
Support escape or up-arrow to cancel the completion search field.
2014-01-27 02:17:31 -08:00
ridiculousfish
5be3606236
Increased support for completion search field. Use btab (shift-tab) to
...
complete-and-search.
2014-01-27 00:56:13 -08:00
ridiculousfish
ce4c145f1c
Eliminate dangerous command_length() function. Use editable_line_t in a
...
few places we missed.
2014-01-26 14:55:41 -08:00
ridiculousfish
b9372944f5
Refactor reader to work on selectable 'editable_line_t' so that most
...
commands can operate on pager search field
2014-01-26 14:47:15 -08:00
ridiculousfish
f58dff62c7
Beginnings of work for search field feature of new pager
2014-01-26 00:41:30 -08:00
ridiculousfish
6d13b8bbc0
Teach down-or-search how to use down-arrow to begin pager navigation
2014-01-25 15:32:13 -08:00
ridiculousfish
2139334c36
Fix for issue where wc on OS X would produce leading spaces, causing
...
down-or-search to fail to match the case statement and therefore do the wrong thing.
2014-01-25 15:22:28 -08:00
ridiculousfish
67bb12e569
Attempt to fix the Linux build by including stdint.h
2014-01-24 18:53:12 -08:00
ridiculousfish
2d43517914
Run 'make depend' to update header dependencies
2014-01-24 18:37:04 -08:00
ridiculousfish
df60c00d16
Experimental new "inline pager" implementation, reminiscent of zsh. Pager contents now appear below the prompt and disappear when no longer needed. They can also be navigated with arrow keys or tab.
...
New pager is disabled by default for now. It can be enabled by setting the fish_new_pager variable to 1.
Work and discussed is tracked in https://github.com/fish-shell/fish-shell/issues/1264
2014-01-24 18:12:46 -08:00
ridiculousfish
0fbddb0df1
Add fish_new_pager variable to enable new pager on request, disabled by default.
2014-01-24 18:10:42 -08:00
ridiculousfish
4c5c1fc9ef
Suppress the pager progress message if the listing fits onscreen
2014-01-24 18:10:42 -08:00
ridiculousfish
4ffd2380c3
Remove yet more unnecessary fish_pager.cpp specific code from the new pager
2014-01-24 18:10:42 -08:00
ridiculousfish
5849cd3a2e
Remove some unnecessary fish_pager.cpp specific code from the new pager
2014-01-24 18:10:41 -08:00
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
830ab99e6e
Merge branch 'master' into pager
2014-01-24 18:10:41 -08:00
ridiculousfish
2e4b7b3d19
Fix pager to correctly join completions with the same description.
...
Closes #1263
2014-01-24 10:47:49 -08:00
David Adam
8cb051d44d
use annotated tags only for version checking
...
Note: if you have previously cloned the repository, the tags for
previous versions have been edited. Use `git fetch --tags` to
synchronise your local copy.
2014-01-24 20:51:06 +08:00
ridiculousfish
535445a555
Replace assertions with new do_test macro in fish_tests.cpp
2014-01-23 18:19:52 -08:00
ridiculousfish
f6afddd94b
Fix for tab-completing arguments. Closes #1261
2014-01-23 18:07:21 -08:00
ridiculousfish
0f2ee308de
Use ellipsis in pager progress message
2014-01-22 17:50:03 -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
e6c70bf392
Merge branch 'master' into pager
2014-01-21 16:09:03 -08:00
ridiculousfish
9edf9ad2ac
Correct the correspondence between name_arr and the input codes.
2014-01-21 16:08:35 -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
9920047b34
Merge branch 'master' into pager
2014-01-17 14:21:08 -08:00
ridiculousfish
b758c0c335
Relax the requirement that we find a working 'doc' directory in order
...
for fish to be relocatable. Instead we only look for data and
configuration path
2014-01-17 14:19:00 -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
64b1b5ca38
Merge branch 'master' into pager
2014-01-15 23:43:00 -08:00
ridiculousfish
8e77aca854
Fix for recent issue where random text might appear underlined.
2014-01-15 23:33:34 -08:00
ridiculousfish
0627ae82fb
Clean up pager on exit from interactive read
2014-01-15 18:21:38 -08:00
David Adam
bd313b0b3d
configure/Makefile: remove unused variables and unneeded declarations
2014-01-15 23:50:42 +08:00
David Adam
568de7e818
fish_tests.cpp: set return value if tests fail
2014-01-15 23:50:42 +08:00