Wayne Davison
3e7b092bc7
- pushhiststack() now takes a level value and remembers it. If it was
...
the locallevel (instead of -1), the history list is marked to auto-pop
on function exit.
- The saveandpophiststack() function now interprets a 0 arg as a request
to do an auto-pop.
2004-05-21 20:05:12 +00:00
Wayne Davison
c39a15df42
- Added the -a option to "fc" and "history".
...
- Call saveandpophiststack() using the newest calling syntax.
2004-05-21 20:05:08 +00:00
Peter Stephenson
665b0950c6
19971: Fix environment nastiness in zexecve()
2004-05-21 11:19:30 +00:00
Wayne Davison
e8eca2ee4b
- Added functions to push and pop the current history list, allowing
...
functions to more easily switch to their own private history.
- Changed the existing history push/pop code in savehistfile() (which
uses a separate history buf to allow it to rewrite the on-disk
version of the history file without disturbing the in-memory list).
2004-05-20 22:23:02 +00:00
Wayne Davison
76ec200cc4
- Added the -p (push) and -P (pop) options to the "fc" builtin.
...
- Allow -p/-P to be given to "history".
- On exit, save & pop any pushed history stacks before we call the
normal savehistfile() function.
2004-05-20 22:22:43 +00:00
Wayne Davison
319af86611
Added a comment to resizehistents() to explain why the function is
...
weirder than expected at first glance.
2004-05-18 18:45:05 +00:00
Peter Stephenson
d3b14e887e
19941: fix (( 3, ))
2004-05-13 20:04:10 +00:00
Peter Stephenson
8723d530b3
fix bug I missed, somehow
2004-05-12 10:26:41 +00:00
Peter Stephenson
10744b66fd
19920: attempt to improve hrealloc()
2004-05-12 10:20:33 +00:00
Wayne Davison
1ec2b5c096
Fix the potential for an infinite loop in lockhistfile() if the
...
link() calls fails for some other reason than EEXIST.
2004-05-11 21:45:36 +00:00
Wayne Davison
c42420319f
Set the first character of buf to '\1' before the strftime() call so
...
we can try to distinguish a zero-length string from an error return
(a minor fix to Peter's patch).
2004-05-05 17:00:58 +00:00
Peter Stephenson
f57f65282b
19877: improved test for empty strftime strings
2004-05-04 16:43:29 +00:00
Clint Adams
c98b9dc800
* 19869: Src/prompt.c, Src/utils.c: avoid segfault when
...
prompt-expanding '%D{%p}' or '%D{%P}' under locales with null
strings for am_pm.
2004-05-04 04:17:26 +00:00
Peter Stephenson
885509c023
Fix TRAPS_ASYNC so that it handles signals correctly.
2004-05-02 19:55:54 +00:00
Peter Stephenson
aa7003e0ca
19840: vared takes one normal argument
2004-04-27 15:16:13 +00:00
Peter Stephenson
5fa91b1116
19837: restore vared -e
2004-04-27 11:03:06 +00:00
Peter Stephenson
63442b3eaa
19810: ksh autoloading
...
19812: autoloaded traps which are still buggy.
2004-04-23 11:17:13 +00:00
Peter Stephenson
5747147aff
19809: improve NO_TRAPS_ASYNC by queueing traps alone
2004-04-21 11:18:45 +00:00
Oliver Kiddle
f34d9be61b
19806: fix bug with %v prompt expansion and negative index beyond array start
2004-04-21 08:31:45 +00:00
Peter Stephenson
c1e47cb71f
19801: implement autoloading of trap functions
2004-04-20 12:57:27 +00:00
Oliver Kiddle
2c1f42366d
19767, 19785: store flags for -z and -k options to autoload allowing the
...
completion system to be used with ksh_autoload set
2004-04-20 12:38:15 +00:00
Oliver Kiddle
ca0deae382
19767, 19785: store flags for -z and -k options to autoload allowing the
...
completion system to be used with ksh_autoload set
2004-04-20 12:11:13 +00:00
Peter Stephenson
b5ceb73026
zsh-users/7365: new TRAPS_ASYNC option
2004-04-19 16:02:17 +00:00
Wayne Davison
5bae8f00b8
Minor optimization to qualnonemptydir() when a dir has a subdir.
2004-04-06 17:45:47 +00:00
Oliver Kiddle
98e28ff3ed
19712, 19740: allow assigning to associations with i and r subscript flags
2004-04-06 13:00:50 +00:00
Peter Stephenson
6fa6a1f865
Peter Castro: Cygwin improvements for dynamic libraries, text/binary, paths
2004-04-06 09:25:17 +00:00
Peter Stephenson
4688564c0a
19733 with docs tweaked: keymaps for vared and zed
2004-04-06 09:16:57 +00:00
Peter Stephenson
fda060370f
19717: (F) glob qualifier for full directories
2004-04-01 18:33:05 +00:00
Oliver Kiddle
3023ddf132
19707: negative index into arrays should return scalar and not one element array
2004-03-30 16:35:30 +00:00
Peter Stephenson
99b38b2f54
19683: Work around dllwrap problem on Cygwin
2004-03-25 12:32:10 +00:00
Peter Stephenson
83b0fd3674
19682: Don't run ZERR, DEBUG or EXIT traps inside other traps.
2004-03-25 10:07:12 +00:00
Peter Stephenson
8de7436fc0
19674, modified: support for non-standard ports in zftp.
2004-03-24 11:31:30 +00:00
Peter Stephenson
c5add3e2f5
19671: error in zle-line-init caused infinite loop
2004-03-22 19:51:17 +00:00
Peter Stephenson
514a476afe
unposted: make 19655 a bit safer
2004-03-18 13:54:22 +00:00
Peter Stephenson
2f8a646d4e
19655, 19656, 19657: Memory leaks spotted by valgrind.
...
Also bug with multiple math function autoloads.
2004-03-18 12:23:31 +00:00
Clint Adams
2dbe1c5436
* 19641: Src/Modules/pcre.c: implement -pcre-match conditional
...
suggested by Oliver.
2004-03-16 21:44:40 +00:00
Peter Stephenson
89057ab512
19629: fix zpty on HP-UX
2004-03-16 19:52:52 +00:00
Clint Adams
851c3882ed
* 19640: Src/Modules/pcre.c: improve error reporting a bit.
2004-03-16 19:41:00 +00:00
Clint Adams
befd90b847
* 19631: Doc/Zsh/mod_pcre.yo, Src/Modules/pcre.c: avoid segfault
...
when pcre_study is called before pcre_compile; documentation on
pcre_compile options.
2004-03-16 15:14:30 +00:00
Peter Stephenson
8860363e5c
19140: release process group on exit if acquired
2004-03-16 10:58:45 +00:00
Peter Stephenson
bb9d76469e
zsh-users/7160: Check and fix mod_export entries.
2004-03-12 18:56:42 +00:00
Oliver Kiddle
fc5d8fcb37
19602: cope with output from the preprocessor on HP/UX, Itanium II
2004-03-12 09:58:48 +00:00
Oliver Kiddle
479134a135
19596: include dlfcn.h instead of dl.h on HP/UX 11
2004-03-11 14:27:10 +00:00
Oliver Kiddle
95231270ed
19595: rename DO to DOLOOP to avoid conflict with curses.h on Tru64 5.1
2004-03-11 14:25:12 +00:00
Peter Stephenson
1316a6b441
19575: Fix problem with trap on EXIT overriding status
2004-03-10 10:50:00 +00:00
Peter Stephenson
02677cbdd6
19554: make nocaseglob more efficient on Cygwin
2004-03-08 12:00:15 +00:00
Peter Stephenson
2ace0ce4f2
19553: rename c in zle to lastchar
2004-03-08 11:44:09 +00:00
Peter Stephenson
8db5846e31
19552: missing mod_export
2004-03-08 11:01:10 +00:00
Oliver Kiddle
3ee4759f28
19549: correct buffer size for printf spec
2004-03-07 13:29:49 +00:00
Peter Stephenson
1777b67b1c
zsh-users/7121: NO_CASE_GLOB option for case-insensitive globbing
2004-03-06 00:22:58 +00:00
Geoff Wing
8026bedc1c
19474: fix a calculation when displaying completions which are
...
screen width or multiples of that wide, and ALWAYS_LAST_PROMPT
2004-03-05 00:51:36 +00:00
Wayne Davison
326fb2d483
Fixed two cases where unmetify() was using an int* to store a value
...
into a size_t variable.
2004-03-03 18:47:52 +00:00
Peter Stephenson
3c04f95a33
19528: fix error if neither select nor poll available
2004-03-03 15:34:29 +00:00
Oliver Kiddle
0b787b5da2
19525: suppress compiler warnings and complete groups using lookupd on Mac OS
2004-03-03 11:05:40 +00:00
Peter Stephenson
6bef4b91bf
19532: awk problem on AIX 5
2004-03-03 10:42:57 +00:00
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