about summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
...
* dana: 42145: Fix additional completion cases with option arguments.dana2017-12-201-1/+3
|
* 42146: type -w += global aliasesDaniel Shahaf2017-12-201-0/+2
| | | | Follow-up to 36403, which did the same for suffix aliases.
* users/13148 (and workers/42060): Abort the command line when replyingDaniel Shahaf2017-12-201-6/+11
| | | | | | "[n] No" to the RM_STAR_SILENT prompt. Patch by Stephane, rebased by Mikael.
* 42412: fix a bug in 42116Jun-ichi Takimoto2017-12-181-4/+4
| | | | | Also fix a few widgets which were calling wrong function when negative numeric argument was given.
* 42116: multibyte support for ZLE vi-mode word motionJun-ichi Takimoto2017-12-183-77/+45
|
* 42123 (tweaked): take account of Dash in function names.Peter Stephenson2017-12-151-2/+20
| | | | | | Needed when comparing word code function name with autoload request. Add test.
* add millisecond and microsecond options to TIMEFMT variabledana2017-12-141-0/+34
|
* 42110: Fix redirections between variable assignments at start of linePeter Stephenson2017-12-121-0/+4
|
* 42063: getopts errors now report "+" in front of option where appropriatedana2017-12-011-2/+3
|
* 42031 + 42048: Make [[ -o invalidoption ]] a normal(ish) false value, rather ↵Daniel Shahaf2017-11-241-7/+13
| | | | than a syntax error.
* stat() for glob qualifiers lost information in corner caseDima Kogan2017-11-201-1/+1
|
* 41983: fix exclusion of long options with (-) on a normal argumentOliver Kiddle2017-11-041-1/+1
|
* 41866: No error unsetting nonexistent function for POSIXBUILTINSMartijn Dekker2017-11-022-1/+6
|
* 41902: ${(z)...} continues parsing on unmatched quote when CSH_JUNKIE_QUOTES ↵Barton E. Schaefer2017-10-171-4/+10
| | | | | | is set Tests for 41902 and 41873
* 41873: temporarily disable effects of ${(Z:n:)...} for parsing $(...) within ↵Barton E. Schaefer2017-10-131-1/+5
| | | | | | the parameter value Also fix minor typo in commit b3fa5c52 ChangeLog.
* 41877: Separate out SH_FILE_EXPANSION loop from parameter substitution.Peter Stephenson2017-10-131-16/+23
| | | | | Parameter substitution can add nodes that need to be rescanned by it, but not by file expansion, so the two don't play well together.
* 41835: handle multibyte characters with compset -p and -sOliver Kiddle2017-10-111-11/+37
|
* 41828, 41830: skip SHFILEEXPANSION for new nodes added by stringsubst() in ↵Barton E. Schaefer2017-10-081-2/+17
| | | | prefork()
* 41824: fix to not complete rest args from an _arguments set alongside the ↵Oliver Kiddle2017-10-071-16/+16
| | | | argument to and option in a separate set
* 41802 (minor tweaks): use heap during shell function call.Peter Stephenson2017-10-042-70/+87
| | | | | | Replaces stack for more efficient memory management. Also fix debug message when FUNCNEST is increased.
* 41787 (plus minor tweaks): use $FUNCSTACK for function nesting depth.Peter Stephenson2017-10-022-11/+20
| | | | Initialised from existing configuration value.
* Add typeset -p1, like typeset -p with newlinesPeter Stephenson2017-10-014-28/+67
|
* 41789: Don't save fd if -1.Peter Stephenson2017-09-291-8/+11
| | | | | | We try to move an fd which isn't opend but it will feel. This needs handling specially in the new code for marking saved fd's.
* 41772: fix bug in handling of long options with _arguments' -A optionOliver Kiddle2017-09-281-1/+1
|
* 41767: preserve nonzero exit status on interruptBarton E. Schaefer2017-09-271-1/+2
|
* 41764 (test tweaked): allow [key]+=value when modifying arraysPeter Stephenson2017-09-273-12/+48
|
* 41761: Ensure status from interrupt is propagated by builtinPeter Stephenson2017-09-261-2/+9
|
* 41747: Don't create hash entry if just checking existence.Peter Stephenson2017-09-254-9/+18
| | | | Pass a flag in indicating this case.
* Updates for ksh array element syntax.Peter Stephenson2017-09-245-147/+224
| | | | | | | | 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.
* unposted (cf. 41672): checkrmall: Record the 41672 bug in a TODO.Daniel Shahaf2017-09-211-0/+3
|
* unposted (cf. 41707): internal: Document the count==0 case of checkrmall().Daniel Shahaf2017-09-211-1/+3
|
* 41736: NO_INTERACTIVE_COMMENTS in $(...)Barton E. Schaefer2017-09-201-1/+6
|
* 41723: one more case of 41627 in "while" loops.Barton E. Schaefer2017-09-181-1/+1
|
* More [key]=value tweaksPeter Stephenson2017-09-141-3/+5
| | | | | | Some rephrasings. Update typeset -p for associative arrays to use new syntax.
* First go at var=([key]=value) syntax.Peter Stephenson2017-09-134-33/+206
| | | | | | | 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.
* 41688: builtin wait for all jobs should ignore STAT_NOPRINTPeter Stephenson2017-09-131-1/+2
|
* unposted: internal: Document zreaddir().Daniel Shahaf2017-09-111-0/+10
|
* 41666: zpty compatibility for OpenBSDThierry Ghelew2017-09-111-1/+6
|
* 41668: New --emulate option on invocation.Peter Stephenson2017-09-113-35/+107
| | | | | | | | 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.
* 41662: exec -a arguments weren't sanitisedPeter Stephenson2017-09-101-0/+3
|
* 41661: Need to remove tokens before using bufferwords() for (z)Peter Stephenson2017-09-101-2/+6
|
* 41641: Some math operations shouldn't be lvalues.Peter Stephenson2017-09-051-8/+2
| | | | | This includes pre- and post- increment and decrement. Simply mark all values after operations as rvalues.
* 41633: Fix problem backgrounding function definitions.Peter Stephenson2017-09-041-1/+6
| | | | | Owing to being marked as simple sublists the instruction to background was ignored. This applied to anonymous functions.
* Fix problem with ERR_RETURN.Peter Stephenson2017-08-311-4/+3
| | | | | | | It wasn't suppressed properly in the code following an if in some circumstances, in particular in initialsation scripts and also in a nested function where the caller had suppressed it.
* 41608 (plus tests): restore ERR_EXIT before function.Peter Stephenson2017-08-291-1/+1
| | | | | | | There was an exception to the usual ERR_EXIT pattern that causes problems when executing a function in an else branch. It seems the exception is no longer needed as the regression tests pass without it.
* 41590 modified as 41595: make ERR_RETURN more logical.Peter Stephenson2017-08-245-19/+48
| | | | | | | | 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-152-3/+27
| | | | | Record fd's that have been saved in fdtable and if the shell forks close them as they will never be restored.
* 41542: Fix pcre logic for extracting matched parentheses.Peter Stephenson2017-08-141-25/+43
| | | | | | | | | | When we went off the end of the array but measured the length implicitly, we got lucky before. After 41308 we were looking up lengths in stale memory. Rename some variables, clean up the logic, be easier to understand. Add tests.
* 41527 (tweaked for heap memory): fix [[ -<cond> ]] from modulesPhil Pennock2017-08-111-2/+13
|
* 41504: make empty strings work in case patterns with no leading parenthesisPeter Stephenson2017-08-092-13/+41
|