1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00
Commit graph

11305 commits

Author SHA1 Message Date
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
Daniel Shahaf
e1946bacf8 45540: vcs_info git: In non-interactive rebases, compute patch names for unapplied patches. 2020-03-15 00:18:28 +00:00
Daniel Shahaf
5a1f5cf8ab 45543: vcs_info quilt: Allow quiltcommand to be a function.
Before this commit, it could only be an external command.
2020-03-15 00:18:27 +00:00
Daniel Shahaf
8e128afb2c 45547: vcs_info git: In interactive rebases, process gen-unapplied-string arguments like gen-applied-string arguments are processed.
I consider this a bugfix, since it's unexpected for -applied and
-unapplied to differ about this.
2020-03-15 00:18:25 +00:00
Daniel Shahaf
c756545014 45546: vcs_info git: In interactive rebases, properly support the full form of the "exec" verb.
The code before this commit happened to have done the right thing:
"exec" lines were handled by the catchall forward compatibility case,
which happened to have had virtually the same effect as the correct
case.  However, that was merely an accidental result.  This patch makes
the code do the right thing deliberately, rather than by accident.
2020-03-15 00:18:23 +00:00
Daniel Shahaf
af57462beb 45545: vcs_info git: In interactive rebases, ignore comment lines. 2020-03-15 00:18:21 +00:00
dana
754658aff3 unposted: _git: Fix copy/paste error in earlier commit that broke git stash drop
This was broken by workers/44923 (8aa84bd5fc)
2020-03-13 09:46:14 -05:00
dana
cb7aadfd2a 45535: _lz4: Order compression levels numerically 2020-03-13 09:38:25 -05:00
dana
c2e46ee43b 45534: _hdiutil: Update image-file extensions, image/disk formats, &c. 2020-03-13 09:38:23 -05:00
dana
3f7b81e24e 45531: _sh: Complete options more accurately
Committing without handling of +x option variants (line 10) pending resolution
of workers/45422
2020-03-13 09:37:37 -05:00
dana
778f391a3b 45537 (tweaked): E02xtrace: Fix inconsistent function-name encoding in preserves-xtrace test
Tweaked per workers/45550, needs workers/45536 to be effective
2020-03-13 08:49:57 -05:00
Daniel Shahaf
fd627a504f unposted: .editorconfig: Specify spaces rather than tabs for zsh scripts.
Also specify indent level for vcs_info.
2020-03-12 17:44:27 +00:00
dana
80ddc46e54 45470: C02cond: Simplify '-N cond' test
This fixes an (intermittent?) issue with the test on macOS+APFS, and hopefully
makes it simpler and faster in general
2020-03-11 21:17:12 -05:00