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