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

9416 commits

Author SHA1 Message Date
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
Peter Stephenson
53bc8ef2d8 37400: typo gave unwanted error message in zsh_directory_name_generic 2015-12-14 10:59:03 +00:00
Peter Stephenson
9e185476f9 unposted: missed ChangeLog entry 2015-12-13 19:14:50 +00:00
Adrien Vergé
3102883fbc 37397: Optimised update to dnf completion 2015-12-13 18:19:18 +00:00
Peter Stephenson
1f75d7ff2c 37386: localise mbegin, mend, match in URL magic 2015-12-11 14:05:29 +00:00
Matthew Martin
3272bdce98 37383: add completion type for object files 2015-12-11 11:51:09 +01:00
Simon Hafner
e5dddecc15 37260: add opus to mplayer audio completions 2015-12-11 05:37:37 +01:00
Oliver Kiddle
f546ea64df users/20873: disable bracketed paste while running external editor from zle 2015-12-11 05:34:48 +01:00
Peter Stephenson
a5233fd01e 37378: New bindkey tests.
Also fix Meta bug on pattern match in zpty -r.
2015-12-10 17:51:41 +00:00
Peter Stephenson
67877f6055 37364: "test" and "[" handling of parentheses.
If three arguments, need to prefer binary operators if possible.

Need to look for full string for parentheses.
2015-12-09 16:40:08 +00:00
Peter Stephenson
7f5b2f5709 37348: Tests and fix for ${(q+)...}.
Needs dupstring() for empty string case.
2015-12-08 15:08:24 +00:00
Peter Stephenson
4105f79a3a 37347: Remove incorrect local for msgs in VCS info 2015-12-08 12:59:48 +00:00
Peter Stephenson
59de978c7e users/21071: Fix binding of multibyte sequences.
There was a problem if the first byte was already bound to
self-insert.
2015-12-08 10:56:17 +00:00
Peter Stephenson
f5b8efa7e0 37344: restore old printable quoting, add ${(q+)...}.
The \C- form is only used inside quotedzputs().

${(q+)...} outputs a quotedzputs() representation.
2015-12-07 21:49:07 +00:00
Peter Stephenson
9fb30cf572 37331: Use a single chracter to represent an MB_INCOMPLETE.
This is as it is likely to appear as a single character in output
even if it has multiple octets.
2015-12-07 18:54:03 +00:00
Peter Stephenson
0c2d823a79 37337: Delay freeing widget until not in use. 2015-12-07 14:32:52 +00:00
Peter Stephenson
54678f2e82 unposted: fix ChangeLog for previous change 2015-12-07 10:56:21 +00:00
Peter Stephenson
d290874c48 37335: fix tests after 34314 2015-12-07 10:36:45 +00:00
Peter Stephenson
dfd761058e 37310: effect of disabling typeset reserved word 2015-12-07 09:44:06 +00:00
Peter Stephenson
87670fb011 37326: comment only: multibyte string lenght/width counting 2015-12-06 16:39:57 +00:00
Peter Stephenson
5a76a5d34e 37314: upgrade quotedzputs() for non-printable output.
Use nicechar with $'..' quoting; upgrade nicechar() etc. to
use suitable output.
2015-12-06 15:33:02 +00:00
Daniel Shahaf
e14540ac02 37150: _git: Autocomplete .. for commit ranges
This patch makes three changes:

- Enable 'git diff o/m<TAB>' to complete to 'origin/master..' with the
  ".." being autoremovable.

  This is implemented by the first hunk.  That hunk is a functional
  subset of Oliver's users/20705, however, the latter hasn't been
  committed.

- Make typing "^" remove the "..", in light of the syntax "foo^..bar".

- Make typing "." _not_ remove the ".." but simply append it, since
  "foo...bar" is a valid and useful syntax.
2015-12-05 10:15:40 +00:00