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

278 commits

Author SHA1 Message Date
Peter Stephenson
2d628b0bce Eric Blake: 27109: don't attachtty() if not interactive 2009-07-09 20:20:30 +00:00
Peter Stephenson
aabd747d4f Eric Blake: 27109: don't attachtty() if not interactive 2009-07-09 19:50:58 +00:00
Peter Stephenson
506c845b25 Greg Klanderman: 27057: %e and %f time formats were swapped 2009-06-26 21:10:04 +00:00
Peter Stephenson
72529e4fa6 27304: add ${(q-)..} flag 2009-06-05 11:15:48 +00:00
Peter Stephenson
feb29659f1 users/14143 plus tweak in padding code:
use default IFS if IFS is unset
2009-05-20 09:04:39 +00:00
Peter Stephenson
1134e72a7a Greg Klanderman: 26972: fix problem ni 26964. 2009-05-19 08:41:16 +00:00
Peter Stephenson
a4106e0523 Greg Klanderman: 26964 (modified): PROMPT_EOL_MARK 2009-05-17 18:23:09 +00:00
Peter Stephenson
b148a56869 26806 (doc tweaked): Add CORRECT_IGNORE variable 2009-04-06 09:06:35 +00:00
Peter Stephenson
89d979e1bc 26774: cd to $HOME on failure in preference to / 2009-03-24 16:13:12 +00:00
Peter Stephenson
9defc9850d 26772: better error handling and fix runaway chdir on failed cd 2009-03-24 12:52:07 +00:00
Peter Stephenson
ee71aa006e 26769: fix finger trouble in 26767 2009-03-24 12:14:19 +00:00
Peter Stephenson
4b2ad07d39 26767: fix file descriptor leak in 26763 2009-03-23 10:58:56 +00:00
Peter Stephenson
28a809886d 26763: fix problem on failed cd -s to relative path 2009-03-20 22:52:56 +00:00
Peter Stephenson
249148d765 tidy up from 26625 2009-03-20 20:52:13 +00:00
Wayne Davison
bf25c3a43f 26735: Check some function return values for failures. Gets rid of
some compiler warnings, and improves error handling/notification.
2009-03-15 01:04:50 +00:00
Peter Stephenson
d60f73f708 26686: problem storing long $_ using VARARR() 2009-03-03 22:11:37 +00:00
Bart Schaefer
daa22bc46b 26665: Src/utils.c: fix one incorrect test in 26614. 2009-03-03 05:22:57 +00:00
Peter Stephenson
4dbe63360d Lionel Flandrin: 26625: inopportune interrupt wrecked terminal set up 2009-03-02 10:21:37 +00:00
Peter Stephenson
535afe3b2a 26614 + 26615: history -t <fmt> plus ztrftime "-" format modifier 2009-03-02 10:11:45 +00:00
Peter Stephenson
64d011185a 26583: use HOOK_FUNCTIONS more widely 2009-02-19 10:12:37 +00:00
Peter Stephenson
d388995eed 26249: remove arbitrary string length limit in unmeta() 2009-01-05 21:56:53 +00:00
Peter Stephenson
94b39fe195 26095: compilation error if TIOCGWINSZ not defined 2008-11-27 17:05:42 +00:00
Peter Stephenson
25833cc89e 25969: two bugs with metafication plus a test for one 2008-10-30 15:34:18 +00:00
Peter Stephenson
176e0dc821 25963: Interrupt at spell check prompt output garbage 2008-10-30 14:04:30 +00:00
Peter Stephenson
337530b4d6 25930: dynamic directory expansion memory handling was screwy 2008-10-24 10:27:25 +00:00
Peter Stephenson
28cf4041b4 25771: shell function context for substitution functions 2008-09-29 15:18:49 +00:00
Peter Stephenson
e6dec182d0 25761: Mikael Magnusson: newline in getquery() 2008-09-27 23:14:58 +00:00
Peter Stephenson
b2d08a2155 25744: dynamic named directories and further doshfunc() simplification 2008-09-26 09:11:27 +00:00
Peter Stephenson
2920c227d3 25677: add %x and %I prompt escapes for shell source code debugging
tidy up interface to doshfunc()
2008-09-16 15:02:01 +00:00
Peter Stephenson
2853ca830a 25247 with further modifications: add $funcsourcetrace 2008-08-11 19:22:54 +00:00
Peter Stephenson
0c9830d23c 25345, 25347: neaten interface from main shell to zle 2008-07-31 08:44:16 +00:00
Peter Stephenson
0409391c7d 25272: add zshaddhistory hook 2008-07-17 11:27:55 +00:00
Peter Stephenson
4f7cf022b6 users/13036: "." is a valid character in a user name 2008-07-15 15:23:10 +00:00
Peter Stephenson
7453337589 25259: improve getquery() handling of unhandled characters 2008-07-01 08:36:01 +00:00
Peter Stephenson
1c29f641c6 Mikael: 25143: spelling corrections
25144: report supported bases
25139: fix number
2008-06-10 08:50:35 +00:00
Peter Stephenson
c894f695cc 25095: thorough modernization of prompt theme system 2008-05-17 22:42:16 +00:00
Peter Stephenson
8ab895baf0 25057: better debug error on memory failure 2008-05-17 17:55:37 +00:00
Peter Stephenson
02e0a4755f 25040: zpty should display context information more like eval 2008-05-15 15:50:57 +00:00
Peter Stephenson
b86c191af5 25025: check radix for integer constants is between 2 and 36 inclusive 2008-05-14 10:48:26 +00:00
Peter Stephenson
bd70d684fc 25002: only ZLE should update attributes resulting from prompt expansion 2008-05-12 13:50:42 +00:00
Peter Stephenson
2cec7aae44 24861 (with tweaks): logic to use alternative wcwidth() if needed;
slightly improve test for overwriting with combining characters.
2008-04-22 15:08:04 +00:00
Peter Stephenson
5a0c547e91 24856: add IS_COMBINING() and IS_BASECHAR() and widen tests 2008-04-21 11:49:55 +00:00
Peter Stephenson
b8ec06c870 24853: use metafied strings for inner loops over history 2008-04-20 21:17:29 +00:00
Peter Stephenson
72bd9ee6d9 24825: fix internal word-boundary widgets 2008-04-17 12:52:13 +00:00
Peter Stephenson
97dcf15556 24808: initial support for combining characters in zle 2008-04-13 16:58:42 +00:00
Peter Stephenson
567a8e1d50 24712: handling of backticks being requoted for double quotes 2008-03-14 12:14:04 +00:00
Peter Stephenson
4ff6e11df2 24609: try to be safe about using libiconv 2008-02-27 11:46:26 +00:00
Peter Stephenson
e21bd541a2 24600: yet another typo
24602: fix test when not run
2008-02-26 20:50:11 +00:00
Geoff Wing
3934b6d621 another fatfinger: change comparison to asignment 2008-02-26 17:53:31 +00:00
Geoff Wing
a1cca48d0f pws fatfingered the last change in utils.c 2008-02-26 17:49:31 +00:00
Peter Stephenson
4c7bb13f63 24596: use "US-ASCII" as charset if nl_langinfo(CODESET) returns "" or "646" 2008-02-26 16:19:33 +00:00
Peter Stephenson
f674ea76d2 24592: make types of charset conversion failure more explicit 2008-02-26 14:50:00 +00:00
Peter Stephenson
b5570971ef 24460: make zpty -rt more consistent by polling before every byte 2008-01-25 16:48:22 +00:00
Peter Stephenson
ac33044bd2 unposted: suppress harmless warning 2007-12-17 18:34:25 +00:00
Peter Stephenson
6e58a1df8f 24197: interface to ztrftime() for insufficient memory was broken 2007-12-09 14:58:36 +00:00
Peter Stephenson
cefc0d927f 24179: use queue_signals() for 24170
24180: back off strerror_r() patch, except for use of temporary var
2007-12-07 11:34:47 +00:00
Peter Stephenson
61320c44c1 24148: attempt to use strerror_r() to make errors in signal handle safer 2007-12-03 22:46:10 +00:00
Peter Stephenson
a47971f5b7 add some mod_export tags where needed 2007-11-20 09:55:09 +00:00
Peter Stephenson
1e836045b3 24070: some \u fixes in getkeystring() 2007-11-06 20:45:07 +00:00
Wayne Davison
ed1195ba58 Fixed the use of an uninitialized 'x' in spckword() if shout is NULL. 2007-10-31 06:22:57 +00:00
Peter Stephenson
6567e77a4e 24007: prompt allocation and use of "shout" 2007-10-22 10:22:16 +00:00
Peter Stephenson
f5a6b2a8c9 users/11818: allow non-numeric keys for job status parameters 2007-09-05 16:16:15 +00:00
Peter Stephenson
0564c9e999 23808: debugging for wcs_nicechar() 2007-08-30 15:18:25 +00:00
Peter Stephenson
bfa48687c0 23784: Use $'\...' for quoting unparseable characters 2007-08-20 21:22:18 +00:00
Andrey Borzenkov
ac1c483496 23409: disable prompt_sp output after ^D was seen and message printed 2007-05-10 11:36:22 +00:00
Peter Stephenson
cb01bab6c0 Phil Pennock: 23326: compilation without ICONV broken 2007-04-26 09:27:44 +00:00
Peter Stephenson
25bb07b80e Christoph Bauer: users/11416: bad use of VARARR() 2007-04-17 11:59:38 +00:00
Peter Stephenson
f48fa9eb9d unposted: prepare for release of 4.3.3 2007-04-16 13:21:24 +00:00
Peter Stephenson
af8a88e4f5 23248: Completion listing problem with lines nearly screen width
If compiled with debug send dputs() output to $ZSH_DEBUG_LOG if defined.
2007-03-29 21:35:39 +00:00
Bart Schaefer
07c5aeeb9a Small fix to 23177: compute *widthp and *swidep after nicechar(). 2007-02-26 18:47:25 +00:00
Peter Stephenson
910d446ca7 unposted: document some limitations of utils.c 2007-02-18 15:01:29 +00:00
Peter Stephenson
d283709363 23177: better formatting of unprintable multibyte characters under 256 2007-02-14 16:26:41 +00:00
Peter Stephenson
2c92d005d7 23165: fix problems with bases: error if over 36 and don't interpret octal 2007-02-12 16:43:40 +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
6cf7a3ef11 23153: restore old ztrcmp() and add comment about why 2007-02-07 10:18:30 +00:00
Peter Stephenson
0108088f52 23152: make ztrcmp() respect MULTIBYTE
make sorting of printed hash tables more consistent
2007-02-06 21:47:54 +00:00
Peter Stephenson
2b948e6c37 23138: further tweak to backslashes in $'...' 2007-01-27 23:52:13 +00:00
Peter Stephenson
df54eeed2c 23136: handle Bnulls now added in $'...' 2007-01-27 19:01:11 +00:00
Peter Stephenson
553e011320 23118: improve sorting to make it work with locales 2007-01-21 22:47:36 +00:00
Peter Stephenson
94bdf92a06 23097: splitting of $'...' strings in completion 2007-01-08 22:05:54 +00:00
Peter Stephenson
507c58262a 23071: signed characters with no multibyte support 2006-12-19 13:01:43 +00:00
Peter Stephenson
1cac90759a 23036: three more fixes for completion using $'...' 2006-12-08 18:52:04 +00:00
Peter Stephenson
34381548da Incomplete improvements for $'...' in completion 2006-12-03 21:07:17 +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
ee5ba733a8 unposted: typo in 22885 2006-10-19 08:50:00 +00:00
Peter Stephenson
7d75ea056b 22885: fix problems with multibyte tokenized strings
unposted: _todo.sh: more contexts
2006-10-19 08:40:58 +00:00
Peter Stephenson
d4d6cb5494 22852: users style effect changed in 22191
22853: unquoted ^ at end of bindkey string treated literally
2006-10-10 09:37:19 +00:00
Peter Stephenson
289b14113b 22819: improved internal use of string quotation,
plus completion bug fix with RCQUOTES
2006-10-05 21:53:26 +00:00
Peter Stephenson
8f98285662 22765: rename some MB_ macros to WC_ for consistency. 2006-09-23 20:25:05 +00:00
Peter Stephenson
78d1939ffd 22753: minor character bugs spotted on Cygwin 2006-09-21 16:36:53 +00:00
Peter Stephenson
bb3628e898 assume width 1 for control characters;
don't crash if width of repeated padding string is 0
2006-09-15 13:17:27 +00:00
Peter Stephenson
a242b1eb35 22705: make ${(l...)...} and ${(r...)...} handle multibyte characters 2006-09-13 20:55:29 +00:00
Peter Stephenson
80acfd135c 22684: improve getkeystring() interface and make printf do octal escapes 2006-09-10 18:10:48 +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
2ccad2310e 22599: use wide character widths in completion 2006-08-11 21:30:38 +00:00
Peter Stephenson
596d38fb07 22586: fix warnings spotted on Cygwin 2006-08-04 13:38:26 +00:00
Peter Stephenson
99fa8b90b2 22585: fix zsh.exports 2006-08-04 11:42:20 +00:00
Peter Stephenson
48d6402e65 rationalise mb<->wc conversions to use restartable form 2006-08-03 15:37:49 +00:00
Peter Stephenson
bb912594b2 22575: multibyte fixes for bslashquote(), getzlequery() 2006-08-01 21:28:04 +00:00
Peter Stephenson
b9bf52d1fc fix typos in 22556 2006-07-25 09:25:26 +00:00