1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 16:50:58 +01:00
Commit graph

35 commits

Author SHA1 Message Date
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +00:00
Peter Stephenson
94953f70b9 22124: handle bad multibyte input better 2006-01-06 14:23:00 +00:00
Wayne Davison
a2e7cbe308 A slightly more optimal way to fix the zle_setline() bug using
the same zlecs-checking idiom as setline().
2005-12-12 18:35:47 +00:00
Wayne Davison
e0c9faba4d Fixed problem in zle_setline() where moving to an empty line would
set zlecs to -1. (Reported by Jun T.)
2005-12-12 18:22:08 +00:00
Wayne Davison
e79af955f0 Got rid of some unsigned-char/char pointer casts. 2005-11-15 08:44:17 +00:00
Peter Stephenson
aea7715261 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;
use multibyte versions of nicechar wherever possible.
2005-10-28 17:34:33 +00:00
Peter Stephenson
05b6a23362 not yet posted; zle line screwed up on bad return from insertlastword() 2005-10-23 17:42:56 +00:00
Peter Stephenson
d9bb1a52c9 21764: unmetafication mangle zle history lines 2005-09-26 18:39:21 +00:00
Peter Stephenson
243539fa30 21610: Turn on ZLE_UNICODE_SUPPORT and fix a few related problems. 2005-08-15 10:01:47 +00:00
Wayne Davison
68f073faa2 Changed several instances of ZWC() used on a string to ZWS(). 2005-08-11 18:40:53 +00:00
Peter Stephenson
2a888b3d5a c.f. 21590: metafy_line()/unmetafy_line() now support wide characters 2005-08-10 10:56:40 +00:00
Peter Stephenson
8665549030 21541: remove some warnings from ZLE_UNICODE_SUPPORT 2005-07-28 14:45:32 +00:00
Peter Stephenson
63f6742e9a 21014: remember_edits() was broken 2005-03-18 18:27:51 +00:00
Peter Stephenson
f7ceca4fec 20869: more small Unicode tweaks 2005-02-25 15:10:01 +00:00
Peter Stephenson
ddd172ebe2 20863: fix history (i)searching for Unicode 2005-02-25 10:20:38 +00:00
Peter Stephenson
691dd7e529 20861: Fix statusline in Unicode, apart from isearch 2005-02-24 15:32:36 +00:00
Peter Stephenson
d9137fd4b6 20854: more Unicode stuff. 2005-02-23 13:50:09 +00:00
Peter Stephenson
d7c13fb2c3 20822: Initial code for Unicode/multibyte input
20823: Debugging test in stat wrong for 64-bit systems
2005-02-18 13:57:25 +00:00
Peter Stephenson
85e0b5f377 20752: fix access to ZLE parameters 2005-01-26 18:12:08 +00:00
Peter Stephenson
88a37cc187 c.f. 20675: improve zle as a basis for Unicode.
unposted: update version to 4.2.3-dev-1
2005-01-14 13:04:47 +00:00
Wayne Davison
0aa5829cc7 When downline() calls upline() or visa versa (due to a negative zmult),
the value of "n" that was returned should be negative but was positive.
Fixes some problems with {down,up}-line-or-history and others.
2004-08-24 15:47:04 +00:00
Peter Stephenson
efe2876d92 20219: make zle parameter HISTNO writeable
add history-pattern-search widget
2004-07-29 14:21:57 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Wayne Davison
12b2ed63ab Silenced one signed/unsigned comparison compiler warning. 2004-05-28 19:24:13 +00:00
Peter Stephenson
2ace0ce4f2 19553: rename c in zle to lastchar 2004-03-08 11:44:09 +00:00
Peter Stephenson
2073eca9f3 19456: Fix ptmx tests, again. 2004-02-20 15:27:35 +00:00
Felix Rosencrantz
e91067d966 17983: Added zle LASTSEARCJ parameter 2002-12-06 23:24:06 +00:00
Peter Stephenson
03105a5d6e 17360: more lenient accept-line-and-down-history behaviour
17361: more careful about NULL history entries in zle
2002-06-24 18:21:18 +00:00
Peter Stephenson
849f4068de 16767: Src/Zle/zle_hist.c, Doc/Zsh/zle.yo, Doc/Zsh/contrib.yo,
Functions/Zle/copy-earlier-word:  Enhance insert-last-word to
pick different lines from the history (including the current
line) and different words from that line.  Add copy-earlier-word
as suggested by Dominik Vogt to copy words from either the
current line, or (following an insert-last-word) a previous
history line.
2002-03-05 16:33:19 +00:00
Wayne Davison
4fb4f4cd7a Fixed doisearch() to not switch lines unless zlereadflags has
ZLRF_HISTORY set.
2001-09-17 18:30:49 +00:00
Andrew Main
b73d71105e 15734: zle -K option to select a keymap, and zle KEYMAP parameter to
examine the current selection.
2001-09-03 01:39:19 +00:00
Clint Adams
ac4d669afb 145??: fix thinko 2001-05-29 21:41:53 +00:00
Clint Adams
e56c42c9fe 145??: repeat last vi history search if search string is blank 2001-05-29 20:20:34 +00:00
Wayne Davison
f18dca3266 Fixed acceptandinfernexthistory() to work when called repeatedly.
Also changed it to not accept the line if the infer fails.  Ignore
transient edits in the history when searching for an inference and
grabbing the next line (affecting acceptandinfernexthistory(),
infernexthistory(), and acceptlineanddownhistory()).
2001-05-26 20:57:16 +00:00
Tanaka Akira
e74702b467 Initial revision 1999-04-15 18:05:38 +00:00