1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 00:41:44 +02:00
Commit Graph

1273 Commits

Author SHA1 Message Date
Peter Stephenson
b72a946185 Fix handling of metafied characters in trailing whitespace on read 2005-04-25 10:18:25 +00:00
Bart Schaefer
38d2734e0a Remove excess argument of zwcstat() 2005-04-24 18:39:02 +00:00
Bart Schaefer
813cb26e40 21174 adjustments to 21170 2005-04-24 18:38:38 +00:00
Peter Stephenson
5733e942f5 Optimise length calculations for ${...//.../...} 2005-04-24 00:38:07 +00:00
Geoff Wing
e71c9f6c01 20162: in printlist() don't output new line if we haven't printed anything 2005-04-22 02:46:40 +00:00
Peter Stephenson
d6089cc8b1 21143: more care about special file descriptors 2005-04-15 10:40:01 +00:00
Peter Stephenson
c69b149cb5 21141: fix some issues associated with the {myfd}>... syntax 2005-04-14 16:24:42 +00:00
Peter Stephenson
b3f8e32e5c 21133: New {myfd} syntax for allocating file descriptors 2005-04-12 15:11:07 +00:00
Peter Stephenson
7b9cff2754 21131: exit with status 127 when script not found 2005-04-11 10:23: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
8776b52d7d Toby Peterson: 21083: RLIMIT_AS and RLIMIT_RSS are the same in Mac OX X
ut_name needs to be ut_user in struct utmpx
2005-04-04 09:58:44 +00:00
Peter Stephenson
82c9c7a423 21082: Dan Nelson: fix zsh -c exit status on parse error 2005-04-04 09:35:36 +00:00
Peter Stephenson
b51472dd5f 21078: parse errors didn't cause non-zero exit status 2005-04-01 10:16:59 +00:00
Peter Stephenson
38eb8ac293 21049: Don't close process substitution file descriptors for external programmes 2005-03-31 09:54:54 +00:00
Peter Stephenson
24699f961d 21045: fix some uses of Meta characters in completion 2005-03-21 18:49:04 +00:00
Peter Stephenson
5d7ee7574a 21042: limitations with execute-named-command 2005-03-21 17:07:25 +00:00
Wayne Davison
bb738368ba Honor the setting of the new HISTSAVEBYCOPY option when rewriting
the history file.
2005-03-18 22:40:28 +00:00
Wayne Davison
5d07d6db9a Added the histsavebycopy option. 2005-03-18 22:40:26 +00:00
Wayne Davison
e6435dcca6 Added HISTSAVEBYCOPY to the options enum. 2005-03-18 22:40:23 +00:00
Peter Stephenson
63f6742e9a 21014: remember_edits() was broken 2005-03-18 18:27:51 +00:00
Peter Stephenson
51ec0b8079 20983: failed glob from fixed strings segments in globbed paths 2005-03-16 11:50:50 +00:00
Peter Stephenson
31aaabe1bc 20978: don't propagate EOF from recursive edits 2005-03-15 10:50:58 +00:00
Bart Schaefer
65f01182b9 Belated commit of 20892: improvements to correct/correctall behavior. 2005-03-11 15:22:10 +00:00
Peter Stephenson
15b78be794 20966: fix crash in execute-named-command 2005-03-11 10:33:39 +00:00
Peter Stephenson
43d480057b 20959: fix crash unloading zsh/parameter and test the fix 2005-03-10 17:55:37 +00:00
Peter Stephenson
7208c4024e 20955: "unset foo" should return status 0 if foo was not set 2005-03-09 17:13:59 +00:00
Peter Stephenson
9edff429d8 20945: rename statics to avoid clash with globals 2005-03-07 11:11:18 +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
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
Clint Adams
4a007b41d7 * 20911: Src/Modules/termcap.c: and set affcnt to 1 unconditionally
when we echotc a capability with arguments (which we then assume to
be the 'cm' capability, with arguments in the form <rows> <columns>.
2005-03-02 16:13:35 +00:00
Clint Adams
27c52ad072 * 20909: Src/Modules/termcap.c: reverse row and col arguments to tgoto. 2005-03-02 15:12:25 +00:00
Peter Stephenson
af1c6ecdc7 20888: allow signal names to have the SIG prefix included 2005-02-28 14:29:09 +00:00
Andrey Borzenkov
ae6c23ae2c 20872: fix ZS_{icntrl,tolower} vs. ZC_{incntrl,tolower} confusion 2005-02-26 07:40:54 +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
29b6b82ade 20866: fix deliberate errors in 20861 2005-02-24 21:10:44 +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
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
0da7162ed6 20856: use VARARR for multibyte string. 2005-02-23 13:59:33 +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
85b63c0c03 20844: prune trailing slashes from named directory 2005-02-22 18:23:16 +00:00
Peter Stephenson
b83f0e2290 Andrej: 20838: get ZLE_UNICODE_SUPPORT basically working 2005-02-22 13:12:35 +00:00
Peter Stephenson
ee5aada47b 20833: typo: int_t -> wint_t 2005-02-21 11:18:49 +00:00
Peter Stephenson
e34d2df070 20828: typos in 20822 2005-02-18 17:30:55 +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
213dc8b210 20816: update rlimits for new glibc 2005-02-16 17:40:29 +00:00
Peter Stephenson
20018230ee 20812: Add functions for exception handling 2005-02-15 18:31:41 +00:00
Peter Stephenson
aaec0ef0ad 20798: propagate an #ifdef to prototypes 2005-02-07 15:53:13 +00:00
Peter Stephenson
6ab69b60c9 20794: Change version to 4.3.0-dev-1
Don't compile in a static in init.c unless needed.
2005-02-07 12:33:48 +00:00
Peter Stephenson
05b06b1c08 fix autoloaded trap bug; rejig use of trapfuncs
(now traplists); improve trap tests
2005-02-06 20:36:09 +00:00
Bart Schaefer
facf0309bb 20774: fix e.g. "FOO=BAR BAR=FOO echo" failure to unset FOO after finishing. 2005-02-02 04:51:13 +00:00
Peter Stephenson
d1d6742848 20759, 20760, 20765: Improve Cygwin configuration 2005-02-01 10:52:50 +00:00
Clint Adams
efab849310 * 20753: use ZS_memmove instead of memmove. 2005-01-26 18:37:28 +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
77bd05014d 20750: fix hang with 20742 2005-01-26 12:34:31 +00:00
Peter Stephenson
efd03cf9e8 20742: More Unicode conversion stuff. 2005-01-25 16:40:41 +00:00
Peter Stephenson
b80c6b0863 users/8422: [[ ... -nt ... ]] with bad stat caused
mayhem in initialisation files, functions, etc.
2005-01-24 11:02:59 +00:00
Clint Adams
8ae8a91b8b * 20736: Src/Zle/zle_utils.c: change zlegetline() to return a metafied string. 2005-01-22 16:26:32 +00:00
Clint Adams
0038b1a682 * 2073x: Src/Zle/zle_utils.c, Src/hist.c: modify zlegetline() and zlegetline
caller so that the octet-based and wide-character versions should return
   the same string.
2005-01-22 04:03:05 +00:00
Wayne Davison
2fb65d215f Fixed compiler warning about a missing initializer. 2005-01-21 11:16:34 +00:00
Wayne Davison
e63e45ae62 Got rid of "unused parameter" compiler warning for nullsethashfn(). 2005-01-21 11:15:36 +00:00
Peter Stephenson
f8d74c1aab 20728: add RLIMIT_SIGPENDING and RLIMIT_MSGQUEUE,
also use ulimit -x for RLIMIT_LOCK
2005-01-19 13:03:33 +00:00
Clint Adams
7c2424d022 * 20718: Src/Zle/zle_utils.c: minor cleanup for proto-Unicode stuff. 2005-01-16 16:24:28 +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
81b9354238 users/8359: add Darwin completion directories by default 2005-01-12 17:28:58 +00:00
Oliver Kiddle
df7ffd2999 20701: fix compilation on Mac OS X: define is __APPLE__, not APPLE 2005-01-12 16:34:31 +00:00
Peter Stephenson
77166e259e 20695: Fix Cygwin problem with initialising from pointer to imported variable 2005-01-12 12:18:58 +00:00
Peter Stephenson
43ac170305 Fix .distfiles and .cvsignore 2005-01-12 10:53:06 +00:00
Clint Adams
8db6e42ecd * 20657: Src/Zle/zle_tricky.c: sort completions partially based on LC_COLLATE setting. 2005-01-11 18:24:51 +00:00
Bart Schaefer
2bc51c9dbc 20666: Avoid creating unnecessary multios when a descriptor is closed and
then re-opened.
2005-01-11 17:09:19 +00:00
Peter Stephenson
a92d2d84c0 20661: *(+func) = *(e:func:) 2005-01-10 17:31:07 +00:00
Peter Stephenson
849b808da6 20632: incorrect propagation of signals to process group 2005-01-05 11:04:21 +00:00
Peter Stephenson
69b4b8bdde 20605: Use separate structure with get/set/unset methods fro parameters.
Separate justification width of parameters from base/precision.
2004-12-07 16:54:58 +00:00
Wayne Davison
bb78896c7f A few minor style tweaks (as discussed in 20595 and 20596). 2004-12-01 18:18:23 +00:00
Wayne Davison
8b136c84d2 Corrected the error-return comment for zchdir() and optimized the
HAVE_FCHDIR error-return code.
2004-11-29 16:26:12 +00:00
Peter Stephenson
d2c67e5e19 20591: Stephane Chazelas: use of fchdir in zchdir leaked fd's 2004-11-29 12:09:13 +00:00
Peter Stephenson
cebe5f1d10 20592: Debian bug#283358: $((##)) failed erratically 2004-11-29 12:07:04 +00:00
Peter Stephenson
138c5df2bb 20576: fix core dump on TRAPEXIT 2004-11-23 16:29:50 +00:00
Peter Stephenson
5141e68daa 20572: Allow alternative signal names 2004-11-22 10:33:03 +00:00
Peter Stephenson
c1a3961657 20568: debug test in pattern.c was out of date 2004-11-19 15:15:23 +00:00
Peter Stephenson
e022a9814a 20566++: prefer SIGCHLD to SIGCLD and SIGPOLL to SIGIO 2004-11-19 09:57:22 +00:00
Peter Stephenson
ba32e52292 users/8219: add $HISTCMD 2004-11-16 19:05:50 +00:00
Peter Stephenson
fece5e8960 20556: change SOCKLEN_T to ZSOCKLEN_T to avoid clash 2004-11-16 11:04:25 +00:00
Bart Schaefer
33686bdc98 fix "compadd -k assoc1 assoc2" 2004-11-05 16:19:19 +00:00
Peter Stephenson
f9c66cd45e 20528: exec 8>>(grep a) waited incorrectly for grep to finish 2004-10-29 10:14:21 +00:00
Peter Stephenson
c8e70ab5cf 20522: must-match optimisation in parameter substitution broken 2004-10-26 17:20:21 +00:00
Wayne Davison
106329c82e Fixed an arg in a call to times() (from Borzenkov Andrey). 2004-10-22 19:38:59 +00:00
Peter Stephenson
feca88ede6 20513: fix tests of zero-length patterns
trivial optimisation in jobs.c (unposted)
2004-10-22 15:36:35 +00:00
Wayne Davison
3ccc3e4bdc Use the new gettempfile() function. 2004-10-21 00:33:50 +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
7f1ad7a40e Added bicat() that works like dyncat(), but uses permanent memory
instead of the heap.
2004-10-18 19:13:57 +00:00
Wayne Davison
8901caa58f Call gettempname() with its new args. 2004-10-18 19:07:55 +00:00
Wayne Davison
9a4cf8cf72 - Fixed an unsafe use of gettempname().
- Call gettempname() with its new args.
2004-10-18 19:07:50 +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