1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-11 13:01:28 +02:00
Commit graph

206 commits

Author SHA1 Message Date
Peter Stephenson
12f20954e9 22075: assume we can convert characters with wctomb() with --enable-multibyte 2005-12-14 18:28:53 +00:00
Wayne Davison
9483fd8a14 One more fix for the non-multibyte prototype generation. 2005-11-30 16:35:33 +00:00
Geoff Wing
fac5d69b8b fix utils.c prototype generation for non multibyte build 2005-11-29 01:43:14 +00:00
Wayne Davison
01875dc4a1 Changed ztrcmp() to take normal char pointers, not unsigned char. 2005-11-15 08:44:24 +00:00
Wayne Davison
dbac6846fa - Added the wcsiblank() function for wide-char blank-checking that
does not match '\n'.
- Fixed a couple calls to isascii() that were passing a "char" value.
2005-11-01 02:50:24 +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
4ca967e200 21882: extend prompt truncation to handle multibyte characters 2005-10-19 08:39:02 +00:00
Peter Stephenson
3c37057c34 21871: replace INULL() by inull() 2005-10-13 16:30:13 +00:00
Peter Stephenson
c1b01cfba2 21809: need to export nicedup() 2005-10-03 09:09:58 +00:00
Wayne Davison
d84c522b49 Changed the PROMPT_SP output to use prompt-escape %# instead of just #. 2005-10-01 19:19:06 +00:00
Peter Stephenson
046f4cf49e 21784: Improved character widths for formatted multibyte character output 2005-09-29 17:32:34 +00:00
Peter Stephenson
f3c0df36be 21769: fix some consequences of 21730 in completion lists 2005-09-27 14:30:30 +00:00
Wayne Davison
0945e20323 The PROMPT_SP code now ensures that PROMPT_PERCENT is enabled when
it uses promptexpand() to expand some percent strings. (21739)
2005-09-20 16:33:01 +00:00
Peter Stephenson
29bb2438c0 unposted: fix wcsiident 2005-09-20 15:41:22 +00:00
Peter Stephenson
33c9432d56 21737: unmetafy wordchars before looking for multibyte characters 2005-09-20 15:19:06 +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
dc060607e9 21730: fix metafication of nicechar and pwd 2005-09-17 18:23:49 +00:00
Peter Stephenson
d33c6e502a 21722: fix multibyte word stuff 2005-09-09 20:34:42 +00:00
Wayne Davison
610a691e1c Marked some #ifdef ZLE_UNICODE_SUPPORT lines (and their #endif lines)
with /**/ so that they would get copied to the .epro file.
2005-08-17 19:17:40 +00:00
Clint Adams
987033eaf9 21619: define wide versions of zarrdup, zputs, niceztrlen. 2005-08-15 17:19:16 +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
aa638fec26 21577 (adapted): Dan Bullok: improved window resize handling, again 2005-08-09 09:33:37 +00:00
Peter Stephenson
d7902f6bad 21567: Dan Bullok: trashzle on updating window size 2005-08-08 10:36:51 +00:00
Wayne Davison
4714ce0856 The PROMPT_SP output should be prior to the job notifications too. 2005-07-27 18:44:26 +00:00
Wayne Davison
cbdcd62b38 Moved the PROMPT_SP output into preprompt() so that it takes effect
prior to things like precmd(), the mail-check output, etc.
2005-07-26 22:50:49 +00:00
Wayne Davison
fa8923e1f9 If getkeystring() finds a \c escape (when looking for such escapes),
truncate the returned string at the escape.
2005-07-26 00:07:08 +00:00
Wayne Davison
6e80eb1a4c Improved the function comment for getkeystring(). 2005-07-24 05:19:58 +00:00
Wayne Davison
c71813ef45 Added missing "goto" in handling of 'c' escape (fix from
Thorsten Dahlheimer).
2005-07-24 04:54:54 +00:00
Peter Stephenson
38eb8ac293 21049: Don't close process substitution file descriptors for external programmes 2005-03-31 09:54:54 +00:00
Bart Schaefer
65f01182b9 Belated commit of 20892: improvements to correct/correctall behavior. 2005-03-11 15:22:10 +00:00
Oliver Kiddle
1b50dff802 20921: using UCS-4BE instead of ISO-10646 to identify character encoding
is more portable, find more encodings in iconv completion on Solaris
20924: make error message more specific
2005-03-03 14:13:03 +00:00
Peter Stephenson
ddd172ebe2 20863: fix history (i)searching for Unicode 2005-02-25 10:20:38 +00:00
Oliver Kiddle
ebe071866d 20862: attempt to fix configure scripts to detect iconv properly 2005-02-24 16:53:07 +00:00
Peter Stephenson
85b63c0c03 20844: prune trailing slashes from named directory 2005-02-22 18:23:16 +00:00
Peter Stephenson
d1d6742848 20759, 20760, 20765: Improve Cygwin configuration 2005-02-01 10:52:50 +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
5141e68daa 20572: Allow alternative signal names 2004-11-22 10:33:03 +00:00
Wayne Davison
65729f5570 Added gettempfile(), which works like a custom mkstemp() (in addition
to the existing gettempname(), which works like a custom mktemp()).
2004-10-21 00:33:42 +00:00
Wayne Davison
1637c4eba6 Made gettempname() take a prefix arg and a use_heap arg. When prefix is
non-NULL, it uses the specified prefix instead of $TMPPREFIX.
2004-10-18 19:07:46 +00:00
Wayne Davison
0d6e174e23 Made zclose() avoid calling close() when fd < 0. 2004-10-18 03:32:16 +00:00
Peter Stephenson
46141be5f9 20412, tweaked: Make test builtin more POSIX compatible
20435: Make pattern.c not alter strings.
2004-10-05 10:39:41 +00:00
Peter Stephenson
037485c4a4 20378: Matthias B.: fix bugs joining with metafied chars. 2004-09-17 09:25:38 +00:00
Peter Stephenson
7d3220f298 20251: integer conversion truncation
20258: save command status in prompt substitution
update FAQ
rename version to 4.2.1-dev-1
2004-08-16 09:52:56 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Wayne Davison
14c7f464c2 Silenced two signed/unsigned comparison compiler warnings. 2004-05-28 19:21:05 +00:00
Wayne Davison
c42420319f Set the first character of buf to '\1' before the strftime() call so
we can try to distinguish a zero-length string from an error return
(a minor fix to Peter's patch).
2004-05-05 17:00:58 +00:00
Peter Stephenson
f57f65282b 19877: improved test for empty strftime strings 2004-05-04 16:43:29 +00:00
Clint Adams
c98b9dc800 * 19869: Src/prompt.c, Src/utils.c: avoid segfault when
prompt-expanding '%D{%p}' or '%D{%P}' under locales with null
        strings for am_pm.
2004-05-04 04:17:26 +00:00
Peter Stephenson
99b38b2f54 19683: Work around dllwrap problem on Cygwin 2004-03-25 12:32:10 +00:00
Oliver Kiddle
76bd48d674 19308: zsh crashes with $((##)) 2003-12-17 20:47:39 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
ed6a7ba60e 19168: Various problems with size of buffers and pointer usage in ztrftime 2003-10-06 22:46:24 +00:00
Peter Stephenson
eeb9ec4714 19129: extra argument to typeset -T gives character for joining array 2003-09-24 14:55:32 +00:00
Peter Stephenson
c2ed9f96a7 18920: fix unset IFS betterer 2003-08-01 16:29:20 +00:00
Peter Stephenson
74678a3435 18916: unsetting IFS could cause segfault 2003-08-01 09:55:38 +00:00
Oliver Kiddle
da74eb6338 18525: add manual UTF-8 conversion so \u and \U should work on more systems 2003-05-13 12:50:26 +00:00
Peter Stephenson
8ee83d44ff 18524: sepjoin !heap bug cause problem in vared 2003-05-12 11:45:28 +00:00
Peter Stephenson
94da86f795 18492: Provide partial fix for multios and output process substitution
asynchronicity problem.  Document workarounds for remaining problems.
2003-05-02 10:25:27 +00:00
Wayne Davison
6eaed9fb4b Fixed zjoin() when it returns an empty string that should be allocated. 2003-03-25 18:05:30 +00:00
Peter Stephenson
d8e418bff1 18376: Fix headers for wchar.h and some related gcc waringnings 2003-03-24 12:56:56 +00:00
Oliver Kiddle
a2197a5361 18359: fix bug where not enough memory was allocated if MB_LEN_MAX < 6 2003-03-18 14:39:41 +00:00
Oliver Kiddle
d8fac9fb23 18343, 18348: handle \u and \U escapes for specifying unicode characters 2003-03-14 13:36:07 +00:00
Peter Stephenson
590a26709a 18195: Timeouts for read builtin. 2003-02-05 11:56:55 +00:00
Peter Stephenson
f87232c120 18086: I don't know how this got missed out... 2003-02-05 10:56:56 +00:00
Clint Adams
6c998a07ab * 17810 (Martin Waitz): Src/utils.c: bung up memory leak with
POSIX.1e capabilities.
2002-10-11 01:08:18 +00:00
Oliver Kiddle
af0697b705 17503: fix various typos and spelling mistakes in source code comments 2002-08-05 12:35:59 +00:00
Peter Stephenson
afe1b00e16 17141 plus mods: add `zle -F fd handler' feature. 2002-05-21 11:10:13 +00:00
Bart Schaefer
9629b2dc53 15746: remove (with #if) an incorrect optimization in the maildir version
of mailstat().
2002-01-06 01:07:23 +00:00
Bart Schaefer
7f1ce57089 16158: interpret TAB as "yes" only in spckword()
16201: introduce the PM_NAMEDDIR flag
2001-11-03 23:35:25 +00:00
Bart Schaefer
a698189843 Fix segfault in checkrmall(). 2001-10-20 17:48:23 +00:00
Oliver Kiddle
4aaa5b3257 fix return code and tests of printf and comment above bslashquote func (16064) 2001-10-16 11:16:04 +00:00
Wayne Davison
8b3a84fa4f Removed bogus mkstemp() code. 2001-06-15 23:55:08 +00:00
Peter Stephenson
bd6302eae0 Use mkstemp where available 2001-06-15 22:19:44 +00:00
Bart Schaefer
9fbdcb5311 Fix problems with zwcstat() on systems that do not USE_MMAP. 2001-06-09 18:06:32 +00:00
Clint Adams
fd6be2db0f 14815: fix thinko 2001-06-08 19:05:55 +00:00
Clint Adams
975c0b44c5 14813: autoload functions from deleted .zwc files 2001-06-08 18:34:53 +00:00
Clint Adams
23e2a3e5f8 14541: %# with capabilities prompt-expand to # iff Effective set non-empty or euid=0 2001-05-29 15:09:06 +00:00
Oliver Kiddle
b5ad8bf0de add mod_export in a couple of places where it was missing 2001-05-23 08:53:11 +00:00
Sven Wischnowsky
757168e2c8 remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them (13365) 2001-01-16 13:44:18 +00:00
Sven Wischnowsky
4b1191e209 avoid compiler warning 2000-11-29 08:04:28 +00:00
Peter Stephenson
c292a3ae50 Sven: 13108: Handle traps synchronously
pws: 13109, 13111: clear up zle display when output produced in trap.
2000-11-11 19:50:27 +00:00
Bart Schaefer
0ce5e0f303 Try blocking read() in read_poll() only if select() returns error (or
doesn't exist).
2000-11-08 17:09:15 +00:00
Bart Schaefer
49fc6b036c Make zpty more like eval. 2000-11-06 06:24:27 +00:00
Bart Schaefer
dbc0aebcd4 Assorted read_poll() and zpty cleanup. 2000-11-05 09:27:08 +00:00
Sven Wischnowsky
16d7e31ae8 make non-blocking IO on ptys work again; add -t option to test if command is still alive (13035) 2000-10-19 08:46:54 +00:00
Bart Schaefer
5ca1864f94 Change some zerr to zwarn for consistency. 2000-10-02 18:40:35 +00:00
Clint Adams
946085efa5 12846: moved simple string manipulation functions to string.c 2000-09-19 15:54:30 +00:00
Bart Schaefer
fcaa17f396 Improve upon some of the PATH_MAX changes. 2000-09-18 06:50:54 +00:00
Clint Adams
25747f7d59 12828: dynamically allocate 'dir' in mailstat 2000-09-18 04:11:27 +00:00
Clint Adams
64d591dbac 12827: dynamically allocate 'file' in mailstat 2000-09-18 03:52:59 +00:00
Clint Adams
2d9e68f3cb unposted: define mailstat as a macro if MAILDIR_SUPPORT is undefined 2000-09-18 03:36:22 +00:00
Clint Adams
04bf2c822f 12823: use zsh heap in lieu of perm. heap in bin_dot 2000-09-18 03:31:31 +00:00
Peter Stephenson
942009eb9f 12719: quoting arrays in vared with real backslashes 2000-08-29 20:27:47 +00:00
Peter Stephenson
19b4ca246a 12415: fix bug in last patch when quoting metafied field separator. 2000-07-27 22:02:45 +00:00
Peter Stephenson
0aee5e1bb4 12414: vared quotes separators when editing arrays 2000-07-27 17:48:47 +00:00
Bart Schaefer
f303f2ea63 Belatedly fold in 12162, to replace command subst with eval. 2000-07-26 09:16:13 +00:00
Peter Stephenson
43f3a58597 12121: stopmsg in precmd 2000-07-03 08:48:22 +00:00
Peter Stephenson
756a2aba9c unposted: move poll_read 2000-06-26 21:27:07 +00:00
Peter Stephenson
acda8dc256 12073: read -t to test for available input before reading 2000-06-26 15:00:27 +00:00
Peter Stephenson
4608712264 FR & pws: promptexpand memory leaks; NEWS notes 2000-06-01 09:10:15 +00:00
Bart Schaefer
279132a957 11473: Turn off xtrace while printing PS4. 2000-05-20 15:56:03 +00:00
Sven Wischnowsky
2e78e1ecc1 fix for empty (s::) separator and strings with meta-characters (11368) 2000-05-15 11:01:41 +00:00
Peter Stephenson
705fd24fd5 11044, 11260: DVORAK options for spell checking. 2000-05-08 15:56:37 +00:00
Peter Stephenson
3acc9f80ef Patches 10513, 10516 (Alexandre), 10519 (Oliver), 10524 2000-04-05 19:28:07 +00:00
Sven Wischnowsky
db663c824a $PENDING special zle parameter, giving number of un-read bytes 2000-04-05 08:49:50 +00:00
Tanaka Akira
e74702b467 Initial revision 1999-04-15 18:05:38 +00:00