aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.c
Commit message (Collapse)AuthorAge
* Add a 'generic' type of event that can be emited from any piece of code or ↵Gravatar liljencrantz2007-08-20
| | | | | | by the user. Use this event layer to perform interactive configuration startup at the correct time. darcs-hash:20070819164230-75c98-f91b8a73de7bbbb500d80770ddf4d2d46ae592cc.gz
* Make the contains builtin not allow reordering of switches and non-switchesGravatar liljencrantz2007-08-15
| | | | darcs-hash:20070814214257-75c98-a50161a8146dfd0a6c6a948e1960f93dd52275fd.gz
* Fix duplicate switch antry in builtin_status. Don't know if this was caused ↵Gravatar liljencrantz2007-08-02
| | | | | | by patch bug or typo. darcs-hash:20070801225421-75c98-8c91f5fb00ccc05ac40ef12ffbfc68fec5e64dd0.gz
* Replace the contains function with a builtin for performance reasons. The ↵Gravatar liljencrantz2007-08-02
| | | | | | contains function used at lots of forks, which was noticable on systems such as OS X with slow forks, as well as on completions that do a lot of tests, like svn darcs-hash:20070801225318-75c98-48cc4d685ab665c7c2eb93ac3c374bf5afecd28a.gz
* Update status builtin to properly handle and document all of its options.Gravatar James Vega2007-08-02
| | | | darcs-hash:20070801194450-35ec8-e2fe5b798e728d1caef474295a92230c35c79c17.gz
* Replace the count function with a builtin for performance reasons. The count ↵Gravatar axel2007-08-01
| | | | | | function used at least two forks, which was noticable on systems such as OS X with slow forks darcs-hash:20070731212332-ac50b-8f5b2e70008ddb131dc8bae3f361d8d65a294948.gz
* Replace the count function with a builtin for performance reasons. The count ↵Gravatar axel2007-08-01
| | | | | | function used at least two forks, which was noticable on systems such as OS X with slow forks darcs-hash:20070731212320-ac50b-3bae489646f359ca86bb1f049901860ce9aedd5f.gz
* Make sure that io redirections are respected by the '.' builtin. This was ↵Gravatar axel2007-04-26
| | | | | | not the case earlier, which caused various bugs, especially after eval was made into a function that internally used '.' darcs-hash:20070425183002-ac50b-d7d93e3b74e7274fe3e0aad98e95dd608bb903ae.gz
* Fix bug in stack trace printing codeGravatar axel2007-04-24
| | | | darcs-hash:20070424060620-ac50b-174e68e78bc2b1d6e5e3f5787e4a252cad95911c.gz
* Replace the eval builtin with a functionGravatar axel2007-04-23
| | | | darcs-hash:20070422221806-ac50b-28cffc6c3063c14cd8ab30f999e3530314c78af2.gz
* Add the possibility for functions which do not shadow the arguments of the ↵Gravatar axel2007-04-23
| | | | | | calling function darcs-hash:20070422221033-ac50b-d9544c87d0ddab10f7f503b5a1707292f266efe4.gz
* Make the . (source) builtin able to read commands from stdinGravatar axel2007-04-23
| | | | darcs-hash:20070422211947-ac50b-b8d33d81fcef5e0b7e76a8d2a9f0bcbcf3ac67b7.gz
* Validate variables names when using named arguments for functionsGravatar axel2007-04-23
| | | | darcs-hash:20070422211624-ac50b-11920a8a00c7bae97c3556bc7ce47b3022c34f08.gz
* Make 'functions' builtin print named arguments of functionsGravatar axel2007-04-23
| | | | darcs-hash:20070422211534-ac50b-3293f1d733a8a3be760f344598bfae8b77647b2f.gz
* Fix minor memory leak on printing help for builtinsGravatar axel2007-04-23
| | | | darcs-hash:20070422211451-ac50b-42293b46e39cd5d0cfdf2ca63effe12faa048970.gz
* Prettyfy output of 'functions' builtin a tiny bitGravatar axel2007-04-23
| | | | darcs-hash:20070422185627-ac50b-99b7c27d06f5a6d5e7a7b66da864317bf1019fe2.gz
* Move keyword detection code to separate fileGravatar axel2007-04-22
| | | | darcs-hash:20070422095026-ac50b-77a840e2830370f46b7a48fd8863095d2cd7a5f0.gz
* Minor code tweaksGravatar axel2007-04-17
| | | | darcs-hash:20070416201053-ac50b-99d3ee51ef2b3642c737c3809bc2a4bfbe103b67.gz
* Allow named arguments to function instead of only $argv. Philip Ganchev once ↵Gravatar axel2007-04-17
| | | | | | suggested this, and it was suggested again by Egil Möller. darcs-hash:20070416200611-ac50b-5eb42c94a65a4e72cae12cd9c04424bdc3b2b4f8.gz
* Add breakpoint builtinGravatar axel2006-11-11
| | | | darcs-hash:20061111105400-ac50b-18b9165f8719efd45b46e3b3786f7079edd721e7.gz
* Fix bug in read builtin - signal handlers where not correctly set, causiong ↵Gravatar axel2007-02-01
| | | | | | ^C not to work darcs-hash:20070201002053-ac50b-b73e22cbeecaeb364974cd2c512efbd517bb90d3.gz
* Fix occasional duplicate stack trace, reported by Mike Roberts. Also make ↵Gravatar axel2007-02-01
| | | | | | fish less likely to print huge amounts of help in non-interactive mode, as per suggestion from Mike Roberts. darcs-hash:20070131160317-ac50b-8354948f55a1478515ebfe7ddb6db14b6775dd18.gz
* Add support for -s switch to read builtin, enables shell syntax highlighting ↵Gravatar axel2007-01-30
| | | | | | in the read builtin darcs-hash:20070129162624-ac50b-dff9d9ebf16ce3247b83d917efbffd4942cda83f.gz
* Drop unneeded generic descriptions for completion of functions and builtins. ↵Gravatar axel2007-01-27
| | | | | | Add description for count. darcs-hash:20070127020752-ac50b-62dba47967cac04cd242894bfaa03116461883f3.gz
* Make all error messages from options parsin in builtins redirectableGravatar axel2007-01-22
| | | | darcs-hash:20070121145527-ac50b-1375af219a5eba6167e99d3fe24b26dba60eba2a.gz
* Make sure read returns with a non-zero status if no string was actually givenGravatar axel2007-01-16
| | | | darcs-hash:20070115175346-ac50b-9bbcfd114344f030c46456d2d603ce323406bfea.gz
* Fix typo in user message, remove a few warnings, minor indentation editsGravatar axel2007-01-09
| | | | darcs-hash:20070109025356-ac50b-328e42b8898bbc9b40b4841a032ae7871dba9e13.gz
* Make the bg builtin check that all specified jobs exist before sending any ↵Gravatar axel2007-01-09
| | | | | | of them to background. Also make sure that the string to pid conversion didn't throw errors. darcs-hash:20070109002144-ac50b-c3954d98bab5cd95699966b2d1f2480797a9094d.gz
* Two very minor code touch upsGravatar axel2007-01-08
| | | | darcs-hash:20070107142430-ac50b-20cd4fe96c03c052bb6fb5c07ce207a534e86498.gz
* Allow the user to specify name of history file to use with the read builtinGravatar axel2007-01-07
| | | | darcs-hash:20070106142430-ac50b-32ad52077e11438799b17911dc83e57f89e02f2b.gz
* Code cleanup: Use a macro constant instead fo a literal for builtin exit codesGravatar axel2006-12-14
| | | | darcs-hash:20061213143431-ac50b-5c5cec623ecca9f52c7d44cfcb26f07fe2fcda39.gz
* Update functions builtin so that default behaviour when not given any ↵Gravatar axel2006-12-14
| | | | | | arguments is to print only names of all existing functions, not their definitions. Use 'functions (functions)' to get the latter. darcs-hash:20061213142107-ac50b-16d0a9097ede4b0cd49847618d65fcbfee699393.gz
* Update documentation display code to run roff on the client system instead ↵Gravatar axel2006-11-18
| | | | | | of pregenerating documentation and compiling it into program binaries darcs-hash:20061117162438-ac50b-5c4c7f0bd8bf53a16e16ecfead9569e642b7160f.gz
* Add a bugreport function for writing out a message about how to file bug reportsGravatar axel2006-11-18
| | | | darcs-hash:20061117145825-ac50b-0480300cce24657aae9572b79f145d956db93593.gz
* Minor editsGravatar axel2006-10-29
| | | | darcs-hash:20061028164448-ac50b-c53d5f235d01db3a11b01996b77411a213dc5303.gz
* Make the fish manpage in Doxygen and add it to the main fish documentationGravatar axel2006-10-26
| | | | darcs-hash:20061026102059-ac50b-2a7956bb4651b5ffe867e7c6eb26a29e2f15ad24.gz
* Use bitset to implement flags for jobs instead of wasting a whole int for ↵Gravatar axel2006-10-26
| | | | | | every flag darcs-hash:20061025204759-ac50b-ea07caa30782a1ea02d2cd8aa7cbc94474047a10.gz
* If the builtin help won't fit on-screen, and it can't be shortened, don't ↵Gravatar axel2006-10-26
| | | | | | print it darcs-hash:20061025203225-ac50b-8675f297a8aabea080edf7946d6f136296a6d7bb.gz
* Remove the --key-binding switch for fishGravatar axel2006-10-26
| | | | darcs-hash:20061025202836-ac50b-682015e2f5830a85ff520e89b0a951ca9d2913dc.gz
* Drop switch for saving of functions to file from the function builtinGravatar axel2006-10-25
| | | | darcs-hash:20061025105746-ac50b-942e878b01f5e080d7cf1e6414246b68b608b08f.gz
* Make any character except '/' legal in function namesGravatar axel2006-10-20
| | | | darcs-hash:20061019154747-ac50b-f3ab0df1085b91ec0eadcceddb23f03d5b0247aa.gz
* Minor code fixesGravatar axel2006-10-20
| | | | darcs-hash:20061019153950-ac50b-9a7d5939ce47cd5f8b7167a97b0e9c62315b7b6e.gz
* First stab at directory transition. Test with care...Gravatar axel2006-10-19
| | | | darcs-hash:20061019115023-ac50b-30c3fd51d8af8a616d63dfcac39370d7fe6d144e.gz
* Be more rigorous with the exit codes set by the parser and builtinsGravatar axel2006-10-09
| | | | darcs-hash:20061009012102-ac50b-4f28c43dd1ccdcc04d1620a6da05218a99fd7337.gz
* Drop the optional checking of block type for the end builtinGravatar axel2006-10-05
| | | | darcs-hash:20061004233206-ac50b-cf72c879b4b58c8e5ba4e1dff5c2746ca2e8844f.gz
* Minor code cleanupGravatar axel2006-10-05
| | | | darcs-hash:20061004214204-ac50b-e1529fcedb1665f9871a95eba293a4a3c1150464.gz
* Add the possibility to set the cursor position using the commandline builtinGravatar axel2006-10-05
| | | | darcs-hash:20061004213948-ac50b-3f673edeb01390bb3f280812d90bc8469f2f8ba8.gz
* Minor tweaks to code validation for the for builtin (again)Gravatar axel2006-10-02
| | | | darcs-hash:20061001155734-ac50b-6009b98dfccaf8f8292859f25c4d564c6b622f47.gz
* Add syntax check to see that the for builtin is not given an insufficient ↵Gravatar axel2006-09-26
| | | | | | number of arguments darcs-hash:20060926124109-ac50b-b088397933fa7ea539e48fa9fcd461de8295f7ce.gz
* Fix bug in for that causes crash on syntax errorGravatar axel2006-09-20
| | | | darcs-hash:20060919142140-ac50b-48cbbdfd109e2b420d8e36acd5b13696445c0850.gz