1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00
Commit graph

9327 commits

Author SHA1 Message Date
m0viefreak
a1f45b3346 38151: _git: fix tag name of remote branches 2016-03-15 00:07:18 +00:00
m0viefreak
666a7f5845 38148: _git: reflog: complete references next to commands
'git reflog show' is the default subcommand, so

  git reflog <tab>

should complete subcommands and references.
2016-03-15 00:07:15 +00:00
Daniel Shahaf
c82ce14950 38135: internal: bin_compadd: Add a few comments. 2016-03-11 22:19:09 +00:00
Daniel Shahaf
527badc237 38129: _git: Fix __git_ignore_line's treatment of shell and pattern metacaracters.
Builds upon a patch by Jun T.

Also upgrade/fix __git_pattern_escape.
2016-03-11 22:19:04 +00:00
Daniel Shahaf
98fcdb0861 38128: _git: Fix completion of diffs against the index when treeish isn't shell-safe
This affects 'git diff --cached -- <TAB>' and 'git reset $treeish <TAB>'.
2016-03-10 23:18:36 +00:00
Daniel Shahaf
be41c522f2 38123 (after 38074): _git reset $treeish: complete only staged files 2016-03-10 23:18:15 +00:00
Daniel Shahaf
3d9479274e unposted: ChangeLog: credit Martijn Dekker for workers/38039 (POSIXy 'set +o') 2016-03-09 23:32:01 +00:00
Daniel Shahaf
33bd9136d6 38120: _git: Document the internal helper function __git_ignore_line. 2016-03-09 14:08:49 +00:00
Peter Stephenson
f4dfca490c 38114: Fix hang using ^Z with command subst.
In subshells started to perform substitutions disable signals
that require interactive handling.
2016-03-09 09:51:14 +00:00
Jun-ichi Takimoto
4b6a79887d unposted: update .gitignore for 38108 2016-03-09 10:28:25 +09:00
Jun-ichi Takimoto
db42e7c504 38108: enable to create both zsh_{a4,us}.pdf
Default paper size is taken from LC_PAPER.
Stop to check for pdfetex (obsolete and redundant).
2016-03-08 21:42:21 +09:00
Jun-ichi Takimoto
983060d5d1 38074: _git reset HEAD: complete only staged files 2016-03-08 21:21:44 +09:00
Oliver Kiddle
8c29b34032 38043: allow any completion widget to cycle matches for menu completion to fix reverse menu completion 2016-03-07 13:15:40 +01:00
Peter Stephenson
28c46c1bfb 38111: Remove redundant return values in parsing.
Return values from par_list() and par_list1() are no longer used.
2016-03-07 10:49:35 +00:00
Peter Stephenson
dc2397f754 users/21352: ensure $'' doesn't get elided.
Assign nulstring to it if empty.  Test for all forms of quotation
marks.
2016-03-07 09:44:54 +00:00
Peter Stephenson
17fb014dc7 38094: Fix POSIX EXIT traps defined in function.
These aren't local, so set the local level to 0; else they can get
overridden incorrectly.
2016-03-07 09:42:21 +00:00
Barton E. Schaefer
bc958ab275 38106: if...then if...else should be a parse error. 2016-03-06 15:10:27 -08:00
Greg Klanderman
440c6beec0 38086: shuffle init code to localize a global, add $ZSH_ARGZERO, refine $ZSH_SCRIPT
(also a couple of ChangeLog typos corrected -- Bart)
2016-03-06 09:53:40 -08:00
Baruch Siach
77e55b1ea3 38084: Use previously located pcre-config for libs 2016-03-04 12:02:18 +00:00
Barton E. Schaefer
564fb25e82 38048: fix "zle redisplay" when called while a listing is below the prompt 2016-03-03 13:03:40 -08:00
Barton E. Schaefer
6756870a92 38039: POSIXy behavior for "set +o" 2016-03-03 13:01:08 -08:00
Stephane Chazelas
f7d5ff31ce 38020: fix problems with $SECONDS.
Fractions of a second were not handled correctly.
2016-02-26 11:12:32 +00:00
Peter Stephenson
c55d855171 38024: Improve POSIX and native EXIT traps compatibility.
Allow a nested function trap to leave save and restore a POSIX
trap.

Still fails if the POSIX trap was defined in a function.
2016-02-25 14:20:26 +00:00
Daniel Shahaf
3195003cde unposted: Fix typos in ChangeLog. 2016-02-19 09:34:00 +00:00
Daniel Shahaf
1d3a540139 unposted: developer documentation: Clarify the term "variant". 2016-02-19 09:31:41 +00:00
Barton E. Schaefer
c3f4d18e4f 38001: clear-screen re-expands prompts 2016-02-17 20:04:25 -08:00
Barton E. Schaefer
b7b3ae311d 37988: $0 becomes read-only under POSIXARGZERO 2016-02-17 20:04:25 -08:00
Peter Stephenson
ab74c86edb 37999: Sticky behaviour of EXIT traps.
They now have POSIX or non-POSIX behaviour based on the setting
of POSIX_TRAPS where the trap was defined, rather than where the
trap would (or would not) be executed.

Tweaks possible.
2016-02-17 10:40:55 +00:00
Daniel Shahaf
f96a016728 users/21256 + workers/37965: New math functions min(), max(), sum(), provided by a new autoloadable function 'zmathfunc'. 2016-02-16 10:52:27 +00:00
Eric Cook
40b3d2a1f6 37975: Completion/Unix/Command/_php: remove _arguments' -A option 2016-02-15 22:13:35 -05:00
Barton E. Schaefer
ac5d83bf56 37898: fix typo in completer menu 2016-02-14 13:13:06 -08:00
Barton E. Schaefer
e3188ff0e8 37898: complete gcc linker options 2016-02-14 13:11:20 -08:00
Barton E. Schaefer
485cbbb6cc 37972: Redirect stderr to /dev/null in cases where ${~param} might generate errors 2016-02-14 13:10:06 -08:00
Barton E. Schaefer
e54578ff74 37971: fix potential issues when interacting with user-defined widgets
Cf. users/21284: Eric Freese
2016-02-14 11:35:18 -08:00
Barton E. Schaefer
f07a1bd009 37961: fix crash on bad memory access
In interactive menuselection, use of "compadd -x" (e.g. the "warnings"
zstyle) may have replaced the completion list, so skip highlighting of
the current selection until a subsequent keystroke has regenerated the
original listing
2016-02-14 11:13:17 -08:00
Barton E. Schaefer
1b923f69c7 37927: recreate local keymaps as necessary in case the user has deleted them 2016-02-13 12:51:12 -08:00
Eric Cook
9cc6ebe7a2 37913: add additional completers and _zpool improvement 2016-02-11 22:53:16 -05:00
Peter Stephenson
6d82ce161a 37946: make rm * warnings more informative.
Now count files that would be deleted up to 100.
2016-02-11 15:23:57 +00:00
Peter Stephenson
10cf74deee Missed ChangeLog entry for 37895 2016-02-10 19:43:42 +00:00
Peter Stephenson
db3f2d253c 37893: document typeset -U behaviour for PATH-style variables 2016-02-09 16:03:36 +00:00
Barton E. Schaefer
95663e9365 37914: reparse associative array subscripts in "unset" so keys with "[" or "]" may be backslash-escaped
Also fix erroneous test case this revealed.
2016-02-08 20:52:11 -08:00
Daniel Shahaf
8a59aed696 37924: Completion: _git: Complete files for 'check-ignore'
Also, don't leak the parameter 'ret'; the leak was theoretical because
the caller immediately wrote to that parameter.
2016-02-09 03:41:46 +00:00
Daniel Shahaf
ea626708a5 37923: Completion: _bts: Fix quoting of $DEBEMAIL. 2016-02-09 03:41:45 +00:00
Daniel Shahaf
99d90e4b06 37922: zyodl.vim: Add alternative installation instructions. 2016-02-09 03:41:44 +00:00
Daniel Shahaf
b0706d64ee 37896: zshbuiltins: Document argv behaviour of 'source' without arguments 2016-02-09 03:39:17 +00:00
Daniel Shahaf
17242572bc unposted: ChangeLog: Move the 37678 entry to the correct location (and author). 2016-02-09 03:37:52 +00:00
Peter Stephenson
1ab316c9b8 37895: $ZSH_SCRIPT is POSIX $0 but always availble 2016-02-07 21:01:08 +00:00
Dominik Ritter
dd2aa85807 unposted: complist module docs: Fix parameter name in an example.
Submitted via GitHub (https://github.com/zsh-users/zsh/pull/6).
2016-02-07 00:23:22 +00:00
Daniel Shahaf
43cbfbf821 unposted: Follow-up to 37833: extend description of 37804 in README. 2016-02-07 00:23:11 +00:00
Jun-ichi Takimoto
2175399b70 37874: remove unused function argument 2016-02-04 08:23:02 +09:00