aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.cpp
Commit message (Collapse)AuthorAge
* Don't stop history search on repaintGravatar ridiculousfish2015-05-02
| | | | Fixes #2044
* Treat comments ending in backslashes as not continuing onto the next lineGravatar ridiculousfish2015-05-02
| | | | Fixes #1255
* Correct a reference to the wrong issue. 613, not 163!Gravatar ridiculousfish2015-05-02
|
* Use a more appropriate type for the reader_test functionGravatar ridiculousfish2015-05-02
|
* Support for a "pending item" in history.Gravatar ridiculousfish2015-04-20
| | | | | | | | | | | Before running a command, we add the command to history, so that if the command causes us to exit it's still captured in history. But that command should not be considered part of history when expanding the history within the command itself. For example, `echo $history[1]` should be the previously run command, not `echo $history[1]` itself. Fixes #2028
* Make "readahead" text insertion clear the pagerGravatar ridiculousfish2015-03-23
| | | | | | | Without this change, pasting text with the pager contents visible would not clear the pager. Fixes #1974
* Use natural (digit-sequence-aware) sorting for wildcard expansionGravatar ridiculousfish2015-03-23
| | | | Fixes #1993
* Add paging into navigating pagerGravatar Martin Hamrle2015-03-20
|
* reader.cpp: during forced exit, send SIGHUP to foreground processes onlyGravatar David Adam2015-03-12
| | | | Closes #1771.
* reader.cpp: don't set title in dumb terminalsGravatar David Adam2015-02-02
| | | | Closes #1907.
* Unexport CMD_DURATIONGravatar Ben Hamilton2015-01-16
| | | | | | | | | | | | | | Valid uses of this environment variable don't really include passing it to subsequent child processes. I confirmed the fix with: function fish_prompt echo "cmd duration [$CMD_DURATION] " end cmd duration [0] sleep 2 cmd duration [2002]
* use configure to define NOMACROSGravatar David Adam2014-12-21
| | | | (added in 9ec808a4c)
* Solaris build fixes: pick the right curses more of the timeGravatar David Adam2014-12-21
|
* Fix to avoid shortening the command line on tab completions.Gravatar ridiculousfish2014-11-06
| | | | | | | | | | | | | | | | This prevents cases like `cd /usr/e` from tab-completing to `cd /usr/` (which is the shared prefix of the tab completions). Things are still sort of confusing with fuzzy matching, e.g. with files like this: foo1bar foo2bar Then ba<tab> will replace the token with foo. That's surprising, but not new to this fix. Fixes #1727
* Fix to swallow BOMs in sourced filesGravatar ridiculousfish2014-11-01
| | | | Fixes #1518
* Remove a bunch of dead code identified by cppcheckGravatar ridiculousfish2014-10-31
|
* Added fish_preexec and fish_postexec eventsGravatar Jan-Thorsten Peter2014-10-01
| | | | Fixes #1549.
* Make escape() return a wcstringGravatar Kevin Ballard2014-09-25
| | | | This avoids the potential for leaking the resulting string.
* Allow U+F8FF to be typedGravatar Kevin Ballard2014-09-21
| | | | | | U+F8FF is the last character in the private use area, but it's also the codepoint used for the Apple symbol (), which is typeable on US keyboards in OS X, and so should actually work.
* Make redirections and pipes expand abbreviations tooGravatar ridiculousfish2014-09-19
|
* Expand abbreviations on semicolon per #731Gravatar ridiculousfish2014-09-19
|
* Fix the fix for `commandline -i` in bindsGravatar Kevin Ballard2014-09-03
|
* New -n option for read builtinGravatar Joseph Tannhuber2014-09-03
| | | | | Usage: read -n nchars Reads maximum of nchars characters. If nchars <= 0, there's no limit.
* Fix `commandline` behavior in bind functionsGravatar Kevin Ballard2014-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a key is bound to a fish function, if that function invokes `commandline`, it gets a stale copy of the commandline. This is because any keys passed to `self-insert` (the default) don't actually get added to the commandline until a special character is processed, such as the R_NULL that gets returned after running a binding for a fish command. To fix this, don't allow fish commands to be run for bindings if we're processing more than one key. When a key wants to invoke a fish command, instead we push the invocation sequence back onto the input, followed by an R_NULL, and return. This causes the input loop to break out and update the commandline. When it starts up again, it will re-process the keys and invoke the fish command. This is primarily an issue with pasting text that includes bound keys in it. Typed text is slow enough that fish will update the commandline between each character. --- I don't know of any way to write a test for this, but the issue can be reproduced as follows: > bind _ 'commandline -i _' This binds _ to a command that inserts _. Typing the following works: > echo wat_is_it But if you copy that line and paste it instead of typing it, the end result looks like > _echo wat_isit With this fix in place, the pasted output correctly matches the typed output.
* Accepting an autosuggestion should clear the pagerGravatar ridiculousfish2014-08-11
|
* Set $CMD_DURATION to milliseconds. Fixes #1585Gravatar Gio d'Amelio2014-08-04
|
* Clean up reader_write_title to work with wcstringGravatar ridiculousfish2014-08-02
|
* add command line string as $argv[1] for fish_titleGravatar jianjun2014-08-02
|
* Make abbreviations work correctly with type-aheadGravatar ridiculousfish2014-07-25
| | | | Fixes #1434
* Allow parse_util_detect_errors to treat incomplete strings as errorsGravatar ridiculousfish2014-07-24
| | | | | Fixes bug where sourcing a file with an unclosed quote would not have a backtrace
* Fix for crash in kill-whole-lineGravatar ridiculousfish2014-07-13
| | | | Fixes #1548
* Run restyle.sh to enforce style rules.Gravatar ridiculousfish2014-03-31
|
* Merge branch 'master' of github.com:fish-shell/fish-shellGravatar ridiculousfish2014-03-30
|\
* | Changes to bind_mode implementation based on code review and mergeGravatar ridiculousfish2014-03-30
| | | | | | | | errors
* | Merge branch 'master' into 1218_rebaseGravatar ridiculousfish2014-03-29
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: builtin.cpp builtin_commandline.cpp highlight.cpp input.cpp input.h reader.cpp screen.cpp screen.h
| | * Allow appending path hints to history items after they have been added,Gravatar ridiculousfish2014-03-28
| |/ | | | | | | | | allowing us to avoid the delay before items appear in history. Should fix #984
| * Equip syntax highlighting with a variant that does no disk I/O. InvokeGravatar ridiculousfish2014-03-26
| | | | | | | | | | it after expanding an abbreviation, so that the expanded abbreviation appears with (some) syntax highlighting.
| * Fix for issue where pager contents may stay around if you executed aGravatar ridiculousfish2014-03-20
| | | | | | | | command with pager contents visible
| * Remove support for input IO_BUFFERs, which were only used by fish_pagerGravatar ridiculousfish2014-03-15
| |
| * Remove old fish_pager source and implementationGravatar ridiculousfish2014-03-15
| |
| * Remove support for invoking old pagerGravatar ridiculousfish2014-03-15
| |
| * 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
| |
| * Allow double-tapping tab to fully disclose pager, per #291Gravatar ridiculousfish2014-02-20
| |
| * Remove the reader_selected_completion_changed callback. Fix a hang whenGravatar ridiculousfish2014-02-16
| | | | | | | | the pager gets empty, as reported in 291
| * Make COMPLETE_AND_SEARCH always show the search field. Also end paging uponGravatar ridiculousfish2014-01-28
| | | | | | | | modifying the command line contents.
| * Make return not execute the selected completion in the pager, insteadGravatar ridiculousfish2014-01-27
| | | | | | | | just accept it
| * Make escape clear the current completionGravatar ridiculousfish2014-01-27
| |
| * Make arrow keys navigate completions instead of manipulate completionGravatar ridiculousfish2014-01-27
| | | | | | | | search field
| * Support escape or up-arrow to cancel the completion search field.Gravatar ridiculousfish2014-01-27
| |