Daniel Shahaf
bd06982b23
38155: docs: compsys: Clarify documentation of the 'filter' style.
2016-03-15 00:12:04 +00:00
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
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
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
Jun-ichi Takimoto
a4020e10a3
37868: add 'static' to file local variables
2016-02-03 01:25:33 +09:00
Barton E. Schaefer
69acac38c9
37859: NULL-terminate cond_binary_ops static array.
2016-01-31 15:19:56 -08:00
Barton E. Schaefer
0baf57701c
37845: Forward-reference typeset instances where no parameter is created, and remove the obsolete statement about array assignments separated from typeset command on -p.
2016-01-31 15:17:44 -08:00
Barton E. Schaefer
31d0bc1cdc
37844: reorder typeset introduction to keep related concepts together.
2016-01-30 13:07:04 -08:00
Daniel Shahaf
3b69b121de
37831: typeset: Document exit status difference from parameter assignment statements
2016-01-30 07:37:46 +00:00
Jun-ichi Takimoto
ca3bc0d95d
37838: use UNUSED() consistently
2016-01-30 00:26:23 +09:00
Daniel Shahaf
6b72ff66c0
37833: Document 37804 in README.
2016-01-29 10:19:22 +00:00
Daniel Shahaf
80ddf807f0
37797: StartupFiles/zshrc += run-help
2016-01-29 09:14:55 +00:00
Daniel Shahaf
1d9c6a746c
37752: More tests for the previous patch.
2016-01-29 09:14:54 +00:00
Daniel Shahaf
bced1beb8c
37700: Teach ${(z)} the 'repeat WORD SUBLIST' syntax.
2016-01-29 09:14:53 +00:00
Daniel Shahaf
a090acab63
unposted: _init_d: Report failure to caller.
2016-01-29 09:14:49 +00:00
Kamil Dudka
c7edb354c7
37814: run-help-ip: use an absolute path for the shebang.
2016-01-28 20:55:23 -05:00
Barton E. Schaefer
0b37b5149d
37804 (plus 37816): first word following "repeat" should be evaluated as math
2016-01-27 22:10:38 -08:00
Barton E. Schaefer
d18476ce5c
37819: zshaddhistory hook works for any history file write, even upon keyboard interrupt
2016-01-27 22:10:38 -08:00
Barton E. Schaefer
572f8c85ab
37810: repair handling of backslashes and of names starting with "+"/":"/"=" in zparseopts option specs
2016-01-27 22:10:38 -08:00
Barton E. Schaefer
8ddcdad0c1
37802: Clarify zparseopts documention. zparseopts "X::" specifier should also look for the optional argument in the word after "-X".
2016-01-27 22:10:38 -08:00
Eric Cook
25ca90e5ab
37788: _subscript - fix completion of associative array keys
2016-01-26 23:20:36 -05:00
Barton E. Schaefer
10c5f95f52
37785: skip autoload parameters for "typeset -p"
2016-01-26 18:17:24 -08:00
Kamil Dudka
69c86cd2c3
37780: Care printing error if nothing to print.
2016-01-25 17:15:23 +00:00
Jun T
1d98f77a9b
Jun T.: 37759: save more function pointers from realparamtab when hacking in their replacements
...
Restoring from the original external symbols fails for some dynamic link schemes (e.g. 64bit Cygwin).
2016-01-25 08:28:30 -08:00
Peter Stephenson
7c59c953f2
37765: Use FS_FUNC on fucstack to find autoload -X target.
...
This is better than scriptname which can be updated due to e.g.
intervening "eval".
2016-01-25 16:23:16 +00:00
Peter Stephenson
be32864e6f
37776: Set errflag before calls to zwarning().
...
This avoids an attempt to call zerr() or zerrnam() recusrively.
2016-01-25 15:43:06 +00:00
Matthew Martin
3c9185272d
37725: Completion: _init_d: add OpenBSD bits
2016-01-23 23:50:10 +00:00
Daniel Shahaf
295133d741
37703: Completion: git: Also complete sendmail commands for send-email's configuration. (after 37666)
2016-01-23 23:50:04 +00:00
Peter Stephenson
1aec003155
37722: test builtin should return status 2 on syntax error
2016-01-21 16:30:21 +00:00
Peter Stephenson
d18ce35d06
unposted: increment version to 5.2-dev-1
2016-01-20 09:45:06 +00:00
Daniel Shahaf
3eb4d9c2e2
37666: Completion: git: 'send-email --smtp-server=' takes absolute path to sendmail.
2016-01-20 07:49:30 +00:00
Daniel Shahaf
c6fc6f80cd
37665: Completion: New helper _absolute_command_paths.
2016-01-20 07:49:29 +00:00
Daniel Shahaf
9df6c728e8
37664: docs: Document the completion function _command_names.
2016-01-20 07:49:25 +00:00
Barton E. Schaefer
cfa8d8bcad
37682: when SH_GLOB is set, do not parse bare parentheses in arguments as a pattern grouping.
2016-01-19 19:57:59 -08:00
Peter Stephenson
c2b6bd51f9
37693: turn Dash into '-' in glob qualifiers
2016-01-19 17:38:59 +00:00
Peter Stephenson
ad16356e19
37689: ! and ^ need to be tokenised in character sets
2016-01-19 17:24:12 +00:00
Peter Stephenson
8eb9070d67
37678: Now possible to quote "-" in pattern range
2016-01-19 09:55:46 +00:00
Daniel Shahaf
896f43c72b
37634: _man: Support subsection names such as '3p'.
2016-01-18 02:40:02 +00:00
Daniel Shahaf
35b8e8794f
37634: _man: Disentangle a local variable that had two distinct semantics. No functional change
2016-01-18 02:40:01 +00:00
Daniel Shahaf
c380c9394a
37663: New bibtex completion (very minimal).
2016-01-18 02:39:52 +00:00
Daniel Shahaf
abe997e5e0
unposted: docs: zshzle(1): Trivial clarification to $CONTEXT.
2016-01-18 02:39:51 +00:00
Peter Stephenson
0194b4ab1d
37646: Return non-zero status from typeset assigning readonly
2016-01-15 15:53:39 +00:00
Peter Stephenson
1d8b528522
37643: Reset interrupt on key input in menu selection.
...
We don't need to propagate the interrupt further as the interrupt
causes the key to be empty, which will exit the widget. We
need to reset the condition as zrefresh() is now more sensitive
to errors since 36416 / 32f5d3d8
.
2016-01-15 12:49:42 +00:00
Peter Stephenson
da71967273
37512: overeager WARN_CREATE_GLOBAL with strftime
2016-01-15 12:16:40 +00:00
Daniel Shahaf
69379369da
unposted: Extend docstring of callhookfunc().
2016-01-15 06:30:12 +00:00
Daniel Shahaf
a45a9fa104
unposted: Fix typo in comment.
2016-01-15 06:30:06 +00:00
Daniel Shahaf
ce1148db45
37612: vcs_info git: Set $git_patches_unapplied correctly for 'rebase-apply' case.
...
This manifested, e.g., in 'git am' of a single patch that had a conflict.
2016-01-15 06:29:09 +00:00
Barton E. Schaefer
06ea248034
Belated ChangeLog entry for 37489, back-dated to the correct sequence.
2016-01-13 22:57:02 -08:00
Barton E. Schaefer
4a30b542a0
37570: give truth to the doc assertion transpose-words-match is a drop-in replacement for transpose-words
2016-01-13 19:51:07 -08:00
Barton E. Schaefer
c275839033
37567: use (Z:n:) to split the buffer into words so line breaks are treated as whitespace
2016-01-13 19:50:24 -08:00
Daniel Shahaf
5cf6ae0056
37590: Invoke zle-line-pre-redraw during isearch.
2016-01-14 00:04:12 +00:00
Daniel Shahaf
a8a00be442
37591: 'alias -L': skip with a warning aliases with '=' in their LHS
2016-01-13 01:25:46 +00:00
Daniel Shahaf
152875ba03
37550: _cu: Support Linux line-device names; fail gracefully on OSes matching no known line-device name pattern.
2016-01-13 00:56:50 +00:00
Daniel Shahaf
5731581c4c
37551: Include the builtin's name in a "bad option" error message.
...
Example: «zsh -fc 'zle -z'» now prepends "zle:" to the error message.
2016-01-10 20:22:37 +00:00
Matthew Martin
82210cb954
37534: completion for OpenBSD's cu, fw_update and rcctl utils
2016-01-10 14:10:06 -05:00
Barton E. Schaefer
5eae5b58b1
Jun T.: 37515: multibyte handling as per 35448.
2016-01-08 20:42:00 -08:00
Barton E. Schaefer
424b417063
unposted: Src/builtin.c: refine READ_MSTREAM to avoid unsequenced evaluation
2016-01-08 20:36:50 -08:00
Barton E. Schaefer
fac7466d11
37513: fix typos; improve error cleanup and correct for signed/unsigned compiler warning
2016-01-06 14:05:02 -08:00
Barton E. Schaefer
a940d25b18
37504: refactor code using/simulating memstream to capture output for "print -v"
2016-01-05 12:50:12 -08:00
Barton E. Schaefer
bc703e4ad1
37503: detect incompatible "print" options, fix metafication and possible memory leak, miscellaneous cosmetics
2016-01-04 22:50:48 -08:00
Jun T
ead199291f
37501 (+ revise test): correct byte counts when simulating memstream via temp file
2016-01-04 22:29:37 -08:00
Barton E. Schaefer
63c6d1746c
37497: handle NUL bytes in "printf -v".
2016-01-02 13:57:35 -08:00
Barton E. Schaefer
03adf52414
37493: readonly + POSIX_BUILTINS == typeset -gr
2016-01-02 12:40:31 -08:00
Barton E. Schaefer
b4643fce2d
37483: save and possibly restore cshnullglob failure state around each evaluation of an (e:...:) glob qualifier.
2016-01-01 19:20:14 -08:00
Barton E. Schaefer
5c17f9ab3f
37473: check for cshnullglob in command position.
2016-01-01 13:01:16 -08:00
Barton E. Schaefer
62706b1abc
37469: do NOT allow semicolons in place of line breaks in conditionals
2015-12-31 14:16:56 -08:00
Barton E. Schaefer
6e10224f1e
unposted: enable WARN_CREATE_GLOBAL for print -v
2015-12-31 12:44:25 -08:00
Barton E. Schaefer
0504dafa6e
37468: allow line breaks in more places in [[ ... ]]
2015-12-31 12:41:50 -08:00
Barton E. Schaefer
15b73ea99b
37467: add "print -v var" / "printf -v var"
2015-12-31 12:38:10 -08:00
Oliver Kiddle
4f5d7b7b37
37453 (with Bart, started by Baptiste Daroussin, 37315): try to improve detection of noatime filesystem
2015-12-31 12:53:13 +01:00
Oliver Kiddle
3ca4ffa972
users/21114: new dig completion
2015-12-31 12:47:47 +01:00
Barton E. Schaefer
b475a85304
37460: make sure the default keymap is emacs before using that keymap to test bindings
2015-12-30 17:22:37 -08:00
Daniel Shahaf
243c018220
unposted: NEWS: Document how to disable paste highlighting.
...
This updates the 5.2 entry, note that 5.2 has been released already.
2015-12-31 01:20:09 +00:00
Daniel Shahaf
fcd13cdaae
37456: Have zle_highlight=(none) disable paste highlighting
...
Before this change, zle_highlight=(paste:none) worked,
but zle_highlight=(none) didn't.
2015-12-31 01:16:06 +00:00
Frank Terbeck
dab6e7c231
37451: vcs_info: Declare "msgs" in early context
...
The parameter *is* being declared with the redefinition of the
function, but not in its initial form, which gets you a warning
about the parameter being defined globally. This fixes it.
2015-12-30 15:23:08 +01:00
Axel Beckert
5f3e47ca5e
37438: C/D/C/_aptitude: Also parse -h output of aptitude 0.7.5 and later
2015-12-27 15:50:24 +01:00
Axel Beckert
c054786a49
Add changelog entry for previous commit
2015-12-26 18:31:37 +01:00
Barton E. Schaefer
fc344465f2
37435 (+ fix typo): allow execution of empty files as "sh" scripts
2015-12-25 00:31:32 -08:00
Barton E. Schaefer
a554c7403a
37434: POSIXBUILTINS "command" should prevent shell exit on errors from special builtins
2015-12-25 00:26:26 -08:00
Philip Sequeira
038b1d4b38
37345: VCS_INFO functions break with setopt no_unset
...
With setopt no_unset in my config file, vcs_info fails with:
VCS_INFO_maxexports:7: vcs: parameter not set
2015-12-23 01:57:45 +01:00
Barton E. Schaefer
aedff53d1f
users/21082 (expanded): a more complete sorting of version strings that are not in the form of zsh version numbers; additional explanatory comment
2015-12-19 22:03:34 -08:00
Barton E. Schaefer
7611e78ad1
unposted (cf. 37387): emulate turns off WARN_CREATE_GLOBAL
2015-12-19 16:57:09 -08:00
Barton E. Schaefer
597ffd85ed
users/21068: use emacs keymap in vared by default
2015-12-19 16:52:38 -08:00
Mikael Magnusson
c3ea3ffa73
36650: Add zle-line-pre-redraw hook for highlighting
2015-12-19 13:21:12 +01:00
Daniel Shahaf
1f2bdc2aa2
unposted (after users/20873): Theoretical fix: don't parse print/echo escape sequences in $zle_bracketed_paste.
2015-12-19 10:48:48 +00:00
Daniel Shahaf
9d2fe86564
37257 (in part): Add array assignment tests.
2015-12-19 09:53:05 +00:00
Peter Stephenson
fd13e8044c
37411: more bindkey tests
2015-12-16 12:10:01 +00:00
Peter Stephenson
0bd903abca
37405: Fix self-insert binding for multibyte sequences.
...
This makes it work even if the self-insert applies to a sequence longer
than an initial byte, including the case of a complete binding to a full
character sequence.
2015-12-15 12:41:20 +00:00
Peter Stephenson
d397e3fca2
37401: pattern error caused too much activity in _list_files for some styles
2015-12-14 11:10:52 +00:00
Peter Stephenson
53bc8ef2d8
37400: typo gave unwanted error message in zsh_directory_name_generic
2015-12-14 10:59:03 +00:00
Peter Stephenson
9e185476f9
unposted: missed ChangeLog entry
2015-12-13 19:14:50 +00:00
Peter Stephenson
1f75d7ff2c
37386: localise mbegin, mend, match in URL magic
2015-12-11 14:05:29 +00:00
Matthew Martin
3272bdce98
37383: add completion type for object files
2015-12-11 11:51:09 +01:00
Simon Hafner
e5dddecc15
37260: add opus to mplayer audio completions
2015-12-11 05:37:37 +01:00
Oliver Kiddle
f546ea64df
users/20873: disable bracketed paste while running external editor from zle
2015-12-11 05:34:48 +01:00
Peter Stephenson
a5233fd01e
37378: New bindkey tests.
...
Also fix Meta bug on pattern match in zpty -r.
2015-12-10 17:51:41 +00:00
Peter Stephenson
67877f6055
37364: "test" and "[" handling of parentheses.
...
If three arguments, need to prefer binary operators if possible.
Need to look for full string for parentheses.
2015-12-09 16:40:08 +00:00
Peter Stephenson
7f5b2f5709
37348: Tests and fix for ${(q+)...}.
...
Needs dupstring() for empty string case.
2015-12-08 15:08:24 +00:00
Peter Stephenson
4105f79a3a
37347: Remove incorrect local for msgs in VCS info
2015-12-08 12:59:48 +00:00
Peter Stephenson
59de978c7e
users/21071: Fix binding of multibyte sequences.
...
There was a problem if the first byte was already bound to
self-insert.
2015-12-08 10:56:17 +00:00
Peter Stephenson
f5b8efa7e0
37344: restore old printable quoting, add ${(q+)...}.
...
The \C- form is only used inside quotedzputs().
${(q+)...} outputs a quotedzputs() representation.
2015-12-07 21:49:07 +00:00
Peter Stephenson
9fb30cf572
37331: Use a single chracter to represent an MB_INCOMPLETE.
...
This is as it is likely to appear as a single character in output
even if it has multiple octets.
2015-12-07 18:54:03 +00:00
Peter Stephenson
0c2d823a79
37337: Delay freeing widget until not in use.
2015-12-07 14:32:52 +00:00
Peter Stephenson
54678f2e82
unposted: fix ChangeLog for previous change
2015-12-07 10:56:21 +00:00
Peter Stephenson
d290874c48
37335: fix tests after 34314
2015-12-07 10:36:45 +00:00
Peter Stephenson
dfd761058e
37310: effect of disabling typeset reserved word
2015-12-07 09:44:06 +00:00
Peter Stephenson
87670fb011
37326: comment only: multibyte string lenght/width counting
2015-12-06 16:39:57 +00:00
Peter Stephenson
5a76a5d34e
37314: upgrade quotedzputs() for non-printable output.
...
Use nicechar with $'..' quoting; upgrade nicechar() etc. to
use suitable output.
2015-12-06 15:33:02 +00:00
Daniel Shahaf
e14540ac02
37150: _git: Autocomplete .. for commit ranges
...
This patch makes three changes:
- Enable 'git diff o/m<TAB>' to complete to 'origin/master..' with the
".." being autoremovable.
This is implemented by the first hunk. That hunk is a functional
subset of Oliver's users/20705, however, the latter hasn't been
committed.
- Make typing "^" remove the "..", in light of the syntax "foo^..bar".
- Make typing "." _not_ remove the ".." but simply append it, since
"foo...bar" is a valid and useful syntax.
2015-12-05 10:15:40 +00:00
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
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
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