summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 40003: include "0-"9 vi buffers in the registers associative arrayOliver Kiddle2016-11-243-10/+30
|
* 40005: call _date_formats from _dateJun-ichi Takimoto2016-11-243-37/+83
| | | | also update both files for darwin etc.
* 39982: $SPROMPT: Don't accept a spelling correction at space/tab.Daniel Shahaf2016-11-243-4/+14
| | | | | The patch also downscopes a couple of local variables, with no functional change.
* unposted: clear ERRFLAG_ERROR before invoking immortal widget (cf. 39934)Bart Schaefer2016-11-232-1/+10
| | | | Updates commit cbb9ca3d
* unposted: add test case for partial completion matching of options with ↵Oliver Kiddle2016-11-232-0/+8
| | | | arguments
* unposted: fix printf -v to an array without format string reuseOliver Kiddle2016-11-233-2/+13
|
* 39993: Tests for 39981.Oliver Kiddle2016-11-212-0/+15
|
* 39981: Make compstate[to_end] skip suffix and hidden suffix, but not ignored ↵Daniel Shahaf2016-11-212-0/+9
| | | | | | suffix. Motivated by 39930.
* unposted: Credit Sebastian for 39992.Daniel Shahaf2016-11-211-2/+2
|
* 39986, 39989: improve handling of vi-repeat-changeOliver Kiddle2016-11-2011-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.
* 39974: complete shared libraries for -e and -s options to ssh-addOliver Kiddle2016-11-202-3/+8
|
* 39900: Add TERMINFO_DIRS special like TERMINFO.Guillaume Maudoux2016-11-203-4/+49
| | | | Although this is a colon-separated array there is no tied array.
* 39995 (from 39977): Optimise string parameter assignment.Peter Stephenson2016-11-203-8/+174
| | | | | If setter is the standard one and string length is unchnaged we can copy into place.
* 39978: more accurate doc for finding job by stringMikel Ward2016-11-202-2/+7
|
* 39992: setarrvalue: Allocate a correctly-sized array.Daniel Shahaf2016-11-202-2/+13
| | | | | No memory was lost; the array was allocated with room for one (char *) element more than was required.
* unposted (after 39952): Restore C89 compatibility.Daniel Shahaf2016-11-202-1/+5
|
* 39985: Document the [nyae] answers to the spelling correction prompt, $SPROMPT.Daniel Shahaf2016-11-202-0/+13
|
* 39916 + 39930 + tweak: _git: Complete options and values for -c.Daniel Shahaf2016-11-182-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>
* 39958: Add extra byte to PATH_MAX allocations.Peter Stephenson2016-11-178-22/+28
| | | | | This ensures we've got enough space for a null, although this isn't always needed.
* 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
|