Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 51884: reset IFS if it contains invalid characters | Jun-ichi Takimoto | 2023-06-26 | 2 | -16/+29 | |
| | | | | This happens only if MULTIBYTE option is on. | |||||
* | 51887: namespaces recognized in math, incorrect usages rejected. | Bart Schaefer | 2023-06-22 | 2 | -4/+33 | |
| | ||||||
* | 51877: do not build pcre module if pcre2-config is not found | Jun-ichi Takimoto | 2023-06-20 | 1 | -1/+1 | |
| | ||||||
* | 51826: correctly read metafied null character from history file | Jun-ichi Takimoto | 2023-06-08 | 1 | -2/+8 | |
| | ||||||
* | 51816: add :S history modifier with pattern match | Peter Stephenson | 2023-06-06 | 2 | -8/+21 | |
| | ||||||
* | 51739: detect invalid history word beginning | Peter Stephenson | 2023-05-25 | 1 | -1/+6 | |
| | ||||||
* | 51769: fix compilation when HAVE_GETRUSAGE is not defined | Oliver Kiddle | 2023-05-21 | 2 | -1/+3 | |
| | | | | Also silence compiler warning when HAVE_SETUPTERM is not defined. | |||||
* | 51722: Safety for extracting elements of $historywords | Peter Stephenson | 2023-05-13 | 1 | -2/+9 | |
| | ||||||
* | 51738: support pcre's alternative DFA matching algorithm | Oliver Kiddle | 2023-05-13 | 1 | -17/+36 | |
| | ||||||
* | 51728: assign pcre named capture groups to a hash | Oliver Kiddle | 2023-05-13 | 1 | -10/+33 | |
| | ||||||
* | 51723: migrate pcre module to pcre2 | Oliver Kiddle | 2023-05-13 | 1 | -136/+87 | |
| | ||||||
* | users/29070: clean up tokens in cmdstr before compctl completion | Bart Schaefer | 2023-05-11 | 1 | -0/+2 | |
| | ||||||
* | 51670: prevent possible underflow in gettext() | Bart Schaefer | 2023-04-22 | 1 | -1/+1 | |
| | ||||||
* | 51652: fix running of TRAPEXIT explicitly. | Peter Stephenson | 2023-04-17 | 1 | -1/+33 | |
| | | | | | | 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. | |||||
* | 51639: new parameter ZSH_EXEPATH (full path of zsh executable) | Jun-ichi Takimoto | 2023-04-11 | 1 | -1/+116 | |
| | | | | | | The full pathname is obatined by a reliable method on macOS and systems that support procfs. But on other systems (FreeBSD, OpenBSD, ...) it is guessed from argv[0], PWD and PATH. | |||||
* | 51631: initialize $_ by copying it from environment | Jun-ichi Takimoto | 2023-04-09 | 1 | -3/+6 | |
| | ||||||
* | 51632: nmetafy $_ when exporting it to child | Jun-ichi Takimoto | 2023-04-09 | 1 | -1/+1 | |
| | ||||||
* | 51597: fix 'vared -c var' when var is unset | Jun-ichi Takimoto | 2023-04-03 | 1 | -1/+2 | |
| | ||||||
* | 51604: %M in TIMEFMT should report in kilobytes | Jun-ichi Takimoto | 2023-03-30 | 1 | -7/+7 | |
| | ||||||
* | 51608: Don't execute commands after "continue &&" | Peter Stephenson | 2023-03-29 | 1 | -2/+2 | |
| | | | | Also ! continue || | |||||
* | 51602: Handle SIGIOT as an alias to SIGABRT if they are the same signal number | Mikael Magnusson | 2023-03-28 | 2 | -4/+10 | |
| | ||||||
* | 58586: print "%s" with invalid multibyte character | Peter Stephenson | 2023-03-22 | 1 | -13/+14 | |
| | | | | Treat each byte that is invalid or part of an incopmlete set as a single byte. | |||||
* | 51573: additional "typset -p -m" fix for namespaces | Bart Schaefer | 2023-03-14 | 1 | -3/+5 | |
| | | | | | | | | The "-m pattern" option is supposed to enable printing namespaces, but that didn't work when combined with -p. The -p option could also cause an unset parameter to become set if a named reference pointed at it. | |||||
* | 51557: Clarify availability of ksh-mode parameters, improve vi-mode detection. | Bart Schaefer | 2023-03-11 | 1 | -2/+3 | |
| | ||||||
* | 51510: Skip namespaces in "set"/"typeset" output, add tests, fix bug | Bart Schaefer | 2023-03-06 | 4 | -8/+19 | |
| | ||||||
* | 51509 (+ fix typo): Add ${(!)name} for the referred-to name of a named reference | Bart Schaefer | 2023-03-06 | 3 | -9/+37 | |
| | | | | Extend ${!name} in ksh emulation for same | |||||
* | 51524: dependency on zsh/zle for linkage | Bart Schaefer | 2023-03-06 | 1 | -0/+2 | |
| | ||||||
* | 51485: module for several ksh93 features, mostly enabled only in ksh emulation. | Bart Schaefer | 2023-03-05 | 3 | -1/+274 | |
| | ||||||
* | 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 | 8 | -19/+40 | |
| | | | | prefixes. | |||||
* | unposted: fix memory leak flagged by coverity | Bart Schaefer | 2023-03-05 | 1 | -0/+1 | |
| | ||||||
* | 51491: Check should use zlemetacs instead of zlecs | Mikael Magnusson | 2023-02-28 | 1 | -1/+1 | |
| | | | | | | Coverity noticed that this first branch of the if statement has "meta" added to all the variable names except this zlecs at the end, so change it to match. | |||||
* | 51460: avoid crash on bad parameter autofeature | Bart Schaefer | 2023-02-26 | 1 | -6/+11 | |
| | ||||||
* | Fix access to autoloaded parameter. | Peter Stephenson | 2023-02-21 | 1 | -1/+1 | |
| | | | | Namerefef resolution needs to happen on the parameter after autoload. | |||||
* | 51431: "typeset -p" shouldn't change parameter flags | Bart Schaefer | 2023-02-20 | 1 | -13/+33 | |
| | ||||||
* | 51447: silence compiler maybe-uninitialized warning by combining a couple of ↵ | Oliver Kiddle | 2023-02-17 | 1 | -12/+13 | |
| | | | | variables | |||||
* | 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. | |||||
* | 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 | 3 | -8/+12 | |
| | | | | | | * 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 | 4 | -27/+124 | |
| | | | | | | | | | | | | * 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 | 2 | -5/+16 | |
| | ||||||
* | 51360: Initial implementation of named references. | Bart Schaefer | 2023-02-12 | 6 | -16/+262 | |
| | ||||||
* | 51404: Nullify filelist after deleting (fix segfault) | Bart Schaefer | 2023-02-12 | 1 | -2/+6 | |
| | ||||||
* | 51320, 51383: fixes to prevent later reappearance of old attributes | Oliver Kiddle | 2023-02-09 | 3 | -1/+5 | |
| | | | | Also associated test updates and a test fix for TERM=dumb. | |||||
* | 51350: ${(S)...//#%...} didn't match the whole string | Peter Stephenson | 2023-02-06 | 1 | -0/+3 | |
| | ||||||
* | 51306: error message in ${unset?error} should be expanded | Peter Stephenson | 2023-02-02 | 1 | -1/+5 | |
| | ||||||
* | 51307: Improve error on attempt to define function from aliased name | Peter Stephenson | 2023-02-02 | 2 | -2/+6 | |
| | ||||||
* | 51310: zle -F handlers preserve LASTWIDGET | Bart Schaefer | 2023-01-21 | 1 | -0/+2 | |
| | | | | Also fix email address in an old ChangeLog entry | |||||
* | 51278: make (i) subscript flag for zero-length string consistent | Peter Stephenson | 2023-01-16 | 1 | -1/+1 | |
| |