Commit Graph

9916 Commits (9b4d67b464b39ef5193cc962e2b60b57ce76f62f)
 

Author SHA1 Message Date
Daniel Shahaf 9b4d67b464 unposted: LICENCE: Update year to $now (2017). 7 years ago
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.
7 years ago
Daniel Shahaf 9d87cd948e 40270 (after 39995): Add cross-reference for robustness. 7 years ago
Daniel Shahaf 385cb9b9f0 40264: _man: Complete all sections after '-a'.
Followup to 37634.
7 years ago
Daniel Shahaf 24337b3c60 users/22320: Etc/BUGS: Add 40240, label 40106. 7 years ago
Oliver Kiddle c2b7c5abbe 40269: handle option exclusion within current word for clumped options
This replaces the change made in 13999 with an alternative approach.
7 years ago
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.
7 years ago
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.
7 years ago
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.
7 years ago
Barton E. Schaefer d0f7a3b2d6 40248: suppress errors from zshaddhistoryhook
and do not call it if no history entry will be written
7 years ago
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 -.
7 years ago
Paulo Andrade 8d4c98540d 40260: zero new space allocated in prompt buffer 7 years ago
Sebastian Gniazdowski 4fb4ce190c 40231: Optimise setarrvalue(). 7 years ago
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.
7 years ago
Barton E. Schaefer 044fcbabf1 unposted (see users/22287): _comp_options needs to disable ERR_RETURN 7 years ago
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
8 years ago
Oliver Kiddle 02eb1595e8 40162: _arguments support for a match spec in combination with sets 8 years ago
Daniel Shahaf fa88f57c06 unposted: Post-release version bump to 5.3.1-dev-0. 8 years ago
Peter Stephenson 06b1b7a37a unposted: Release 5.3.1 8 years ago
Baptiste Daroussin 5a98e318b0 40210: Add support modern FreeBSD and drop support for FreeBSD < 5 8 years ago
Baptiste Daroussin 8ae20a8589 40209: Fix typo in chflags completion 8 years ago
Daniel Shahaf 816084c0ac 40149: vcs_info git: Avoid a fork. 8 years ago
Daniel Shahaf 6bdb2e1deb 40203: Resolve 'printf --' question from grandparent commit (thanks Chet). 8 years ago
Barton E. Schaefer c3e43541c0 40198: output of B02typeset differs when (( UID == 0 )) so do not attempt to redo that test in that case 8 years ago
Barton E. Schaefer dc1f3aae60 40179: fix handling of "printf -" and "printf --"
unposted: regression test for 40179 / 37467
8 years ago
Peter Stephenson 5f2661376d unposted: update version to 5.3-dev-0.
Avoid installed version trashing 5.3 release.
8 years ago
Peter Stephenson 4cfdbdb877 unposted: Release 5.3 8 years ago
Barton E. Schaefer efd3baf2a2 40134: silence spurious compiler warnings. 8 years ago
Daniel Shahaf 74b7c6b7d6 40139: tests: Convert comments to diagnostics; test backslashes. (after 40129) 8 years ago
Daniel Shahaf 03bd5e287f users/22182: Propagate 22161 docs patch to completion descriptions. 8 years ago
Oliver Kiddle 16f5d222fc 40137: document _external_pwds 8 years ago
Peter Stephenson b1f62d9d03 unposted: 5.2-test-3 8 years ago
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.
8 years ago
Daniel Shahaf 7e40a89053 40117: Revert a hunk of 40035 that changed semantics incorrectly. 8 years ago
Peter Stephenson 063391f0d9 unposted: minor D07 typos 8 years ago
Peter Stephenson 2e307108a0 40138: Move regex multibyte test.
Put it last as it has an additional dependency.

Output a failure message indicating this.
8 years ago
Daniel Shahaf feb4be4a5e 40126: zed (fned): When editing a new function. escape its name.
Example:

    % unfunction \(
    % fned \(
8 years ago
Oliver Kiddle 37cbead9f2 40130: mention some changes since 5.2 8 years ago
Oliver Kiddle 8c4e1b6832 40129: revert 39611, add code comments and test cases for _arguments 8 years ago
Oliver Kiddle 7630215ba0 40119: correct typo in comment 8 years ago
Oliver Kiddle ece90dae42 40114: complete :/ with other parameter operators 8 years ago
Zhiming Wang 3594f55fc0 40115: revert 38579 due to bug restoring BUFFER after history search
This reverts commit 20948d0889.
8 years ago
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
8 years ago
Mikael Magnusson a43e6e2db4 40107: _mount, _fusermount: fix quoting 8 years ago
Peter Stephenson 9f605904dd unposted: 5.2-test-2 8 years ago
Peter Stephenson 98e297931a 40102: Use subdirectory for test I/O files 8 years ago
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.
8 years ago
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.
8 years ago
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.
8 years ago
Daniel Shahaf f71de84f1d unposted: vcs_info git: Handle rebase-apply sequences with >=10000 patches.
Review-by: Frank Terbeck
8 years ago