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

10600 commits

Author SHA1 Message Date
Jun-ichi Takimoto
beadc29214 unposted: add 'static' to a file-local variable 2018-03-24 15:32:43 +09:00
Jun-ichi Takimoto
e4a8069b32 42501: avoid out of bound pointer (as 42487) 2018-03-24 15:22:10 +09:00
Oliver Kiddle
4977ec1398 42491 based on 42000 (Andrei Shevchuk): factor ssh host completion for use for mosh and git 2018-03-24 00:09:12 +01:00
Oliver Kiddle
f1a52c23fa 42497 (tweaked c.f. 42498): make completion after apt install work on local .deb files 2018-03-23 09:57:39 +01:00
Jun-ichi Takimoto
fc37d15e3e 42191: new completion for otool (macOS) 2018-03-22 12:53:40 +09:00
Peter Stephenson
bc349023aa 42487: Fix pointer problems in compctl.
Pointing off the front of a string caused warnings with
gcc 7.3.0 and is somewhat murky C anyway.
2018-03-21 10:29:22 +00:00
Stephane Chazelas
d2350a1e80 42469: necessary repairs to 42465 found by "make check" 2018-03-18 16:49:42 -07:00
Stephane Chazelas
1219eae829 42465: Pass up error status from readoutput().
This improves the consistency of error reporting from $(...) constructs.
2018-03-15 09:21:47 +00:00
Peter Stephenson
7fd8e380bf 42453: Fix race in look up of status for wait.
Background jobs that had just exited could still be in
the table when the process had already finished and the
status was recorded, causing the wrong status to be reported.
2018-03-12 15:26:34 +00:00
Ferenc-
c3133f5eb1 github #22: Add newer C++ standard options to gcc completion 2018-03-07 00:57:39 +01:00
Matthijs Tijink
f5d0111e15 github #23: new kdeconnect-cli completion 2018-03-07 00:51:20 +01:00
Martijn Dekker
54ea6a8cd5 42365: Use .zwc file if timestamp identical to source.
This can happen if the files are bundled together.
2018-03-05 09:31:11 +00:00
Taylor West
14c17aa178 42411: Assume current C librarires handle free(NULL) 2018-03-04 20:57:58 +00:00
Peter Stephenson
1d6954bd2f 23180: Fix expand-or-complete with ~[...].
The square brackets shouldn't be treated as wildcards.
2018-02-26 21:43:12 +00:00
Peter Stephenson
14743c0dfd 42401: workaround for gcc -foptimize-strlen oddit.
Use realloc(NULL, ...) instead of malloc in zsh-mem calloc().
2018-02-26 20:21:56 +00:00
Peter Stephenson
ba7de6d0d5 users/23169: only expand ~[...] under the same circumstances as other ~forms 2018-02-26 20:03:48 +00:00
Peter Stephenson
557d1d7259 42399: document echo and behaviour of - and -- 2018-02-26 19:58:01 +00:00
Daniel Hahler
1142e2dedb 42364: _git: fix __git_ignore_line to ignore the current word
Before this patch "git branch -d master<tab>" would result in
"no matches found", while "master" itself should get completed here.

The "(bQ)" (added in 527badc23, via 38129?!) does not seem to be necessary
anymore: with files "f\[a-z\]o" and "foo", "git add f[a-z]o <tab>"
offers "f\[a-z\]o", but not "foo".
2018-02-22 23:41:13 +01:00
Peter Stephenson
5b946f6c4d 42362: protect REPORTTIME logic from bad status 2018-02-17 22:35:32 +00:00
Peter Stephenson
7492f1e9ed ChangeLog typos. 2018-02-13 10:17:29 +00:00
Peter Stephenson
fa2879f500 Document REPORTMEMORY is in Kb, not Mb 2018-02-13 09:39:20 +00:00
Peter Stephenson
47aa60950c 42355: Fix use of backslashes on here doc input.
Handling of white space in particular was confusing and inconsistent
with other shells.
2018-02-12 10:06:45 +00:00
Daniel Hahler
2bf952b102 42324: _git: handle mutually exclusive options
Currently `git show --stat -p` is not considered a valid completion and
prevents further completions like `--no-abbrev`.

It is a valid use case however to use `--stat` with `-p` (and there is a
synonym `--patch-with-stat` for it even).

This patch changes `__git_setup_diff_options` to only handle mutually
exclusive arguments reported by Git (as a fatal error) in a special way.
2018-02-12 10:12:22 +01:00
Daniel Hahler
c18fe510f4 42327: _make: complete _files
The use case is completing files that are actual targets, generated
using $(wildcard …).

Q: Could this be made to only complete files if make targets and vars
are empty?
2018-02-11 20:09:30 +01:00
Daniel Shahaf
5677339062 unposted: _subversion: Support subcommands with hyphens in their names, such as 'shelf-list (shelves)' from upstream 1.10 development versions. 2018-02-08 15:12:59 +00:00
Christian Hesse
dd8e55c46b 42333: git 2.16.0 no longer accepts an empty string as a pathspec element so replace empty strings with a dot 2018-02-08 00:49:46 +01:00
Matthew Martin
0236d9c5f1 42330: ln -L and -P are POSIX, but not supported by Darwin or NetBSD 2018-02-08 00:37:26 +01:00
WGH
0c324124d0 42336: force single column output when getting filenames with adb ls command 2018-02-07 20:52:28 +01:00
Oliver Kiddle
ffacc95766 42343: complete --config-option to svn more than once 2018-02-07 20:47:30 +01:00
Peter Stephenson
9d434d2357 Fix confusing change log entry for foregoing commit. 2018-01-31 10:20:57 +00:00
Peter Stephenson
2cbf6b6a19 42332: Special case unsigned printf formats.
For constants we can avoid a conversion to signed by examining
the expression before passing to math eval.
2018-01-31 09:14:40 +00:00
Daniel Hahler
f62af4a7ef Add ChangeLog entry for previous commit 2018-01-24 21:56:51 +01:00
Daniel Hahler
2870302afa 42323: _git: move "local" statement out of loop
Fixup for 99cf61fd4.
2018-01-24 21:55:27 +01:00
Peter Stephenson
758966502c 42322 (tweaked): Fix interactive_comments history with just a coment.
Don't discard the line from the history merely because it produced
no synactic words.
2018-01-24 17:40:56 +00:00
Joey Pabalinas
110b13e109 42313: avoid null-pointer deref when using ${(PA)...} on an empty array result 2018-01-23 22:28:08 -08:00
Oliver Kiddle
47430bcd7c 42317: completion option updates for commands that have had recent updates 2018-01-23 11:03:00 +01:00
Oliver Kiddle
aabf978fce 42299: correct optional argument 2018-01-23 11:03:00 +01:00
Matthew Martin
b5572f9037 42309: A few small updates for OpenBSD 2018-01-23 11:02:56 +01:00
Daniel Tameling
12704997a3 42305: CVS should be git 2018-01-22 09:46:01 +00:00
Barton E. Schaefer
4c8552170e Fix overlapping commits 2018-01-21 09:46:31 -08:00
Mikael Magnusson
5c656716ff 42243: Free stuff properly in zsh/pcre module 2018-01-20 13:33:12 +01:00
dana
0ce5ff2a87 41924: (wi) subscript flag interaction 2018-01-19 23:06:47 -08:00
Barton E. Schaefer
4adb3c9fa7 ChangeLog for abd00402 / 41839 2018-01-19 23:03:04 -08:00
Sebastian Gniazdowski
abd0040253 41839: force IFS to default for "read" 2018-01-19 22:56:11 -08:00
Peter Stephenson
b816291a17 42294: disable REPORTTIME in completion 2018-01-18 09:39:08 +00:00
Warepire
d8d9fee137 42285: off by one fix in multiple prompts 2018-01-16 09:31:16 +00:00
Barton E. Schaefer
de6a293159 42136: empty string check in %~ / %C prompt expansions 2018-01-14 03:15:49 -08:00
Barton E. Schaefer
b476d89fa2 42043: ZSH_DEBUG_CMD should not WARN_CREATE_GLOBAL 2018-01-14 03:07:32 -08:00
Daniel Shahaf
0cfa6da3e8 Fix last commit's ChangeLog. 2018-01-13 19:00:26 +00:00
Barton E. Schaefer
254d8ed8cb unposted: Follow-up to previous: Clarify that ${histchars[1]} may be backslash-escaped even when it isn't '!'. 2018-01-13 18:55:34 +00:00