summaryrefslogtreecommitdiff
path: root/Src/zsh.h
AgeCommit message (Collapse)AuthorFilesLines
2025-01-27github #126: Fix some typosWu, Zhenyu1-1/+1
2024-12-2653257: use monotonic clock where appropriatedana1-2/+2
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
2024-03-1852750: remove ansi2knr support for old pre-ansi K&R compilersOliver Kiddle1-46/+46
2024-01-2852442: mark hookdef.name as constJörg Sommer1-1/+1
At least *zle_main* uses const strings to initialize its structure *zlehooks*.
2023-03-0651510: Skip namespaces in "set"/"typeset" output, add tests, fix bugBart Schaefer1-0/+1
2023-03-0651509 (+ fix typo): Add ${(!)name} for the referred-to name of a named referenceBart Schaefer1-0/+1
Extend ${!name} in ksh emulation for same
2023-03-0551483: Enable assignment and expansion of parameters with ksh-like namespace ↵Bart Schaefer1-0/+2
prefixes.
2023-02-1251402: Some ksh/bash features, additional sanity checkingBart Schaefer1-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 $_
2023-02-1251360: Initial implementation of named references.Bart Schaefer1-3/+5
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-1051281: keep track of attributes left on at the end of left and right prompts ↵Oliver Kiddle1-1/+2
and reapply them explicitly as appropriate
2023-01-1051280: add support for italic and faint fonts in the line editorOliver Kiddle1-22/+30
2023-01-1051258, 51272: refactor handling of terminal attributes, removing OFF flags ↵Oliver Kiddle1-37/+8
in zattr
2022-12-1651212: remove STOUC() macroOliver Kiddle1-13/+0
This served as a workaround for ancient compilers where casts to unsigned char were broken.
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-0351098: remove unreachable NOERREXIT_UNTIL_EXEC code and effectsPhilippe Altherr1-2/+0
2022-04-0549989: Single byte versions of nice quoting.Peter Stephenson1-2/+3
Align interfaces for "nice" printing of characters with those for multibyte to make more available in single-byte compilation.
2022-02-22unposted: Fix some typos and markup.Daniel Shahaf1-1/+1
2021-04-1848560: add TYPESET_TO_UNSET option to remove initialization of parametersBart Schaefer1-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.
2021-04-1047913: implement CASE_PATHS option to make NO_CASE_GLOB more sensibleBart Schaefer1-0/+1
2021-04-0347510: drop code that avoided termcap for named coloursOliver Kiddle1-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.
2020-09-1347364: Enable extendedglob in pattern with ${(*)name/pattern/replacement}Bart Schaefer1-0/+1
Mikael Magnusson: 47382: Completion for 47364
2020-08-0847300: Document the EC_NODUP, EC_DUP, EC_DUPTOK triplet.Daniel Shahaf1-3/+20
All uses reviewed; no functional change.
2020-07-29unposted: comments explaining how hashtable must be createdRoman Perepelitsa1-1/+4
See zsh-workers 46277, 46278, 46279.
2020-07-2946275: eliminate undefined behavior caused by redefinition of hashtableRoman Perepelitsa1-4/+0
struct hashtable has different set of data members in different translation units. This is undefined behavior.
2020-07-03users/24971: ${(-)var} sorts on signed integersPeter Stephenson1-3/+4
2020-06-0946026: Add CLOBBER_EMPTY option.Peter Stephenson1-0/+1
2020-04-02Add SHORT_REPEAT optionMikael Magnusson1-0/+1
2020-03-2245583/0004: internal: Add some comments around wordcodes. No functional change.Daniel Shahaf1-2/+6
2020-03-2245583/0003: internal: Add some comments around Eccstr. No functional change.Daniel Shahaf1-2/+22
2020-01-09Fix typos reported by codespell in Src/Mikael Magnusson1-1/+1
2020-01-0945269: Fix misspellings in completions and elsewhere.Jens Schleusener1-1/+1
2019-12-1745058: internal: Add symbolic names to possible values of zexit()'s ↵Daniel Shahaf1-0/+8
"from_where" parameter. No functional change.
2019-12-1145004: Fix typos in commentsMartijn Dekker1-8/+8
2019-04-1244198: Add cd_silent option to suppress all cd outputdana1-0/+1
2018-11-0543759: add support for true colour terminalsOliver Kiddle1-9/+24
2018-11-0543747: new module to map colours from hex triplets to the nearest matching ↵Oliver Kiddle1-0/+7
colour
2018-10-1243674: Split more PM_ flags for variables and functions.Peter Stephenson1-20/+19
This avoids using sign bit. Also bump dev version because of wordcode incompatibility.
2018-10-0843616: Various parameter setting and display fixes.Peter Stephenson1-9/+14
Mostly to do with typeset -p and tied variables and their interaction. Some general tied variable fixes.
2018-09-1243446: More entersubsh() / addproc() wiring.Peter Stephenson1-0/+8
Fix additional races by passing back use of list_pipe_job from subshell.
2018-06-15users/23472: Add $sysparams[procsubstpid] to zsh/systemPeter Stephenson1-0/+1
2018-05-1742793: Always define FDT_PROC_SUBST even if not needed.Peter Stephenson1-3/+2
This avoids proliferating #ifdef's.
2018-01-2442322 (tweaked): Fix interactive_comments history with just a coment.Peter Stephenson1-0/+1
Don't discard the line from the history merely because it produced no synactic words.
2018-01-0842245: Abort last word on interactve comment.Peter Stephenson1-0/+1
Last recorded word should be the previous one.
2017-12-2242156: new CHECK_RUNNING_JOBS option demanded by bash groupiesPeter Stephenson1-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.
2017-12-2233395: Improvments for function managment.Peter Stephenson1-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.
2017-10-01Add typeset -p1, like typeset -p with newlinesPeter Stephenson1-5/+6
2017-09-2741764 (test tweaked): allow [key]+=value when modifying arraysPeter Stephenson1-1/+3
2017-09-2541747: Don't create hash entry if just checking existence.Peter Stephenson1-0/+1
Pass a flag in indicating this case.