Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rationalise use of forks and pipes. fork_early | Peter Stephenson | 2018-04-20 | 1 | -63/+16 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | Ensure we _exit if forked in execcmd_exec(). | Peter Stephenson | 2018-04-20 | 1 | -2/+28 |
| | |||||
* | Make early fork even earlier. | Peter Stephenson | 2018-04-20 | 1 | -24/+25 |
| | | | | | | It was after our preliminary scan of arguments to find a command. Actually, in the cases of early fork we don't need this information before forking. | ||||
* | 42693: Fork early for pipelines. | Peter Stephenson | 2018-04-20 | 1 | -3/+4 |
| | | | | | | | 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. | ||||
* | 42684 (with extra comments): Fork early if in bg. | Peter Stephenson | 2018-04-20 | 2 | -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. | ||||
* | 42686: Fix previous pgrp patch. | Peter Stephenson | 2018-04-19 | 2 | -1/+7 |
| | | | | | We shouldn't do any fix ups unless the process has actually exited. | ||||
* | 42630: Improve process group handling in pipelines. | Peter Stephenson | 2018-04-17 | 3 | -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. | ||||
* | unposted: update version to 5.5.1-dev-0 | Peter Stephenson | 2018-04-17 | 2 | -2/+6 |
| | |||||
* | unposted: Update for release 5.5.1. zsh-5.5.1 | Peter Stephenson | 2018-04-16 | 5 | -5/+17 |
| | |||||
* | 42659: various completion option updates | Oliver Kiddle | 2018-04-16 | 8 | -25/+84 |
| | |||||
* | 42658: allow compact form of option arguments to diffstat | Oliver Kiddle | 2018-04-16 | 2 | -10/+13 |
| | |||||
* | 42643, 42644: new cksum completion | Matthew Martin | 2018-04-16 | 2 | -0/+76 |
| | |||||
* | 42642 (tweaked for Solaris): OpenBSD chown does not support -f and dragonfly ↵ | Matthew Martin | 2018-04-16 | 1 | -2/+2 |
| | | | | has -x | ||||
* | 42650: fix 42156 for zero-sized terminals | Barton E. Schaefer | 2018-04-15 | 2 | -5/+9 |
| | | | | Also fix harmless no-op typo from hand-applying 42636 for previous commit. | ||||
* | 42636: fix GLOB_DOTS for !(RM_STAR_SILENT) | Barton E. Schaefer | 2018-04-15 | 2 | -5/+10 |
| | | | | Also fix paste-o in older log entry | ||||
* | 42631: _pgrep: pkill: fix completion of signals | Daniel Hahler | 2018-04-13 | 2 | -3/+10 |
| | | | | | This adds the signals after arguments are filtered according to $optchars. | ||||
* | 42624 (plus test): avoid freeing memory that's still needed | Oliver Kiddle | 2018-04-12 | 3 | -5/+25 |
| | | | | | This was occurring in a multiple function definition where a function name is duplicated. | ||||
* | 42623: Add some extra quotes to previous commit | Peter Stephenson | 2018-04-11 | 2 | -3/+8 |
| | |||||
* | 42618: support signal names from multiple include files. | Benedikt Morbach | 2018-04-10 | 2 | -5/+11 |
| | | | | Needed for glibc starting with 2.25. | ||||
* | unposted: update dev version to 5.5-dev-0 | Peter Stephenson | 2018-04-10 | 2 | -2/+6 |
| | |||||
* | 42613: typo fix in _ss | pda | 2018-04-09 | 2 | -1/+5 |
| | |||||
* | unposted: release zsh-5.5 zsh-5.5 | Peter Stephenson | 2018-04-08 | 2 | -2/+6 |
| | |||||
* | c.f. 42499: tera torn: update twisted completion stub for new twist command | Oliver Kiddle | 2018-04-08 | 2 | -2/+7 |
| | |||||
* | 42605: properly free the vi registers hash | Oliver Kiddle | 2018-04-07 | 4 | -4/+19 |
| | |||||
* | 42601: tidy up code for set -A/+A to not increment a NULL pointer and to be ↵ | Oliver Kiddle | 2018-04-07 | 2 | -6/+7 |
| | | | | more efficient | ||||
* | 42607, CVE-2018-1100: check bounds on buffer in mail checking | Oliver Kiddle | 2018-04-07 | 2 | -3/+8 |
| | |||||
* | 42600: error paths for _values leaked the exclusion list array | Oliver Kiddle | 2018-04-07 | 2 | -0/+7 |
| | |||||
* | 42597: plug memory leak found by coverity | Oliver Kiddle | 2018-04-07 | 2 | -1/+5 |
| | |||||
* | 42595: remove dead code flagged by coverity | Oliver Kiddle | 2018-04-07 | 2 | -3/+3 |
| | |||||
* | 42602: Update _gcc as of GCC 7.3.0 for generic options and x86 | Mikael Magnusson | 2018-04-07 | 2 | -67/+252 |
| | |||||
* | 42604: new completions for OpenBSD's signify and vmctl | Matthew Martin | 2018-04-07 | 3 | -0/+114 |
| | |||||
* | github #24: Add completion script for Visual Studio Code | Klas Mellbourn | 2018-04-07 | 2 | -0/+41 |
| | |||||
* | 42590: fix detection of OSTYPE in _fmt | Jun-ichi Takimoto | 2018-04-05 | 2 | -1/+3 |
| | |||||
* | 42585: improve completion for libarchive-based tar | Jun-ichi Takimoto | 2018-04-05 | 3 | -2/+7 |
| | | | | | | Offer all compressed archives if no compression flag is specified because libarchive can automaticaly recoginize them. cf. 42574 (Eitan Adler). | ||||
* | 42591: complete *.changes and *.dsc files alongside *.deb | Oliver Kiddle | 2018-04-05 | 2 | -1/+4 |
| | |||||
* | 42584: complete options for ssh-keyscan and update options for ssh-copy-id | Oliver Kiddle | 2018-04-05 | 2 | -6/+27 |
| | |||||
* | 42583: new column completion | Oliver Kiddle | 2018-04-05 | 2 | -0/+61 |
| | |||||
* | 42582: updates to options in completions for OpenBSD 6.3 | Oliver Kiddle | 2018-04-05 | 5 | -6/+33 |
| | |||||
* | 42575: fix to not complete options in the argument to another option | Oliver Kiddle | 2018-04-05 | 3 | -1/+21 |
| | |||||
* | 42578: _shutdown: add support for macOS | Jun-ichi Takimoto | 2018-04-05 | 2 | -2/+15 |
| | |||||
* | 42577: fix macOS support in _strings | Jun-ichi Takimoto | 2018-04-05 | 2 | -2/+6 |
| | |||||
* | unposted: 5.4.2-test-2 zsh-5.4.2-test-2 | Peter Stephenson | 2018-04-04 | 2 | -2/+4 |
| | |||||
* | 42581(?): Fix ZLE inline history expansion. | Peter Stephenson | 2018-04-04 | 4 | -3/+44 |
| | | | | | | | Seen with magic-space. If there's a parse error in command subtitution we need to complete reading history to ensure the command line buffer is finished. | ||||
* | 42572: various completion option updates | Oliver Kiddle | 2018-03-31 | 15 | -27/+77 |
| | |||||
* | 42571: new completion for FreeBSD jail command | Oliver Kiddle | 2018-03-31 | 3 | -1/+59 |
| | |||||
* | 42568: new shutdown completion | Oliver Kiddle | 2018-03-30 | 2 | -0/+63 |
| | |||||
* | 42569: improve lsof completion after -i and -s options | Oliver Kiddle | 2018-03-30 | 2 | -8/+45 |
| | |||||
* | 42567: new completion for xmlstarlet | Oliver Kiddle | 2018-03-30 | 2 | -0/+180 |
| | |||||
* | 42570: new completion for drill and factor out DNS type completion | Oliver Kiddle | 2018-03-30 | 4 | -10/+59 |
| | |||||
* | 42560: silence sign-compare compiler warnings | Oliver Kiddle | 2018-03-30 | 2 | -3/+5 |
| |