Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 40269: handle option exclusion within current word for clumped options | Oliver Kiddle | 2017-01-05 | 1 | -13/+13 |
| | | | | This replaces the change made in 13999 with an alternative approach. | ||||
* | 40227: handle _arguments sets and rest arguments starting with a dash | Oliver Kiddle | 2017-01-04 | 1 | -11/+26 |
| | | | | | This is a new approach to the problem first covered by 39611: checking to see if an option-like argument belongs to one of the other sets. | ||||
* | 40226: tidy up some of the _arguments set code | Oliver Kiddle | 2017-01-04 | 1 | -70/+29 |
| | | | | | | Remove old code for applying explicit exclusions between sets which fixes some odd behaviour. Some struct members were unused. Also added some comments and test cases. | ||||
* | users/22319: ${ary1:^ary2} should not change isarr state of expansion of ary1 | Barton E. Schaefer | 2017-01-03 | 1 | -2/+4 |
| | | | | Unless ary1 is made from a scalar, semantics of (@) in double quotes is lost. | ||||
* | 40248: suppress errors from zshaddhistoryhook | Barton E. Schaefer | 2017-01-03 | 1 | -1/+2 |
| | | | | and do not call it if no history entry will be written | ||||
* | 40265: Fix problems with pure string in patterns with Meta. | Peter Stephenson | 2017-01-03 | 1 | -7/+1 |
| | | | | | | Copy instead of relying on jiggery pokery with memory reallocation. Problem was triggering with string ending with Dash converted to -. | ||||
* | 40260: zero new space allocated in prompt buffer | Paulo Andrade | 2017-01-03 | 1 | -0/+1 |
| | |||||
* | 40231: Optimise setarrvalue(). | Sebastian Gniazdowski | 2016-12-28 | 1 | -16/+34 |
| | |||||
* | 40162: _arguments support for a match spec in combination with sets | Oliver Kiddle | 2016-12-22 | 1 | -1/+1 |
| | |||||
* | 40179: fix handling of "printf -" and "printf --" | Barton E. Schaefer | 2016-12-14 | 1 | -1/+1 |
| | | | | unposted: regression test for 40179 / 37467 | ||||
* | 40134: silence spurious compiler warnings. | Barton E. Schaefer | 2016-12-10 | 2 | -2/+2 |
| | |||||
* | 40117: Revert a hunk of 40035 that changed semantics incorrectly. | Daniel Shahaf | 2016-12-09 | 1 | -1/+1 |
| | |||||
* | 40129: revert 39611, add code comments and test cases for _arguments | Oliver Kiddle | 2016-12-09 | 1 | -33/+58 |
| | |||||
* | 40119: correct typo in comment | Oliver Kiddle | 2016-12-08 | 1 | -2/+2 |
| | |||||
* | Additional case for ERR_RETURN and ERR_EXIT. | Peter Stephenson | 2016-12-05 | 1 | -0/+1 |
| | | | | | Don't trigger just because status is non-zero at end of current shell group. | ||||
* | Extra case for ERR_RETURN and ERR_EXIT. | Peter Stephenson | 2016-12-05 | 3 | -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. | ||||
* | 40071: change Dash back to "-" before evaluating named directory expansions | Barton E. Schaefer | 2016-12-03 | 1 | -0/+2 |
| | |||||
* | 40068: Abort execution when setuid/setgid fail. | Daniel Shahaf | 2016-12-03 | 1 | -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 % | ||||
* | 40067: internal: Document 'cmatcher', parse_cmatcher(), 'comptoend', ↵ | Daniel Shahaf | 2016-12-03 | 3 | -4/+30 |
| | | | | unsetparam_pm(), and getindex(). | ||||
* | 40050: prepend /**/ to global functions and #ifdefs | Jun-ichi Takimoto | 2016-12-01 | 1 | -0/+35 |
| | |||||
* | 40043: fix computil.c indentation (cosmetic) | Peter Stephenson | 2016-11-30 | 1 | -4/+4 |
| | |||||
* | 40034: clear badcshglob when ignoring errors | Barton E. Schaefer | 2016-11-29 | 1 | -1/+3 |
| | |||||
* | 40032: consistency in handling of subscript slices outside the bounds of an ↵ | Barton E. Schaefer | 2016-11-29 | 1 | -2/+9 |
| | | | | | | array parameter unposted: README: example describing 40032 | ||||
* | 40037: Unicode 9 character width support. | Joshua Rubin | 2016-11-29 | 3 | -2/+1336 |
| | | | | Enable with --enable-unicode9. | ||||
* | 40035: Cosmetic fixes for comments and documentation. | Eitan Adler | 2016-11-29 | 6 | -6/+6 |
| | | | | Mostly fixes to doubled words. | ||||
* | 40026: Fix for completion after redirection. | Peter Stephenson | 2016-11-29 | 1 | -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. | ||||
* | 40010: builtins: Say 'bad option: +x', not 'bad option: -x', when +x was passed. | Daniel Shahaf | 2016-11-28 | 1 | -2/+3 |
| | |||||
* | 40009: alias -L: Emit aliases that begin with a plus sign correctly. | Daniel Shahaf | 2016-11-28 | 1 | -2/+2 |
| | |||||
* | unposted: fix to compile on Solaris where curses.h has a #define for reg to ↵ | Oliver Kiddle | 2016-11-24 | 1 | -9/+9 |
| | | | | register | ||||
* | 40003: include "0-"9 vi buffers in the registers associative array | Oliver Kiddle | 2016-11-24 | 1 | -9/+26 |
| | |||||
* | 39982: $SPROMPT: Don't accept a spelling correction at space/tab. | Daniel Shahaf | 2016-11-24 | 1 | -4/+4 |
| | | | | | 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 | 1 | -1/+5 |
| | | | | Updates commit cbb9ca3d | ||||
* | unposted: fix printf -v to an array without format string reuse | Oliver Kiddle | 2016-11-23 | 1 | -1/+1 |
| | |||||
* | 39981: Make compstate[to_end] skip suffix and hidden suffix, but not ignored ↵ | Daniel Shahaf | 2016-11-21 | 1 | -0/+4 |
| | | | | | | suffix. Motivated by 39930. | ||||
* | 39986, 39989: improve handling of vi-repeat-change | Oliver Kiddle | 2016-11-20 | 7 | -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. | ||||
* | 39900: Add TERMINFO_DIRS special like TERMINFO. | Guillaume Maudoux | 2016-11-20 | 1 | -0/+31 |
| | | | | Although this is a colon-separated array there is no tied array. | ||||
* | 39995 (from 39977): Optimise string parameter assignment. | Peter Stephenson | 2016-11-20 | 1 | -8/+31 |
| | | | | | If setter is the standard one and string length is unchnaged we can copy into place. | ||||
* | 39992: setarrvalue: Allocate a correctly-sized array. | Daniel Shahaf | 2016-11-20 | 1 | -2/+10 |
| | | | | | 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 | 1 | -1/+2 |
| | |||||
* | 39958: Add extra byte to PATH_MAX allocations. | Peter Stephenson | 2016-11-17 | 7 | -22/+22 |
| | | | | | This ensures we've got enough space for a null, although this isn't always needed. | ||||
* | 39915: whence: Honor PATH_DIRS option for arguments that start with './' or ↵ | Daniel Shahaf | 2016-11-17 | 1 | -7/+16 |
| | | | | | | '../'. While here, add some docstrings. | ||||
* | 39962: bind vi case conversion widgets | Oliver Kiddle | 2016-11-17 | 1 | -0/+3 |
| | | | | 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 | 1 | -9/+26 |
| | | | | | 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 | 1 | -0/+99 |
| | | | | buffers from a zle widget function | ||||
* | 39945: allow further tab presses to move on to menu completion even when ↵ | Oliver Kiddle | 2016-11-16 | 1 | -0/+1 |
| | | | | compstate[insert] is emptied | ||||
* | 39943: no need to compute arrlen() in arrdup_max() when max == 0. | Barton E. Schaefer | 2016-11-15 | 1 | -2/+3 |
| | |||||
* | 39949: Special case for "-" in directory names. | Peter Stephenson | 2016-11-15 | 2 | -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. | ||||
* | 39937: fix a problem introduced by 39886. | Jun-ichi Takimoto | 2016-11-15 | 1 | -3/+4 |
| | | | | $a[i,j] should become an empty array if i>j. | ||||
* | 39906: More multibyte optimisations for US-ASCII. | Peter Stephenson | 2016-11-14 | 1 | -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. | ||||
* | unposted: comment in zlecallhook() points to redrawhook() just in case | Barton E. Schaefer | 2016-11-13 | 1 | -0/+2 |
| |