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
Daniel Shahaf
a3c6c5513d
45583/0007: WC_FUNCDEF: Add a placeholder element.
2020-03-22 02:23:53 +00:00
Daniel Shahaf
fd1ef7d770
45583/0006: internal: Add some comments for orientation. No functional change.
2020-03-22 02:23:53 +00:00
Daniel Shahaf
e37df255c1
45583/0005: internal: Document the WC_FUNCDEF data layout for anonymous functions with arguments (follow-up to 29492)
2020-03-22 02:23:52 +00:00
Daniel Shahaf
338a4a299a
45583/0004: internal: Add some comments around wordcodes. No functional change.
2020-03-22 02:23:52 +00:00
Daniel Shahaf
4960699de2
45583/0003: internal: Add some comments around Eccstr. No functional change.
2020-03-22 02:23:52 +00:00
Daniel Shahaf
be73026b07
45583/0002: internal: Reduce some variables' visibility. No functional change.
2020-03-22 02:23:52 +00:00
Daniel Shahaf
e94e828efd
45583/0001: internal: Remove a redundant assignment.
...
The value is overwritten five lines below, without being read in the interim.
2020-03-22 02:23:52 +00:00
Daniel Shahaf
fb3ef09f2d
unposted: Deconfuse $EDITOR's balanced braces mode. No functional change.
2020-03-20 18:05:24 +00:00
Daniel Shahaf
68d2a1bc22
unposted: ${(Z)}: Convert documentation to a description block.
2020-03-20 02:28:11 +00:00
Daniel Shahaf
65f8e90f0d
unposted: internal: ztst.vim: Make sure syntax elements are only hidden if they're followed by something visible
2020-03-20 01:44:06 +00:00
Daniel Shahaf
b13e8d16cf
unposted: Specify tabs for Makefiles.
2020-03-18 18:18:26 +00:00
Daniel Shahaf
a30da73187
45572: _sshfs: Complete some more options
2020-03-17 14:03:50 +00:00
Jun-ichi Takimoto
0bc1edef5a
45536: fix handling of 8bit character under C-locale
...
correctly escape unprintable 8bit character by using \M-
2020-03-17 15:11:04 +09:00
Daniel Shahaf
e5765bfdc8
45541: internal: vcs_info git: Add a test case repository for rebase-apply situations
2020-03-15 00:18:31 +00:00
Daniel Shahaf
4ce4483daf
45539: vcs_info git: In non-interactive rebases, obtain applied patches' names.
2020-03-15 00:18:30 +00:00