summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-02-1249377: fix segfault by 'bindkey -d' with reordered keymapnamtabJun-ichi Takimoto3-1/+40
(cherry picked from commit 2a7945a900c8a1b1866ad31ee5e95db5b0ddb50a)
2022-02-1247560: add includes/prototypes for tests in configureJun-ichi Takimoto3-0/+34
On macOS 11.0 it is now an error to use a function without prototype. (cherry picked from commit bd647c156549b2f666e5fae80f1ca674b6cde895)
2022-02-12unposted: _git: Fix copy/paste error in earlier commit that broke `git stash ↵dana2-1/+4
drop` This was broken by workers/44923 (8aa84bd5fc44) (cherry picked from commit 754658aff38e1bdf487c58bec6174cbecd019d11)
2022-02-12security/82: VCS_Info: Fix typo in hook_com[base-name_orig] assignmentMarc Cornellà2-1/+5
Tweaked per discussion in security/90, security/91
2022-02-12CVE-2021-45444: Update NEWS/READMEdana3-0/+28
2022-02-12security/89: Add patch which can optionally be used to work around ↵Marc Cornellà2-0/+103
CVE-2021-45444 in VCS_Info
2022-02-12debian/copyright: Remove obsolete upstream URLs (FTP and SourceForge)Axel Beckert1-2/+0
Upstream recently decided to drop the grinding SourceForge hosting and site completely. It's no more listed on https://www.zsh.org/ anymore. Also drop the FTP URL. The same host is already listed with an HTTPS URL. debian/watch already only includes the current primary download site (with HTTPS).
2022-02-0449730: new completions for csplit, pr, ptx, truncateJun-ichi Takimoto5-0/+283
2022-02-0249731: Add OpenBSD sys{clean,merge,patch,upgrade} completionMatthew Martin5-0/+35
2022-01-3049694 + doc: Allow using empty STTY= to freeze tty for a single commandMikael Magnusson4-3/+16
Previously, doing this would just run stty with no arguments, which normally causes it to print some terminal settings to stdout.
2022-01-29unposted: vcs_info git: Teach the rebase-apply test case generator to also ↵Daniel Shahaf3-1/+17
generate rebase-merge test cases
2022-01-29unposted: vcs_info git: Add a missing guard against redefining a function.Daniel Shahaf2-0/+4
2022-01-29unposted: vcs_info git: Deconfuse $EDITORDaniel Shahaf2-2/+5
Work around <https://github.com/chrisbra/vim-zsh/issues/39>.
2022-01-29unposted: vcs_info: Add Vim modelinesDaniel Shahaf5-0/+13
... for consistency with all other vcs_info function files.
2022-01-2949723: vcs_info quilt: Use quilt-patch-dir and ${QUILT_PATCHES} even when ↵Daniel Shahaf2-21/+28
get-unapplied hasn't been set This affects the post-quilt hook. Before this patch, if no patches have been applied and get-unapplied hasn't been set, the second argument to that hook would undergo null elision. The generation of patch subjects for the gen-applied-string, gen-unapplied-string, and set-patch-format hooks was unaffected since it was guarded by [[ -n $patches ]].
2022-01-2949722: vcs_info quilt: Refactor for readability. No functional change.Daniel Shahaf2-6/+10
2022-01-2949715: _subversion: add: Complete target arguments to this subcommandDaniel Shahaf2-10/+17
2022-01-2949714: _subversion: resolve: Complete conflicted files created by merges, tooDaniel Shahaf2-1/+8
2022-01-2949713: _subversion: commit, diff, revert: Update completions for svn 1.7 and ↵Daniel Shahaf2-26/+46
newer * _svn_deletedfiles: Remove. The last version of svn(1) under which that function could possibly complete anything, svn 1.6.x, was EOLed in 2013. Newer versions don't have a "text-base" directory, so $controlled is set to an empty array, so this function returned false for all files, so in 'svn rm' (up to the previous commit) all files were completed (because that's what '_files -g "*(e:false:)"' does). * _svn_status: Remove. Versions of svn newer than the aforementioned 1.6.x have an entries file but never modify it, so the "mtime has changed" check would false negative. Therefore, sequences such as: . svn <TAB> echo >> some/versioned/file svn ci <TAB> . wouldn't offer some/versioned/file. . Furthermore, completion would offer directories with no changed files in them, and even unversioned directories. Now only changed files/directories are offered. * _cache_svn_status, _cache_svn_mtime: Remove. If these hadn't been removed, I would have moved their declarations to file scope so _svn_status could be used from outside this file, too. The replacement function, _svn_modified, doesn't have cache support, but does honour the 'verbose' style to inhibit recursion to subdirectories.
2022-01-2949712: _subversion: svn rm: Complete all svn-controlled files, not only ↵Daniel Shahaf2-1/+4
missing/deleted files Note that currently, _svn_controlled matches all files.
2022-01-2949711: _subversion: _svn_status: Don't offer unversioned filesDaniel Shahaf2-1/+6
This function is used only by revert, diff, and commit, none of which can run on unversioned files (those with status '?').
2022-01-27security/41: Don't perform PROMPT_SUBST evaluation on %F/%K argumentsOliver Kiddle2-0/+15
Mitigates CVE-2021-45444
2022-01-27unposted: vcs_info quilt docs: Fix misspelled style nameDaniel Shahaf2-1/+4
2022-01-27unposted: vcs_info quilt: Remove a no-op variable assignmentDaniel Shahaf2-1/+5
2022-01-2549709: vcs_info hg: Keep $HGPLAIN set for hooks if it had been set outside ↵Daniel Shahaf2-1/+6
vcs_info If someone does 'HGPLAIN=1 vcs_info', any vcs_info hooks should be called with HGPLAIN set. Declaring it 'local' broke that.
2022-01-23gitlab !17: Add missing options for quilt setup commandAndreas Schneider2-0/+7
2022-01-0149667: Include US spelling of "grey" ("gray")Matt Alexander2-3/+9
Co-authored-by: Daniel Shahaf <d.s@daniel.shahaf.name>
2021-12-31Update copyright years in debian/copyright. Thanks Lintian!Axel Beckert1-2/+2
2021-12-30debian/zsh5: Add ${static} suffix also to alternative path in warningAxel Beckert1-1/+1
2021-12-30Add lintian overrides for bin-sbin-mismatch false positivesAxel Beckert1-0/+7
In one case (zsh5 wrapper script) it's just a comment about /usr/bin/zsh being an alternative location of /bin/zsh. In all other cases (maintainer scripts), it's either code adding all path variants to /etc/shells or code fixing usrmerge crap which would not be in the maintainer scripts if we could just simply ship those symlinks inside the .deb as we cleanly did in the past.
2021-12-30Add lintian override for bash-term-in-posix-shellAxel Beckert1-0/+2
It's zsh code and it's guarded by a check if we're running zsh or not. Gbp-Dch: Full
2021-12-30Update lintian overrides wrt. to change tag formatsAxel Beckert2-3/+3
2021-12-30zsh-static: Drop dependency on zsh, recommend zsh-common insteadAxel Beckert1-2/+2
Rationale: zsh-static can easily be used without zsh-common, but if you want advanced completiones, you need zsh-common—and not zsh. It just worked fine so far because zsh depends on zsh-common as well. See also the thread at https://alioth-lists.debian.net/pipermail/pkg-zsh-devel/2021-December/003283.html
2021-12-30Extend zsh-static package description to explain its use casesAxel Beckert1-1/+9
… as well as advantages and disadvantages. Thanks: shirish शिरीष to make us aware of this deficency of the package description by asking the right questions (back in 2015). :-)
2021-12-30Drop debian/zsh-static.NEWS, zsh-static will stayAxel Beckert1-7/+0
Thanks: those who gave feedback about our proposed zsh-static removal back in 2015, especially Vincent Bernat.
2021-12-2949664: Use associative array for third-party completionAaron Schrab2-4/+7
2021-12-2949668: update zfs completionOliver Kiddle5-894/+1365
2021-12-2438150: fix off-by-one error in matcher spec parsingm0viefreak2-1/+6
2021-12-2149658: Fix NULL reference in match code.Peter Stephenson2-1/+6
A test when acquiring the replacement pattern match in the globbing code erroneously allowed the use of a NULL pointer. This appears to be an unnecessary test case added alongside other surgery back in 2008.
2021-12-2149655 based on 34928 (Daniel Hahler): new pip completionOliver Kiddle2-0/+218
2021-12-1649653: fix array indexing issue introduced with 49518 due to using decimal ↵Oliver Kiddle2-3/+8
rather than hex 20 Also avoid comparing the current word against all options when the word doesn't start with - or +.
2021-12-1649648 based on github #80 (Vincent Bernat): invert before/since for date ↵Oliver Kiddle3-7/+11
glob qualifiers completion
2021-12-1449518: fix exclusions for mixed - and + stacked optionsOliver Kiddle4-12/+56
2021-12-1349646: allow colors in WATCHFMT with %F/%KOliver Kiddle4-4/+49
2021-12-1349645: when completing for the path_dirs option, add a / suffix and follow ↵Oliver Kiddle2-6/+10
symlinks
2021-12-1349643: facilitate use of the fake style by always calling _description with ↵Oliver Kiddle2-4/+12
the executables tag for command names Also allow the command-path style to include relative directories.
2021-12-1349634, reported by Claes Nästén: revert 28989Oliver Kiddle2-2/+7
Defining _POSIX_C_SOURCE caused issues on Solaris 10 but doesn't seem to be needed for musl anymore
2021-12-0749633: update options for git 2.34Oliver Kiddle2-124/+242
2021-12-0249630: allow zsh to quote matches from bash completions but include a ↵Oliver Kiddle2-2/+6
special case for space suffixes
2021-12-0249631: new logger completionOliver Kiddle2-0/+82