aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.c
Commit message (Collapse)AuthorAge
* 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
* Minor bugfix in the switch parsing for the status builitnGravatar axel2006-09-20
| | | | darcs-hash:20060919142042-ac50b-b532e0308407d101d1f8b328a575a54e8bc46799.gz
* Make it possible to save a function when defining it using the -S switchGravatar axel2006-09-09
| | | | darcs-hash:20060908141241-ac50b-69a055a1e791e04e2b1208a5c36b9bb22c854c12.gz
* Optionally add type of block to the end builtin to verify block nesting ↵Gravatar axel2006-09-06
| | | | | | correctness darcs-hash:20060905204347-ac50b-d0f87a700e38cdff9787be827b0df90b7f7baba5.gz
* Fix bug where using the return builtin inside an if-block could cause the ↵Gravatar axel2006-09-01
| | | | | | else-block to get executed darcs-hash:20060831205320-ac50b-64ecbaa3ed5e32c1a815ba384a6831a8fd5e1b47.gz
* Minor code tweaks, mostly things like indentation, but also a ferw code ↵Gravatar axel2006-08-28
| | | | | | reorderings darcs-hash:20060828120244-ac50b-ad4be149ff245b6f799452f9eeff7bcc60af1526.gz
* Rearrange includes so that config.h is always the first file to be includedGravatar axel2006-08-11
| | | | darcs-hash:20060811011835-ac50b-847fc790288e3bb3f3a0ee7734ff278d2dc65bef.gz
* Use the new array_list functions in builtin.cGravatar axel2006-08-01
| | | | darcs-hash:20060731162339-ac50b-e8a6bd2c327b8fa5527b739fba544994e1a809e3.gz
* Remove translate.c. The gettext fallback functionality is moved to ↵Gravatar axel2006-07-20
| | | | | | fallback.c, the wide wrapper is moved to wutil.c darcs-hash:20060719225549-ac50b-0a55e805b04f4fe0afa99ea580901d62f39cdef5.gz
* Add -q/--query switch to the functions builtin. Works just like the same ↵Gravatar axel2006-07-13
| | | | | | switch to set does. Useful for checking for the existance of functions in a script darcs-hash:20060712174655-ac50b-14a98a15751bb5ddddf4ffb41521b616bef5e40c.gz
* The begin builtin should not alter the exit statusGravatar axel2006-07-13
| | | | darcs-hash:20060712173141-ac50b-8d21f9f22ef55581521ccf923411e3458bd8109c.gz
* Switch from die_mem function to DIE_MEM macro in order to be able to give a ↵Gravatar axel2006-07-03
| | | | | | line and file for the OOM message darcs-hash:20060703103957-ac50b-8d7a860d931fd087f6d1759bc1e934dba1cfefe2.gz
* Update input validation. Always use the magic CHECK macro, which prints an ↵Gravatar axel2006-06-21
| | | | | | error message including instructions on how to report this problem. darcs-hash:20060621004836-ac50b-a47f296634eda0c469eb39034603015b1ad7ab5c.gz
* Various code polish, including minor rearangement of builtin code to export ↵Gravatar axel2006-06-21
| | | | | | fewer functions, a few additional input checks, and removal of the unneeded, exported error_max variable darcs-hash:20060620212016-ac50b-f76c10eea23fab14a648ea83ed0c83a171b8fef9.gz
* Documentation updates. Fixes a few formating bugs, adds various minor ↵Gravatar axel2006-06-17
| | | | | | missing api documentation, fixes a few typos. Also fixes a few tiny code issues, mostly missing consts, etc darcs-hash:20060617130708-ac50b-cc2ec5aa3e4bfb8e28d7b86441bfb4661f1dd7e7.gz
* Give the 'random' builtin it's own seed state, to keep other users of random ↵Gravatar axel2006-06-15
| | | | | | data from creating a generating a non-deterministic sequence of numbers even if the user manually seeds darcs-hash:20060615103556-ac50b-7865016b4561c7c69afb1ba77f85adeda1da691e.gz
* Major restructuring of the buildsystem, meaning that the documentation ↵Gravatar axel2006-06-13
| | | | | | doesn't needlessly rebuild itself, and the size of the fish binary drops slightly darcs-hash:20060613134328-ac50b-05ae75eb5cc081b680f38e8866fac00a679cc266.gz