aboutsummaryrefslogtreecommitdiffhomepage
path: root/input.c
Commit message (Collapse)AuthorAge
* event_fire( 0 ); => event_fire( NULL );Gravatar Grissiom2010-09-18
|
* remove trailing spacesGravatar Grissiom2010-09-18
| | | | | This is done by `sed -i -e 's/[ \t]*$//' *.[c,h]`, which should not introduce any functionality change.
* Add lots of new code comments.Gravatar liljencrantz2008-01-14
| | | | darcs-hash:20080113164747-75c98-9d0cefd27be7aef7ba60772616d9da7e6bb52912.gz
* Cleanup and improve the exit status numbers and the messages generated on ↵Gravatar liljencrantz2008-01-09
| | | | | | error as well as make sure that keyboard shortcuts don't change the status darcs-hash:20080108193145-75c98-56c8aa2dd081af643d206820aa36bf3b6e49e0f2.gz
* Add very minimal fallback keybindingsGravatar liljencrantz2007-10-15
| | | | darcs-hash:20071015085130-75c98-1c91b5d8cc1227f15d5de68b85af2ceadbf66e31.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
* Comment updates, minor code cleanups and other janitorial jobsGravatar liljencrantz2007-10-02
| | | | darcs-hash:20071002100937-75c98-d4040e70a256e36a6334cca0a05d60500680132b.gz
* Minor comment updates and code tweaks in input codeGravatar liljencrantz2007-10-02
| | | | darcs-hash:20071002092838-75c98-d98cf339d971128761f65f6878651bd7069f9f59.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
* Add more keys to list of kes supported by 'bind -k'Gravatar liljencrantz2007-09-29
| | | | darcs-hash:20070928213616-75c98-35f276b1c34b54684ee48681e6a04375cd3152c5.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
* First stab at dropping all support for readlines inputrc files and instead ↵Gravatar liljencrantz2007-09-26
| | | | | | using an internal system for performing keybinding. darcs-hash:20070925161447-75c98-1feaef88a4b518badb7879f598f06ab650a8f93b.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
* Correct minor typos, stupid error messages, indentation and drop unused ↵Gravatar liljencrantz2007-09-22
| | | | | | variable. darcs-hash:20070921140752-75c98-74318b9daffa071845187bcc0b72259ca37b7e18.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
* Add better debbuging information when writembs is called with null value.Gravatar liljencrantz2007-09-10
| | | | darcs-hash:20070909140436-75c98-b6c925c441ebaa349f998b95314295296fb36252.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
* Fix typo in user message, remove a few warnings, minor indentation editsGravatar axel2007-01-09
| | | | darcs-hash:20070109025356-ac50b-328e42b8898bbc9b40b4841a032ae7871dba9e13.gz
* Make sure cwd colors update when the variable changes. This is a common ↵Gravatar axel2006-12-12
| | | | | | regression, it seems. This time it was caused by the repaint reductions added in 1.22.2. darcs-hash:20061212101348-ac50b-970686fcd3317f19c6131cdc46885a841c68a6d6.gz
* Make keyboard shortcuts that execute a shellscript function (^D, for ↵Gravatar axel2006-12-02
| | | | | | example) a lot quicker. This is done by not changing the titlebar message or reexecuting the prompt. A full repaint is still performed though. This patch also changes the behaviour of the 'null' virtual keypress - it no longer reexecutes the prompt, it only causes a repaint. darcs-hash:20061201163009-ac50b-65508b8e5aa3b2c73695feb0a47a718419868f8e.gz
* After processing a signal/event while waiting for commandline input, check ↵Gravatar axel2006-11-19
| | | | | | the lookahead buffer for inserted characters darcs-hash:20061118211531-ac50b-355fd5556f65e9cec3af5ed9e19a44af9bfe3b7b.gz
* Fix beginning/end-of-line input function, add beginning/end-of-buffer functionsGravatar axel2006-11-01
| | | | darcs-hash:20061031220149-ac50b-6e6b8f523642bead730059dd96ee2d1290283b5e.gz
* Fix a number of bugs found using the warnings generated by earlier patchGravatar axel2006-10-20
| | | | darcs-hash:20061019153603-ac50b-4efb1ad1fe2cbe693a921648a0616a3d258d7933.gz
* Allow Meta-newline to always insert a newline characterGravatar axel2006-10-09
| | | | darcs-hash:20061009011529-ac50b-c8e3d77b569bc445e586c95aca01e4433fbff598.gz
* Detect and handle terminals size changesGravatar axel2006-10-05
| | | | darcs-hash:20061004214502-ac50b-aaf5b76a6281c0ba8757e794b0a802793ce92916.gz
* Minor code cleanupGravatar axel2006-10-05
| | | | darcs-hash:20061004214204-ac50b-e1529fcedb1665f9871a95eba293a4a3c1150464.gz
* Check return value of del_curtermGravatar axel2006-08-14
| | | | darcs-hash:20060813230502-ac50b-2b7e30d3560097725789bf6aa659835e30c7a81b.gz
* Comment away currently unused function to avoid warning. Thanks to Netocrat.Gravatar axel2006-08-11
| | | | darcs-hash:20060811093051-ac50b-d025c406234bb31e36c0b0b7951b54c6fc62ed07.gz
* More header/autoconf fixes, improve winsize checkingGravatar axel2006-08-10
| | | | darcs-hash:20060809225338-ac50b-7162a690e44e2272f4760723f5bf8cc135dc5952.gz
* Some minor steps towards making vi-mode workGravatar axel2006-07-24
| | | | darcs-hash:20060723205203-ac50b-8125e733ed92689ba847ccbb9076d05910e701ac.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
* Use the intern function to share the strings used to describe various key ↵Gravatar axel2006-06-22
| | | | | | bindings. This saves both performance, code size and memory use, but there is a pathological case where the user continually changes key bindings, resulting in more allocated memory than needed. darcs-hash:20060621140344-ac50b-c7eb89a94a96538215f9a6737f8e4bacd6a801fb.gz
* Check exit status of close and fclose in a few extra placesGravatar axel2006-06-21
| | | | darcs-hash:20060621095430-ac50b-52afcee91b856f706d6df6bcf2e3a6bc7d746e40.gz
* Large number of sourcecode comment edits, and some minor code polishGravatar axel2006-06-20
| | | | darcs-hash:20060620005010-ac50b-eaeae9a6242a37c1e34831e1a0b2ee2b4e7a012e.gz
* Remove unused variable, and make a few variables staticGravatar axel2006-06-14
| | | | darcs-hash:20060613172337-ac50b-6cae5390acdd278dc8709cfd870edfedfc0ba556.gz
* Add more emacs keymappings (Thansk stew for the patch)Gravatar axel2006-06-14
| | | | darcs-hash:20060613163009-ac50b-16730da83d7e8ff45a51d10097a018411b11754a.gz
* Drop most 'const's from function prototypesGravatar axel2006-06-13
| | | | darcs-hash:20060612214742-ac50b-9b0801e8a7c07d6ab3f0acf569e1d6eb1eeb3f0e.gz
* Fix the longstanding hang-on-exit bug in eterm, as well as making sure the ↵Gravatar axel2006-05-14
| | | | | | history is saved when the terminal emulator exits darcs-hash:20060514101623-ac50b-f8ce693ec111e3c158640ef8de309bf7e5484c5b.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
* Move the move_cursor and writeb functions to output.c, and make the output ↵Gravatar axel2006-02-16
| | | | | | function used by output.c configurable darcs-hash:20060216134025-ac50b-360d4816ee2c3f2ffdc8e5660502cb97b31d699e.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
* 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
* Check location of term.h header (updated)Gravatar axel2006-01-19
| | | | darcs-hash:20060119122207-ac50b-c573f54cbe13a1592a20342ee331159be0306913.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
* Remove a few warningsGravatar axel2006-01-16
| | | | darcs-hash:20060116134244-ac50b-123a615eb94803f721213d81b676893bc4159104.gz
* Alt-backspace is now a synonym for Control-w in emacs mode keybindings. Atl ↵Gravatar axel2006-01-13
| | | | | | least on terminals with a simple Alt-backspace darcs-hash:20060112145346-ac50b-3ec5f9517614a9b1cdf4e8e0ba7222b83347f436.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