summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 39921: __git_recent_branches: Remove erroneous parsing of partial ref names ↵Daniel Shahaf2016-11-172-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.
* 39922: __git_recent_branches: Fix an 'assertion' failure when two branches ↵Daniel Shahaf2016-11-172-11/+12
| | | | (refs) point to the same commit.
* 39917: Complete setsid(1) as a precommandDaniel Shahaf2016-11-172-1/+4
|
* 39915: whence: Honor PATH_DIRS option for arguments that start with './' or ↵Daniel Shahaf2016-11-173-7/+25
| | | | | | '../'. While here, add some docstrings.
* 39962: bind vi case conversion widgetsOliver Kiddle2016-11-172-0/+6
| | | | u/U in visual mode and g~ from normal mode
* 39959: when repeating vi changes advance through the numbered killring registersOliver Kiddle2016-11-173-9/+45
| | | | | Also fix numeric arguments with vi-repeat-change: and argument passed to the repeat replaces that previously saved with the change.
* 39952: add registers special parameter to provide access to the vi register ↵Oliver Kiddle2016-11-173-0/+111
| | | | buffers from a zle widget function
* 39945: allow further tab presses to move on to menu completion even when ↵Oliver Kiddle2016-11-164-1/+70
| | | | compstate[insert] is emptied
* 39943: no need to compute arrlen() in arrdup_max() when max == 0.Barton E. Schaefer2016-11-152-2/+8
|
* 39949: Special case for "-" in directory names.Peter Stephenson2016-11-154-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.
* 39947: Additional test for array subscripts.Peter Stephenson2016-11-152-0/+13
| | | | | This checks out-of-range multiple subscripts with and without the (@) flag.
* 39937: fix a problem introduced by 39886.Jun-ichi Takimoto2016-11-152-3/+9
| | | | $a[i,j] should become an empty array if i>j.
* 39906: More multibyte optimisations for US-ASCII.Peter Stephenson2016-11-142-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.
* unposted: comment in zlecallhook() points to redrawhook() just in caseBarton E. Schaefer2016-11-132-0/+5
|
* 39934: if a widget execution fails, try to execute a corresponding immortal ↵Barton E. Schaefer2016-11-132-3/+18
| | | | widget instead.
* 39933: more of zlecallhook() in redrawhook()Barton E. Schaefer2016-11-132-2/+20
| | | | add commentary on some of the differences
* 39929: clarify execute{,-last}-named-cmdBarton E. Schaefer2016-11-132-3/+12
|
* unposted: Addenda to list of module hooksBarton E. Schaefer2016-11-121-12/+15
|
* unposted: add list of standard module hooks with corresponding macro namesBarton E. Schaefer2016-11-122-0/+30
|
* 39920: extend yum completionPaul Seyfert2016-11-122-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.
* 39893: use arrdup_max() to show explicitly the difference in two code branchesBarton E. Schaefer2016-11-102-3/+7
| | | | no functional change
* 39874/0002 plus size=0 handling: zshcalloc: Remove code duplication. No ↵Daniel Shahaf2016-11-112-9/+4
| | | | functional change.
* 39874/0001: setarrvalue: Remove needless initialization.Daniel Shahaf2016-11-112-2/+7
|
* 39901: No EXIT trap on LHS of pipeline.Peter Stephenson2016-11-103-0/+26
| | | | | There is a special case if the LHS is a shell construct. Add unit tests for both cases.
* 39890: typo corrections in completion functionsOliver Kiddle2016-11-0935-60/+81
|
* 39888: update tmux completion for tmux 2.3Oliver Kiddle2016-11-092-8/+13
|
* 39884: fix history-beginning-search-menu for history lines containing a pipe ↵Oliver Kiddle2016-11-092-1/+6
| | | | character
* 39882: mention ${name:/pattern/replacement} in the itemized synopsis with ↵Barton E. Schaefer2016-11-092-5/+12
| | | | the related forms; clarify doc.
* 39887: no need to conditionalise assignment of strlen()Peter Stephenson2016-11-092-6/+5
|
* 39886 based on 39877: Optimise arrdup to arrdup_max.Peter Stephenson2016-11-093-7/+45
| | | | Only duplicate as much of the array as is needed.
* 39875: add dupstring_glen to avoid redundant strlen callsSebastian Gniazdowski2016-11-093-2/+24
|
* 39853: _subversion: Accept long options in the '--foo=bar' syntax.Daniel Shahaf2016-11-092-8/+19
|
* 39871: cut down number of strlen()s in getstrvalue()Sebastian Gniazdowski2016-11-083-6/+32
|
* 39870: ensure exit trap can always runPeter Stephenson2016-11-083-0/+23
|
* 39857: add support for darwin, with improvements on linux etc.Jun-ichi Takimoto2016-11-082-52/+130
|
* unposted: follow up to 39867: don't need test against zeroPeter Stephenson2016-11-082-1/+4
|
* 39869: can transfer ownership of core of array when assigningSebastian Gniazdowski2016-11-082-3/+11
|
* 39867, tweaked: Use cast to unsigned char to test character.Peter Stephenson2016-11-082-1/+6
| | | | | We want the unsigned variant to be <= 0x7f. Use the normal STOUC() macro and turn this into a single test.
* 39856: module completion improvements.Peter Stephenson2016-11-072-10/+13
| | | | | | Follow symbolic links when finding. Use _multi_parts for paths when completing modules.
* 39855: new completion for jot commandJun-ichi Takimoto2016-11-072-0/+84
|
* zsh-users/22083: attempt to explain what a word is in parameter substitution.Peter Stephenson2016-11-072-0/+17
|
* 39840: _cpio: Declare variable's type correctly.Daniel Shahaf2016-11-072-1/+7
|
* unposted: ChangeLog typoDaniel Shahaf2016-11-071-1/+1
|
* 39728: define _GNU_SOURCE on CygwinJun-ichi Takimoto2016-11-073-4/+6
|
* 39849: _tmux: Remove set-remain-on exitFrank Terbeck2016-11-072-2/+5
| | | | This was removed recently, since it was superseded by hooks.
* 39848: _tmux: Update options to latest tmuxFrank Terbeck2016-11-062-6/+8
|
* 39847: Update helper function name patternFrank Terbeck2016-11-062-1/+6
| | | | | | | | | | | | In 580698bc71, Oliver updated a whole bunch of options in a number of completions. While at it, he also changed a bit of coding style, to better adhere to Etc/zsh-development-guide — among those changes is to convert "function foobar() {" function definitions to "foobar() {". This broke Util/check-tmux-state so that it couldn't detect any supported tmux sub-commands within _tmux anymore. This updates the regular expression that is used in the script to match and list these function definitions.
* Thomas Bereknyei, Mic92: 39831: find "getent" by the usual command search, ↵Barton E. Schaefer2016-11-062-2/+10
| | | | | | not just /usr/bin/ Also tweak the replacement getent to handle /etc/hosts format.
* unposted: tests for 39839, 39844Barton E. Schaefer2016-11-052-0/+15
|
* 39844: fix "while" condition as per 39839 (commit 2c56c7e5)Barton E. Schaefer2016-11-052-4/+5
|