1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 05:53:52 +01:00
Commit Graph

1200 Commits

Author SHA1 Message Date
Peter Stephenson
cb3d3b0c9a 19514: typo in terminfo.c 2004-03-02 10:27:40 +00:00
Peter Stephenson
5138a42995 19512: --enable-pcre option 2004-03-01 17:58:53 +00:00
Peter Stephenson
b8859fefcc 19505: compilation with NTTYDISC defined was broken. 2004-03-01 11:50:50 +00:00
Wayne Davison
f75dc6bb86 Got rid of an unused-variable compiler-warning. 2004-02-26 20:48:09 +00:00
Peter Stephenson
8b8cc745d9 19460: Another go at fixing the terminfo configuration problem 2004-02-26 12:40:53 +00:00
Peter Stephenson
2073eca9f3 19456: Fix ptmx tests, again. 2004-02-20 15:27:35 +00:00
Wayne Davison
cd7bfcf690 Silenced some compiler warnings about uninitialized variables. 2004-02-19 09:11:40 +00:00
Peter Stephenson
460e417caa 19429: configure test for ptmx 2004-02-17 13:53:36 +00:00
Peter Stephenson
ce41b8785b 19427: last job in jobs wasn't reported. 2004-02-17 10:41:24 +00:00
Oliver Kiddle
7feb529776 19422: fix crash resulting from passing a long option to compctl 2004-02-15 12:55:30 +00:00
Peter Stephenson
d83af1a97e 19420: Update configure.ac for better Autconf 2.50 support. 2004-02-14 18:50:15 +00:00
Wayne Davison
ba827bb22b Another fix in sub_match() to avoid allowing a partial-meta match
to occur (this time in the backwards scan).
2004-02-10 02:30:14 +00:00
Wayne Davison
6fd883c737 Optimized the check for a widowed Meta character. 2004-02-09 05:49:52 +00:00
Peter Stephenson
d84942a9b4 19408: fix argument handling for ulimit -aH 2004-02-08 21:05:49 +00:00
Peter Stephenson
e461877f40 19389+: fix zmodload -u zsh/datetime, add strftime -s scalar 2004-01-22 17:51:05 +00:00
Peter Stephenson
0167f8d036 19385: NULL dereference in add_match_part 2004-01-20 10:55:24 +00:00
Peter Stephenson
23c7ca4335 users/7011: typo in mkbltnmlst.sh 2004-01-19 22:21:27 +00:00
Peter Stephenson
915e17ee4b 19374: fix typo in 19361 2004-01-15 11:10:46 +00:00
Peter Stephenson
1a89fbabb4 19361: Memory leaks 2004-01-12 12:09:10 +00:00
Peter Stephenson
66329cbe4c 19336: Src/Zle/compmatch.c: Bug with metafied characters in length of
completion prefix
2004-01-05 17:28:49 +00:00
Wayne Davison
5a8969ec2e Changed bin_eval() to default lastval to 0, just in case we have an
empty eval string.
2004-01-05 17:07:21 +00:00
Oliver Kiddle
76bd48d674 19308: zsh crashes with $((##)) 2003-12-17 20:47:39 +00:00
Peter Stephenson
6eb5f99f1e 19295: $CONTEXT zle parameter 2003-12-15 22:45:27 +00:00
Peter Stephenson
1e212cbedc 19281: zle-line-init special widget 2003-12-12 22:53:27 +00:00
Peter Stephenson
7d672455bb 19269: 8-bit characters in character classes 2003-12-03 10:54:36 +00:00
Peter Stephenson
a6a63a147e 19242: Make job table dynamically reallocatable. 2003-11-13 14:34:33 +00:00
Peter Stephenson
a7b9b5f851 19218: extend 19216 to zle widgets 2003-11-03 13:57:52 +00:00
Peter Stephenson
d90e97e16a 19216: Save and restore pipestatus. Remove debugging output 2003-11-03 11:33:46 +00:00
Felix Rosencrantz
9644fbfb3f Added *.dll to .cvsignore and fixed typo. (unposted) 2003-11-03 04:26:51 +00:00
Felix Rosencrantz
e939abd1cd add *.dll and fix typo with errnames.h 2003-11-03 02:51:19 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
6e46881fe9 18169: change parameter SECS in datetime to EPOCHSECONDS 2003-10-08 13:37:10 +00:00
Peter Stephenson
ed6a7ba60e 19168: Various problems with size of buffers and pointer usage in ztrftime 2003-10-06 22:46:24 +00:00
Peter Stephenson
bbc409eefe 19167: fix NUL at start of BRACE_CCL range. 2003-10-06 22:42:35 +00:00
Peter Stephenson
530bbb503e unposted: update distribution files for 18980 and 19053 2003-10-06 18:39:56 +00:00
Clint Adams
95030cd034 19151: Src/Modules/datetime.c: add $SECS parameter for seconds since epoch. 2003-09-28 16:26:58 +00:00
Wayne Davison
084d6f5a25 Fix the old-style typeset -T (without the new separator arg). 2003-09-25 07:37:13 +00:00
Peter Stephenson
eeb9ec4714 19129: extra argument to typeset -T gives character for joining array 2003-09-24 14:55:32 +00:00
Peter Stephenson
58bad19411 19105: Set shout to stderr if interative with no tty 2003-09-22 13:46:03 +00:00
Peter Stephenson
947a321baf 19096: crash unloading zsh/system 2003-09-17 10:57:41 +00:00
Oliver Kiddle
49b25bc3d2 Vin Shelton: 19073: Replace C++-style comment.
Vin Shelton: 19038: Make sed grok icc's cpp output.
2003-09-15 09:20:20 +00:00
Clint Adams
cd89b92a0d 19076: don't call setupterm with NULL as last argument as that causes
the shell to exit when the terminal is unknown.
2003-09-14 05:10:05 +00:00
Oliver Kiddle
6e09c17757 19059: add -v, -V and -p flags required by POSIX to the command builtin 2003-09-11 07:00:05 +00:00
Peter Stephenson
b26ec00df5 19044: typo in setting $saliases elements 2003-09-08 11:17:20 +00:00
Peter Stephenson
8e359a669e 19020: fix printaliasnode 2003-09-03 13:41:25 +00:00
Peter Stephenson
3ffb3ad2f2 19014: add alias -s suf=handler 2003-09-03 10:15:32 +00:00
Peter Stephenson
bab0f3b920 18982: comments/rant for paramsubst(), accidentally uncommited 2003-08-30 19:12:18 +00:00
Peter Stephenson
c9c5f9da93 18980: new zsh/system module 2003-08-30 19:06:06 +00:00
Peter Stephenson
c016b2dcdc 18982: comments/rant for paramsubst() 2003-08-30 19:00:20 +00:00
Peter Stephenson
e65a811520 18941: history wrong after parse error during alias expansion 2003-08-11 13:19:48 +00:00
Peter Stephenson
b38f3c9a17 18938: Export some data symbols. 2003-08-11 10:45:08 +00:00
Peter Stephenson
1f8c031467 18926: problem accepting filename require metafication with menu selection 2003-08-05 10:12:08 +00:00
Peter Stephenson
c2ed9f96a7 18920: fix unset IFS betterer 2003-08-01 16:29:20 +00:00
Oliver Kiddle
2e70a25d46 fix bug with f glob qualifier where an empty spec resulted in an infinite loop 2003-08-01 14:14:19 +00:00
Peter Stephenson
74678a3435 18916: unsetting IFS could cause segfault 2003-08-01 09:55:38 +00:00
Wayne Davison
1495a7e008 Don't crash if alt-y is typed twice in a row without a prior ctrl-y. 2003-07-29 09:53:26 +00:00
Peter Stephenson
93141e6960 18888: Philippe Troin: allow clone to acquire a controlling tty 2003-07-23 09:27:56 +00:00
Peter Stephenson
ef8d5c7214 18880: Don't return unset parameters in $parameters 2003-07-22 13:12:09 +00:00
Peter Stephenson
74f47913da 18864: unnecessary space with ${(Q)...} 2003-07-17 09:44:38 +00:00
Peter Stephenson
2d2ce4ecc2 18836: read with metafied delimiter didn't work. 2003-07-09 11:04:01 +00:00
Peter Stephenson
936208bd9f 18769: handle parse errors in autoload functions properly 2003-07-03 11:07:39 +00:00
Oliver Kiddle
e81160def2 18634: Tomi Vainio: work around problem with latest Sun k2 compiler 2003-06-25 14:48:34 +00:00
Oliver Kiddle
7675ddffdc 18626: improve echoti's arg support and fix compile problem on 64-bit Solaris 2003-06-24 18:07:37 +00:00
Peter Stephenson
7b60aae9f3 18616: Add ternary expression handling to zformat 2003-06-19 19:43:00 +00:00
Peter Stephenson
a87ce0fb25 users/1654: anchors did'nt work with // parameter substitution 2003-06-05 11:05:01 +00:00
Peter Stephenson
4018e3c149 18600: bug matching against [[:xdigit:]] 2003-06-03 18:02:07 +00:00
Oliver Kiddle
cba898f217 18587: fix bug where only the beginning of the association key was compared 2003-05-30 12:35:59 +00:00
Peter Stephenson
10be59abca 18578: 18559 caused typeset failures 2003-05-24 22:46:35 +00:00
Peter Stephenson
46557b1e1c 18569: pointer error with ${(on)...} 2003-05-22 10:11:00 +00:00
Peter Stephenson
1be7d4744d 18559, 18562: make modules use proper option arguments 2003-05-22 09:48:25 +00:00
Peter Stephenson
c7a2d2225e 18565: bug when ${(u)...} reduced array to length 1 2003-05-21 16:20:54 +00:00
Peter Stephenson
6d9135befe 18543: memory leak vared'ing arrays 2003-05-19 10:30:42 +00:00
Oliver Kiddle
09c5818b39 18530: print option states with set -o' or set +o' 2003-05-15 09:39:55 +00:00
Peter Stephenson
4e309d2cdd 18539 and remaining bits of 18536???: vi and emacs options, autoload zle 2003-05-15 09:23:08 +00:00
Peter Stephenson
62719196b2 18536: EMACS and VI compatibility options 2003-05-14 15:09:14 +00:00
Peter Stephenson
2b744cb21d 18513: Work around crash on resize in menu selection 2003-05-14 10:16:01 +00:00
Oliver Kiddle
da74eb6338 18525: add manual UTF-8 conversion so \u and \U should work on more systems 2003-05-13 12:50:26 +00:00
Peter Stephenson
8ee83d44ff 18524: sepjoin !heap bug cause problem in vared 2003-05-12 11:45:28 +00:00
Peter Stephenson
4f9580ec03 18508: quoting of separator in ${foo//../..} was buggy 2003-05-07 09:38:49 +00:00
Andrey Borzenkov
bd4cb9a4d1 unposted: cvsignore VIM *.swp files 2003-05-05 06:14:49 +00:00
Andrey Borzenkov
f318d64e3d 18476: Fix menu selection on Linux console 2003-05-05 06:07:04 +00:00
Peter Stephenson
94da86f795 18492: Provide partial fix for multios and output process substitution
asynchronicity problem.  Document workarounds for remaining problems.
2003-05-02 10:25:27 +00:00
Peter Stephenson
905d036c33 17820, tweaked: attempt to fix compilation of tcp.h on recent versions
of cygwin
2003-04-28 15:05:47 +00:00
Oliver Kiddle
a5f7097d9a 18472: spelling corrections 2003-04-25 11:18:50 +00:00
Peter Stephenson
807e5536a5 18477: Null pointer dereferenced in _arguments "*-+bar" 2003-04-23 18:50:34 +00:00
Peter Stephenson
f319daae1d 18466: tcp.mdh only included by C file 2003-04-23 18:47:59 +00:00
Peter Stephenson
5b5c0175d5 IKEGAMI Tsutomu: sf bug 722366: metafy pwd when read from $PWD 2003-04-23 18:04:05 +00:00
Felix Rosencrantz
6bd0c51366 workers-18440: add previously added cygwin completion functions to the completion module 2003-04-08 15:34:51 +00:00
Peter Stephenson
06b04ca1b2 18435: unsetting readonly returned status 0 2003-04-04 16:46:25 +00:00
Peter Stephenson
c34176365e 18431: Another attempt to fix the problems with RLIMIT definitions 2003-04-03 09:55:40 +00:00
Wayne Davison
ca8ad2e262 Prevent "print -m" from crashing (complains about missing pattern). 2003-03-28 20:21:00 +00:00
Peter Stephenson
2941469f61 18392: read with -p and -t and no coprocess crashed. 2003-03-26 18:55:22 +00:00
Wayne Davison
6eaed9fb4b Fixed zjoin() when it returns an empty string that should be allocated. 2003-03-25 18:05:30 +00:00
Clint Adams
1761a3b146 users/5986, 18380: arg support for echoti builtin. 2003-03-25 05:33:18 +00:00
Peter Stephenson
63de268fee 18378: fix lots of problems with $killring 2003-03-24 13:57:38 +00:00
Peter Stephenson
d8e418bff1 18376: Fix headers for wchar.h and some related gcc waringnings 2003-03-24 12:56:56 +00:00
Oliver Kiddle
a2197a5361 18359: fix bug where not enough memory was allocated if MB_LEN_MAX < 6 2003-03-18 14:39:41 +00:00
Oliver Kiddle
d8fac9fb23 18343, 18348: handle \u and \U escapes for specifying unicode characters 2003-03-14 13:36:07 +00:00
Oliver Kiddle
c7564985e5 18337: use C locale when converting floats to scalars to avoid problems in
locales where `,' is the decimal separator
2003-03-11 17:29:47 +00:00
Oliver Kiddle
1d80cc9acf 18330: save output of setlocale as the pointer it returns gets clobbered 2003-03-10 15:23:44 +00:00
Peter Stephenson
74c90c0ada 18325: options on by default weren't printed correctly by zsh/parameter 2003-03-07 12:31:00 +00:00
Peter Stephenson
a7dc5d386c 18319: Philippe Troin: fix use of process groups with su and suspend 2003-03-07 12:17:49 +00:00
Peter Stephenson
5660eb86ac 183818: memory leak in zle_params.c 2003-03-05 17:24:37 +00:00
Peter Stephenson
e0d2c9c0b3 18313: NULL pointer dereference if yank-pop after a single yank 2003-02-27 11:32:44 +00:00
Geoff Wing
8e50782a72 18306: fix redisplay of rprompt when line shortens 2003-02-27 02:37:29 +00:00
Peter Stephenson
ee7bdbf85d 18264: free job table entries properly in subshell 2003-02-21 14:37:03 +00:00
Oliver Kiddle
945f54b001 18263: fix saving of glob state so that globs can be used from (e) glob qual 2003-02-20 08:17:38 +00:00
Peter Stephenson
4c149a8abc 18252: pass ignoreeof as flag to zleread 2003-02-17 14:06:39 +00:00
Peter Stephenson
40c29457f2 18251: Fix select and make it respect EOF 2003-02-17 11:41:58 +00:00
Oliver Kiddle
5164c6a3c9 18242: add -d option to read for specifying delimiter to terminate input 2003-02-17 10:07:53 +00:00
Peter Stephenson
06d25a35b0 18243: Nasty tty poll fix for Solaris 2003-02-14 19:03:08 +00:00
Oliver Kiddle
c1467e410d 18238: bashcompinit was not being installed with --enable-function-subdirs 2003-02-13 16:34:19 +00:00
Oliver Kiddle
6d2921542e 18223: satisfy POSIX requirement for a -v flag to unset 2003-02-13 13:46:00 +00:00
Clint Adams
b5b1099023 18207: add maxfilelocks to ulimit output. 2003-02-09 01:12:35 +00:00
Peter Stephenson
4f3b9e43d2 18204: KSH_ARRAYS 2003-02-07 17:05:09 +00:00
Peter Stephenson
5c1f3b65a6 18202: New TCP function system plus small error message change in ztcp. 2003-02-06 12:21:49 +00:00
Peter Stephenson
809ab19dff 18191: from Greg Klanderman: compctl -y didn't respect list arrangement
options listpacked and listrowsfirst.
2003-02-06 10:29:30 +00:00
Peter Stephenson
590a26709a 18195: Timeouts for read builtin. 2003-02-05 11:56:55 +00:00
Peter Stephenson
f87232c120 18086: I don't know how this got missed out... 2003-02-05 10:56:56 +00:00
Peter Stephenson
6a8be0aff1 18188: Output balanced parentheses in case statements 2003-02-04 11:23:01 +00:00
Bart Schaefer
6c78ce042d 18144: allow %{ %} to put bounds around a prompt truncation. 2003-01-27 16:39:25 +00:00
Bart Schaefer
8f67d52d72 18144: no SIGHUP handler if parent was ignoring. 2003-01-27 16:38:09 +00:00
Peter Stephenson
778a73b027 18139: Improve $killring interface; can now change length. Empty
strings in $killring are ignored when yank-popping.  Yank-popping
is more consistent about looping and using the original cutbuffer.
2003-01-27 14:54:31 +00:00
Peter Stephenson
1e7c463fd9 18059: allow compadd -r and -R with default space suffix 2003-01-13 10:32:03 +00:00
Peter Stephenson
99c9b50bb4 18015: empty math parse acts like zero 2002-12-18 18:07:49 +00:00
Peter Stephenson
9a8dfbb7b5 18013: Handle test of (( float == 0.0)) properly 2002-12-18 16:57:02 +00:00
Peter Stephenson
84b6d587d1 17996: better formatting for print -C 2002-12-11 16:03:09 +00:00
Peter Stephenson
ab6f1a632d 17994: Globbing flags with no effect could hang the shell 2002-12-10 12:51:43 +00:00
Felix Rosencrantz
e91067d966 17983: Added zle LASTSEARCJ parameter 2002-12-06 23:24:06 +00:00
Peter Stephenson
28a62d5a4b 17979: Add ERR_RETURN option. 2002-12-04 13:57:48 +00:00
Peter Stephenson
bbbc5536da 17940: Add -C and -a options to print builtin 2002-11-20 12:37:43 +00:00
Clint Adams
e580d5d767 17935: beautify bin_whence indentation of () and {} contents. 2002-11-13 21:09:01 +00:00
Peter Stephenson
054038d8dd 17931: Philippe: restore blocking of SIGTERM in interactive shell 2002-11-13 10:24:22 +00:00
Peter Stephenson
2c75ac82e9 17861 from Philippe Troin: make signal initialisation more consistent 2002-11-08 10:43:48 +00:00
Peter Stephenson
14f39707cb 17859: Philippe Troin: better handling of process groups interactively. 2002-11-04 13:56:50 +00:00
Wayne Davison
a2365a60db - Use floatsecondsgetfn() and floatsecondssetfn() inside the int* version
of the functions (for improved accuracy).
- Added getrawseconds() and setrawsecodns() to allow the code to save and
  restore the actual start time of the $SECONDS variable.
- Changed the code that was adding in the child's elapsed time into the
  parent $SECONDS variable to just restore the raw time.
2002-10-31 18:32:40 +00:00
Wayne Davison
fd3bac933f - Save off the raw start-time of the $SECONDS special variable if we're
creating a local value (avoids rounding problems with elapsed time).
- Also changed a line where the newspecial enum was compared to 0 instead
  of NS_NONE.
2002-10-31 18:32:06 +00:00
Wayne Davison
f303c735fd Got rid of a gcc-3.2 compiler warning. 2002-10-30 19:29:42 +00:00
Peter Stephenson
c2b5a21ae5 17873: When restoring SECONDS after a function call, included elapsed time. 2002-10-29 12:58:00 +00:00
Peter Stephenson
ff23ebe925 17872: Fix `typeset SECONDS' when creating local parameter 2002-10-29 10:56:38 +00:00
Peter Stephenson
7bfc0f1b5c 17868: Allow $SECONDS to become floating point. 2002-10-29 10:31:12 +00:00
Clint Adams
6c998a07ab * 17810 (Martin Waitz): Src/utils.c: bung up memory leak with
POSIX.1e capabilities.
2002-10-11 01:08:18 +00:00
Oliver Kiddle
7a0ab2444d 17794: fix bugs with tied parameters 2002-10-10 11:06:42 +00:00
Peter Stephenson
3ad5e3e7fe 17481 (Karl Tomlinson): get/set for terminfo and termcap parameters 2002-10-07 11:48:06 +00:00
Bart Schaefer
d4c7657014 17760: Fix case-pattern parsing bug in sh emulation. 2002-10-06 18:38:14 +00:00
Bart Schaefer
fbc08ff52c 17714: Fix to 17357, add module dependencies even if not adding autoloads. 2002-10-06 18:25:39 +00:00
Bart Schaefer
a1d727e5dc 17692: Prevent typeset of a positional parameter before it can do damage,
and improve the error message about it.
2002-09-19 17:57:56 +00:00
Peter Stephenson
41b50445ea 17673: Fix bug with &&s and ||s in complex constructs 2002-09-17 10:42:17 +00:00
Oliver Kiddle
49bfbc1248 17678: ignore initial `--' argument to printf to satisfy POSIX 2002-09-16 18:24:47 +00:00
Peter Stephenson
56565320c1 17608: comment on use and abuse of BINF_SKIPINVALID 2002-09-03 19:33:00 +00:00
Peter Stephenson
25e363df2b 17602, 17603: Rationalise option handling, in particular for cd, pushd, popd. 2002-09-03 09:33:35 +00:00
Peter Stephenson
9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Peter Stephenson
7123f4413b 17544: implement read -s to suppress tty echo 2002-08-22 12:57:43 +00:00
Peter Stephenson
1c5d5bb1f4 17570: tweaks to socket module 2002-08-22 12:08:06 +00:00
Sven Wischnowsky
de670cbb58 fix typo in comment (17569) 2002-08-20 15:21:54 +00:00
Sven Wischnowsky
1229d05c19 fix default completion module loading, use compctl if it hasn't been loaded already and no completion widgets have been defined (17567) 2002-08-20 12:28:05 +00:00
Clint Adams
c6b5b1f147 17558: zsh/net/socket , zsocket builtin 2002-08-18 02:12:39 +00:00
Peter Stephenson
f60279ae24 17516, 17517: Attempted fixes for memory leaks shown by valgrind.
First with zstyle patterns, second with pwd in job structure.
2002-08-08 10:43:50 +00:00
Oliver Kiddle
af0697b705 17503: fix various typos and spelling mistakes in source code comments 2002-08-05 12:35:59 +00:00
Peter Stephenson
cc70b96162 17497: getopts skipped over zero-length arguments. 2002-08-01 15:50:07 +00:00
Peter Stephenson
8e90d2018c Dan Nelson: 17492: Quote output from xtrace 2002-08-01 15:06:25 +00:00
Sven Wischnowsky
273929e188 make sure invalidatelist() isn't called hwen we are inside menu selection and there's only one match left (17489) 2002-07-30 07:47:03 +00:00
Peter Stephenson
39bb8c9e8b 17485?: Incorrect test for TYPESET_SILENT 2002-07-29 16:02:53 +00:00
Sven Wischnowsky
def8d4afda remove qword, it isn't needed anymore (17439) 2002-07-08 09:03:04 +00:00
Sven Wischnowsky
135db923be improve interactive mode when there are no matches left (alow to go back with undo) (17429) 2002-07-05 08:18:50 +00:00
Clint Adams
19424d40a8 17417: remove unused fluff from datetime.c 2002-07-04 17:03:18 +00:00
Peter Stephenson
76c1e26713 17405: adapt 17390 to reset PREDISPLAY and POSTDISPLAY when zle is entered 2002-07-04 10:13:38 +00:00
Sven Wischnowsky
c2dd10edc9 in menu selection, use copies of comp{pre,suf}fix to make sure they exist; fix display problem with non-empty iprefix (17403) 2002-07-04 09:29:20 +00:00
Sven Wischnowsky
d98faffcaf fix for interactive mode when menu selection is called via the menu-select widget (17394) 2002-07-03 07:59:53 +00:00
Peter Stephenson
1a1b108b34 17390: new zle parameters $PREDISPLAY, $POSTDISPLAY 2002-07-01 16:50:41 +00:00
Peter Stephenson
a18f020282 17384: new recursive-edit widget. 2002-07-01 09:54:47 +00:00
Sven Wischnowsky
053629183d add new sepcial context -assign-parameter- for completing the parameter in an assignment (17387) 2002-07-01 08:25:15 +00:00
Bart Schaefer
6278159f6d 17357: Predefine autoloads in zsh emulation only. 2002-06-27 01:43:03 +00:00
Sven Wischnowsky
d28f67623f two new modes for menu selection: incremental search and interactive (17366) 2002-06-26 11:07:42 +00:00
Peter Stephenson
03105a5d6e 17360: more lenient accept-line-and-down-history behaviour
17361: more careful about NULL history entries in zle
2002-06-24 18:21:18 +00:00
Peter Stephenson
36765a58a6 17350: add $CUTBUFFER and $killring zle parameters 2002-06-24 09:51:59 +00:00
Peter Stephenson
19817c34d1 17334: TYPESET_SILENT shell option and typeset -p option 2002-06-20 16:39:47 +00:00
Peter Stephenson
98307b767c 17318: ${(z)...} added an extra space when the lexical analyser failed. 2002-06-14 17:52:05 +00:00
Peter Stephenson
b673918c0f 17304: tweak to tweak the tweaked tweak for zle -I in 17301 2002-06-07 18:04:06 +00:00
Peter Stephenson
0e08b8c2e4 17299: Use reference counts in Eprogs so as to be able to free them as soon
as finished with.
2002-06-07 14:44:21 +00:00
Peter Stephenson
37199039b2 17301: improve zle -I. 2002-06-07 10:57:24 +00:00
Peter Stephenson
9e97cfa052 17293: support poll() as preferred alternative to select() in zle 2002-06-06 09:04:46 +00:00
Clint Adams
c2c3e7e886 17297: 17265 continued. 2002-06-06 05:47:35 +00:00
Clint Adams
956eebdf62 zselect 2002-06-06 04:54:50 +00:00
Peter Stephenson
9c8b79b993 17295: `zle -F' failed because of bad test 2002-06-05 21:12:08 +00:00
Peter Stephenson
b2226ac72f remove builtin when tcp module is unloaded. 2002-06-05 21:02:34 +00:00
Peter Stephenson
682d83503b 17292: shut up compiler if no OPEN_MEMSTREAM 2002-06-05 15:03:15 +00:00
Peter Stephenson
5ef61a44b1 17265: make the jobs command work in subshells 2002-06-05 14:57:05 +00:00
Peter Stephenson
5d010ca81a 17285: David Wolfe <dwolfe@gforcetech.com>: finally fix QNX rlimits problem 2002-06-05 09:15:33 +00:00
Sven Wischnowsky
5221570c4a don't use optimised completion list display code after the list has been erased or we're not in menu selection anymore anyway (17286) 2002-06-05 07:49:02 +00:00
Peter Stephenson
07047de129 17283: Src/parse.c: `func() { ... } this bit was ignored'. 2002-06-04 16:25:46 +00:00
Peter Stephenson
da6a201946 17272: inner function definition could define nonsense 2002-06-02 18:03:20 +00:00
Peter Stephenson
69b570e28c 17253: ztcp -L gives parseable information on tcp session 2002-05-30 15:16:18 +00:00
Peter Stephenson
1ca8378051 17250: dont't execsave()/execrestore() around synchronous traps 2002-05-29 14:28:05 +00:00
Peter Stephenson
7898d5b198 17249: fix user output from ztcp 2002-05-29 13:15:35 +00:00
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
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