aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.cpp
Commit message (Collapse)AuthorAge
* 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
* 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.
* Split out io_pipe_t, let io_buffer_t inherit itGravatar Cheer Xiao2013-01-17
|
* Split out io_buffer_t, make input_redirect in exec() a raw pointerGravatar Cheer Xiao2013-01-17
|
* Revert "Revert shared_ptr<io_data_t> changes until kinks are ironed out"Gravatar Cheer Xiao2013-01-11
| | | | This reverts commit 77f1b1f0fe27778750bb9b9aa53f6bc42d5e5843.
* 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
* Use shared_ptr to manage io_data_t*.Gravatar Cheer Xiao2012-12-31
|
* Merge branch 'event-bug-test' of git://github.com/JanKanis/fish-shell into ↵Gravatar ridiculousfish2012-12-22
|\ | | | | | | JanKanis-event-bug-test
| * Make event_t.arguments into a vector instead of an auto_ptr<vector>.Gravatar Jan Kanis2012-12-20
| | | | | | | | Yay for less indirection and less code! The resulting event_t structure is two pointers larger, but cuts out an indirection and allocation.
* | Random fixes to comments.Gravatar Cheer Xiao2012-12-16
|/
* Fix indentation of switch statementsGravatar ridiculousfish2012-11-19
|
* Apply new indentation, brace, and whitespace styleGravatar ridiculousfish2012-11-18
|
* Restore terminal foreground process group on exitGravatar ridiculousfish2012-11-18
| | | | Fixes https://github.com/fish-shell/fish-shell/issues/197
* Removed unused commented out code and fixed some indentationGravatar ridiculousfish2012-11-04
|
* 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
* Don't reset the terminal mode in certain circumstances. Fixes issue in Linux ↵Gravatar ridiculousfish2012-10-05
| | | | | | with e.g. echo foo ; ftp Introduce patch from https://github.com/adityagodbole/fish-shell/commit/9d229cd18c3e5c25a8bd37e9ddd3b67ddc2d1b72
* First stab at elseif implementationGravatar ridiculousfish2012-09-01
|
* 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
|
* Warning cleanupGravatar 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
* 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
* Minor cleanup of proc.cppGravatar ridiculousfish2012-04-25
|
* Fix to drain command output from quit commands before returning from ↵Gravatar ridiculousfish2012-04-25
| | | | | | | job_continue This should fix the bug where output from commands and builtins gets incorrectly interleaved. I think this is a very long-standing bug that predates my work on the shell
* Cleanup proc_had_barrierGravatar ridiculousfish2012-03-31
| | | | Ensure we don't try to do a universal barrier off of the main thread
* Fix lots of bugs related to the static analyzerGravatar ridiculousfish2012-03-26
| | | | Improved how screen.cpp interacts with output_set_writer()
* A bunch of changes working towards eliminating all memory allocation after ↵Gravatar ridiculousfish2012-03-08
| | | | fork()
* We had identical format_val and to_string; standardize on to_stringGravatar 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
|
* More work towards improving relationship between multithreading and forkGravatar ridiculousfish2012-02-29
|
* More work on improving interaction between fork and pthreads. Added ↵Gravatar ridiculousfish2012-02-29
| | | | null_terminated_array_t class.
* Some initial work towards resolving nasty fork/pthread issues, and to having ↵Gravatar ridiculousfish2012-02-27
| | | | a per-parser job list
* More work towards autosuggesting completionsGravatar ridiculousfish2012-02-25
|
* Removed a lot of string_buffer_tGravatar ridiculousfish2012-02-22
|
* Changes to make autosuggestion smarter about not suggesting commands that ↵Gravatar ridiculousfish2012-02-16
| | | | could never succeed.
* Final removal of halloc. It's like Christmas Morning.Gravatar ridiculousfish2012-02-09
|
* Get event_t off of halloc (!)Gravatar ridiculousfish2012-02-08
|
* Clean up how argv is stored in process_tGravatar ridiculousfish2012-01-31
|
* Fixed compilation errors caused by latest commitsGravatar Siteshwar Vashisht2012-01-30
|
* A bunch of work to move towards a sane memory model in job_tGravatar ridiculousfish2012-01-29
|
* Began migration of job_t away from hallocGravatar ridiculousfish2012-01-29
|
* Convert jobs list to std::listGravatar ridiculousfish2012-01-29
|
* More work towards instanced parser. First successful compilationGravatar ridiculousfish2012-01-22
|
* Get some basic function signatures right for new instanced parserGravatar ridiculousfish2012-01-16
|