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

11809 commits

Author SHA1 Message Date
Mikael Magnusson
3bf95b91f0 49870: Fix NULL reference in match code more
This reverts "49658: Fix NULL reference in match code." and adds a check
inside the block, as well as a failsafe check at the end.

The above commit (49658) causes a crash due to ll being calculated as
0 which leads to rr being an invalid pointer. Only adding a check for
when ll is 0 just leads to bck-i-search pattern not working at all (the
final hunk).  Restoring the condition and adding an explicit NULL check
for replstr seems to make matters work as intended.
2022-03-30 08:07:39 +02:00
Mikael Magnusson
6a9b3bb290 49915: Efficient dedup for unsorted completions 2022-03-30 08:07:39 +02:00
Mikael Magnusson
48be30e530 49893: Fix comments for UNIQCON/ALL 2022-03-30 08:07:39 +02:00
Jun-ichi Takimoto
596b8e3fae 49910: move multibyte-related f-flagged test from E03 to D07
POSIX requires printf should calculate width/precision in %s conversion
in bytes (not in characters) even in multibyte locale
2022-03-30 10:40:34 +09:00
Jun-ichi Takimoto
6617f19234 49908: reset LC_CTYPE to C during tests
and do not export MODULE_PATH since child zsh will not import it
2022-03-30 09:42:57 +09:00
Bart Schaefer
85f98c3604 49918: Update for 49917 and 49911. 2022-03-29 13:21:42 -07:00
Bart Schaefer
53d6b47d92 49917: change sense of "Ignore insecure ..." answer and use "autoload -r" 2022-03-29 13:18:49 -07:00
Bart Schaefer
bf3ae15f46 Add entry for 49897. 2022-03-28 19:48:22 -07:00
Bart Schaefer
67f932e7c5 49897: Eliminate reliance on $jobstates parameter, fix -P exit status check. 2022-03-28 19:47:14 -07:00
Jun-ichi Takimoto
8154ddc62d 49853 + 49882/49883: make "${arr[*]:off}" compatible with ksh/bash 2022-03-29 11:09:36 +09:00
Peter Stephenson
1e814ba48b 49890: Avoid scanning unallocated memory in saved command line. 2022-03-28 15:27:51 +01:00
Peter Stephenson
57305cf245 49875: completion for info -f.
Use local files if there's a slash in the argument.
2022-03-24 10:37:39 +00:00
Peter Stephenson
587793f818 49845: man page clarification on option scope 2022-03-24 10:35:29 +00:00
Matthew Martin
78649ac725 49852: Add _routing_domains and _routing_tables types 2022-03-18 20:52:18 -05:00
Matthew Martin
8dd733dfd2 49851: _login_class: Complete login.conf.d classes 2022-03-18 20:49:15 -05:00
Bart Schaefer
87d276346f 49844: Fix node reference errors from 49446 and 49448. 2022-03-13 21:07:14 -07:00
Mikael Magnusson
28410bd5bc promptinit: only exclude current theme from preview if no arguments are given 2022-03-08 19:37:21 +01:00
Jun-ichi Takimoto
ee1d622042 49802 (+49804): pass MODULE_PATH to zsh started in test W03 2022-03-06 13:29:31 +09:00
Peter Stephenson
1640457f47 49792: Non-interative shell input is line buffered. 2022-03-03 19:19:35 +00:00
Peter Stephenson
2be2efc122 49787: test for jobs fix in 49783 2022-03-03 19:07:53 +00:00
Daniel Shahaf
cb8edf5bd9 unposted: Fix typo in the previous commit's ChangeLog entry
Found-by: Mehtab Singh Mann <https://github.com/mehtabsinghmann>
2022-03-02 09:41:20 +00:00
Peter Stephenson
6a8aa2aa5a 49783: Consistently use old job table in parameter module 2022-03-01 17:27:42 +00:00
Peter Stephenson
24474bd34a users/27536: Improved history list documentation
Clarify interaction of matching and numbers.
2022-03-01 10:47:49 +00:00
Jun-ichi Takimoto
ef60187efc 49766: _less: add quotes to -" and -# 2022-02-23 11:39:33 +09:00
Jun-ichi Takimoto
a692b980cb 49765: _less: add option --color as synonym for -D 2022-02-23 11:24:39 +09:00
Daniel Shahaf
45182eb4d4 unposted: Fix some typos and markup. 2022-02-22 13:11:02 +00:00
Peter Stephenson
865baf7a25 49672: document "tied" in output from ${(t)...} 2022-02-22 10:00:14 +00:00
Mikael Magnusson
0684c6a762 49769: Mention how to show nanosecond precision 2022-02-22 10:44:49 +01:00
Daniel Shahaf
421f5d7f67 49728: vcs_info hg mq: Don't include applied patches in the unapplied patches
For instance, with 4 applied patches, 5 unapplied patches, and no guards
involved, the patch-format style would indicate 9 (= 4+5) unapplied patches
and 4 applied patches.
2022-02-20 10:16:54 +00:00
Daniel Shahaf
80389df480 49727 (+ comment): vcs_info quilt: Pass the patches dir path to the gen-applied-string, gen-unapplied-string, and set-patch-format hooks
I use that in my gen-applied-string hook.
2022-02-20 10:16:33 +00:00
Daniel Shahaf
b8b7d9b46a unposted: vcs_info hg mg (with get-unapplied set): Stop leaking a variable to global scope 2022-02-20 10:12:56 +00:00
samcarter
b745b06eb3 49757 (sourceforge #1): offer *.dtx as TeX input files 2022-02-16 13:16:19 +09:00
Jun-ichi Takimoto
31d42ecb84 49756 + 49758(Daniel): replace LPAR() in FAQ.yo by SUBST(_LPAR_)
In FAQ.yo, macros inside mytt() and tt() are not expanded.
Also includes an update for zyodl.vim by Daniel.
2022-02-15 16:50:21 +09:00
Axel Beckert
2da1f64da7 unposted: Fix one underline length in README (cosmetic) 2022-02-13 19:03:11 +01:00
dana
75c1edde50 unposted: Post-release version bump 2022-02-12 10:34:37 -06:00
dana
e10c75d524 unposted: Release 5.8.1
(cherry picked from commit 1a490c7050)
2022-02-12 10:32:37 -06:00
Marc Cornellà
2b66ed35b0 security/82: VCS_Info: Fix typo in hook_com[base-name_orig] assignment
Tweaked per discussion in security/90, security/91

(cherry picked from commit b34d33e3b3)
2022-02-12 10:29:55 -06:00
dana
f7fa575a59 CVE-2021-45444: Update NEWS/README
(cherry picked from commit bdc4d70a7e)
2022-02-12 10:29:55 -06:00
Marc Cornellà
d2df4c8ee4 security/89: Add patch which can optionally be used to work around CVE-2021-45444 in VCS_Info
(cherry picked from commit fdb8b0ce62)
2022-02-12 10:29:55 -06:00
Oliver Kiddle
c3ea1e5d52 security/41: Don't perform PROMPT_SUBST evaluation on %F/%K arguments
Mitigates CVE-2021-45444

(cherry picked from commit c187154f47)
2022-02-12 10:29:55 -06:00
Jun-ichi Takimoto
fc18b7c8a2 49730: new completions for csplit, pr, ptx, truncate 2022-02-04 21:17:00 +09:00
Matthew Martin
e1405109a6 49731: Add OpenBSD sys{clean,merge,patch,upgrade} completion 2022-02-02 19:29:51 -06:00
Mikael Magnusson
8bf0f0cf45 49694 + doc: Allow using empty STTY= to freeze tty for a single command
Previously, doing this would just run stty with no arguments, which
normally causes it to print some terminal settings to stdout.
2022-01-30 18:14:54 +01:00
Daniel Shahaf
75c3664a62 unposted: vcs_info git: Teach the rebase-apply test case generator to also generate rebase-merge test cases 2022-01-29 16:01:39 +00:00
Daniel Shahaf
10ee9e5bd7 unposted: vcs_info git: Add a missing guard against redefining a function. 2022-01-29 16:01:39 +00:00
Daniel Shahaf
42f1e99f81 unposted: vcs_info git: Deconfuse $EDITOR
Work around <https://github.com/chrisbra/vim-zsh/issues/39>.
2022-01-29 16:01:39 +00:00
Daniel Shahaf
c055c6464d unposted: vcs_info: Add Vim modelines
... for consistency with all other vcs_info function files.
2022-01-29 16:01:39 +00:00
Daniel Shahaf
ee5e3d0c9d 49723: vcs_info quilt: Use quilt-patch-dir and ${QUILT_PATCHES} even when 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-29 11:04:44 +00:00
Daniel Shahaf
e52062170a 49722: vcs_info quilt: Refactor for readability. No functional change. 2022-01-29 11:04:43 +00:00
Daniel Shahaf
04513dd5df 49715: _subversion: add: Complete target arguments to this subcommand 2022-01-29 10:08:45 +00:00