about summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
* 58586: print "%s" with invalid multibyte characterPeter Stephenson2023-03-221-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 namespacesBart Schaefer2023-03-141-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 Schaefer2023-03-111-2/+3
|
* 51510: Skip namespaces in "set"/"typeset" output, add tests, fix bugBart Schaefer2023-03-064-8/+19
|
* 51509 (+ fix typo): Add ${(!)name} for the referred-to name of a named referenceBart Schaefer2023-03-063-9/+37
| | | | Extend ${!name} in ksh emulation for same
* 51524: dependency on zsh/zle for linkageBart Schaefer2023-03-061-0/+2
|
* 51485: module for several ksh93 features, mostly enabled only in ksh emulation.Bart Schaefer2023-03-053-1/+274
|
* 51484: Extend named reference handling for special parameters, improve doc.Bart Schaefer2023-03-051-44/+64
|
* 51483: Enable assignment and expansion of parameters with ksh-like namespace ↵Bart Schaefer2023-03-058-19/+40
| | | | prefixes.
* unposted: fix memory leak flagged by coverityBart Schaefer2023-03-051-0/+1
|
* 51491: Check should use zlemetacs instead of zlecsMikael Magnusson2023-02-281-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 autofeatureBart Schaefer2023-02-261-6/+11
|
* Fix access to autoloaded parameter.Peter Stephenson2023-02-211-1/+1
| | | | Namerefef resolution needs to happen on the parameter after autoload.
* 51431: "typeset -p" shouldn't change parameter flagsBart Schaefer2023-02-201-13/+33
|
* 51447: silence compiler maybe-uninitialized warning by combining a couple of ↵Oliver Kiddle2023-02-171-12/+13
| | | | variables
* 51437: Fix incorrectly-passed test case, masked by unrelated bug.Bart Schaefer2023-02-141-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_EXECPeter Stephenson2023-02-141-0/+3
|
* 51430: Misc. problems with typeset and $parametersBart Schaefer2023-02-133-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 Schaefer2023-02-121-1/+10
|
* 51402: Some ksh/bash features, additional sanity checkingBart Schaefer2023-02-124-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 Schaefer2023-02-122-5/+16
|
* 51360: Initial implementation of named references.Bart Schaefer2023-02-126-16/+262
|
* 51404: Nullify filelist after deleting (fix segfault)Bart Schaefer2023-02-121-2/+6
|
* 51320, 51383: fixes to prevent later reappearance of old attributesOliver Kiddle2023-02-093-1/+5
| | | | Also associated test updates and a test fix for TERM=dumb.
* 51350: ${(S)...//#%...} didn't match the whole stringPeter Stephenson2023-02-061-0/+3
|
* 51306: error message in ${unset?error} should be expandedPeter Stephenson2023-02-021-1/+5
|
* 51307: Improve error on attempt to define function from aliased namePeter Stephenson2023-02-022-2/+6
|
* 51310: zle -F handlers preserve LASTWIDGETBart Schaefer2023-01-211-0/+2
| | | | Also fix email address in an old ChangeLog entry
* 51278: make (i) subscript flag for zero-length string consistentPeter Stephenson2023-01-161-1/+1
|
* unposted: mention attributes changes, fix renumbering mistake and allow ↵Oliver Kiddle2023-01-111-1/+1
| | | | completion to offer prompt escapes for PROMPT_EOL_MARK
* 51295: where the end of a region coincides with the end of PREDISPLAY, don't ↵Oliver Kiddle2023-01-111-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.
* 51292: fix dynamic updates of region_highlight to account for PREDISPLAYOliver Kiddle2023-01-101-4/+4
|
* 51291: support for highlighting ellipses in the line editorOliver Kiddle2023-01-102-25/+38
|
* 51290: fix display of control characters with SINGLE_LINE_ZLE setOliver Kiddle2023-01-101-3/+3
|
* 51289: don't disable non-colour attributes in prompts for SINGLE_LINE_ZLE ↵Oliver Kiddle2023-01-102-4/+1
| | | | and remove superfluous extra escapes to disable attributes
* 51281: keep track of attributes left on at the end of left and right prompts ↵Oliver Kiddle2023-01-103-27/+24
| | | | and reapply them explicitly as appropriate
* 51280: add support for italic and faint fonts in the line editorOliver Kiddle2023-01-104-48/+88
|
* 51258, 51272: refactor handling of terminal attributes, removing OFF flags ↵Oliver Kiddle2023-01-1015-471/+372
| | | | in zattr
* unposted: In a comment, replace a C variables glob pattern with its matches, ↵Daniel Shahaf2023-01-081-2/+2
| | | | for greppability.
* 51214: handle read -d and a delimiter that can't be decoded into a characterOliver Kiddle2022-12-171-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.
* 51207: fix for read -d when the delimiter is a byte >= 0x80Jun-ichi Takimoto2022-12-171-3/+4
|
* 51212: remove STOUC() macroOliver Kiddle2022-12-1631-191/+180
| | | | | This served as a workaround for ancient compilers where casts to unsigned char were broken.
* 51215: consume whole CSI sequences from the inputOliver Kiddle2022-12-161-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.
* unposted: Follow-up to the last commit: Fix a typo in a comment.Daniel Shahaf2022-12-151-1/+1
|
* unposted: zsh.h: lextok: Add an explanatory comment with a cross-reference.Daniel Shahaf2022-12-151-0/+3
|
* 51210: Clear errflag before calling EXIT trapBart Schaefer2022-12-131-0/+4
| | | | | If this is not done, special cases such as failures in special builtins or errors in math expressions skip the trap execution.
* 51134: ! return doesn't change the return statusPeter Stephenson2022-12-121-1/+1
|
* 51161: correct errno after closing xtrace FDBart Schaefer2022-12-091-0/+3
|
* 51094: consistent use of bit-manipulation for noerrexit value changesPhilippe Altherr2022-12-032-4/+4
|
* 51098: remove unreachable NOERREXIT_UNTIL_EXEC code and effectsPhilippe Altherr2022-12-033-26/+4
|