about summary refs log tree commit diff
path: root/Src/zsh.h
Commit message (Collapse)AuthorAgeFilesLines
* 52750: remove ansi2knr support for old pre-ansi K&R compilersOliver Kiddle2024-03-181-46/+46
|
* 52442: mark hookdef.name as constJörg Sommer2024-01-281-1/+1
| | | | | At least *zle_main* uses const strings to initialize its structure *zlehooks*.
* 51510: Skip namespaces in "set"/"typeset" output, add tests, fix bugBart Schaefer2023-03-061-0/+1
|
* 51509 (+ fix typo): Add ${(!)name} for the referred-to name of a named referenceBart Schaefer2023-03-061-0/+1
| | | | Extend ${!name} in ksh emulation for same
* 51483: Enable assignment and expansion of parameters with ksh-like namespace ↵Bart Schaefer2023-03-051-0/+2
| | | | prefixes.
* 51402: Some ksh/bash features, additional sanity checkingBart Schaefer2023-02-121-0/+4
| | | | | | | | | | | | * 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 $_
* 51360: Initial implementation of named references.Bart Schaefer2023-02-121-3/+5
|
* unposted: mention attributes changes, fix renumbering mistake and allow ↵Oliver Kiddle2023-01-111-1/+1
| | | | completion to offer prompt escapes for PROMPT_EOL_MARK
* 51281: keep track of attributes left on at the end of left and right prompts ↵Oliver Kiddle2023-01-101-1/+2
| | | | and reapply them explicitly as appropriate
* 51280: add support for italic and faint fonts in the line editorOliver Kiddle2023-01-101-22/+30
|
* 51258, 51272: refactor handling of terminal attributes, removing OFF flags ↵Oliver Kiddle2023-01-101-37/+8
| | | | in zattr
* 51212: remove STOUC() macroOliver Kiddle2022-12-161-13/+0
| | | | | This served as a workaround for ancient compilers where casts to unsigned char were broken.
* 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
|
* 51098: remove unreachable NOERREXIT_UNTIL_EXEC code and effectsPhilippe Altherr2022-12-031-2/+0
|
* 49989: Single byte versions of nice quoting.Peter Stephenson2022-04-051-2/+3
| | | | | Align interfaces for "nice" printing of characters with those for multibyte to make more available in single-byte compilation.
* unposted: Fix some typos and markup.Daniel Shahaf2022-02-221-1/+1
|
* 48560: add TYPESET_TO_UNSET option to remove initialization of parametersBart Schaefer2021-04-181-0/+3
| | | | | | | | | | Changes typeset such that ${newparam-notset} yields "notset" and "typeset -p newparam" does not show an assignment to the parameter. This is similar to the default behavior of bash and ksh, with minor differences in typeset output. Also add tests for some POSIX incompatibilities plus minor changes for test harness robustness.
* 47913: implement CASE_PATHS option to make NO_CASE_GLOB more sensibleBart Schaefer2021-04-101-0/+1
|
* 47510: drop code that avoided termcap for named coloursOliver Kiddle2021-04-031-8/+2
| | | | | | The inconsistency caused test failures where TERM is e.g. rxvt-unicode. This also makes a couple of bits available in zattr by removing flags indicating whether to use termcap which is not an attribute as such.
* 47364: Enable extendedglob in pattern with ${(*)name/pattern/replacement}Bart Schaefer2020-09-131-0/+1
| | | | Mikael Magnusson: 47382: Completion for 47364
* 47300: Document the EC_NODUP, EC_DUP, EC_DUPTOK triplet.Daniel Shahaf2020-08-081-3/+20
| | | | All uses reviewed; no functional change.
* unposted: comments explaining how hashtable must be createdRoman Perepelitsa2020-07-291-1/+4
| | | | See zsh-workers 46277, 46278, 46279.
* 46275: eliminate undefined behavior caused by redefinition of hashtableRoman Perepelitsa2020-07-291-4/+0
| | | | | struct hashtable has different set of data members in different translation units. This is undefined behavior.
* users/24971: ${(-)var} sorts on signed integersPeter Stephenson2020-07-031-3/+4
|
* 46026: Add CLOBBER_EMPTY option.Peter Stephenson2020-06-091-0/+1
|
* Add SHORT_REPEAT optionMikael Magnusson2020-04-021-0/+1
|
* 45583/0004: internal: Add some comments around wordcodes. No functional change.Daniel Shahaf2020-03-221-2/+6
|
* 45583/0003: internal: Add some comments around Eccstr. No functional change.Daniel Shahaf2020-03-221-2/+22
|
* Fix typos reported by codespell in Src/Mikael Magnusson2020-01-091-1/+1
|
* 45269: Fix misspellings in completions and elsewhere.Jens Schleusener2020-01-091-1/+1
|
* 45058: internal: Add symbolic names to possible values of zexit()'s ↵Daniel Shahaf2019-12-171-0/+8
| | | | "from_where" parameter. No functional change.
* 45004: Fix typos in commentsMartijn Dekker2019-12-111-8/+8
|
* 44198: Add cd_silent option to suppress all cd outputdana2019-04-121-0/+1
|
* 43759: add support for true colour terminalsOliver Kiddle2018-11-051-9/+24
|
* 43747: new module to map colours from hex triplets to the nearest matching ↵Oliver Kiddle2018-11-051-0/+7
| | | | colour
* 43674: Split more PM_ flags for variables and functions.Peter Stephenson2018-10-121-20/+19
| | | | | | This avoids using sign bit. Also bump dev version because of wordcode incompatibility.
* 43616: Various parameter setting and display fixes.Peter Stephenson2018-10-081-9/+14
| | | | | | Mostly to do with typeset -p and tied variables and their interaction. Some general tied variable fixes.
* 43446: More entersubsh() / addproc() wiring.Peter Stephenson2018-09-121-0/+8
| | | | | Fix additional races by passing back use of list_pipe_job from subshell.
* users/23472: Add $sysparams[procsubstpid] to zsh/systemPeter Stephenson2018-06-151-0/+1
|
* 42793: Always define FDT_PROC_SUBST even if not needed.Peter Stephenson2018-05-171-3/+2
| | | | This avoids proliferating #ifdef's.
* 42322 (tweaked): Fix interactive_comments history with just a coment.Peter Stephenson2018-01-241-0/+1
| | | | | Don't discard the line from the history merely because it produced no synactic words.
* 42245: Abort last word on interactve comment.Peter Stephenson2018-01-081-0/+1
| | | | Last recorded word should be the previous one.
* 42156: new CHECK_RUNNING_JOBS option demanded by bash groupiesPeter Stephenson2017-12-221-0/+1
| | | | | | | Also new job options. Also suppress debug error if rows or columns are reported as zero as this is normal without a physical terminal.
* 33395: Improvments for function managment.Peter Stephenson2017-12-221-0/+1
| | | | | | | | Functions defined inside other fucntions needs file line number adding. Particularly useful for anonymous fucntions. Add flag to indicate a function is anonymous. Done up to now by comparing the name to a pointer but this is more consistent.
* Add typeset -p1, like typeset -p with newlinesPeter Stephenson2017-10-011-5/+6
|
* 41764 (test tweaked): allow [key]+=value when modifying arraysPeter Stephenson2017-09-271-1/+3
|
* 41747: Don't create hash entry if just checking existence.Peter Stephenson2017-09-251-0/+1
| | | | Pass a flag in indicating this case.
* Updates for ksh array element syntax.Peter Stephenson2017-09-241-4/+16
| | | | | | | | Move detection of key/value pairs down into prefork(). Detect normal array assignment and [key]=val array assignemnt separately. Mark key / value pairs with Marker and pass up flag. Deal with marked triads specially later on.
* First go at var=([key]=value) syntax.Peter Stephenson2017-09-131-2/+15
| | | | | | | Works for both normal and typeset case, also var+=... Still to do: allow to be mixed with straight array assignment, improve typeset -p, implement [key]+=value.