Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 34117: zle: size_t is unsigned, use int instead | Mikael Magnusson | 2015-01-06 | 1 | -1/+1 |
| | | | | | | The function wctomb returns an int according to my manpage, and we furthermore check if it is negative, and then return it, and the function signature is int, so declaring it as an int seems to make more sense. | ||||
* | 33981: more care with region_highlights management | Peter Stephenson | 2014-12-18 | 1 | -27/+34 |
| | |||||
* | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 2014-12-11 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | 33700: new widget for put in vim style visual selection mode | Oliver Kiddle | 2014-11-17 | 1 | -1/+1 |
| | |||||
* | 33669: allow an empty line to be yanked with yy | Oliver Kiddle | 2014-11-13 | 1 | -2/+3 |
| | | | | This by allocating 1 byte instead of 0 for the empty buffer. | ||||
* | 33624: keep region active when widget fails | Oliver Kiddle | 2014-11-07 | 1 | -1/+0 |
| | |||||
* | 33604: fix change merging for vi mode where a change has just been undone | Oliver Kiddle | 2014-11-05 | 1 | -3/+3 |
| | |||||
* | 33575: reset vi change start position if text is inserted | Oliver Kiddle | 2014-11-03 | 1 | -0/+3 |
| | | | | before it or on history movement | ||||
* | 33518: add support for "_ vi buffer and arguments to vi-set-buffer from a ↵ | Oliver Kiddle | 2014-10-23 | 1 | -1/+1 |
| | | | | zle widget | ||||
* | 33514: even with a named vi buffer, we should update the default buffer | Oliver Kiddle | 2014-10-23 | 1 | -1/+0 |
| | |||||
* | 33512: add support for "0 vi buffer and yank to it | Oliver Kiddle | 2014-10-23 | 1 | -7/+14 |
| | |||||
* | 32540: in doexpandhist(), discard saved line position data rather than ↵ | Barton E. Schaefer | 2014-04-13 | 1 | -0/+21 |
| | | | | restoring from it (updates 32531). | ||||
* | 32334 (modified so KEEPSUFFIX is unchanged for vi-cmd-mode; based on | Oliver Kiddle | 2014-02-05 | 1 | -0/+26 |
| | | | | | 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 Kiddle | 2014-01-31 | 1 | -1/+4 |
| | | | | widget so undo from insert mode is useful again | ||||
* | 31937: zle -Fw uses widget semantics for file descriptor handler | Peter Stephenson | 2013-11-07 | 1 | -4/+3 |
| | |||||
* | 31922: zlecharasstring missed flip of bit 5 after Meta | Peter Stephenson | 2013-10-28 | 1 | -0/+1 |
| | |||||
* | users/17318: only increment the undo variable return value for the | Peter Stephenson | 2012-10-09 | 1 | -0/+11 |
| | | | | first request in a row | ||||
* | users/17314: ensure an undo change number | Peter Stephenson | 2012-10-09 | 1 | -10/+17 |
| | | | | | uniquely specifies a point in editing history by incrementing the value returned by the variable. | ||||
* | users/16932: implement $UNDO_CHANGE_NO and argument to undo widget | Peter Stephenson | 2012-03-29 | 1 | -2/+28 |
| | |||||
* | Jérémie Roquet: 29258: mark a couple more functions for export. | Peter Stephenson | 2011-05-13 | 1 | -2/+2 |
| | |||||
* | 29165: use term.h globally if needed at all. | Peter Stephenson | 2011-05-09 | 1 | -3/+3 |
| | |||||
* | 28886: Fix region_highlight dynamic updates for $PREDISPLAY | Peter Stephenson | 2011-03-11 | 1 | -33/+70 |
| | |||||
* | 28772: Update regions in region highlight dynamically | Peter Stephenson | 2011-02-18 | 1 | -4/+333 |
| | |||||
* | 28671: better cursor positioning after undo | Peter Stephenson | 2011-02-11 | 1 | -1/+3 |
| | |||||
* | 28282: new function zlecallhook() | Peter Stephenson | 2010-09-20 | 1 | -0/+32 |
| | | | | fix arguments to zle-keymap-select | ||||
* | 27812: display invalid bytes in multibyte characters specially | Peter Stephenson | 2010-03-22 | 1 | -12/+35 |
| | |||||
* | Greg Klanderman: 26159: fix appending of kills | Peter Stephenson | 2009-01-03 | 1 | -1/+1 |
| | |||||
* | 26047: convert lower levels of completion matching to use | Peter Stephenson | 2008-11-15 | 1 | -3/+4 |
| | | | | multibyte strings and wide characters | ||||
* | unposted: Jun T.: fix backkill() calculation of charaters to kill | Peter Stephenson | 2008-04-24 | 1 | -8/+6 |
| | |||||
* | 24860: better overwrite mode | Peter Stephenson | 2008-04-21 | 1 | -1/+1 |
| | |||||
* | 24855: tests for combining char alignment should only be on metafied line | Peter Stephenson | 2008-04-21 | 1 | -3/+8 |
| | |||||
* | 24853: bits missed from patch | Peter Stephenson | 2008-04-20 | 1 | -1/+4 |
| | |||||
* | 24853: use metafied strings for inner loops over history | Peter Stephenson | 2008-04-20 | 1 | -2/+49 |
| | |||||
* | 24819: fix transposing characters and sneaky combination generation | Peter Stephenson | 2008-04-15 | 1 | -1/+6 |
| | |||||
* | 24808: initial support for combining characters in zle | Peter Stephenson | 2008-04-13 | 1 | -38/+91 |
| | |||||
* | unposted: move zlefind() and zlecmp() into zle_hist.c | Peter Stephenson | 2008-04-11 | 1 | -76/+0 |
| | |||||
* | 24782: initial go at highlighting of characters in zle command lines | Peter Stephenson | 2008-04-03 | 1 | -2/+9 |
| | |||||
* | Fixed two compiler warnings about comparing signed/unsigned. | Wayne Davison | 2008-03-06 | 1 | -2/+2 |
| | |||||
* | 24275: fixes for multibyte characters on Solaris | Peter Stephenson | 2007-12-17 | 1 | -0/+16 |
| | |||||
* | users/11419: zle copy-region-as-kill <string> | Peter Stephenson | 2007-04-19 | 1 | -6/+31 |
| | | | | adds text to the kill ring | ||||
* | 22924: a couple more metafy_line()/unmetafy_line() problems | Peter Stephenson | 2006-10-30 | 1 | -18/+18 |
| | |||||
* | Add two widges for user control of auto-suffix remove/keep. | Bart Schaefer | 2006-10-16 | 1 | -0/+9 |
| | |||||
* | rationalise mb<->wc conversions to use restartable form | Peter Stephenson | 2006-08-03 | 1 | -1/+5 |
| | |||||
* | 22575: multibyte fixes for bslashquote(), getzlequery() | Peter Stephenson | 2006-08-01 | 1 | -27/+19 |
| | |||||
* | Got rid of some superfluous STOUC() calls (such as the ones I added | Wayne Davison | 2006-01-13 | 1 | -1/+1 |
| | | | | for the arg of calls to nicechar(), which doesn't need this). | ||||
* | - When mbrtowc() returns -2 when given all the remaining chars in a | Wayne Davison | 2006-01-12 | 1 | -21/+30 |
| | | | | | | | | string, set an end-of-line flag and avoid calling mbrtowc() again for any of the incomplete characters that remain in the string. - Use "mbs" for the multi-byte state variable name (for consistency). - Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t -1 and -2 values (respectively). | ||||
* | Changed the name of the "ret" variable in mb_niceformat() to "cnt" | Wayne Davison | 2006-01-09 | 1 | -8/+7 |
| | | | | | | | because "ret" is usually used for a variable name to hold the return value of the function. Also, changed the test when checking for a \0 to only check if "cnt" is 0, since we must always change a value of 0 to 1. | ||||
* | The return value of mbrtowc() is a size_t (unsigned), so don't | Wayne Davison | 2006-01-09 | 1 | -4/+4 |
| | | | | | | assign it to an int and then check if it's > 0, as that won't work on a system where an int is larger than a size_t. Also, we needed to use STOUC() on a char value passed to nicechar(). | ||||
* | Changed zlelineasstring() and zlegetline() to each return a normal char | Wayne Davison | 2005-11-15 | 1 | -29/+25 |
| | | | | | | pointer, not an unsigned char pointer. Changed stringaszleline() to take a normal char pointer for its first arg. Got rid of some unsigned-char/char pointer casts. | ||||
* | - One minor change to handle the ZLE_STRING_T change. | Wayne Davison | 2005-11-01 | 1 | -13/+5 |
| | | | | - A few brace-position twiddles. |