1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-01 21:51:40 +02:00
Commit graph

8909 commits

Author SHA1 Message Date
Daniel Shahaf
3f2bcceec8 43528: zshbuiltins(1): Document 'which''s "not found is not an error" behaviour. 2018-09-25 23:29:06 +00:00
Oliver Freyermuth
cbcf6d1864 43554 (tweaked): Fix zathura completion ignoring multiple plugin directories. 2018-09-25 22:52:57 +00:00
Oliver Freyermuth
e4ca9d8ae3 43544: Fix zathura filename completion derived from *.so plugin name. 2018-09-25 20:33:04 +00:00
Daniel Shahaf
db67cc2f4b 43489: Add error checking on a new write() call.
Silences a compiler warning (write(2) is declared with warn_unused_result
in current Debian Unstable).
2018-09-25 19:35:15 +00:00
Peter Stephenson
464065f429 43543: Further improvements to fg/bg of superjob/subjob.
Attempt to keep STAT_STOPPED correct for superjob, rendering additional
"stopped = 1" unnecessary.

Wait for subjob before superjob.
2018-09-25 19:25:10 +01:00
Daniel Shahaf
64a26b2091 unposted: Add a test for 43546. 2018-09-25 16:38:38 +00:00
Stephane Chazelas
a75b47973d 43546: "typeset -p" should show -U flag 2018-09-25 10:06:18 +01:00
Takeshi Banse
67ce7c2bf8 users/23642: Revert _files change from workers/42984
See also users/23635
2018-09-24 19:06:21 -05:00
Peter Stephenson
0a20f4e5a6 43535: Fixes for bg / fg handling of superjobs.
Be more consistent about marking both superjob and subjob as
running when sending SIGCONT.

Send SIGCONT to superjob / subjob combination any time it is put
in foreground, even if thought running, since subjob may invisibly
have suspended.

When waiting for superjob, wait for subjob, too.
2018-09-24 21:32:40 +01:00
Daniel Shahaf
dc2bfeee26 43493: Have V07pcre fail if PCRE was enabled by configure (config.modules) but failed to load for any reason. 2018-09-24 14:15:18 +00:00
Peter Stephenson
e9a75f4bc7 43527, tweaked: describe which output behaviour in FAQ. 2018-09-24 14:34:31 +01:00
Noam Barnea
14fa595f66 gitlab !2: _toilet: detect .flf files as well as .tlf ones 2018-09-23 18:04:37 +02:00
Peter Stephenson
e76ea18477 43511: Initialiase alias entry on input stack.
This didn't happen if neither history nor alias expansion was in use.
2018-09-21 16:29:07 +01:00
Maximilian Bosch
624219e0e4 43502: Search XDG_DATA_DIRS in _setxkbmap completion 2018-09-19 21:24:28 +00:00
Oliver Kiddle
54d2c4fe5d 43464: complete options for the valgrind drd tool and update them for helgrind 2018-09-18 16:38:26 +02:00
Daniel Shahaf
a4759c16c8 unposted: Fix typo in ChangeLog. 2018-09-17 19:59:21 +00:00
dana
a435ab530f unposted: Fix trivial formatting error in docs 2018-09-16 18:39:55 -05:00
Peter Stephenson
551ff84272 43464: Another attachtty() fix.
If list_pipe_job triggered more than once we need to know
the most recent process group leader, so record that
both if the attach happened in the main shell on in
entersubsh().

Also don't pass back proocess group for ESUB_ASYNC subshells.
2018-09-16 19:13:38 +01:00
Daniel Shahaf
301ca1229a unposted: ChangeLog entry for previous commit.
(I'd meant to post it, but slipped.)
2018-09-14 14:28:11 +00:00
Daniel Shahaf
24d427953b unposted: Post-release version bump. 2018-09-14 12:53:57 +00:00
Daniel Shahaf
92bef88545 43457: Release 5.6.2 2018-09-14 12:52:40 +00:00
Peter Stephenson
1056827194 43466: Make path(5) test more generic.
Only test non-zero status as OS error codes and messages vary.
2018-09-14 09:22:08 +01:00
Daniel Shahaf
24bb465566 unposted: _svn: Complete --accept=recommended, new in 1.10.0. 2018-09-12 16:23:43 +00:00
Daniel Shahaf
3b8c407bb9 43447: Generate tar.xz artifacts only. 2018-09-12 15:12:12 +00:00
Daniel Shahaf
b44be21525 43443: _git: When completing worktrees, show the ref and hash of each worktree. 2018-09-12 15:12:09 +00:00
Daniel Shahaf
7ae2be3a2f 43442: _git: Break out a helper function. 2018-09-12 15:12:07 +00:00
Peter Stephenson
07ad7fd970 Fix windowsize when reattaching to terminal on process exit 2018-09-12 09:49:14 +01:00
Peter Stephenson
7c5241edf3 43446: More entersubsh() / addproc() wiring.
Fix additional races by passing back use of list_pipe_job
from subshell.
2018-09-12 09:22:10 +01:00
Jörg Thalheim
03a51a6f09 GitHub #28: Add missing math.h include for builtins
math.h is required for isnan/isinf
2018-09-10 13:05:46 +00:00
Peter Stephenson
d6859ce68e 43426: disable job control tests involving suspension.
These are provoking races on OpenSUSE.
2018-09-10 13:48:41 +01:00
Daniel Shahaf
943721abb9 unposted: creating-a-release.txt: Add another step. 2018-09-08 18:06:18 +00:00
Daniel Shahaf
da0ab6d3fd unposted: Post-release version bump. 2018-09-08 17:42:46 +00:00
Daniel Shahaf
b3239c5e40 unposted: Patch release: 5.6.1 2018-09-08 17:41:13 +00:00
Peter Stephenson
0d5275c6b9 43409: Fix process group setting in main shell.
A newly forked subshell now reports back the process group it
will be using for the main shell to record.

This prevents an error where the shell incorrectly thought an
exiting process owned the terminal and so grabbed it back,
putting the foreground process into the background.
2018-09-07 17:49:35 +01:00
Daniel Shahaf
b2ddd97175 43404 (after 43392): Fix 'make install' in out-of-tree builds 2018-09-07 10:13:36 +00:00
Daniel Shahaf
85ae84e895 43392: dist: Generate doc/help/* and doc/help.txt in builddir rather than srcdir.
Fixes creating tarballs in out-of-tree builds.

While here, remove the instruction to build zsh before building
a tarball, since that's unneeded.
2018-09-06 13:58:05 +00:00
Daniel Shahaf
b39a102262 43366: _compdef: Change and add sources for completed completion function names.
Use ${(v)_comps} instead of going through $fpath again.  Use
${functions} as well to find more legitimate matches, such as various
__git_foo() helpers defined in ${^fpath}/_git.
2018-09-06 13:58:00 +00:00
dana
f7e874c101 43372: Add completion for e2label 2018-09-05 14:57:55 -05:00
Peter Stephenson
9bc7e5b404 43375 with fix from 43390: fix #! tests.
Don't assume path to sh and echo, instead work it out.
2018-09-05 17:58:41 +01:00
Daniel Shahaf
55f1afcec8 unposted (cf 43373): Add two caveats: no local modifications, and need to build in-tree. 2018-09-05 10:18:32 +00:00
Daniel Shahaf
380da60118 43370: New maintainer-facing documentation. 2018-09-03 17:56:08 +00:00
Daniel Shahaf
112c575f73 unposted: Post-release version bump. 2018-09-03 15:11:13 +00:00
Daniel Shahaf
b30b89418a unposted: Release 5.6. 2018-09-03 15:09:57 +00:00
Anthony Sottile
1c4c7b6a4d
CVE-2018-0502, CVE-2018-13259: Fix two security issues in shebang line parsing.
See NEWS for more information.

Patch by Anthony Sottile and Buck Evan.
2018-09-03 15:07:47 +00:00
Daniel Shahaf
baef71ccfc 43367: Add maintainer targets 'tarxz-src' and 'targz-src'. 2018-09-03 14:57:43 +00:00
Oliver Kiddle
4599fc8ff7 mention Inf/NaN floating point changes in NEWS file 2018-09-03 16:26:50 +02:00
Oliver Kiddle
c257915890 unposted: Makefile.in: further to 43358 use same patchlevel form for the release file 2018-09-03 16:25:03 +02:00
Daniel Shahaf
5f0cda32b5 43333: Generate FAQ.html in the builddir, rather than in the srcdir, and add it to the default target of the Etc/ subdirectory.
This fixes `make targz-doc` in out-of-tree builds.
2018-09-03 13:38:26 +00:00
Peter Stephenson
3ad2ca3305 Don't handle ZLE functions for single key.
For read -k and read -q where we use ZLE, we just want a single
key and not full ZLE processing.  So don't handle timed
ZLE functions when preforming the read.
2018-09-03 10:09:22 +01:00
Oliver Kiddle
014eaf7e81 43358: enforce consistent patchlevel form 2018-08-31 23:34:11 +02:00