Stefan Neudorf
790a4fee2b
31930 / 31934: New limits from BSD.
...
Avoid clash of uses for ulimit -k.
2013-10-31 20:25:13 +00:00
Barton E. Schaefer
ed01d6e1e8
31929: Src/jobs.c: fix DPUTS3() test condition from 31906.
2013-10-29 09:28:20 -07:00
Peter Stephenson
cbe9371023
31922: zlecharasstring missed flip of bit 5 after Meta
2013-10-28 17:51:38 +00:00
Barton E. Schaefer
c98cbe25d2
31919: fix deadlock when a shell builtin with a multio redirection is used on the left side of a pipeline
...
Make sure stdin/out/err file descriptors are closed for the multio copy
process, which means not re-using those descriptors after they are closed
and marked FDT_UNUSED in fdtable[]. For completeness, initialize their
fdtable[] state to FDT_EXTERNAL.
2013-10-27 15:42:00 -07:00
Barton E. Schaefer
c39d2f8e49
31912: in closemn(), distinguish closing for >&- from closing for a real redirect
...
Fixes knock-on multios bug introduced by workers/20666 way back in 2005.
2013-10-27 11:27:41 -07: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
Barton E. Schaefer
5b30149638
31885: fix PIPEFAIL when the last command executes in the current shell
2013-10-24 17:31:13 -07:00
Peter Stephenson
1c172cb080
31877: fix behaviour of disable -p with parentheses
2013-10-24 18:45:50 +01:00
Peter Stephenson
7a5b85292a
31882: Insulate completion widget against environment.
...
Prevents change in pipestatus leaking back out.
2013-10-24 17:49:37 +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
Barton E. Schaefer
21bbd96d0d
31869: reduce WINCH-twaddling in shingetline()
2013-10-21 08:36:52 -07:00
Peter Stephenson
9a044f1a6a
Use VERBOSE option in execstring()
2013-10-19 23:08:24 +01:00
Peter Stephenson
8879c46a48
31846: fix NOEXEC option in execsimple() optimisation
2013-10-18 23:42:07 +01:00
Bart Schaefer
978b5bcc8d
31832: make execrestore() more signal-safe.
2013-10-17 07:35:05 -07:00
Barton E. Schaefer
ff520d1b79
31823: add HISTORY_IGNORE parameter
...
HISTORY_IGNORE defines a pattern to exclude matching lines in the internal
history from the HISTFILE at write time.
2013-10-17 07:28:52 -07:00
Peter Stephenson
73ececfd01
31830: New feature for zshaddhistory hooks.
...
If the first non-zero return status is 2, save the line on the
internal history list, but don't write it out.
2013-10-17 10:14:25 +01:00
Mikael Magnusson
fa03332635
31805: Add $patchars and $dis_patchars to zsh/parameter module
2013-10-11 14:57:57 +02:00
Peter Stephenson
d0fe73c5fb
31815: another fix for INCAPPENDHISTORY change.
...
We need to save immediately if something is pushed on the history stack
to ensure we use the right file before popping.
2013-10-11 11:13:03 +01:00
Peter Stephenson
68a9bab11d
31809: Make whitespace clear in trace output for patterns.
2013-10-10 17:12:50 +01:00
Barton E. Schaefer
8ffdf161c7
31797: to match documentation, avoid expanding history when there is neither a
...
word nor an event designator
There are still a few cases where expansion is attempted even though the
documentation indicates it will not be, but in most of those cases the
expansion will fail. The now-fixed case would fall back to default
expansion of the previous command.
2013-10-08 07:21:29 -07:00
Peter Stephenson
6f195241f3
31794: further refinement to INCAPPENDHISTORY change.
...
With SHAREHISTORY we should make sure the code behaves as it always
did, because it takes care about locking a file once for reading
and writing.
2013-10-07 13:01:26 +01:00
Peter Stephenson
9345e57859
31793: Fix problem with non-interactive history.
...
Modify 31789 so it doesn't try to save history from hbegin()
in that case.
2013-10-07 11:43:55 +01:00
Peter Stephenson
5236425865
users:18023: Add PIPEFAIL option
2013-10-06 21:35:27 +01:00
Han Pingtian
16ff79a885
31789: Save history for INCAPPENDHISTORY later.
...
This improves the timing recorded in the history.
2013-10-05 22:03:43 +01:00
Barton E. Schaefer
75fdec17b1
31784: better line width calculation for completion listings
...
When deciding whether there is enough horizontal space to show completion
descriptions for each match in a listing, treat the separator as part of
the description rather than as part of the match, and account for lines
that have already wrapped due to very long matches.
2013-10-03 15:59:52 -07:00
Barton E. Schaefer
ea30fdaf25
31781: "compdescribe -i" clears the completion list column padding width
2013-10-03 14:52:54 -07:00
Barton E. Schaefer
ae92cadc75
31772: queue_signals() to prevent re-entry into endparamscope().
2013-09-26 21:27:27 -07:00
Barton E. Schaefer
98b0828c63
31770: memmove() instead of memcpy() for overlapping regions.
2013-09-26 21:24:58 -07:00
Peter Stephenson
0ed3c5ccd0
31765: If zle starts in viins mark as insertion.
...
This allows undo to work on everything entered.
2013-09-25 18:42:59 +01:00
Peter Stephenson
60debf388f
31764: Dewreakify havoc caused by pattern disables on glob qualifiers.
...
Don't use the zpc_specials array before it's defined, it's rude.
2013-09-23 21:02:31 +01:00
Barton E. Schaefer
27f9c515ff
unposted: improve an error message.
2013-09-21 16:39:25 -07:00
Barton E. Schaefer
61deff76f2
31737: same loop counter fix in get_cadef as get_cvdef.
2013-09-19 07:55:53 -07:00
Axel Beckert
844e569b63
31735: fix off-by-one in completion utility cache code.
...
Was causing crashes in complex completions, particularly with taskwarrior
2013-09-19 09:45:45 +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
Barton E. Schaefer
935758ab7f
31637: be more selective about retry of lchdir() in cd_do_chdir()
...
Change of directory should not be retried relative to the current directory
when it has already failed along some path that does not refer to the
current directory.
2013-08-18 20:24:45 -07:00
Peter Stephenson
40a881569f
31650: use zlong for mailcheck parameters to ensure range
2013-08-11 20:19:53 +01:00
joe M
b9e16ac818
31648: fix timing errors in mailcheck
2013-08-10 19:48:13 +01:00
Peter Stephenson
8ae8fae400
31644: Fix insertion of multibyte characters into editor line.
...
This was broken for a string that came from outside ZLE in the case
where the editing buffer wasn't metafied, i.e. not in completion.
2013-08-08 20:10:06 +01:00
Peter Stephenson
0b185e3dcd
users/17908: Keep history line in sync between ZLE and shell.
...
Update ZLE version if history is read, pushed or popped with ZLE active
2013-08-08 19:48:11 +01:00
Peter Stephenson
9ebf22b34b
31631: Use cygwin_conv_path if available.
...
Prefer it to cygwin_conv_to_posix_path.
2013-08-05 19:55:15 +01:00
Peter Stephenson
568e0db7a9
31611: attempt to fix crash completing redirection in do loop
2013-08-02 18:58:35 +01:00
Peter Stephenson
9d32c82da3
17591: fix error message for invalid fd in print -u
2013-07-29 10:44:07 +01:00
Peter Stephenson
4095e175b6
31574: alternative fix for bad fd if no FD_CLOEXEC.
...
Remove dump records more consistently in that case.
2013-07-25 09:45:33 +01:00
Peter Stephenson
e282fd8ecb
31750: fix for HISTREDUCEBLANKS option.
...
Don't truncate line after marked words if there's more
non-white-space text, which is probably comments.
2013-07-24 15:54:55 +01:00
Peter Stephenson
31c5c7bb11
unposted: fix previous commit: ihwend -> hwend
2013-07-22 21:00:50 +01:00