aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
Commit message (Collapse)AuthorAge
...
* Attempt to further improve fish's handling when it runs out of fds, and plug ↵Gravatar ridiculousfish2013-01-30
| | | | some fd leaks
* Initial set of changes working to make fish robust against running out of ↵Gravatar ridiculousfish2013-01-30
| | | | file descriptors
* Fix spelling: s/circut/circuit/gGravatar Cheer Xiao2013-01-24
|
* Remove some functions which were rendered trivial by xiaq's changes. Make ↵Gravatar ridiculousfish2013-01-19
| | | | io_file_t take its path directly. Make io_buffer_t no longer use a shared_ptr for its data.
* Merge branch 'split-io' of git://github.com/xiaq/fish-shell into xiaq-split-ioGravatar ridiculousfish2013-01-18
|\
* | Fix two clang warningsGravatar Cheer Xiao2013-01-17
| |
| * Make is_input a member of io_pipe_tGravatar Cheer Xiao2013-01-17
| |
| * Split out io_pipe_t, let io_buffer_t inherit itGravatar Cheer Xiao2013-01-17
| |
| * 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
| |
| * Split out io_file_tGravatar Cheer Xiao2013-01-17
| |
| * Split out io_fd_tGravatar Cheer Xiao2013-01-17
|/
* Make do_builtin_io multi-fork safe, moved it to postfork.cppGravatar ridiculousfish2013-01-11
| | | | Addresses https://github.com/fish-shell/fish-shell/issues/495
* Revert "Revert shared_ptr<io_data_t> changes until kinks are ironed out"Gravatar Cheer Xiao2013-01-11
| | | | This reverts commit 77f1b1f0fe27778750bb9b9aa53f6bc42d5e5843.
* exec.cpp:exec: Don't remove block_io elements from j->ioGravatar Cheer Xiao2013-01-11
| | | | | | When dulicate_prepend prepend copies of block_io elements to j->io, the removing simply does nothing. Now that the same pointers are prepended to j->io, don't remove them.
* 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
* Replace some shared_ptrs with const shared_ptr &. Don't use shared_ptr in ↵Gravatar ridiculousfish2013-01-04
| | | | postfork.cpp. Eliminate copy constructor in io_data_t. Simplify some other uses of shared_ptr<io_data_t>
* Use const shared_ptr<io_data_t>& instead of copying where appropriate.Gravatar Cheer Xiao2013-01-01
|
* Convert all io_data_t copying to shared_ptr copying.Gravatar Cheer Xiao2013-01-01
| | | | Copy constructor of io_data_t is removed.
* Use shared_ptr to manage io_data_t*.Gravatar Cheer Xiao2012-12-31
|
* Clean up initialization of pipe_{read,write} in exec() a bit.Gravatar Cheer Xiao2012-12-21
|
* Make skip_fork a boolGravatar ridiculousfish2012-12-21
|
* Make echo recognize -neGravatar ridiculousfish2012-12-20
|
* Rewrite str2wcstring to properly handle embedded nulls, and be simplerGravatar ridiculousfish2012-12-20
|
* Simplify exec_subshell_internalGravatar ridiculousfish2012-12-19
|
* Eliminate str2wcsGravatar ridiculousfish2012-12-19
|
* Random fixes to comments.Gravatar Cheer Xiao2012-12-16
|
* Output embedded null characters more oftenGravatar ridiculousfish2012-12-12
| | | | https://github.com/fish-shell/fish-shell/issues/444
* Fix indentation of switch statementsGravatar ridiculousfish2012-11-19
|
* Apply new indentation, brace, and whitespace styleGravatar ridiculousfish2012-11-18
|
* Remove trailing whitespaces and change tabs to spacesGravatar Łukasz Niemier2012-11-18
|
* Don't use posix_spawn for commands that need to be put into foreground to ↵Gravatar ridiculousfish2012-11-04
| | | | | | avoid a race Fix for race where a command's output may not be fully drained
* Don't use posix_spawn when file redirections are involved (except /dev/null) ↵Gravatar ridiculousfish2012-10-29
| | | | | | | because the error handling is too difficult Fix exec to correctly handle the case where a pid could not be created due to posix_spawn failing Should fix https://github.com/fish-shell/fish-shell/issues/364
* Clean up some warnings and some unused if-related codeGravatar ridiculousfish2012-09-01
|
* First stab at getting rid of the ugly state1, state2 properties of block_tGravatar ridiculousfish2012-08-26
|
* Reintroduce IO transmorgrification (yuck) to fix problems with fish_config ↵Gravatar ridiculousfish2012-08-22
| | | | and complicated IO redirections
* Restore correct order of IO redirectionsGravatar ridiculousfish2012-08-19
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/281
* Adopt posix_spawn (!)Gravatar ridiculousfish2012-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 handlingGravatar ridiculousfish2012-08-04
|
* 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
* Work towards getting function.h off of shared_ptrGravatar ridiculousfish2012-05-17
|
* Replaced some calls to unescape with unescape_stringGravatar ridiculousfish2012-05-09
|
* Improve fork reportingGravatar ridiculousfish2012-04-24
| | | | Save a couple of forks during init
* Improved fork reportingGravatar ridiculousfish2012-04-21
| | | | Made autosuggestion work properly for tilde expansion
* Fix lots of bugs related to the static analyzerGravatar ridiculousfish2012-03-26
| | | | Improved how screen.cpp interacts with output_set_writer()
* Remove some dead variables.Gravatar ridiculousfish2012-03-25
| | | | | Fix screwy output for invalid tilde expansion in expand.cpp Some cleanup per clang static analyzer
* Attempt to not fork just to output the result of simple builtins. I'm unsure ↵Gravatar ridiculousfish2012-03-09
| | | | of why this was necessary, if it ever was.