summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2017-02-26Revert 40626 which broke tests.Daniel Shahaf1-2/+2
2017-02-2540640: the (A) parameter flag forces array result even if assignment syntax ↵Barton E. Schaefer1-0/+11
is not used
2017-02-2540626: Make $options re-settable.Daniel Shahaf1-2/+2
Follow-up to 40508. Reported-by: James McGlashan
2017-02-2340624: conditionally handle WIFCONTINUED to properly set SP_RUNNING process ↵Barton E. Schaefer1-0/+5
status
2017-02-2340604: revert to the old method if getutent() is not availableJun-ichi Takimoto1-4/+22
2017-02-2040598: paramsubst() should always return scalar when PREFORK_SINGLE was passedBarton E. Schaefer1-1/+14
2017-02-2040593: SHWORDSPLIT + unset IFS should cause default splitting of $@Barton E. Schaefer1-1/+2
2017-02-2040576 (tweaked): entersubsh(): unblock any signals that were blocked for ↵Barton E. Schaefer1-3/+14
trap handling Also small improvement to loop that resets trap handlers
2017-02-1740558, 40562: General improvements to zsh/db/gdbm moduleSebastian Gniazdowski2-72/+437
2017-02-1340524: do not free a null arrayBarton E. Schaefer1-1/+2
2017-02-1340536: Prepend directory to $fpath.Peter Stephenson2-0/+37
Used if parent function is autoloaded by absolute path so as to find functions in the same suite without shell code modification.
2017-02-0840508: Make $functions re-settable.Daniel Shahaf1-2/+2
2017-02-0740507: Remove extraneous null creating GDBM recordsSebastian Gniazdowski1-6/+6
2017-02-0240486: Don't warn on creation of MATCH etc. in regex.Peter Stephenson2-9/+36
This because they are created implicitly rather than by explicit user request, so the warning may not be useful.
2017-02-0140483 (cf. Eric Freese: 40482): Remove zpty exit hook from forked processesBarton E. Schaefer1-0/+2
2017-02-0140460: WARN_NESTED_VAR: Don't warn when assigning to a slice of an existing ↵Daniel Shahaf1-6/+13
array
2017-01-3040469: change strategy from 40453 to use patcompile(PAT_HEAPDUP) instead of ↵Barton E. Schaefer1-12/+2
signal queueing.
2017-01-2940453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵Barton E. Schaefer12-42/+120
not re-entrant.
2017-01-2840439: PAT_HEAPDUP definition just for clarityBarton E. Schaefer1-0/+1
2017-01-2840440: Add $functions_source hash to zsh/parameter.Peter Stephenson2-0/+105
This allows you to find out where a function was loaded from.
2017-01-2740425: HAVE_* tests for getutxent etc.Peter Stephenson1-3/+6
Not yet 100% clear where the #if's go, depends on how various systems implement the old or new formats.
2017-01-2640423: WARN_NESTED_VARS, conversion the other wayPeter Stephenson1-8/+8
2017-01-2640422: More WARN_NESTED_VAR cases.Peter Stephenson1-8/+9
Converting type when using a calling scope was broken in the original patch.
2017-01-2540413: WARN_NESTED_VAR subscripted variable fix.Peter Stephenson1-1/+5
No warning needed on paramter that's created temporarily to help assignment.
2017-01-2440404: Only quote command in whence output with -v.Peter Stephenson1-4/+8
2017-01-2340391: Add WARN_NESTED_VAR option and functions -W.Peter Stephenson5-31/+71
These are companions to WARN_CREATED_GLOBAL, warning when a variable from an enclosing scope is altered.
2017-01-1840375: autoload with explicit path mustn't trash already loaded function.Peter Stephenson2-4/+29
Also remove unnecessary dupstring() on already duplicated string when expanding =cmd.
2017-01-1740369: code should have been committed with 0a2d92f98Peter Stephenson1-2/+2
2017-01-1640353 with tweaks to whence -v: extend directory cache use.Peter Stephenson3-31/+85
Now used for all autoloaded functions after load, including those where the file was found along fpath, reducing duplication of directory names.
2017-01-1540362: Fix setting of parameter values in compvaluesPeter Stephenson1-2/+2
2017-01-12unposted: one missing *name = NULLPeter Stephenson1-0/+1
2017-01-1240342: Add directory name cache for autoload file paths.Peter Stephenson4-12/+155
This renders "autoload /blah/blah/*" as efficient as use of fpath.
2017-01-1240335: More care with autoload function path.Peter Stephenson3-6/+13
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.
2017-01-1240333: Fix the watch interface for utmpxJens Elkner1-54/+42
2017-01-1140321: _arguments option groupsOliver Kiddle1-71/+120
2017-01-11unposted: more care with shell function filename.Peter Stephenson2-1/+5
When updating shfunc structure to change filename we should be careful to free whatever's there already, we may now be the directory in which to find the function definition. After loading the field contains the full name of the file.
2017-01-11Add features associated with autoloading a function using an absolutePeter Stephenson5-67/+187
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.
2017-01-1040305: fix some problems redisplaying command line after interrupt.Peter Stephenson4-6/+27
Back off previous fix as this only covered some subset of problems. Remaining problems happend after reset-prompt in TRAPINT. One was in complist and is fixed by not attempting to list after an error or interrupt. The other was owing to not resetting clearflag when ZLE was re-entered.
2017-01-1040306 with doc tweaks: Change behaviour expanding alias in () function ↵Peter Stephenson4-0/+43
definition. Now an error unless the () is part of the same error as the name. Add ALIAS_FUNC_DEF option to allow it again.
2017-01-0640285: Be more careful with pattern allocation in history isearch.Peter Stephenson1-4/+7
If there are ZLE hooks to be called, they may use patterns, in which case it's not safe to allocate the isearch pattern in the static buffer.
2017-01-0540270 (after 39995): Add cross-reference for robustness.Daniel Shahaf1-0/+2
2017-01-0540269: handle option exclusion within current word for clumped optionsOliver Kiddle1-13/+13
This replaces the change made in 13999 with an alternative approach.
2017-01-0440227: handle _arguments sets and rest arguments starting with a dashOliver Kiddle1-11/+26
This is a new approach to the problem first covered by 39611: checking to see if an option-like argument belongs to one of the other sets.
2017-01-0440226: tidy up some of the _arguments set codeOliver Kiddle1-70/+29
Remove old code for applying explicit exclusions between sets which fixes some odd behaviour. Some struct members were unused. Also added some comments and test cases.
2017-01-03users/22319: ${ary1:^ary2} should not change isarr state of expansion of ary1Barton E. Schaefer1-2/+4
Unless ary1 is made from a scalar, semantics of (@) in double quotes is lost.
2017-01-0340248: suppress errors from zshaddhistoryhookBarton E. Schaefer1-1/+2
and do not call it if no history entry will be written
2017-01-0340265: Fix problems with pure string in patterns with Meta.Peter Stephenson1-7/+1
Copy instead of relying on jiggery pokery with memory reallocation. Problem was triggering with string ending with Dash converted to -.
2017-01-0340260: zero new space allocated in prompt bufferPaulo Andrade1-0/+1
2016-12-2840231: Optimise setarrvalue().Sebastian Gniazdowski1-16/+34
2016-12-2240162: _arguments support for a match spec in combination with setsOliver Kiddle1-1/+1