Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								1e814ba48b 
								
							 
						 
						
							
							
								
								49890: Avoid scanning unallocated memory in saved command line.  
							
							
							
						 
						
							2022-03-28 15:27:51 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Daniel Shahaf 
								
							 
						 
						
							
							
							
							
								
							
							
								6f479b7685 
								
							 
						 
						
							
							
								
								unposted (after 46068): Fix a compiler warning.  
							
							... 
							
							
							
							The warning was:
.
    warning: passing 'const char *' to parameter of type 'void *'
    discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 
							
						 
						
							2020-06-27 03:35:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Daniel Shahaf 
								
							 
						 
						
							
							
							
							
								
							
							
								dd6e702ee4 
								
							 
						 
						
							
							
								
								46068 (tweaked) (was: github  #57 ): region_highlight: Add memo= support.  
							
							... 
							
							
							
							This is useful when multiple plugins add region_highlight entries and
subsequently want to remove only their own entries.  Without this
functionality, recognizing one's region_highlight entries is not trivial
because the 'start' and 'end' offsets are modified by editing of $BUFFER
and the highlight specification may not be unique or distinctive.
The tweaks are as follows:
- Change zfree() to zsfree() per workers/46070.
- Remove the mem.c hunk, as it changed the signature of only one out of
  two alternative definitions of zsfree().  (The definition that hunk
  touched is the one that's not used by default.) 
							
						 
						
							2020-06-25 11:50:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kamil Dudka 
								
							 
						 
						
							
							
							
							
								
							
							
								d6a9e222ec 
								
							 
						 
						
							
							
								
								44582: Fix foregoing commit to use DPUTS() better  
							
							
							
						 
						
							2019-07-26 16:36:14 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Kamil Dudka 
								
							 
						 
						
							
							
							
							
								
							
							
								f9cd218787 
								
							 
						 
						
							
							
								
								44566: make sure Zle doesn't crash if history entry not found  
							
							
							
						 
						
							2019-07-24 17:14:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Roman Perepelitsa 
								
							 
						 
						
							
							
							
							
								
							
							
								c551937280 
								
							 
						 
						
							
							
								
								44215: Maintain LASTWIDGET across reset-prompt.  
							
							... 
							
							
							
							This avoids side effects of asynchronous notifications. 
							
						 
						
							2019-04-10 09:41:04 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								cb5f100bd3 
								
							 
						 
						
							
							
								
								39986, 39989: improve handling of vi-repeat-change  
							
							... 
							
							
							
							Save previous vi change and throw away a new change that fails.
Add zle -f vichange to allow shell widget to be a single change.
Fix repeat of command where numeric arguments were multiplied. 
							
						 
						
							2016-11-20 23:59:48 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barton E. Schaefer 
								
							 
						 
						
							
							
							
							
								
							
							
								56e3d23b98 
								
							 
						 
						
							
							
								
								unposted: comment in zlecallhook() points to redrawhook() just in case  
							
							
							
						 
						
							2016-11-13 18:15:23 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								3fdf1f16e3 
								
							 
						 
						
							
							
								
								38540: fix undo problem by not moving the current change when only undoing a history line change  
							
							
							
						 
						
							2016-06-02 12:48:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jun-ichi Takimoto 
								
							 
						 
						
							
							
							
							
								
							
							
								a4020e10a3 
								
							 
						 
						
							
							
								
								37868: add 'static' to file local variables  
							
							
							
						 
						
							2016-02-03 01:25:33 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jun-ichi Takimoto 
								
							 
						 
						
							
							
							
							
								
							
							
								ca3bc0d95d 
								
							 
						 
						
							
							
								
								37838: use UNUSED() consistently  
							
							
							
						 
						
							2016-01-30 00:26:23 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								f1312d1e22 
								
							 
						 
						
							
							
								
								37091: clear lastline and lastlinesz when freeing  
							
							
							
						 
						
							2015-11-11 16:09:28 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								11ca38c6d9 
								
							 
						 
						
							
							
								
								users/20825: fix crash when complex completion hooks.  
							
							... 
							
							
							
							get_undo_current_change() needs protecting against execution in
completion environment. 
							
						 
						
							2015-10-26 10:00:54 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Daniel Shahaf 
								
							 
						 
						
							
							
							
							
								
							
							
								8165b488cb 
								
							 
						 
						
							
							
								
								unposted: zle: Document the C helper function processcmd().  
							
							... 
							
							
							
							Also, tweak the docstring of zlelineasstring(). 
							
						 
						
							2015-09-25 23:38:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								32f5d3d8c1 
								
							 
						 
						
							
							
								
								36416: ^C in getzlequery() just aborts query.  
							
							... 
							
							
							
							Also logical but possibly invisible fix for error propagated
back from listing interface. 
							
						 
						
							2015-09-03 17:52:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								832130c57d 
								
							 
						 
						
							
							
								
								36131: make use of undo limits; call mkundoent() when $UNDO_CHANGE_NO is referenced for a clear change number marking the current state  
							
							
							
						 
						
							2015-08-13 16:18:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								5911aca85f 
								
							 
						 
						
							
							
								
								35737: (tweaked c.f. Peter: 35759): use new undo limit for minibuffer and beep when limit is reached  
							
							
							
						 
						
							2015-07-14 00:30:45 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								2833299312 
								
							 
						 
						
							
							
								
								35708: add UNDO_LIMIT_NO  
							
							
							
						 
						
							2015-07-09 19:29:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								f1923bdfa6 
								
							 
						 
						
							
							
								
								Add non-metafied character length handling.  
							
							... 
							
							
							
							Use this in regex module and add test using $'\ua0'.
Rename mb_metacharinit() to mb_charinit() as it does not involve
metafied characters. 
							
						 
						
							2015-06-12 09:30:39 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mikael Magnusson 
								
							 
						 
						
							
							
							
							
								
							
							
								18b60d8512 
								
							 
						 
						
							
							
								
								34117: zle: size_t is unsigned, use int instead  
							
							... 
							
							
							
							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. 
							
						 
						
							2015-01-06 23:46:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								04e555a92e 
								
							 
						 
						
							
							
								
								33981: more care with region_highlights management  
							
							
							
						 
						
							2014-12-18 18:54:55 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								d067ebcacd 
								
							 
						 
						
							
							
								
								33876: etc.: Separate errors and keyboards interrupts  
							
							... 
							
							
							
							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. 
							
						 
						
							2014-12-11 09:41:17 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								0ea8f28e7b 
								
							 
						 
						
							
							
								
								33700: new widget for put in vim style visual selection mode  
							
							
							
						 
						
							2014-11-17 16:32:04 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								99382e689d 
								
							 
						 
						
							
							
								
								33669: allow an empty line to be yanked with yy  
							
							... 
							
							
							
							This  by allocating 1 byte instead of 0 for the empty buffer. 
							
						 
						
							2014-11-13 09:58:34 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								36b8f83319 
								
							 
						 
						
							
							
								
								33624: keep region active when widget fails  
							
							
							
						 
						
							2014-11-07 11:29:13 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								c7ff843ecf 
								
							 
						 
						
							
							
								
								33604: fix change merging for vi mode where a change has just been undone  
							
							
							
						 
						
							2014-11-05 22:50:48 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								4d89ec25f1 
								
							 
						 
						
							
							
								
								33575: reset vi change start position if text is inserted  
							
							... 
							
							
							
							before it or on history movement 
							
						 
						
							2014-11-03 00:31:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								bdedf7b40b 
								
							 
						 
						
							
							
								
								33518: add support for "_ vi buffer and arguments to vi-set-buffer from a zle widget  
							
							
							
						 
						
							2014-10-23 21:47:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								72c666fb4f 
								
							 
						 
						
							
							
								
								33514: even  with a named vi buffer, we should update the default buffer  
							
							
							
						 
						
							2014-10-23 17:14:19 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								a39c3adece 
								
							 
						 
						
							
							
								
								33512: add support for "0 vi buffer and yank to it  
							
							
							
						 
						
							2014-10-23 17:00:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barton E. Schaefer 
								
							 
						 
						
							
							
							
							
								
							
							
								31e2ae380a 
								
							 
						 
						
							
							
								
								32540: in doexpandhist(), discard saved line position data rather than restoring from it (updates 32531).  
							
							
							
						 
						
							2014-04-13 01:26:07 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								2cd3b9ab74 
								
							 
						 
						
							
							
								
								32334 (modified so KEEPSUFFIX is unchanged for vi-cmd-mode; based on  
							
							... 
							
							
							
							Jun T: 32324, 32330), 32347, Jun T: 32344, 32349:
add split-undo zle widget for configurable breaks in undo sequence 
							
						 
						
							2014-02-05 21:45:19 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oliver Kiddle 
								
							 
						 
						
							
							
							
							
								
							
							
								a8c4ed64ee 
								
							 
						 
						
							
							
								
								32314: merge undo events corresponding to vi change in the vi-cmd-mode widget so undo from insert mode is useful again  
							
							
							
						 
						
							2014-01-31 14:03:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								f77a7a5b18 
								
							 
						 
						
							
							
								
								31937: zle -Fw uses widget semantics for file descriptor handler  
							
							
							
						 
						
							2013-11-07 15:19:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								cbe9371023 
								
							 
						 
						
							
							
								
								31922: zlecharasstring missed flip of bit 5 after Meta  
							
							
							
						 
						
							2013-10-28 17:51:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								34ed3eaecd 
								
							 
						 
						
							
							
								
								users/17318: only increment the undo variable return value for the  
							
							... 
							
							
							
							first request in a row 
							
						 
						
							2012-10-09 16:27:11 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								0fda80344b 
								
							 
						 
						
							
							
								
								users/17314: ensure an undo change number  
							
							... 
							
							
							
							uniquely specifies a point in editing history by incrementing
the value returned by the variable. 
							
						 
						
							2012-10-09 14:57:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								13a45d74eb 
								
							 
						 
						
							
							
								
								users/16932: implement $UNDO_CHANGE_NO and argument to undo widget  
							
							
							
						 
						
							2012-03-29 20:31:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								a5ff5b61a4 
								
							 
						 
						
							
							
								
								Jérémie Roquet: 29258: mark a couple more functions for export.  
							
							
							
						 
						
							2011-05-13 11:59:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								d89361739a 
								
							 
						 
						
							
							
								
								29165: use term.h globally if needed at all.  
							
							
							
						 
						
							2011-05-09 09:49:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								cc69ecfb9e 
								
							 
						 
						
							
							
								
								28886: Fix region_highlight dynamic updates for $PREDISPLAY  
							
							
							
						 
						
							2011-03-11 10:33:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								212ca9edf9 
								
							 
						 
						
							
							
								
								28772: Update regions in region highlight dynamically  
							
							
							
						 
						
							2011-02-18 22:08:45 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								459953f029 
								
							 
						 
						
							
							
								
								28671: better cursor positioning after undo  
							
							
							
						 
						
							2011-02-11 19:32:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								8856dc878e 
								
							 
						 
						
							
							
								
								28282: new function zlecallhook()  
							
							... 
							
							
							
							fix arguments to zle-keymap-select 
							
						 
						
							2010-09-20 09:27:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								b16923b096 
								
							 
						 
						
							
							
								
								27812: display invalid bytes in multibyte characters specially  
							
							
							
						 
						
							2010-03-22 19:46:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								851663282a 
								
							 
						 
						
							
							
								
								Greg Klanderman: 26159: fix appending of kills  
							
							
							
						 
						
							2009-01-03 18:12:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								85c513894d 
								
							 
						 
						
							
							
								
								26047: convert lower levels of completion matching to use  
							
							... 
							
							
							
							multibyte strings and wide characters 
							
						 
						
							2008-11-15 21:27:45 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								cca52d8edb 
								
							 
						 
						
							
							
								
								unposted: Jun T.: fix backkill() calculation of charaters to kill  
							
							
							
						 
						
							2008-04-24 10:18:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								a58d02fd2e 
								
							 
						 
						
							
							
								
								24860: better overwrite mode  
							
							
							
						 
						
							2008-04-21 17:58:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Stephenson 
								
							 
						 
						
							
							
							
							
								
							
							
								500c402380 
								
							 
						 
						
							
							
								
								24855: tests for combining char alignment should only be on metafied line  
							
							
							
						 
						
							2008-04-21 10:13:30 +00:00