summary refs log tree commit diff
path: root/Src/zsh.h
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 41668: New --emulate option on invocation.Peter Stephenson2017-09-111-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 Stephenson2017-08-241-0/+11
| | | | | | | | It now operates separately at each function depth. To keep ERR_EXIT global, make the noerrexit variable usd bit flags. Extend tests.
* posted but has not shown up: fix fd problem in subshell.Peter Stephenson2017-08-151-0/+12
| | | | | Record fd's that have been saved in fdtable and if the shell forks close them as they will never be restored.
* 41402: Add hasher to ecstrcode to reduce string comparisonsSebastian Gniazdowski2017-07-091-0/+1
|
* Delay processing "disown" for superjob.Peter Stephenson2017-07-041-0/+1
| | | | | | | This is a job forked from the current shell when a job partly running from the current shell was suspended. When all associated processes started from the main shell are finished the job is continued and at this point the disown can complete.
* 41239: Save and restore default history event on context stack.Peter Stephenson2017-06-071-0/+1
| | | | | This ensures that the default event set by an expansion in ZLE doesn't propagate to the command line expansion.
* 41164: Don't free a history entry if it's curline.Peter Stephenson2017-05-301-1/+0
| | | | | | This replaces 41113 / 94014ff65b with a simple local change for the immediate problem. It's not entirely clear if this reflects wider changes in the structure of the history code.
* 41113 (tweaked): Save current line linkage to history ring.Peter Stephenson2017-05-181-0/+1
| | | | | | | | | | When saving history state save whether the current history line is linked into the ring and remove it, and restore as appropriate later. This avoids surprises where the history ring is freed and incorrectly frees the current state in curline, which has a different allocation strategy. Original patch tweaked to make restoring more logical.
* 41090: Replace iswprint() if unicode9 is enabled.Jun-ichi Takimoto2017-05-121-11/+1
| | | | If wcwidth() or iswprint() is broken, force enable unicode9.
* 40760: Always tokenize unquoted - to Dash.Peter Stephenson2017-03-071-0/+10
| | | | | | This fixes use of pattern match character ranges in unusual contexts. Attempt to detect a tokenized - in cases where we don't care.
* 40536: Prepend directory to $fpath.Peter Stephenson2017-02-131-0/+1
| | | | | | Used if parent function is autoloaded by absolute path so as to find functions in the same suite without shell code modification.
* 40439: PAT_HEAPDUP definition just for clarityBarton E. Schaefer2017-01-281-0/+1
|
* 40391: Add WARN_NESTED_VAR option and functions -W.Peter Stephenson2017-01-231-1/+9
| | | | | These are companions to WARN_CREATED_GLOBAL, warning when a variable from an enclosing scope is altered.
* 40335: More care with autoload function path.Peter Stephenson2017-01-121-0/+1
| | | | | | If doing "autoload -X", the path present might actually be location of file containing the function with the autoload -X. Add an explicit flag to say it's a directory for autoload.
* Add features associated with autoloading a function using an absolutePeter Stephenson2017-01-111-1/+4
| | | | | | | | | | | | | path. -d defaults to normal fpath -r remembers the path without actually loading. May be combined with -d. -R does the same but it's an error if not found -X can now take a directory path: this is used to output not yet loaded functions that have an associated path.
* 40306 with doc tweaks: Change behaviour expanding alias in () function ↵Peter Stephenson2017-01-101-0/+1
| | | | | | | definition. Now an error unless the () is part of the same error as the name. Add ALIAS_FUNC_DEF option to allow it again.