1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-13 11:21:13 +02:00
Commit graph

9973 commits

Author SHA1 Message Date
Daniel Shahaf
bb6c08b51a unposted: vcs_info git: Fix typo in manual. 2017-02-04 05:55:46 +00:00
Daniel Shahaf
33c0a10448 40480: vcs_info set-patch-format: Eliminate the remaining code duplication. 2017-02-03 18:14:01 +00:00
Daniel Shahaf
9211d7f277 40479: vcs_info set-patch-format: Prepare for more code sharing between the callers.
This changes hook invocation order in the hg backend.
2017-02-03 18:14:00 +00:00
Daniel Shahaf
fca4f90bba 40481: vcs_info hg: Pass arguments to the set-patch-format hook. 2017-02-03 18:13:59 +00:00
Daniel Shahaf
3a1756b728 40478: vcs_info set-patch-format: Guard against empty variable elision. 2017-02-03 18:13:58 +00:00
Daniel Shahaf
49bc46946e 40476: vcs_info $backend_misc: Document at the right point, provide in quilt 'standalone' mode. 2017-02-03 18:13:57 +00:00
Peter Stephenson
a32fb005d6 40486: Don't warn on creation of MATCH etc. in regex.
This because they are created implicitly rather than by explicit
user request, so the warning may not be useful.
2017-02-02 10:03:57 +00:00
Barton E. Schaefer
caddeca1ac 40483 (cf. Eric Freese: 40482): Remove zpty exit hook from forked processes 2017-02-01 17:11:48 -08:00
Daniel Shahaf
ad1b46578e 40460: WARN_NESTED_VAR: Don't warn when assigning to a slice of an existing array 2017-02-01 01:49:45 +00:00
Jun-ichi Takimoto
0e25f1cb4d 40470: make the test work also with ASCII collation
a few OSs (macOS and some versions of BSDs) use ASCII collation even if
UTF-8 locale is in use
2017-02-01 10:42:45 +09:00
Peter Stephenson
e641e40940 40466: Update dependencies for config.h.in / autoheader.
Needs to happen after autoconf.
2017-01-31 09:35:24 +00:00
Barton E. Schaefer
6557aa4710 40469: change strategy from 40453 to use patcompile(PAT_HEAPDUP) instead of signal queueing. 2017-01-30 08:03:47 -08:00
Peter Stephenson
ed855baf48 40465: update methods to output $PWD in tests.
Use method from B01cd.tst which resolves symbolic links and
matches against parameter in output.
2017-01-30 10:31:11 +00:00
Zhiming Wang
b0073410eb 40450, 40451: Swifth language completion.
Also resolve whether this is the openstack "swift" command.
2017-01-29 16:36:24 +00:00
Barton E. Schaefer
e51c9c17af 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is not re-entrant. 2017-01-29 08:30:14 -08:00
Barton E. Schaefer
0672c75359 40439: PAT_HEAPDUP definition just for clarity 2017-01-28 15:37:27 -08:00
Peter Stephenson
34f70c5dc0 40440: Add $functions_source hash to zsh/parameter.
This allows you to find out where a function was loaded from.
2017-01-28 19:33:27 +00:00
Zach Whaley
ea7b4d4b2d 40200: Updated Perforce completion 2017-01-27 18:05:05 +00:00
Peter Stephenson
8575e2ba57 40425: HAVE_* tests for getutxent etc.
Not yet 100% clear where the #if's go, depends on how various
systems implement the old or new formats.
2017-01-27 10:26:34 +00:00
Peter Stephenson
1633b2800d 40423: WARN_NESTED_VARS, conversion the other way 2017-01-26 20:07:51 +00:00
Peter Stephenson
80e47a9a5d 40422: More WARN_NESTED_VAR cases.
Converting type when using a calling scope was broken in the
original patch.
2017-01-26 19:58:17 +00:00
Peter Stephenson
b3637caa90 40413: WARN_NESTED_VAR subscripted variable fix.
No warning needed on paramter that's created temporarily to
help assignment.
2017-01-25 09:35:30 +00:00
Daniel Shahaf
2854a67e09 40403/0004: vcs_info set-patch-format helper: Part #4.
This also fixes the %a (${hook_com[all-n]}) expando in the hg backend:
before this change, it counted only unapplied changes.
2017-01-25 04:22:32 +00:00
Daniel Shahaf
edd9798de7 40403/0003: vcs_info set-patch-format helper: Part #3. 2017-01-25 04:22:32 +00:00
Daniel Shahaf
2702857334 40403/0002: vcs_info set-patch-format helper: Part #2.
Not all callers reset ${hook_com}, but those that don't, immediately
overwrite it a few lines later.
2017-01-25 04:22:31 +00:00
Daniel Shahaf
0ea1957608 40403/0001: vcs_info set-patch-format helper: Part #1. 2017-01-25 04:22:30 +00:00
Daniel Shahaf
57013f8b96 40401: vcs_info git: Fix the %c patch-format expando.
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).
2017-01-25 04:22:30 +00:00
Daniel Shahaf
b0784025b1 40396: vcs_info quilt: More documentation of '%Q' and 'use-quilt'. 2017-01-25 04:22:29 +00:00
Daniel Shahaf
699a38e698 40392: vcs_info patch2subject: Support git show output. 2017-01-25 04:22:28 +00:00
Mikael Magnusson
0e33ebc651 posted: Make D07 recognize more spellings of pl_PL.UTF-8
FreeBSD and probably others use this spelling in locale -a output, while
glibc uses the utf8 spelling.
2017-01-24 16:22:39 +01:00
Peter Stephenson
3e5badb0c9 40404: Only quote command in whence output with -v. 2017-01-24 11:12:41 +00:00
Peter Stephenson
c861b17bbf 40391: Add WARN_NESTED_VAR option and functions -W.
These are companions to WARN_CREATED_GLOBAL, warning when a variable
from an enclosing scope is altered.
2017-01-23 09:50:57 +00:00
Daniel Shahaf
8cb130fe73 unposted: Etc/BUGS: Record users/20807 vcs_info quilt issue. 2017-01-23 03:37:02 +00:00
Peter Stephenson
d219f00609 43080: a few more tests for autoload with absolute path 2017-01-18 09:59:42 +00:00
Peter Stephenson
4d6097657c 40375: autoload with explicit path mustn't trash already loaded function.
Also remove unnecessary dupstring() on already duplicated string
when expanding =cmd.
2017-01-18 09:57:55 +00:00
Peter Stephenson
60a4f6cb67 unposted: "autooad ~..." also completes file 2017-01-17 18:03:26 +00:00
Peter Stephenson
c2f1951ba3 40369: code should have been committed with 0a2d92f98 2017-01-17 10:05:32 +00:00
Peter Stephenson
2e76fb80b4 40372: turn off POSIX_IDENTIFIERS option in completion 2017-01-16 17:52:51 +00:00
Peter Stephenson
0a2d92f98c 40369: quote command paths in whence -v 2017-01-16 17:51:27 +00:00
Peter Stephenson
f90a0447aa 40353 with tweaks to whence -v: extend directory cache use.
Now used for all autoloaded functions after load, including those
where the file was found along fpath, reducing duplication of
directory names.
2017-01-16 10:31:56 +00:00
Peter Stephenson
ebd7fdd932 40362: Fix setting of parameter values in compvalues 2017-01-15 17:15:04 +00:00
Earnestly
51c5c85c23 40355: _mpc: improve playlist completion 2017-01-13 20:56:47 -05:00
Oliver Kiddle
f22960c8e1 40345: update lsusb completion 2017-01-13 03:52:25 +01:00
Oliver Kiddle
cfc8165bc1 40344: new lsblk completion 2017-01-13 00:52:12 +01:00
Peter Stephenson
00f16c8e68 unposted: one missing *name = NULL 2017-01-12 20:59:24 +00:00
Peter Stephenson
178e62dbfe 40342: Add directory name cache for autoload file paths.
This renders "autoload /blah/blah/*" as efficient as use of
fpath.
2017-01-12 20:56:20 +00:00
Peter Stephenson
33799ae2b0 40335: More care with autoload function path.
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-12 13:54:29 +00:00
Jens Elkner
d3cf8816dc 40333: Fix the watch interface for utmpx 2017-01-12 09:58:51 +00:00
Peter Stephenson
12100eb6b9 40332: completion for new autoload features 2017-01-11 21:24:33 +00:00
Oliver Kiddle
b6082cd1e2 40321: _arguments option groups 2017-01-11 20:50:02 +01:00