summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-11-21unposted: Credit Sebastian for 39992.Daniel Shahaf1-2/+2
2016-11-2039986, 39989: improve handling of vi-repeat-changeOliver Kiddle11-87/+147
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-2039974: complete shared libraries for -e and -s options to ssh-addOliver Kiddle2-3/+8
2016-11-2039900: Add TERMINFO_DIRS special like TERMINFO.Guillaume Maudoux3-4/+49
Although this is a colon-separated array there is no tied array.
2016-11-2039995 (from 39977): Optimise string parameter assignment.Peter Stephenson3-8/+174
If setter is the standard one and string length is unchnaged we can copy into place.
2016-11-2039978: more accurate doc for finding job by stringMikel Ward2-2/+7
2016-11-2039992: setarrvalue: Allocate a correctly-sized array.Daniel Shahaf2-2/+13
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 Shahaf2-1/+5
2016-11-2039985: Document the [nyae] answers to the spelling correction prompt, $SPROMPT.Daniel Shahaf2-0/+13
2016-11-1839916 + 39930 + tweak: _git: Complete options and values for -c.Daniel Shahaf2-3/+52
The "$@" in the option-names call is added in order to propagate the new (-S =) arguments. This bifurcates _git-config() in order to provide completion for % git -c <TAB> % git -c foo=<TAB>
2016-11-1739958: Add extra byte to PATH_MAX allocations.Peter Stephenson8-22/+28
This ensures we've got enough space for a null, although this isn't always needed.
2016-11-1739921: __git_recent_branches: Remove erroneous parsing of partial ref names ↵Daniel Shahaf2-3/+6
as tags. In the reflog, partial ref names in the "from" field always represent names of heads. (That is not true for the "to" field.) The parsing of tag names was added in commit 39102 (317c96b64f43688a6be08a8b1c93b6ab4eed662c) for equivalence with the then-previous implementation which used `git log $partial_ref_name`. The equivalence was correct, however, the then-previous implementation was not, since it would consider $partial_ref_name as a refs/tags/ name if a refs/heads/ name did not exist.
2016-11-1739922: __git_recent_branches: Fix an 'assertion' failure when two branches ↵Daniel Shahaf2-11/+12
(refs) point to the same commit.
2016-11-1739917: Complete setsid(1) as a precommandDaniel Shahaf2-1/+4
2016-11-1739915: whence: Honor PATH_DIRS option for arguments that start with './' or ↵Daniel Shahaf3-7/+25
'../'. While here, add some docstrings.
2016-11-1739962: bind vi case conversion widgetsOliver Kiddle2-0/+6
u/U in visual mode and g~ from normal mode
2016-11-1739959: when repeating vi changes advance through the numbered killring registersOliver Kiddle3-9/+45
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 Kiddle3-0/+111
buffers from a zle widget function
2016-11-1639945: allow further tab presses to move on to menu completion even when ↵Oliver Kiddle4-1/+70
compstate[insert] is emptied
2016-11-1539943: no need to compute arrlen() in arrdup_max() when max == 0.Barton E. Schaefer2-2/+8
2016-11-1539949: Special case for "-" in directory names.Peter Stephenson4-39/+59
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-1539947: Additional test for array subscripts.Peter Stephenson2-0/+13
This checks out-of-range multiple subscripts with and without the (@) flag.
2016-11-1539937: fix a problem introduced by 39886.Jun-ichi Takimoto2-3/+9
$a[i,j] should become an empty array if i>j.
2016-11-1439906: More multibyte optimisations for US-ASCII.Peter Stephenson2-3/+28
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. Schaefer2-0/+5
2016-11-1339934: if a widget execution fails, try to execute a corresponding immortal ↵Barton E. Schaefer2-3/+18
widget instead.
2016-11-1339933: more of zlecallhook() in redrawhook()Barton E. Schaefer2-2/+20
add commentary on some of the differences
2016-11-1339929: clarify execute{,-last}-named-cmdBarton E. Schaefer2-3/+12
2016-11-12unposted: Addenda to list of module hooksBarton E. Schaefer1-12/+15
2016-11-12unposted: add list of standard module hooks with corresponding macro namesBarton E. Schaefer2-0/+30
2016-11-1239920: extend yum completionPaul Seyfert2-197/+351
adding the following yum commands: * update-to (just what update expands) * upgrade-to (just what update expands) * history (the actual tricky one) * help (printing the available commands) * load-transaction (_files) * load-ts (_files) * check (just what the man page suggested) * reinstall (just what erase does - suggest installed packages) * downgrade (just what erase does - suggest installed packages) * repolist (just what the man page suggested) * distribution-synchronization (just what erase does - suggest installed packages) * distro-sync (just what erase does - suggest installed packages) A few history commands don't get expanded. Taken from the man page of yum 3.2.29. Reindented file.
2016-11-1039893: use arrdup_max() to show explicitly the difference in two code branchesBarton E. Schaefer2-3/+7
no functional change
2016-11-1139874/0002 plus size=0 handling: zshcalloc: Remove code duplication. No ↵Daniel Shahaf2-9/+4
functional change.
2016-11-1139874/0001: setarrvalue: Remove needless initialization.Daniel Shahaf2-2/+7
2016-11-1039901: No EXIT trap on LHS of pipeline.Peter Stephenson3-0/+26
There is a special case if the LHS is a shell construct. Add unit tests for both cases.
2016-11-0939890: typo corrections in completion functionsOliver Kiddle35-60/+81
2016-11-0939888: update tmux completion for tmux 2.3Oliver Kiddle2-8/+13
2016-11-0939884: fix history-beginning-search-menu for history lines containing a pipe ↵Oliver Kiddle2-1/+6
character
2016-11-0939882: mention ${name:/pattern/replacement} in the itemized synopsis with ↵Barton E. Schaefer2-5/+12
the related forms; clarify doc.
2016-11-0939887: no need to conditionalise assignment of strlen()Peter Stephenson2-6/+5
2016-11-0939886 based on 39877: Optimise arrdup to arrdup_max.Peter Stephenson3-7/+45
Only duplicate as much of the array as is needed.
2016-11-0939875: add dupstring_glen to avoid redundant strlen callsSebastian Gniazdowski3-2/+24
2016-11-0939853: _subversion: Accept long options in the '--foo=bar' syntax.Daniel Shahaf2-8/+19
2016-11-0839871: cut down number of strlen()s in getstrvalue()Sebastian Gniazdowski3-6/+32
2016-11-0839870: ensure exit trap can always runPeter Stephenson3-0/+23
2016-11-0839857: add support for darwin, with improvements on linux etc.Jun-ichi Takimoto2-52/+130
2016-11-08unposted: follow up to 39867: don't need test against zeroPeter Stephenson2-1/+4
2016-11-0839869: can transfer ownership of core of array when assigningSebastian Gniazdowski2-3/+11
2016-11-0839867, tweaked: Use cast to unsigned char to test character.Peter Stephenson2-1/+6
We want the unsigned variant to be <= 0x7f. Use the normal STOUC() macro and turn this into a single test.
2016-11-0739856: module completion improvements.Peter Stephenson2-10/+13
Follow symbolic links when finding. Use _multi_parts for paths when completing modules.