aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.c
Commit message (Collapse)AuthorAge
* remove trailing spacesGravatar Grissiom2010-09-18
| | | | | This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not introduce any functionality change.
* Write formatted duration to ENV_DURATION after commands that run for > 1s ↵Gravatar Ben Hoskings2010-04-09
| | | | wall time.
* Allow newlines in fish_prompt, by joining prompt_list with newlines instead ↵Gravatar Ben Hoskings2010-04-09
| | | | of nothing in exec_prompt().
* Fix interactive job in background busy wait bug, reported by Randall D. WaldGravatar axel2009-03-01
| | | | darcs-hash:20090301021441-ac50b-a9488a9e55f545c3b8bd52aa0fb00b2b967974a8.gz
* Check return value of a few write calls and retry on EINTR, and fix a few ↵Gravatar axel2009-02-23
| | | | | | other warnings, mostly by printing error messages before giving up. darcs-hash:20090222202852-ac50b-b0e79142af5b7a99e55271d4001fa252d9684a1d.gz
* Pressing Control-C (or otherwise changeing the command line content through ↵Gravatar axel2009-02-22
| | | | | | the commandline builtin) should clear the search buffer. darcs-hash:20090221154420-ac50b-52641fb6dd6e76aebc6244211e07c0861fb3eff0.gz
* Better warning message when trying to exit with jobs running. PAtch and ↵Gravatar axel2009-02-02
| | | | | | suggestion from Josef Spillner. darcs-hash:20090201151601-ac50b-64bf24877419a9087f37eda2486232dfdabea9d2.gz
* Handle case insensitive completions of variables betterGravatar liljencrantz2008-01-14
| | | | darcs-hash:20080114010032-75c98-6e570c2b095baeb2ed2ee4d09e32f4e7d6ae47de.gz
* Add canse insensitive tilde completionGravatar liljencrantz2008-01-14
| | | | darcs-hash:20080113193221-75c98-169804fe128001f73eaee6fab28bfb99dca7c93e.gz
* Add lots of new code comments.Gravatar liljencrantz2008-01-14
| | | | darcs-hash:20080113164747-75c98-9d0cefd27be7aef7ba60772616d9da7e6bb52912.gz
* Make sure case sensitive completions are ignored by the pager if case ↵Gravatar liljencrantz2008-01-09
| | | | | | sensitive completions exist darcs-hash:20080109000928-75c98-fc6dc6fcebca99f33a1ed484444efee87f5caa94.gz
* Make sure inserted completions are escaped, even when case insensitiveGravatar liljencrantz2008-01-09
| | | | darcs-hash:20080109000046-75c98-baf9ef4594ad0c7024a79b5c4819c10c0697ba47.gz
* Indentation fixes, add a few comments, spelling, etc.Gravatar liljencrantz2007-10-28
| | | | darcs-hash:20071028090840-75c98-2ae076441517cd7a0d8172fad28edaf6f034b70c.gz
* Indentation fixesGravatar liljencrantz2007-10-14
| | | | darcs-hash:20071014101502-75c98-5767d159d7c10deda49c23ad9e3758d93024950f.gz
* Tiny touchups of docs and codeGravatar liljencrantz2007-10-06
| | | | darcs-hash:20071006105527-75c98-339c5d7ec2fbae0c2d4dc93552db85c389971a6a.gz
* Minor new sanity test in readerGravatar liljencrantz2007-10-06
| | | | darcs-hash:20071006105453-75c98-3f5d1a0a175a7b810f68b38dec472bb697081742.gz
* Make completion system not use quoted string escapes, since it generally ↵Gravatar liljencrantz2007-10-06
| | | | | | looks a bit confusing there darcs-hash:20071006105131-75c98-af770878124cc19946b964c0cf772818a5bf4216.gz
* Make fish automatically realise a repaint is needed in more situations, ↵Gravatar liljencrantz2007-10-06
| | | | | | making many keybinding calls to 'commandline -f repaint' unneeded darcs-hash:20071005145919-75c98-ce349d3718e54df30a050b97afee48b56ab46348.gz
* Remove readline legacy input function 'winch' and replace its functionality ↵Gravatar liljencrantz2007-10-01
| | | | | | with an event handler function. Once again make the null keybinding do nothing. There are various sitauations where you want to perform a repaint at just the right time, and more or less by luck it worked very well to do this on null, but this really shouldn't happen and no longer does. Hopefully if new repainting issues turn up, they can be fixed at the root instead of once again reapplying this broken bandaid. darcs-hash:20070930225354-75c98-8e2b518aa0ef694cee889c1c599ff4f158d9eb7f.gz
* Drop the unneeded input-function delete-line. It was only there for ↵Gravatar liljencrantz2007-09-30
| | | | | | compatiability with readline, which we have dropped. darcs-hash:20070930073018-75c98-d3abd6e63797c4954778486064f5f55a718f066c.gz
* Drop the unneeded input-function exit. It was only there for compatiability ↵Gravatar liljencrantz2007-09-29
| | | | | | with readline, which we have rdropped. darcs-hash:20070929072114-75c98-db188ce2bc31a0668867f9de05ffeed098b988c2.gz
* Replace variadic functions like sb_append and contains_str with variadic ↵Gravatar liljencrantz2007-09-29
| | | | | | macros without a sentinel. darcs-hash:20070928213227-75c98-2e7b06242acfd5fd0bf02ce77c41d52374f2363a.gz
* Fix bug in exit code that made the exit builtin exit even if there where ↵Gravatar liljencrantz2007-09-26
| | | | | | running jobs if called directly from the commandline darcs-hash:20070926090159-75c98-2760c6c24e21fd14711c9ce3bef1b0890b495d65.gz
* Make sure that ouput with no trailing newline is not eaten. This is a ↵Gravatar liljencrantz2007-09-24
| | | | | | regression bug fix. darcs-hash:20070924081301-75c98-86bd87a9323044807e78b8eb904bd6c5830ee23f.gz
* Make R_NULL not repaint and document the fact that this means some ↵Gravatar liljencrantz2007-09-22
| | | | | | keybindings need to manually tell fish to repaint darcs-hash:20070921144426-75c98-7db4351e14733e2c18e44515e8ed78b1f1faea80.gz
* Minor bug correction in new cursor movement code.Gravatar liljencrantz2007-09-22
| | | | darcs-hash:20070921142301-75c98-7fc9bbdf1591e0fc24a562e69bf483845a160df5.gz
* Make up/down cursor move up or down when in multiline mode, except if ↵Gravatar liljencrantz2007-09-22
| | | | | | already in search mode or at the top/bottom line. Since part of this is done in script-space, this involves adding some functionality to the commandline builtin. darcs-hash:20070921140549-75c98-ba9e83f5e6fdecae5df8f83dd863794c6af9770c.gz
* Fix issue in error handling, reported to and fixed by Axel Liljencrantz. ↵Gravatar Claes Nästén2007-08-22
| | | | | | Change val[0] and body[0] in env universal to val[1] and body[1] to support compilation with Sun Studio. Change default prompt to use pekdon instead of whoami as it does not exist under Solaris. darcs-hash:20070822080052-cac88-326332f0df7d17ddca4a4496c93728a47f19bba5.gz
* Fix compilation with Sun Studio compiler changing \e to \x1b as it does not ↵Gravatar Claes Nästén2007-08-22
| | | | | | support \e as an escape character. darcs-hash:20070822075239-cac88-1a9768bf35295615d553192d9a494f00db26f742.gz
* 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
* Minor error handling improvements and minor code polishGravatar axel2007-08-02
| | | | darcs-hash:20070801173801-ac50b-11a281d9f622e935c1f138355babd20269068f35.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
* Use cpp macro to avoid manually adding sentinel value to varargs functionsGravatar axel2007-04-17
| | | | darcs-hash:20070416214041-ac50b-f682569c0d29ab3519bb59335debba525a640175.gz
* Minor code cleanup in history search codeGravatar axel2007-04-17
| | | | darcs-hash:20070416212615-ac50b-ca37865e50d0773abb5a4fdc7f71e5fa9a503c34.gz
* Fix bug where case insensitive file completions would get directory ↵Gravatar axel2007-03-25
| | | | | | components removed darcs-hash:20070324190738-ac50b-2f94de910083eae1fe563284b9953071df706072.gz
* Add missing sentinel value in function call - potential crash bugGravatar axel2007-03-25
| | | | darcs-hash:20070324190423-ac50b-e32dddfd98131c542133b98a8c49bc3d9c345fec.gz
* Add a blacklist of console types that are known not to support terminal ↵Gravatar axel2007-03-18
| | | | | | titles, even when in a virtual terminal darcs-hash:20070317233846-ac50b-4030f863aefb96085368470b76ee9da146c04c96.gz
* Fix occasional shoowing of the same completion twice. Than ks to Tassilo ↵Gravatar axel2007-03-18
| | | | | | Horn for the bug report. darcs-hash:20070317231623-ac50b-a9447aa60d0ca654713a5391a3f6137d29d98916.gz
* Initial checkin of code for using case insensitive completion as a fallback ↵Gravatar axel2007-03-01
| | | | | | for regular completion. Some types of completions don't yet support the feature. darcs-hash:20070228214327-ac50b-9b5c69a1c3e0c11b560f8c61be0441d2ee9d6404.gz
* Add breakpoint builtinGravatar axel2006-11-11
| | | | darcs-hash:20061111105400-ac50b-18b9165f8719efd45b46e3b3786f7079edd721e7.gz
* Fourth phase of using a real struct for passing around completions - make ↵Gravatar axel2007-02-19
| | | | | | expand_string return a completion_t struct. Also make the reader sort and remove duplicates again darcs-hash:20070218232520-ac50b-e23339ec5bba673681eced110e1b0b344eb5d976.gz
* First phase of using a real struct for passing around completions - only use ↵Gravatar axel2007-02-09
| | | | | | it on things returned by complete(), e.g. use it in the reader darcs-hash:20070209093350-ac50b-d91fe87be4612a56bff2139349cefa28a504cbb7.gz
* Fix bug where pressing ^C while in the read builtin would mess up the block ↵Gravatar axel2007-02-01
| | | | | | execution bit darcs-hash:20070131235810-ac50b-23dde9d0e13cc028b744307073c1daf989258b54.gz
* Add memory allocation checkGravatar axel2007-01-30
| | | | darcs-hash:20070129175223-ac50b-05b933837cf0522889287069d5ed2fcacaf62b6a.gz
* Fix bug where quiting from the read builtin could cause the prompt not to ↵Gravatar axel2007-01-30
| | | | | | repaint darcs-hash:20070129174501-ac50b-7e7f62ab8a1864617291208919551505bae6e156.gz
* Fix repaint bug for read - screen needed repainting after call to readGravatar axel2007-01-30
| | | | darcs-hash:20070129162807-ac50b-c037ecfc0670a1f2795982337760f76036d6cdc5.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
* Fix crash in tab completion code when completing an imcomplete backsalsh escapeGravatar axel2007-01-27
| | | | darcs-hash:20070126171413-ac50b-a9338dc73863381f2b22e09fb8b5e711f64b8f29.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
* Minor edits - add a few input checks, remove a few commented pieces of debug ↵Gravatar axel2007-01-16
| | | | | | code, add a few brackets, etc. darcs-hash:20070115175144-ac50b-2045f2132156645222e6dde57487aa299a5316e2.gz