1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-25 17:36:16 +02:00
Commit Graph

11282 Commits

Author SHA1 Message Date
Daniel Shahaf 5d9f7975a9 45722: docs: Change zstyle example to a non-hierarchical one 2020-05-02 00:51:26 +00:00
Daniel Shahaf 57a3a9a746 45752/0002: _gcc: Complete --output like -o. 2020-05-02 00:48:30 +00:00
Daniel Shahaf 071d7956e6 45752/0001: _gcc: Add .cpp and .hpp to the ignored extensions list. 2020-05-02 00:48:30 +00:00
Benjamin Esham ff50d96b19 github #56: typo: Add a single quote that had been missing 2020-04-27 08:04:26 +00:00
Daniel Shahaf af619f41bc unposted: README: Give the 'zsystem flock' limit in pretty-printed form as well. 2020-04-21 09:01:38 +00:00
davey hathorn 013c87e3f3 github #54: Fix dig completion error 2020-04-21 00:26:59 -05:00
dana 3241a13573 unposted: NEWS, README: Document zsh/system changes from workers/45708 2020-04-20 12:12:55 -05:00
dana 1cac862b0f unposted: zsh/system: Adjust documentation from workers/45708 2020-04-20 12:12:12 -05:00
Cedric Ware 25c9b61a66 45708: zsh/system: Enable sub-second timeout in zsystem flock 2020-04-20 12:10:01 -05:00
dana f179dbf72a 45702: compsys: Improve documentation of {insert,separate}-sections 2020-04-20 00:06:55 -05:00
Peter Stephenson 28277a84dd 45684: Document - glob qualifier in error cases 2020-04-15 21:33:48 +01:00
dg1727 6ec97e1d48 45661: docs: Clarify the effect of KSH_ARRAYS on the (I) subscript. 2020-04-12 01:26:40 +00:00
Peter Stephenson 66ee4918a1 45660: Fix crash setting vi or emacs mode on command line.
Delay setting the option until the module system is set up.
2020-04-09 21:46:20 +01:00
dana c70d734363 45655: _retrieve_mac_apps: Update for recent macOS 2020-04-05 20:09:10 -05:00
Daniel Shahaf 05b15366f3 45656: Document the -o emacs segfault bug. 2020-04-05 05:44:11 +00:00
Mikael Magnusson 8923d2a618 Add SHORT_REPEAT option 2020-04-02 07:42:16 +02:00
Daniel Shahaf c57d660764 unposted: Make test platform-independent.
Follow-up to the grandparent commit.
2020-04-02 00:10:42 +00:00
dana 2bfe01df6f 45542: P01privileged: Use test-directory owner for auto-determined EUID/EGID
Prevents failure when the repo (or its parent) has mode 0700
2020-04-01 17:05:26 -05:00
dana 9818ddeefb unposted: D02glob: Fix platform-dependent test failure
workers/45583 introduced a test failure on macOS, *BSD, and Solaris, where wc
always outputs leading white space
2020-04-01 16:59:32 -05:00
Daniel Shahaf 51091e19cd 45649: completion: Simplify Unison completion. No functional change. 2020-03-29 20:56:20 +00:00
Henri Menke 83f7dc7806 45646: completion: Unison: Honour the $UNISON variable
By default Unison uses the ~/.unison directory to store its cache and
profiles.  However, this location is configurable through the $UNISON
environment variable.  Quoting from the manual [1]:

> If the environment variable UNISON is defined, then its value will be
> used as the name of this directory.

This patch enables users to move the .unison directory and still enjoy
zsh completion for profiles.

[1] https://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html#unisondir
2020-03-29 20:17:29 +00:00
Gastón Haro a6610c4a17 github #46: _git-restore: Complete arguments to the --source option after a '=' sign 2020-03-28 22:49:41 +00:00
Gastón Haro f306221674 github #46: Better restrict git-restore(1) file completions
Add support to the -S and -W options.

Remove the facility for completing files from the tree specified by the
--source argument since, upon testing in git 2.26.0, that doesn't seem
to be correct behaviour.  (Note git-restore(1) says the command is
experimental and its semantics may change.)  See discussion on the PR
for details.
2020-03-28 22:49:41 +00:00
Daniel Shahaf 2f2aa360bc 45644: vcs_info git: Fix current patch's name in several cases. 2020-03-28 22:12:33 +00:00
Daniel Shahaf 5e55e3eaf8 unposted: Fix syntax error introduced in 45591. 2020-03-28 00:56:22 +00:00
Daniel Shahaf 5e3f6b60e8 45640: Fix new test when ${PWD}'s value contains symlinks. 2020-03-28 00:46:51 +00:00
Daniel Shahaf d13d6afb2e 45627: vcs_info git: Under git-am(1) conflicts, pass to the gen-applied-string hook information on already-applied patches.
The hook already receives information about the current (topmost
applied) patch and, if the get-unapplied style is set, about future
(unapplied) patches.

Tested in the Functions/VCS_Info/test-repo-git-rebase-apply scenario,
after manually converting the rebase to a «git am».  (Specifically,
I ran:
    mkdir d
    git rebase --abort
    git format-patch rebase_from_this..HEAD -o d
    git checkout rebase_onto_this
    git am d/*
.)
2020-03-27 01:14:42 +00:00
Daniel Shahaf f207fb90d8 45625: vcs_info svn: Detect the "working copy format is too new" error. 2020-03-27 01:14:42 +00:00
Daniel Shahaf cb87816b0f 45626: vcs_info: Deduplicate calling the set-branch-format hook. 2020-03-27 01:14:42 +00:00
Daniel Shahaf b0d020408a 45624: vcs_info: Set $rrn in all backends. 2020-03-27 01:14:42 +00:00
Daniel Shahaf 36df1e4f78 45623: _quilt: Add subcommand descriptions 2020-03-27 01:14:42 +00:00
Daniel Shahaf 174aedcf7f 45622: _quilt: Categorize subcommands 2020-03-27 01:14:42 +00:00
Daniel Shahaf c4f18c29c7 45584, 45620: zsh/rlimits: Skip the tests for this module when it wasn't compiled in. 2020-03-27 01:14:42 +00:00
Daniel Shahaf 32c4ed3977 45591 (Cf. 45587, 45620): In the test suite, centralize testing that compiled modules can be loaded successfully.
Have V01zmodload.ztst check that all modules enabled in config.modules
load successfully.  With this change, the test files for individual
modules may assume that if 'zmodload' fails that must be because the
module hadn't been compiled in, and mark themselves as skipped in that
case.
2020-03-27 01:14:42 +00:00
Peter Stephenson 2a9674862e 45616: Remove token from count argument to repeat 2020-03-26 20:54:37 +00:00
Daniel Shahaf fc286a7c11 45583/0008: Extend tests to prove that what remains of xsymlinks() handles symlink loops gracefully. 2020-03-25 23:49:02 +00:00
Daniel Shahaf dabfd1f1fb 45583/0007: Remove code that is now unreachable. 2020-03-25 23:49:02 +00:00
Daniel Shahaf 12347c26ce 45583/0006: Don't use xsymlinks() in 'whence -s'. 2020-03-25 23:49:02 +00:00
Daniel Shahaf db8d16a060 45583/0005: Add a test for bin_whence's symlinks resolution. 2020-03-25 23:49:02 +00:00
Daniel Shahaf 47fc5fe01f 45583/0004: Fix segfault on resolving symlink loops 2020-03-25 23:49:02 +00:00
Daniel Shahaf 12414d8052 45583/0003: chrealpath: Let caller decide how the return value should be allocated. 2020-03-25 23:49:01 +00:00
Daniel Shahaf 38b0e1ff7e 45583/0002: chrealpath: Make symlink resolution optional. 2020-03-25 23:49:01 +00:00
Daniel Shahaf de587b43ba 45583/0001: Add tests for the segfault on resolving a symlink loop bug (workers/45282).
This is workers/45377, extended.
2020-03-25 23:49:01 +00:00
Daniel Shahaf 0903ddb7b9 45590/0002 (in part): zsh/rlimits: Test that ulimit letters are unique. 2020-03-25 22:06:47 +00:00
Jun-ichi Takimoto 88484e9ea8 45601: fix another status in new function -T test 2020-03-25 15:55:19 +09:00
Rin Okuyama aa93901db2 github #51: Fix configure for cross build.
In order to detect equivalence b/w various rlimit values, use compile
tests instead of run tests. This enables configure script to run in
cross-build environment without any side effects.

From NetBSD/pkgsrc:
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/shells/zsh/patches/
2020-03-22 23:22:38 +00:00
Peter Stephenson 508b47c750 45601: Fix status in new functions -T test 2020-03-22 18:56:06 +00:00
Peter Stephenson 2b1e5a3d22 45563: %z can be used for zlong in warnings and errors 2020-03-22 18:45:02 +00:00
Daniel Shahaf aed0cb4408 45583/0009: Add end-of-options guard support to 'function -T'. 2020-03-22 02:23:53 +00:00
Daniel Shahaf 386d9ac8ff 45583/0008: Add the 'function -T' syntax.
Config/version.mk was bumped in the previous commit.
2020-03-22 02:23:53 +00:00