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

11809 commits

Author SHA1 Message Date
Bart Schaefer
a270da2ada unposted (cf. users/27656 (Tomasz Pala), users/27660): fix $SUFFIX when GLOB_COMPLETE 2022-04-19 22:44:30 -07:00
Bart Schaefer
af634c3acd unposted (see 50072): check exit status in exit-from-trap test 2022-04-17 19:19:05 -07:00
Bart Schaefer
f5c2f73301 50069: ChangeLog and test description for 50068 2022-04-14 16:39:34 -07:00
Bart Schaefer
d24d7242fe 50068: 'exit' in trap causes calling function to return 2022-04-14 16:31:50 -07:00
Jun-ichi Takimoto
0ad3b11a13 50052: do nothing when skipping test V14system 2022-04-14 10:30:06 +09:00
Jun-ichi Takimoto
c19f1313e3 50046: ztst.zsh: export LANG to child zsh 2022-04-14 10:19:57 +09:00
Jun-ichi Takimoto
06e5ec914f 50013: skip %test if a chunk in %prep fails
Only %test is skipped if a chunk in %prep returns nonzero. Both %test
and %clean are skipped if ZTST_unimplemented is set in a chunk of %prep.
ZTST_cleanup is run in both cases.
2022-04-12 16:56:18 +09:00
Jun-ichi Takimoto
3622551e02 49996 (Peter) + 50012: add ZTST_continue 2022-04-12 16:30:40 +09:00
Jun-ichi Takimoto
f5b2d65337 50017: allow lowercase to match with uppercase in timezone name 2022-04-12 16:01:37 +09:00
Bart Schaefer
f4fb3e7f04 50043: avoid spurious test failures when "make check" as root 2022-04-11 15:45:42 -07:00
Mikael Magnusson
1039b09c0c 50042: Another fix for 49915
If the last element in the list is a duplicate, we would walk off the end
2022-04-11 23:31:11 +02:00
Mikael Magnusson
35ff1e271a unposted: NEWS: fix typo in previous commit 2022-04-10 23:33:27 +02:00
Daniel Shahaf
22d9dc8538 unposted: NEWS: Improve flow between the paragraph and its links. 2022-04-10 21:13:23 +00:00
dana
6e55c92050 unposted: Test release: 5.8.1.2-test 2022-04-09 14:34:44 -05:00
dana
e0efd33fba NEWS: Dedicate zsh 5.9 to Sven Guckes 2022-04-09 14:27:56 -05:00
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
2022-04-09 14:25:29 -05:00
Matthew Martin
73265d41e3 49960: Sort lists in zshcompsys 2022-04-06 20:01:48 -05:00
Bart Schaefer
b286ed48fa Fix typo in past entry 2022-04-05 19:51:58 -07:00
Bart Schaefer
ebad5f8164 49994: Single-byte equivalence of users/22601 and workers/40891 2022-04-05 09:10:45 -07:00
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.
2022-04-05 09:40:07 +01:00
Bart Schaefer
0d9c2422bf 49992: further unify single- and multi-byte implementations of nicechar() 2022-04-04 14:48:21 -07:00
Bart Schaefer
b80d160039 49991: single-byte brace expansion handles $'\0' and control character output aligns with multibyte 2022-04-04 14:21:50 -07:00
Bart Schaefer
bdd37b4c14 49990: casemodify() avoids metafying characters that it otherwise did not touch 2022-04-04 13:20:45 -07:00
Bart Schaefer
f27e48827c unposted: Fix typo from 49955 2022-04-04 10:19:57 -07:00
Bart Schaefer
c77cdb27db 49955: Src/glob.c: fix bad free in incremental-pattern-search matching 2022-04-04 09:14:59 -07:00
Mikael Magnusson
29f97c1f94 49968: _adb: also replace model names, since device names aren't sent on wifi listing 2022-04-03 18:34:03 +02:00
Mikael Magnusson
4d8f36704e 49967: _adb: Handle dumpsys SurfaceFlinger arguments 2022-04-03 18:34:02 +02:00
Mikael Magnusson
8537738207 49966: _adb: Parse device spec correctly
This was particularly annoying when trying to complete logtags after adb logcat -s
2022-04-03 18:34:02 +02:00
Mikael Magnusson
6900dded09 49965: _adb: use $CURRENT instead of $#words 2022-04-03 18:34:01 +02:00
Mikael Magnusson
a07d010981 49964: _adb: Complete services for start/stop 2022-04-03 18:34:00 +02:00
Mikael Magnusson
1b62a5a0af 49963: _adb: Fix device serial completion for hostname:port syntax 2022-04-03 18:33:59 +02:00
Mikael Magnusson
8a60e2e214 49962: _adb: Add dumpsys and cmd completion 2022-04-03 18:33:58 +02:00
Mikael Magnusson
76b573fcbd 49961: _adb: handle exec-out like shell 2022-04-03 18:33:57 +02:00
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.
2022-04-03 11:28:14 +02:00
Mikael Magnusson
92f193f7de 49959: _brace_parameter: add (-) 2022-04-03 11:27:28 +02:00
dana
8e83378c90 unposted (see 48073): _fc: Complete new -s option 2022-04-02 22:07:56 -05:00
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)
2022-04-02 18:38:34 -05:00
Jun-ichi Takimoto
75410bc2a1 49943: offer only timezone files starting with uppercase 2022-04-01 17:50:30 +09:00
Matthew Martin
4ee64f13ce unposted: Fix typo 2022-04-01 00:16:10 -05:00
elig0n
6152200c9b github #88: Fix typo 2022-03-31 19:23:08 -05:00
Matthew Martin
95749e9e65 49933: Add nonblock to sysopen 2022-03-31 17:40:41 -05:00
Matthew Martin
9e0303b044 49932: Update _brace_parameter # description 2022-03-31 17:40:01 -05:00
Matthew Martin
7fc42de7da 49931: Update _bsd_pkg 2022-03-31 17:39:21 -05:00
Matthew Martin
283fc8596b 49907: Mention _numbers in completion guide 2022-03-31 17:36:21 -05:00
Peter Stephenson
41eb200d66 27639: clarify that ${(#)...} deals with character codes. 2022-03-31 13:57:56 +01:00
Mikael Magnusson
774c634d2e 49926: remove unused variable from 49915 2022-03-30 20:34:37 +02:00
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.
2022-03-30 09:28:43 +01:00
Mikael Magnusson
f11227f78d 49813: Add missing test 2022-03-30 10:01:03 +02:00
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}} }
2022-03-30 08:08:09 +02:00
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.
2022-03-30 08:07:39 +02:00