1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00
Commit Graph

805 Commits

Author SHA1 Message Date
Sven Wischnowsky
b36344b6ba follow-up to 17222, make the optimisation work for some more keys again (17237) 2002-05-27 07:41:07 +00:00
Clint Adams
189aa5c9f2 17235: strftime builtin 2002-05-26 22:43:56 +00:00
Sven Wischnowsky
9038bdb400 we have to disable 17219 for some keys because their code doesn't set up the variables we need (17222) 2002-05-24 15:02:32 +00:00
Peter Stephenson
00d476ac20 17220: Src/Modules/tcp.c: bugs using ztcp to list connections. 2002-05-24 13:01:57 +00:00
Sven Wischnowsky
205e07663f make re-display in menu selection faster; redraw only the previously and newly selected matches (17219) 2002-05-24 08:50:10 +00:00
Sven Wischnowsky
9b5b330799 report option arguments to _arguments in the original form (17196) 2002-05-23 12:22:58 +00:00
Sven Wischnowsky
d786ca4438 allow multiple lines in option completion lists to share the same description, for (hopefully) cleaner displays (17212) 2002-05-23 12:15:03 +00:00
Peter Stephenson
afe1b00e16 17141 plus mods: add `zle -F fd handler' feature. 2002-05-21 11:10:13 +00:00
Sven Wischnowsky
5a89ede77b fix for file-type-tests in nested quotes and don't count space file-type-character (17195) 2002-05-21 08:07:51 +00:00
Sven Wischnowsky
12f253e7e6 improve calculation of used columns for match-max-length (17194) 2002-05-21 08:04:34 +00:00
Sven Wischnowsky
654c4ab4ff fix for completion in nested quotes where the sub-word ends in a backslash (17192) 2002-05-21 07:47:34 +00:00
Sven Wischnowsky
d4ec8d06bf avoid printing in the last screen column when preparing a completion listing with compdescribe (17190) 2002-05-21 07:39:40 +00:00
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