Peter Stephenson
053f01ee48
unposted: ignore .orig files
2015-10-29 15:01:53 +00:00
Peter Stephenson
0628802baf
37014: Improved internal parameter setting.
...
Enhance WARNCREATEGLOBAL to work in many more cases.
Don't create REPLY as an integer if it didn't previously exist
as one, even if the value to be set is integral, as this is likely to
mess up later uses of REPLY.
2015-10-29 15:01:07 +00:00
Jun-ichi Takimoto
9640e9f497
36983 + 36990: new completions for head and tail
2015-10-29 01:03:18 +09:00
Barton E. Schaefer
aba7c00698
36994: declare local REPLY for use with "zle .read-command"; use .self-insert instead of .self-insert-unmeta
2015-10-27 20:29:07 -07:00
Barton E. Schaefer
0920bc6881
unposted: fix typo quite -> queue
2015-10-27 08:48:47 -07:00
Peter Stephenson
b498bd7ce5
36982: Fix bug with (#cN) patterns and remove redundant description.
...
We need to restore the current count of matches when returning to
match at the point where we previously matched.
2015-10-27 11:54:19 +00:00
Peter Stephenson
63fd71f171
36977: note about difficulties of pattern repetitions
2015-10-27 10:58:39 +00:00
Peter Stephenson
d45a68c546
36974: fix some functions with empty argument lists
2015-10-27 09:28:36 +00:00
Kamil Dudka
81fa9fd25a
36906: quite_signals() in ZSH_MEM realloc()
2015-10-26 14:27:26 -07:00
Barton E. Schaefer
609273875d
36968: use addmodulefd() to tell the shell about the descriptor of the dbm file
2015-10-26 07:25:51 -07:00
Barton E. Schaefer
8934007f25
36956: revert 34451, mmap() is too slow on MacOS
2015-10-26 07:19:01 -07:00
Peter Stephenson
11ca38c6d9
users/20825: fix crash when complex completion hooks.
...
get_undo_current_change() needs protecting against execution in
completion environment.
2015-10-26 10:00:54 +00:00
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
272119b774
unposted: small typo again
2015-10-24 21:00:30 +01: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
643aca932a
One crucial assignment accidentally lost from 36834 when merging 36836.
2015-10-11 21:48:10 -07: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