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

594 commits

Author SHA1 Message Date
Barton E. Schaefer
9f3dc6605a 35469: test UNDO_CHANGE_NO to determine whether to start over or use the next history event 2015-06-14 20:12:42 -07:00
Peter Stephenson
2abba7243a 35386: expand tabs where useful in builtins outputing function.
Also add to zed -f.

Option is -x <numm>.
2015-06-05 11:21:22 +01:00
Han Pingtian
fea56dc32b 35234: better zfget completion with paths 2015-05-30 20:11:19 +01:00
Daniel Hahler
f080429439 35285: _cdr: fix zstyle lookup for recent-dirs-insert
The string was quoted incorrectly and missed the final ":".
2015-05-27 19:35:59 +02:00
Han Pingtian
2d86de91c1 35299: Improve effect of zfdir -r 2015-05-27 09:32:15 +01:00
Han Pingtian
9a6f55dc7a 35295: Try harder with zftp directory listing 2015-05-26 09:46:25 +01:00
Oliver Kiddle
d257f0143e 35093: new zle widgets for Vim-style text objects 2015-05-13 23:05:20 +02:00
Peter Stephenson
235e9bd1bf 34721: new glob qualifier functions before, after 2015-03-16 15:09:16 +00:00
Daniel Shahaf
57be7b743f 34673: vcs_info git: Fix error message when rebase hasn't started 2015-03-09 20:03:37 +00:00
Daniel Shahaf
9d25fd7255 vcs_info hg: Support inactive bookmarks
(Similar to git detached heads)
2015-01-25 01:42:05 +01:00
Marc Finet
9ea817acda PATCH: 34333: vcs_info quilt: fix unapplied detection in subdir
When patches are applied, let quilt use .pc without forcing the
patch directory, this will fix the unapplied detection when being in
subdir.
When no patches are applied, use zstyle quilt-patch-dir then
QUILT_PATCHES then "patches" for path to search for patches.

Note: prefer setting quilt-patch-dir rather than QUILT_PATCHES for
absolute path because when patches are applied, quilt unapplied will
not return the correct list (i.e. the whole list rather that the one
specified by .pc/.quilt_series).
2015-01-22 00:15:20 +01:00
Barton E. Schaefer
5caf317c3a unposted (cf. 34218): : remove -m from zmodload calls 2015-01-10 18:06:43 -08:00
Barton E. Schaefer
199581f780 34202: safe tempfile creation part 3 -- use zf_ln instead of mv 2015-01-10 10:32:31 -08:00
Mikael Magnusson
62b0e611ce 30568: Add tetriscurses contrib function, port of tetris to zcurses 2015-01-09 12:49:56 +01:00
Barton E. Schaefer
33b3958064 34068: create tempfiles without forking, and safe temp directory creation 2014-12-28 00:49:08 -08:00
Barton E. Schaefer
200accac63 34067: safe tempfile creation, part 1 2014-12-27 23:59:29 -08:00
Artur Penttinen
8505837f89 19371 plus tweak: run-help helper for ip 2014-11-13 20:25:00 +00:00
Frank Terbeck
a03227de23 33405: vcs_info: Make sure maxexports is set when VCS_INFO_set is called
Reported-by: From: Marco Hinz <mh.codebro@gmail.com>
2014-10-09 18:36:13 +02:00
Marc Finet
0f73b35f4e 33391: vcs_info git: fix applied patch detection on git am
git-am also uses .git/rebase-apply for patch list but
the file original-commit does not exist (as no commit exist).
This patch handles both git rebase and git am. Also:
 - get the first line (rather than the first char) when the message
   contains only one line;
 - remove unused function (ironically that should have been used here).
2014-10-09 18:11:08 +02:00
Frank Terbeck
4a529201b8 33277: Fix VCS_INFO_reposub's command expansion
Reported-by: Marco Hinz <mh.codebro@gmail.com>
2014-09-29 19:20:11 +02:00
Daniel Hahler
64e2b4426e 33217: vcs_info: use --ignore-submodules=dirty with diff/diff-index
This will detect changes to submodules from the superproject's
perspective, e.g. after `git rm submodule`.

>From GIT-DIFF-INDEX(1)/GIT-DIFF(1):

    Using "dirty" ignores all changes to the work tree of submodules,
    only changes to the commits stored in the superproject are shown
    (this was the behavior until 1.7.0).
2014-09-22 23:23:03 +02:00
Marc Finet
9c29a4f1f6 33184: vcs_info git: consider patches for rebase
Since a rebase contains a list of patches to re-apply, re-use the
facility for stgit to have the same mechanism.
The patch list given to the gen-{un,}applied-string hooks is an array
with the sha1 and the subject of the commit. On rebase merge, the
applied patches prior to current contains only a number and "?".
2014-09-16 23:20:55 +02:00
Marc Finet
2c2d4f9627 33188: vcs_info git: set rrn before using it
This would fix handling get-revision, check-for-changes or
check-for-staged-changes when set per repository.
2014-09-16 23:20:52 +02:00
Marc Finet
d5f574e20a 33145: vcs_info git: fix applied-string name
Documentation and hg backend use applied-string. patch-string does not
appear anywhere.
2014-09-14 12:02:37 +02:00
Marc Finet
06e03e7234 33148: vcs_info quilt: refactor standalone detection
Since VCS_INFO_bydir_detect always uses the
vcs_comm[detect_need_file], it should be cleared when querying
it without file.
2014-09-14 12:02:36 +02:00
Marc Finet
5e40996891 33147: vcs_info git: detect revert or cherry-pick with multiple commits
When revert or cherry-pick involve many commits the .git/sequencer
directory holds context for the action and no CHERRY_PICK_HEAD exist.
2014-09-14 12:02:36 +02:00
Peter Stephenson
cc6e9db29d 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
Peter Stephenson
5bcf00979f 33002: tcp_expect -P pm tags matches with a string 2014-08-14 09:56:43 +01:00
Peter Stephenson
f8ae47f29b unposted: updates for 5.0.5-dev-1 and subsequent 5.0.6 release 2014-08-10 17:49:55 +01:00
Peter Stephenson
15db636380 %P at start of TCP function system prompt causes %-style prompt subst 2014-07-30 12:26:03 +01:00
Peter Stephenson
6076c474f2 unposted: replace-argument can take negative prefix to count from end 2014-07-24 10:49:50 +01:00
Peter Stephenson
4e54648add 32866: new replace-argument ZLE function.
Also a couple of read-from-minibuffer fixes: don't pass numeric
argument to recursive edit, and hide the minibuffer edit from
the undo history.
2014-07-17 09:45:46 +01:00
Daniel Shahaf
b85b09b78b 32662: vcs_info git: Fix stagedstr for empty repos
In empty repositories, HEAD is an unresolvable symbolic ref.  Start computing
stagedstr/unstagedstr in that case; for the former, use a different method
than the non-empty-repository case.
2014-06-02 15:17:04 +02:00
Daniel Shahaf
55d5feed30 32621: vcs_info svn: 'Fix set-branch-format' when in subdirs
The previous code would fail to detect the wcroot with Subversion 1.7+
when cwd is at least two levels below the root (i.e., ../../.svn exists
and ../.svn doesn't), and would then pass to the hook the revision and
basename of cwd rather than of the wcroot.
2014-05-29 16:50:07 +02:00
Daniel Shahaf
bb271217fe 32619: vcs_info svn: Use the revision of cwd
Previously, the value of the wc root would be used.  In Subversion,
it makes more sense to use the revision of cwd, since all commands
(e.g., 'svn ci', 'svnversion') operate only on cwd and below, not on
wcroot and below.
2014-05-29 16:50:07 +02:00
Daniel Shahaf
6a201af341 32597: vcs_info git: Describe detached heads symbolically.
This makes %b expand to a refname rather than a sha1 when HEAD is detached but
happens to match some ref (branch, tag, etc).  The resulting output will
typically contain a slash (e.g., "tags/v1.0.2", "heads/mybranch"), which helps
distinguish it from the output in the "HEAD is a symbolic ref" case.
2014-05-06 14:22:10 +02:00
Peter Stephenson
08d4a6136e addition to 32527: also update .distfiles 2014-04-07 09:59:35 +01:00
Peter Stephenson
47c440aa2a 32527: zcalc-auto-insert key binding for use in zcalc 2014-04-07 09:58:30 +01:00
Daniel Shahaf
eb4c70d0b7 32528: vcs_info: Add check-for-staged-changes 2014-04-05 10:56:52 +02:00
Peter Stephenson
965d7305e5 32453: fix zcalc default base handling 2014-03-01 21:27:47 +00:00
Peter Stephenson
52f72086c9 users 18531 plus doc etc.: new expand-absolute-path widget 2014-02-28 18:44:49 +00:00
Peter Stephenson
22b8fd6da9 32299: add use of underscores on arithmetic output for spacing 2014-01-23 10:32:59 +00:00
Frank Terbeck
82a3591f57 32264: vcs_info, hg: Support detecting repos using ShareExtension 2014-01-17 08:58:52 +01:00
Daniel Shahaf
c1a15fb152 32089: tweak to detect Subversion repository 2013-12-05 20:06:34 +00:00
Barton E. Schaefer
9972fdeead 32066: fix %r and %S in vcs_info formats when a repository subdirectory is accessed via a symlink
31985 Clemens Hammacher and 32064 Hong Xu
2013-11-29 12:32:36 -08:00
Peter Stephenson
9503b161ab 32031 plus missed _run_help: get helpfiles install path corect in functions 2013-11-23 17:44:12 +00:00
Peter Stephenson
12251d65ff 31940: zcalc -e uses arguments as input 2013-11-08 11:34:37 +00:00
Barton E. Schaefer
4748eff7d2 Some syntax adjustments in _expand_word_and_keep. Add a working URL. 2013-10-27 14:12:54 -07:00
Peter Stephenson
061e809502 31711: add execute-never style for MIME function system.
Allows alien file systems to be marked as not having executable fiels
2013-09-08 21:12:13 +01:00
Peter Stephenson
1c9931cc7d users/17955: new "disown" style for MIME handlers.
Makes handlers put into the background run without job control.
2013-08-29 10:48:49 +01:00