1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-28 16:15:02 +01:00
Commit graph

9916 commits

Author SHA1 Message Date
Daniel Shahaf
9b4d67b464 unposted: LICENCE: Update year to $now (2017). 2017-01-08 03:21:05 +00:00
Peter Stephenson
48cadf48ff 40285: Be more careful with pattern allocation in history isearch.
If there are ZLE hooks to be called, they may use patterns, in
which case it's not safe to allocate the isearch pattern in the
static buffer.
2017-01-06 17:42:13 +00:00
Daniel Shahaf
9d87cd948e 40270 (after 39995): Add cross-reference for robustness. 2017-01-05 15:58:18 +00:00
Daniel Shahaf
385cb9b9f0 40264: _man: Complete all sections after '-a'.
Followup to 37634.
2017-01-05 15:58:17 +00:00
Daniel Shahaf
24337b3c60 users/22320: Etc/BUGS: Add 40240, label 40106. 2017-01-05 15:58:16 +00:00
Oliver Kiddle
c2b7c5abbe 40269: handle option exclusion within current word for clumped options
This replaces the change made in 13999 with an alternative approach.
2017-01-05 13:31:13 +01:00
Oliver Kiddle
8be732cbcc 40227: handle _arguments sets and rest arguments starting with a dash
This is a new approach to the problem first covered by 39611: checking
to see if an option-like argument belongs to one of the other sets.
2017-01-04 14:50:56 +01:00
Oliver Kiddle
a69b19d215 40226: tidy up some of the _arguments set code
Remove old code for applying explicit exclusions between sets which
fixes some odd behaviour. Some struct members were unused. Also added
some comments and test cases.
2017-01-04 14:42:39 +01:00
Barton E. Schaefer
c4dba4f2e6 users/22319: ${ary1:^ary2} should not change isarr state of expansion of ary1
Unless ary1 is made from a scalar, semantics of (@) in double quotes is lost.
2017-01-03 14:44:12 -08:00
Barton E. Schaefer
d0f7a3b2d6 40248: suppress errors from zshaddhistoryhook
and do not call it if no history entry will be written
2017-01-03 14:43:32 -08:00
Peter Stephenson
e90a512aa6 40265: Fix problems with pure string in patterns with Meta.
Copy instead of relying on jiggery pokery with memory reallocation.

Problem was triggering with string ending with Dash converted to -.
2017-01-03 14:43:41 +00:00
Paulo Andrade
8d4c98540d 40260: zero new space allocated in prompt buffer 2017-01-03 12:00:18 +00:00
Sebastian Gniazdowski
4fb4ce190c 40231: Optimise setarrvalue(). 2016-12-28 05:29:59 +00:00
Daniel Shahaf
d287f81340 40232: Remove SH_USE_BSD_ECHO autoconf test.
It is unused; doesn't make sense in "build on one box, install on many"
context; and its presence causes the downstream packages that install
config.h to be non-reproducible.
2016-12-28 03:32:19 +00:00
Barton E. Schaefer
044fcbabf1 unposted (see users/22287): _comp_options needs to disable ERR_RETURN 2016-12-27 11:14:27 -08:00
Barton E. Schaefer
5455798bb5 Oliver: 40118: alternate fix replacing 40115
This commit reverts 40115 (commit 3594f55f) thus restoring 38579, then
applies 40118: Relocate BUFFER/CURSOR reset to work around "fc -p" issue
2016-12-24 00:15:21 -08:00
Oliver Kiddle
02eb1595e8 40162: _arguments support for a match spec in combination with sets 2016-12-22 16:12:42 +01:00
Daniel Shahaf
fa88f57c06 unposted: Post-release version bump to 5.3.1-dev-0. 2016-12-22 11:08:48 +00:00
Peter Stephenson
06b1b7a37a unposted: Release 5.3.1 2016-12-21 18:40:13 +00:00
Baptiste Daroussin
5a98e318b0 40210: Add support modern FreeBSD and drop support for FreeBSD < 5 2016-12-18 14:55:57 +00:00
Baptiste Daroussin
8ae20a8589 40209: Fix typo in chflags completion 2016-12-18 14:55:56 +00:00
Daniel Shahaf
816084c0ac 40149: vcs_info git: Avoid a fork. 2016-12-16 10:48:10 +00:00
Daniel Shahaf
6bdb2e1deb 40203: Resolve 'printf --' question from grandparent commit (thanks Chet). 2016-12-16 00:59:57 +00:00
Barton E. Schaefer
c3e43541c0 40198: output of B02typeset differs when (( UID == 0 )) so do not attempt to redo that test in that case 2016-12-15 11:22:22 -08:00
Barton E. Schaefer
dc1f3aae60 40179: fix handling of "printf -" and "printf --"
unposted: regression test for 40179 / 37467
2016-12-14 11:01:09 -08:00
Peter Stephenson
5f2661376d unposted: update version to 5.3-dev-0.
Avoid installed version trashing 5.3 release.
2016-12-12 21:37:16 +00:00
Peter Stephenson
4cfdbdb877 unposted: Release 5.3 2016-12-11 16:52:20 +00:00
Barton E. Schaefer
efd3baf2a2 40134: silence spurious compiler warnings. 2016-12-10 19:13:53 -08:00
Daniel Shahaf
74b7c6b7d6 40139: tests: Convert comments to diagnostics; test backslashes. (after 40129) 2016-12-10 17:16:37 +00:00
Daniel Shahaf
03bd5e287f users/22182: Propagate 22161 docs patch to completion descriptions. 2016-12-10 15:04:22 +00:00
Oliver Kiddle
16f5d222fc 40137: document _external_pwds 2016-12-09 22:59:14 +01:00
Peter Stephenson
b1f62d9d03 unposted: 5.2-test-3 2016-12-09 19:35:04 +00:00
Peter Stephenson
f094b5b461 Document (E) parameter flag better.
It produces 1 more than any other use of an index for the
end of a match, helpfully.
2016-12-09 19:34:14 +00:00
Daniel Shahaf
7e40a89053 40117: Revert a hunk of 40035 that changed semantics incorrectly. 2016-12-09 10:37:04 +00:00
Peter Stephenson
063391f0d9 unposted: minor D07 typos 2016-12-09 10:31:47 +00:00
Peter Stephenson
2e307108a0 40138: Move regex multibyte test.
Put it last as it has an additional dependency.

Output a failure message indicating this.
2016-12-09 10:18:24 +00:00
Daniel Shahaf
feb4be4a5e 40126: zed (fned): When editing a new function. escape its name.
Example:

    % unfunction \(
    % fned \(
2016-12-09 08:21:07 +00:00
Oliver Kiddle
37cbead9f2 40130: mention some changes since 5.2 2016-12-09 00:05:56 +01:00
Oliver Kiddle
8c4e1b6832 40129: revert 39611, add code comments and test cases for _arguments 2016-12-09 00:00:30 +01:00
Oliver Kiddle
7630215ba0 40119: correct typo in comment 2016-12-08 23:55:53 +01:00
Oliver Kiddle
ece90dae42 40114: complete :/ with other parameter operators 2016-12-08 23:52:19 +01:00
Zhiming Wang
3594f55fc0 40115: revert 38579 due to bug restoring BUFFER after history search
This reverts commit 20948d0889.
2016-12-06 21:37:30 -08:00
Barton E. Schaefer
88d12b809a 40110: attempt to fix test failures on Solaris
B02typeset: ignore strerror text in test output, it differs by OS

C02cond: discard stderr when looking for a path to the "mount" command
2016-12-06 21:32:14 -08:00
Mikael Magnusson
a43e6e2db4 40107: _mount, _fusermount: fix quoting 2016-12-06 21:15:14 +01:00
Peter Stephenson
9f605904dd unposted: 5.2-test-2 2016-12-06 19:23:32 +00:00
Peter Stephenson
98e297931a 40102: Use subdirectory for test I/O files 2016-12-05 16:52:22 +00:00
Peter Stephenson
9649ef5888 40100: ERR_EXIT and ERR_RETURN test for anonymous functions.
Should trigger on non-zero status at end of function even if
behaviour is suppressed by code inside the function at the point
the status is set.
2016-12-05 13:49:45 +00:00
Peter Stephenson
0e4aa6f2f6 Additional case for ERR_RETURN and ERR_EXIT.
Don't trigger just because status is non-zero at end of
current shell group.
2016-12-05 12:29:23 +00:00
Peter Stephenson
c03228f9ed Extra case for ERR_RETURN and ERR_EXIT.
Don't trigger just because status is non-zero at end of
complex shell construct as this may be a case we've already
suppressed.
2016-12-05 11:21:01 +00:00
Daniel Shahaf
f71de84f1d unposted: vcs_info git: Handle rebase-apply sequences with >=10000 patches.
Review-by: Frank Terbeck
2016-12-04 21:37:02 +00:00