Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 40413: WARN_NESTED_VAR subscripted variable fix. | Peter Stephenson | 2017-01-25 | 3 | -1/+25 |
| | | | | | No warning needed on paramter that's created temporarily to help assignment. | ||||
* | 40403/0004: vcs_info set-patch-format helper: Part #4. | Daniel Shahaf | 2017-01-25 | 5 | -20/+26 |
| | | | | | This also fixes the %a (${hook_com[all-n]}) expando in the hg backend: before this change, it counted only unapplied changes. | ||||
* | 40403/0003: vcs_info set-patch-format helper: Part #3. | Daniel Shahaf | 2017-01-25 | 5 | -21/+21 |
| | |||||
* | 40403/0002: vcs_info set-patch-format helper: Part #2. | Daniel Shahaf | 2017-01-25 | 5 | -21/+22 |
| | | | | | Not all callers reset ${hook_com}, but those that don't, immediately overwrite it a few lines later. | ||||
* | 40403/0001: vcs_info set-patch-format helper: Part #1. | Daniel Shahaf | 2017-01-25 | 6 | -28/+31 |
| | |||||
* | 40401: vcs_info git: Fix the %c patch-format expando. | Daniel Shahaf | 2017-01-25 | 2 | -3/+6 |
| | | | | | | | | Before this change, ${git_unapplied_s} was unused and the %c (${hook_com[unapplied]}) expando evaluated to the number of digits in the string returned by the gen-unapplied-string hook (or to the number of digits in the number of unapplied patches, when there was no such hook). | ||||
* | 40396: vcs_info quilt: More documentation of '%Q' and 'use-quilt'. | Daniel Shahaf | 2017-01-25 | 2 | -0/+18 |
| | |||||
* | 40392: vcs_info patch2subject: Support `git show` output. | Daniel Shahaf | 2017-01-25 | 2 | -0/+22 |
| | |||||
* | posted: Make D07 recognize more spellings of pl_PL.UTF-8 | Mikael Magnusson | 2017-01-24 | 2 | -2/+7 |
| | | | | | FreeBSD and probably others use this spelling in locale -a output, while glibc uses the utf8 spelling. | ||||
* | 40404: Only quote command in whence output with -v. | Peter Stephenson | 2017-01-24 | 2 | -4/+13 |
| | |||||
* | 40391: Add WARN_NESTED_VAR option and functions -W. | Peter Stephenson | 2017-01-23 | 10 | -37/+177 |
| | | | | | These are companions to WARN_CREATED_GLOBAL, warning when a variable from an enclosing scope is altered. | ||||
* | unposted: Etc/BUGS: Record users/20807 vcs_info quilt issue. | Daniel Shahaf | 2017-01-23 | 2 | -0/+9 |
| | |||||
* | 43080: a few more tests for autoload with absolute path | Peter Stephenson | 2017-01-18 | 2 | -0/+28 |
| | |||||
* | 40375: autoload with explicit path mustn't trash already loaded function. | Peter Stephenson | 2017-01-18 | 3 | -4/+35 |
| | | | | | Also remove unnecessary dupstring() on already duplicated string when expanding =cmd. | ||||
* | unposted: "autooad ~..." also completes file | Peter Stephenson | 2017-01-17 | 2 | -1/+6 |
| | |||||
* | 40369: code should have been committed with 0a2d92f98 | Peter Stephenson | 2017-01-17 | 1 | -2/+2 |
| | |||||
* | 40372: turn off POSIX_IDENTIFIERS option in completion | Peter Stephenson | 2017-01-16 | 2 | -0/+4 |
| | |||||
* | 40369: quote command paths in whence -v | Peter Stephenson | 2017-01-16 | 1 | -0/+3 |
| | |||||
* | 40353 with tweaks to whence -v: extend directory cache use. | Peter Stephenson | 2017-01-16 | 4 | -31/+92 |
| | | | | | | Now used for all autoloaded functions after load, including those where the file was found along fpath, reducing duplication of directory names. | ||||
* | 40362: Fix setting of parameter values in compvalues | Peter Stephenson | 2017-01-15 | 2 | -2/+8 |
| | |||||
* | 40355: _mpc: improve playlist completion | Earnestly | 2017-01-13 | 2 | -1/+6 |
| | |||||
* | 40345: update lsusb completion | Oliver Kiddle | 2017-01-13 | 2 | -14/+20 |
| | |||||
* | 40344: new lsblk completion | Oliver Kiddle | 2017-01-13 | 2 | -0/+61 |
| | |||||
* | unposted: one missing *name = NULL | Peter Stephenson | 2017-01-12 | 2 | -0/+3 |
| | |||||
* | 40342: Add directory name cache for autoload file paths. | Peter Stephenson | 2017-01-12 | 6 | -12/+200 |
| | | | | | This renders "autoload /blah/blah/*" as efficient as use of fpath. | ||||
* | 40335: More care with autoload function path. | Peter Stephenson | 2017-01-12 | 5 | -6/+27 |
| | | | | | | If doing "autoload -X", the path present might actually be location of file containing the function with the autoload -X. Add an explicit flag to say it's a directory for autoload. | ||||
* | 40333: Fix the watch interface for utmpx | Jens Elkner | 2017-01-12 | 2 | -54/+47 |
| | |||||
* | 40332: completion for new autoload features | Peter Stephenson | 2017-01-11 | 2 | -8/+21 |
| | |||||
* | 40321: _arguments option groups | Oliver Kiddle | 2017-01-11 | 4 | -106/+248 |
| | |||||
* | unposted: more care with shell function filename. | Peter Stephenson | 2017-01-11 | 3 | -1/+8 |
| | | | | | | | When updating shfunc structure to change filename we should be careful to free whatever's there already, we may now be the directory in which to find the function definition. After loading the field contains the full name of the file. | ||||
* | Add features associated with autoloading a function using an absolute | Peter Stephenson | 2017-01-11 | 9 | -81/+341 |
| | | | | | | | | | | | | | path. -d defaults to normal fpath -r remembers the path without actually loading. May be combined with -d. -R does the same but it's an error if not found -X can now take a directory path: this is used to output not yet loaded functions that have an associated path. | ||||
* | 40305: fix some problems redisplaying command line after interrupt. | Peter Stephenson | 2017-01-10 | 5 | -6/+31 |
| | | | | | | | | | | | | Back off previous fix as this only covered some subset of problems. Remaining problems happend after reset-prompt in TRAPINT. One was in complist and is fixed by not attempting to list after an error or interrupt. The other was owing to not resetting clearflag when ZLE was re-entered. | ||||
* | 40306 with doc tweaks: Change behaviour expanding alias in () function ↵ | Peter Stephenson | 2017-01-10 | 8 | -6/+129 |
| | | | | | | | definition. Now an error unless the () is part of the same error as the name. Add ALIAS_FUNC_DEF option to allow it again. | ||||
* | 40303: _bts: Add more subcommands. | Daniel Shahaf | 2017-01-10 | 2 | -6/+62 |
| | | | | Since 'done' is deprecated, stop offering it but do complete after it. | ||||
* | 40318 (in part): Document echo \c behaviour. | Phil Pennock | 2017-01-10 | 2 | -1/+6 |
| | |||||
* | 40302: New _swaks completion (common options only). | Daniel Shahaf | 2017-01-10 | 2 | -0/+45 |
| | |||||
* | unposted: LICENCE: Update year to $now (2017). | Daniel Shahaf | 2017-01-08 | 2 | -1/+5 |
| | |||||
* | 40285: Be more careful with pattern allocation in history isearch. | Peter Stephenson | 2017-01-06 | 2 | -4/+13 |
| | | | | | | If there are ZLE hooks to be called, they may use patterns, in which case it's not safe to allocate the isearch pattern in the static buffer. | ||||
* | 40270 (after 39995): Add cross-reference for robustness. | Daniel Shahaf | 2017-01-05 | 2 | -0/+5 |
| | |||||
* | 40264: _man: Complete all sections after '-a'. | Daniel Shahaf | 2017-01-05 | 2 | -1/+8 |
| | | | | Followup to 37634. | ||||
* | users/22320: Etc/BUGS: Add 40240, label 40106. | Daniel Shahaf | 2017-01-05 | 2 | -2/+13 |
| | |||||
* | 40269: handle option exclusion within current word for clumped options | Oliver Kiddle | 2017-01-05 | 3 | -19/+37 |
| | | | | 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 | 3 | -20/+36 |
| | | | | | 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 | 3 | -72/+91 |
| | | | | | | 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 | 2 | -2/+10 |
| | | | | 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 | 2 | -1/+7 |
| | | | | 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 | 2 | -7/+5 |
| | | | | | | 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 | 2 | -0/+6 |
| | |||||
* | 40231: Optimise setarrvalue(). | Sebastian Gniazdowski | 2016-12-28 | 2 | -16/+38 |
| | |||||
* | 40232: Remove SH_USE_BSD_ECHO autoconf test. | Daniel Shahaf | 2016-12-28 | 2 | -15/+4 |
| | | | | | | It is unused; doesn't make sense in "build on one box, install on many" context; and its presence causes the downstream packages that install config.h to be non-reproducible. |