Daniel Shahaf
8b51584246
36962: _git: Fix completion of RHS of refspecs.
...
Before this patch, 'git push $remote :<TAB>' completed branch names (as though
by `git branch -a`), instead of completing remote branch names sans the
${remote}/ prefix.
2015-10-25 18:52:29 +00:00
Daniel Shahaf
cc19bb96b9
36964: _git: Complete remotes branch names with slashes correctly.
...
For example, 'git push remote HEAD:foo/bar' creates such branches.
2015-10-25 18:52:13 +00:00
Daniel Shahaf
b4f7482e44
36960: _git: Enable slash matcher for more branch and tag completions, include 'git branch <TAB>' and 'git tag <TAB>'.
2015-10-25 18:47:35 +00:00
Daniel Shahaf
f890d442e2
36959: _git: Offer @~$n as completion of recent commits.
...
Suggested-by: Oliver Kiddle (users/20705)
2015-10-25 18:47:26 +00:00
Daniel Shahaf
17af119089
36958: _git: Fix recent commit completion descriptions.
...
The uniquifiers 'HEAD~$n' were incorrect when a recent commit was the second
parent of a merge commit. Detect that case and print something correct
instead.
2015-10-25 18:47:11 +00:00
Daniel Shahaf
f8b2c13c97
unposted: _git: Fix 'commit object name' completion messages.
...
Offer the "this alternative is still valid, but I don't know to offer
completions for it" for hash completion but not for recent object completion;
the former is protected by a _guard and the latter incorrectly appeared also in
cases such as 'git log a/b<TAB>' which were not the start of a gitrevisions(7)
expression.
2015-10-25 18:39:34 +00:00
Jun-ichi Takimoto
a40417929c
36911: '-optarg' should not match optspec '-opt='
...
Remove the requirement that -xy= should come before -x= in the
list of optspecs passed to _arguments.
2015-10-25 23:42:03 +09:00
Barton E. Schaefer
2685bbc4ae
Merge branch 'master' of git://git.code.sf.net/p/zsh/code
...
Conflicts:
ChangeLog
Conflicts:
ChangeLog
2015-10-24 13:57:03 -07:00
Barton E. Schaefer
506d592380
36943: restore scan for reclaimable blocks in freeheap()
...
That scan had been removed by 36834, but testing showed memory usage
climbing too high in cases where a new arena was always added at the
end of the heap list.
2015-10-24 13:43:21 -07:00
Daniel Shahaf
e3c68450d7
unposted: _beep completion: Actually hook it for the 'beep' command.
2015-10-24 20:42:31 +00:00
Daniel Shahaf
779b3112f8
36913 + 36945: vcs_info quilt: Pass patch subject lines to gen-applied-string
...
The format used is '${patchname} ${subject}', which is analogous to the git backend.
2015-10-24 20:42:26 +00:00
Daniel Shahaf
c62db9e7dc
36912: vcs_info quilt: Tolerate being in child of .pc's parent
...
Without this, gen-applied-string would only be set when .pc is a child of cwd,
not when it is a child of an ancestor of cwd.
2015-10-24 20:26:41 +00:00
Peter Stephenson
c8c42d6ed5
unposted: small typo
2015-10-24 20:59:48 +01:00
Peter Stephenson
15490398d7
36944: extend fd management to zsocket
2015-10-24 20:48:47 +01:00
Peter Stephenson
1f6dcf9bcd
36941: Mark file descripors in ztcp as used.
...
Allow such file descriptors to be either internal and closed on exec
or external and so managed explicitly by module.
2015-10-24 20:24:35 +01:00
Daniel Shahaf
8e9a68ad14
unposted: vcs_info docs: Typo fix.
2015-10-22 12:29:42 +00:00
Barton E. Schaefer
b970ef6ef5
unposted: strdup should be ztrdup
2015-10-21 15:13:45 -07:00
Barton E. Schaefer
5cb75f0d41
36909: in getargs(), sanity-check the offsets for start and end of the requested words, in case of overflow
2015-10-21 15:13:17 -07:00
Barton E. Schaefer
b947789d7c
36871: move initial call to "zle .bracketed-paste-magic" to occur earlier in the function
...
Just in case any later initialization might have side-effects.
2015-10-21 14:47:41 -07:00
Daniel Shahaf
98875bcb05
36900: _git: stash names completion: Display log messages
...
The "$@" argument to compadd is removed because (I think) it contains a -J,
which conflicts with the -V.
Joint with Daniel Hahler.
2015-10-20 14:30:10 +00:00
Eric Cook
c6028f7387
36642: complete jail/unjail zfs subcommands on freebsd
2015-10-19 16:07:43 +02:00
Eric Cook
878d1272fd
36646: handle solaris/openzfs differences; only use -t share on solaris
2015-10-19 16:07:32 +02:00
Eric Cook
d8f8d3e534
36889: completion of system specific sockstat options
2015-10-19 11:33:17 +02:00
Matthew Martin
509c822b62
36869: use permissions to limit files completed for ssh identity files
2015-10-19 11:23:57 +02:00
Frank Terbeck
2e600b432a
36888: vcs_info: Prevent warn_create_global warning with '-preinit-' state
...
This is related to 33405. Turns out that not all other calls to
VCS_INFO_set are okay: With recent zsh versions the early call to that
function with the '-preinit-' argument causes a warning like this:
VCS_INFO_set:9: math parameter maxexports created globally
in function VCS_INFO_set
This fixes it.
2015-10-18 20:40:18 +02:00
Peter Stephenson
21b6852b15
36864: new objdump completion and tweak to nm completion
2015-10-15 11:24:21 +01:00
Barton E. Schaefer
827d360776
36853: replace pushheap/popheap by NEWHEAPS/OLDHEAPS in doshfunc() to optimize memory management
...
Includes re-indentation that was not done in the posted patch.
2015-10-14 21:46:26 -07:00
Peter Stephenson
bab1fc5043
36856: cdr -p/-P to prune directory list
2015-10-14 14:23:16 +01:00
Barton E. Schaefer
ce929eb37e
36841: factor out and update the patterns that filter "uninteresting" functions out of the $funcstack display
2015-10-11 21:23:38 -07:00
Barton E. Schaefer
d77bf2ba88
36836: zhalloc() avoids re-scanning all heaps when the last known heap with free space does not have enough space
...
This is the second of two performance optimizations for situations where
all heap arenas in the list are mostly full.
2015-10-11 21:16:58 -07:00
Barton E. Schaefer
9f8e3e82dd
36834: freeheap preserves last allocated heap
...
This is the first of two optimizations to improve heap performance when
there are a large number of mostly-filled heap arenas.
2015-10-11 21:11:10 -07:00
Frank Terbeck
e245dd7193
36832: vcs_info: Remove dependency on "seq"
...
The "seq" utility is usually available on GNU systems only. This
exchanges calls to seq with pure zsh features. Also: Less forks are
good.
2015-10-11 12:54:30 +02:00
Frank Terbeck
7a1678767f
36830: vcs_info: Silence an error message with new git versions
...
Mikael informs me on IRC, that in new versions of git (he used 2.6.1)
where the "am" subcommand is now a builtin, a file that is used by the
git backend of vcs_info (namely .git/rebase-apply/msg-clean) is not
available anymore, leading to an annoying error message:
VCS_INFO_get_data_git:232: no such file or directory: .git/rebase-apply/msg-clean
This patch checks for the availabiliy of the file before using it,
and adjusts the value of the dependant values accordingly.
2015-10-11 12:29:41 +02:00
Peter Stephenson
83a175795a
36780: Fix crash in ksh mode with -n and $HOME.
...
If home variable is NULL ensure HOME is unset.
2015-10-06 09:28:07 +01:00
Barton E. Schaefer
3f96063335
36773: limit CORRECT / CORRECT_ALL to directory names in cases where it is obvious that a directory is expected
2015-10-04 14:01:08 -07:00
Barton E. Schaefer
cb26e11c70
unposted: back out 36707, add test case for 36766
2015-10-03 22:11:09 -07:00
Barton E. Schaefer
b581c3fece
36766: fix incorrect reset of noerrexit during "if" conditions
2015-10-03 19:40:14 -07:00
Peter Stephenson
faeb9555d3
36760: more care with already unmetafied pattern trial strings
2015-10-03 20:25:57 +01:00
Mikael Magnusson
64061e504f
36754: Functions/TCP: Tweak some usage output in the tcp_* functions
2015-10-03 00:05:40 +02:00
Jun-ichi Takimoto
e3bc9aa228
36732: _zsh now complets script args; also support -s, -b
2015-10-02 22:11:43 +09:00
Peter Stephenson
807a8338a3
36737: Ensure we don't dreference unterminated zero-length string
2015-10-01 16:21:18 +01:00
Peter Stephenson
196e6a0ec0
36735: add ~/.zcalcrc handling to zcalc
2015-10-01 15:55:01 +01:00
Andrew Janke
8bf72dd65b
36729: fix some typos in distro docs
2015-10-01 09:49:44 +01:00
Peter Stephenson
9064483b6c
36722: allow git range to complete after ^.
...
Take account of backslash quoting.
2015-10-01 09:47:15 +01:00
Peter Stephenson
8877783b2f
Merge branch 'master' of https://git.code.sf.net/p/zsh/code
2015-10-01 09:44:56 +01:00
Barton E. Schaefer
bc2e73ba4c
users/20672: missing "do" in gettext2() for "select"
2015-09-30 20:02:53 -07:00
Barton E. Schaefer
2bf4f667fb
36707: distinguish ERR_RETURN value of retflag so that execif() can ignore it in the test sublist
2015-09-30 20:01:13 -07:00
Barton E. Schaefer
d1a810b000
remove sentence fragment
2015-09-30 19:58:43 -07:00
Mikael Magnusson
76da752fd7
36692: bracketed-paste-url-magic: simpler alternative for handling pasted urls
2015-10-01 03:55:21 +02:00
Mikael Magnusson
a855d7bd24
36709: zle -f from inside widget to set flags and make yank start/end zle params writable
2015-10-01 03:51:44 +02:00
Daniel Shahaf
a90cf551ef
36725: vcs_info git: Compute %b correctly when "git am"-ing onto detached heads.
...
Before this patch, $gitbranch would be set to empty, which caused
VCS_INFO_get_data_git to early out with a failure status¹, consequently
$vcs_info_msg_0_ would be empty.
¹ via the 'if [[ -z ]]' block around line 170.
2015-09-30 21:43:37 +00:00
Daniel Shahaf
cd1cda9d57
36725: vcs_info git: Compute %b correctly when rebasing detached heads.
...
This sets the %b expando to the hash of the before-the-merge HEAD, rather
than to the literal string "detached HEAD". That hash is already available
via the gen-applied-string hook.
2015-09-30 21:43:37 +00:00
Daniel Shahaf
7ac34a3055
36725: vcs_info git: Compute %b correctly when merging to detached heads.
...
The %b expando should be the hash prior to the merge. The hash of the merge
result is available as the %i expando and via the gen-applied-string hook.
2015-09-30 21:43:37 +00:00
Jun-ichi Takimoto
756526eef3
36697: handle options of _arguments correctly
2015-09-30 23:56:14 +09:00
Matthew Martin
007f249a8e
36693: arithmetic rounds towards zero, document
2015-09-30 14:22:59 +01:00
Peter Stephenson
5336587307
36711: Allocate unmetafied pattern trial string on the heap
2015-09-30 10:19:16 +01:00
Peter Stephenson
f9d7651c25
36682: expand pattern interface to optimise unmetafication
2015-09-28 20:31:51 +01:00
Daniel Shahaf
a5cb918d40
unposted: Test for 36669
2015-09-28 18:13:52 +00:00
Daniel Hahler
45bdc87a1f
36601: vcs_info: handle missing .git/rebase-apply/{next,msg-clean}
...
When pressing Ctrl-C after `git am`, only `last` exists in
`.git/rebase-apply/`, which is empty.
This patch fixes it to fall back to "no patch applied" then.
2015-09-28 20:03:12 +02:00
Barton E. Schaefer
4bed2cf256
36669: fix ${(z)...} of an an incomplete math expression by restoring "((" at the front of the token
2015-09-27 23:56:38 -07:00
Daniel Shahaf
6d6b63c884
unposted: Update link to my ChangeLog generator script,
...
on account of patching it to handle commas properly (thanks Mikael).
2015-09-28 01:23:13 +00:00
Mikael Magnusson
d85a1fcd88
unposted: Fix broken case condition and "qualifer" typo
2015-09-28 02:24:54 +02:00
Daniel Shahaf
2654cb43f6
36651: WARN_CREATE_GLOBAL += math expressions
...
Without this, '() { (( x=42 )) }' and '() { for (( i=0; … )) }' wouldn't warn
about $x and $i, respectively, being created global.
2015-09-27 23:52:25 +00:00
Matthew Martin
36abe20c0f
36653: OpenBSD's usermod has no -a flag
2015-09-27 23:41:45 +00:00
Barton E. Schaefer
7e4784f901
36663: replace obsolete "autobins" commentary with "autofeatures"
2015-09-27 12:43:25 -07:00
Barton E. Schaefer
c2254cfe2c
36661: replace obsolete "autobins" setting with "autofeatures"
2015-09-27 12:43:03 -07:00
Jun-ichi Takimoto
0cfa2dcfc4
36631: separate _zsh from _sh
...
Do all the completion for zsh by _arguments
2015-09-28 00:09:03 +09:00
Barton E. Schaefer
50721a1986
36641: fix multibyte handling in incremental search during menu selection
2015-09-26 13:46:20 -07:00
Daniel Shahaf
92584634d3
unposted (see 36633): _hg: Enable --option=value syntax and disable '-xy Xarg Yarg' syntax
...
This simply removes the '-w' argument to _arguments and changes
{-x+,--foo} to {-x+,--foo=} throughout the file.
2015-09-26 00:21:18 +00:00
Daniel Shahaf
8165b488cb
unposted: zle: Document the C helper function processcmd().
...
Also, tweak the docstring of zlelineasstring().
2015-09-25 23:38:41 +00:00
Christoph Mathys
61fa5f66f0
36626: _hg: completion for 'hg bookmarks'
2015-09-25 23:20:09 +00:00
Peter Stephenson
649d06a8cd
36630: new function zsh_directory_name_generic
2015-09-25 21:30:34 +01:00
Barton E. Schaefer
377e2400b7
36623: document bracketed-paste-magic and url-quote-magic; add cross-reference to vim text object widgets
2015-09-24 18:46:27 -07:00
Mikael Magnusson
bd5806aa0a
36603: glob: fix dirfd leak during Y shortcut qualifier
2015-09-24 20:52:56 +02:00
Daniel Shahaf
4c935b9f85
unposted: _hg: Declare $expl as an array
2015-09-24 16:15:18 +00:00
Christoph Mathys
1aafc028b3
36613: _hg: extend completion for hg push to support branch and bookmark
2015-09-24 16:12:57 +00:00
Barton E. Schaefer
8d5c0c7760
36604: fix getopts+shift calculation
2015-09-23 23:16:38 -07:00
Daniel Shahaf
1b5987cdb1
unposted: Followup to 36586: Change C99 comment syntax to the C89 syntax.
2015-09-23 21:41:13 +00:00
Eric Cook
002d68525c
36571: Completion for zsocket and updated losetup's completion
2015-09-23 01:14:08 +02:00
Mikael Magnusson
0f2f34363d
unposted: replace multi-byte curly-quotes with plain quotes in ChangeLog entry
2015-09-23 01:13:26 +02:00
Barton E. Schaefer
56ed4df898
36587: use +LINE:COLUMN to place the cursor when invoking emacs variants, for emacsclient
2015-09-22 08:52:52 -07:00
Han Pingtian
acf5bd766a
36586: fix completion match right anchor
2015-09-22 10:18:41 +01:00
Han Pingtian
d2910fd64f
36538: fix description of b and B completion match anchors
2015-09-22 09:58:59 +01:00
Jun-ichi Takimoto
53fcadc1f8
36578: option in a set has key "set-opt" in $opt_args
2015-09-22 11:16:32 +09:00
Peter Stephenson
729f6ddfff
36580: don't copy empty buffer in compmatch.
...
Also check if length is non-zero when buffer is empty.
2015-09-21 20:33:58 +01:00
Peter Stephenson
8b84419f45
36577: supplement 36559 to using LONG_MAX for 64-bit long
2015-09-21 14:42:22 +01:00
Frank Terbeck
5476e011f1
36576: _tmux: Fix tmux homepage URI
2015-09-21 14:56:50 +02:00
Frank Terbeck
d4a640775f
36575: _tmux: ‘lock-server’ option is gone in tmux.git
2015-09-21 14:56:50 +02:00
Jun-ichi Takimoto
9b35a04f98
36556: complete two or more options for zsh
2015-09-21 21:38:41 +09:00
Peter Stephenson
6fa5f0612b
unposted: typo in 36559
2015-09-21 13:27:35 +01:00
Barton E. Schaefer
bdcdb562d9
cf. users/20606: zcompile prepares scripts for sourcing, not for execution
2015-09-19 23:06:55 -07:00
Barton E. Schaefer
e61717b606
36566: check for regular file before lseek()
2015-09-19 23:05:44 -07:00
Barton E. Schaefer
4375d7b905
36562: sanitize $PWD on import, per POSIX
2015-09-19 23:03:39 -07:00
Peter Stephenson
df0d86b847
36559: test earlier for overflow in pattern range
2015-09-19 23:08:46 +01:00
Peter Stephenson
cc44b10da1
unposted: fix typo in test
2015-09-19 20:22:19 +01:00
Barton E. Schaefer
18d82a6c40
cf. users/20586: clean up cross-references to the "Autoloading Functions" doc
2015-09-18 10:10:35 -07:00
Barton E. Schaefer
18130bed7f
36552 plus test: fix Nularg string in quotestring(QT_DOLLARS)
2015-09-17 21:44:14 -07:00
Daniel Shahaf
9955bbdb9f
unposted: docs: Typo fixes
2015-09-14 20:33:03 +00:00
Daniel Shahaf
aeb1ac6a9c
unposted (see 36526): Update changelog for 36443.
2015-09-14 20:31:43 +00:00
Barton E. Schaefer
8a818381cf
36525: revert only the selfinsert() bit of 36496
...
selfinsert() may be called with incomplete wide character processing from
places other than getkeymapcmd()
2015-09-12 20:49:13 -07:00
Axel Beckert
9cb8c3f4b5
36523: Completion/…/_gphoto2: Replace --delete-files with --delete-file
2015-09-13 02:26:02 +02:00
Barton E. Schaefer
b957cdd21a
unposted: revert 36483 as multibyte is now handled by "zle .read-command"; adapt to new default behavior of zle_highlight for paste
2015-09-12 17:16:43 -07:00
Barton E. Schaefer
8e77fcb050
36522: unmetafy the argument of "zle -U"
2015-09-12 16:13:01 -07:00
Barton E. Schaefer
6ff0628182
36509: allocate hash table nodes with zshcalloc() to avoid garbage flag values
2015-09-12 09:53:39 -07:00
Jun-ichi Takimoto
8b1676e3b7
36491: Multibyte support for parameter expansion flags B,E,N
2015-09-12 20:35:56 +09:00
Daniel Shahaf
c76f4f96a6
36443: Set zle_highlight=(paste:standout) by default.
2015-09-11 21:49:39 +00:00
Daniel Shahaf
d37b59fe09
36443: Revert "35834: strip a final newline from pasted text: inserting is hard to tell apart from accepting it"
...
This reverts commit f17eb26a34
.
Conflicts:
ChangeLog
Src/Zle/zle_misc.c
2015-09-11 21:49:16 +00:00
Peter Stephenson
e1c0a947cc
Read full multibyte string early for self-insert
2015-09-11 21:40:45 +01:00
Peter Stephenson
560a23033d
unposted: update internal build string to 5.1.1-dev-0
2015-09-11 21:23:21 +01:00
Peter Stephenson
68405f31a0
unposted: version 5.1.1
2015-09-11 18:47:56 +01:00
Sebastian Gniazdowski
89b55d4a5f
36489: fix curses bug with hash table for colours
2015-09-11 18:45:01 +01:00
Peter Stephenson
f5e8527a8c
36483: handle incomplete multibyte characters in bracketed-paste-magi
2015-09-11 18:40:22 +01:00
Peter Stephenson
7fca9bb05b
Update news for 5.1.1 with minor features just added.
2015-09-11 09:19:42 +01:00
Daniel Shahaf
c088906423
36445: Expose yankb, yanke, ZLE_YANK to widgets.
2015-09-10 19:14:34 +00:00
Peter Stephenson
e86b3cce47
36478: Add [[:INCOMPLETE:]] and [[:INVALID:]] pattern tests.
2015-09-10 20:05:48 +01:00
Barton E. Schaefer
3bca11c35c
36470: Auxiliary to 36468, return an empty buffer from zleread() if a widget exits
2015-09-10 09:10:08 -07:00
Peter Stephenson
86229fdf09
36468: Fix infinite loop exiting from Zle widget.
...
If the exit was while we were waiting to complete a lexical expression
we might not exit from the loop.
2015-09-10 16:02:27 +01:00
Peter Stephenson
ca9fdda408
36460: Discard benign error when no one is reading from pipe
2015-09-10 09:20:38 +01:00
Oliver Kiddle
45e67c3552
36422: add missing unmeta()
2015-09-08 11:12:10 +02:00
Daniel Shahaf
8931e47b8d
36437: Document interaction of $region_highlight and $zle_highlight.
2015-09-07 21:17:40 +00:00
Daniel Shahaf
1cba80bf08
unposted: ZLE_STATE: fix obvious documentation typo.
2015-09-07 21:14:15 +00:00
James Clarke
bddd99d98a
36441: _git: Fixed typo in --author-date-order description
2015-09-07 21:11:10 +00:00
Peter Stephenson
eaea1dc23c
unposted: make 5.1-test-1 with updates for 5.1.1
2015-09-06 18:12:09 +01:00
Daniel Shahaf
a4f087b98e
unposted: Minor documentation tweaks.
2015-09-05 10:47:53 +00:00
Daniel Shahaf
880579dc1e
36410: vcs_info git: Present merge heads as patches
...
This shows, during 'git merge', the revision hashes of the "remote" head
(the one that will become second parent of the commit) in the %m expando.
Review-by: Frank Terbeck
2015-09-05 10:47:44 +00:00
Peter Stephenson
5445d5f0cc
unposted: typo in change log
2015-09-04 13:48:20 +01:00
Peter Stephenson
938c4c1e4a
36421: fix breakage in pattern change in 36415
2015-09-04 13:40:28 +01:00
Jun-ichi Takimoto
3a676eab44
36417: fix/update top level texinfo menu
2015-09-04 21:07:33 +09:00
Peter Stephenson
f52795ea3e
36415: remap bytes from invalid multibyte characters.
...
These now go to 0xdc00 + index. If wchar_t is a Unicode code point,
this is by construction an invalid character within the Unicode range.
If it isn't, we would hope the result was no worse than the current
fudge.
2015-09-04 10:07:51 +01:00
Peter Stephenson
32f5d3d8c1
36416: ^C in getzlequery() just aborts query.
...
Also logical but possibly invisible fix for error propagated
back from listing interface.
2015-09-03 17:52:40 +01:00
Daniel Shahaf
1ba2fac03d
36403: type -w += suffix alias
...
This makes 'type -w' distinguish suffix aliases from regular aliases,
like bare 'type' already does.
Use-case: detecting programmatically whether the command word is indeed
a valid command word (see <https://github.com/zsh-users/zsh-syntax-highlighting/issues/126 >)
2015-09-03 09:17:39 +00:00
Barton E. Schaefer
8dfdca8afd
Add ChangeLog entry for tests from previous commit
2015-09-02 19:19:20 -07:00
Barton E. Schaefer
9f5dffa1f3
36393: process queued signals during dotrap()
2015-09-02 19:11:54 -07:00
Peter Stephenson
cdbd1b2581
36378: skip directories when looking for files to autoload
2015-09-02 20:19:28 +01:00
Peter Stephenson
dde07f7436
unposted: fix egregious typo
2015-09-02 14:26:14 +01:00
Peter Stephenson
0e63286bd4
36399: Shell code text with multiple here documents wasn't shown properly.
2015-09-02 14:20:44 +01:00
Mikael Magnusson
8e3ca08f13
36347: Fix appending empty array to associations
2015-09-01 23:20:05 +02:00
Barton E. Schaefer
3747f6b6ab
36376: handle signals during read1char() so it is possible to interrupt correct/correctall prompts
2015-09-01 11:26:06 -07:00
Peter Stephenson
21382e0b20
36365: magic-space could delete the reset of the line.
...
If we got a LEXERR, which didn't necessarily mean an actual error,
just something the rather nasty ctxtlex() got confused by, we
didn't scan the reset of the line.
2015-09-01 11:45:23 +01:00
Peter Stephenson
b73e4442e8
unposted: Update internal version to 5.1-dev-0.
...
Avoids installation clash of develpment build with 5.1 release.
2015-09-01 09:58:43 +01:00
Daniel Shahaf
6e825e7b25
36353: _git: Unbreak after previous.
2015-09-01 04:37:39 +00:00
Mateusz Karbowy
a428c6b62c
36328 + 36340: _git-cherry-pick: Complete other branches only
2015-08-30 22:51:15 +00:00
Axel Beckert
a9df6aaa70
36338: Replace "5.0.9" with "5.1" in source comments
2015-08-30 22:47:00 +02:00
Peter Stephenson
11189c6df7
Relase zsh 5.1
2015-08-30 19:10:46 +01:00
Daniel Shahaf
2f4b690c7a
36321: _debcheckout: New completion.
2015-08-29 16:12:25 +00:00
Daniel Shahaf
d2e920d5d0
36306: _subversion: Complete --show-item values
2015-08-28 23:36:25 +00:00
Peter Stephenson
945136e752
users/20475: document cdr stores unique entry of most recent use
2015-08-28 11:04:02 +01:00
Peter Stephenson
946e5d89a9
users/20466 plus comment: change test for skipping strftime extensions.
...
This test is known to fail on Solaris, but seems to work in other
common implementations. Hence there seems no point in having the
release fall over on this test. Needs further investigation later.
2015-08-28 09:42:31 +01:00
Mikael Magnusson
095dd71cc0
36314: Avoid using short_loops syntax in distributed files
2015-08-28 09:37:37 +02:00
Mikael Magnusson
9ca9a092de
36302: attr: Fix compilation with libcap 2.24
2015-08-28 05:12:29 +02:00
Daniel Shahaf
d6ca3bc4b9
unposted: _subversion: Avoid SHORT_LOOPS
2015-08-27 23:15:03 +00:00
Daniel Shahaf
63b1dcd284
36304: _git-cat-file: Fix regression in 36237
...
This broke 'git cat-file blob origin:Etc/<TAB>'.
2015-08-27 23:14:57 +00:00
Barton E. Schaefer
51f5898dc0
cf. Axel Beckert 36292: discard even more extraneous stderr in "hang" test
2015-08-27 09:21:18 -07:00
Barton E. Schaefer
85645fd683
36288: refine 36825, slightly different test for redirect context
2015-08-26 22:16:12 -07:00
Barton E. Schaefer
8186e9c94b
36285: update 36025, context cannot be command and redirect at the same time, redirect wins
2015-08-26 21:50:13 -07:00
Barton E. Schaefer
caaed169e5
36282: discard stderr of "hang" test
2015-08-26 21:38:55 -07:00
Peter Stephenson
2663a0310f
unposted: update to 5.0.8-test-3
2015-08-25 19:11:43 +01:00
Daniel Shahaf
fdf48d84fa
36277: _git: Updated for git-clone 2.4.5.
2015-08-24 11:23:44 +00:00
Peter Stephenson
3698baaada
unposted: replace version 5.0.9 with 5.1 in FAQ
2015-08-24 10:49:18 +01:00
Peter Stephenson
2bc4680e3b
Merge branch 'master' of https://git.code.sf.net/p/zsh/code
2015-08-24 10:18:56 +01:00
Jun-ichi Takimoto
2e69ece5cf
users/20455: do not use posix_openpt() on OpenBSD
2015-08-23 14:31:56 +09:00
Barton E. Schaefer
43079e5d8e
36274: clear virangeflag when getvirange() has an error (the next keystroke is not a motion/selection).
2015-08-22 21:54:31 -07:00
Barton E. Schaefer
1cfe4ca192
36273: teach endofline() and endoflinehist() about invicmdmode() cursor placement.
2015-08-22 21:50:31 -07:00
Barton E. Schaefer
2ed3b84fa6
36266: preserve emulation and setopt context for init and finish functions, handle vi modes
2015-08-21 13:38:19 -07:00
Barton E. Schaefer
8abe1496fb
36256: local options should remain in effect for "emulate -L" even if additional option settings are applied
2015-08-21 13:38:19 -07:00
Peter Stephenson
881474edcb
unposted: fix up for 5.0.8-test-2
2015-08-21 21:33:37 +01:00
Peter Stephenson
e5d5a76dce
Test for 36265, no alias expansion after "function"
2015-08-21 17:12:46 +01:00
Peter Stephenson
c0df3440a4
36264: glob and pattern variable pathbuf is metafied.
...
Document this and unmetafy it when passing to system calls, including
lchdir() which is a system-level interface.
2015-08-21 15:17:18 +01:00
Peter Stephenson
06e1542f5c
unposted: update version from 5.0.8 to 5.1 in descriptive text
2015-08-21 10:33:21 +01:00
Peter Stephenson
61afb8dc8d
36262: Replace fix for missing unmeta in chdir().
...
It was needed in the argument to one of a pair of lchdir()s rather
than within zchdir().
Add tests for the case of a character with 0x83 within it.
2015-08-21 10:04:13 +01:00
Peter Stephenson
364e1717f0
36250: ChangeLog tweaked further
2015-08-21 09:51:16 +01:00
Peter Stephenson
a2efa4d1c8
36250: add notes on bracketed paste mode to README
...
Next version will be 5.1 rather than 5.0.9.
2015-08-21 09:46:15 +01:00
Jun-ichi Takimoto
a85ba2e719
36243: fix a few problems of "_pids -m pattern"
2015-08-20 22:15:14 +09:00
Daniel Shahaf
a69994ede1
36247: __git_objects: Complete HEAD:./foo correctly in worktree subdir
2015-08-19 23:29:50 +00:00
Daniel Shahaf
663fa4092f
36237: __git_objects: Complete HEAD:foo correctly in worktree subdir
2015-08-19 23:29:49 +00:00
Daniel Shahaf
a4c41fff12
36236: _git-log: Complete multiple revspecs
...
e.g., git log origin/master origin/foo origin/bar
2015-08-19 23:28:12 +00:00
Daniel Shahaf
d70e7149df
36236: _git-log: complete 'git rm'd files
2015-08-19 23:28:11 +00:00
Oliver Kiddle
ea5d100643
36148: _git-log: Complete flags after positional argument
2015-08-19 23:27:40 +00:00
Peter Stephenson
8ed6bc0a85
36241: Test for ztrftime fix, 36227 / f8164fb6
.
...
Check that embedded null characters get passed correctly through
the strftime module builtin.
2015-08-19 11:13:31 +01:00
Daniel Shahaf
0c5f6e911b
36208: _subversion: Complete a few more option switches
...
The while (( idx )) form should guarantee that these switches are only
added if the 'svn' binary supports them. (One of these switches isn't
present in svn 1.8 or earlier.)
2015-08-19 01:56:53 +00:00
Mikael Magnusson
9982edbc40
unposted: typo in ChangeLog
2015-08-18 21:28:52 +02:00
Peter Stephenson
34be0f1fe5
36232: Unmeta needed in chdir() in zchdir()
2015-08-18 17:46:27 +01:00
Peter Stephenson
f8164fb647
36227: attempt to fix metafication problem with ztrftime.
...
fmt is treated as metafied on entry; use returned length to ensure
we metafy or output the correct length if there are embedded nulls.
2015-08-18 16:20:48 +01:00
Peter Stephenson
5292d60eb1
Revert "36222: unmetafy output from strftime"
...
This reverts commit 8141a3d850
.
2015-08-18 14:27:42 +01:00
Peter Stephenson
8141a3d850
36222: unmetafy output from strftime
2015-08-18 12:36:51 +01:00
Peter Stephenson
770beb5816
36218: use unmetafied file name for mkdir system call
2015-08-18 11:10:54 +01:00
Peter Stephenson
0575f03a5a
36216: Missed message number
2015-08-18 10:45:26 +01:00
Peter Stephenson
2372daa755
36216: Simpler handling of UNDO_LIMIT_NO
2015-08-18 10:44:46 +01:00
Barton E. Schaefer
c239a7bd91
36212: save and restore HISTNO along with other editor state, for sanity of "zle undo"
2015-08-17 20:59:00 -07:00
brian m. carlson
9a369d39e1
36209: vcs_info: avoid grep error message when file is missing
...
When running git rebase -m and a conflict occurs, the git-rebase-todo
file is not present. This leads to an error from grep every time the
shell prompt is printed when vcs_info is enabled. Avoid this message by
checking if the file exists before trying to grep it.
2015-08-18 01:00:25 +02:00
Daniel Shahaf
769c6cbc28
unposted: _sshfs: Fix completion of options with values
...
The "=" to the left of the ":" was interpreted as a literal part of the option
name, resulting in double equal signs.
2015-08-17 21:55:24 +00:00
Daniel Shahaf
ad98fab65d
36158: _sshfs: Fix completion of and after -o
...
The "action" part of the -o spec didn't escape colons.
2015-08-17 21:54:55 +00:00
Daniel Shahaf
fa573a3579
36109: bracketed-paste: change quoting style
2015-08-17 21:53:16 +00:00
Daniel Shahaf
c799e01c68
36186: FAQ (3.24): Update for bracketed paste
2015-08-17 21:52:33 +00:00
Mikael Magnusson
fb063f9649
36172: _imagemagick: Use $formats a bit more correctly
2015-08-17 22:50:04 +02:00
Barton E. Schaefer
c5a13d2d01
unposted (cf. 36200): back out _expand backslash handling change from 34961.
2015-08-17 13:12:30 -07:00
Peter Stephenson
bd89f38fb7
unposted: use of $f in zmv
2015-08-17 20:22:20 +01:00
Oliver Kiddle
1d2dd33c0a
36165: simplify file-patterns default to a single pattern
2015-08-17 12:25:44 +02:00
Barton E. Schaefer
2f2808098b
unposted: mention bracketed-paste-magic in url-quote-magic comments
2015-08-16 22:52:21 -07:00
Barton E. Schaefer
3b3ce2bb3e
Reorder commit-log entries for international date line.
2015-08-16 22:30:58 -07:00
Barton E. Schaefer
795e6eb9b3
36195, 36196: wrapper of bracketed-paste for compatibilty with url-quote-magic and other self-insert wrapper widgets
2015-08-16 22:23:06 -07:00
Barton E. Schaefer
5d019f426a
36180: avoid infinite job stop/continue loop on "wait PID" for a background job
2015-08-15 10:15:30 -07:00
Mikael Magnusson
0204f5e17f
36091: _ncftp: search XDG_DATA_HOME for bookmarks saved by lftp
2015-08-15 00:43:48 +02:00
Mikael Magnusson
019dbbf166
Revert 36118
...
This works already except if list-dirs-first is set, and that
is being fixed separately.
2015-08-15 00:15:22 +02:00
Oliver Kiddle
9a4e1bf93b
36146: avoid mix of -/ and -g with _files as that just overrides user preferences
2015-08-14 11:00:39 +02:00
Daniel Shahaf
422dae7b1c
unposted: _subversion: Complete property names for propdel
...
Previously, filenames would be completed.
2015-08-13 23:47:59 +00:00
Oliver Kiddle
832130c57d
36131: make use of undo limits; call mkundoent() when $UNDO_CHANGE_NO is referenced for a clear change number marking the current state
2015-08-13 16:18:26 +02:00
Eric Cook
f158e5c4cf
36113: ip(8) may add suffixes which is not good for completion matches
2015-08-13 16:10:35 +02:00
Wieland Hoffmann
8e0b5e0e00
Wieland Hoffmann: 36123: protect against word splitting in __git_is_committish_range
2015-08-13 15:53:12 +02:00
Kamil Dudka
51d2c66341
36106: fix const parameter to bindkey
2015-08-12 20:08:58 +01:00
Oliver Kiddle
cf77e28a3f
36127: assorted minor completion function changes
2015-08-12 18:06:03 +02:00
Oliver Kiddle
4f509c6201
36125: don't set history context in get-line
2015-08-12 18:06:01 +02:00
Oliver Kiddle
f17eb26a34
35834: strip a final newline from pasted text: inserting is hard to tell apart from accepting it
2015-08-12 18:05:59 +02:00
Mikael Magnusson
b386bbaf29
36119: _strftime: Add completion for zsh/datetime's strftime builtin
2015-08-12 17:55:07 +02:00
Mikael Magnusson
aa722536ea
36120: _sort: Fix syntax error
2015-08-12 17:54:55 +02:00
Mikael Magnusson
6472541678
36118: _imagemagick: complete all files if image files didn't match
2015-08-12 17:54:42 +02:00
Mikael Magnusson
f6c3a2f86a
36117: _wget: complete headers for --header and add --no-use-server-timestamps
2015-08-12 17:54:24 +02:00
Mikael Magnusson
8815500f95
36116: _git: various fixes
...
Add = to git checkout --conflict= completion
fix transposed [-
git push remote argument is not optional
can use shorter syntax for a check
2015-08-12 17:54:07 +02:00
Mikael Magnusson
46a46a90c2
36078: vcs_info: Adjust documentation for no longer exporting
2015-08-12 04:31:29 +02:00
Mikael Magnusson
c5abf2bcff
36077: vcs_info: stop exporting everything
2015-08-12 04:31:22 +02:00
Barton E. Schaefer
c21a3fddf4
36108: list of major changes so far since 5.0.8
2015-08-11 12:24:28 -07:00
Barton E. Schaefer
128bf385b1
36104: change order of child_block() and dont_queue_signals() to resolve yet another race condition
2015-08-11 08:55:23 -07:00
Barton E. Schaefer
a01f29c11d
36092: return the zpty master file descriptor in $REPLY for use with "zle -F" etc.
2015-08-11 08:55:23 -07:00
Barton E. Schaefer
1af2e6e02d
36090: keep signals queued for preprompt()
2015-08-11 08:55:23 -07:00
Oliver Kiddle
5ee4cc8c09
36096: special . mark in vi mode
2015-08-11 13:44:32 +02:00
Oliver Kiddle
3183cbd98c
36044: deactivate-region widget for escape in visual mode
2015-08-11 13:28:14 +02:00
Jun T
bde91914df
36067: fix typo and format in the documentation
2015-08-11 13:07:59 +09:00
Barton E. Schaefer
321116c4cc
unposted: replace multi-byte curly-quotes with plain quotes in ChangeLog entry
2015-08-10 14:42:51 -07:00
Barton E. Schaefer
45424e735d
36084: use zrealloc() consistently
2015-08-10 12:55:56 -07:00
Barton E. Schaefer
93ca77f8f7
36079: do not allow update_job() and its helpers to run the signal queue while we are processing a job exit.
2015-08-10 12:54:05 -07:00
Peter Stephenson
6fa8708bfc
36083: set array value when consistently retying scalar and array
2015-08-10 20:30:09 +01:00
Peter Stephenson
a07f74fadd
Don't rely on implicit value when saving background process status
2015-08-10 16:59:55 +01:00
Frank Terbeck
c6136b94f3
36075: Disable ‘local’ keyword in script to make data retrieval work
2015-08-10 17:53:44 +02:00
Frank Terbeck
8d849b9caf
36069: _tmux: Fix \ooo display in completion list
2015-08-10 16:50:55 +02:00
Frank Terbeck
5d10851b73
36070: _tmux: Update bell-action and prefix options
2015-08-10 16:50:55 +02:00
Frank Terbeck
b6d44f6c63
36060: _tmux: Update TODO
2015-08-10 16:50:54 +02:00
Frank Terbeck
e3df5dff86
36061: _tmux: Add support for new window options
2015-08-10 16:50:54 +02:00
Frank Terbeck
5c19edb44b
36055: _tmux: Add support for new server options
2015-08-10 16:50:54 +02:00
Frank Terbeck
5fc821cbbd
36059: _tmux: Add new session options
2015-08-10 16:50:53 +02:00
Frank Terbeck
333df34d7b
36051: _tmux: Remove support for old options
2015-08-10 16:50:53 +02:00
Frank Terbeck
4dbc1af529
36047: _tmux: Fix options with changed scope
2015-08-10 16:50:53 +02:00
Frank Terbeck
761044e5c4
36064: _tmux: Add new command aliases
2015-08-10 16:50:52 +02:00
Frank Terbeck
61ba1a92fd
36052: _tmux: Remove old sub-commands and their aliases
2015-08-10 16:50:52 +02:00
Frank Terbeck
8208f5f8ed
36056: Add helper script to check state of _tmux completion
2015-08-10 16:50:52 +02:00
Frank Terbeck
1afcae59e6
36049: _tmux: options => session_options
2015-08-10 16:50:52 +02:00
Frank Terbeck
ad7ef9cf1f
36054: _tmux: "local -x" serves no purpose
2015-08-10 16:50:51 +02:00
Frank Terbeck
c7c15410b5
36057: _tmux: Replay all arguments when dispatching to new _tmux()
2015-08-10 16:50:51 +02:00
Frank Terbeck
ca53f8a7ca
36058: _tmux: No need to unset local variables
2015-08-10 16:50:51 +02:00
Frank Terbeck
ab234991b7
36050: _tmux: Don't unset, set empty in local scope
2015-08-10 16:50:50 +02:00
Frank Terbeck
75530dc965
36063: _tmux: Remove dead code
2015-08-10 16:50:50 +02:00