Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 52692: local typeset of the name of a named reference hides the reference | Bart Schaefer | 2024-03-05 | 1 | -3/+48 |
| | |||||
* | 52659: Fix crash on unset-through-nameref, add regression test | Bart Schaefer | 2024-03-04 | 1 | -0/+25 |
| | |||||
* | Add missing test case from 52652 | Bart Schaefer | 2024-03-04 | 1 | -0/+1 |
| | |||||
* | 52650 plus minor fixes: add -u for named references pointing to "upper" scope | Bart Schaefer | 2024-03-04 | 2 | -5/+52 |
| | |||||
* | 52641: incarg: add a backward variant and make it repeatable | midchildan | 2024-03-05 | 1 | -78/+280 |
| | |||||
* | 52635: show file name when test has crashed | Jun. T | 2024-03-02 | 1 | -0/+1 |
| | |||||
* | 52619 (plus tests): no empty element when appending array to unset scalar | Bart Schaefer | 2024-02-28 | 1 | -4/+17 |
| | |||||
* | 52583: extra check for proper scope and existence of readonly specials | Bart Schaefer | 2024-02-23 | 1 | -0/+41 |
| | |||||
* | 52559: revise "typeset -p" with respect to local readonly special parameters | Bart Schaefer | 2024-02-20 | 3 | -6/+25 |
| | | | | | Update doc and tests to describe handling of global readonly specials and to account for side-effects on zsh/param/private. | ||||
* | Merge branch 'master' of git://git.code.sf.net/p/zsh/code | Bart Schaefer | 2024-02-18 | 1 | -2/+14 |
|\ | |||||
| * | 52515: (+ tests in 52527) avoid sh errors when running shebang-less scripts ↵ | Stephane Chazelas | 2024-02-18 | 1 | -2/+14 |
| | | | | | | | | with paths starting with - or + | ||||
* | | 52556: regression test for unset referent (left out of last commit) | Bart Schaefer | 2024-02-18 | 1 | -0/+11 |
|/ | |||||
* | 52520: add new features and improvements to the "incarg" ZLE widget | midchildan | 2024-02-15 | 1 | -0/+360 |
| | | | | | | | | | | - Decrement integers without defining a new widget - Preserve the number of leading zeros - Increment binaries, octals, and hexadecimals - Move the cursor to the end of the incremented integer - Create a sequence of integers across terminal panes - Add a Vim variant - Also add tests | ||||
* | 52513: fixes and doc for using nofork substitutions with private parameters | Bart Schaefer | 2024-02-03 | 1 | -7/+111 |
| | | | | Also fixes a crash bug with {fd}>&N redirections and private parameters | ||||
* | 52405, 52502: add empty elements to $match for optional captures that don't ↵ | Oliver Kiddle | 2024-01-26 | 1 | -0/+5 |
| | | | | match | ||||
* | 52385: avoid "tr" in test output formatting | Bart Schaefer | 2024-01-25 | 1 | -2/+3 |
| | |||||
* | 52393: fix tests on Solaris by omitting -a option to diff as it is not ↵ | Oliver Kiddle | 2023-12-13 | 1 | -1/+3 |
| | | | | supported there | ||||
* | 52360: simplify and improve bad-descriptor detection in %prep section | Bart Schaefer | 2023-12-02 | 1 | -3/+2 |
| | |||||
* | 52325: Clarify doc for edge cases of named references and nofork substitution | Bart Schaefer | 2023-11-23 | 1 | -1/+1 |
| | | | | Unposted whitespace change avoids a parse error in ${ ... } with comments. | ||||
* | 52202: improve handling of quoting in ${var/pattern/replacement} | Bart Schaefer | 2023-11-15 | 1 | -4/+4 |
| | |||||
* | 52188: skip tests that fail if multibyte is not available | Jun-ichi Takimoto | 2023-09-27 | 1 | -6/+14 |
| | |||||
* | users/29160, workers/52156: Fix repetition of substitution modifier. | Bart Schaefer | 2023-09-16 | 1 | -0/+2 |
| | |||||
* | 52155: Test file missed out from previous commit | Bart Schaefer | 2023-09-16 | 1 | -0/+448 |
| | |||||
* | 52122 + 52129: fix (#) parameter expansion flag | Jun-ichi Takimoto | 2023-09-13 | 1 | -0/+40 |
| | | | | Without the X flag, null string "" is substituted for bad math expression. | ||||
* | 52115: permit repeated "private" declarations as long as types aren't changed | Bart Schaefer | 2023-09-05 | 1 | -0/+17 |
| | |||||
* | users/29220: fix bug with assignment to private following explicit unset | Bart Schaefer | 2023-09-03 | 1 | -0/+7 |
| | |||||
* | 52008: Pattern bug with branches + exclusion | Peter Stephenson | 2023-08-01 | 1 | -0/+26 |
| | | | | Add tests. | ||||
* | 51945: assorted documentation improvements, bug fixes, and new test | Bart Schaefer | 2023-07-26 | 1 | -1/+69 |
| | | | | | | | | | | | | | | 1) Document the behavior of "typeset -n existing_var" (via Jun T. comment) 2) Prohibit "typeset -nm pattern" because, well, it's insane. Add test. 3) Improve doc for ${(!)ref} including ${{t!)ref} (Jun T.) 4) Fix doc for how-to unset of a named ref (Jun T.) 5) Allow "typeset +r -n ref" and "typeset +r +n ref" (Jun T.) 6) Fix "typeset -r -n ref=param" to create readonly references 7) Avoid accidental removal of PM_UNSET flag (Jun T.) and update test 8) Fix "typeset -gn ref=value" and add a test for it 9) Add tests for read-only reference behavior 10) Fix infinite recursion when resolving scope of an unset local named reference, add test. | ||||
* | 51977: PIPEFAIL interaction with ERREXIT / ERRRETURN | Peter Stephenson | 2023-07-20 | 1 | -0/+58 |
| | | | | | | Ensure the list-level error handling code is executed if we detect pipe failure for a foreground job. Add tests. | ||||
* | 51884: reset IFS if it contains invalid characters | Jun-ichi Takimoto | 2023-06-26 | 1 | -0/+21 |
| | | | | This happens only if MULTIBYTE option is on. | ||||
* | 51887: namespaces recognized in math, incorrect usages rejected. | Bart Schaefer | 2023-06-22 | 1 | -2/+50 |
| | |||||
* | 51860: simplify suffix handling in _prefix to remove less accurate hack | Marlon Richert | 2023-06-22 | 2 | -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. | ||||
* | 51816: add :S history modifier with pattern match | Peter Stephenson | 2023-06-06 | 1 | -0/+10 |
| | |||||
* | 51779: update completion test for 51761 | Marlon Richert | 2023-06-06 | 1 | -5/+5 |
| | |||||
* | 51348: Fix subscript completion bugs inside ~[...] | Marlon Richert | 2023-05-21 | 1 | -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. | ||||
* | 51758: Make dynamic dir completion easier to implement | Marlon Richert | 2023-05-21 | 1 | -0/+11 |
| | |||||
* | 51738: support pcre's alternative DFA matching algorithm | Oliver Kiddle | 2023-05-13 | 1 | -0/+5 |
| | |||||
* | 51728: assign pcre named capture groups to a hash | Oliver Kiddle | 2023-05-13 | 1 | -0/+14 |
| | |||||
* | 51723: migrate pcre module to pcre2 | Oliver Kiddle | 2023-05-13 | 1 | -2/+11 |
| | |||||
* | 51692: not skip tests for [[ -r/-N file ]] on Cygwin | Jun-ichi Takimoto | 2023-05-08 | 1 | -7/+1 |
| | |||||
* | 51652: fix running of TRAPEXIT explicitly. | Peter Stephenson | 2023-04-17 | 1 | -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. | ||||
* | 51608: Don't execute commands after "continue &&" | Peter Stephenson | 2023-03-29 | 1 | -0/+36 |
| | | | | Also ! continue || | ||||
* | 51510: Skip namespaces in "set"/"typeset" output, add tests, fix bug | Bart Schaefer | 2023-03-06 | 1 | -0/+106 |
| | |||||
* | 51437: Fix incorrectly-passed test case, masked by unrelated bug. | Bart Schaefer | 2023-02-14 | 1 | -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. | ||||
* | 51424: $(<...) shouldn't try to open a file with NO_EXEC | Peter Stephenson | 2023-02-14 | 1 | -0/+3 |
| | |||||
* | 51430: Misc. problems with typeset and $parameters | Bart Schaefer | 2023-02-13 | 1 | -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 | ||||
* | 51417: Check subscripts in named reference values more rigorously. | Bart Schaefer | 2023-02-12 | 1 | -2/+2 |
| | |||||
* | 51403: Tests and documentation for 51402, clean up some other tests. | Bart Schaefer | 2023-02-12 | 1 | -9/+161 |
| | |||||
* | 51374: Expose named references in $parameters, fix substitution error. | Bart Schaefer | 2023-02-12 | 2 | -16/+90 |
| | |||||
* | 51361: Tests for 51360. | Bart Schaefer | 2023-02-12 | 2 | -0/+517 |
| |