| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | unposted (c.f. Bart: 54112): remove unintended Unicode characters | Oliver Kiddle | 2025-11-27 | 1 | -2/+2 |
| | | |||||
| * | 54093 (tweaked per 54101): Cleanup isarr fields and variables | Philippe Altherr | 2025-11-24 | 1 | -91/+93 |
| | | |||||
| * | 54064: avoid crash on named references to argv/ARGC, improve valid_nameref() | Bart Schaefer | 2025-11-10 | 1 | -25/+42 |
| | | | | | 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 | -14/+54 |
| | | |||||
| * | 54019: AIX support fixes | Oliver Kiddle | 2025-11-03 | 1 | -2/+2 |
| | | |||||
| * | 54007: remove some uses of mod_export that were likely unintended | Oliver Kiddle | 2025-10-31 | 1 | -16/+14 |
| | | |||||
| * | 53676+54009: Revise 52650+51945 for assignment to global through nameref | Bart Schaefer | 2025-10-26 | 1 | -4/+3 |
| | | | | | | 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 | -15/+7 |
| | | |||||
| * | 53797: fix creation of undeclared target variable through reference chain | Philippe Altherr | 2025-10-26 | 1 | -1/+1 |
| | | |||||
| * | 53796: fix local reference chains and detect self-reference across local scopes | Philippe Altherr | 2025-10-26 | 1 | -2/+0 |
| | | |||||
| * | 53782: Src/params.c, Test/K01nameref.ztst: changes to nameref base level: | Philippe Altherr | 2025-10-26 | 1 | -40/+50 |
| | | | | | | | - 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 | -11/+18 |
| | | |||||
| * | unposted: fix silly bug wherein ${(!)ref} uppercased the referent name | Bart Schaefer | 2025-05-14 | 1 | -1/+2 |
| | | |||||
| * | 53602: "typeset -nu" always refers to at a call level above the declaration | Bart Schaefer | 2025-05-12 | 1 | -5/+6 |
| | | |||||
| * | unposted: fix bad pointer found by valgrind | Bart Schaefer | 2025-05-09 | 1 | -0/+1 |
| | | |||||
| * | 53568: fix additional problems with reference scoping, update documentation | Bart Schaefer | 2025-05-09 | 1 | -4/+12 |
| | | | | | | 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 | -6/+22 |
| | | | | | | | | 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 | -1/+5 |
| | | |||||
| * | 53257: use monotonic clock where appropriate | dana | 2024-12-26 | 1 | -20/+18 |
| | | | | | | | | | | | | | | | | update the following features to use the monotonic clock for calculating time deltas and intervals: * MAILCHECK parameter * PERIOD parameter * SECONDS parameter * %(nS.t.f) prompt-expansion sequence * time built-in's elapsed time and cpu % values * zsh/zftp ZFTP_TMOUT parameter * zsh/zprof timings also use CLOCK_MONOTONIC_RAW instead of CLOCK_MONOTONIC on macOS | ||||
| * | 53209 + tests: do not unmetafy via string pointers into global parameter table | Bart Schaefer | 2024-11-05 | 1 | -1/+2 |
| | | |||||
| * | 53026: fix failure to free old value when setting new value of reference | Jun. T | 2024-08-06 | 1 | -1/+2 |
| | | |||||
| * | 53025: fix memory leaks and pointer errors upon named reference self-reference | Bart Schaefer | 2024-08-05 | 1 | -5/+7 |
| | | |||||
| * | 53023: fix memory leak of unset private parameter | Bart Schaefer | 2024-08-05 | 1 | -1/+1 |
| | | |||||
| * | 52752: typeset -p fixes for local exports and "export -x" / "readonly -r" ↵ | Bart Schaefer | 2024-03-14 | 1 | -3/+18 |
| | | | | | output. | ||||
| * | 52692: local typeset of the name of a named reference hides the reference | Bart Schaefer | 2024-03-05 | 1 | -1/+2 |
| | | |||||
| * | unposted (cf. 52617): only scalars can instantiate a declared named reference | Bart Schaefer | 2024-03-04 | 1 | -2/+8 |
| | | |||||
| * | 52650 plus minor fixes: add -u for named references pointing to "upper" scope | Bart Schaefer | 2024-03-04 | 1 | -12/+20 |
| | | |||||
| * | 52652: fix obscure bug unsetting the array part of a tied parameter pair | Bart Schaefer | 2024-03-02 | 1 | -2/+5 |
| | | |||||
| * | 52619 (plus tests): no empty element when appending array to unset scalar | Bart Schaefer | 2024-02-28 | 1 | -1/+1 |
| | | |||||
| * | 52594: support for POSIX real-time signals with kill and trap | Oliver Kiddle | 2024-02-28 | 1 | -2/+12 |
| | | | | | Also add new -L option to kill for a more verbose listing of signals | ||||
| * | 52583: extra check for proper scope and existence of readonly specials | Bart Schaefer | 2024-02-23 | 1 | -2/+23 |
| | | |||||
| * | 52559: revise "typeset -p" with respect to local readonly special parameters | Bart Schaefer | 2024-02-20 | 1 | -2/+22 |
| | | | | | | Update doc and tests to describe handling of global readonly specials and to account for side-effects on zsh/param/private. | ||||
| * | unposted: referent of named reference cannot start with digits | Bart Schaefer | 2024-02-18 | 1 | -0/+2 |
| | | | | | This duplicates ksh behavior and doesn't change useful functionality. | ||||
| * | 52513: fixes and doc for using nofork substitutions with private parameters | Bart Schaefer | 2024-02-03 | 1 | -4/+13 |
| | | | | | Also fixes a crash bug with {fd}>&N redirections and private parameters | ||||
| * | 52244: Fix a batch of minor defects reported by Coverity. | Bart Schaefer | 2023-10-26 | 1 | -3/+2 |
| | | | | | | | Coverity defects 1547831, 1547826 (remove unused function), 1521551, 1500752, 1500747, 1401549, 1372423, 1270645, 1255799, 1255792, 1255789, 1255787, 1255782, 1255750 | ||||
| * | 52195: cached_username is already metafied when initializing LOGNAME | Bart Schaefer | 2023-10-01 | 1 | -4/+3 |
| | | |||||
| * | 52193: handle UTF8-encoded USERNAME and therefore home directory in zcompile | Bart Schaefer | 2023-10-01 | 1 | -1/+1 |
| | | | | | Includes one unposted thinko fix ztrdup -> dupstring | ||||
| * | 51945: assorted documentation improvements, bug fixes, and new test | Bart Schaefer | 2023-07-26 | 1 | -4/+10 |
| | | | | | | | | | | | | | | | 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. | ||||
| * | 51884: reset IFS if it contains invalid characters | Jun-ichi Takimoto | 2023-06-26 | 1 | -0/+3 |
| | | | | | This happens only if MULTIBYTE option is on. | ||||
| * | 51887: namespaces recognized in math, incorrect usages rejected. | Bart Schaefer | 2023-06-22 | 1 | -1/+26 |
| | | |||||
| * | 51510: Skip namespaces in "set"/"typeset" output, add tests, fix bug | Bart Schaefer | 2023-03-06 | 1 | -0/+4 |
| | | |||||
| * | 51509 (+ fix typo): Add ${(!)name} for the referred-to name of a named reference | Bart Schaefer | 2023-03-06 | 1 | -2/+5 |
| | | | | | Extend ${!name} in ksh emulation for same | ||||
| * | 51484: Extend named reference handling for special parameters, improve doc. | Bart Schaefer | 2023-03-05 | 1 | -44/+64 |
| | | |||||
| * | 51483: Enable assignment and expansion of parameters with ksh-like namespace ↵ | Bart Schaefer | 2023-03-05 | 1 | -5/+6 |
| | | | | | prefixes. | ||||
| * | Fix access to autoloaded parameter. | Peter Stephenson | 2023-02-21 | 1 | -1/+1 |
| | | | | | Namerefef resolution needs to happen on the parameter after autoload. | ||||
| * | 51437: Fix incorrectly-passed test case, masked by unrelated bug. | Bart Schaefer | 2023-02-14 | 1 | -2/+3 |
| | | | | | | | 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 | -1/+1 |
| | | | | | | | * 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 | -1/+10 |
| | | |||||
| * | 51402: Some ksh/bash features, additional sanity checking | Bart Schaefer | 2023-02-12 | 1 | -12/+80 |
| | | | | | | | | | | | | | * Add "unset -n" * Allow and enforce "typeset -n -r" for read-only references * "can't change type via subscript reference" error * Better checking for self-referential declarations/assignments * Ksh-style "foo=bar; typeset -n foo" creates foo=bar reference * Support "typeset -n ref; for ref in ..." * Subscripted references use NO_EXEC for safety * References assigned in called scopes reset scope at end * Allow named references to $! $? $$ $- $0 $_ | ||||
| * | 51374: Expose named references in $parameters, fix substitution error. | Bart Schaefer | 2023-02-12 | 1 | -2/+8 |
| | | |||||
