aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.cpp
Commit message (Collapse)AuthorAge
* Switch from std::list to std::vector in a few places to reduce compiled code ↵Gravatar ridiculousfish2012-07-24
| | | | size
* Lots of miscellaneous cleanup. Unified the path_get_cd_path, ↵Gravatar ridiculousfish2012-07-20
| | | | path_allocate_cd_path, etc. functions
* Renamed env_vars to env_vars_snapshot_tGravatar ridiculousfish2012-07-20
| | | | Cleanup of non-wcstring version of path_get_path
* Various changes to reduce fish's compiled code sizeGravatar ridiculousfish2012-07-17
| | | | OS X release build executable size dropped from 672k to 511k
* Added binding for accepting an autosuggestionGravatar ridiculousfish2012-07-15
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/226
* Deliver SIGHUP when we're exiting, even if stdin is not closed.Gravatar ridiculousfish2012-07-15
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/138
* Set of changes to improve Unicode support with respect to combining characters.Gravatar ridiculousfish2012-07-15
| | | | Should address https://github.com/fish-shell/fish-shell/issues/155
* First pass at making autosuggestions not trigger wrappingGravatar ridiculousfish2012-07-12
| | | | Addresses https://github.com/fish-shell/fish-shell/issues/167
* Fix for https://github.com/fish-shell/fish-shell/issues/66Gravatar ridiculousfish2012-07-09
| | | | Make fish import .bash_history if regular history is not found
* Set single-line default promptGravatar maxfl2012-07-07
| | | | | | | | Fish now doesn't join the fish_prompt output. This breaks the default fish_prompt. Make default fish_prompt single-line. Fixes #203. Add -l flag to 'read' documentation. Remove ambiguous '-x' description. Fixes #157.
* Fix fish_prompt eventGravatar maxfl2012-07-06
| | | | | I've found that this modification fixes fish_prompt event Fixes #164
* Untangle unescaping responsibilities in highlight.cpp. Fix cd ↵Gravatar ridiculousfish2012-07-06
| | | | | | autosuggestions to properly handle quotes. Factor out some of the quote unescaping behavior from reader.cpp to parse_util.cpp. Add some autosuggestion tests
* Fixed crash caused by pressing pageup button when no match (for typed ↵Gravatar Siteshwar Vashisht2012-07-05
| | | | command) in history is found
* Added missing break in case R_SUPPRESS_AUTOSUGGESTIONGravatar ridiculousfish2012-07-01
|
* Add command to temporarily suppress the autosuggestion featureGravatar Ian Munsie2012-07-01
| | | | | | | | Autosuggestion will be automatically re-enabled next time a character is inserted. An alternative implementation would require another command to explicitly re-enable it. Signed-off-by: Ian Munsie <darkstarsword@gmail.com>
* Fix off by two in move_word leftGravatar Ian Munsie2012-07-01
| | | | | | | | | | | | | | | | This can be demonstrated with something like: echo howdy hi<control-w> echo howdy I<alt-b> Previousely this would delete/move all the way to the start of 'howdy', rather than just the word 'hi'/'I'. It seems that the code to ignore the character under the cursor was redundant, as all the cases I've tried with it removed seem to do the right thing. Signed-off-by: Ian Munsie <darkstarsword@gmail.com>
* Some improvements to validate commands suggested from historyGravatar Siteshwar Vashisht2012-06-29
|
* Fixed crash caused by pressing pageup buttonGravatar Siteshwar Vashisht2012-06-25
|
* Fixes title update in tmux and screenGravatar Emil Eriksson2012-06-21
| | | | | | | * Seems that writestr( L"\x1b];" ); doesn't work in tmux and screen. As discussed in fish-shell/fish-shell#47 the 2 was removed. This commit adds the zero (L"\x1b]0;"). * Tested in screen,tmux,iTerm and xterm.
* Enable window title update when TERM is screen-XGravatar Emil Eriksson2012-06-21
| | | | | | * Uses the same logic as when TERM is xterm-X to enable window-title updates when running in screen.
* Fix for extra space in some completionsGravatar ridiculousfish2012-06-16
| | | | Addresses https://github.com/fish-shell/fish-shell/issues/60
* Fixed token search (note: this didn't work properly even in the original fish!)Gravatar ridiculousfish2012-06-15
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/61
* fish_title now sets both tab and window titles in iTerm2Gravatar Robin Deits2012-06-10
|
* Signal handling cleanup and improved safetyGravatar ridiculousfish2012-06-04
| | | | | Fixes issue where you couldn't control-C out of a loop (https://github.com/ridiculousfish/fishfish/issues/13) Also stops doing memory allocation in the signal handler (oops) https://github.com/ridiculousfish/fishfish/issues/27
* Fix to disable VDSUSP, which allows control-Y to serve as yank on OS XGravatar ridiculousfish2012-06-02
|
* Lots of modernization changedGravatar ridiculousfish2012-05-09
| | | | Removed wcsdupcat
* Factor is_potential_path to properly handle CDPATHGravatar ridiculousfish2012-05-07
| | | | This will let us color cd commands better
* Made tests compile againGravatar ridiculousfish2012-05-07
| | | | | Renamed autosuggest_handle_special to autosuggest_special_validate_from_history Began work to factor autosuggest_special_validate_from_history together with autosuggest_suggest_special
* Fix to restore completions that use command substitution (like cd)Gravatar ridiculousfish2012-05-06
| | | | Fix to adopt the same escaping code for both completions and autosuggestions
* Some work towards refactoring how completions are inserted to support ↵Gravatar ridiculousfish2012-05-05
| | | | escaping in autosuggestions
* Fix to properly update colors for non-native term256 supportGravatar ridiculousfish2012-03-31
|
* Improve autosuggesting of cd commandGravatar ridiculousfish2012-03-30
|
* Fix lots of bugs related to the static analyzerGravatar ridiculousfish2012-03-26
| | | | Improved how screen.cpp interacts with output_set_writer()
* Make the functions builtin have a bit nicer outputGravatar ridiculousfish2012-03-25
| | | | | Stop autosuggesting things with newlines Make webconfig a little nicer
* Lots of work on web configGravatar ridiculousfish2012-03-25
| | | | Change to make fish immediately show color changes
* Fix for completions only printing one itemGravatar ridiculousfish2012-03-05
|
* Fix to stop autosuggesting on whitespaceGravatar ridiculousfish2012-03-05
|
* Final cleanup of io_data_t now that I recognize the bizarre way in which it ↵Gravatar ridiculousfish2012-03-04
| | | | shares output buffers (not sure how this ever worked before)
* Some initial work on removing buffer_t from io_data_tGravatar ridiculousfish2012-03-03
|
* Fix a bug where wfopen would always failGravatar ridiculousfish2012-03-03
| | | | Removed some buffer_t
* Cleanup reader.cpp's usage of string_buffer, remove some other unused data ↵Gravatar ridiculousfish2012-03-03
| | | | structures
* removed some string_bufferGravatar ridiculousfish2012-03-03
|
* Put fish on a diet. Tracked down the biggest memory hogs and fixed them. ↵Gravatar ridiculousfish2012-03-03
| | | | Total allocations down by a factor of 3 or so, live allocations a few KB.
* Fix to properly handle case insensitive autosuggestionsGravatar ridiculousfish2012-03-01
|
* Changed iterators from iter++ to ++iterGravatar ridiculousfish2012-03-01
| | | | Large set of changes to history to ensure that histories from other sessions don't "bleed" into the current session
* More work on improving interaction between fork and pthreads. Added ↵Gravatar ridiculousfish2012-02-29
| | | | null_terminated_array_t class.
* Fix to add a generation count to threaded operations so they abort earlyGravatar ridiculousfish2012-02-28
|
* Some initial work towards resolving nasty fork/pthread issues, and to having ↵Gravatar ridiculousfish2012-02-27
| | | | a per-parser job list
* Fix to finally turn on multithreaded completions for autosuggestionGravatar ridiculousfish2012-02-27
|
* Some more changes in preparation for turning on complete-based autosuggestionsGravatar ridiculousfish2012-02-26
|