1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-18 15:21:16 +02:00
Commit graph

102 commits

Author SHA1 Message Date
Peter Stephenson
4497b2b1b7 24371: bug refreshing large scrolling history entry 2008-01-08 15:07:02 +00:00
Peter Stephenson
104fccc31e 24362: problem redrawing line with multibyte character first 2008-01-05 13:12:56 +00:00
Geoff Wing
a5dd64f024 24098: Fix my botch with 23924, rework out new prompts and
their lengths before use in resetvideo().
2007-11-23 00:19:23 +00:00
Geoff Wing
29a869d5a8 23924: Improve synchronising of character attributes with other
output routines
2007-10-19 01:33:09 +00:00
Peter Stephenson
55b7a07a7e 23791: use VARARR for MB_CUR_MAX
users/11791: remove mysterious comment around emulate -L zsh in
incremental-complete-word
2007-08-22 09:25:32 +00:00
Peter Stephenson
3d6f87fccc fix output of prompt in single line ZLE 2007-03-19 22:27:45 +00:00
Wayne Davison
4817964a07 Got rid of unused-variable compiler warning when compiling a
non-multibyte zsh.
2006-01-13 17:46:09 +00:00
Wayne Davison
70de60a962 The new "eol" var was being set in singlerefresh(), but not accessed. 2006-01-12 08:33:15 +00:00
Wayne Davison
542797377a - When mbrtowc() returns -2 when given all the remaining chars in a
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).
2006-01-12 00:51:50 +00:00
Wayne Davison
9cf3f9ad71 The return value of mbrtowc() is a size_t (unsigned), so don't
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.
2006-01-09 00:17:24 +00:00
Peter Stephenson
09a854378a 22009: another double-width character fix 2005-11-21 15:22:12 +00:00
Peter Stephenson
8a9c9d8078 21971: multibyte version of pfxlen() 2005-11-01 23:10:17 +00:00
Wayne Davison
f53996f14b I just noticed that zsh's default icntrl() macro returns true for
chars 128 - 159, so the "... ? ZWC('?') : (CHAR_VALUE | ZWC('@'))"
code needed to be updated to reflect this.
2005-11-01 04:02:02 +00:00
Wayne Davison
b6fefba340 - Improved all the "... ? ZWC('?') : (CHAR_VALUE | ZWC('@'))" code
lines to work in both normal and multibyte mode without needing
  conditional code.
- A couple brace-position twiddles.
2005-11-01 03:26:54 +00:00
Peter Stephenson
4f683c2eea 21957: more wide-character refresh stuff 2005-10-30 20:39:38 +00:00
Wayne Davison
0b31102c4c Got rid of a use of WEOF when MULTIBYTE_SUPPORT is not defined
(which fixed a signed vs unsigned comparison compiler warning).
2005-10-28 22:13:44 +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
5f11a38bea 21942: another extra-wide character fix 2005-10-28 12:52:22 +00:00
Peter Stephenson
60a99da054 21936: bug deleting extra-wide character 2005-10-25 23:13:40 +00:00
Peter Stephenson
7c442d2e06 21930: handle extra-wide characters at end of line 2005-10-24 16:58:41 +00:00
Peter Stephenson
e3856ef52e remove a couple of TODOs 2005-10-21 22:40:30 +00:00
Wayne Davison
99947c0c95 Got rid of a pointer-type warning by adding a definition for a
REFRESH_CHAR type and using it to define nullchr (it was using
ZLE_INT_T).
2005-10-19 23:45:06 +00:00
Peter Stephenson
26e60b1f3a 21887: Display characters wider than one screen cell correctly. 2005-10-19 20:40:24 +00:00
Peter Stephenson
feddc4199b 21885: Convert some refresh macros into functions. 2005-10-19 18:23:06 +00:00
Peter Stephenson
bd678526b3 21731: handle multibyte characters in prompts correctly 2005-09-17 21:39:07 +00:00
Andrey Borzenkov
f570dd59e3 21622: fix recursive completion call in zrefresh() 2005-08-15 17:30:58 +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
eb09406787 21593: character arrays wrongly declared with ZLE_UNICODE_SUPPORT 2005-08-10 13:21:15 +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
7fb20a71cb correct 20928 2005-03-04 21:40:37 +00:00
Peter Stephenson
d4c948bdd0 20928: null terminate screen lines in zle_refresh.c 2005-03-04 21:34:28 +00:00
Peter Stephenson
f7ceca4fec 20869: more small Unicode tweaks 2005-02-25 15:10:01 +00:00
Peter Stephenson
691dd7e529 20861: Fix statusline in Unicode, apart from isearch 2005-02-24 15:32:36 +00:00
Andrey Borzenkov
c4a4c1340a 20857: rewrite zle_refresh to use wide characters. 2005-02-23 16:29:56 +00:00
Peter Stephenson
d9137fd4b6 20854: more Unicode stuff. 2005-02-23 13:50:09 +00:00
Peter Stephenson
85e0b5f377 20752: fix access to ZLE parameters 2005-01-26 18:12:08 +00:00
Clint Adams
3934f7a402 * 20751: Src/Zle/zle_refresh.c: use '?' for character conversion error 2005-01-26 14:29:12 +00:00
Clint Adams
9453ea957e * 20747: some wide char support in the zle refresh code. 2005-01-26 13:39:46 +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
Peter Stephenson
8784bbe97c 20126: tidy up before 4.2.1
20127: tweaked version of Wayne's patch to reexand prompts
2004-07-02 15:59:07 +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
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Andrey Borzenkov
f318d64e3d 18476: Fix menu selection on Linux console 2003-05-05 06:07:04 +00:00
Geoff Wing
8e50782a72 18306: fix redisplay of rprompt when line shortens 2003-02-27 02:37:29 +00:00
Peter Stephenson
1a1b108b34 17390: new zle parameters $PREDISPLAY, $POSTDISPLAY 2002-07-01 16:50:41 +00:00
Geoff Wing
71749e822a 16635: make sure we display lists in singlelinezle mode 2002-02-19 00:06:54 +00:00
Andrew Main
b1dadd97d3 * 16527: Src/Zle/zle_refresh.c: Don't lose the rprompt when
clearing an otherwise-blank line.
2002-01-31 10:51:05 +00:00
Geoff Wing
cc28002e54 16063: add transientrprompt option to remove right prompt from
display when accepting commands
2001-10-24 07:00:49 +00:00
Geoff Wing
b67e8b380c Don't segv if we were displaying n lines and screen was
resized to less than  n  lines
2001-08-15 15:17:42 +00:00
Geoff Wing
2eda2a0921 15621: display of status line was being mucked up; continuation
markers "<...." and "<....>" weren't being display properly
2001-08-15 14:48:48 +00:00
Tanaka Akira
e74702b467 Initial revision 1999-04-15 18:05:38 +00:00