1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-13 05:21:40 +02:00
Commit graph

9387 commits

Author SHA1 Message Date
Peter Stephenson
0194b4ab1d 37646: Return non-zero status from typeset assigning readonly 2016-01-15 15:53:39 +00:00
Peter Stephenson
1d8b528522 37643: Reset interrupt on key input in menu selection.
We don't need to propagate the interrupt further as the interrupt
causes the key to be empty, which will exit the widget.  We
need to reset the condition as zrefresh() is now more sensitive
to errors since 36416 / 32f5d3d8.
2016-01-15 12:49:42 +00:00
Peter Stephenson
da71967273 37512: overeager WARN_CREATE_GLOBAL with strftime 2016-01-15 12:16:40 +00:00
Daniel Shahaf
69379369da unposted: Extend docstring of callhookfunc(). 2016-01-15 06:30:12 +00:00
Daniel Shahaf
a45a9fa104 unposted: Fix typo in comment. 2016-01-15 06:30:06 +00:00
Daniel Shahaf
ce1148db45 37612: vcs_info git: Set $git_patches_unapplied correctly for 'rebase-apply' case.
This manifested, e.g., in 'git am' of a single patch that had a conflict.
2016-01-15 06:29:09 +00:00
Barton E. Schaefer
06ea248034 Belated ChangeLog entry for 37489, back-dated to the correct sequence. 2016-01-13 22:57:02 -08:00
Barton E. Schaefer
4a30b542a0 37570: give truth to the doc assertion transpose-words-match is a drop-in replacement for transpose-words 2016-01-13 19:51:07 -08:00
Barton E. Schaefer
c275839033 37567: use (Z:n:) to split the buffer into words so line breaks are treated as whitespace 2016-01-13 19:50:24 -08:00
Daniel Shahaf
5cf6ae0056 37590: Invoke zle-line-pre-redraw during isearch. 2016-01-14 00:04:12 +00:00
Daniel Shahaf
a8a00be442 37591: 'alias -L': skip with a warning aliases with '=' in their LHS 2016-01-13 01:25:46 +00:00
Daniel Shahaf
152875ba03 37550: _cu: Support Linux line-device names; fail gracefully on OSes matching no known line-device name pattern. 2016-01-13 00:56:50 +00:00
Daniel Shahaf
5731581c4c 37551: Include the builtin's name in a "bad option" error message.
Example: «zsh -fc 'zle -z'» now prepends "zle:" to the error message.
2016-01-10 20:22:37 +00:00
Matthew Martin
82210cb954 37534: completion for OpenBSD's cu, fw_update and rcctl utils 2016-01-10 14:10:06 -05:00
Barton E. Schaefer
5eae5b58b1 Jun T.: 37515: multibyte handling as per 35448. 2016-01-08 20:42:00 -08:00
Barton E. Schaefer
424b417063 unposted: Src/builtin.c: refine READ_MSTREAM to avoid unsequenced evaluation 2016-01-08 20:36:50 -08:00
Barton E. Schaefer
fac7466d11 37513: fix typos; improve error cleanup and correct for signed/unsigned compiler warning 2016-01-06 14:05:02 -08:00
Barton E. Schaefer
a940d25b18 37504: refactor code using/simulating memstream to capture output for "print -v" 2016-01-05 12:50:12 -08:00
Barton E. Schaefer
bc703e4ad1 37503: detect incompatible "print" options, fix metafication and possible memory leak, miscellaneous cosmetics 2016-01-04 22:50:48 -08:00
Jun T
ead199291f 37501 (+ revise test): correct byte counts when simulating memstream via temp file 2016-01-04 22:29:37 -08:00
Peter Stephenson
524f802610 37489, tweaked: with POSIX_IDENTIFIERS create math var as scalar 2016-01-03 18:57:10 +00:00
Barton E. Schaefer
63c6d1746c 37497: handle NUL bytes in "printf -v". 2016-01-02 13:57:35 -08:00
Barton E. Schaefer
03adf52414 37493: readonly + POSIX_BUILTINS == typeset -gr 2016-01-02 12:40:31 -08:00
Barton E. Schaefer
b4643fce2d 37483: save and possibly restore cshnullglob failure state around each evaluation of an (e:...:) glob qualifier. 2016-01-01 19:20:14 -08:00
Barton E. Schaefer
5c17f9ab3f 37473: check for cshnullglob in command position. 2016-01-01 13:01:16 -08:00
Barton E. Schaefer
62706b1abc 37469: do NOT allow semicolons in place of line breaks in conditionals 2015-12-31 14:16:56 -08:00
Barton E. Schaefer
6e10224f1e unposted: enable WARN_CREATE_GLOBAL for print -v 2015-12-31 12:44:25 -08:00
Barton E. Schaefer
0504dafa6e 37468: allow line breaks in more places in [[ ... ]] 2015-12-31 12:41:50 -08:00
Barton E. Schaefer
15b73ea99b 37467: add "print -v var" / "printf -v var" 2015-12-31 12:38:10 -08:00
Oliver Kiddle
4f5d7b7b37 37453 (with Bart, started by Baptiste Daroussin, 37315): try to improve detection of noatime filesystem 2015-12-31 12:53:13 +01:00
Oliver Kiddle
3ca4ffa972 users/21114: new dig completion 2015-12-31 12:47:47 +01:00
Barton E. Schaefer
b475a85304 37460: make sure the default keymap is emacs before using that keymap to test bindings 2015-12-30 17:22:37 -08:00
Daniel Shahaf
243c018220 unposted: NEWS: Document how to disable paste highlighting.
This updates the 5.2 entry, note that 5.2 has been released already.
2015-12-31 01:20:09 +00:00
Daniel Shahaf
fcd13cdaae 37456: Have zle_highlight=(none) disable paste highlighting
Before this change, zle_highlight=(paste:none) worked,
but zle_highlight=(none) didn't.
2015-12-31 01:16:06 +00:00
Frank Terbeck
dab6e7c231 37451: vcs_info: Declare "msgs" in early context
The parameter *is* being declared with the redefinition of the
function, but not in its initial form, which gets you a warning
about the parameter being defined globally. This fixes it.
2015-12-30 15:23:08 +01:00
Axel Beckert
5f3e47ca5e 37438: C/D/C/_aptitude: Also parse -h output of aptitude 0.7.5 and later 2015-12-27 15:50:24 +01:00
Axel Beckert
c054786a49 Add changelog entry for previous commit 2015-12-26 18:31:37 +01:00
Felipe Sateler
67484e613b Add missing apt purge and autoremove subcommands 2015-12-26 18:22:49 +01:00
Barton E. Schaefer
fc344465f2 37435 (+ fix typo): allow execution of empty files as "sh" scripts 2015-12-25 00:31:32 -08:00
Barton E. Schaefer
a554c7403a 37434: POSIXBUILTINS "command" should prevent shell exit on errors from special builtins 2015-12-25 00:26:26 -08:00
Philip Sequeira
038b1d4b38 37345: VCS_INFO functions break with setopt no_unset
With setopt no_unset in my config file, vcs_info fails with:
VCS_INFO_maxexports:7: vcs: parameter not set
2015-12-23 01:57:45 +01:00
Barton E. Schaefer
aedff53d1f users/21082 (expanded): a more complete sorting of version strings that are not in the form of zsh version numbers; additional explanatory comment 2015-12-19 22:03:34 -08:00
Barton E. Schaefer
7611e78ad1 unposted (cf. 37387): emulate turns off WARN_CREATE_GLOBAL 2015-12-19 16:57:09 -08:00
Barton E. Schaefer
597ffd85ed users/21068: use emacs keymap in vared by default 2015-12-19 16:52:38 -08:00
Mikael Magnusson
c3ea3ffa73 36650: Add zle-line-pre-redraw hook for highlighting 2015-12-19 13:21:12 +01:00
Daniel Shahaf
1f2bdc2aa2 unposted (after users/20873): Theoretical fix: don't parse print/echo escape sequences in $zle_bracketed_paste. 2015-12-19 10:48:48 +00:00
Daniel Shahaf
9d2fe86564 37257 (in part): Add array assignment tests. 2015-12-19 09:53:05 +00:00
Peter Stephenson
fd13e8044c 37411: more bindkey tests 2015-12-16 12:10:01 +00:00
Peter Stephenson
0bd903abca 37405: Fix self-insert binding for multibyte sequences.
This makes it work even if the self-insert applies to a sequence longer
than an initial byte, including the case of a complete binding to a full
character sequence.
2015-12-15 12:41:20 +00:00
Peter Stephenson
d397e3fca2 37401: pattern error caused too much activity in _list_files for some styles 2015-12-14 11:10:52 +00:00