aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.c
Commit message (Collapse)AuthorAge
* Add more function input validation checksGravatar axel2006-06-09
| | | | darcs-hash:20060608235212-ac50b-25fd55f96356af65d4da1eec100cc954b4a9f81e.gz
* Minor code tweaks, including making sure builtins are not run if an io ↵Gravatar axel2006-06-04
| | | | | | redirection issue occurs and removing a lot commented debug code darcs-hash:20060603223533-ac50b-204ff1fb1a4912565044e7bc4b86102a7eeba192.gz
* Minor cleanupGravatar axel2006-05-18
| | | | darcs-hash:20060518130039-ac50b-c17e794113c38909d90be840fce36c7727c628b4.gz
* Fix bug that caused block level io redirection to break on while loopsGravatar axel2006-05-15
| | | | darcs-hash:20060514222905-ac50b-7dec0ed716f5fe6af9069b597eee464829a8d820.gz
* Do not return to the shell until all processes of a job have finished ↵Gravatar axel2006-04-04
| | | | | | (Previous behaviour was to return once the last job had exited, and could cause e.g. the jobs builtin to print out the job responsible for repainting the titlebar). Also validate that jobs have not completed in various places where the job list is examined darcs-hash:20060404112722-ac50b-4b6a55ce7c57d39213cdd0ed0f581795a72859b7.gz
* Add support for the -n switch to skip execution of any commandsGravatar axel2006-03-18
| | | | darcs-hash:20060318010459-ac50b-9d9e5c489e0e4df2159d8c1d0ff952d42e2a2a82.gz
* Move all fallbacks for standard and not-so-standard unix functions to ↵Gravatar axel2006-02-28
| | | | | | fallback.c, in order to have a one-stop place to look for such functions darcs-hash:20060228131716-ac50b-0832193dbcaf7191dcb24456dc40f2e861a1382e.gz
* Add some input validation code to various functionsGravatar axel2006-02-23
| | | | darcs-hash:20060222154152-ac50b-608032284165f099beecd1cd4f7c6bb2b45df432.gz
* A flag got reversed, causing children to execute even if an IO redirection ↵Gravatar axel2006-02-20
| | | | | | failed darcs-hash:20060220014036-ac50b-43156940397e0535cfa9dd7e88d61e4ca4bab13b.gz
* Add support for sending arguments whenusing the source builtinGravatar axel2006-02-15
| | | | darcs-hash:20060214195636-ac50b-511c211368103df6923d63cef99ce20a88d31be3.gz
* Another halloc:ification of fish. Halloc has been extended to allow ↵Gravatar axel2006-02-10
| | | | | | registering function calls, this has allowed the creation of halloc-handled arraylists, stringbuffers, etc. More job parsing halloc-ification has reduced the error handling code to only a shadow of it's former self darcs-hash:20060209155020-ac50b-e119c5293ce2368e252cfc01b98ab7c629fdd678.gz
* Further halloc:ification if fishGravatar axel2006-02-07
| | | | darcs-hash:20060206181101-ac50b-db0aac307a81e7f0677acd15a9f38ff8c7ff36d2.gz
* Second checkin of halloc changeover. Make the argv array, but not it's ↵Gravatar axel2006-02-07
| | | | | | contents, be allocated using halloc. Also make list_to_char_arr use halloc darcs-hash:20060206151817-ac50b-e8fd4cff831ee975c5bf3855d9ecfc15a3fb9215.gz
* First checkin of transition to using a new hierarchical memory allocator, ↵Gravatar axel2006-02-07
| | | | | | some of the memory associated with a job is covered darcs-hash:20060206142502-ac50b-ba1c9a4f64ea0f44f65303a125f9ddae5bd31e2f.gz
* Make execution of functions use wcsdup to make sure no memory errors happen ↵Gravatar axel2006-02-06
| | | | | | if a function removes itself darcs-hash:20060206134701-ac50b-27be7fe76512d6ac4313eea79b45a9c11083bccd.gz
* Tweaks to some source commentsGravatar axel2006-02-05
| | | | darcs-hash:20060205131253-ac50b-c3ad91b280a73fc8ec318ca6c285de773ffecfc6.gz
* Don't print errors if parent can't give child control of terminal during ↵Gravatar axel2006-02-04
| | | | | | exec(), since child may have already exited darcs-hash:20060204113320-ac50b-385b600789e7d1aee2a15a69658e9e0b4af838d0.gz
* Make children set their own process group instead of waiting for their ↵Gravatar axel2006-02-04
| | | | | | parent to do it for them darcs-hash:20060203215031-ac50b-d00ce5c09b469edd968618a4bba4b5c1f7dc075c.gz
* Move parts of the command description lookup code to a shellscript functionGravatar axel2006-02-04
| | | | darcs-hash:20060203172736-ac50b-95430eb4ca0d7ee2859237e8543a4e0883349fdb.gz
* prompt and terminal functions should not be run in interactive modeGravatar axel2006-02-03
| | | | darcs-hash:20060203093426-ac50b-5e6bf8382c6a5fb4b409439eddf612fffa9c752e.gz
* Generalize the stack tracing code, add support for showing events and ↵Gravatar axel2006-02-02
| | | | | | command substitutions in stack traces darcs-hash:20060201154911-ac50b-707358ea50231661c05a92b40ca109ec801081e6.gz
* Readd the terminal flag for jobs, as not all jobs under job control should ↵Gravatar axel2006-02-01
| | | | | | be given the terminal. darcs-hash:20060201122715-ac50b-7efc499e8905e9898c214816d0a3468e077c7005.gz
* Rename the 'terminal' flag to 'job_control', make sure fg and bg only ↵Gravatar axel2006-01-31
| | | | | | considers jobs under job control and make it configurable which jobs are put under job control using the status builtin. Also add an option to the status builtin to print a stack trace. darcs-hash:20060130175426-ac50b-46fb79797284cb600c67cb19462b53761446f00a.gz
* Add support for calculating completions for arbitrary commands through the ↵Gravatar axel2006-01-31
| | | | | | 'complete' builtin darcs-hash:20060130165150-ac50b-5e2ef3bb0298dd5e1a5d6fbdade314cc73ef36f3.gz
* Fix bug that caused shellscript functions in pipelines that don't have any ↵Gravatar axel2006-01-30
| | | | | | output to never be properly removed darcs-hash:20060129220414-ac50b-8c26e83933a73ef146c28bed020a6a2dfeca425f.gz
* Display use of . (source) builtin in stack tracesGravatar axel2006-01-28
| | | | darcs-hash:20060128113440-ac50b-6556097eb766cc7561a3d30ef994bc913181fe65.gz
* Add support for correctly handling illegal character stringsGravatar axel2006-01-28
| | | | darcs-hash:20060128020329-ac50b-d3499e6ff9108cef25bf7e00f39bbe1476896e07.gz
* Fix glitches in stack traceGravatar axel2006-01-27
| | | | darcs-hash:20060126154722-ac50b-0d44e98b6d98e3b42f60f66f5bfa2c5f97ea2bd8.gz
* Add function stack trace to error outputGravatar axel2006-01-27
| | | | darcs-hash:20060126144810-ac50b-3426191f596674504ce49dd61fcfa3c2c0c0f2bb.gz
* Fixes to api documentation, added .PHONY to makefile actions, made a few ↵Gravatar axel2006-01-24
| | | | | | private functions static darcs-hash:20060123204014-ac50b-b9d2a10c7f00945b5d9d244cb3b8c1489fe280de.gz
* Change the foregrounf/background code a bit, fixes bug where mulktiple jobs ↵Gravatar axel2006-01-18
| | | | | | want foreground status. Is this fix enough or are there still corner cases? darcs-hash:20060118124248-ac50b-cbbddb8c6dad1f44826050395cda647fa9348f0f.gz
* Put jobs in functions and block into their own process group in interactive ↵Gravatar axel2006-01-16
| | | | | | mode, but do not put the 'fake jobs' associated with functions in a group darcs-hash:20060116001556-ac50b-b91d6e45fe136874237ad31538de02b5e63a8bac.gz
* Correctly handle and recover from IO redirections failures in the exec builtinGravatar axel2006-01-16
| | | | darcs-hash:20060115224148-ac50b-793c6a71a2ea04239a3d4bc293ca217a7ed40e84.gz
* Give subshell command in error message for output conversion of data from ↵Gravatar axel2006-01-16
| | | | | | subshell darcs-hash:20060115200442-ac50b-4b3add7f99cf460186a6e0922966365dedcc2759.gz
* Add one missing translation string in exec.cGravatar axel2006-01-12
| | | | darcs-hash:20060111144616-ac50b-b0520a639e2d06b75629e0ab171111c529993d32.gz
* Recover instead of quiting when a redirection error occurs for a shellscript ↵Gravatar axel2006-01-12
| | | | | | function darcs-hash:20060111144020-ac50b-a5c7449276730c21949324abd8ba49b91b186e8c.gz
* Huge upade containing several bugfixes related to i18n, and a huge number of ↵Gravatar axel2006-01-08
| | | | | | new translatable strings, including almost all description messages for command specific completions darcs-hash:20060108025656-ac50b-e2309829a0afa6b3270d13814e9600d0fd372407.gz
* Add i18n through gettext, as well as a Swedish translationGravatar axel2006-01-04
| | | | darcs-hash:20060104125102-ac50b-5bf026578a69bd94f7a7a3c8dee0ebccd95e5c24.gz
* Use csh-style error rules with wildcards, i.e. if no matches are found, the ↵Gravatar axel2005-12-04
| | | | | | command is not executed darcs-hash:20051203164356-ac50b-1b1818db2698eab9ae765a5af1e259bce3ab37e7.gz
* Make the not builtin work with shellscript functionsGravatar axel2005-11-30
| | | | darcs-hash:20051129195030-ac50b-7ada30d327f2dcc8ad23f56b0a36c975cb90c481.gz
* Try to report IO redirection errors resulting from redirection stderrGravatar axel2005-11-29
| | | | darcs-hash:20051129101206-ac50b-970569a8b710d74b6e16a3c09b8848618cec4a7e.gz
* Minor performance tweaksGravatar axel2005-11-03
| | | | darcs-hash:20051102154159-ac50b-9a32fb6cc654c593048840ebd9f6abb97c2e0bb8.gz
* Huge API documentation cleanupGravatar axel2005-10-25
| | | | darcs-hash:20051024152625-ac50b-41503feb4ea8d428c5b30c159aaae0c8f7ae46a2.gz
* Fix broken umask, add completions, documentation cleanups, etcGravatar axel2005-10-22
| | | | darcs-hash:20051022100605-ac50b-9b6ece502b203bf7690583d57b5b0713de30890c.gz
* Code cleanups and API documentation updatesGravatar axel2005-10-21
| | | | darcs-hash:20051021115945-ac50b-bce8377b3a711cd2269bc21d71d99f6d6ad4c931.gz
* Improve error message on bad IO redirectionGravatar axel2005-10-21
| | | | darcs-hash:20051020235651-ac50b-741d8d81dc446512036be9e14a6e6301f337789c.gz
* Initial imlementation of uname shellscript functionGravatar axel2005-10-17
| | | | darcs-hash:20051017132412-ac50b-0c82581051eb6819ae8316a27f4b83401446e3df.gz
* Increase fish robustness by improving signal handling when forking jobs and ↵Gravatar axel2005-10-14
| | | | | | minor signal handling improvements darcs-hash:20051014114033-ac50b-8d0f6274ac590f1b6dbe82c55366f44ed7debf20.gz
* Stop using anonymous unionsGravatar axel2005-10-12
| | | | darcs-hash:20051011193116-ac50b-ad5f877bc54069233f804dffd136656da3a2c8f1.gz
* Event handling and job reaping updatesGravatar axel2005-10-12
| | | | darcs-hash:20051011192343-ac50b-aa3f5ae5e2b34d122f10e3b59ceb6fdd447f4ae3.gz