aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.cpp
Commit message (Collapse)AuthorAge
* Make tok_last_type return an enum token_type instead of intGravatar ridiculousfish2013-09-30
|
* Disable flow control per #814Gravatar ridiculousfish2013-09-22
|
* Fix for parse_util_token_extent doing the wrong thing inside a commandGravatar ridiculousfish2013-09-21
| | | | substitution. Fixes https://github.com/fish-shell/fish-shell/issues/833
* reader_replace_current_token can be made staticGravatar ridiculousfish2013-09-21
|
* Fix for infinite loop in cycle_competions, and potential issue inGravatar ridiculousfish2013-09-10
| | | | fish_pager when given an empty completion list
* Rework some of the new case-modifying commands to share more code, andGravatar ridiculousfish2013-09-10
| | | | also to update the autosuggestion and syntax highlighting
* add support for downcase-word, upcase-word and capitalise-wordGravatar Christian Rishøj2013-09-09
|
* When exiting, only warn about _stopped_ background jobs (fix #111)Gravatar Leonardo Boiko2013-09-08
|
* Adjust prefix completions to sort alphabetically instead of by length.Gravatar ridiculousfish2013-08-31
| | | | | Other completions are still sorted by length. https://github.com/fish-shell/fish-shell/issues/923
* Initialize cycle_cursor_pos.Gravatar Konrad Borowski2013-08-29
| | | | This removes the warning from compiler.
* Clean up some comments and make a function staticGravatar ridiculousfish2013-08-26
|
* improve comments and extract a common functionGravatar Tony Wang2013-08-25
|
* fixed fish-shell/fish-shell#944Gravatar Tony Wang2013-08-25
| | | | | | | | | | | | When the completion list includes the exact typed string with other candidates, i.e. completion_t.match.type == fuzzy_match_exact, the other candidates will be removed from the list, as they are not the "best type". This is inconvenient for the user who wants to type and complete commands in the other candidates. The commit is to make the best_type to fuzzy_match_prefix as highest priority, also, when comparing to best_type, the same or higher priority completions can both match.
* Expand abbreviations at the beginning of commands as discussed in ↵Gravatar ridiculousfish2013-08-24
| | | | https://github.com/fish-shell/fish-shell/issues/731
* Include the autosuggestion in history if it was truncatedGravatar ridiculousfish2013-08-20
| | | | https://github.com/fish-shell/fish-shell/issues/650
* Big fat refactoring of how redirections work. In fish 1.x and 2.0.0, the ↵Gravatar ridiculousfish2013-08-19
| | | | | | | | | | redirections for a process were flattened into a big list associated with the job, so there was no way to tell which redirections applied to each process. Each process therefore got all the redirections associated with the job. See https://github.com/fish-shell/fish-shell/issues/877 for how this could manifest. With this change, jobs only track their block-level redirections. Process level redirections are correctly associated with the process, and at exec time we stitch them together (block, pipe, and process redirects). This fixes the weird issues where redirects bleed across pipelines (like #877), and also allows us to play with the order in which redirections are applied, since the final list is constructed right before it's needed. This lets us put pipes after block level redirections but before process level redirections, so that a 2>&1-type redirection gets picked up after the pipe, i.e. it should fix https://github.com/fish-shell/fish-shell/issues/110 This is a significant change. The tests all pass. Cross your fingers.
* Show path containing current disk drive in Windows in titleGravatar Konrad Borowski2013-08-14
|
* Ctrl+E should insert suggested completion and then go to end of lineGravatar waterhouse2013-07-27
| | | | | | | | | | | (Closes #91, #932) Currently, control-E is bound to `end-of-line`. This patch modifes the `end-of-line` procedure so that, if it is invoked when the cursor is at the end of a command and there is pending completion text, it will accept the completion text and move to the end. The behavior of `end-of-line` will not otherwise be altered.
* Next stab at abbreviations. Highlighting should work.Gravatar ridiculousfish2013-07-19
|
* Initial abbreviation work. Tests currently fail.Gravatar ridiculousfish2013-07-19
|
* FormattingGravatar ridiculousfish2013-06-02
|
* Add some const, fix spacesGravatar ridiculousfish2013-06-02
|
* make cursor placement consistent with `transpose-words` from readlineGravatar Christian Rishøj2013-06-02
|
* transpose-wordsGravatar Christian Rishøj2013-06-02
|
* Support for fuzzy completionsGravatar ridiculousfish2013-05-25
| | | | | https://github.com/fish-shell/fish-shell/issues/568 https://github.com/fish-shell/fish-shell/issues/528
* Fix issue where transpose fails if there is a trailing autosuggestionGravatar ridiculousfish2013-05-24
|
* command and binding for transpose-charsGravatar Christian Rishøj2013-05-24
|
* Fix for crashing and assertion failures when tab completing a token that ↵Gravatar ridiculousfish2013-05-20
| | | | | | consists of only backslash Fixes https://github.com/fish-shell/fish-shell/issues/762
* Fix for failing to update command line while cycling through tab completionsGravatar ridiculousfish2013-05-20
| | | | https://github.com/fish-shell/fish-shell/issues/765
* Formatting and style updatesGravatar ridiculousfish2013-05-05
|
* Rely on $PWD instead of getcwd() more oftenGravatar ridiculousfish2013-04-27
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/696
* Teach case-insensitive completions about tildes. Fixes ↵Gravatar ridiculousfish2013-04-07
| | | | https://github.com/fish-shell/fish-shell/issues/647
* Add some more cancellability to autosuggestionsGravatar ridiculousfish2013-04-07
|
* Fix for issue where a file may be incompletely read on receipt of a signal.Gravatar ridiculousfish2013-04-07
|
* Mark stdin as nonblocking if we get EWOULDBLOCK, and before handing it off ↵Gravatar ridiculousfish2013-04-07
| | | | | | to child processes when either starting them or moving them to the foreground. https://github.com/fish-shell/fish-shell/issues/176
* Repaint after completionsGravatar ridiculousfish2013-04-04
| | | | Fixes #643, #644
* Add callbacks that get invoked before the next call to select(), which will ↵Gravatar ridiculousfish2013-04-03
| | | | allow for a nice fix to https://github.com/fish-shell/fish-shell/issues/608. Eliminate the poll handler, and replace it with this mechanism.
* Update code formattingGravatar ridiculousfish2013-03-21
|
* Return key should only insert a newline if backslashed character is ↵Gravatar ridiculousfish2013-03-12
| | | | | | whitespace, or backslash terminates the line https://github.com/fish-shell/fish-shell/issues/613
* Spelling mistake in commentGravatar ridiculousfish2013-03-11
|
* Add support for making a leading space not save to historyGravatar ridiculousfish2013-03-10
| | | | https://github.com/fish-shell/fish-shell/pull/615
* Break out COMPLETE_NO_CASE and COMPLETE_REPLACES_TOKEN into separate flags, ↵Gravatar ridiculousfish2013-03-05
| | | | in preparation for upcoming fuzzy completion work
* Kill termio.h and sys/termios.hGravatar David Adam (zanchey)2013-03-05
| | | | | | | | | | | On FreeBSD, compilation complains that "this file includes <sys/termios.h> which is deprecated, use <termios.h> instead". On Linux and FreeBSD, <sys/termios.h> literally just pulls in <termios.h>. On OS X and Solaris, <termios.h> pulls in <sys/termios.h>. <termio.h> doesn't exist on FreeBSD or Mac OS X, and on Linux is marked as deprecated and just includes <termios.h>. It does exist on Solaris, but no `struct termio` is ever actually used in the codebase.
* Additional changes related to https://github.com/fish-shell/fish-shell/pull/592Gravatar ridiculousfish2013-02-28
|
* Use swap instead of copying in reader_repaint_without_autosuggestionGravatar ridiculousfish2013-02-20
|
* Clear the autosuggestion from the old commandline when showing the ↵Gravatar Yannis Chatzimichos2013-02-20
| | | | completion list. Fixes #561
* Clean up comments and fix spelling errorsGravatar Yannis Chatzimichos2013-02-20
|
* Large set of changes to how PATH is handled. Changed fish to no longer ↵Gravatar ridiculousfish2013-02-19
| | | | | | modify PATH in share/config.fish. Introduced variable fish_user_paths, and a glue function __fish_reconstruct_path that splices together PATH with fish_user_paths. Changed fish to no longer validate changes to PATH unless the paths are new (i.e. don't recheck what's already there). Modified certain sets to store const wchar_t instead of wcstring to save a few allocations. https://github.com/fish-shell/fish-shell/issues/527
* Fix for issue where backward kill line crashes if performed while the cursor ↵Gravatar ridiculousfish2013-02-17
| | | | | | is on a newline https://github.com/fish-shell/fish-shell/pull/580
* More cleanup based on static analysisGravatar ridiculousfish2013-02-16
| | | | https://github.com/fish-shell/fish-shell/issues/575