Peter Stephenson
cd3578ed94
17175: Src/math.c: didn't handle parameters before a ternary expression
...
properly.
2002-05-17 15:14:03 +00:00
Peter Stephenson
dbe104ca8c
17171: Src/Modules/tcp.c: ztcp didn't return failure
...
when a connect() failed.
2002-05-16 14:05:27 +00:00
Peter Stephenson
bbefa484f4
17166: Src/Modules/zftp.c: check fileno of zftp control
...
connection before closing, not after
2002-05-15 20:38:17 +00:00
Sven Wischnowsky
cd50acd08d
follow-up to 17135, backslash-quoted backslashes in double quotes weren't right, yet (17163)
2002-05-15 07:40:33 +00:00
Peter Stephenson
92e651c940
17162: Src/Modules/tcp.c: prevent warning on
...
gethostbyaddr() arguments.
2002-05-14 17:52:50 +00:00
Peter Stephenson
568d2e0aba
17161: Src/Modules/tcp.c: length parameter to accept()
...
wasn't initialised, causing random failures.
2002-05-14 17:29:49 +00:00
Sven Wischnowsky
b0e4b61a82
allow users to give the maximum number of display-columns the matches should take up via the style currently named max-match-length (17147)
2002-05-14 08:01:12 +00:00
Peter Stephenson
139b6d4841
17120, 17121: Src/init.c: work around problem with NIS tying up file
...
descriptors.
2002-05-13 09:36:53 +00:00
Sven Wischnowsky
0cfe1b30be
fix for unquoting with `compset -q' with singly and doubly quoted strings (17135)
2002-05-13 09:31:59 +00:00
Peter Stephenson
12e6a9ad32
17102: looking up TCP sessions by fd returned the wrong pointer
2002-05-08 16:45:21 +00:00
Peter Stephenson
8c47be28f9
17097: closing all TCP sessions referenced freed memory.
2002-05-08 15:54:05 +00:00
Peter Stephenson
2f9ba2f0f9
17095: Bug in setting associative array; remove unused counter
2002-05-08 14:25:57 +00:00
Peter Stephenson
c5381b85ed
17081: New zselect module and documentation.
2002-05-08 13:13:52 +00:00
Andrey Borzenkov
e484b0f83c
17075, 17076: _urpmi and chkconfig/services
2002-05-08 09:18:12 +00:00
Bart Schaefer
d3454531d4
Detect variant tgetent() return value and test for it correctly.
2002-05-06 14:50:10 +00:00
Bart Schaefer
cefd2de2e1
Split tokenize() into shtokenize() and zshtokenize()
...
to improve SH_GLOB handling, particularly in completion
2002-05-06 14:46:11 +00:00
Peter Stephenson
f08fd02935
17046: Src/math.c: OCTAL_ZEROES with a `0' on its own was
...
swallowing up too many characters.
2002-04-25 15:45:42 +00:00
Peter Stephenson
421123b0f0
17040: Src/Modules/tcp.c: AF_INET6 wasn't copied into the
...
socket structure for IPv6.
17041: Src/Modules/zftp.c: Minor but fatal typos creating a data
connection for zftp using IPv6.
2002-04-25 14:06:47 +00:00
Sven Wischnowsky
f630c8abf4
remove one half of 17029; the part for zstyle wasn't right (17035)
2002-04-25 07:33:34 +00:00
Sven Wischnowsky
ed98c0bed8
fix two memory leaks (found by Felix): pre-compiled patterns when re-defining styles and compredirs-copies in comp_wrapper() (17029)
2002-04-24 07:59:17 +00:00
Peter Stephenson
2a55dc74ef
17011: Src/Modules/tcp.c, Src/Modules/zftp.c: restore
...
freehostent() incorrectly removed in 16172.
2002-04-18 11:39:13 +00:00
Peter Stephenson
91edfa3b25
Alexandre Duret-Lutz: 16930: Src/cond.c, Test/C02cond.ztst:
...
Careful with long filenames in internal condition test; fix block
file test for `-f'.
2002-04-17 17:17:42 +00:00
Sven Wischnowsky
f78df94c6a
make compvalues unquote the string from the line like comparguments does (16998)
2002-04-17 07:28:17 +00:00
Sven Wischnowsky
e9a2060fe9
treat backslashed bangs in double quotes specially in get_comp_string(), they are more like $s there (16990)
2002-04-16 07:53:13 +00:00
Peter Stephenson
c5ebd0fad0
16942: Allow zero-length matches in parameter substitutions.
2002-04-08 17:54:21 +00:00
Wayne Davison
c5015e19de
Made SAVEHIST a special parameter.
2002-03-24 23:52:49 +00:00
Wayne Davison
cbc7abb006
Added "savehistsiz" (for the new SAVEHIST special parameter), and used it
...
in place of getiparam("SAVEHIST").
2002-03-24 23:52:47 +00:00
Wayne Davison
18b090df5a
Got rid of unused-variable compiler warning.
2002-03-24 07:56:42 +00:00
Oliver Kiddle
f40278ec0b
16862: allow print's -s and -z options to be used with -f
2002-03-19 14:34:01 +00:00
Sven Wischnowsky
45f9a36216
remove that -T option to compdef again and instead use comma-separated sub-contexts both for function and style lookup (16819)
2002-03-13 09:28:04 +00:00
Bart Schaefer
2260fe045e
Fix parsing of binary infix operators of test builtin.
2002-03-07 16:20:00 +00:00
Sven Wischnowsky
6bfc325a94
don't try to build the redirection string for the loops (for, foreach, select) (16776)
2002-03-07 08:38:44 +00:00
Peter Stephenson
849f4068de
16767: Src/Zle/zle_hist.c, Doc/Zsh/zle.yo, Doc/Zsh/contrib.yo,
...
Functions/Zle/copy-earlier-word: Enhance insert-last-word to
pick different lines from the history (including the current
line) and different words from that line. Add copy-earlier-word
as suggested by Dominik Vogt to copy words from either the
current line, or (following an insert-last-word) a previous
history line.
2002-03-05 16:33:19 +00:00
Peter Stephenson
15630b234a
16759: Src/builtin.c: from Eric Norum <eric.norum@usask.ca>:
...
cd prints output whenever the target directory is not obvious
to the user. This confuses scripts, so restrict it to
interactive mode.
2002-03-04 15:51:58 +00:00
Sven Wischnowsky
10490ec499
add $redirections array to completion system parameters, containing information about all redirections on the line; make this and compstate[redirect] contain the file descriptor number (16751)
2002-03-01 10:41:59 +00:00
Sven Wischnowsky
4e354ca36f
allow nterruption of empty while-loops with ^C (16711)
2002-02-25 09:21:14 +00:00
Sven Wischnowsky
8dcd8e54c5
make _guard use _mesage -e'; make
_message -e' use $curtag as a default; change uses of _guard (16708)
2002-02-25 09:09:31 +00:00
Wayne Davison
8fc5ffa60a
Improved the output of the "history" command with a 1-line history buffer,
...
and also improved the error handling of explicitly-specified first/last
values.
2002-02-22 21:59:43 +00:00
Wayne Davison
663c6e794a
In putoldhistentryontop(), ensure that we can't return with "next" set to
...
the value we just put on top.
2002-02-22 20:40:29 +00:00
Oliver Kiddle
73a4362713
16620, 16697: add a and n parameter expansion flags
2002-02-22 17:28:04 +00:00
Wayne Davison
cfcf7bda8d
Yet another fix for prepnexthistent().
2002-02-20 19:25:14 +00:00
Oliver Kiddle
6febc8fe67
16619, 16676: add -c, -l and -p options to the dirs builtin
2002-02-20 12:51:51 +00:00
Clint Adams
0de96fc478
16673: add langinfo module as an interface to locale information.
2002-02-19 02:14:08 +00:00
Geoff Wing
71749e822a
16635: make sure we display lists in singlelinezle mode
2002-02-19 00:06:54 +00:00
Wayne Davison
3b3bafac80
Fixed a just-introduced bug in prepnexthistent() when curline is in
...
the list.
2002-02-18 19:25:25 +00:00
Sven Wischnowsky
becf65dd7f
allow an argument containing only a single colon as a separator between options to _arguments and specs (16669)
2002-02-18 14:36:01 +00:00
Sven Wischnowsky
fa509f5219
fix group handling nothing should now possibly be added to the wrong group again (16668)
2002-02-18 14:30:46 +00:00
Wayne Davison
d35af383df
When savehistfile() rewrites the history file, there was a potential for
...
losing the entire history file if we couldn't lock the file for reading
(it timed out) but we could lock the file for write (and wrote nothing).
2002-02-16 09:21:34 +00:00
Wayne Davison
e706f12937
Optimized putoldhistentryontop() so that when resizehistents() calls it
...
repeatedly while HIST_EXPIRE_DUPS_FIRST is set, it doesn't re-scan the
already-checked hist items (avoiding potentially slow operation).
2002-02-16 09:15:07 +00:00
Wayne Davison
c24a38cdaa
Improved resizehistents() so that it honors HISTEXPIREDUPSFIRST.
2002-02-13 18:13:14 +00:00