1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 06:49:49 +02:00
Commit Graph

10138 Commits

Author SHA1 Message Date
Peter Stephenson
a3b3f00575 41420: "{.." wasn't check for brace expansion properly 2017-07-13 17:20:24 +01:00
Marcin Mielniczuk
050f752ed2 41409: complete "django startproject" 2017-07-11 09:13:51 +01:00
Peter Stephenson
2b3a4d1851 unposted: update dev version due to wordcode changes 2017-07-09 20:16:31 +01:00
Sebastian Gniazdowski
b31f947795 41402: Delay has_tokens() in ecstrcode as may not be needed 2017-07-09 17:38:01 +01:00
Sebastian Gniazdowski
e556f9c78d 41402: Add hasher to ecstrcode to reduce string comparisons 2017-07-09 17:34:55 +01:00
Peter Stephenson
a955065cda Delay processing "disown" for superjob.
This is a job forked from the current shell when a job partly
running from the current shell was suspended.  When all associated
processes started from the main shell are finished the job is
continued and at this point the disown can complete.
2017-07-04 09:40:45 +01:00
Maxime de Roucy
cdd9402224 Avoid invalid access with isearch in completion list 2017-07-04 09:38:23 +01:00
Sebastian Gniazdowski
6116fdb277 41375: GDBM interface bug fixes 2017-07-03 10:02:01 +01:00
Peter Stephenson
ae10f88bfb 41386: when backgrounding a STAT_CURSH job, remove the flag.
This typical applies to a STAT_SUPERJOB.  It prevents it from
getting copied interrupts as a foreground process.
2017-07-02 21:00:56 +01:00
Peter Stephenson
e8edd42f7f 22760: fix partial string length reports with NO_MULTIBYTE 2017-07-02 20:29:00 +01:00
Peter Stephenson
e19955614f 41368: Add missing unqueue_signals() to compctl. 2017-06-27 10:12:55 +01:00
Peter Stephenson
d78761c003 41345: Use consistent prompt variables in prompt themese.
Some more sanity may be needed in this area but this apsect seems
uncontroversial.
2017-06-26 11:16:38 +01:00
Axel Beckert
a0f33b5a6b 41342: check for Yodl version 4 2017-06-22 10:06:39 +01:00
Peter Stephenson
c5783576e8 41339: Unquote treeish argument for git checkout completion 2017-06-22 10:05:07 +01:00
Phil Pennock
825f84c77e 41308 (tweaked): behaviour of PCRE with NUL bytes 2017-06-22 09:24:33 +01:00
Mikael Magnusson
8a62bbb46a 41319: dupstring a possibly readonly string before modifying 2017-06-19 16:18:36 -07:00
Barton E. Schaefer
c186ae41bd unposted: Credit to Sebastian 2017-06-19 16:15:26 -07:00
Barton E. Schaefer
9de905b22f 41322: reduce number of changes in signal queuing/blocking state during shingetline() to improve read speed 2017-06-19 16:14:32 -07:00
Barton E. Schaefer
a5ed661f25 41317: use heap allocation in getoutputfile() to plug memory leak
Heap is usable ever since addfilelist() of workers/31528 (commit 3c573222).
2017-06-19 16:06:38 -07:00
Barton E. Schaefer
efae75f648 41242: zstrbcmp(...) removed in favor of zstrcmp(..., SORTIT_IGNORING_BACKSLASHES)
This should make sorting consistent in completion listings vs. elsewhere.
2017-06-17 10:25:43 -07:00
Wieland Hoffmann
cf72c2d288 41265: quote the inserted file names as necessary 2017-06-16 22:28:54 -07:00
Eric Cook
6ecc34a55e unposted: fix typo in url-quote-magic 2017-06-13 21:47:48 -04:00
Stephane Chazelas
4d007e269d 41275: Leave stdin open when executing widgets 2017-06-13 21:34:55 -04:00
Peter Stephenson
eb783754bd 41284: Fix NULL dereference in cd.
This happened in sh compatiblity mode if HOME was not set
and cd was used with no argument.
2017-06-13 15:41:00 +01:00
Peter Stephenson
d5c22d356b 41244: Add zmodload -s option.
Doesn't complain if module is unavailable, but prints more
obscure errors.

Use existing low-level silent flag by passing through
intermediate module loading hierarchy.
2017-06-12 10:10:23 +01:00
Daniel Shahaf
18aede9ee5 unposted: Add to Etc/BUGS 41184,41203,41254 about STTY and about modules. 2017-06-09 16:31:30 +00:00
Peter Stephenson
d4947e67cc 41239: Save and restore default history event on context stack.
This ensures that the default event set by an expansion in ZLE
doesn't propagate to the command line expansion.
2017-06-07 10:03:41 +01:00
Sebastian Gniazdowski
d6d7ef2a0d 41232: Use page up/down keys in zed keymap.
Find with terminfo where available.
2017-06-07 10:01:38 +01:00
Barton E. Schaefer
11d2dbda38 41225: sethparam() should not attempt to change special parameters into hashes 2017-06-05 09:45:45 -07:00
Peter Stephenson
a6135f6114 41191: Check for immortal thingies when checking for specific thingies 2017-06-01 17:56:14 +01:00
Jun-ichi Takimoto
01fb569009 41177: _nm: add support for macOS and OpenBSD 2017-06-01 00:11:41 +09:00
Peter Stephenson
151a4660e2 41164: Don't free a history entry if it's curline.
This replaces 41113 / 94014ff65b with a simple local change for the
immediate problem.  It's not entirely clear if this reflects wider
changes in the structure of the history code.
2017-05-30 09:39:32 +01:00
Sebastian Gniazdowski
284b5aaeb0 41151: propagate flags when creating new parameter 2017-05-28 13:17:26 -07:00
Sebastian Gniazdowski
ca0607c4c2 41153: finish module setup only after all error conditions have been checked 2017-05-28 13:15:06 -07:00
Barton E. Schaefer
11304f7318 unposted: clarify ZLS_COLORS pattern matching contexts 2017-05-28 11:32:10 -07:00
Barton E. Schaefer
5ded0ad967 41159: handle "Include" and "HostName" lines in ~/.ssh/config
Added 2>/dev/null to conceal file access errors.
2017-05-28 11:27:55 -07:00
Sebastian Gniazdowski
62c416915b 41146: careul in GDBM freeing strings with embedded nulls 2017-05-24 15:55:42 +01:00
Sebastian Gniazdowski
135075e48c 40898: fix GDBM error handling 2017-05-24 15:53:42 +01:00
Stephane Chazelas
99fff8f15c 41142: Ensure close-on-exec is passed to moved file descriptor 2017-05-23 17:03:31 +01:00
Marko Myllynen
dd672b79ce 41087: Update kvno completion to MIT krb 1.14 2017-05-22 15:00:41 +01:00
Marko Myllynen
eacb87988e 41086: Update librt completions 2017-05-22 14:58:49 +01:00
Marko Myllynen
d14686860d 41085: Update OpenStack completions 2017-05-22 14:57:21 +01:00
Jörg Sommer
f667cfcc68 41128: typo in compsys documentation 2017-05-22 10:10:07 +01:00
Peter Stephenson
14b5fae69e users/22707: Document extra use of accept-exact-dirs
It allows completion after magically appearing directories that
dont't show up in the parent directory by supressing searching
of the parent directory if the subdirectory is directly found
to exist.
2017-05-19 11:16:10 +01:00
Peter Stephenson
94014ff65b 41113 (tweaked): Save current line linkage to history ring.
When saving history state save whether the current history line
is linked into the ring and remove it, and restore as appropriate
later.  This avoids surprises where the history ring is freed
and incorrectly frees the current state in curline, which has
a different allocation strategy.

Original patch tweaked to make restoring more logical.
2017-05-18 09:33:08 +01:00
Jun-ichi Takimoto
171e7fa4c1 41090: Replace iswprint() if unicode9 is enabled.
If wcwidth() or iswprint() is broken, force enable unicode9.
2017-05-12 12:10:13 +09:00
Peter Stephenson
4bb81eefbd 41096: Don't assume null termination copying string.
At this point the string may contain embedded nulls or not have
a null termination at all.

Also, as we always have the length memcpy() is more efficient.
2017-05-11 17:33:30 +01:00
Peter Stephenson
1caaa933b4 unposted: Adding comments to test changed line number in output 2017-05-09 21:02:34 +01:00
Peter Stephenson
c7a9cf465d 40181: Fix buffer overrun in xsymlinks.
There was no check for copying to the internal xbuf2 for a
preliminary test.
2017-05-09 17:49:18 +01:00
Peter Stephenson
263a0c2476 41078: Empty psvar could cause bad dereference in prompt expansion 2017-05-09 09:46:23 +01:00