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

781 Commits

Author SHA1 Message Date
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
Wayne Davison
168aeada1a Silenced a compiler warning. 2002-02-12 19:34:53 +00:00
Wayne Davison
322c5abf00 The minimum size of histsiz (aka HISTSIZE) should be 1, not 2. 2002-02-12 19:32:57 +00:00
Sven Wischnowsky
9e0f74f07b fix for displaying matches in groups via _describe; go back to displaying one match per line when lines get too long (16582) 2002-02-07 08:40:01 +00:00
Clint Adams
7dea9669bb 16577: don't return a single dot as the path head of a slash. 2002-02-06 16:48:28 +00:00
Bart Schaefer
c6d589aadd 16556: No error on `print >&-'. 2002-02-04 19:38:40 +00:00
Oliver Kiddle
16f1f616f9 16494: extract outermost words with negative arguments to %_ and add %^ 2002-01-31 15:13:26 +00:00
Oliver Kiddle
149aafd65e 16493: correct typos 2002-01-31 15:04:33 +00:00
Oliver Kiddle
5d11abfa3b 16492: add RPROMPT2 variable for right prompts in multi-line commands 2002-01-31 14:44:06 +00:00
Andrew Main
b1dadd97d3 * 16527: Src/Zle/zle_refresh.c: Don't lose the rprompt when
clearing an otherwise-blank line.
2002-01-31 10:51:05 +00:00
Clint Adams
79e13d1209 16503: warn on fclose or fflush errors in bin_print. 2002-01-27 22:44:40 +00:00
Bart Schaefer
9113c2e2d6 16435: Fix core dump in `hash'. 2002-01-26 21:03:36 +00:00
Peter Stephenson
803131605b 16487: Src/glob.c: bug in 16486 when a qualifier in a set
consisted only of flags which were handled globally.
2002-01-22 13:52:29 +00:00