summary refs log tree commit diff
path: root/Src/Zle/zle_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* 37868: add 'static' to file local variablesJun-ichi Takimoto2016-02-031-2/+2
|
* 37838: use UNUSED() consistentlyJun-ichi Takimoto2016-01-301-1/+1
|
* 37091: clear lastline and lastlinesz when freeingPeter Stephenson2015-11-111-0/+2
|
* users/20825: fix crash when complex completion hooks.Peter Stephenson2015-10-261-0/+17
| | | | | get_undo_current_change() needs protecting against execution in completion environment.
* unposted: zle: Document the C helper function processcmd().Daniel Shahaf2015-09-251-2/+2
| | | | Also, tweak the docstring of zlelineasstring().
* 36416: ^C in getzlequery() just aborts query.Peter Stephenson2015-09-031-0/+5
| | | | | Also logical but possibly invisible fix for error propagated back from listing interface.
* 36131: make use of undo limits; call mkundoent() when $UNDO_CHANGE_NO is ↵Oliver Kiddle2015-08-131-24/+9
| | | | referenced for a clear change number marking the current state
* 35737: (tweaked c.f. Peter: 35759): use new undo limit for minibuffer and ↵Oliver Kiddle2015-07-141-1/+1
| | | | beep when limit is reached
* 35708: add UNDO_LIMIT_NOPeter Stephenson2015-07-091-2/+22
|
* Add non-metafied character length handling.Peter Stephenson2015-06-121-1/+1
| | | | | | | Use this in regex module and add test using $'\ua0'. Rename mb_metacharinit() to mb_charinit() as it does not involve metafied characters.
* 34117: zle: size_t is unsigned, use int insteadMikael Magnusson2015-01-061-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 managementPeter Stephenson2014-12-181-27/+34
|
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-111-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 modeOliver Kiddle2014-11-171-1/+1
|
* 33669: allow an empty line to be yanked with yyOliver Kiddle2014-11-131-2/+3
| | | | This by allocating 1 byte instead of 0 for the empty buffer.
* 33624: keep region active when widget failsOliver Kiddle2014-11-071-1/+0
|
* 33604: fix change merging for vi mode where a change has just been undoneOliver Kiddle2014-11-051-3/+3
|
* 33575: reset vi change start position if text is insertedOliver Kiddle2014-11-031-0/+3
| | | | before it or on history movement
* 33518: add support for "_ vi buffer and arguments to vi-set-buffer from a ↵Oliver Kiddle2014-10-231-1/+1
| | | | zle widget
* 33514: even with a named vi buffer, we should update the default bufferOliver Kiddle2014-10-231-1/+0
|
* 33512: add support for "0 vi buffer and yank to itOliver Kiddle2014-10-231-7/+14
|
* 32540: in doexpandhist(), discard saved line position data rather than ↵Barton E. Schaefer2014-04-131-0/+21
| | | | restoring from it (updates 32531).
* 32334 (modified so KEEPSUFFIX is unchanged for vi-cmd-mode; based onOliver Kiddle2014-02-051-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 Kiddle2014-01-311-1/+4
| | | | widget so undo from insert mode is useful again
* 31937: zle -Fw uses widget semantics for file descriptor handlerPeter Stephenson2013-11-071-4/+3
|
* 31922: zlecharasstring missed flip of bit 5 after MetaPeter Stephenson2013-10-281-0/+1
|
* users/17318: only increment the undo variable return value for thePeter Stephenson2012-10-091-0/+11
| | | | first request in a row
* users/17314: ensure an undo change numberPeter Stephenson2012-10-091-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 widgetPeter Stephenson2012-03-291-2/+28
|
* Jérémie Roquet: 29258: mark a couple more functions for export.Peter Stephenson2011-05-131-2/+2
|
* 29165: use term.h globally if needed at all.Peter Stephenson2011-05-091-3/+3
|
* 28886: Fix region_highlight dynamic updates for $PREDISPLAYPeter Stephenson2011-03-111-33/+70
|
* 28772: Update regions in region highlight dynamicallyPeter Stephenson2011-02-181-4/+333
|
* 28671: better cursor positioning after undoPeter Stephenson2011-02-111-1/+3
|
* 28282: new function zlecallhook()Peter Stephenson2010-09-201-0/+32
| | | | fix arguments to zle-keymap-select
* 27812: display invalid bytes in multibyte characters speciallyPeter Stephenson2010-03-221-12/+35
|
* Greg Klanderman: 26159: fix appending of killsPeter Stephenson2009-01-031-1/+1
|
* 26047: convert lower levels of completion matching to usePeter Stephenson2008-11-151-3/+4
| | | | multibyte strings and wide characters
* unposted: Jun T.: fix backkill() calculation of charaters to killPeter Stephenson2008-04-241-8/+6
|
* 24860: better overwrite modePeter Stephenson2008-04-211-1/+1
|
* 24855: tests for combining char alignment should only be on metafied linePeter Stephenson2008-04-211-3/+8
|
* 24853: bits missed from patchPeter Stephenson2008-04-201-1/+4
|
* 24853: use metafied strings for inner loops over historyPeter Stephenson2008-04-201-2/+49
|
* 24819: fix transposing characters and sneaky combination generationPeter Stephenson2008-04-151-1/+6
|
* 24808: initial support for combining characters in zlePeter Stephenson2008-04-131-38/+91
|
* unposted: move zlefind() and zlecmp() into zle_hist.cPeter Stephenson2008-04-111-76/+0
|
* 24782: initial go at highlighting of characters in zle command linesPeter Stephenson2008-04-031-2/+9
|
* Fixed two compiler warnings about comparing signed/unsigned.Wayne Davison2008-03-061-2/+2
|
* 24275: fixes for multibyte characters on SolarisPeter Stephenson2007-12-171-0/+16
|
* users/11419: zle copy-region-as-kill <string>Peter Stephenson2007-04-191-6/+31
| | | | adds text to the kill ring