summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2016-12-1440179: fix handling of "printf -" and "printf --"Barton E. Schaefer1-1/+1
unposted: regression test for 40179 / 37467
2016-12-1040134: silence spurious compiler warnings.Barton E. Schaefer2-2/+2
2016-12-0940117: Revert a hunk of 40035 that changed semantics incorrectly.Daniel Shahaf1-1/+1
2016-12-0940129: revert 39611, add code comments and test cases for _argumentsOliver Kiddle1-33/+58
2016-12-0840119: correct typo in commentOliver Kiddle1-2/+2
2016-12-05Additional case for ERR_RETURN and ERR_EXIT.Peter Stephenson1-0/+1
Don't trigger just because status is non-zero at end of current shell group.
2016-12-05Extra case for ERR_RETURN and ERR_EXIT.Peter Stephenson3-1/+16
Don't trigger just because status is non-zero at end of complex shell construct as this may be a case we've already suppressed.
2016-12-0340071: change Dash back to "-" before evaluating named directory expansionsBarton E. Schaefer1-0/+2
2016-12-0340068: Abort execution when setuid/setgid fail.Daniel Shahaf1-4/+4
The incumbent code would print an error message and continue execution with the previous uid/gid values, not even setting lastval: % UID=42 id -u; echo $? zsh: failed to change user ID: operation not permitted 1000 0 %
2016-12-0340067: internal: Document 'cmatcher', parse_cmatcher(), 'comptoend', ↵Daniel Shahaf3-4/+30
unsetparam_pm(), and getindex().
2016-12-0140050: prepend /**/ to global functions and #ifdefsJun-ichi Takimoto1-0/+35
2016-11-3040043: fix computil.c indentation (cosmetic)Peter Stephenson1-4/+4
2016-11-2940034: clear badcshglob when ignoring errorsBarton E. Schaefer1-1/+3
2016-11-2940032: consistency in handling of subscript slices outside the bounds of an ↵Barton E. Schaefer1-2/+9
array parameter unposted: README: example describing 40032
2016-11-2940037: Unicode 9 character width support.Joshua Rubin3-2/+1336
Enable with --enable-unicode9.
2016-11-2940035: Cosmetic fixes for comments and documentation.Eitan Adler6-6/+6
Mostly fixes to doubled words.
2016-11-2940026: Fix for completion after redirection.Peter Stephenson1-5/+19
This could get confused about where we were in the command line word array e.g. after the > of "!> .". Also take more care if does confused, with debug output. Also neaten up one obscure test.
2016-11-2840010: builtins: Say 'bad option: +x', not 'bad option: -x', when +x was passed.Daniel Shahaf1-2/+3
2016-11-2840009: alias -L: Emit aliases that begin with a plus sign correctly.Daniel Shahaf1-2/+2
2016-11-24unposted: fix to compile on Solaris where curses.h has a #define for reg to ↵Oliver Kiddle1-9/+9
register
2016-11-2440003: include "0-"9 vi buffers in the registers associative arrayOliver Kiddle1-9/+26
2016-11-2439982: $SPROMPT: Don't accept a spelling correction at space/tab.Daniel Shahaf1-4/+4
The patch also downscopes a couple of local variables, with no functional change.
2016-11-23unposted: clear ERRFLAG_ERROR before invoking immortal widget (cf. 39934)Bart Schaefer1-1/+5
Updates commit cbb9ca3d
2016-11-23unposted: fix printf -v to an array without format string reuseOliver Kiddle1-1/+1
2016-11-2139981: Make compstate[to_end] skip suffix and hidden suffix, but not ignored ↵Daniel Shahaf1-0/+4
suffix. Motivated by 39930.
2016-11-2039986, 39989: improve handling of vi-repeat-changeOliver Kiddle7-84/+123
Save previous vi change and throw away a new change that fails. Add zle -f vichange to allow shell widget to be a single change. Fix repeat of command where numeric arguments were multiplied.
2016-11-2039900: Add TERMINFO_DIRS special like TERMINFO.Guillaume Maudoux1-0/+31
Although this is a colon-separated array there is no tied array.
2016-11-2039995 (from 39977): Optimise string parameter assignment.Peter Stephenson1-8/+31
If setter is the standard one and string length is unchnaged we can copy into place.
2016-11-2039992: setarrvalue: Allocate a correctly-sized array.Daniel Shahaf1-2/+10
No memory was lost; the array was allocated with room for one (char *) element more than was required.
2016-11-20unposted (after 39952): Restore C89 compatibility.Daniel Shahaf1-1/+2
2016-11-1739958: Add extra byte to PATH_MAX allocations.Peter Stephenson7-22/+22
This ensures we've got enough space for a null, although this isn't always needed.
2016-11-1739915: whence: Honor PATH_DIRS option for arguments that start with './' or ↵Daniel Shahaf1-7/+16
'../'. While here, add some docstrings.
2016-11-1739962: bind vi case conversion widgetsOliver Kiddle1-0/+3
u/U in visual mode and g~ from normal mode
2016-11-1739959: when repeating vi changes advance through the numbered killring registersOliver Kiddle1-9/+26
Also fix numeric arguments with vi-repeat-change: and argument passed to the repeat replaces that previously saved with the change.
2016-11-1739952: add registers special parameter to provide access to the vi register ↵Oliver Kiddle1-0/+99
buffers from a zle widget function
2016-11-1639945: allow further tab presses to move on to menu completion even when ↵Oliver Kiddle1-0/+1
compstate[insert] is emptied
2016-11-1539943: no need to compute arrlen() in arrdup_max() when max == 0.Barton E. Schaefer1-2/+3
2016-11-1539949: Special case for "-" in directory names.Peter Stephenson2-39/+47
It can be sh-tokenized to Dash to allow for appearing in ranges after substitution, so needs to be turned back to "-" in that case.
2016-11-1539937: fix a problem introduced by 39886.Jun-ichi Takimoto1-3/+4
$a[i,j] should become an empty array if i>j.
2016-11-1439906: More multibyte optimisations for US-ASCII.Peter Stephenson1-3/+23
This treats characters 0 to 0x7f as single byte US-ASCII along the lines we already do in other places in the code.
2016-11-13unposted: comment in zlecallhook() points to redrawhook() just in caseBarton E. Schaefer1-0/+2
2016-11-1339934: if a widget execution fails, try to execute a corresponding immortal ↵Barton E. Schaefer1-3/+15
widget instead.
2016-11-1339933: more of zlecallhook() in redrawhook()Barton E. Schaefer1-2/+17
add commentary on some of the differences
2016-11-1039893: use arrdup_max() to show explicitly the difference in two code branchesBarton E. Schaefer1-3/+2
no functional change
2016-11-1139874/0002 plus size=0 handling: zshcalloc: Remove code duplication. No ↵Daniel Shahaf1-9/+1
functional change.
2016-11-1139874/0001: setarrvalue: Remove needless initialization.Daniel Shahaf1-2/+2
2016-11-1039901: No EXIT trap on LHS of pipeline.Peter Stephenson1-0/+4
There is a special case if the LHS is a shell construct. Add unit tests for both cases.
2016-11-0939887: no need to conditionalise assignment of strlen()Peter Stephenson1-6/+2
2016-11-0939886 based on 39877: Optimise arrdup to arrdup_max.Peter Stephenson2-7/+42
Only duplicate as much of the array as is needed.
2016-11-0939875: add dupstring_glen to avoid redundant strlen callsSebastian Gniazdowski2-2/+19