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
Peter Stephenson
6d82ce161a
37946: make rm * warnings more informative.
...
Now count files that would be deleted up to 100.
2016-02-11 15:23:57 +00:00
Barton E. Schaefer
95663e9365
37914: reparse associative array subscripts in "unset" so keys with "[" or "]" may be backslash-escaped
...
Also fix erroneous test case this revealed.
2016-02-08 20:52:11 -08:00
Peter Stephenson
1ab316c9b8
37895: $ZSH_SCRIPT is POSIX $0 but always availble
2016-02-07 21:01:08 +00:00
Jun-ichi Takimoto
2175399b70
37874: remove unused function argument
2016-02-04 08:23:02 +09:00
Jun-ichi Takimoto
a4020e10a3
37868: add 'static' to file local variables
2016-02-03 01:25:33 +09:00
Barton E. Schaefer
69acac38c9
37859: NULL-terminate cond_binary_ops static array.
2016-01-31 15:19:56 -08:00
Jun-ichi Takimoto
ca3bc0d95d
37838: use UNUSED() consistently
2016-01-30 00:26:23 +09:00
Daniel Shahaf
bced1beb8c
37700: Teach ${(z)} the 'repeat WORD SUBLIST' syntax.
2016-01-29 09:14:53 +00:00
Barton E. Schaefer
0b37b5149d
37804 (plus 37816): first word following "repeat" should be evaluated as math
2016-01-27 22:10:38 -08:00
Barton E. Schaefer
d18476ce5c
37819: zshaddhistory hook works for any history file write, even upon keyboard interrupt
2016-01-27 22:10:38 -08:00
Barton E. Schaefer
572f8c85ab
37810: repair handling of backslashes and of names starting with "+"/":"/"=" in zparseopts option specs
2016-01-27 22:10:38 -08:00
Barton E. Schaefer
8ddcdad0c1
37802: Clarify zparseopts documention. zparseopts "X::" specifier should also look for the optional argument in the word after "-X".
2016-01-27 22:10:38 -08:00
Barton E. Schaefer
10c5f95f52
37785: skip autoload parameters for "typeset -p"
2016-01-26 18:17:24 -08:00
Kamil Dudka
69c86cd2c3
37780: Care printing error if nothing to print.
2016-01-25 17:15:23 +00:00
Jun T
1d98f77a9b
Jun T.: 37759: save more function pointers from realparamtab when hacking in their replacements
...
Restoring from the original external symbols fails for some dynamic link schemes (e.g. 64bit Cygwin).
2016-01-25 08:28:30 -08:00
Peter Stephenson
7c59c953f2
37765: Use FS_FUNC on fucstack to find autoload -X target.
...
This is better than scriptname which can be updated due to e.g.
intervening "eval".
2016-01-25 16:23:16 +00:00
Peter Stephenson
be32864e6f
37776: Set errflag before calls to zwarning().
...
This avoids an attempt to call zerr() or zerrnam() recusrively.
2016-01-25 15:43:06 +00:00
Peter Stephenson
1aec003155
37722: test builtin should return status 2 on syntax error
2016-01-21 16:30:21 +00:00
Peter Stephenson
1c41f98aab
37705: don't turn - to Dash after start of brace parameter
2016-01-20 11:22:09 +00:00
Barton E. Schaefer
cfa8d8bcad
37682: when SH_GLOB is set, do not parse bare parentheses in arguments as a pattern grouping.
2016-01-19 19:57:59 -08:00
Peter Stephenson
c2b6bd51f9
37693: turn Dash into '-' in glob qualifiers
2016-01-19 17:38:59 +00:00
Peter Stephenson
ad16356e19
37689: ! and ^ need to be tokenised in character sets
2016-01-19 17:24:12 +00:00
Peter Stephenson
8eb9070d67
37678: Now possible to quote "-" in pattern range
2016-01-19 09:55:46 +00:00
Peter Stephenson
0194b4ab1d
37646: Return non-zero status from typeset assigning readonly
2016-01-15 15:53:39 +00:00
Peter Stephenson
1d8b528522
37643: Reset interrupt on key input in menu selection.
...
We don't need to propagate the interrupt further as the interrupt
causes the key to be empty, which will exit the widget. We
need to reset the condition as zrefresh() is now more sensitive
to errors since 36416 / 32f5d3d8
.
2016-01-15 12:49:42 +00:00
Peter Stephenson
da71967273
37512: overeager WARN_CREATE_GLOBAL with strftime
2016-01-15 12:16:40 +00:00
Daniel Shahaf
69379369da
unposted: Extend docstring of callhookfunc().
2016-01-15 06:30:12 +00:00
Daniel Shahaf
5cf6ae0056
37590: Invoke zle-line-pre-redraw during isearch.
2016-01-14 00:04:12 +00:00
Daniel Shahaf
a8a00be442
37591: 'alias -L': skip with a warning aliases with '=' in their LHS
2016-01-13 01:25:46 +00:00
Daniel Shahaf
5731581c4c
37551: Include the builtin's name in a "bad option" error message.
...
Example: «zsh -fc 'zle -z'» now prepends "zle:" to the error message.
2016-01-10 20:22:37 +00:00
Barton E. Schaefer
5eae5b58b1
Jun T.: 37515: multibyte handling as per 35448.
2016-01-08 20:42:00 -08:00
Barton E. Schaefer
424b417063
unposted: Src/builtin.c: refine READ_MSTREAM to avoid unsequenced evaluation
2016-01-08 20:36:50 -08:00