1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-24 05:11:08 +02:00
Commit graph

8533 commits

Author SHA1 Message Date
Mikael Magnusson
205cb16b98 Fix ~ and (Q) order in _zattr 2015-03-15 00:42:01 +01:00
Peter Stephenson
e85906ebc9 users/19985: improve doc of subscripting substrings further 2015-03-10 12:20:47 +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
69ada95acd 34693: sudo completion: Don't false positive 'sudo -e' detection 2015-03-09 20:01:09 +00:00
Daniel Shahaf
c1eda67909 34693: _strace: Fix variable leakage of $sys_calls 2015-03-09 19:59:25 +00:00
Daniel Shahaf
0e319ecadc Fix ChangeLog
('git commit --amend' and 'git commit --amend -a' are too similar.)
2015-03-07 05:05:05 +00:00
Daniel Hahler
ce80a925d6 34638 with tweaks: git completion: complete commit hashes and --fixup 2015-03-07 03:56:48 +00:00
Jun-ichi Takimoto
d902b55bd4 34643: clarify documentation for print and bindkey 2015-03-06 20:32:56 +09:00
Peter Stephenson
2f3547689c 34653: move aborted vared lines to ZLE_VARED_ABORTED 2015-03-06 09:51:16 +00:00
Peter Stephenson
00b3085b96 34657: document the effect of substring subscripting better 2015-03-06 09:50:01 +00:00
Peter Stephenson
ec03a233c5 34654: Improved rpm -q --whatprovides completion 2015-03-05 14:49:47 +00:00
Peter Stephenson
506eaa0a63 34651: Avoid core dump if no lexical token 2015-03-05 10:02:38 +00:00
Daniel Shahaf
19010fafd9 New completion for add-zsh-hook 2015-03-05 09:40:33 +00:00
Peter Stephenson
732eeae1b5 Missing test for alias fix 2015-03-05 09:38:31 +00:00
Jun-ichi Takimoto
4bc554bb8b 34636: replace broken isprint() on Mac OS X 2015-03-05 01:48:34 +09:00
Peter Stephenson
0ac87e3f59 34641: make it possible to alias tokens 2015-03-04 15:56:17 +00:00
Daniel Shahaf
42e5f591f5 34640: clarify documentation for _guard function 2015-03-04 09:18:07 +00:00
Matthew Martin
90d433b358 34637: New mixerctl completion for BSD 2015-03-03 09:30:15 +00:00
Barton E. Schaefer
4edcacbcf3 users/19934: document %D{...} for WATCHFMT 2015-02-28 13:45:51 -08:00
Barton E. Schaefer
628d2f4f8a 34634: avoid infinite recursion on (/)# extendedglob 2015-02-27 10:10:19 -08:00
Daniel Shahaf
49776e807f 34588: Complete 'usermod -a' 2015-02-27 17:21:11 +00:00
Peter Stephenson
c96606cc06 34623: free history more often if "remetafying" 2015-02-23 17:38:16 +00:00
Mikael Magnusson
ed43cf2768 34615 + 34619: Remeta one frame earlier 2015-02-23 18:09:47 +01:00
Peter Stephenson
6fa63a0ce2 34606: fix up nested arithmetic substitution
Arithmetic within a parameter substitution is a special
case that needs fixing with the introduction of the new
Inparmath token.

Add test.
2015-02-22 21:32:08 +00:00
Peter Stephenson
bcc4ab792d 34604: Work around problem with changes in Meta characters.
If reading in a file that contains characters that should be
metafied but are not, fix up on the fly.  Only need when using
HIST_LEX_WORDS.
2015-02-22 20:22:40 +00:00
Barton E. Schaefer
009b6c9ff5 34597: Revise strftime description to correctly explain timezone handling and note signed int rollover 2015-02-21 20:01:32 -08:00
Barton E. Schaefer
a4ff8e6957 34590: queue_signals() around more scopes that manipulate global state 2015-02-20 18:45:36 -08:00
Peter Stephenson
b237ba0a8e 34587: ensure multibyte characters don't overflow.
They could start incorporating tokens, with bad karma.

Add test.
2015-02-20 16:25:54 +00:00
Barton E. Schaefer
df7a657b10 34568: use META_HEAPDUP when passing dlerror() string to metafy() 2015-02-19 08:26:03 -08:00
Peter Stephenson
f36f6208bf unposted: Seems it's 2015 2015-02-19 15:58:29 +00:00
Peter Stephenson
2cbf9d7e65 34573: Safer failure to handle command substitution 2015-02-19 12:01:16 +00:00
Peter Stephenson
52e938bac9 34570: Another nasty command / math substituion thing.
Mark arithmetic substitutions with tokens to make sure the substitution
go knows what to do.  Before it was guessing by counting the
parentheses at the end.
2015-02-19 10:22:40 +00:00
Peter Stephenson
9b21dcada9 Fix up memory allocation for previous patch 2015-02-17 09:56:09 +00:00
Peter Stephenson
126fb61c7c 34560: Fix $(( that's actually a multiline cmd subst. 2015-02-16 17:16:57 +00:00
Peter Stephenson
041a85243e 34558: preexec doc fix.
It was wrongly claming the first parameter was empty if the line was
removed from the history.
2015-02-16 16:12:07 +00:00
Peter Stephenson
8ebe18c081 34530: PRINT_EXIT_VALUE with anonymous functions.
Simpler fix, avoiding structural changes.
2015-02-16 12:37:38 +00:00
Barton E. Schaefer
2335d62548 34551: Avoid adding an extra "/" to the target path in cd_try_chdir() when the current directory is "/" 2015-02-15 20:20:03 -08:00
Barton E. Schaefer
2c13d9fb0d 34543: Prevent crash on garbage bytes inside $(...)
Garbage input (nul bytes, etc.) can cause the $(...) parser to become
confused during look-ahead and attempt to back up the input too far.
This commit catches the error but does not fix the underlying cause.
2015-02-14 10:43:10 -08:00
Mikael Magnusson
dd988542f4 Fix typo from 28487 2015-02-14 02:00:25 +01:00
Peter Stephenson
daa7d99702 34546: further $_ with anon function fix.
Also add tests.
2015-02-13 21:31:31 +00:00
Peter Stephenson
7e6faf7237 34519: $_ for arguments of anonymous function 2015-02-12 19:48:50 +00:00
Barton E. Schaefer
ae7dcab5ed 34476: change _store_cache assignment format
Avoids potentially expensive lexical analysis of the array values.
2015-02-12 09:31:09 -08:00
Barton E. Schaefer
7398fea059 34514: Back out 34485, an alternate solution needs to be worked out.
(Tweaked to keep the unrelated hunk of the E01 test.)
2015-02-12 09:27:53 -08:00
Peter Stephenson
638bccb1c5 users/19850: add pattern support to watch variable 2015-02-11 12:52:22 +00:00
Mikael Magnusson
0209635832 34490: Fix leak on print -zf/-sf error 2015-02-10 13:03:51 +01:00
Mikael Magnusson
2dbbc88d0b 34488: Fix use-after-free for print -zf and print -sf 2015-02-10 13:03:49 +01:00
Peter Stephenson
da86d6b4f2 34485: More rationalisation for anonymous functions.
Don't attempt to treat as "simple" case as there are too many
hidden problems.

Pull out some post-execution functions to a common case in
execcmd().
2015-02-09 16:39:29 +00:00
Mikael Magnusson
dfbb5e4853 34466: Fix double unmeta in rm verification 2015-02-09 05:13:34 +01:00
Daniel Hahler
7d15b9a9cb 34468: completion: git: stash: handle 'save' being the default
"git stash" should complete arguments for "git stash save", but without
the message part.
2015-02-08 20:27:26 +01:00
Daniel Hahler
8f403ab25c 34467: completion: git: minor doc fixes
I am not sure about the deprecation of user-commands, but from other
places in the doc and commit history this deprecation was meant to be
reverted?!
2015-02-08 20:27:25 +01:00