about summary refs log tree commit diff
path: root/Src/Zle/zle_main.c
Commit message (Collapse)AuthorAgeFilesLines
* 37590: Invoke zle-line-pre-redraw during isearch.Daniel Shahaf2016-01-141-1/+2
|
* 36650: Add zle-line-pre-redraw hook for highlightingMikael Magnusson2015-12-191-1/+30
|
* 37337: Delay freeing widget until not in use.Peter Stephenson2015-12-071-2/+19
|
* 37186: a couple more WARN_CREATE_GLOBAL fixesPeter Stephenson2015-11-221-1/+2
|
* 36709: zle -f from inside widget to set flags and make yank start/end zle ↵Mikael Magnusson2015-10-011-2/+3
| | | | params writable
* Read full multibyte string early for self-insertPeter Stephenson2015-09-111-2/+8
|
* 36470: Auxiliary to 36468, return an empty buffer from zleread() if a widget ↵Barton E. Schaefer2015-09-101-1/+1
| | | | exits
* 35814: POSTEDIT needs to be unmetafiedOliver Kiddle2015-07-231-1/+1
|
* 35674: make an undo event for initial buffer contentsOliver Kiddle2015-07-031-0/+1
|
* 35637: remove the now unused module hook for reverse-menu-completeOliver Kiddle2015-06-291-2/+0
|
* 35474, 35492: support the bracketed paste mode of newer terminal emulatorsOliver Kiddle2015-06-191-1/+14
|
* 34653: move aborted vared lines to ZLE_VARED_ABORTEDPeter Stephenson2015-03-061-1/+3
|
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-111-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Combination of 12 commits from interrupt_abort branch. Basic strategy is to introduce bits to errflag and to set and reset them separately. Remove interrupt status on return to main keymap. Turn off ERRFLAG_INT for always block. Restore bit thereafter: we probably need a new variable in order to allow user interrupts to be reset in the always block. Add TRY_BLOCK_INTERRUPT This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too. Ensure propagation of SIGINT from exited job. If received by foreground job, shell uses ERRFLAG_INT, not ERRFLAG_ERROR, to set the new state. Reset errflag before precmd() Add always block in _main_completion to fix ZLS_COLORS Ensures we get the right state of $ZLS_COLORS at the end of _main_complete even if there's an interrupt. However, the "right state" is a bit messy as it depends on styles.
* 33800: remove old workaround for ancient systems toOliver Kiddle2014-11-301-41/+2
| | | | consume typeahead before setting up the terminal
* 33770: avoid calling identical FIONREAD ioctl twice in successionOliver Kiddle2014-11-251-9/+5
|
* 33632: use viopp and visual local keymaps if they existOliver Kiddle2014-11-171-1/+4
|
* 33512: add support for "0 vi buffer and yank to itOliver Kiddle2014-10-231-1/+1
|
* 32427: avoid busy loop on closed descriptors for "zle -F" handlersBarton E. Schaefer2014-02-231-3/+36
| | | | | Also assure the handlers are called on error conditions and document the extra argument that is passed in the error case.
* 32342: fix overstrike for vi mode and use varying vi commands at line startOliver Kiddle2014-02-051-8/+8
|
* 32334 (modified so KEEPSUFFIX is unchanged for vi-cmd-mode; based onOliver Kiddle2014-02-051-1/+1
| | | | | Jun T: 32324, 32330), 32347, Jun T: 32344, 32349: add split-undo zle widget for configurable breaks in undo sequence
* 32314: merge undo events corresponding to vi change in the vi-cmd-mode ↵Oliver Kiddle2014-01-311-6/+5
| | | | widget so undo from insert mode is useful again
* 32308: Improve initialising of vi change.Peter Stephenson2014-01-281-1/+1
| | | | | Better handling when entering viins on entry to editor. Slightly changed since post to use vi command a.
* 31961: rationalise fd watching to use structurePeter Stephenson2013-11-121-20/+20
|
* 31937: zle -Fw uses widget semantics for file descriptor handlerPeter Stephenson2013-11-071-14/+24
|
* 31765: If zle starts in viins mark as insertion.Peter Stephenson2013-09-251-0/+7
| | | | This allows undo to work on everything entered.
* users/17908: Keep history line in sync between ZLE and shell.Peter Stephenson2013-08-081-0/+7
| | | | Update ZLE version if history is read, pushed or popped with ZLE active
* 31483: Call zrefresh() before unqueue()ing signalsMikael Magnusson2013-06-271-0/+2
| | | | | | | | | Not doing so causes problems for example with this .zshrc zle -N zle-line-init foo zle -N set-local-history bar foo() { zle set-local-history -n 1 } bar() { zle reset-prompt }
* 31350: block SIGWINCH nearly all the time, exceptBart Schaefer2013-04-301-0/+10
| | | | | when about to calculate prompts or do synchronous read, so syscalls are not interrupted by window size changes.
* 31172: Let vared define custom init and finish hooksFrank Terbeck2013-04-051-7/+14
| | | | | | | | | | | Using this, you can do things like this in a more straight-forward manner: foo-init() { CURSOR=0; } zle -N foo-init foo=$'Some longer\nbuffer with\nmultiple lines.' vared -i foo-init foo
* 31174: zle: Make sure state changes are refreshed after init hookFrank Terbeck2013-04-051-2/+2
| | | | | | | If `zrefresh' is not called _after_ the zle-line-init hook, any changes made to the editor's state (be it changes to $CURSOR or $BUFFER or called widgets like `clear-screen') will only be picked up after the first character is typed into the editor.
* 30084: `zle -T tc func' for zle testing of termcap outputPeter Stephenson2012-01-051-1/+1
|
* queue_signals() to prevent adjustwinsize() loop on FreeBSDBart Schaefer2012-01-021-0/+14
|
* 29643: set incompfunc to zero when executing hook or trap functionPeter Stephenson2011-08-041-5/+0
|
* 29542: fix crash in hbegin(), remove bad testPeter Stephenson2011-07-121-1/+1
| | | | 29543: fix backslash-newline within words with histlexwords
* 29374: exit ZLE immediately if exit pending when keypress expectedPeter Stephenson2011-05-261-2/+2
|
* Paul 28538 / me 28540 / couple of unposted casts:Peter Stephenson2010-12-201-1/+1
| | | | use char * for pointer arithmetic rather than void *
* 28282: new function zlecallhook()Peter Stephenson2010-09-201-21/+3
| | | | fix arguments to zle-keymap-select
* 28237: new parameter ZLE_LINE_ABORTEDPeter Stephenson2010-09-081-0/+3
| | | | 28241: don't list .safe with bindkey -lL
* users/15217: use top-level status when redrawing promptPeter Stephenson2010-07-311-0/+23
|
* Check the return value of all pipe(), read(), and write() calls.Wayne Davison2009-12-161-1/+1
| | | | | | Gets rid of all the remaining "ignoring return value" compiler warnings, and makes some read/write operations safer by ensuring that an EINTR is handled.
* 26463: Greg Klanderman: add zle-line-finish widgetPeter Stephenson2009-01-281-0/+13
| | | | | 26464: Greg Klanderman: fix insert-ids=single for menu completion 26465: Greg Klanderman: command keymap for execution
* 26110: option to allow vared to open to an alternative terminalPeter Stephenson2008-12-091-5/+14
|
* 26030: fix memory leak in varedOliver Kiddle2008-11-121-0/+1
|
* 26025: prefer handling user input to zle -F file descriptorPeter Stephenson2008-11-111-8/+15
|
* 25744: dynamic named directories and further doshfunc() simplificationPeter Stephenson2008-09-261-1/+1
|
* 25723: align combining character when popped from input stackPeter Stephenson2008-09-221-0/+1
|
* 25677: add %x and %I prompt escapes for shell source code debuggingPeter Stephenson2008-09-161-3/+2
| | | | tidy up interface to doshfunc()
* 25634: free t before returning if both t and errflag are set.Clint Adams2008-09-081-0/+2
|
* 25345, 25347: neaten interface from main shell to zlePeter Stephenson2008-07-311-18/+70
|
* 25272: add zshaddhistory hookPeter Stephenson2008-07-171-1/+1
|