Commit Graph

11796 Commits (zsh-5.8.1.2-test)
 

Author SHA1 Message Date
dana 6e55c92050 unposted: Test release: 5.8.1.2-test 2 years ago
dana e0efd33fba NEWS: Dedicate zsh 5.9 to Sven Guckes 2 years ago
dana 13f568fea4 NEWS/README: Add missing change documentation for 5.9
This covers the following changes:

users/24971: ${(-)var} sorts on signed integers

47704: POSIX export and readonly ignore "-p" when parameter names also appear

47913: implement CASE_PATHS option to make NO_CASE_GLOB more sensible

48073: Add fc -s as POSIX way of rerunning command without starting editor

49307 with doc update: POSIX_TRAPS fix.

49528: allow multiple -D options to compadd

49534, 49539: separate watch/log functionality out into a module

49561: add zformat -F option, similar to -f but ternary expressions check for
existence instead of doing math evaluation

49597: add a helper for completing numbers with unit suffixes and separate out
defaults, ranges and units in completion descriptions

49611 based on 49590 (Martijn Dekker): disable Inf and NaN in math expressions
for sh emulation

49646: allow colors in WATCHFMT with %F/%K

49694 + doc: Allow using empty STTY= to freeze tty for a single command

49853 + 49882/49883: make "${arr[*]:off}" compatible with ksh/bash
2 years ago
Matthew Martin 73265d41e3 49960: Sort lists in zshcompsys 2 years ago
Bart Schaefer b286ed48fa Fix typo in past entry 2 years ago
Bart Schaefer ebad5f8164 49994: Single-byte equivalence of users/22601 and workers/40891 2 years ago
Peter Stephenson 02747bbbd3 49989: Single byte versions of nice quoting.
Align interfaces for "nice" printing of characters with those for
multibyte to make more available in single-byte compilation.
2 years ago
Bart Schaefer 0d9c2422bf 49992: further unify single- and multi-byte implementations of nicechar() 2 years ago
Bart Schaefer b80d160039 49991: single-byte brace expansion handles $'\0' and control character output aligns with multibyte 2 years ago
Bart Schaefer bdd37b4c14 49990: casemodify() avoids metafying characters that it otherwise did not touch 2 years ago
Bart Schaefer f27e48827c unposted: Fix typo from 49955 2 years ago
Bart Schaefer c77cdb27db 49955: Src/glob.c: fix bad free in incremental-pattern-search matching 2 years ago
Mikael Magnusson 29f97c1f94 49968: _adb: also replace model names, since device names aren't sent on wifi listing 2 years ago
Mikael Magnusson 4d8f36704e 49967: _adb: Handle dumpsys SurfaceFlinger arguments 2 years ago
Mikael Magnusson 8537738207 49966: _adb: Parse device spec correctly
This was particularly annoying when trying to complete logtags after adb logcat -s
2 years ago
Mikael Magnusson 6900dded09 49965: _adb: use $CURRENT instead of $#words 2 years ago
Mikael Magnusson a07d010981 49964: _adb: Complete services for start/stop 2 years ago
Mikael Magnusson 1b62a5a0af 49963: _adb: Fix device serial completion for hostname:port syntax 2 years ago
Mikael Magnusson 8a60e2e214 49962: _adb: Add dumpsys and cmd completion 2 years ago
Mikael Magnusson 76b573fcbd 49961: _adb: handle exec-out like shell 2 years ago
Mikael Magnusson 9eda397354 49957: Brown paper bag for 49915
The code would crash when n == 0. There's not really any point doing any
of this when n is 0 so just skip everything. It also tried to NULL
terminate a list a little to eagerly.
2 years ago
Mikael Magnusson 92f193f7de 49959: _brace_parameter: add (-) 2 years ago
dana 8e83378c90 unposted (see 48073): _fc: Complete new -s option 2 years ago
dana cfce598a13 unposted: creating-a-release: Normalise white space, clarify some steps
(The need for these changes was discovered during the release of 5.8.1.
Daniel suggested one. They were hinted at in security/107)
2 years ago
Jun-ichi Takimoto 75410bc2a1 49943: offer only timezone files starting with uppercase 2 years ago
Matthew Martin 4ee64f13ce unposted: Fix typo 2 years ago
elig0n 6152200c9b github #88: Fix typo 2 years ago
Matthew Martin 95749e9e65 49933: Add nonblock to sysopen 2 years ago
Matthew Martin 9e0303b044 49932: Update _brace_parameter # description 2 years ago
Matthew Martin 7fc42de7da 49931: Update _bsd_pkg 2 years ago
Matthew Martin 283fc8596b 49907: Mention _numbers in completion guide 2 years ago
Peter Stephenson 41eb200d66 27639: clarify that ${(#)...} deals with character codes. 2 years ago
Mikael Magnusson 774c634d2e 49926: remove unused variable from 49915 2 years ago
Peter Stephenson 98e4634086 49906 (Bart), 49911: Fixes to querying jobs in subshell.
Don't attempt to query invalid job off end of table, resulting in
crashes from $jobtstates.

If background task started in subshell, look at tatsks within subshell
instead of main shell.  Document and add test.
2 years ago
Mikael Magnusson f11227f78d 49813: Add missing test 2 years ago
Mikael Magnusson 054ccf7666 49820: Fix a crash when completing with combination of -Q and braces
minimal reproducer .zshrc:

  zstyle ':completion:*' completer _oldlist _complete
  setopt nolistambiguous
  autoload compinit; compinit
  compdef _foo foo;_foo() { compadd -Q -- stash@{{0,1}} }
2 years ago
Mikael Magnusson d7b8619396 49813: <<<: Document newline behavior and fix optimization
The =(<<<foo) optimization forgot to add a newline, but =(cat<<<foo)
always did, make the behavior consistent, and document it.
2 years ago
Mikael Magnusson 3bf95b91f0 49870: Fix NULL reference in match code more
This reverts "49658: Fix NULL reference in match code." and adds a check
inside the block, as well as a failsafe check at the end.

The above commit (49658) causes a crash due to ll being calculated as
0 which leads to rr being an invalid pointer. Only adding a check for
when ll is 0 just leads to bck-i-search pattern not working at all (the
final hunk).  Restoring the condition and adding an explicit NULL check
for replstr seems to make matters work as intended.
2 years ago
Mikael Magnusson 6a9b3bb290 49915: Efficient dedup for unsorted completions 2 years ago
Mikael Magnusson 48be30e530 49893: Fix comments for UNIQCON/ALL 2 years ago
Jun-ichi Takimoto 596b8e3fae 49910: move multibyte-related f-flagged test from E03 to D07
POSIX requires printf should calculate width/precision in %s conversion
in bytes (not in characters) even in multibyte locale
2 years ago
Jun-ichi Takimoto 6617f19234 49908: reset LC_CTYPE to C during tests
and do not export MODULE_PATH since child zsh will not import it
2 years ago
Bart Schaefer 85f98c3604 49918: Update for 49917 and 49911. 2 years ago
Bart Schaefer 53d6b47d92 49917: change sense of "Ignore insecure ..." answer and use "autoload -r" 2 years ago
Bart Schaefer bf3ae15f46 Add entry for 49897. 2 years ago
Bart Schaefer 67f932e7c5 49897: Eliminate reliance on $jobstates parameter, fix -P exit status check. 2 years ago
Jun-ichi Takimoto 8154ddc62d 49853 + 49882/49883: make "${arr[*]:off}" compatible with ksh/bash 2 years ago
Peter Stephenson 1e814ba48b 49890: Avoid scanning unallocated memory in saved command line. 2 years ago
Peter Stephenson 57305cf245 49875: completion for info -f.
Use local files if there's a slash in the argument.
2 years ago
Peter Stephenson 587793f818 49845: man page clarification on option scope 2 years ago