summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2023-03-05unposted: fix memory leak flagged by coverityBart Schaefer1-0/+1
2023-02-2851491: Check should use zlemetacs instead of zlecsMikael Magnusson1-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.
2023-02-2651460: avoid crash on bad parameter autofeatureBart Schaefer1-6/+11
2023-02-21Fix access to autoloaded parameter.Peter Stephenson1-1/+1
Namerefef resolution needs to happen on the parameter after autoload.
2023-02-2051431: "typeset -p" shouldn't change parameter flagsBart Schaefer1-13/+33
2023-02-1751447: silence compiler maybe-uninitialized warning by combining a couple of ↵Oliver Kiddle1-12/+13
variables
2023-02-1451437: Fix incorrectly-passed test case, masked by unrelated bug.Bart Schaefer1-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.
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 Schaefer3-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
2023-02-1251417: Check subscripts in named reference values more rigorously.Bart Schaefer1-1/+10
2023-02-1251402: Some ksh/bash features, additional sanity checkingBart Schaefer4-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 $_
2023-02-1251374: Expose named references in $parameters, fix substitution error.Bart Schaefer2-5/+16
2023-02-1251360: Initial implementation of named references.Bart Schaefer6-16/+262
2023-02-1251404: Nullify filelist after deleting (fix segfault)Bart Schaefer1-2/+6
2023-02-0951320, 51383: fixes to prevent later reappearance of old attributesOliver Kiddle3-1/+5
Also associated test updates and a test fix for TERM=dumb.
2023-02-0651350: ${(S)...//#%...} didn't match the whole stringPeter Stephenson1-0/+3
2023-02-0251306: error message in ${unset?error} should be expandedPeter Stephenson1-1/+5
2023-02-0251307: Improve error on attempt to define function from aliased namePeter Stephenson2-2/+6
2023-01-2151310: zle -F handlers preserve LASTWIDGETBart Schaefer1-0/+2
Also fix email address in an old ChangeLog entry
2023-01-1651278: make (i) subscript flag for zero-length string consistentPeter Stephenson1-1/+1
2023-01-11unposted: mention attributes changes, fix renumbering mistake and allow ↵Oliver Kiddle1-1/+1
completion to offer prompt escapes for PROMPT_EOL_MARK
2023-01-1151295: where the end of a region coincides with the end of PREDISPLAY, don't ↵Oliver Kiddle1-3/+3
extend it to include new text Also fix issue where an int was used for a copy of attributes which breaks if int is smaller than zattr.
2023-01-1051292: fix dynamic updates of region_highlight to account for PREDISPLAYOliver Kiddle1-4/+4
2023-01-1051291: support for highlighting ellipses in the line editorOliver Kiddle2-25/+38
2023-01-1051290: fix display of control characters with SINGLE_LINE_ZLE setOliver Kiddle1-3/+3
2023-01-1051289: don't disable non-colour attributes in prompts for SINGLE_LINE_ZLE ↵Oliver Kiddle2-4/+1
and remove superfluous extra escapes to disable attributes
2023-01-1051281: keep track of attributes left on at the end of left and right prompts ↵Oliver Kiddle3-27/+24
and reapply them explicitly as appropriate
2023-01-1051280: add support for italic and faint fonts in the line editorOliver Kiddle4-48/+88
2023-01-1051258, 51272: refactor handling of terminal attributes, removing OFF flags ↵Oliver Kiddle15-471/+372
in zattr
2023-01-08unposted: In a comment, replace a C variables glob pattern with its matches, ↵Daniel Shahaf1-2/+2
for greppability.
2022-12-1751214: handle read -d and a delimiter that can't be decoded into a characterOliver Kiddle1-2/+5
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-3/+4
2022-12-1651212: remove STOUC() macroOliver Kiddle31-191/+180
This served as a workaround for ancient compilers where casts to unsigned char were broken.
2022-12-1651215: consume whole CSI sequences from the inputOliver Kiddle1-2/+25
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-15unposted: Follow-up to the last commit: Fix a typo in a comment.Daniel Shahaf1-1/+1
2022-12-15unposted: zsh.h: lextok: Add an explanatory comment with a cross-reference.Daniel Shahaf1-0/+3
2022-12-1351210: Clear errflag before calling EXIT trapBart Schaefer1-0/+4
If this is not done, special cases such as failures in special builtins or errors in math expressions skip the trap execution.
2022-12-1251134: ! return doesn't change the return statusPeter Stephenson1-1/+1
2022-12-0951161: correct errno after closing xtrace FDBart Schaefer1-0/+3
2022-12-0351094: consistent use of bit-manipulation for noerrexit value changesPhilippe Altherr2-4/+4
2022-12-0351098: remove unreachable NOERREXIT_UNTIL_EXEC code and effectsPhilippe Altherr3-26/+4
2022-12-0351076: fix ERR_EXIT when used with "eval" or "source"; documentary commentsPhilippe Altherr1-3/+43
2022-12-0351071: fix ERR_RETURN for functions in conditional statementsPhilippe Altherr1-7/+5
2022-12-0351001: fix for ERR_EXIT following shell function; update testsPhilippe Altherr1-9/+1
2022-12-0351001: fix for ERR_EXIT with pipeline negation ("!"); update testsPhilippe Altherr1-5/+8
2022-12-0351001: fix for ERR_EXIT with "always" blocks; update testsPhilippe Altherr1-0/+1
2022-12-0351001: Reverts 8839e969b, most of 1ba8714a, and d873ed60.Philippe Altherr2-9/+7
Also correct ChangeLog
2022-12-0251080: allow multibyte chars in glob qualifier (u:uname:)Jun-ichi Takimoto1-1/+1
2022-12-0251079: metafy sep in array subscript flag (s:sep:)Jun-ichi Takimoto1-3/+7
this enable sep to contain \0 etc.
2022-11-1750934: use OSC 52 escape sequence when copying to "* or "+ vi buffersOliver Kiddle3-4/+40