Bart Schaefer
14428d46e4
12193: Rather than replace @RLIMITS_INC_H@ with /dev/null on platforms where
...
getrlimit() is not found, replace it with nothing and append /dev/null to
the awk command in rlimits.mdd, so that we don't end up with a dependency of
rlimits.h on /dev/null (which can cause rlimits.h to be needlessly remade).
2000-07-07 17:12:17 +00:00
Oliver Kiddle
708dc69d38
AIX dependency fixes
2000-07-04 15:04:17 +00:00
Peter Stephenson
4ae42bb70e
shut compiler up
2000-07-04 10:02:26 +00:00
Peter Stephenson
7f5828f0fb
12149: guard against undefined h_errno in zftp
2000-07-04 08:44:03 +00:00
Peter Stephenson
a7f0716ddb
12138: setting arrays in math context
2000-07-03 10:10:07 +00:00
Peter Stephenson
43f3a58597
12121: stopmsg in precmd
2000-07-03 08:48:22 +00:00
Sven Wischnowsky
0ddb4fb835
change format style with warnings tag, don't add descriptions as matches; make a-a-i-n-h in menu selection work even without matches (12134)
2000-07-03 08:05:27 +00:00
Sven Wischnowsky
0f398e9d2f
fix for `foo () print bar' (function definitions without braces) (12125)
2000-06-29 12:08:25 +00:00
Sven Wischnowsky
806e8aa6af
quote brace-strings (12113)
2000-06-29 06:59:00 +00:00
Bart Schaefer
d38f54a928
12112: Don't make namedirs out of hash elements.
2000-06-28 17:10:05 +00:00
Sven Wischnowsky
04bf39bf2e
fix for list-colors handling (12107)
2000-06-28 13:59:21 +00:00
Sven Wischnowsky
0334b4df7c
make a-a-i-n-h in menu selection work with one match; better undo behaviour for menu selection (12093)
2000-06-28 07:29:59 +00:00
Sven Wischnowsky
c8812bb0c8
Andrej: don't close slave if not yet open (12084)
2000-06-27 14:25:05 +00:00
Peter Stephenson
dcd94d3786
Andrej: 12081: zpty under cygwin
2000-06-27 08:42:27 +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
Sven Wischnowsky
3ff5a17d8c
remove compfmt; a bit of explanation for compfiles and compgroups (12068)
2000-06-26 08:36:42 +00:00
Sven Wischnowsky
470515922c
typo in _history; missing free()s in zle_tricky.c (12067)
2000-06-26 08:20:33 +00:00
Sven Wischnowsky
4d656bfb0e
missing allocation of list for option arguments (12066)
2000-06-26 08:10:33 +00:00
Peter Stephenson
abd757eac4
12044: read -A bug
2000-06-23 09:45:38 +00:00
Peter Stephenson
12fd5d0065
12040: typeset -r bug
2000-06-22 20:57:14 +00:00
Sven Wischnowsky
37b5477437
*** empty log message ***
2000-06-22 09:42:10 +00:00
Sven Wischnowsky
b9a533f382
allow subscripts for compadd -[ak]; new style for history completion; better list-colors handling (12029)
2000-06-22 08:42:36 +00:00
Oliver Kiddle
3ecad25c83
AIX dependency fix
2000-06-20 16:38:10 +00:00
Sven Wischnowsky
cde71bb1a5
make undo break out of menu selection if nothing to undo inside it (11992)
2000-06-19 14:51:06 +00:00
Sven Wischnowsky
c071087d1f
_arguments: small fix for -s and new `!...' for things not to complete (but to understand) (11985)
2000-06-19 13:09:06 +00:00
Sven Wischnowsky
11ec14c3b3
more careful when optimising patterns in compfiles (11981)
2000-06-19 11:43:12 +00:00
Sven Wischnowsky
083befef2b
new match spec characters bBeE, match only word/line not both (11977)
2000-06-19 10:48:21 +00:00
Sven Wischnowsky
a295e82c1e
allow _expand to expand braces; better detection of braces to complete in C (11973)
2000-06-19 09:55:31 +00:00
Sven Wischnowsky
2769b19881
improve filename completion; use accept-exact for in-path completion; new fake style (11971)
2000-06-19 09:32:30 +00:00
Bart Schaefer
1add53c578
Fix parsing of := for magicequalsubst.
2000-06-17 19:51:51 +00:00
Bart Schaefer
af1339bacf
11956: Fix off-by-one error.
2000-06-17 17:05:53 +00:00
Sven Wischnowsky
1416862b63
allow completion after `a{{b,c},'; fix for closing brace re-insertion when completing from both ends (CLF_MID) (11939)
2000-06-16 07:52:05 +00:00
Sven Wischnowsky
0b892d4492
zstyle -e option; change math-styles to boolean ones; change defaults for _expand styles (11937)
2000-06-16 07:31:09 +00:00
Sven Wischnowsky
f04b4c74a7
more security in completion matching (11924)
2000-06-15 09:41:47 +00:00
Bart Schaefer
20789f5f92
Delete stray whitespace.
2000-06-15 08:48:42 +00:00
Sven Wischnowsky
dc102b8130
fix for _arguments, it took non-option strings as options (11910)
2000-06-15 08:09:09 +00:00
Peter Stephenson
a777f021a2
11906: yet two more saving trap bugs
2000-06-14 22:00:39 +00:00
Peter Stephenson
4611530c45
11901: two more trap saving bugs
2000-06-14 15:14:49 +00:00
Peter Stephenson
ae8c986107
11895: trap exit problem when exiting from function scope
2000-06-14 14:19:20 +00:00
Sven Wischnowsky
5f81bbc869
nix kaboom with `time time' (?)
2000-06-14 09:26:55 +00:00
Sven Wischnowsky
53f5cc9465
better fix for menu selection on dumb terminal (11885?)
2000-06-14 06:54:44 +00:00
Sven Wischnowsky
9310826027
make -A take a pattern as argument to match non-arguments; allow single-letter option strings to have multiple arguments; fix to allow option completion with multiple sets (?)
2000-06-13 12:14:32 +00:00
Sven Wischnowsky
a2417f6863
fix for longer capability strings (sunsite still not responding, sigh)
2000-06-13 10:49:18 +00:00
Peter Stephenson
65b3fdc4ab
Make PRINT_* flags unique again
2000-06-13 09:13:29 +00:00
Sven Wischnowsky
cedd1006e6
fixes for calling compfiles, for completing words with special characters; make compfiles optimisations work with globcomplete and simple match (sunsite isn't responding)
2000-06-13 09:05:35 +00:00
Peter Stephenson
055d961f84
11867: restrict typeset -H application
2000-06-12 09:27:09 +00:00
Bart Schaefer
bae526275a
Alexandre: Fix colored listings crash (article number attribution may be
...
wrong in ChangeLog).
2000-06-11 08:15:27 +00:00
Bart Schaefer
060ac27a17
11850: Fix crash in menu-select on dumb terminals. Also, a ChangeLog entry
...
for PWS's 11842.
2000-06-10 17:30:22 +00:00
Peter Stephenson
6b87e6fda3
11838: typeset -H
2000-06-09 15:37:05 +00:00
Clint Adams
716f5d4e39
11839: endtrapscope() null pointer dereference prevention
2000-06-09 14:40:54 +00:00
Sven Wischnowsky
4997db3470
fix for menu-completion when another completion came right after it (11836)
2000-06-09 11:14:34 +00:00
Sven Wischnowsky
427b4b74f2
improve _path_files, move some code into C, try to optimise glob patterns and immediately accept exact directory matches (11833)
2000-06-09 07:49:44 +00:00
Peter Stephenson
45d95dde48
11820: metafication of command line arguments
2000-06-08 09:59:00 +00:00
Sven Wischnowsky
a95d051826
more anchor matching fixes (11817)
2000-06-08 09:25:24 +00:00
Sven Wischnowsky
2e1c0ec483
make C-code expansion add a space only when more than one word was generated (11814)
2000-06-08 07:20:31 +00:00
Sven Wischnowsky
b0b33a41a1
try to get the tests for `strings long enough' right in anchor matching code (11796)
2000-06-07 13:25:32 +00:00
Sven Wischnowsky
25ca4f8792
optimise command lookup in old and new completion (user/3124)
2000-06-07 11:21:42 +00:00
Sven Wischnowsky
9ac1ee5703
hopefully more consistent beeping with menu-selection (11794)
2000-06-07 08:39:56 +00:00
Sven Wischnowsky
9bb23440d2
-K option for zparseopts to keep previous array values (11792)
2000-06-07 07:38:02 +00:00
Sven Wischnowsky
4900804b61
make (e) flag be silent unless (X) is given, too (11768)
2000-06-06 08:35:54 +00:00
Oliver Kiddle
96e53995c9
AIX dependency fix
2000-06-05 19:54:03 +00:00
Sven Wischnowsky
f94e5d78b0
some more memory leak fixes (11745)
2000-06-05 07:57:27 +00:00
Bart Schaefer
360abc7d0f
11737: Avoid excessive Makefile rebuilding during "make clean".
2000-06-04 04:06:57 +00:00
Bart Schaefer
4c2601e753
Felix, 11734: Memory leak and doc error.
2000-06-03 16:37:24 +00:00
Bart Schaefer
709ce3829c
11736: Fix TRAPEXIT scoping.
2000-06-03 16:26:47 +00:00
Wayne Davison
192dc1228a
Fixed glob array indexing.
2000-06-02 10:09:13 +00:00
Sven Wischnowsky
323c72520a
Felix: fix for memory leak (11718)
2000-06-02 08:28:42 +00:00
Sven Wischnowsky
ed708a901b
fix some memory leaks (thanks, Felix) (11722)
2000-06-02 08:09:26 +00:00
Wayne Davison
91d5f73434
Changed the array "len" to be "end" -- a 1-relative index of the last
...
item (or you can think of it as pointing one past the last item).
2000-06-02 01:54:16 +00:00
Wayne Davison
6e1d59eb2b
Finish the job started in my last patch.
2000-06-01 20:54:59 +00:00
Wayne Davison
4fddbb8f5c
Made $array[0,0] work just like $array[0].
2000-06-01 20:52:26 +00:00
Bart Schaefer
15a6466044
Disable vared only for interactive shells where ZLE has been explicitly
...
disabled, but also for any shell running in an emacs buffer.
2000-06-01 15:22:15 +00:00
Peter Stephenson
4608712264
FR & pws: promptexpand memory leaks; NEWS notes
2000-06-01 09:10:15 +00:00
Peter Stephenson
3f8f279294
11696: local readonly specials bugs fixes
2000-05-31 21:58:32 +00:00
Sven Wischnowsky
5a4253f42e
allow display of only messages via $compstate[list]=messages (11688)
2000-05-31 09:56:12 +00:00
Peter Stephenson
7bf294f2b8
Wayne: pattern.c unitialised var
...
Zero-length arrays now possible with $array[1,0]
2000-05-31 08:56:23 +00:00
Sven Wischnowsky
d5b6d1f40c
move to last cursor after not asking a second time if list should be shown (11682)
2000-05-31 06:31:22 +00:00
Sven Wischnowsky
fb6bcb7364
fix for ignore-line style (11679)
2000-05-31 06:13:50 +00:00
Oliver Kiddle
64d9b83105
AIX depenency fix (11661)
2000-05-30 14:06:30 +00:00
Sven Wischnowsky
24520730a6
bogus uninitialised variable warning
2000-05-30 10:54:22 +00:00
Sven Wischnowsky
47c0bd0db1
fixes for _arguments without multiple sets; change completion test for empty actions (11647)
2000-05-30 07:49:00 +00:00
Bart Schaefer
8564aa5c0d
Wayne: Fix two history bugs that were causing the
...
failure of `print -s'.
2000-05-30 03:43:27 +00:00
Sven Wischnowsky
cd38cd40f7
matching bugs with patterns with two anchors (11634)
2000-05-29 12:42:59 +00:00
Sven Wischnowsky
a2750a4eff
fixes for _arguments with sets; make _zpty not use sets (11624)
2000-05-29 08:00:46 +00:00
Peter Stephenson
b6cf1f3303
11616: netinet/in_systm.h again
2000-05-28 20:59:15 +00:00
Bart Schaefer
47532f255e
11606: Propagate parse errors out of parse_list() and parse_event(), and
...
test that it worked.
2000-05-27 08:32:58 +00:00
Bart Schaefer
17aadf0338
11607: For "read -q", open shout if necessary
...
even when SHTTY is
already a valid descriptor.
2000-05-27 08:31:32 +00:00
Peter Stephenson
ad9c7348b5
11587: Felix Rosencrantz: Src/pattern.c: uninitialised variable
...
11590: various cygwin fixes
2000-05-26 09:47:27 +00:00
Sven Wischnowsky
972fe43f51
disable vared if zle is not enabled (11566)
2000-05-26 07:03:43 +00:00
Sven Wischnowsky
c99a94e365
better cursor-movement in menu-selection (11569)
2000-05-25 11:33:13 +00:00
Peter Stephenson
5bed7d645b
11567: FD_CLOEXEC in zftp.c
2000-05-25 10:50:05 +00:00
Sven Wischnowsky
6959ffd962
force listing in _complete_debug; make complist with list-scrolling stopt at the end of the list when prompt would scroll it out; fix _in_vared to handle `foo[bar]' (11565)
2000-05-25 07:58:44 +00:00
Peter Stephenson
9121d78354
11561: no RC_QUOTES in $'..'
2000-05-24 17:20:26 +00:00
Sven Wischnowsky
8f7beea079
fix for comparguments to make -s have an effect again (11552)
2000-05-24 08:32:12 +00:00
Sven Wischnowsky
22c3204495
add -[ak] options to compadd (11533)
2000-05-23 14:23:16 +00:00
Sven Wischnowsky
00772b72a7
add -E option to zparseopts (11530)
2000-05-23 13:18:36 +00:00
Sven Wischnowsky
cb50583b18
fix for read -q without a shout (11524)
2000-05-23 08:37:06 +00:00
Sven Wischnowsky
7f9f81f3e2
save and restore more variables in bufferwords(); move gotword() into core (11523)
2000-05-23 08:20:56 +00:00
Sven Wischnowsky
01bd1c61ae
make sure wouldinstab is set before calling docomplete() (11503)
2000-05-22 14:50:07 +00:00
Sven Wischnowsky
fa50c70000
fix for clines in suffix (11496)
2000-05-22 12:14:37 +00:00
Sven Wischnowsky
91f40b975f
be more careful when decided if to insert tabs instead of completing (11493)
2000-05-22 11:28:29 +00:00
Sven Wischnowsky
c955b76cc5
remove -h option from zstyle (11490)
2000-05-22 09:32:32 +00:00
Sven Wischnowsky
ce90081ea8
pat(-) in long-option patterns to say that argument should be completed only after the `='; merge _arguments and _argument_sets; slightly better test when not to complete options (11489)
2000-05-22 09:28:34 +00:00
Sven Wischnowsky
007cfdff55
fix for a-a-m-c in menu selection; scroll explanations onto screen again (11487)
2000-05-22 08:47:30 +00:00
Bart Schaefer
279132a957
11473: Turn off xtrace while printing PS4.
2000-05-20 15:56:03 +00:00
Peter Stephenson
8d17d2f02d
11467: [#<base>] syntax for output base
...
zsh-users/3071: compdump tweak to avoid // in path
2000-05-19 18:22:50 +00:00
Bart Schaefer
529158f82f
11461: Make "read" interruptible even when used in the tail of a pipeline.
2000-05-19 15:10:52 +00:00
Sven Wischnowsky
7672efed2e
fix for unambiguous string insertion (11466)
2000-05-19 08:33:06 +00:00
Sven Wischnowsky
781a5bd4b1
small doc fix; make compcall autoload compctl module (11457)
2000-05-18 09:22:31 +00:00
Peter Stephenson
c515a58aca
11455: Completion/Core/_oldlist: old-menu defaults on
2000-05-18 08:59:29 +00:00
Sven Wischnowsky
05d3c175a5
add Felix' completion matching test; some fixes for bugs shown by it (11439)
2000-05-17 11:59:32 +00:00
Tanaka Akira
f8551053e5
11426: Src/Modules/zpty.c: don't use #elif.
2000-05-17 03:42:43 +00:00
Tanaka Akira
590475e1b7
11420: Src/Modules/zpty.c: try more pty device files.
2000-05-16 18:16:19 +00:00
Peter Stephenson
184ea22946
11410: make tokenize() tokenize =, so $~foo allows =cmd expansion
2000-05-16 13:41:50 +00:00
Sven Wischnowsky
aa17f0db6d
fix scrolling in menu-selection with matches spanning multiple lines
2000-05-16 10:45:01 +00:00
Sven Wischnowsky
57ed8b5441
make menu-select accept the match when typing a non-special character (11401)
2000-05-16 08:05:15 +00:00
Clint Adams
195f1c4015
11387: OCTAL_ZEROES option
2000-05-15 18:48:21 +00:00
Clint Adams
18b193f241
11385: parse 0[0-9]+ as octal in arithmetic expressions
2000-05-15 17:54:58 +00:00
Sven Wischnowsky
0e5666e2ad
detect additional characters in parameter expansions and signal an error for them (11380)
2000-05-15 14:59:01 +00:00
Sven Wischnowsky
8272394e7e
extra paranoia for empty prefix/suffix in completion matching (11374)
2000-05-15 11:55:38 +00:00
Sven Wischnowsky
2e78e1ecc1
fix for empty (s::) separator and strings with meta-characters (11368)
2000-05-15 11:01:41 +00:00
Sven Wischnowsky
db95186da5
fix for completion of string with single quote (11365)
2000-05-15 09:54:46 +00:00
Sven Wischnowsky
6d4bdb661d
fix for suffix-matching; better in-path completion in _path_files (11364)
2000-05-15 09:34:11 +00:00
Sven Wischnowsky
8ef89cd54d
zparseopts should detect if it is called without option descriptions (11360)
2000-05-15 08:04:09 +00:00
Oliver Kiddle
6ff206e057
Add -L option to the hash builtin
2000-05-15 00:31:20 +00:00
Peter Stephenson
26cc1ad1df
doc changes; typo in _jobs; integer builtin understands `-i base'
2000-05-14 22:08:41 +00:00
Sven Wischnowsky
a6ed22c585
fix for completing options with _arguments -s'; fix for _message to use
builtin compadd' (11349)
2000-05-12 14:36:46 +00:00
Sven Wischnowsky
984bae21ba
fixes for completion matching (11346)
2000-05-12 11:52:30 +00:00
Sven Wischnowsky
6472a2b7bc
fix for compadd -x when there are no matches (11335)
2000-05-12 07:03:41 +00:00
Bart Schaefer
0768b190ba
11326: Avoid init_io() on "exec < file" when zleactive.
...
Also fix OPK's slightly confused previous ChangeLog entry.
2000-05-11 16:39:02 +00:00
Sven Wischnowsky
567e221218
make _argument_sets add the options as defaults when there is nothing else to complete (11324)
2000-05-11 11:27:39 +00:00
Sven Wischnowsky
8e7e17237e
allow internally-mutually exclusive sets in _argument_sets; fixes for _argument_sets and the C-code for it (11320)
2000-05-11 08:54:47 +00:00
Sven Wischnowsky
d3620a02df
make ^G in menu-selection restore the old command line; add select=long* values for menu style to start menu-selection if list is too long for screen (11319)
2000-05-11 08:40:09 +00:00
Oliver Kiddle
548fe00d96
Remove return value from uniqarray which caused a compile error on IRIX
2000-05-10 23:54:26 +00:00
Peter Stephenson
ade3663216
11314: fix for typeset -U not updating value in environment
2000-05-10 19:15:58 +00:00
Oliver Kiddle
8272e68ecc
AIX dependency fix
2000-05-10 15:01:19 +00:00
Sven Wischnowsky
2da726eaf1
more fixes for _arguments and its docs (11298)
2000-05-10 11:53:05 +00:00
Sven Wischnowsky
0f7d06b4e5
misc. _arguments fixes
2000-05-10 09:22:49 +00:00
Sven Wischnowsky
5b5c0e8fc9
fix for `-+opt' with mutex list (11294)
2000-05-10 08:20:40 +00:00
Peter Stephenson
e89360b2db
11285: zftp exit hook
2000-05-09 17:49:30 +00:00
Tanaka Akira
a65e197d2a
11276: fix build on OpenBSD.
2000-05-09 11:54:43 +00:00
Sven Wischnowsky
8c6a5af791
give control over insertion of tab when no non-blank character before cursor; add insert-tab style (11274)
2000-05-09 11:04:44 +00:00
Sven Wischnowsky
125dc0d4f2
new -A and -S options to _arguments; -opt=-' specs for options whose argument has to come after the
=' (11270)
2000-05-09 09:05:34 +00:00
Peter Stephenson
705fd24fd5
11044, 11260: DVORAK options for spell checking.
2000-05-08 15:56:37 +00:00
Sven Wischnowsky
fc9627e776
close fd for pty-master in sub-shell
2000-05-08 11:06:27 +00:00
Sven Wischnowsky
cfcb3202ef
more problems with optional arguments in _arguments (11253)
2000-05-08 10:37:58 +00:00
Sven Wischnowsky
029483745b
better cursor positioning in words with multiple ambiguous word parts (11248)
2000-05-08 09:29:22 +00:00
Tanaka Akira
7d17c9ca4b
* Bart, Tanaka Akira: 11247: Don't signal to a process group which
...
has only zombie processes.
2000-05-08 09:23:09 +00:00
Peter Stephenson
38bb84d975
11194, 11200, 11214
2000-05-08 08:58:37 +00:00