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

9416 commits

Author SHA1 Message Date
Daniel Shahaf
6a3de994af 36957: _git: Apply matchspecs to filename completion such as 'git log f/b<TAB>' → 'foo/bar.txt's
This patch makes 'git log S/e<TAB>' expand to Src/exec.c.  The incumbent
code would run 'git ls-tree S/' and find no matches.
2015-12-05 10:15:39 +00:00
Peter Stephenson
16684952fb 37305: typeset -p can now output arrays on one line 2015-12-04 15:39:53 +00:00
Peter Stephenson
dc8c39efff 37303: test WARN_CREATE_GLOBAL negative cases. 2015-12-04 11:24:21 +00:00
Peter Stephenson
e40a14c5e4 37202: suppress WARN_CREATE_GLOBAL warnings after a fork 2015-12-04 10:44:33 +00:00
Peter Stephenson
04479a56e0 unposted: fix init_io() calls in previous change 2015-12-04 09:42:35 +00:00
Peter Stephenson
fc00e3a6b7 37294: Add ZSH_EXECUTION_STRING.
This shows the argument to shell option -c.
2015-12-04 09:28:26 +00:00
Daniel Shahaf
5ecf332e84 37253: Constify two local variables. 2015-12-03 23:53:03 +00:00
Daniel Shahaf
07a300365f unposted: Remove uneeded executability bits. 2015-12-03 23:49:14 +00:00
Daniel Shahaf
7154b8314d 37296: Avoid needless calloc(). 2015-12-03 23:47:24 +00:00
Daniel Shahaf
253df6d4bb 37295: kill-word-match: Join kills 2015-12-03 23:47:24 +00:00
Peter Stephenson
2ec61f3a0b unposted: Update internal version to 5.2-dev-0.
Also add entry for 5.2 release in ChangeLog.
2015-12-03 12:38:31 +00:00
Peter Stephenson
c86c20ae57 unposted: zsh 5.2 2015-12-02 18:55:11 +00:00
Daniel Shahaf
ebb0d7ddaa 37256: _debchange (_dch): Update completion. 2015-11-30 16:02:47 +00:00
Daniel Shahaf
502d55c014 37252: vcs_info git: Compute %b correctly with "rebase --onto" of detached heads. (Follow-up to 36725.) 2015-11-30 03:42:47 +00:00
Daniel Shahaf
4202c90b6d 37254: No functional change: change code layout in preparation for 37253. 2015-11-30 03:42:46 +00:00
Daniel Shahaf
503fa5cd9e 37250: No functional change: rename local variables. 2015-11-30 03:42:45 +00:00
Peter Stephenson
fa40bfac03 unposted: 5.1.1-test-3 2015-11-29 21:50:45 +00:00
Daniel Shahaf
324a82b360 unposted (after 37243): Explain the breadcrumb by adding a comment. 2015-11-28 17:48:26 +00:00
Barton E. Schaefer
c7c51eca16 Fix conflicts in ChangeLog 2015-11-27 11:22:49 -08:00
Barton E. Schaefer
026cb6a812 37243: too many problems with inserting a line into B02, instead add a placeholder and substitute for it.
unposted: %cleanup block is not called when %prep sets ZTST_unimplemented,
so avoid leaving a mess
2015-11-27 11:20:33 -08:00
Peter Stephenson
8efa4b4088 unposted: ZCALCPROMPT created globally in zcalc 2015-11-27 09:31:46 +00:00
Daniel Shahaf
694aee4c3d 37214: 'prompt walters': Don't export PS1 2015-11-27 07:27:23 +00:00
Daniel Shahaf
06a24d3747 37163: Remove curl completion 2015-11-27 07:27:09 +00:00
Daniel Shahaf
2ab41d508d 37215: _regex_words: Don't add mismatched parentheses
I ran into this in the wild¹, it manifested as the following error message:

    zregexparse:4: not enough regex arguments

¹ https://bug.tasktools.org/browse/TW-1729
2015-11-27 07:26:38 +00:00
Barton E. Schaefer
3d962aacd5 37229: non-local assignment to a parameter name whose outermost declaration is private, is an error rather than a silent no-op.
Also fix %prep sed expression for Solaris.
2015-11-26 12:43:08 -08:00
Barton E. Schaefer
211889c982 Comment should say export is equivalent to typeset -xg 2015-11-26 11:15:51 -08:00
Barton E. Schaefer
2bab9f0394 37225: fix test for typeset with zsh/param/private 2015-11-26 09:30:05 -08:00
Barton E. Schaefer
e4aec8c197 37224: delete obsolete comment 2015-11-26 09:28:59 -08:00
Matthew Martin
d590646673 37100: update for sysctl completion 2015-11-26 09:37:50 +00:00
Peter Stephenson
78abc72f64 unposted: 5.1.1-test-2 2015-11-25 19:30:26 +00:00
Barton E. Schaefer
9e06828a7f 37208: check for restricted parameter before changing from unset to set
Also, return NULL from setnparam() on failure to retrieve value (avoids
null-pointer dereference); add some expository comments
2015-11-23 21:48:49 -08:00
Barton E. Schaefer
e73b73e0b0 37208: re-run the "typeset" tests with the private module loaded 2015-11-23 21:45:24 -08:00
Barton E. Schaefer
4e90e27036 37208: assignment in a nested scope should not change private parameters in the outer scope from unset to set
Bug remains that the attempt does not generate a warning
2015-11-23 21:43:14 -08:00
Barton E. Schaefer
bc30d6bfca 37206: fix ${(t)param} for "typeset -H param" 2015-11-23 19:18:44 -08:00
Barton E. Schaefer
4e87006fc7 37205: update documentary comment 2015-11-23 11:27:22 -08:00
Barton E. Schaefer
b33617e08b unposted: 20974 -> users/20974 because pedantic 2015-11-23 11:14:32 -08:00
Peter Stephenson
58d040fd85 37203: WARN_CREATE_GLOBAL test in wrong place for associative array 2015-11-23 15:50:13 +00:00
Matthew Martin
6fe05eac84 37201: change quoting to handle group names with spaces 2015-11-22 19:57:51 -08:00
Barton E. Schaefer
14487ff5cc 37192: silence WARN_CREATE_GLOBAL in prompt themes 2015-11-22 10:19:49 -08:00
Peter Stephenson
acbd2ca701 37191: fix strftime() expansion issue with %p and %P.
In some locales the output from this can validly be empty, so
we need to treat them specially.
2015-11-22 18:14:13 +00:00
Peter Stephenson
544144debe 37188: New hash builtin test 2015-11-22 16:53:57 +00:00
Peter Stephenson
b0323cab3b 37187: infinite loop in "hash -m" 2015-11-22 16:25:06 +00:00
Peter Stephenson
ae4cf7b743 37186: a couple more WARN_CREATE_GLOBAL fixes 2015-11-22 16:06:20 +00:00
Barton E. Schaefer
b1688305cc 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
Peter Stephenson
cce4261a3c unposted: Make 5.1.1-test-1 in preparation for 5.2 2015-11-21 18:09:27 +00:00
Barton E. Schaefer
e59a857b69 unposted: document order of entries for $history and $historywords 2015-11-20 14:15:43 -08:00
Mikael Magnusson
ae0420c46a 37161: Disable the heuristic setting RPROMPT_INDENT to 0 2015-11-20 14:33:44 +01:00
Peter Stephenson
4add525883 37170: suppress global create warning in function 2015-11-20 12:42:35 +00:00
Peter Stephenson
2737ae4a66 37168: No WARN_CREATE_GLOBAL on special parameters 2015-11-20 11:55:07 +00:00
Peter Stephenson
72a67716ac 20974: Bug with scalar assignment to special array in typeset 2015-11-20 11:18:16 +00:00