Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Mark stdin as nonblocking if we get EWOULDBLOCK, and before handing it off ↵ | 2013-04-07 | |
| | | | | | | to child processes when either starting them or moving them to the foreground. https://github.com/fish-shell/fish-shell/issues/176 | ||
* | Kill termio.h and sys/termios.h | 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. | ||
* | Hopeful fix to avoid forking for certain builtins like echo when they have ↵ | 2013-02-22 | |
| | | | | an input redirection only | ||
* | Make io_data_t::fd const | 2013-02-11 | |
| | | | | In exec(), pipe_{write,read} no longer get reused. | ||
* | Initial set of changes working to make fish robust against running out of ↵ | 2013-01-30 | |
| | | | | file descriptors | ||
* | Remove some functions which were rendered trivial by xiaq's changes. Make ↵ | 2013-01-19 | |
| | | | | io_file_t take its path directly. Make io_buffer_t no longer use a shared_ptr for its data. | ||
* | Revert "Make io_buffer_t::out_buffer a raw pointer, initialize in ↵ | 2013-01-17 | |
| | | | | | | | | | | io_buffer_t's constructor" This reverts commit d48ffab9d67da48cf45c2f5560c21a767144545f. Conflicts: io.cpp io.h | ||
* | Make is_input a member of io_pipe_t | 2013-01-17 | |
| | |||
* | Make io_buffer_t::out_buffer a raw pointer, initialize in io_buffer_t's ↵ | 2013-01-17 | |
| | | | | constructor | ||
* | Make io_data_t pure virtual, its constructor protected | 2013-01-17 | |
| | |||
* | Split out io_pipe_t, let io_buffer_t inherit it | 2013-01-17 | |
| | |||
* | Convert io_buffer_read to io_buffer_t::read | 2013-01-17 | |
| | |||
* | Convert io_buffer_create to static io_buffer_t::create, make io_buffer_t ↵ | 2013-01-17 | |
| | | | | constructor private | ||
* | Convert io_buffer_destroy to ~io_buffer_t | 2013-01-17 | |
| | |||
* | Split out io_buffer_t, make input_redirect in exec() a raw pointer | 2013-01-17 | |
| | |||
* | Split out io_file_t | 2013-01-17 | |
| | |||
* | Split out io_fd_t | 2013-01-17 | |
| | |||
* | Split out io_close_t | 2013-01-17 | |
| | |||
* | Put io_data_t detail printing in virtual io_data_t::print | 2013-01-17 | |
| | |||
* | Revert "Revert shared_ptr<io_data_t> changes until kinks are ironed out" | 2013-01-11 | |
| | | | | This reverts commit 77f1b1f0fe27778750bb9b9aa53f6bc42d5e5843. | ||
* | Revert shared_ptr<io_data_t> changes until kinks are ironed out | 2013-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 | ||
* | Remove io_duplicate, which is no longer used | 2013-01-04 | |
| | |||
* | Replace some shared_ptrs with const shared_ptr &. Don't use shared_ptr in ↵ | 2013-01-04 | |
| | | | | postfork.cpp. Eliminate copy constructor in io_data_t. Simplify some other uses of shared_ptr<io_data_t> | ||
* | Convert all io_data_t copying to shared_ptr copying. | 2013-01-01 | |
| | | | | Copy constructor of io_data_t is removed. | ||
* | Use shared_ptr to manage io_data_t*. | 2012-12-31 | |
| | |||
* | Fix indentation of switch statements | 2012-11-19 | |
| | |||
* | Apply new indentation, brace, and whitespace style | 2012-11-18 | |
| | |||
* | Remove trailing whitespaces and change tabs to spaces | 2012-11-18 | |
| | |||
* | Restore correct order of IO redirections | 2012-08-19 | |
| | | | | Fixes https://github.com/fish-shell/fish-shell/issues/281 | ||
* | Adopt posix_spawn (!) | 2012-08-15 | |
| | | | | | Rewrite IO chains to be a vector of pointers, instead of a linked list Removed io_transmogrify | ||
* | Cleaned up lots of typecasts, simplified some string handling | 2012-08-04 | |
| | |||
* | A bunch of changes working towards eliminating all memory allocation after ↵ | 2012-03-08 | |
| | | | | fork() | ||
* | Final cleanup of io_data_t now that I recognize the bizarre way in which it ↵ | 2012-03-04 | |
| | | | | shares output buffers (not sure how this ever worked before) | ||
* | Some initial work on removing buffer_t from io_data_t | 2012-03-03 | |
| | |||
* | Fixed initialization of va_list variable in debug() in common.cpp, and ↵ | 2012-02-23 | |
| | | | | mismatched new/free() in io.cpp | ||
* | Squash a bunch of leaks | 2012-02-21 | |
| | |||
* | Some hopefully good changes to get IOs off of halloc | 2012-02-09 | |
| | |||
* | Some changes to migrate towards C++ and a multithreaded model | 2011-12-26 | |
| | |||
* | Initial C++ conversion | 2011-12-26 | |