Mikael Magnusson
1ee82c5903
42564: _adb: Various improvements
...
Show product as description by default
Add zstyle for naming devices via serial number
Add --user to uninstall
and other improvements
2018-03-29 21:27:11 +02:00
Oliver Kiddle
de7c06a3df
42548: new pwgen completion
2018-03-28 10:32:11 +02:00
Oliver Kiddle
c2c9a16350
42549: also handle the yumdb command in yum completion
2018-03-28 10:30:05 +02:00
Oliver Kiddle
9881778d48
42550: new completion for ruby's gem
2018-03-28 09:11:35 +02:00
Oliver Kiddle
c053c6a079
42539: prevent overflow of PATH_MAX-sized buffer in spelling correction
2018-03-28 09:00:58 +02:00
Martijn Dekker
fa0105f78c
42538: Temporarily set umask for here document.
...
Done while signals are queued.
2018-03-27 09:32:55 +01:00
Barton E. Schaefer
9bc391105f
42480: optimize $#var for single-byte character sets
2018-03-25 18:01:25 -07:00
Peter Stephenson
3b7d6a558f
42505 (corrected): prepare for 5.5 release
2018-03-25 17:49:48 +01:00
Oliver Kiddle
383077e0da
42520: don't use an empty but existing option cache in netcat completion
2018-03-24 15:16:07 +01:00
Oliver Kiddle
a2459bee79
42521 based on 42049 (SATOH Fumiyasu): fix finding of includes in make completion
...
make always includes relative to the current directory rather than
relative to the including Makefile.
2018-03-24 15:11:19 +01:00
Oliver Kiddle
259ac472ea
42519, CVE-2018-1083: check bounds on PATH_MAX-sized buffer used for file completion candidates
2018-03-24 15:04:39 +01:00
Oliver Kiddle
679b71ec4d
42518, CVE-2018-1071: check bounds when copying path in hashcmd()
2018-03-24 15:04:02 +01:00
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