Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 51510: Skip namespaces in "set"/"typeset" output, add tests, fix bug | Bart Schaefer | 2023-03-06 | 1 | -0/+1 |
| | |||||
* | 51509 (+ fix typo): Add ${(!)name} for the referred-to name of a named reference | Bart Schaefer | 2023-03-06 | 1 | -0/+1 |
| | | | | Extend ${!name} in ksh emulation for same | ||||
* | 51483: Enable assignment and expansion of parameters with ksh-like namespace ↵ | Bart Schaefer | 2023-03-05 | 1 | -0/+2 |
| | | | | prefixes. | ||||
* | 51402: Some ksh/bash features, additional sanity checking | Bart Schaefer | 2023-02-12 | 1 | -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 Schaefer | 2023-02-12 | 1 | -3/+5 |
| | |||||
* | unposted: mention attributes changes, fix renumbering mistake and allow ↵ | Oliver Kiddle | 2023-01-11 | 1 | -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 Kiddle | 2023-01-10 | 1 | -1/+2 |
| | | | | and reapply them explicitly as appropriate | ||||
* | 51280: add support for italic and faint fonts in the line editor | Oliver Kiddle | 2023-01-10 | 1 | -22/+30 |
| | |||||
* | 51258, 51272: refactor handling of terminal attributes, removing OFF flags ↵ | Oliver Kiddle | 2023-01-10 | 1 | -37/+8 |
| | | | | in zattr | ||||
* | 51212: remove STOUC() macro | Oliver Kiddle | 2022-12-16 | 1 | -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 Shahaf | 2022-12-15 | 1 | -1/+1 |
| | |||||
* | unposted: zsh.h: lextok: Add an explanatory comment with a cross-reference. | Daniel Shahaf | 2022-12-15 | 1 | -0/+3 |
| | |||||
* | 51098: remove unreachable NOERREXIT_UNTIL_EXEC code and effects | Philippe Altherr | 2022-12-03 | 1 | -2/+0 |
| | |||||
* | 49989: Single byte versions of nice quoting. | Peter Stephenson | 2022-04-05 | 1 | -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 Shahaf | 2022-02-22 | 1 | -1/+1 |
| | |||||
* | 48560: add TYPESET_TO_UNSET option to remove initialization of parameters | Bart Schaefer | 2021-04-18 | 1 | -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 sensible | Bart Schaefer | 2021-04-10 | 1 | -0/+1 |
| | |||||
* | 47510: drop code that avoided termcap for named colours | Oliver Kiddle | 2021-04-03 | 1 | -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 Schaefer | 2020-09-13 | 1 | -0/+1 |
| | | | | Mikael Magnusson: 47382: Completion for 47364 | ||||
* | 47300: Document the EC_NODUP, EC_DUP, EC_DUPTOK triplet. | Daniel Shahaf | 2020-08-08 | 1 | -3/+20 |
| | | | | All uses reviewed; no functional change. | ||||
* | unposted: comments explaining how hashtable must be created | Roman Perepelitsa | 2020-07-29 | 1 | -1/+4 |
| | | | | See zsh-workers 46277, 46278, 46279. | ||||
* | 46275: eliminate undefined behavior caused by redefinition of hashtable | Roman Perepelitsa | 2020-07-29 | 1 | -4/+0 |
| | | | | | struct hashtable has different set of data members in different translation units. This is undefined behavior. | ||||
* | users/24971: ${(-)var} sorts on signed integers | Peter Stephenson | 2020-07-03 | 1 | -3/+4 |
| | |||||
* | 46026: Add CLOBBER_EMPTY option. | Peter Stephenson | 2020-06-09 | 1 | -0/+1 |
| | |||||
* | Add SHORT_REPEAT option | Mikael Magnusson | 2020-04-02 | 1 | -0/+1 |
| | |||||
* | 45583/0004: internal: Add some comments around wordcodes. No functional change. | Daniel Shahaf | 2020-03-22 | 1 | -2/+6 |
| | |||||
* | 45583/0003: internal: Add some comments around Eccstr. No functional change. | Daniel Shahaf | 2020-03-22 | 1 | -2/+22 |
| | |||||
* | Fix typos reported by codespell in Src/ | Mikael Magnusson | 2020-01-09 | 1 | -1/+1 |
| | |||||
* | 45269: Fix misspellings in completions and elsewhere. | Jens Schleusener | 2020-01-09 | 1 | -1/+1 |
| | |||||
* | 45058: internal: Add symbolic names to possible values of zexit()'s ↵ | Daniel Shahaf | 2019-12-17 | 1 | -0/+8 |
| | | | | "from_where" parameter. No functional change. | ||||
* | 45004: Fix typos in comments | Martijn Dekker | 2019-12-11 | 1 | -8/+8 |
| | |||||
* | 44198: Add cd_silent option to suppress all cd output | dana | 2019-04-12 | 1 | -0/+1 |
| | |||||
* | 43759: add support for true colour terminals | Oliver Kiddle | 2018-11-05 | 1 | -9/+24 |
| | |||||
* | 43747: new module to map colours from hex triplets to the nearest matching ↵ | Oliver Kiddle | 2018-11-05 | 1 | -0/+7 |
| | | | | colour | ||||
* | 43674: Split more PM_ flags for variables and functions. | Peter Stephenson | 2018-10-12 | 1 | -20/+19 |
| | | | | | | This avoids using sign bit. Also bump dev version because of wordcode incompatibility. | ||||
* | 43616: Various parameter setting and display fixes. | Peter Stephenson | 2018-10-08 | 1 | -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 Stephenson | 2018-09-12 | 1 | -0/+8 |
| | | | | | Fix additional races by passing back use of list_pipe_job from subshell. | ||||
* | users/23472: Add $sysparams[procsubstpid] to zsh/system | Peter Stephenson | 2018-06-15 | 1 | -0/+1 |
| | |||||
* | 42793: Always define FDT_PROC_SUBST even if not needed. | Peter Stephenson | 2018-05-17 | 1 | -3/+2 |
| | | | | This avoids proliferating #ifdef's. | ||||
* | 42322 (tweaked): Fix interactive_comments history with just a coment. | Peter Stephenson | 2018-01-24 | 1 | -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 Stephenson | 2018-01-08 | 1 | -0/+1 |
| | | | | Last recorded word should be the previous one. | ||||
* | 42156: new CHECK_RUNNING_JOBS option demanded by bash groupies | Peter Stephenson | 2017-12-22 | 1 | -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 Stephenson | 2017-12-22 | 1 | -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 newlines | Peter Stephenson | 2017-10-01 | 1 | -5/+6 |
| | |||||
* | 41764 (test tweaked): allow [key]+=value when modifying arrays | Peter Stephenson | 2017-09-27 | 1 | -1/+3 |
| | |||||
* | 41747: Don't create hash entry if just checking existence. | Peter Stephenson | 2017-09-25 | 1 | -0/+1 |
| | | | | Pass a flag in indicating this case. | ||||
* | Updates for ksh array element syntax. | Peter Stephenson | 2017-09-24 | 1 | -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 Stephenson | 2017-09-13 | 1 | -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. | ||||
* | 41668: New --emulate option on invocation. | Peter Stephenson | 2017-09-11 | 1 | -0/+8 |
| | | | | | | | | This sets the shell emulation mode similarly to ARGV0=... which doesn't work from other shells. Note that this gives more comprehensive emulation than running emulate within the shell. | ||||
* | 41590 modified as 41595: make ERR_RETURN more logical. | Peter Stephenson | 2017-08-24 | 1 | -0/+11 |
| | | | | | | | | It now operates separately at each function depth. To keep ERR_EXIT global, make the noerrexit variable usd bit flags. Extend tests. |