aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.h
Commit message (Collapse)AuthorAge
* 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.
* remove __warn_unused attribute from exec_subshellGravatar Jan Kanis2013-02-06
|
* 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
* Fix spelling: s/circut/circuit/gGravatar Cheer Xiao2013-01-24
|
* Apply new indentation, brace, and whitespace styleGravatar ridiculousfish2012-11-18
|
* Remove trailing whitespaces and change tabs to spacesGravatar Łukasz Niemier2012-11-18
|
* Adopt posix_spawn (!)Gravatar ridiculousfish2012-08-15
| | | | | Rewrite IO chains to be a vector of pointers, instead of a linked list Removed io_transmogrify
* A bunch of changes working towards eliminating all memory allocation after ↵Gravatar ridiculousfish2012-03-08
| | | | fork()
* More work on improving interaction between fork and pthreads. Added ↵Gravatar ridiculousfish2012-02-29
| | | | null_terminated_array_t class.
* Clean up exec_subshell, removing al_list from itGravatar ridiculousfish2012-02-07
|
* More work on the instanced parserGravatar ridiculousfish2012-01-22
|
* Some changes to migrate towards C++ and a multithreaded modelGravatar ridiculousfish2011-12-26
|
* remove trailing spacesGravatar Grissiom2010-09-18
| | | | | This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not introduce any functionality change.
* Add compiler warnings for some common incorrect usage of functions, such as ↵Gravatar axel2006-10-20
| | | | | | forgetting to cast null pointers to variadic functions darcs-hash:20061019151947-ac50b-4043638a7a830fa80fd918f92365f5afe3ff208a.gz
* Minor cleanupGravatar axel2006-05-18
| | | | darcs-hash:20060518130039-ac50b-c17e794113c38909d90be840fce36c7727c628b4.gz
* Add i18n through gettext, as well as a Swedish translationGravatar axel2006-01-04
| | | | darcs-hash:20060104125102-ac50b-5bf026578a69bd94f7a7a3c8dee0ebccd95e5c24.gz
* Huge API documentation cleanupGravatar axel2005-10-25
| | | | darcs-hash:20051024152625-ac50b-41503feb4ea8d428c5b30c159aaae0c8f7ae46a2.gz
* Move io redirection functions to their own libraryGravatar axel2005-10-08
| | | | darcs-hash:20051008112051-ac50b-113caa4cba470a739e4bfbed9f479e2fed357be7.gz
* Add header guards to the header files.Gravatar James Vega2005-10-05
| | | | darcs-hash:20051004151139-35ec8-7af69b9d7647d145dc621f7eaea726e729cff554.gz
* Code cleanup and a few source code commentsGravatar axel2005-10-03
| | | | darcs-hash:20051003132446-ac50b-53f8231b18fced8371781ad41c9485983e1c5cdc.gz
* Make sure all internal file descriptors are closed when spawning childrenGravatar axel2005-10-03
| | | | darcs-hash:20051003130937-ac50b-95fb750b3c26f1c03a2a877770bbeee536ea3b74.gz
* Don't leak file descriptors when showing completion pagerGravatar axel2005-09-21
| | | | darcs-hash:20050920145100-ac50b-db5860389a38881177bf1fc6d377ede36700f968.gz
* Initial revisionGravatar axel2005-09-20
darcs-hash:20050920132639-ac50b-fa3b476891e1f5f67207cf4cc7bf623834cc5edc.gz