summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-05-1942806: fix shutdown completion where options were lost due to args= ↵Oliver Kiddle2-2/+5
assignment where args+= was needed
2018-05-1942803: handle Linux and the the BSDs in netstat completionOliver Kiddle3-61/+342
2018-05-1742790: make [[:blank:]] match non-ASCII blanksStephane Chazelas5-4/+36
2018-05-1742784: complete -s and -x options to the functions builtinOliver Kiddle2-4/+15
2018-05-1742793: Always define FDT_PROC_SUBST even if not needed.Peter Stephenson3-8/+6
This avoids proliferating #ifdef's.
2018-05-1742785: Allow redefining math function to work silently.Peter Stephenson2-9/+9
Previously it failed with an error message that the function was already defined. This is inconsistent with most other aspects of shell usage.
2018-05-1442297: (e) subscript flag needs extra work with scalarsdana3-3/+41
2018-05-1442234: Stephane: don't kill a process if not running.Peter Stephenson1-3/+15
This could happen when kiiling a job. The processs might be reused.
2018-05-1342488: test cases for 42369 and address some issues in the codeOliver Kiddle7-56/+95
2018-05-13Nelson H. F. Beebe: 19597 (rebased 42369): return Inf, NaN etc from floating ↵Oliver Kiddle5-51/+64
point operations instead of errors to allow non-stop IEEE 754 arithmetic
2018-05-1342760: move stack variable outside while loop scope as it is accessed in the ↵Oliver Kiddle2-1/+6
while condition
2018-05-11unposted: remove mysterious excrescence in ChangeLogPeter Stephenson1-2/+0
2018-05-1142185: safety when removing separators in completiondana2-1/+5
2018-05-1142101 (tweaked): assigning shell status to array was brokendana3-2/+48
2018-05-0842752: enhance git external alias completionPeter Stephenson2-1/+7
If alias expands to !cmd-name, complete as a normal command line after cmd-name.
2018-05-0842751: Protect shell status in ZLE timed function handler.Peter Stephenson2-0/+9
Otherwise status from sched and other asynchronous functions could escape back to the main shell.
2018-05-0242740: Teach _systat about the 'zarc' screenEitan Adler2-0/+4
2018-05-0242732: Add several more entries to ifconfigEitan Adler2-2/+10
2018-05-0242743: update vorbis-tools completion and include vorbiscomment with the restOliver Kiddle3-72/+117
2018-05-01unposted (branch fork_early): Fork early for pipelines.Peter Stephenson2-82/+71
If executing a command not at the end of a pipeline, and not optimised in the calling code, we can fork before "prefork" substitutions, at the same point as for background commands. Move fork before our preliminary scan of arguments to find a command: in the cases of early fork we don't need this information before forking. Ensure we _exit if forked in execcmd_exec(). Rationalise use of forks and pipes. Ensure we _exit instead of returning from execcmd_exec() if we have forked. Before the optimisation code after the fork always ran to the check at the end, but that code is overkill for the logic between the early fork and the existing one. Remove old workaround to fork in caller of execcmd for current shell constructs as no longer needed with early fork below. Close input of newly created pipe on fork (destined for RHS of pipe which we never execute): this replaces a workaround from zsh-workers/32171, commit 9887fc3d7b. Set last1 on early fork as needed by some instances of shell constructs on LHS of pipeline to know they are exiting.
2018-04-2942730: Complete the options for rmdirMatthew Martin3-1/+27
2018-04-2942729: update df completion for [DFNO]BSDMatthew Martin2-13/+47
2018-04-2942676: deal with system specific arguments in dd completionOliver Kiddle2-16/+101
2018-04-2942728: update options in libtiff tools completion and add handling for tiff2pdfOliver Kiddle2-69/+135
2018-04-2947201: fix 42355 for multiple backslashesRicardo Giorni3-6/+34
2018-04-26c.f. 42726: Back off fg and bg tests.Peter Stephenson2-42/+5
This is too hard to make robust. Problems include - Reading input in different places causes lines to appear and disappear - There is no easy way to sequence the asynchronous operations following bg. - Response to job control of user commands on some OSes (MacOS, for example) is unpredicatble.
2018-04-2542722: Replace ed with dc in fg/bg tests.Peter Stephenson3-33/+29
This should be even simpler. Also more fix ups for failed pattern diffs.
2018-04-25unposted: Correct process substitution buffer size in the PATH_DEV_FD codepath.Daniel Shahaf2-1/+6
2018-04-2542714: Add fg and bg tests.Peter Stephenson3-6/+89
Use ed to get minimal user interaction without needing advanced terminal handling. Improve test output of failures of pattern differences.
2018-04-2442708: fix for process substitution.Peter Stephenson5-10/+32
Don't close associated file descriptors in the closem() tidy up function as they should remain visible to external processes. Override if about to exit. Unit test for the failing case: note this relies on the existence of /proc/self/fd or equivalent.
2018-04-2342705: Another safety fix for pgrp reclaiming.Peter Stephenson2-1/+5
Only do this if killpg(dead_pid, 0) returns -1, indicating the pgprp doesn't exist any more, else there is a race if other proceses have started using it.
2018-04-23Allow short loops with "while"Peter Stephenson2-1/+7
2018-04-2042684 (with extra comments): Fork early if in bg.Peter Stephenson2-95/+140
In execcmd the case of running the last command in a pipeline asynchronously for the purpose of & and &! is easy to work out, and we can avoid side effects and unnecessary execution time in the parent shell by forking earlier.
2018-04-1942686: Fix previous pgrp patch.Peter Stephenson2-1/+7
We shouldn't do any fix ups unless the process has actually exited.
2018-04-1742630: Improve process group handling in pipelines.Peter Stephenson3-1/+34
If process group leader exits, allow a newly forked process to become process leader. If a foreground job, reattach the shell to the terminal until that happens. Unblock signals when reading output for command subsitution so that we can do this reattaching immediately.
2018-04-17unposted: update version to 5.5.1-dev-0Peter Stephenson2-2/+6
2018-04-16unposted: Update for release 5.5.1.Peter Stephenson5-5/+17
2018-04-1642659: various completion option updatesOliver Kiddle8-25/+84
2018-04-1642658: allow compact form of option arguments to diffstatOliver Kiddle2-10/+13
2018-04-1642643, 42644: new cksum completionMatthew Martin2-0/+76
2018-04-1642642 (tweaked for Solaris): OpenBSD chown does not support -f and dragonfly ↵Matthew Martin1-2/+2
has -x
2018-04-1542650: fix 42156 for zero-sized terminalsBarton E. Schaefer2-5/+9
Also fix harmless no-op typo from hand-applying 42636 for previous commit.
2018-04-1542636: fix GLOB_DOTS for !(RM_STAR_SILENT)Barton E. Schaefer2-5/+10
Also fix paste-o in older log entry
2018-04-1342631: _pgrep: pkill: fix completion of signalsDaniel Hahler2-3/+10
This adds the signals after arguments are filtered according to $optchars.
2018-04-1242624 (plus test): avoid freeing memory that's still neededOliver Kiddle3-5/+25
This was occurring in a multiple function definition where a function name is duplicated.
2018-04-1142623: Add some extra quotes to previous commitPeter Stephenson2-3/+8
2018-04-1042618: support signal names from multiple include files.Benedikt Morbach2-5/+11
Needed for glibc starting with 2.25.
2018-04-10unposted: update dev version to 5.5-dev-0Peter Stephenson2-2/+6
2018-04-0942613: typo fix in _sspda2-1/+5
2018-04-08unposted: release zsh-5.5Peter Stephenson2-2/+6