Peter Stephenson
3859aac04e
users/21632: Use of REPORTMEMORY variable
...
If the child's resisdent set size in megabytes exceeds this, print
out the resource (TIMEFMT) string. Document you need to add memory
usage to this by hand.
2016-06-13 16:06:22 +01:00
Daniel Shahaf
7badf262c1
38653 + 38657: 'functions -T' tracing: recurse into anonymous functions.
2016-06-13 08:53:18 +00:00
Barton E. Schaefer
769bd4070a
38630: fix infinite loop of "hash ="
2016-06-07 10:08:02 -07:00
Barton E. Schaefer
8cca444824
38622: consistent handling of "--" in "kill" builtin
2016-06-05 17:37:08 -07:00
Barton E. Schaefer
3a6a6fda8a
unposted (cf. 38612): remove overeager DPUTS()
2016-06-04 22:21:29 -07:00
Barton E. Schaefer
984c18048b
38599: skip the "no such named directory" warning when NO_EXEC is in effect
2016-06-04 09:51:23 -07:00
Daniel Shahaf
9e7cefcc95
unposted: internal: Document modify().
2016-06-03 20:39:25 +00:00
Peter Stephenson
dcffad8326
38586: Metafication problem with $functions
...
If treated as a complete associative array or scanned (retrieving
individual values was not affected), it incorrectly unmetafied
the value so multibyte characters got confused.
Add test.
2016-06-03 10:28:52 +01:00
Oliver Kiddle
3fdf1f16e3
38540: fix undo problem by not moving the current change when only undoing a history line change
2016-06-02 12:48:10 +02:00
Peter Stephenson
8cf68f05ab
21603: Make read_poll more interruptible.
...
If we interrupted the first read we still did the fallback read.
This is wrong.
2016-06-02 11:01:39 +01:00
Matthew Martin
ef7ef1f656
38513: cast time to long long for printing where possible
2016-05-22 19:00:03 +01:00
Barton E. Schaefer
c712e7511a
38468: wb,we values in gotword() needed assignment in additional case to avoid core dump
...
Bug introduced by 38248.
Also fix ChangeLog entry for 38248 to correctly reference Src/lex.c
2016-05-10 23:17:19 -07:00
Barton E. Schaefer
597fa5ee5d
38463: use immortal widgets in .safe keymap
2016-05-10 13:21:43 -07:00
Barton E. Schaefer
9dffe404a4
38432: avoid nonstandard setenv() on __APPLE__
2016-05-09 20:32:01 -07:00
Barton E. Schaefer
9afb67eb65
unposted: silence spurious compiler warning
2016-04-29 13:15:33 -07:00
Sebastian Gniazdowski
fea013b8e8
38356: allow integers as curses colours
2016-04-29 14:01:06 +01:00
Sebastian Gniazdowski
7fc0c2d57d
39354: zcurses fix for colour management
...
Alter internal return code so as not to mask curses error code.
2016-04-29 10:17:44 +01:00
Barton E. Schaefer
5ee05cf935
38350 (cf. Glenn Smith: 38348): Remove-all warning should warn about the root directory as well
2016-04-26 10:40:56 -07:00
m0viefreak
f06be0ffcf
38291: Change names of ISEARCH_* parameters to ISEARCHMATCH_*
2016-04-23 21:28:20 +00:00
Barton E. Schaefer
222dea055c
Mikael Berthe: 38307: PCRE segfault when parenthesized group matches nothing
...
unposted: regression test for 38307
2016-04-23 14:20:16 -07:00
Barton E. Schaefer
e1c745a0dc
38306: in printf formats, treat a missing precision as zero rather than as unlimited
2016-04-22 10:12:17 -07:00
Oliver Kiddle
267f945ffe
38287: fix position for the end of a visual selection range for the cursor on an empty last line in the buffer
2016-04-14 15:52:50 +02:00
Oliver Kiddle
c7eead3950
38286: cursor correction following yank-pop is only applicable to vi command mode
2016-04-14 15:52:44 +02:00
Barton E. Schaefer
b911398064
38248: fix word position calculation when completing on or just before a redirection operator
...
The completion result is still in need of some repair; e.g., if the first
thing on the line is the redirection, completion before it is not taken
to be in command position, and in this and other cases a necessary space
is not inserted between the completed word and the redirection.
2016-04-07 20:24:43 -07:00
Barton E. Schaefer
70fb93b64e
38229: fix cursor placement calculation when completing in empty double quotes
2016-04-05 16:14:55 -07:00
Peter Stephenson
2b7035d974
38241: ungetkeycmd() needs to unmetafy key string.
...
Use the new function to simplify memory management in prefix handling.
Third time lucky.
2016-04-04 14:54:54 +01:00
Barton E. Schaefer
1ea94513cc
Dmitry Marakasov: 38162: accept G for gigabytes in limit command
...
from github pull request - some formatting edited
2016-03-26 09:45:47 -07:00
Barton E. Schaefer
21202e7b95
38191: additional re-entrancy checks in reexpandprompt()
...
Do not free global pointers until after promptexpand() in case they are
referenced from signal handlers, and check for window size changes during
promptexpand().
2016-03-21 15:46:59 -07:00
Barton E. Schaefer
09e991a20a
38188: signal re-entrancy, maybe
...
Crams several globals into a struct so they can be saved/restored as one,
and then tries pushing the signal queue management down into patmatch()
from pattryrefs().
2016-03-21 15:46:59 -07:00
Barton E. Schaefer
ef6f1eb1c5
38142: signal re-entrancy, maybe
2016-03-21 15:46:59 -07:00
Peter Stephenson
b81b275ab3
Remove unnecessary file
2016-03-21 19:46:26 +00:00
m0viefreak
cbc44bd64a
38145: ZLE parameters for isearch and completion suffixes
2016-03-21 09:43:29 +00:00
Daniel Shahaf
c82ce14950
38135: internal: bin_compadd: Add a few comments.
2016-03-11 22:19:09 +00:00
Peter Stephenson
f4dfca490c
38114: Fix hang using ^Z with command subst.
...
In subshells started to perform substitutions disable signals
that require interactive handling.
2016-03-09 09:51:14 +00:00
Oliver Kiddle
8c29b34032
38043: allow any completion widget to cycle matches for menu completion to fix reverse menu completion
2016-03-07 13:15:40 +01:00
Peter Stephenson
28c46c1bfb
38111: Remove redundant return values in parsing.
...
Return values from par_list() and par_list1() are no longer used.
2016-03-07 10:49:35 +00:00
Peter Stephenson
dc2397f754
users/21352: ensure $'' doesn't get elided.
...
Assign nulstring to it if empty. Test for all forms of quotation
marks.
2016-03-07 09:44:54 +00:00
Peter Stephenson
17fb014dc7
38094: Fix POSIX EXIT traps defined in function.
...
These aren't local, so set the local level to 0; else they can get
overridden incorrectly.
2016-03-07 09:42:21 +00:00
Barton E. Schaefer
bc958ab275
38106: if...then if...else should be a parse error.
2016-03-06 15:10:27 -08:00
Greg Klanderman
440c6beec0
38086: shuffle init code to localize a global, add $ZSH_ARGZERO, refine $ZSH_SCRIPT
...
(also a couple of ChangeLog typos corrected -- Bart)
2016-03-06 09:53:40 -08:00
Barton E. Schaefer
564fb25e82
38048: fix "zle redisplay" when called while a listing is below the prompt
2016-03-03 13:03:40 -08:00
Barton E. Schaefer
6756870a92
38039: POSIXy behavior for "set +o"
2016-03-03 13:01:08 -08:00
Stephane Chazelas
f7d5ff31ce
38020: fix problems with $SECONDS.
...
Fractions of a second were not handled correctly.
2016-02-26 11:12:32 +00:00
Peter Stephenson
c55d855171
38024: Improve POSIX and native EXIT traps compatibility.
...
Allow a nested function trap to leave save and restore a POSIX
trap.
Still fails if the POSIX trap was defined in a function.
2016-02-25 14:20:26 +00:00
Barton E. Schaefer
c3f4d18e4f
38001: clear-screen re-expands prompts
2016-02-17 20:04:25 -08:00
Barton E. Schaefer
b7b3ae311d
37988: $0 becomes read-only under POSIXARGZERO
2016-02-17 20:04:25 -08:00
Peter Stephenson
ab74c86edb
37999: Sticky behaviour of EXIT traps.
...
They now have POSIX or non-POSIX behaviour based on the setting
of POSIX_TRAPS where the trap was defined, rather than where the
trap would (or would not) be executed.
Tweaks possible.
2016-02-17 10:40:55 +00:00
Daniel Shahaf
f96a016728
users/21256 + workers/37965: New math functions min(), max(), sum(), provided by a new autoloadable function 'zmathfunc'.
2016-02-16 10:52:27 +00:00
Barton E. Schaefer
f07a1bd009
37961: fix crash on bad memory access
...
In interactive menuselection, use of "compadd -x" (e.g. the "warnings"
zstyle) may have replaced the completion list, so skip highlighting of
the current selection until a subsequent keystroke has regenerated the
original listing
2016-02-14 11:13:17 -08:00
Barton E. Schaefer
1b923f69c7
37927: recreate local keymaps as necessary in case the user has deleted them
2016-02-13 12:51:12 -08:00