Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 39982: $SPROMPT: Don't accept a spelling correction at space/tab. | Daniel Shahaf | 2016-11-24 | 3 | -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 Schaefer | 2016-11-23 | 2 | -1/+10 |
| | | | | Updates commit cbb9ca3d | ||||
* | unposted: add test case for partial completion matching of options with ↵ | Oliver Kiddle | 2016-11-23 | 2 | -0/+8 |
| | | | | arguments | ||||
* | unposted: fix printf -v to an array without format string reuse | Oliver Kiddle | 2016-11-23 | 3 | -2/+13 |
| | |||||
* | 39993: Tests for 39981. | Oliver Kiddle | 2016-11-21 | 2 | -0/+15 |
| | |||||
* | 39981: Make compstate[to_end] skip suffix and hidden suffix, but not ignored ↵ | Daniel Shahaf | 2016-11-21 | 2 | -0/+9 |
| | | | | | | suffix. Motivated by 39930. | ||||
* | unposted: Credit Sebastian for 39992. | Daniel Shahaf | 2016-11-21 | 1 | -2/+2 |
| | |||||
* | 39986, 39989: improve handling of vi-repeat-change | Oliver Kiddle | 2016-11-20 | 11 | -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-add | Oliver Kiddle | 2016-11-20 | 2 | -3/+8 |
| | |||||
* | 39900: Add TERMINFO_DIRS special like TERMINFO. | Guillaume Maudoux | 2016-11-20 | 3 | -4/+49 |
| | | | | Although this is a colon-separated array there is no tied array. | ||||
* | 39995 (from 39977): Optimise string parameter assignment. | Peter Stephenson | 2016-11-20 | 3 | -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 string | Mikel Ward | 2016-11-20 | 2 | -2/+7 |
| | |||||
* | 39992: setarrvalue: Allocate a correctly-sized array. | Daniel Shahaf | 2016-11-20 | 2 | -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 Shahaf | 2016-11-20 | 2 | -1/+5 |
| | |||||
* | 39985: Document the [nyae] answers to the spelling correction prompt, $SPROMPT. | Daniel Shahaf | 2016-11-20 | 2 | -0/+13 |
| | |||||
* | 39916 + 39930 + tweak: _git: Complete options and values for -c. | Daniel Shahaf | 2016-11-18 | 2 | -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 Stephenson | 2016-11-17 | 8 | -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 Shahaf | 2016-11-17 | 2 | -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 Shahaf | 2016-11-17 | 2 | -11/+12 |
| | | | | (refs) point to the same commit. | ||||
* | 39917: Complete setsid(1) as a precommand | Daniel Shahaf | 2016-11-17 | 2 | -1/+4 |
| | |||||
* | 39915: whence: Honor PATH_DIRS option for arguments that start with './' or ↵ | Daniel Shahaf | 2016-11-17 | 3 | -7/+25 |
| | | | | | | '../'. While here, add some docstrings. | ||||
* | 39962: bind vi case conversion widgets | Oliver Kiddle | 2016-11-17 | 2 | -0/+6 |
| | | | | u/U in visual mode and g~ from normal mode | ||||
* | 39959: when repeating vi changes advance through the numbered killring registers | Oliver Kiddle | 2016-11-17 | 3 | -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 Kiddle | 2016-11-17 | 3 | -0/+111 |
| | | | | buffers from a zle widget function | ||||
* | 39945: allow further tab presses to move on to menu completion even when ↵ | Oliver Kiddle | 2016-11-16 | 4 | -1/+70 |
| | | | | compstate[insert] is emptied | ||||
* | 39943: no need to compute arrlen() in arrdup_max() when max == 0. | Barton E. Schaefer | 2016-11-15 | 2 | -2/+8 |
| | |||||
* | 39949: Special case for "-" in directory names. | Peter Stephenson | 2016-11-15 | 4 | -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 Stephenson | 2016-11-15 | 2 | -0/+13 |
| | | | | | This checks out-of-range multiple subscripts with and without the (@) flag. | ||||
* | 39937: fix a problem introduced by 39886. | Jun-ichi Takimoto | 2016-11-15 | 2 | -3/+9 |
| | | | | $a[i,j] should become an empty array if i>j. | ||||
* | 39906: More multibyte optimisations for US-ASCII. | Peter Stephenson | 2016-11-14 | 2 | -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 case | Barton E. Schaefer | 2016-11-13 | 2 | -0/+5 |
| | |||||
* | 39934: if a widget execution fails, try to execute a corresponding immortal ↵ | Barton E. Schaefer | 2016-11-13 | 2 | -3/+18 |
| | | | | widget instead. | ||||
* | 39933: more of zlecallhook() in redrawhook() | Barton E. Schaefer | 2016-11-13 | 2 | -2/+20 |
| | | | | add commentary on some of the differences | ||||
* | 39929: clarify execute{,-last}-named-cmd | Barton E. Schaefer | 2016-11-13 | 2 | -3/+12 |
| | |||||
* | unposted: Addenda to list of module hooks | Barton E. Schaefer | 2016-11-12 | 1 | -12/+15 |
| | |||||
* | unposted: add list of standard module hooks with corresponding macro names | Barton E. Schaefer | 2016-11-12 | 2 | -0/+30 |
| | |||||
* | 39920: extend yum completion | Paul Seyfert | 2016-11-12 | 2 | -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 branches | Barton E. Schaefer | 2016-11-10 | 2 | -3/+7 |
| | | | | no functional change | ||||
* | 39874/0002 plus size=0 handling: zshcalloc: Remove code duplication. No ↵ | Daniel Shahaf | 2016-11-11 | 2 | -9/+4 |
| | | | | functional change. | ||||
* | 39874/0001: setarrvalue: Remove needless initialization. | Daniel Shahaf | 2016-11-11 | 2 | -2/+7 |
| | |||||
* | 39901: No EXIT trap on LHS of pipeline. | Peter Stephenson | 2016-11-10 | 3 | -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 functions | Oliver Kiddle | 2016-11-09 | 35 | -60/+81 |
| | |||||
* | 39888: update tmux completion for tmux 2.3 | Oliver Kiddle | 2016-11-09 | 2 | -8/+13 |
| | |||||
* | 39884: fix history-beginning-search-menu for history lines containing a pipe ↵ | Oliver Kiddle | 2016-11-09 | 2 | -1/+6 |
| | | | | character | ||||
* | 39882: mention ${name:/pattern/replacement} in the itemized synopsis with ↵ | Barton E. Schaefer | 2016-11-09 | 2 | -5/+12 |
| | | | | the related forms; clarify doc. | ||||
* | 39887: no need to conditionalise assignment of strlen() | Peter Stephenson | 2016-11-09 | 2 | -6/+5 |
| | |||||
* | 39886 based on 39877: Optimise arrdup to arrdup_max. | Peter Stephenson | 2016-11-09 | 3 | -7/+45 |
| | | | | Only duplicate as much of the array as is needed. | ||||
* | 39875: add dupstring_glen to avoid redundant strlen calls | Sebastian Gniazdowski | 2016-11-09 | 3 | -2/+24 |
| | |||||
* | 39853: _subversion: Accept long options in the '--foo=bar' syntax. | Daniel Shahaf | 2016-11-09 | 2 | -8/+19 |
| | |||||
* | 39871: cut down number of strlen()s in getstrvalue() | Sebastian Gniazdowski | 2016-11-08 | 3 | -6/+32 |
| |