aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.c
Commit message (Collapse)AuthorAge
* Fix warnings from ICCGravatar axel2006-03-29
| | | | darcs-hash:20060329001450-ac50b-9c3fe4f7ca14a077997c421616c07dde03b48c6d.gz
* Minor comment and documentation changesGravatar axel2006-03-14
| | | | darcs-hash:20060314000914-ac50b-63c49a59804f51c4dd19de574db41298b1ef67c5.gz
* Fix bad return status in read builtinGravatar axel2006-03-11
| | | | darcs-hash:20060310195100-ac50b-2b7d94510661d901fd804074e6cf03e926dddc79.gz
* Fix bug that causing terminal corruption if a job is put under job control ↵Gravatar axel2006-03-10
| | | | | | before running in interactive mode. This is fixed by doing more inits at startup (but only slightly more) darcs-hash:20060310133809-ac50b-d31cd7bab1a3a58de2833f73735817a3d0b3ed7d.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
* Make sure that command specific completions can handle input strings with ↵Gravatar axel2006-02-19
| | | | | | wildcards reasonably well darcs-hash:20060219011432-ac50b-89a73a3d414f2dbd8a213b851fcb1c494e022eae.gz
* Give more detail in an error messageGravatar axel2006-02-18
| | | | darcs-hash:20060218024346-ac50b-f26f6ef107fffa398b6ff61baff81914b998940a.gz
* Minor editsGravatar axel2006-02-15
| | | | darcs-hash:20060215024900-ac50b-51863879c32660d9787db706c34fef10aa4c30c2.gz
* Remove the rather stupid -y option for complete, which loads another ↵Gravatar axel2006-02-15
| | | | | | commands completions. Mostly the same results can be had with fewer bugs and corner cases vy using the new dynamically loaded functions. darcs-hash:20060215022228-ac50b-85614ed684f73460d43543a579ff2c7e7914efeb.gz
* Add support for checking current filename and current line nuber to status ↵Gravatar axel2006-02-15
| | | | | | builtin darcs-hash:20060214195747-ac50b-77b6aba42c99da4f79ea500c47cc00bba12ec663.gz
* Add support for sending arguments whenusing the source builtinGravatar axel2006-02-15
| | | | darcs-hash:20060214195636-ac50b-511c211368103df6923d63cef99ce20a88d31be3.gz
* Optimize the halloc implementation so that mutiple calls to halloc can be ↵Gravatar axel2006-02-11
| | | | | | satisfied by a single malloc, also add wcsdup and wcsndup workalikes using halloc darcs-hash:20060211001317-ac50b-c9cf234c334b4d697fe1251c21013c8ec7f7b0a1.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
* Minor code cleanup, don't use expand_escape and expand_unescape any moreGravatar axel2006-02-07
| | | | darcs-hash:20060206151552-ac50b-e2229d096926461f643fdcdfc79ef1ff01344a35.gz
* Minor edits of builtin.c, some reindentation and code comment improvementGravatar axel2006-02-06
| | | | darcs-hash:20060205212050-ac50b-70c1b34208b442b5670fde2c6655e09c4480c7e7.gz
* Clean up init code in builtin.cGravatar axel2006-02-05
| | | | darcs-hash:20060205130840-ac50b-1a2b29671b7d8c557ebd284513c535e082ee5cf3.gz
* Don't print full stack trace for failiures in cd in interactive modeGravatar axel2006-02-04
| | | | darcs-hash:20060204113650-ac50b-465dd4b3fb27e8d90127231cccdae29ac7b8fd20.gz
* Make stack traces print absolute filenamesGravatar axel2006-02-03
| | | | darcs-hash:20060202152356-ac50b-9e6ab31c03d5f49824ccca7eee3b8e62d66b0009.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
* Improve the status builtinGravatar axel2006-01-31
| | | | darcs-hash:20060130195310-ac50b-5da6881a847170242be56555646bbf037218d545.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
* Display use of . (source) builtin in stack tracesGravatar axel2006-01-28
| | | | darcs-hash:20060128113440-ac50b-6556097eb766cc7561a3d30ef994bc913181fe65.gz
* Smaller editsGravatar axel2006-01-25
| | | | darcs-hash:20060124181410-ac50b-4ec9e2990852a678de7d47a565ed41780b5279fc.gz
* Add manual page for fish_pager commandGravatar axel2006-01-25
| | | | darcs-hash:20060124180729-ac50b-ee2811e3a96d7f29f372ea5a5b1d08ff9045545a.gz
* Minor edits, mostly tweaks of the API documentationGravatar axel2006-01-24
| | | | darcs-hash:20060123233347-ac50b-44ebb96ba202c062739ba3d183519e28a95511b2.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
* Move the complete builtin to it's own file, and make it accept multiple -c, ↵Gravatar axel2006-01-23
| | | | | | -p, -s, -o and -l switches darcs-hash:20060122211055-ac50b-6ef8cff7fb02e974d6a8096bf83bcbed429d7322.gz
* Fix crash bugs in fg and bg builtins, and make sure bg doesn't consider ↵Gravatar axel2006-01-19
| | | | | | background jobs when run without an argument darcs-hash:20060119131515-ac50b-d080ffde013419e2a461cf860b4858b88404ff33.gz
* Check location of term.h header (updated)Gravatar axel2006-01-19
| | | | darcs-hash:20060119122207-ac50b-c573f54cbe13a1592a20342ee331159be0306913.gz
* Don't print error message in fg if the command didn't failGravatar axel2006-01-19
| | | | darcs-hash:20060118164750-ac50b-af59573292b32b87d0257c501eb7989062503653.gz
* Make the functions builtin display function listing on -n to a terminal in a ↵Gravatar axel2006-01-15
| | | | | | human-friendly format darcs-hash:20060115115805-ac50b-fc5b468c0e68904e5cf934f43066ecfdf23e2a3b.gz
* Make sure functions as printed by the fyunctions builtin don't have any ↵Gravatar axel2006-01-14
| | | | | | stray empty lines darcs-hash:20060114015801-ac50b-135fb66cf74a9cd51f6d52e2eff12c55042e4183.gz
* Yet another batch of description tweaks, as well as the last major checkin ↵Gravatar axel2006-01-12
| | | | | | of translations to swedish (updated patch) darcs-hash:20060111141735-ac50b-b6a9ac5d5d9eb8eac28dd39968cd28f99044e8f5.gz
* Make the read builtin able to create universal variablesGravatar axel2006-01-11
| | | | darcs-hash:20060111122640-ac50b-4b411b9822a44ae105b71ca51ee47d0aa13a1a62.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
* Change syntax of 'and' and 'or' to infix orderGravatar axel2006-01-06
| | | | darcs-hash:20060105153753-ac50b-4413a5d2652232bb38c97f5c673251193fc848ec.gz
* Improved description for the commandline builtinGravatar axel2006-01-05
| | | | darcs-hash:20060104141541-ac50b-b5e427b8d9767f016ea62a898ebd06c5cf48066c.gz
* Add i18n through gettext, as well as a Swedish translationGravatar axel2006-01-04
| | | | darcs-hash:20060104125102-ac50b-5bf026578a69bd94f7a7a3c8dee0ebccd95e5c24.gz
* make the functions builtin output descriptions and event handlers for functionsGravatar axel2005-12-17
| | | | darcs-hash:20051217122546-ac50b-2bf9b1118fcbf9079398e113fb201ddde813e40a.gz
* Tweak a few error messages for builtin commandsGravatar axel2005-12-17
| | | | darcs-hash:20051216155116-ac50b-d31da6fc28ef9140f24fb0d95397daaffb3ff6ab.gz
* Make the source builtin bail out at once if stat fails. Makes sure no ↵Gravatar axel2005-12-16
| | | | | | illegal memory acces takes place darcs-hash:20051216125437-ac50b-150f5404037186c5380884416b696d5869704a60.gz
* builtin.c: builtin_source now checks that its argument is a file.Gravatar James Vega2005-12-16
| | | | | | Without this check, it would be possible to attempt to source a directory and get stuck in an infinite loop. darcs-hash:20051215172122-35ec8-b3ce05d8d7ee9534edf92b74ca842d034b894e8a.gz
* Code cleanupGravatar axel2005-12-15
| | | | darcs-hash:20051215135902-ac50b-e9fc18bca34459ddb56e970a16c05e9b3cc54848.gz
* Add extra step in instructions on creating a builtinGravatar axel2005-12-15
| | | | darcs-hash:20051214234808-ac50b-14d032091b843c4692f4548c9763b65c46b2fc92.gz
* Fix crash bug from calling eval builtin with no argumentsGravatar axel2005-12-14
| | | | darcs-hash:20051214134644-ac50b-5872ff628bf4f5d4f22f912d7ce7e9ed25d48b58.gz
* Further tweaks to jobs builtinGravatar axel2005-12-13
| | | | darcs-hash:20051212155001-ac50b-bb6d180d8e0ca5150173a3dc3aa6cd7e021fa770.gz
* Minor editsGravatar axel2005-12-12
| | | | darcs-hash:20051211233939-ac50b-e01a4024f70355f2b7f1b5377c6e0853997d9860.gz