aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.cpp
Commit message (Collapse)AuthorAge
* 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
* First stab at builtin set_color. Moved set_color.cpp to ↵Gravatar ridiculousfish2013-02-14
| | | | builtin_set_color.cpp and taught fish about it.
* Fix to look up fish_pager in __fish_bin_dir instead of by using PATH, in ↵Gravatar ridiculousfish2013-02-13
| | | | preparation for making fish no longer need to modify PATH
* Clean up env_var_table_t. Switch from storing var_uni_entry_t* to ↵Gravatar ridiculousfish2013-02-11
| | | | var_uni_entry_t. Various other cleanups.
* Make io_data_t::fd constGravatar Cheer Xiao2013-02-11
| | | | In exec(), pipe_{write,read} no longer get reused.
* remove __warn_unused attribute from exec_subshellGravatar Jan Kanis2013-02-06
|
* merge branch 'bug-537' and branch 'bug-read-ctrlC'. This should fix both ↵Gravatar Jan Kanis2013-02-05
|\ | | | | | | #537 and #516
| * rename reader_cancel_thread to reader_thread_job_is_stale, update commentsGravatar Jan Kanis2013-02-05
| |
* | FormattingGravatar ridiculousfish2013-02-03
| |
* | Teach fish how to put completion data inside a closing quoteGravatar ridiculousfish2013-02-02
| | | | | | | | Fixes https://github.com/fish-shell/fish-shell/issues/552
* | Make subcommands modify $status, and make builtin_set not modify status ↵Gravatar ridiculousfish2013-01-31
| | | | | | | | | | | | | | unless it fails https://github.com/fish-shell/fish-shell/issues/547 https://github.com/fish-shell/fish-shell/issues/214
* | Initial set of changes working to make fish robust against running out of ↵Gravatar ridiculousfish2013-01-30
| | | | | | | | file descriptors
* | Fix unused return value warning a different wayGravatar ridiculousfish2013-01-27
| |
* | Fixed an unused variable warningGravatar ridiculousfish2013-01-27
| |
* | Fix to output the prompt even if fish_prompt failsGravatar ridiculousfish2013-01-27
| |
* | Indent switch + case properly. ↵Gravatar ridiculousfish2013-01-24
| | | | | | | | https://github.com/fish-shell/fish-shell/issues/530
| * make the casting magic standards compliant and avoid compiler warnings; add ↵Gravatar Jan Kanis2013-01-24
| | | | | | | | error check
| * replace compiler-supported TLS with pthread_get/setspecific; remove GPLv3 ↵Gravatar Jan Kanis2013-01-24
| | | | | | | | code from two commits ago
| * make threadlocal use conditional on configure check. NB: This revision mixes ↵Gravatar Jan Kanis2013-01-23
| | | | | | | | GPLv2-only and GPLv3+ code so should be considered proof of concept.
| * implement reader_cancel_thread using __thread thread-local storageGravatar Jan Kanis2013-01-23
| |
| * tweak reader interrupt behaviorGravatar Jan Kanis2013-01-22
| |
| * rename reader_data_t.interruptible to exit_on_interruptGravatar Jan Kanis2013-01-22
| |
| * move work out of interrupt handler (which is safer as well)Gravatar Jan Kanis2013-01-22
| |
| * fix comments on #516. Split `reader_interrupted` into a `reader_interrupted` ↵Gravatar Jan Kanis2013-01-22
| | | | | | | | and a `reader_reading_interrupted`
| * make the `read` builtin respect ctrl-CGravatar Jan Kanis2013-01-20
| |
| * create reader_data_t.interruptible flag and infrastructure to make it work.Gravatar Jan Kanis2013-01-20
|/
* Convert io_buffer_read to io_buffer_t::readGravatar Cheer Xiao2013-01-17
|
* Convert io_buffer_create to static io_buffer_t::create, make io_buffer_t ↵Gravatar Cheer Xiao2013-01-17
| | | | constructor private
* Convert io_buffer_destroy to ~io_buffer_tGravatar Cheer Xiao2013-01-17
|
* Split out io_buffer_t, make input_redirect in exec() a raw pointerGravatar Cheer Xiao2013-01-17
|
* Fix for missing first character in completionsGravatar ridiculousfish2013-01-13
|
* Fix for issue where completing in the middle of a command may append extra ↵Gravatar ridiculousfish2013-01-12
| | | | | | junk at the end of the completions in the list https://github.com/fish-shell/fish-shell/issues/301
* Revert "Revert shared_ptr<io_data_t> changes until kinks are ironed out"Gravatar Cheer Xiao2013-01-11
| | | | This reverts commit 77f1b1f0fe27778750bb9b9aa53f6bc42d5e5843.
* Make fish_config prompt color changes work more oftenGravatar ridiculousfish2013-01-08
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/505
* Make fishd base its variable files on the MAC address instead of hostnameGravatar ridiculousfish2013-01-08
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/183
* When the user input contains capital letters, use its case rather than the ↵Gravatar ridiculousfish2013-01-05
| | | | | | autosuggestion's case Fixes https://github.com/fish-shell/fish-shell/issues/335
* Reset the color before we clear to eolGravatar ridiculousfish2013-01-04
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/493
* Revert shared_ptr<io_data_t> changes until kinks are ironed outGravatar ridiculousfish2013-01-04
| | | | | | | | | | | https://github.com/fish-shell/fish-shell/pull/487 Revert "Merge branch 'oo-io' of git://github.com/xiaq/fish-shell into xiaq-oo-io" This reverts commit f3c8f535a48d5fdd518bd60879ade948bc8be7e6, reversing changes made to b02f6cf3bc4343cf3e068dee3cb46de7139a5a27. Also reverts ac023f7588e562a03fdea7fd2feda487f18827c7 and a79d3c680c9548566309121630dadc94e48934c4