1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00
Commit graph

572 commits

Author SHA1 Message Date
Barton E. Schaefer
a3651e1205 timeout the final "read" in hung shell regression 2014-08-15 10:24:09 -07:00
Peter Stephenson
6116f1dafa 32954 plus new test: [[ ... = ...(#q...) ]] shouldn't force a glob.
The (#q...) expression should simply be removed to leave a normal pattern
as before
2014-08-04 19:52:50 +01:00
Mikael Magnusson
b8751cb9d7 32949 (wip 32928, 32937): Add :^ syntax for zipping two arrays 2014-08-04 19:00:01 +02:00
Peter Stephenson
b5198b10a1 32768 with further modifications: LOCAL_LOOPS option. 2014-06-13 21:39:44 +01:00
Barton E. Schaefer
92f62fed00 32711: run "continue" test in a new shell 2014-06-04 22:50:48 -07:00
Daniel Shahaf
69378db3c5 32708: glob qualifier (Y) implies (oN)
plus incidental patch to avoid adding a meaningless bitvalue to sort-order flags
2014-06-04 22:47:20 -07:00
Daniel Shahaf
9381bb6a2d 32694: the number of matches to find is the suffix argument of (Y) qualifier 2014-06-03 23:46:07 -07:00
Daniel Shahaf
06a4913245 users/18870: fix glob scanner insert counting check.
Was causing problems with globs in paths with (Y) glob qualifier
2014-06-02 14:32:51 +01:00
Daniel Shahaf
10ae77c0cf users/18857: add (Y) glob qualifier to generate only one match per pattern 2014-06-01 14:18:21 -07:00
Peter Stephenson
501f2003a8 32640: (#q) in [[ ... ]] forces globbing 2014-06-01 20:55:39 +01:00
Barton E. Schaefer
9d47e8398d 32609: [[ $var ]] behaves as [[ -n $var ]] for bash/ksh compatibility
Also restore ksh [ -t ] compatibility when POSIX_BUILTINS is not set, and
allow operators defined by modules to be called with no arguments, although
this affects only runtime interpretation, not parsing.
2014-05-13 08:16:50 -07:00
Andrew Waldron
8189e12312 32552 (updated by 32560): fix segfault when using process substitution in anonymous function argument list
Also disallow process substitution in function name position.
2014-04-18 07:30:36 -07:00
Barton E. Schaefer
da57ddb7c8 32497: avoid using comptesteval in the middle of a series of tests
The change in control required for sourcing the command file can confuse
the simulated interactive input
2014-03-18 09:57:47 -07:00
Barton E. Schaefer
ae0b56cdda 32389 (with Jun Takimoto): additional PTY and keybinding adjustments 2014-02-15 13:45:35 -08:00
Barton E. Schaefer
7274ea8c49 Fix character transposition typo 2014-02-13 08:25:09 -08:00
Barton E. Schaefer
5c89c4ca9c 32377: change keybindings and PTY control for vi-mode tests to make them more reliable 2014-02-13 08:23:32 -08:00
Oliver Kiddle
137b15a447 32355: document and test vi mode undo changes 2014-02-05 23:18:26 +01:00
Peter Stephenson
22b8fd6da9 32299: add use of underscores on arithmetic output for spacing 2014-01-23 10:32:59 +00:00
Peter Stephenson
ed44ddad22 32246: option "shift -p" pops arguments from end of array 2014-01-11 19:31:29 +00:00
Koen Wilde
8fd6d5766c 32245: complete more mpc arguments 2014-01-10 22:26:30 +00:00
Peter Stephenson
d26461a3c6 users/18298 (tidied up): add {<char>..<char>} expansion 2014-01-09 10:05:13 +00:00
Barton E. Schaefer
083328e697 unposted: move path assignment from comptest to Y01completion.ztst 2013-12-26 16:04:30 -08:00
Barton E. Schaefer
d83faa9d99 32183: regression tests for 32182 and 31611 2013-12-25 16:27:04 -08:00
Peter Stephenson
aede5c52bf 32176: plug additional deadlock-inducing pipe descriptor leaks 2013-12-21 17:41:21 -08:00
Barton E. Schaefer
21be065ddf 32172: regression test for 32171 2013-12-21 12:53:59 -08:00
J. Takimoto
b9da4efea7 32137: set pseudo-terminal speed to prevent padding characters 2013-12-16 22:18:01 -08:00
Peter Stephenson
db23c63005 32136: fix problem with kshglob.
Non-pattern characters that could be followed by "(" to introduce
a ksh glob but weren't caused failures.
2013-12-16 22:20:06 +00:00
Daniel Shahaf
b28a6365f6 32091: WARN_CREATE_GLOBAL false positive.
In cases like () { foo=bar =true; }
2013-12-06 09:28:42 +00:00
Barton E. Schaefer
deccbf31d7 Unposted (see 32085): Another nonessential setopt 2013-12-02 10:32:11 -08:00
Barton E. Schaefer
5a517e9cf4 32080: Suppress error output from nonessential setopt 2013-12-02 10:11:12 -08:00
Peter Stephenson
8e2d4c2cf7 32030: need to revert empty glob qualifier change.
It failed on an empty expansion that (N) was supposed to remove.
Add test for this case.
2013-11-20 17:35:57 +00:00
Peter Stephenson
bd919f30ae 32001: fix crash on ${:*} and ${:|} 2013-11-17 20:33:57 +00:00
Peter Stephenson
4c611f9323 31982: detection of floating point constants was problematic.
Remove the cause and fix the original problem with floating point
numbers with leading zeros (users/17445) a different way.
2013-11-14 11:49:22 +00:00
Peter Stephenson
f77a7a5b18 31937: zle -Fw uses widget semantics for file descriptor handler 2013-11-07 15:19:07 +00:00
Peter Stephenson
375115c7df unposted: updates for 4.0.2-test-1.
Update references to 4.0.2 to 4.0.3.
Additional mod_export declarations.
Additions to .distfiles.
2013-11-06 19:25:07 +00:00
Barton E. Schaefer
eec5140dde Merge overlapping ChangeLog entries 2013-10-26 16:19:12 -07:00
Barton E. Schaefer
c3114a7735 31906: fix race-condition interaction of $pipestatus with job control
printjob() should not reference oldjobtab for job numbers unless it is being called from bin_fg().  printjob() also must not attempt to update pipestats when called from bin_fg().  acquire_pgrp() should not loop infintely if the shell is not interactive.  Update the $pipestatus stress test so that it also exercises the oldjobtab repair.
2013-10-26 16:11:40 -07:00
Jun T
ef4d20ad6f 31902: rationalise use of gamma function.
Make zsh/mathfunc consistent across systems and use tgamma() where
available
2013-10-27 00:00:56 +01:00
Peter Stephenson
0c97990b20 31889: tests for disable -p 2013-10-24 19:37:50 +01:00
Peter Stephenson
f91bf85cc3 31888: Add another test for pipestatus.
This one was reliably failing before the fix, see zsh-workers-31870
2013-10-24 17:51:19 +01:00
Peter Stephenson
59b060bd5b 31884: Make new pipestatus test implementation proof.
It seems uniq's vary in the number of spaces they output.
2013-10-24 17:31:02 +01:00
Barton E. Schaefer
65e131c838 31879 plus misc.: improve $pipestatus handling and add a test for it 2013-10-23 22:45:02 -07:00
Mikael Magnusson
fa03332635 31805: Add $patchars and $dis_patchars to zsh/parameter module 2013-10-11 14:57:57 +02:00
Peter Stephenson
c35a561a9c 31810: tests for simple XTRACE output from conditions 2013-10-10 17:45:42 +01:00
Peter Stephenson
5236425865 users:18023: Add PIPEFAIL option 2013-10-06 21:35:27 +01:00
Peter Stephenson
c866657a3c 31706: standardize handling of "test ! <x> <y> <z>" 2013-09-06 20:37:40 +01:00
Peter Stephenson
2afa556d8f 31696: In "test" No One Can Hear If You Shriek.
Treat ! as a string in "test ! -a ..." and "test ! -o ...".
2013-09-04 20:16:58 +01:00
Peter Stephenson
b0a0441902 31672: Add test that was failing and fix zpty set-up race 2013-08-26 21:01:17 +01:00
Peter Stephenson
f75904a380 31665: zpty should attach terminal on slave.
Also add test.
2013-08-25 20:48:52 +01:00
Peter Stephenson
cda21a28e6 31536 with additions: Fix hang in previous process substitution fix.
Close applicable file descriptors when waiting for a job.
2013-07-19 12:09:32 +01:00