summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-01-1640353 with tweaks to whence -v: extend directory cache use.Peter Stephenson4-31/+92
Now used for all autoloaded functions after load, including those where the file was found along fpath, reducing duplication of directory names.
2017-01-1540362: Fix setting of parameter values in compvaluesPeter Stephenson2-2/+8
2017-01-1340355: _mpc: improve playlist completionEarnestly2-1/+6
2017-01-1340345: update lsusb completionOliver Kiddle2-14/+20
2017-01-1340344: new lsblk completionOliver Kiddle2-0/+61
2017-01-12unposted: one missing *name = NULLPeter Stephenson2-0/+3
2017-01-1240342: Add directory name cache for autoload file paths.Peter Stephenson6-12/+200
This renders "autoload /blah/blah/*" as efficient as use of fpath.
2017-01-1240335: More care with autoload function path.Peter Stephenson5-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.
2017-01-1240333: Fix the watch interface for utmpxJens Elkner2-54/+47
2017-01-1140332: completion for new autoload featuresPeter Stephenson2-8/+21
2017-01-1140321: _arguments option groupsOliver Kiddle4-106/+248
2017-01-11unposted: more care with shell function filename.Peter Stephenson3-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.
2017-01-11Add features associated with autoloading a function using an absolutePeter Stephenson9-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.
2017-01-1040305: fix some problems redisplaying command line after interrupt.Peter Stephenson5-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.
2017-01-1040306 with doc tweaks: Change behaviour expanding alias in () function ↵Peter Stephenson8-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.
2017-01-1040303: _bts: Add more subcommands.Daniel Shahaf2-6/+62
Since 'done' is deprecated, stop offering it but do complete after it.
2017-01-1040318 (in part): Document echo \c behaviour.Phil Pennock2-1/+6
2017-01-1040302: New _swaks completion (common options only).Daniel Shahaf2-0/+45
2017-01-08unposted: LICENCE: Update year to $now (2017).Daniel Shahaf2-1/+5
2017-01-0640285: Be more careful with pattern allocation in history isearch.Peter Stephenson2-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.
2017-01-0540270 (after 39995): Add cross-reference for robustness.Daniel Shahaf2-0/+5
2017-01-0540264: _man: Complete all sections after '-a'.Daniel Shahaf2-1/+8
Followup to 37634.
2017-01-05users/22320: Etc/BUGS: Add 40240, label 40106.Daniel Shahaf2-2/+13
2017-01-0540269: handle option exclusion within current word for clumped optionsOliver Kiddle3-19/+37
This replaces the change made in 13999 with an alternative approach.
2017-01-0440227: handle _arguments sets and rest arguments starting with a dashOliver Kiddle3-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.
2017-01-0440226: tidy up some of the _arguments set codeOliver Kiddle3-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.
2017-01-03users/22319: ${ary1:^ary2} should not change isarr state of expansion of ary1Barton E. Schaefer2-2/+10
Unless ary1 is made from a scalar, semantics of (@) in double quotes is lost.
2017-01-0340248: suppress errors from zshaddhistoryhookBarton E. Schaefer2-1/+7
and do not call it if no history entry will be written
2017-01-0340265: Fix problems with pure string in patterns with Meta.Peter Stephenson2-7/+5
Copy instead of relying on jiggery pokery with memory reallocation. Problem was triggering with string ending with Dash converted to -.
2017-01-0340260: zero new space allocated in prompt bufferPaulo Andrade2-0/+6
2016-12-2840231: Optimise setarrvalue().Sebastian Gniazdowski2-16/+38
2016-12-2840232: Remove SH_USE_BSD_ECHO autoconf test.Daniel Shahaf2-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.
2016-12-27unposted (see users/22287): _comp_options needs to disable ERR_RETURNBarton E. Schaefer2-0/+6
2016-12-24Oliver: 40118: alternate fix replacing 40115Barton E. Schaefer2-25/+28
This commit reverts 40115 (commit 3594f55f) thus restoring 38579, then applies 40118: Relocate BUFFER/CURSOR reset to work around "fc -p" issue
2016-12-2240162: _arguments support for a match spec in combination with setsOliver Kiddle3-1/+11
2016-12-22unposted: Post-release version bump to 5.3.1-dev-0.Daniel Shahaf2-2/+7
2016-12-21unposted: Release 5.3.1Peter Stephenson5-9/+16
2016-12-1840210: Add support modern FreeBSD and drop support for FreeBSD < 5Baptiste Daroussin2-3/+8
2016-12-1840209: Fix typo in chflags completionBaptiste Daroussin2-1/+6
2016-12-1640149: vcs_info git: Avoid a fork.Daniel Shahaf2-1/+4
2016-12-1640203: Resolve 'printf --' question from grandparent commit (thanks Chet).Daniel Shahaf2-2/+5
2016-12-1540198: output of B02typeset differs when (( UID == 0 )) so do not attempt to ↵Barton E. Schaefer2-6/+15
redo that test in that case
2016-12-1440179: fix handling of "printf -" and "printf --"Barton E. Schaefer3-1/+21
unposted: regression test for 40179 / 37467
2016-12-12unposted: update version to 5.3-dev-0.Peter Stephenson2-2/+7
Avoid installed version trashing 5.3 release.
2016-12-11unposted: Release 5.3Peter Stephenson1-2/+2
2016-12-1040134: silence spurious compiler warnings.Barton E. Schaefer3-2/+7
2016-12-1040139: tests: Convert comments to diagnostics; test backslashes. (after 40129)Daniel Shahaf2-10/+12
2016-12-10users/22182: Propagate 22161 docs patch to completion descriptions.Daniel Shahaf2-1/+6
2016-12-0940137: document _external_pwdsOliver Kiddle2-0/+13
2016-12-09unposted: 5.2-test-3Peter Stephenson2-2/+4