1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-03 09:21:19 +02:00
Commit Graph

776 Commits

Author SHA1 Message Date
Sven Wischnowsky
3013e98ca4 fix completion after var+= to use value context (16418) 2002-01-08 15:33:23 +00:00
Sven Wischnowsky
2ed74b89ea don't report _arguments-specs more than once (not even shared options with multiple sets) (16417) 2002-01-08 15:29:46 +00:00
Sven Wischnowsky
ba968d10de make sure auto menu isn't started accidentially when bashautolist is set (16408) 2002-01-07 14:43:40 +00:00
Bart Schaefer
0524ab98ff 16400, 16401: preserve empty words that result from brace expansion. 2002-01-06 01:09:09 +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
Oliver Kiddle
1b608e1b9a 16372: allow signal names to be prefixed by `SIG' with kill builtin and fix
problem with no argument to kill -n and -s options
2001-12-21 16:33:39 +00:00
Geoff Wing
6ed0f4c4e9 16332: remove ansi2knr.c from our repository due to licence
differences.  Adjust the build process accordingly.  configure
will now abort if the user requests ansi2knr but no ansi2knr
is available.  ansi2knr is available from the main distribution
site and most mirrors
2001-12-20 23:48:38 +00:00
Oliver Kiddle
b9f675c0e0 16364: further to 16351, except specials from having their value cleared 2001-12-18 14:51:30 +00:00
Oliver Kiddle
68d739c67a small fix to += code from 16353 2001-12-18 09:16:17 +00:00
Clint Adams
0db3827ce2 unposted: back out idiotic patch 2001-12-18 01:24:23 +00:00
Clint Adams
9cf6e76e7d unposted: initialize save to NULL to avoid compiler warning. 2001-12-18 01:21:26 +00:00
Clint Adams
6feb3f57f4 16361: include <stdio.h> to avoid implicit declarations. 2001-12-18 01:13:22 +00:00
Oliver Kiddle
52b8303537 16353: add += parameter assignments 2001-12-17 17:17:38 +00:00
Clint Adams
8659013fb8 16357: change (n) to (u) so (n) can be reserved. for numeric sorting. 2001-12-17 14:06:27 +00:00
Oliver Kiddle
13ab7280aa fix bug in parameter unset code that caused seg fault (16351) 2001-12-17 11:10:46 +00:00
Clint Adams
56854a2fb6 ref 16347: tweaks 2001-12-17 01:16:36 +00:00
Clint Adams
1e103ebef3 16345: (n) flag to remove duplicate array values during expansion. 2001-12-16 20:53:44 +00:00
Bart Schaefer
dfb24f53ec 16269: Fix crash on reserved-word completion. 2001-11-28 18:30:51 +00:00
Bart Schaefer
01ce2a758c 16249: Clear here-documents on parse error. 2001-11-21 17:03:56 +00:00
Chmouel Boudjnah
195d8c5ec6 Add Mandrake completion directory to install 2001-11-15 12:35:47 +00:00
Peter Stephenson
b0c56c0561 16241: new rand48(param) math function 2001-11-15 12:10:22 +00:00
Oliver Kiddle
0e1845cbc6 16228: allow widths and precisions to work with printf's %b format specifier 2001-11-09 16:47:43 +00:00
Oliver Kiddle
d39feeffc4 16224: add -n option to kill and complete options from _kill 2001-11-06 15:06:59 +00:00
Bart Schaefer
c43a6be917 16094: zopenmax() need only return the highest-numbered open descriptor 2001-11-03 23:39:11 +00:00
Bart Schaefer
d98a67c569 16201: introduce the PM_NAMEDDIR flag 2001-11-03 23:36:33 +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
be640ed587 16215: save and restore mult_isarr in singsub() 2001-11-03 23:34:50 +00:00
Oliver Kiddle
19d2273cb7 16198: add %j prompt expansion and j test character for no. of jobs in prompt 2001-11-02 12:35:32 +00:00
Bart Schaefer
6a75b3c0c5 16197: limit' accepts unlimited'. 2001-11-01 15:41:40 +00:00
Wayne Davison
c1b837b152 Improved readhistline() to reject binary data better. (16184) 2001-10-26 23:47:10 +00:00
Peter Stephenson
c9e1fd9567 16176: Src/Modules/tcp.c, Src/Modules/zftp.c: after fdclose(),
TCP control fd is no longer valid, but we still need to remove
the session cleanly.
2001-10-26 17:15:17 +00:00
Peter Stephenson
6d798f6700 16172: freehostent -> zfreehostent to avoid name clash 2001-10-26 12:06:38 +00:00
Peter Stephenson
f1a55ddaa9 15793: Src/Modules/zftp.c: require zsh/net/tcp explicitly.
15171: Doc/Zsh/zftpsys.yo: minor changes of phrasing
2001-10-26 11:09:46 +00:00
Peter Stephenson
bb5d460f51 16145: try to handle identical RLIMIT_RSS and RLIMIT_VMEM better. 2001-10-25 11:18:51 +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
Bart Schaefer
14e13fb407 Fix infinite loop on `case' with xtrace. 2001-10-23 16:17:03 +00:00
Oliver Kiddle
c1441714b5 zero %n value when reusing printf format (16122) 2001-10-23 11:22:33 +00:00
Peter Stephenson
acd69a7ba3 Pavel Roskin <proski@gnu.org>: compilation for QNX 2001-10-22 17:18:29 +00:00
Bart Schaefer
3793c1c05b Report error on setting a limit to a string that os not a decimal number. 2001-10-22 15:44:19 +00:00
Bart Schaefer
a698189843 Fix segfault in checkrmall(). 2001-10-20 17:48:23 +00:00
Oliver Kiddle
62829b856d allow arguments to be specified in printf format specifications (16080) 2001-10-18 14:22:21 +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
Clint Adams
6ef62b386b 16062: use O_EXCL when opening a temporary file. 2001-10-16 04:13:29 +00:00
Wayne Davison
34c4e565d0 Fix HIST_NO_SPACE when INTERACTIVE_COMMENTS is set and we get a
comment.
2001-10-15 18:42:52 +00:00
Oliver Kiddle
577ebe0b8a use arithmetic evaluation for numeric arguments to printf (16042) 2001-10-15 11:34:27 +00:00
Sven Wischnowsky
0e6f265516 for caching of compiled patterns: remember that singsub() might modify the string it gets, compare with unmodified string (16041) 2001-10-15 11:28:07 +00:00
Bart Schaefer
fdb4782642 Remove <arpa/telnet.h> from tcp.c. 2001-10-14 17:23:30 +00:00
Bart Schaefer
594ad37c37 Save/restore state around DEBUG trap call. 2001-10-13 17:54:28 +00:00
Sven Wischnowsky
dc472db5f0 hide all but one match with the same string in the list even for unsorted groups (15991) 2001-10-09 09:50:12 +00:00
Oliver Kiddle
bc0f49e09b remove duplicated includes which caused problems on IRIX 5 (15987) 2001-10-08 16:36:54 +00:00
Oliver Kiddle
648d1c2756 add print -f option, %n format specifier and tests for print/printf (15973) 2001-10-08 10:47:46 +00:00
Peter Stephenson
cc0d931682 15931: EXIT traps from exit in subshell; 15965: glob -> zglob 2001-10-08 08:13:11 +00:00
Andrey Borzenkov
b109834dc2 15964: use SOCKLEN_T 2001-10-08 07:19:35 +00:00
Oliver Kiddle
a5890553e8 add printf builtin (15851, 15948) 2001-10-05 15:02:18 +00:00
Sven Wischnowsky
aac666130c fix calculation of number of columns needed with list_packed (15946) 2001-10-05 12:44:00 +00:00
Clint Adams
1bbe1d1b0a 15919: use LinkLists in place of somewhat equivalent code 2001-10-02 02:35:00 +00:00
Bart Schaefer
b5c135b2da Zftp control connection management cleanup. 2001-09-28 17:35:44 +00:00
Clint Adams
8c05772007 15886: use select if poll is not available, or complain if neither are available 2001-09-27 15:36:41 +00:00
Bart Schaefer
5fdcd3a2b4 Equivalence of $(...) and ... in ${(e)...}. 2001-09-25 17:37:54 +00:00
Sven Wischnowsky
ae9c181d6b 15869 2001-09-25 12:50:45 +00:00
Sven Wischnowsky
c2266c1f5f job text building code couldn't handle empty sublists (as in `coproc || test') (15868) 2001-09-25 12:10:05 +00:00
Bart Schaefer
63ecd0332b Fix out-of-memory on corrupt history files. 2001-09-24 15:15:08 +00:00
Peter Stephenson
11b0734108 * Src/builtin.c, Src/exec.c: Unwind function calls before exiting
shell from exit command to allow EXIT traps to run.
2001-09-24 10:12:51 +00:00
Bart Schaefer
b27659c6b3 Fix misleading error message. 2001-09-20 14:45:07 +00:00
Wayne Davison
f38b2c5aa8 Further modify the "fc -l" code to tolerate out-of range values. 2001-09-18 17:50:26 +00:00
Wayne Davison
4fb4f4cd7a Fixed doisearch() to not switch lines unless zlereadflags has
ZLRF_HISTORY set.
2001-09-17 18:30:49 +00:00
Wayne Davison
2a754dbb61 With HIST_NO_STORE, don't ignore what looks like a history command if
we're really going to call a user-defined shell function.
2001-09-15 06:28:15 +00:00
Wayne Davison
fc89b8135a + Changed addhistnum() to return firsthist()-1 or curhist+1 on error.
+ Ignore the "r" command if HIST_NO_STORE is set.
2001-09-13 18:19:11 +00:00
Wayne Davison
6a7d256a58 + Changed fclist() to not not transform "fc -l 0 0" into "fc -l 1 1".
+ Changed fcgetcomm() to handle new error return from addhistnum().
2001-09-13 18:19:08 +00:00
Clint Adams
ab205e5bb9 15780: rename **arg to **dargs 2001-09-10 19:19:15 +00:00
Clint Adams
2e174804c8 15779: ztcp -d 2001-09-10 15:23:37 +00:00
Clint Adams
718fb33b29 stupid bugfixes 2001-09-10 12:37:21 +00:00
Clint Adams
cb0f8a08c7 unposted: stupid -a bug 2001-09-10 02:41:20 +00:00
Clint Adams
7093e779e6 15771: ztcp -t 2001-09-10 02:17:55 +00:00
Clint Adams
5eb6315b3e 15769: ztcp -a 2001-09-09 23:33:06 +00:00
Clint Adams
3756589f1b 1576x: take service names, stuff fd numbers into $REPLY 2001-09-09 22:08:55 +00:00
Clint Adams
394989e292 15766: ztcp -l 2001-09-09 09:39:24 +00:00
Clint Adams
a11772c617 15765: introduce [:ascii:] class 2001-09-09 06:17:02 +00:00
Clint Adams
9a31296b3e 1596x: ztcp -v 2001-09-08 22:08:04 +00:00
Clint Adams
b554563ece 15762: introduce ztcp builtin 2001-09-08 21:09:55 +00:00
Andrew Main
b73d71105e 15734: zle -K option to select a keymap, and zle KEYMAP parameter to
examine the current selection.
2001-09-03 01:39:19 +00:00
Sven Wischnowsky
c0ea4d62c8 handle possible NULL pointer returned from bufferwords() (15717) 2001-08-28 08:41:51 +00:00
Bart Schaefer
bc1bdea9db Fix PS2 for dquote nested in braceparam. 2001-08-27 07:31:37 +00:00
Bart Schaefer
135eebde60 Fix crash on re-entry to loop() from preprompt(). 2001-08-25 16:44:15 +00:00
Sven Wischnowsky
b70ec86efe test if hash table pointer is NULL to avoid SEGV with compstate=() (15705) 2001-08-24 09:25:38 +00:00
Clint Adams
ffec7684a7 15675: Src/Builtins/rlimits.awk: handle case where RLIM_NLIMITS is set to a number within an enum. 2001-08-21 20:05:33 +00:00
Sven Wischnowsky
647674f6ab undo most of 15650, do that in shell code (15669) 2001-08-20 13:13:49 +00:00
Bart Schaefer
87ca460fe5 Fix exit status of zsh -fc '! command' 2001-08-19 04:23:46 +00:00
Sven Wischnowsky
66576ecbf8 15650 2001-08-17 09:25:21 +00:00
Sven Wischnowsky
0f880152fc 15639 2001-08-16 08:48:27 +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
Bart Schaefer
d978bb894e Fix and regression tests for crash on typeset of local array elements. 2001-08-13 17:43:04 +00:00
Wayne Davison
fe98c239b5 Silence "might be used uninitialized" warnings. 2001-08-08 07:44:00 +00:00
Wayne Davison
4afcd4b149 Got rid of unused variables. 2001-08-08 07:41:04 +00:00
Wayne Davison
21dba96cd6 Silence "might be used uninitialized" warning. 2001-08-08 07:41:01 +00:00
Sven Wischnowsky
7e23143359 follow-up to 15588; add -w option to _values (look at all words); change _dd back (15597) 2001-08-08 07:20:56 +00:00
Wayne Davison
f7e8ca1d96 When rewriting the history file, set histactive to 0 and restore it
when we're done.  This prevents the loss of the file's last line
when a signal causes us to rewrite it.  Also restore the value of
histsiz.
2001-08-07 19:53:19 +00:00
Peter Stephenson
23581f7664 15586: remove =alias expansion, leaving only =cmd. 2001-08-07 10:18:31 +00:00
Sven Wischnowsky
ab14a745a6 increment zwc fie version (which means changing the magic number) (15584) 2001-08-07 09:07:12 +00:00