| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 54064: avoid crash on named references to argv/ARGC, improve valid_nameref() | Bart Schaefer | 2025-11-10 | 1 | -1/+86 |
| | | | | | Leaves some edgecase issues unresolved (see tests). | ||||
| * | 54057: enable assignment through named reference to change type of the referent | Philippe Altherr | 2025-11-09 | 1 | -2/+157 |
| | | |||||
| * | 53676+54009: Revise 52650+51945 for assignment to global through nameref | Bart Schaefer | 2025-10-26 | 1 | -5/+23 |
| | | | | | | Allows assignment to a global via nameref to succeed without creating a dereference loop. Update tests for changed behavior. | ||||
| * | 53798: report reference loops created when a reference goes out of scope | Philippe Altherr | 2025-10-26 | 1 | -0/+39 |
| | | |||||
| * | 53790: corrections to reference loop detection | Philippe Altherr | 2025-10-26 | 1 | -0/+19 |
| | | |||||
| * | 53797: fix creation of undeclared target variable through reference chain | Philippe Altherr | 2025-10-26 | 1 | -0/+14 |
| | | |||||
| * | 53796: fix local reference chains and detect self-reference across local scopes | Philippe Altherr | 2025-10-26 | 1 | -0/+10 |
| | | |||||
| * | 53782: Src/params.c, Test/K01nameref.ztst: changes to nameref base level: | Philippe Altherr | 2025-10-26 | 1 | -9/+44 |
| | | | | | | | - avoid changing base on assignment; - omit base level for up-scope references - do not follow reference chains for base level of new references | ||||
| * | 53781: fix loading of autoload variable via a reference | Philippe Altherr | 2025-10-26 | 1 | -0/+58 |
| | | |||||
| * | 53602: "typeset -nu" always refers to at a call level above the declaration | Bart Schaefer | 2025-05-12 | 1 | -10/+22 |
| | | |||||
| * | 53568: fix additional problems with reference scoping, update documentation | Bart Schaefer | 2025-05-09 | 1 | -2/+72 |
| | | | | | | Scope exits could miss some scope updates in named reference chains. References declared -u behave like any other reference upon scope exit. | ||||
| * | 53546,53557 (plus test): Fix scoping of "placeholder" named references | Bart Schaefer | 2025-05-06 | 1 | -0/+160 |
| | | | | | | | | When using placeholders declared several levels earlier than assignment: 1) Searching "up" for "typeset -n -u" could find deeper locals than intended 2) Searching for a subscript reference could skip to the top level 3) Exiting a function scope could incorrectly change the reference level | ||||
| * | 53431: fix assignment via named reference to parameters in outer scopes | Bart Schaefer | 2025-03-31 | 1 | -0/+47 |
| | | |||||
| * | 53348: Revise handling of incompatible typeset options when used with -n | Bart Schaefer | 2025-02-12 | 1 | -1/+1 |
| | | |||||
| * | 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 |
| | | |||||
| * | 52650 plus minor fixes: add -u for named references pointing to "upper" scope | Bart Schaefer | 2024-03-04 | 1 | -3/+50 |
| | | |||||
| * | 52559: revise "typeset -p" with respect to local readonly special parameters | Bart Schaefer | 2024-02-20 | 1 | -2/+2 |
| | | | | | | Update doc and tests to describe handling of global readonly specials and to account for side-effects on zsh/param/private. | ||||
| * | 52556: regression test for unset referent (left out of last commit) | Bart Schaefer | 2024-02-18 | 1 | -0/+11 |
| | | |||||
| * | 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. | ||||
| * | 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. | ||||
| * | 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 | 1 | -16/+89 |
| | | |||||
| * | 51361: Tests for 51360. | Bart Schaefer | 2023-02-12 | 1 | -0/+439 |
