Bart Schaefer
c8c894f83f
51342: update PARAMDEF description
2023-01-31 17:45:42 -08:00
Bart Schaefer
88ccf2be1e
51337: parameter attributes cross-reference typeset equivalents (or lack thereof)
2023-01-31 17:08:57 -08:00
Daniel Shahaf
096e72ce78
unposted (cribbed from users/28784 by Roman): Add XFail tests for substituting a single-quoting backslash.
2023-01-27 18:42:42 +00:00
Shohei YOSHIDA
f264fcde80
51330: Update python3 completion for version 3.11
2023-01-27 18:30:19 +00:00
Daniel Shahaf
9a75555b0f
unposted: Fix typo in an X-Seq number in an old ChangeLog entry
2023-01-27 15:08:52 +00:00
Shohei YOSHIDA
ba834fa53c
51326: Improve -fsanitize option completion
...
- Support comma separated completion
- Accept multiple `-fsanitize` options
2023-01-24 09:00:07 +00:00
Shohei YOSHIDA
f54ed0b76a
51322 (+ minor tweak): Update gnu make completion for version 4.4
...
Add `--jobserver-style`, `--shuffle` and `--trace` options
And delete '--warn-undefined-functions' option. This option was implemented
only in redhat's older make and the official gnu make has never supported it.
2023-01-22 14:35:08 +00:00
Bart Schaefer
37569049f0
51313: fix "git rerere forget" completion
2023-01-21 19:21:30 -08:00
Bart Schaefer
f93ad02b94
51310: zle -F handlers preserve LASTWIDGET
...
Also fix email address in an old ChangeLog entry
2023-01-21 19:18:15 -08:00
Peter Stephenson
03292bceec
51278: make (i) subscript flag for zero-length string consistent
2023-01-16 11:10:02 +00:00
Oliver Kiddle
857bc4343b
51297: update expected test results to match more optimised escape sequences with recent changes
2023-01-11 18:41:10 +01:00
Jörg Sommer
3a08f68288
51256: Add --refetch to completions of git-fetch
2023-01-11 16:08:43 +01:00
Oliver Kiddle
e2a39513dc
unposted: mention attributes changes, fix renumbering mistake and allow completion to offer prompt escapes for PROMPT_EOL_MARK
2023-01-11 16:05:06 +01:00
Oliver Kiddle
246b7c7505
51295: where the end of a region coincides with the end of PREDISPLAY, don't extend it to include new text
...
Also fix issue where an int was used for a copy of attributes which
breaks if int is smaller than zattr.
2023-01-11 15:58:55 +01:00
Oliver Kiddle
b513ca21c8
51292: fix dynamic updates of region_highlight to account for PREDISPLAY
2023-01-10 21:17:24 +01:00
Oliver Kiddle
be2c91bbc3
51291: support for highlighting ellipses in the line editor
2023-01-10 21:13:52 +01:00
Oliver Kiddle
498b771a82
51290: fix display of control characters with SINGLE_LINE_ZLE set
2023-01-10 21:09:54 +01:00
Oliver Kiddle
cc672f1c3b
51289: don't disable non-colour attributes in prompts for SINGLE_LINE_ZLE and remove superfluous extra escapes to disable attributes
2023-01-10 21:06:55 +01:00
Oliver Kiddle
9d99a01367
51281: keep track of attributes left on at the end of left and right prompts and reapply them explicitly as appropriate
2023-01-10 21:02:16 +01:00
Oliver Kiddle
c01479a2ed
51280: add support for italic and faint fonts in the line editor
2023-01-10 20:57:03 +01:00
Oliver Kiddle
667ead3a64
51258, 51272: refactor handling of terminal attributes, removing OFF flags in zattr
2023-01-10 20:53:17 +01:00
Nathan Houghton
996b515156
51276: Fix diff completion for non GNU / FreeBSD platforms
...
On OpenBSD, "diff -urpN dir1/ di<TAB>" would refuse to complete a second
filename/directory name. This was caused by the -u and -U options
getting dropped from args (overwriting args vs appending).
2023-01-10 20:36:31 +01:00
Daniel Shahaf
81684e334d
unposted: In a comment, replace a C variables glob pattern with its matches, for greppability.
2023-01-08 13:09:37 +00:00
Daniel Shahaf
4ad99ab788
unposted (cf. users/28616): _svnadmin: Add comment noting a case that's not completed correctly.
2023-01-06 12:59:07 +00:00
Max Coplan
d23bcf1171
51263: fix typo - an path
-> a path
2022-12-31 14:20:07 +01:00
Shohei YOSHIDA
92316b70ff
51255: Update erb completion for version 4.0.2
2022-12-31 14:16:18 +01:00
Shohei YOSHIDA
7b50d62080
51254: Add irb completion for version 1.6.2
2022-12-31 14:16:18 +01:00
Shohei YOSHIDA
1ff0f12a9a
51253: Update ruby completion for version 3.2.0
2022-12-31 14:16:18 +01:00
Shohei YOSHIDA
4f1544a628
51233: Update sanitizer list to GCC 12
...
Add following sanitizers
- bounds-strict
- hwaddress
- kernel-address
- kernel-hwaddress
- leak
- pointer-compare
- pointer-subtract
- shadow-call-stack
- shift-base
- shift-exponent
- thread
- undefined
And sort the list in alphabetical order
2022-12-31 14:16:15 +01:00
Daniel Shahaf
bc7511bdd8
51249: use of --force-local with tar completion
2022-12-30 20:48:48 +00:00
Oliver Kiddle
35a2f155c3
51214: handle read -d and a delimiter that can't be decoded into a character
...
Terminate input at the raw byte value of the delimiter.
Also document and test the use of an empty string as a way to specify
NUL as the delimiter.
2022-12-17 00:37:19 +01:00
Jun-ichi Takimoto
2701ab161d
51207: fix for read -d when the delimiter is a byte >= 0x80
2022-12-17 00:35:36 +01:00
Oliver Kiddle
a73c705b0c
51212: remove STOUC() macro
...
This served as a workaround for ancient compilers where casts to
unsigned char were broken.
2022-12-16 23:28:10 +01:00
Oliver Kiddle
7fb6c133bf
51215: consume whole CSI sequences from the input
...
This affects CSI sequences that aren't explicitly bound but arrive
within the usual KEYTIMEOUT time limits. A single undefined-key widget
is run instead of unintended bindings for Escape and other characters in
the sequence.
2022-12-16 23:23:53 +01:00
Peter Stephenson
1de8baded2
unpasted: add missing ChangeLog entry
2022-12-16 14:58:20 +00:00
Daniel Shahaf
56e7b147ad
unposted: Follow-up to the last commit: Fix a typo in a comment.
2022-12-15 21:35:45 +00:00
Daniel Shahaf
5c9713603d
unposted: zsh.h: lextok: Add an explanatory comment with a cross-reference.
2022-12-15 20:38:10 +00:00
Bart Schaefer
6d49734d46
51210: Clear errflag before calling EXIT trap
...
If this is not done, special cases such as failures in special builtins
or errors in math expressions skip the trap execution.
2022-12-13 21:11:33 -08:00
Philippe Altherr
727079f7e5
51198: Clarify and expand ERR_EXIT and ERR_RETURN documentation
2022-12-13 21:05:13 -08:00
Philippe Altherr
8a45f16d83
51193: Discuss ERR_EXIT changes
2022-12-13 21:01:47 -08:00
Peter Stephenson
67d4bf5bb9
51134: ! return doesn't change the return status
2022-12-12 10:30:13 +00:00
Peter Stephenson
14559421e2
51134: document interactive behaviour with ERR_EXIT and ERR_RETURN
2022-12-12 10:27:29 +00:00
Bart Schaefer
2028539cb1
51161: correct errno after closing xtrace FD
2022-12-09 19:30:35 -08:00
Shohei YOSHIDA
72540a758a
51111: update completion for global to version 6.6.8
2022-12-09 19:27:31 -08:00
Bart Schaefer
48f36784a8
51047: fix quoting of completion matches when _canonical_paths -N option is used
2022-12-09 19:21:45 -08:00
Daniel Shahaf
510df60dd1
51144, 51146: vcs_info git: stg: Extract patch descriptions
...
Joint work with Peter Grayson.
2022-12-09 01:39:32 +00:00
Daniel Shahaf
7cdada166c
51142: vcs_info git: Check the get-unapplied style as documented
...
The style was treated as "always true" rather than as "settable, false
by default" in the rebase-merge and cherry-pick cases. This affects the
gen-unapplied-string hook, and may also affect gen-applied-string and
set-patch-format hooks if they accessed VCS_INFO_get_data_git's internal
parameters directly.
If this affects you, just set the style in your zshrc:
.
zstyle ':vcs_info:git*:*:*' get-unapplied true
2022-12-08 22:09:59 +00:00
Peter Grayson
ca7c42e1ee
51138: Updated StGit patch detection in vcs_info
...
The vcs_info patch detection code attempted to interrogate StGit patch
stack state by inspecting .git/patches/applied and
.git/patches/unapplied.
As of StGit 0.15 (2009), patch stack metadata is captured in the repo's
object database. And as of StGit 1.0 (2021), no stack or patch state is
maintained in any files in the .git/ directory.
Zsh's approach for interrogating StGit patch state is thus obsoleted.
This patch updates vcs_info to determine whether StGit is initialized on a
branch by looking at the appropriate git refs and uses StGit's prescribed
interface for interrogating applied and unapplied patch state via the `stg
series` command. This approach will work with all versions of StGit >=0.15.
Signed-off-by: Peter Grayson <pete@jpgrayson.net>
2022-12-08 21:27:35 +00:00
Shohei YOSHIDA
2473d83521
51108: single letter forms of Shift-JIS / EUC-JP options were reversed
2022-12-06 20:47:10 -08:00
Atte Peltomäki
f9bb03cd72
51088: fix standards reference in comment
2022-12-06 20:40:21 -08:00