1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-30 19:20:53 +02:00
Commit graph

98 commits

Author SHA1 Message Date
Peter Stephenson
6ab77f00ff 23488: tidy up module interface and documentation 2007-05-29 17:01:07 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
b5d4d3d9c1 23433: fix shift for ZMAXTIMEOUT 2007-05-13 19:11:24 +00:00
Peter Stephenson
62b671f0d1 23159 plus minor doc tweaks: leave BAUD parameter unset by default 2007-02-08 10:43:28 +00:00
Peter Stephenson
aba936b17c 22981: Zvi Har'el: bad call from 22952
22980: add hook array for special functions
2006-11-08 10:38:05 +00:00
Peter Stephenson
006229c32e 22924: a couple more metafy_line()/unmetafy_line() problems 2006-10-30 14:13:36 +00:00
Peter Stephenson
8f98285662 22765: rename some MB_ macros to WC_ for consistency. 2006-09-23 20:25:05 +00:00
Peter Stephenson
b477e24aa2 22727: "use 'exit' to exit" was suboptimal 2006-09-17 17:42:56 +00:00
Peter Stephenson
b726ead94e 22676, 22678: extend sched and make it able to run events when waiting for
input
2006-09-10 15:24:26 +00:00
Peter Stephenson
50e9ab122b 22556: Multibyte separators and delimiters 2006-07-24 22:00:19 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Wayne Davison
fd240e09b0 Made implied "int" on new static variable explicit (which silences
gcc).
2006-05-30 21:21:07 +00:00
Peter Stephenson
09aaf50cda 22464: bad recursion if error in prompt substitution 2006-05-26 22:43:51 +00:00
Peter Stephenson
949f5b6dee 22431: set WIDGET etc. more consistently when executing zle functions 2006-04-25 15:00:25 +00:00
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +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
4ffa433443 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-11 19:42:40 +00:00
Peter Stephenson
e66af50a98 22014: argument-base, insert-unicode-char 2005-11-24 10:25:33 +00:00
Wayne Davison
62c71d5d50 Changed zleread() to return a normal char pointer, not unsigned char.
Got rid of some unsigned-char/char pointer casts.
2005-11-15 08:44:28 +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
dcc48ad81b minor tidy-ups 2005-10-02 19:13:44 +00:00
Peter Stephenson
046f4cf49e 21784: Improved character widths for formatted multibyte character output 2005-09-29 17:32:34 +00:00
Peter Stephenson
409296e22f 21736: improve tests for word and identifier characters with multibyte input 2005-09-20 15:10:26 +00:00
Peter Stephenson
58b9e731da 21720: fix getrestchar() some more 2005-09-09 16:55:21 +00:00
Peter Stephenson
d39b9fabdb 21709 plus tweaks: use $KEYTIMEOUT for multibyte chars.Reset input state on invalid characters or EOF 2005-09-09 11:48:27 +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
c73dd46019 Fixes from Thorsten Dahlheimer.
21578: mkmakemod.sh didn't exit on cleanup.
21582: fix failure status of zmodload -R.
21583: fix circularity test of zmodload -A.
2005-08-09 10:02:08 +00:00
Peter Stephenson
8665549030 21541: remove some warnings from ZLE_UNICODE_SUPPORT 2005-07-28 14:45:32 +00:00
Wayne Davison
d355573c48 Moving the PROMPT_SP code earlier in the scheme of things so that
it can take affect prior to things like the mail-check output.
2005-07-26 22:46:10 +00:00
Wayne Davison
767e017e1f Implement the new PROMPT_SP option. 2005-07-15 17:41:55 +00:00
Clint Adams
56cb95d1dd * 21125: Src/Zle/zle_main.c: do an initial conversion when zle is loaded. 2005-04-08 16:58:09 +00:00
Clint Adams
5571605340 * 21124: Src/Zle/zle_main.c, Src/init.c, Src/params.c: have zle cache a
wide-char version of WORDCHARS each time it's changed (when ZLE_UNICODE_SUPPORT
 is defined).
2005-04-08 16:42:55 +00:00
Peter Stephenson
5d7ee7574a 21042: limitations with execute-named-command 2005-03-21 17:07:25 +00:00
Peter Stephenson
31aaabe1bc 20978: don't propagate EOF from recursive edits 2005-03-15 10:50:58 +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
Peter Stephenson
d9137fd4b6 20854: more Unicode stuff. 2005-02-23 13:50:09 +00:00
Andrey Borzenkov
70f9279060 20845: fix mbstate_t usage in getrestchar 2005-02-22 21:36:40 +00:00
Peter Stephenson
b83f0e2290 Andrej: 20838: get ZLE_UNICODE_SUPPORT basically working 2005-02-22 13:12:35 +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
efd03cf9e8 20742: More Unicode conversion stuff. 2005-01-25 16:40:41 +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
66baaced5d In zleread(), initialize the first byte of the "line" buffer to '\0'
so that functions such as magicspace() won't be accessing uninitialized
memory when they look at "line".
2004-10-17 20:12:46 +00:00
Peter Stephenson
0f1267a8aa 20398: allow clean exit from within widget function 2004-09-21 14:07:41 +00:00
Bart Schaefer
5741e2840f 20388: tweak ignoreeof behavior on user-defined widgets to match docs. 2004-09-20 14:03:36 +00:00
Bart Schaefer
2e9bbdc833 20387: revised algorithm for the fix in 20363. 2004-09-20 13:37:41 +00:00
Peter Stephenson
1268f477b0 20363: Src/init.c, Src/Zle/zle_main.c 2004-09-13 13:04:39 +00:00
Peter Stephenson
d24593bf38 20300: fix spurious EOF from ^C 2004-09-02 09:20:35 +00:00
Peter Stephenson
0cfb07ee92 20153: make zle-line-init run after the first zrefresh() 2004-07-13 09:41:36 +00:00