summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 40440: Add $functions_source hash to zsh/parameter.Peter Stephenson2017-01-286-10/+162
| | | | This allows you to find out where a function was loaded from.
* 40200: Updated Perforce completionZach Whaley2017-01-272-269/+682
|
* 40425: HAVE_* tests for getutxent etc.Peter Stephenson2017-01-273-4/+13
| | | | | Not yet 100% clear where the #if's go, depends on how various systems implement the old or new formats.
* 40423: WARN_NESTED_VARS, conversion the other wayPeter Stephenson2017-01-263-9/+24
|
* 40422: More WARN_NESTED_VAR cases.Peter Stephenson2017-01-263-8/+26
| | | | | Converting type when using a calling scope was broken in the original patch.
* 40413: WARN_NESTED_VAR subscripted variable fix.Peter Stephenson2017-01-253-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 Shahaf2017-01-255-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 Shahaf2017-01-255-21/+21
|
* 40403/0002: vcs_info set-patch-format helper: Part #2.Daniel Shahaf2017-01-255-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 Shahaf2017-01-256-28/+31
|
* 40401: vcs_info git: Fix the %c patch-format expando.Daniel Shahaf2017-01-252-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 Shahaf2017-01-252-0/+18
|
* 40392: vcs_info patch2subject: Support `git show` output.Daniel Shahaf2017-01-252-0/+22
|
* posted: Make D07 recognize more spellings of pl_PL.UTF-8Mikael Magnusson2017-01-242-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 Stephenson2017-01-242-4/+13
|
* 40391: Add WARN_NESTED_VAR option and functions -W.Peter Stephenson2017-01-2310-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 Shahaf2017-01-232-0/+9
|
* 43080: a few more tests for autoload with absolute pathPeter Stephenson2017-01-182-0/+28
|
* 40375: autoload with explicit path mustn't trash already loaded function.Peter Stephenson2017-01-183-4/+35
| | | | | Also remove unnecessary dupstring() on already duplicated string when expanding =cmd.
* unposted: "autooad ~..." also completes filePeter Stephenson2017-01-172-1/+6
|
* 40369: code should have been committed with 0a2d92f98Peter Stephenson2017-01-171-2/+2
|
* 40372: turn off POSIX_IDENTIFIERS option in completionPeter Stephenson2017-01-162-0/+4
|
* 40369: quote command paths in whence -vPeter Stephenson2017-01-161-0/+3
|
* 40353 with tweaks to whence -v: extend directory cache use.Peter Stephenson2017-01-164-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 compvaluesPeter Stephenson2017-01-152-2/+8
|
* 40355: _mpc: improve playlist completionEarnestly2017-01-132-1/+6
|
* 40345: update lsusb completionOliver Kiddle2017-01-132-14/+20
|
* 40344: new lsblk completionOliver Kiddle2017-01-132-0/+61
|
* unposted: one missing *name = NULLPeter Stephenson2017-01-122-0/+3
|
* 40342: Add directory name cache for autoload file paths.Peter Stephenson2017-01-126-12/+200
| | | | | This renders "autoload /blah/blah/*" as efficient as use of fpath.
* 40335: More care with autoload function path.Peter Stephenson2017-01-125-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 utmpxJens Elkner2017-01-122-54/+47
|
* 40332: completion for new autoload featuresPeter Stephenson2017-01-112-8/+21
|
* 40321: _arguments option groupsOliver Kiddle2017-01-114-106/+248
|
* unposted: more care with shell function filename.Peter Stephenson2017-01-113-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 absolutePeter Stephenson2017-01-119-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 Stephenson2017-01-105-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 Stephenson2017-01-108-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 Shahaf2017-01-102-6/+62
| | | | Since 'done' is deprecated, stop offering it but do complete after it.
* 40318 (in part): Document echo \c behaviour.Phil Pennock2017-01-102-1/+6
|
* 40302: New _swaks completion (common options only).Daniel Shahaf2017-01-102-0/+45
|
* unposted: LICENCE: Update year to $now (2017).Daniel Shahaf2017-01-082-1/+5
|
* 40285: Be more careful with pattern allocation in history isearch.Peter Stephenson2017-01-062-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 Shahaf2017-01-052-0/+5
|
* 40264: _man: Complete all sections after '-a'.Daniel Shahaf2017-01-052-1/+8
| | | | Followup to 37634.
* users/22320: Etc/BUGS: Add 40240, label 40106.Daniel Shahaf2017-01-052-2/+13
|
* 40269: handle option exclusion within current word for clumped optionsOliver Kiddle2017-01-053-19/+37
| | | | This replaces the change made in 13999 with an alternative approach.
* 40227: handle _arguments sets and rest arguments starting with a dashOliver Kiddle2017-01-043-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 codeOliver Kiddle2017-01-043-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 ary1Barton E. Schaefer2017-01-032-2/+10
| | | | Unless ary1 is made from a scalar, semantics of (@) in double quotes is lost.