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

9251 commits

Author SHA1 Message Date
Daniel Shahaf
f59864ce7a 37025: vcs_info git: Add a cherry-pick patch-format 2015-11-13 20:17:27 +00:00
Jun-ichi Takimoto
d5ba08af49 unposted: a few cosmetic format fixes in docs 2015-11-13 01:03:38 +09:00
Jun-ichi Takimoto
ff85c8b1c9 37090: correctly handle blank lines in yodl macro example() 2015-11-13 00:16:20 +09:00
Peter Stephenson
d814071b14 37096: Another $${(P)...} tweak.
Make a top level (P) work with nested ones, i.e. ${(P)${(P)...}...}
2015-11-12 14:28:15 +00:00
Peter Stephenson
7a951ef93e 37094: Further tweaks to parameter name references.
Safety in array test.

Make nested references work.

Add parameter tests.
2015-11-11 22:14:16 +00:00
Peter Stephenson
830d54e629 37092: make nested ${(P)name} properly refer to parameter on return 2015-11-11 18:04:20 +00:00
Peter Stephenson
f30b1bc7d1 missed log entry 2015-11-11 17:38:13 +00:00
Peter Stephenson
f1312d1e22 37091: clear lastline and lastlinesz when freeing 2015-11-11 16:09:28 +00:00
Peter Stephenson
5ed0cb8bc5 37084: add implementation check to zsh/parm/private test 2015-11-10 09:32:04 +00:00
Barton E. Schaefer
121f36e700 Merge branch 'master' of git://git.code.sf.net/p/zsh/code
Conflicts:
	ChangeLog
2015-11-09 10:08:22 -08:00
Barton E. Schaefer
6783c4538f Jun T. proofreading 2015-11-09 10:07:17 -08:00
Jun-ichi Takimoto
623d318581 37085: fix doc: DEBUG_BEFORE_CMD is set by default 2015-11-09 23:48:24 +09:00
Barton E. Schaefer
d3d5325d27 37081: new module zsh/param/private for private-scoped parameters in functions 2015-11-08 16:19:37 -08:00
Barton E. Schaefer
30b90f166e 37080: use paramtab abstraction more consistently, add explanatory comments 2015-11-08 12:44:31 -08:00
Barton E. Schaefer
7277cc1bed 37079: better description of "optstr" field in struct builtin as used in BUILTIN() macro 2015-11-08 12:42:00 -08:00
Peter Stephenson
e8d6041f69 37074: extend previous fix to over whitespace at end 2015-11-07 18:05:43 +00:00
Peter Stephenson
0fcc6c8fb2 37073: another SH_WORD_SPLIT problem.
In cases like x${:- y} the space was simply removed instead of
being used for splitting.
2015-11-06 17:28:02 +00:00
Peter Stephenson
20153c573e 37062: tentative mechanism for git commit descriptions.
Mechanism for forcing completion system into verbose mode is subject
to change.
2015-11-04 17:37:17 +00:00
Daniel Hahler
9642aeeaeb 35303: remove Completion/Unix/Command/_systemd
systemd's upstream version seems to be maintained well, and e.g. on Arch
Linux the version from Zsh gets removed in favour of it.
2015-11-02 02:58:09 +01:00
Peter Stephenson
ba36967b57 37038: add -l option to emulate to list options in emulations 2015-11-01 18:12:40 +00:00
Oliver Kiddle
fa59375e36 37029: update options and new tr completion 2015-10-31 19:14:36 +01:00
Oliver Kiddle
098319df99 37028: new scl completion 2015-10-31 19:11:16 +01:00
Eric Cook
607a7a85b6 36993: zed: fix argument parsing 2015-10-31 19:06:47 +01:00
Barton E. Schaefer
682e779a21 unposted (cf. 36998,36999): undo 36956 / restore 34451 with expanded comment about the flip-flopping 2015-10-31 09:54:04 -07:00
Daniel Shahaf
0e510f0c35 37032: Temporarily revert 36959. 2015-10-31 13:03:54 +00:00
Peter Stephenson
1eef57b3d1 37027: allow subword context to discriminate between words 2015-10-30 16:59:41 +00:00
Daniel Shahaf
26614ad0e0 unposted: Typo in ChangeLog 2015-10-30 15:04:39 +00:00
Daniel Shahaf
51d50218fb unposted (after 37018): Fix typo in error message. 2015-10-30 15:03:12 +00:00
Peter Stephenson
58f4cccb1f 37022: add GLOB_STAR_SHORT option to abbreviate ** and *** 2015-10-30 12:28:07 +00:00
Peter Stephenson
de9effbce6 37018: Make WARNCREATEGLOBAL more consistent.
Wd don't need separate math handling any more, and can make it
output the function name in all cases.
2015-10-29 17:06:27 +00:00
Peter Stephenson
300a58f593 missed ChangeLog entry 2015-10-29 16:52:21 +00:00
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