Sven Wischnowsky
6d81779954
remove nulargs in here strings (15470)
2001-07-24 14:17:31 +00:00
Sven Wischnowsky
79dbcc8382
don't use compsuffix when it might be freed; use the right variable in that loop there, dammit (15433)
2001-07-20 10:54:38 +00:00
Sven Wischnowsky
facff10b11
yet another followup to 15497; make _describe filter out non-matching strings before calling compdescribe, otherwise some matches will be hiddens (15415)
2001-07-19 08:40:36 +00:00
Sven Wischnowsky
6a3e89d539
fix for 15407; there may be sets without matches (15409)
2001-07-18 13:52:53 +00:00
Sven Wischnowsky
8c1b953b5a
add list-grouped option to make options and such be grouped together if they have the same description; matches with line-display strings can be hidden; hi and du capabalities in complist are only used if set by the user (15407)
2001-07-18 13:10:07 +00:00
Sven Wischnowsky
bd629defe8
(15357)
2001-07-10 09:25:43 +00:00
Peter Stephenson
7060b34457
15334: use string "(eval)" as script name in debugging messages in eval's
2001-07-09 18:31:24 +00:00
Bart Schaefer
7457bdc19d
Fix function stack unwinding on autoload failures.
2001-07-09 16:20:53 +00:00
Peter Stephenson
003ec8c7e8
15327: always use local LINENOs in parse_string().
2001-07-09 16:05:13 +00:00
Bart Schaefer
d8aee67492
Fix infinite loop on `r OLD=NEW' when OLD is the empty string.
2001-07-08 00:33:45 +00:00
Bart Schaefer
22faf1fa4b
Suppress XTRACE during user-defined widgets.
2001-07-08 00:32:12 +00:00
Bart Schaefer
0467a101da
Don't always coerce to float when assigning to an unset parameter.
2001-07-08 00:30:43 +00:00
Peter Stephenson
2c75f5b0da
15291, 15292: fix bug setting scalar in math mode
2001-07-06 18:33:59 +00:00
Clint Adams
3dc88e102e
15250: still run setup even if pcre functions are unavailable
2001-07-06 18:04:39 +00:00
Peter Stephenson
f486329a16
15265: Src/parse.c: correction problems with new `for' syntax
2001-07-06 09:40:01 +00:00
Peter Stephenson
4a8b8bd752
15277: Src/glob.c: real backreferencing bug with ${(S)...%%...}
2001-07-06 09:23:55 +00:00
Peter Stephenson
40e17d980f
back out 15266
2001-07-06 09:03:46 +00:00
Bart Schaefer
a45ff6cdb7
Avoid static link of pcre module.
2001-07-06 08:32:14 +00:00
Peter Stephenson
55d4ee8c6d
15266: fix for ${(S)...%%...}
2001-07-05 23:53:05 +00:00
Andrey Borzenkov
7c0a534298
15253 : hash foo together with foo.exe on Cygwin
2001-07-05 11:43:10 +00:00
Clint Adams
b65dcc197b
15242: pcre_match -a and $match instead of pparams
2001-07-04 15:13:33 +00:00
Clint Adams
38833690cb
15228: AC_CHECK_LIB->AC_SEARCH_LIBS, set pparams with capture buffers
2001-07-03 16:42:36 +00:00
Clint Adams
ad57c03213
unposted: update distfiles for 15211
2001-07-03 14:19:15 +00:00
Clint Adams
bff61cf9e1
15211: zsh/pcre module
2001-07-02 19:39:34 +00:00
Oliver Kiddle
0f960cc8ca
fix IRIX 5.3 specific compilation problems and some error messages (15204)
2001-07-02 11:33:26 +00:00
Bart Schaefer
70c4e162c6
Reset errflag after executing precmd.
2001-06-30 18:30:54 +00:00
Wayne Davison
963466358a
Have prepnexthistent() remove any HIST_TEMPSTORE entry that is present.
2001-06-28 18:17:14 +00:00
Sven Wischnowsky
51503a87a2
(only the patch to compmatch.c from the mail); improve merging cline lists coming from different IPREFIX/PREFIX combinations and such by avoiding to generate cline structs for empty parts after a match spec anchor cline struct (15123)
2001-06-27 13:18:38 +00:00
Sven Wischnowsky
b275190ff4
add autocontinue option to automatically make stopped jos running when they are being disowned; make that the default for %job &!' and
%job &|' (15115)
2001-06-27 11:22:04 +00:00
Sven Wischnowsky
e067118efc
fix for finding the first ambiguous path component in compfiles (3946)
2001-06-26 09:05:10 +00:00
Sven Wischnowsky
2ca99605ed
make warning message for disowning stopped jobs more verbose (saying how to make the job running again) (15087)
2001-06-26 08:18:22 +00:00
Peter Stephenson
1897a361bf
15030: multi-parameter `for' loops
2001-06-25 16:07:51 +00:00
Sven Wischnowsky
bbd2a98f41
make expand-word not always restore the command line (3940)
2001-06-25 09:32:21 +00:00
Bart Schaefer
f0dd0ced30
PRINT_EXIT_VALUE for shell functions.
2001-06-25 00:15:04 +00:00
Bart Schaefer
2e4a17b32f
Change magic-space to respect !".
2001-06-24 03:42:09 +00:00
Bart Schaefer
f11e227cb0
POSIX exit status changes.
2001-06-23 18:30:55 +00:00
Andrey Borzenkov
791e11a084
15021: new %y character; %l semantic back
2001-06-22 09:44:06 +00:00
Bart Schaefer
e25f86419e
No POSIX "for" syntax with csh syntax.
2001-06-21 10:54:49 +00:00
Bart Schaefer
6c074dfaf3
POSIX "for" syntax.
2001-06-21 10:09:08 +00:00
Peter Stephenson
ef6193b89b
rewrite 14988 as per 14989
2001-06-20 11:02:47 +00:00
Peter Stephenson
79ed1a0e22
Bug restoring saving special parameters for function scope.
2001-06-20 10:06:51 +00:00
Bart Schaefer
0672033cfc
Compiler warnings.
2001-06-19 15:46:53 +00:00
Andrey Borzenkov
9b9e940117
14973: fix for reported problems on AIX.
2001-06-19 06:59:24 +00:00
Peter Stephenson
528d2af1e5
more handler -> zhandler
2001-06-18 09:29:48 +00:00
Sven Wischnowsky
39e152d297
make zcompile unlink() the zwc file first (in case it is currently mapped we don't want to overwrite it); also, create the file read-only (14952)
2001-06-18 07:34:34 +00:00
Sven Wischnowsky
3c7f60d084
rename handler() to zhandler() because it's now exported to modules (14951)
2001-06-18 07:24:22 +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
Peter Stephenson
3f6a9e4522
fix setting of individual positional parameters after 14915
2001-06-15 13:07:50 +00:00
Andrey Borzenkov
12e1cf567d
14931: fix socket/address length calculation
2001-06-15 13:01:42 +00:00
Peter Stephenson
d247b7f146
$* and $@ are special
2001-06-14 09:49:01 +00:00
Sven Wischnowsky
a5a5aa4e3e
fixes for display bugs for completion lists (cursor left one line to far up or down) (14903)
2001-06-13 14:03:44 +00:00
Peter Stephenson
6bb50488ab
mod_export handler
2001-06-13 11:50:09 +00:00
Sven Wischnowsky
71a9847d48
fix for comparguments (completing after single letter options that get their argument in the next word); make _values ignore some of the standard option it may get; make _mount use _dir_list in some places and improve that; `document' comparguments and compvalues with some comments in computil.c (14897)
2001-06-13 11:05:51 +00:00
Clint Adams
f6ae716fb8
14863: tcp_connect
2001-06-12 15:57:25 +00:00
Peter Stephenson
c26704f7a3
Added KSH_TYPESET option.
2001-06-12 10:34:57 +00:00
Clint Adams
ae09302120
14843: tcp_close
2001-06-11 14:21:57 +00:00
Sven Wischnowsky
9cc9cc9466
(14841)
2001-06-11 11:46:23 +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
Bart Schaefer
6663b86f92
Fix #includes for gcc 2.95 compilation.
2001-06-08 03:05:50 +00:00
Bart Schaefer
2a9ceecf13
Untrustworthy return value of tgetflag().
2001-06-08 03:03:28 +00:00
Wayne Davison
b207aeeded
Don't mark a HIST_TMPSTORE entry with HIST_OLD so that the HFILE_FAST
...
algorithm in savehistfile() will recheck this hist num later.
2001-06-08 00:15:18 +00:00
Clint Adams
8e87930abb
unposted: add tcp module to .distfiles
2001-06-07 14:33:49 +00:00
Clint Adams
1b02f6d302
14778: rename zsh/tcp to zsh/net/tcp.
2001-06-06 19:14:30 +00:00
Clint Adams
ba81d70453
14770: tcp module from zftp
2001-06-06 18:53:56 +00:00
Andrey Borzenkov
6c187b251a
14766: unify %l substitution (tty0, pts/3 etc)
2001-06-06 16:38:50 +00:00
Andrey Borzenkov
4b44bbb3fb
unposted; based on 14679 (me) and 14693 (Bart): Allow processing by both
...
autoconf-2.13 and autoconf-2.50; remove config.status hack for autoconf-2.50
2001-06-06 08:37:21 +00:00
Sven Wischnowsky
0ce4b800a3
fix for exclusion of normal arguments (14630)
2001-06-01 08:53:50 +00:00
Sven Wischnowsky
171855e2e2
fix tag-order problem with _arguments (completion after an option that gets an argument in the same word); and a fix for completion after -ab, where -a gets an argument in the next word and -b gets one in the same word (14607)
2001-05-31 12:38:34 +00:00
Sven Wischnowsky
1b2d095217
fix two memory leaks (at least I hope they are fixed) and some out-of-bound array accesses, plus some defensive programming for heap allocated param structs (14605)
2001-05-31 09:43:59 +00:00
Bart Schaefer
14be3dd5e4
Improve gettermcap().
2001-05-30 15:39:31 +00:00
Clint Adams
ac4d669afb
145??: fix thinko
2001-05-29 21:41:53 +00:00
Clint Adams
e56c42c9fe
145??: repeat last vi history search if search string is blank
2001-05-29 20:20:34 +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
Sven Wischnowsky
1bb5d5aeb5
print at least a warning when disowning a stopped job (14524)
2001-05-29 09:49:58 +00:00
Clint Adams
c58a4e7e28
14517: glibc 2.2.3 tweaks revisited
2001-05-28 23:26:23 +00:00
Bart Schaefer
ecbc4e4457
Silence compiler warnings.
2001-05-28 17:39:00 +00:00
Sven Wischnowsky
1d5fbf228d
fix for cursor positioning with that -y option of compctl (display strings) (14507)
2001-05-28 11:42:00 +00:00
Sven Wischnowsky
5fe1924155
make the zprof wrapper function be more careful, avoiding almost all of the code when the module is being unloaded (14504)
2001-05-28 09:23:39 +00:00
Sven Wischnowsky
96fd8a11d3
another attempt at fixing the job problem from 14327; make execpline() reset list_pipe_job to zero if it would be set for a job started in the background (14503)
2001-05-28 09:00:21 +00:00
Wayne Davison
f18dca3266
Fixed acceptandinfernexthistory() to work when called repeatedly.
...
Also changed it to not accept the line if the infer fails. Ignore
transient edits in the history when searching for an inference and
grabbing the next line (affecting acceptandinfernexthistory(),
infernexthistory(), and acceptlineanddownhistory()).
2001-05-26 20:57:16 +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
Clint Adams
f670ec692f
14419: glibc 2.2.3 rlimits enum
2001-05-21 17:02:59 +00:00
Andrey Borzenkov
7270c28a39
14401: workaround for script execution under Cygwin
2001-05-20 10:59:27 +00:00
Wayne Davison
792135ba0b
Added some array-assignment boundary checks.
2001-05-20 09:20:46 +00:00
Peter Stephenson
6ea2dab092
Fix, test and comment unsetting and resetting of special tied parameters
2001-05-19 23:47:58 +00:00
Wayne Davison
f99520aeb0
Don't merge a HIST_TMPSTORE entry with a previous "duplicate" line.
...
Also, don't call addhistnode() on a HIST_TMPSTORE entry.
2001-05-19 09:22:10 +00:00
Wayne Davison
7e17db1fdc
The function addhistnode() is no longer called for a HIST_TMPSTORE
...
entry, so I removed the checking for that flag. Also, freehistdata()
now avoids calling removehashnode() on a HIST_TMPSTORE entry.
2001-05-19 09:22:07 +00:00
Bart Schaefer
90a1316345
Fix re-set of integer special params after unset.
2001-05-19 00:31:22 +00:00
Peter Stephenson
4544933427
fix zmodload -uf for not-yet-loaded function
2001-05-18 15:23:08 +00:00
Sven Wischnowsky
11e3147466
try to make ${(e)..} work for complicated parameter expansions in the value; this means: keep Qstring tokens unchanged if they are inside double quotes and tokenizing patterns in parameter expansions (14381)
2001-05-18 12:39:24 +00:00
Bart Schaefer
071b084ea8
Signal queuing tweak.
2001-05-17 15:56:12 +00:00
Sven Wischnowsky
8e20d1da63
more fixage for expansion: just convert the command line to the original when expansion shouldn't or couldn't do something sensible on the line (14359)
2001-05-16 10:27:06 +00:00
Wayne Davison
4a28d81c47
Added HIST_TMPSTORE define.
2001-05-15 16:32:28 +00:00
Wayne Davison
9f9ced8c62
+ Changed histreduceblanks() to preserve spaces at the start of the
...
line when HISTIGNORESPACE is set.
+ Flag a history entry with HIST_TMPSTORE when should_ignore_line()
returns true (instead of dropping it from the history immediately).
+ Get rid of old HIST_TMPSTORE entries when a new command is entered.
+ The hist-file-reading code now handles destroying a foreign
duplicate (when marked as duplicate by addhistnode()).
2001-05-15 16:32:25 +00:00
Wayne Davison
eb71464b09
Changed addhistnode() to not displace an already-hashed command with
...
one that is marked HIST_TMPSTORE. Also changed the function to not
ever destroy the entry we're currently adding (the caller now destroys
the newly-added entry, if it so desires).
2001-05-15 16:32:22 +00:00
Sven Wischnowsky
dc9d78c659
(14350)
2001-05-15 13:52:22 +00:00
Peter Stephenson
231f077a75
14348: fix globalexport with typeset -g
2001-05-15 10:02:34 +00:00