1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-10 22:31:24 +02:00
Commit graph

11042 commits

Author SHA1 Message Date
Peter Stephenson
232b43571f 43969: untokenize Dash for compctl with GLOB_SUBST set 2019-01-03 13:51:19 +00:00
dana
b3778fee1a unposted: Add missing change-log entries for 37302 and 37303
e40a14c5e (workers/37302) and dc8c39eff (workers/37303) were committed without
change-log entries

Note also that the commit message for e40a14c5e erroneously referred to
workers/37202
2019-01-02 10:02:09 -06:00
dana
f7f5b7f4ee 43960: Add full completion for exec and setsid 2019-01-01 08:01:14 -06:00
dana
1f8bea2247 43959: Add completion for strongSwan, &al.
Also update _urls to complete unix:// URIs as for file://
2019-01-01 06:49:08 -06:00
dana
92b204cb12 43962: Fix X04 test module_path 2018-12-31 10:03:08 -06:00
Peter Stephenson
de31fe1f93 users/23809: ZLE_HIGHLIGHT extensions.
Allow non-termcap use of colours > 7.
Add tests.
2018-12-30 18:18:34 +00:00
Martijn Dekker
2d056ebc31 43945 (tweaked to remove test failure, noted in test):
Fix exit statuses from wait for POSIX_BUILTINS mode.
Also add tests.
2018-12-30 18:11:43 +00:00
Martijn Dekker
4215fcb107 43944: apply NO_UNSET consistently to arithmeitc 2018-12-30 18:03:02 +00:00
Peter Stephenson
d0f92b448e unposted: test for 43938 2018-12-30 17:59:26 +00:00
dana
9dde124818 43914 (tweaked): Add completion for Composer
Tweaks: Adjusted spelling, fixed minor idiomatic issues
2018-12-30 09:54:54 -06:00
dana
79fae27f7c 43930: Improve _multi_parts performance 2018-12-30 09:38:06 -06:00
dana
7951ede1db unposted (per 43938): Avoid segfault when unmetafying empty string 2018-12-30 03:42:07 -06:00
dana
162c198aab 43953: Fix rounding/truncation error in %. time-format specifier
Also fixes an issue where %. couldn't be used more than once in a format
string without strange results

Tweaked very slightly per workers/43954
2018-12-29 05:24:25 -06:00
dana
f64cd71d44 43935: Reject too-large nanosecond values given to strftime
... and, in so doing, fix an error in the tests on 32-bit machines.

The value for the new too-large test is changed slightly from the patch posted
to the ML to make it test for the right thing on 32-bit machines as well.
2018-12-24 02:42:18 -06:00
dana
e75c59f7f5 43928: _alternative: Evaluate (...) action syntax as with _arguments 2018-12-23 07:36:11 -06:00
Bart Schaefer
c19a0927e1 43921: ${\var} should be an error 2018-12-21 11:41:07 -08:00
Peter Stephenson
9dbde9e9c7 unposted: updates for 5.6.2-test-2 2018-12-19 19:33:36 +00:00
Peter Stephenson
b6169745c1 unposted, c.f. 43913: emulate -L zsh in edit-command-line
Otherwise bad effects observed with GLOB_SUBST set.
2018-12-19 09:54:26 +00:00
dana
43247252dd 43897: Add/update various completion functions
* Update tail to support -q/-v on NetBSD
* Add several new functions (with one change needed to _hosts compdefs)
2018-12-17 14:49:33 -06:00
dana
f8864ac0c8 43895: _watch: Complete for procps/-ng watch 2018-12-17 14:45:14 -06:00
Joey Pabalinas
552ebe6082 43904 (plus tweak): zshmisc(1): document term being optional if `in word' is omitted
In code such as:

> hobbes% () { for arg do print -r $arg; done; } 1 2 3
> 1
> 2
> 3

the implicit positional parameters added when the `in word ...'
list is omitted also implicitly append the separator term, making
the above code valid, albeit seemingly violating the syntax listed
in the documentation.

This is related to the various forms of alternative syntax and is
the intended behavior of the parsing code, so correct the minor
contradiction in the for loop documentation.
2018-12-17 12:02:43 +00:00
dana
e64bd2ad4c unposted: _dig: Fix _arguments syntax error 2018-12-14 17:44:05 -06:00
Daniel Shahaf
23154e46e6 43879: vcs_info git: Fix fatal error in VCS_INFO_git_getbranch in corner case
Before this commit, the following use-case:

    git checkout foo^
    git show foo | git am

would result in a fatal error, with vcs_info_msg_N_ not set:

    VCS_INFO_git_getbranch:18: no such file or directory: .git/rebase-apply/onto

Now they are set correctly, and HEAD's commit hash is used.
2018-12-13 15:28:00 +00:00
dana
90b2654b7e 43871: _files: Support -F '(pat ...)' as with _path_files 2018-12-09 14:54:37 -06:00
Peter Stephenson
42020cdabb 43861: make "(#" completion safer by checking for ")" 2018-12-04 17:19:45 +00:00
Peter Stephenson
7f62255b49 43860: Complete glob flags at start of word. 2018-12-04 16:57:05 +00:00
Peter Stephenson
ef20425381 43854: Set tok to LEXERR on generic parse error.
Needed by main loop which detects an error this way.
2018-11-29 17:54:02 +00:00
Peter Stephenson
50f8fa972c 43837 plus test from Daniel: Empty string in nested subst.
Skip Nularg or there is a bogus character at the start.
2018-11-21 10:10:03 +00:00
Jun-ichi Takimoto
8d0f7681a0 43829: nearcolor.c: use double instead of float 2018-11-19 14:57:30 +09:00
Daniel O'Connor
b248b714a9 43830: _cu: Complete /dev/cu.* 2018-11-16 21:36:53 -06:00
Jun-ichi Takimoto
35afea0772 unposted: _zcat: support macOS 2018-11-15 21:02:22 +09:00
Ivan Tkachenko
e258e7d251 43823: remove unnecessary metafy() in stattimeprint() 2018-11-15 10:59:09 +09:00
Peter Stephenson
7292c063e8 43620: More care documenting command substitution including $(<...) 2018-11-14 14:22:10 +00:00
dana
e25f890589 43809: Suppress npm update checks during completion 2018-11-13 13:06:29 -06:00
dana
df12f6cd2f unposted (cf. 43800): Update strftime completion 2018-11-13 13:01:47 -06:00
dana
5ad76492af 43800: Add nanosecond support to strftime built-in 2018-11-13 13:01:01 -06:00
Oliver Kiddle
0b3b52778b 43819: expand adb completion to also cover options to adb backup 2018-11-12 11:09:55 +01:00
Oliver Kiddle
082f703ccd 43818: complete math functions for other modules besides zsh/mathfunc 2018-11-12 10:34:32 +01:00
Oliver Kiddle
d5fec6b512 43816: various completion option updates 2018-11-12 10:32:41 +01:00
Oliver Kiddle
f6495ebae8 43817: update options in btrfs completion through to btrfs 4.17.1 2018-11-12 10:32:37 +01:00
Oliver Kiddle
b96dac3287 43813: for powerd add units, default values and allow option arguments in the same word as the option 2018-11-12 10:32:27 +01:00
Oliver Kiddle
8d2622ecba 43812: allow repeats of gcc's -Wsuggest-attribute option 2018-11-12 10:32:15 +01:00
Kamil Dudka
d50e204b0c 43790: failed mailstat could leak memory 2018-11-09 11:06:08 +00:00
Kamil Dudka
e27175c7c8 43789: possible use after free clearing up math func from module 2018-11-09 11:04:06 +00:00
Kamil Dudka
d1095bdf74 43723: file descriptor could leak on fork error 2018-11-09 11:02:24 +00:00
Kamil Dudka
031afe4207 43793: computil could overrun buffer 2018-11-09 10:57:09 +00:00
Kamil Dudka
a8cc017c74 43791: File descriptor could be closed twice in clone 2018-11-09 10:54:47 +00:00
Joey Pabalinas
fc3826190a 43779 (tweaked): add parentheses to fix expression with cprecedences option set 2018-11-08 11:46:27 +01:00
Oliver Kiddle
5a70701788 43805: make nearcolor module use the default colour rather than black as a fallback 2018-11-08 11:01:36 +01:00
Oliver Kiddle
9eba4d3a44 43804: also need to be able to turn colour attributes back into hex triples for region_highlight variable 2018-11-08 11:01:29 +01:00