summaryrefslogtreecommitdiff
path: root/Test
AgeCommit message (Collapse)AuthorFilesLines
2023-06-2251887: namespaces recognized in math, incorrect usages rejected.Bart Schaefer1-2/+50
2023-06-2251860: simplify suffix handling in _prefix to remove less accurate hackMarlon Richert2-1/+55
This solves the following problems in the _prefix completer: - The old code had logic for dealing with compstate[unambiguous] that was unnecessary. It works fine without it. - Because of this logic, if a widget set compstate[insert]=1 after calling _main_complete, an `x` was left after the completion on the command line. - If the same widget also set `compstate[to_end]=`, then instead, the last character of the inserted completion would be treated as an autoremovable suffix, with the actual suffix being inserted to the line as a normal character. - After inserting a completion, the cursor would move to the end of the entire current word on the command, not the end of word that was inserted. This is not what you want with _prefix, since you are trying to complete a word _before_ the one on the command line, after which you usually want to insert a separator, such as a space or slash, before the next word.
2023-06-0651816: add :S history modifier with pattern matchPeter Stephenson1-0/+10
2023-06-0651779: update completion test for 51761Marlon Richert1-5/+5
2023-05-2151348: Fix subscript completion bugs inside ~[...]Marlon Richert1-3/+13
When completing inside ~[...] (_with_ the trailing `]` present), the following bugs occured: - Subscript completion was skipped entirely when there were one or more slashes ('/') in the subscript, which is incorrect, since slashes are allowed there. - Instead of going through _complete, $_comps[-subscript-] was called immediately, causing _setup to be skipped. - If succesful, _main_complete was exited right after, causing menu-style, comppostfuncs and other essential completion features to be skipped.
2023-05-2151758: Make dynamic dir completion easier to implementMarlon Richert1-0/+11
2023-05-1351738: support pcre's alternative DFA matching algorithmOliver Kiddle1-0/+5
2023-05-1351728: assign pcre named capture groups to a hashOliver Kiddle1-0/+14
2023-05-1351723: migrate pcre module to pcre2Oliver Kiddle1-2/+11
2023-05-0851692: not skip tests for [[ -r/-N file ]] on CygwinJun-ichi Takimoto1-7/+1
2023-04-1751652: fix running of TRAPEXIT explicitly.Peter Stephenson1-0/+11
This is a special case where TRAPEXIT is unset within a TRAPEXIT as it should never run in a nested context, so just save the function structure temporarily on the heap.
2023-03-2951608: Don't execute commands after "continue &&"Peter Stephenson1-0/+36
Also ! continue ||
2023-03-0651510: Skip namespaces in "set"/"typeset" output, add tests, fix bugBart Schaefer1-0/+106
2023-02-1451437: Fix incorrectly-passed test case, masked by unrelated bug.Bart Schaefer1-2/+21
A bug with zmodload when unloading/reloading a static module caused the state of the shell options to change during K01 test. Worked around it. Also changed warnnestedvar messages to look more like other such.
2023-02-1451424: $(<...) shouldn't try to open a file with NO_EXECPeter Stephenson1-0/+3
2023-02-1351430: Misc. problems with typeset and $parametersBart Schaefer1-0/+14
* Fix and test for regression of assignment when using typeset command * Fix output of typeset +m and $parameters[ref] * Prevent segfault in typeset
2023-02-1251417: Check subscripts in named reference values more rigorously.Bart Schaefer1-2/+2
2023-02-1251403: Tests and documentation for 51402, clean up some other tests.Bart Schaefer1-9/+161
2023-02-1251374: Expose named references in $parameters, fix substitution error.Bart Schaefer2-16/+90
2023-02-1251361: Tests for 51360.Bart Schaefer2-0/+517
2023-02-0951320, 51383: fixes to prevent later reappearance of old attributesOliver Kiddle2-2/+2
Also associated test updates and a test fix for TERM=dumb.
2023-02-0651350: ${(S)...//#%...} didn't match the whole stringPeter Stephenson1-0/+7
2023-02-0251306: error message in ${unset?error} should be expandedPeter Stephenson1-0/+5
2023-02-0251307: Improve error on attempt to define function from aliased namePeter Stephenson1-1/+6
2023-01-27unposted (cribbed from users/28784 by Roman): Add XFail tests for ↵Daniel Shahaf1-0/+15
substituting a single-quoting backslash.
2023-01-1651278: make (i) subscript flag for zero-length string consistentPeter Stephenson1-0/+9
2023-01-1151297: update expected test results to match more optimised escape sequences ↵Oliver Kiddle1-8/+8
with recent changes
2023-01-1051258, 51272: refactor handling of terminal attributes, removing OFF flags ↵Oliver Kiddle2-7/+20
in zattr
2022-12-1751214: handle read -d and a delimiter that can't be decoded into a characterOliver Kiddle2-0/+18
Terminate input at the raw byte value of the delimiter. Also document and test the use of an empty string as a way to specify NUL as the delimiter.
2022-12-1751207: fix for read -d when the delimiter is a byte >= 0x80Jun-ichi Takimoto1-0/+6
2022-12-1651215: consume whole CSI sequences from the inputOliver Kiddle2-0/+29
This affects CSI sequences that aren't explicitly bound but arrive within the usual KEYTIMEOUT time limits. A single undefined-key widget is run instead of unintended bindings for Escape and other characters in the sequence.
2022-12-1251134: ! return doesn't change the return statusPeter Stephenson1-0/+12
2022-12-0351076: fix ERR_EXIT when used with "eval" or "source"; documentary commentsPhilippe Altherr1-0/+41
2022-12-0351071: fix ERR_RETURN for functions in conditional statementsPhilippe Altherr1-0/+16
2022-12-0351001: fix for ERR_EXIT following shell function; update testsPhilippe Altherr1-0/+82
2022-12-0351001: fix for ERR_EXIT with pipeline negation ("!"); update testsPhilippe Altherr1-0/+15
2022-12-0351001: fix for ERR_EXIT with "always" blocks; update testsPhilippe Altherr1-7/+29
2022-12-0351001: Reverts 8839e969b, most of 1ba8714a, and d873ed60.Philippe Altherr1-5/+10
Also correct ChangeLog
2022-12-0251079: metafy sep in array subscript flag (s:sep:)Jun-ichi Takimoto1-0/+5
this enable sep to contain \0 etc.
2022-11-23unposted (cf. 51016): Add a test case for underscore-followed-by-digits in ↵Daniel Shahaf1-0/+8
math context.
2022-11-0950928: fix tests for 50897, mention behavior change in NEWSBart Schaefer1-11/+6
2022-11-08users/28338: command substitution with alias edge case.Peter Stephenson1-0/+8
See added regression test.
2022-09-2750668: treat 8bit chars correctly when multibyte is unsetJun-ichi Takimoto1-0/+7
The problem was found in character range, but may have existed in other occasions
2022-09-2650662: unset LC_* for all the testsJun-ichi Takimoto1-13/+3
2022-09-2650658 + test: Enable to switch between C/UTF-8 locales in PCREJun-ichi Takimoto1-0/+11
2022-09-1550629: do not use egrep in testsJun-ichi Takimoto7-59/+23
2022-06-0950342: fix test added by 50306Jun-ichi Takimoto1-1/+1
2022-06-07Tweaks to MULTI_FUNC_DEFPeter Stephenson1-0/+20
Output multiple function definitions using "function" form. Note exceptions to errors with NO_MULTI_FUNC_DEF
2022-06-0350306: fix wait for child that was stopped/continuedJun-ichi Takimoto1-0/+7
do not call addbgstatus() when child is stopped/continued
2022-05-02Fix problems with tests for 50126 and 50150.Bart Schaefer2-1/+5