Peter Stephenson
6b1dc0f701
20331: Use internal zlong variables for consistency
...
20332: Add WIDGETSTYLE zle parameter
2004-09-09 10:12:42 +00:00
Peter Stephenson
65bbf722d9
20330: rationalise zle return statuses
2004-09-08 15:23:47 +00:00
Bart Schaefer
e1d5c7df58
20325: consensus fix for "command -v" crash w/POSIXBUILTINS.
2004-09-08 08:24:41 +00:00
Bart Schaefer
72fdf24448
20320: rewrite of 20318, for sanity.
2004-09-08 08:24:00 +00:00
Bart Schaefer
91a08a2517
20318: Fix xtrace output bug introduced by 20308.
2004-09-04 16:59:35 +00:00
Peter Stephenson
97fd0d9b89
20308: add EVAL_LINENO option
2004-09-03 09:47:44 +00:00
Peter Stephenson
fb79072575
20303: zle -I test and running zle widgets in traps
2004-09-02 14:34:33 +00:00
Peter Stephenson
d24593bf38
20300: fix spurious EOF from ^C
2004-09-02 09:20:35 +00:00
Wayne Davison
0aa5829cc7
When downline() calls upline() or visa versa (due to a negative zmult),
...
the value of "n" that was returned should be negative but was positive.
Fixes some problems with {down,up}-line-or-history and others.
2004-08-24 15:47:04 +00:00
Peter Stephenson
7d3220f298
20251: integer conversion truncation
...
20258: save command status in prompt substitution
update FAQ
rename version to 4.2.1-dev-1
2004-08-16 09:52:56 +00:00
Geoff Wing
fd62429d19
still allow user specified text modifiers with a short terminal.
...
Only disallow if the terminal is really unknown or without
sufficient capabilities or if SINGLE_LINE_ZLE option is given
2004-08-07 08:43:56 +00:00
Peter Stephenson
640bbab78f
20221: $LINENO in trap '...' DEBUG was wrong.
2004-07-29 15:09:51 +00:00
Peter Stephenson
efe2876d92
20219: make zle parameter HISTNO writeable
...
add history-pattern-search widget
2004-07-29 14:21:57 +00:00
Peter Stephenson
e1d8ca1d70
20208: ternary path codes in prompt treat / as zero elements
2004-07-29 11:45:53 +00:00
Peter Stephenson
241aa1d40d
20214: fix debugging test with recursive functions
2004-07-28 10:34:31 +00:00
Peter Stephenson
17e576782c
20198: fix TRAPEXIT.
2004-07-26 13:18:07 +00:00
Peter Stephenson
f5d9a995f9
20173: fix crash when reallocating heaps
2004-07-17 19:24:59 +00:00
Peter Stephenson
0cfb07ee92
20153: make zle-line-init run after the first zrefresh()
2004-07-13 09:41:36 +00:00
Peter Stephenson
aad11eb618
unposted: improve 20150 by setting pointer to NULL
2004-07-12 10:05:46 +00:00
Peter Stephenson
86ae90bc1c
20149: improve prompt-reset code
...
20150: commit ancient memory leak fix(?) in completion
2004-07-11 22:53:01 +00:00
Peter Stephenson
4c8796b11d
20141: Crash restoring exported special parameters
2004-07-07 15:00:44 +00:00
Peter Stephenson
8784bbe97c
20126: tidy up before 4.2.1
...
20127: tweaked version of Wayne's patch to reexand prompts
2004-07-02 15:59:07 +00:00
Peter Stephenson
3c13204e55
7650: new reset-prompt zle widget
2004-07-01 14:55:54 +00:00
Peter Stephenson
bf21478722
20118: improvements to limits builtins
2004-06-30 11:10:35 +00:00
Peter Stephenson
7f26993e99
20112 changed c.f. 20113:
...
fix here string and here document expansion and quoting
2004-06-28 15:38:10 +00:00
Clint Adams
ceb7a09833
20091: Src/Modules/pcre.c: silence gcc "unused parameter" warnings.
2004-06-22 23:47:57 +00:00
Peter Stephenson
d591334e9d
20076, 20084: { ... } always { ... } syntax.
2004-06-22 13:09:55 +00:00
Peter Stephenson
ed76bafc5e
20029: fix randomness of mathfunc rand48(seed)
2004-06-08 21:51:11 +00:00
Felix Rosencrantz
ba2415ce67
20002 -- fix for matching spec core dump
2004-06-04 06:00:32 +00:00
Wayne Davison
fb0937a69e
Marked unused parameters with the new UNUSED() macro.
2004-06-02 22:14:25 +00:00
Wayne Davison
30a139fe89
Define the new UNUSED() macro for marking function parameters.
2004-06-02 18:11:43 +00:00
Wayne Davison
12b2ed63ab
Silenced one signed/unsigned comparison compiler warning.
2004-05-28 19:24:13 +00:00
Wayne Davison
b5d7902c20
Silenced three signed/unsigned comparison compiler warnings.
2004-05-28 19:23:47 +00:00
Wayne Davison
327481b391
Silenced one signed/unsigned comparison compiler warning.
2004-05-28 19:22:17 +00:00
Wayne Davison
14c7f464c2
Silenced two signed/unsigned comparison compiler warnings.
2004-05-28 19:21:05 +00:00
Wayne Davison
fea94cd79f
Fixed two signed/unsigned comparisons.
2004-05-28 19:20:29 +00:00
Wayne Davison
7c4ac8d60b
- Added missing struct initializers to two last-in-list values.
...
- Fixed a few signed/unsigned comparisons.
2004-05-28 19:20:01 +00:00
Wayne Davison
f297798397
Made a variable (t2) size_t so that it matched the size of the
...
other variable it gets compared with (fw).
2004-05-28 19:18:17 +00:00
Wayne Davison
f160996d51
Changed a few job-table variables into ints.
2004-05-28 19:16:55 +00:00
Wayne Davison
059162c442
Supply all initializers for the final struct reswd element.
2004-05-28 19:07:13 +00:00
Wayne Davison
88013bb195
Fixed signed/unsigned compiler warning.
2004-05-28 19:05:11 +00:00
Peter Stephenson
5ac05cab9f
19976: fix spurious job table full messages
2004-05-25 18:38:56 +00:00
Wayne Davison
79a802c74c
Added a call to saveandpophiststack(0) to endparamscope() to enable
...
the new auto-pop feature.
2004-05-21 20:05:16 +00:00
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