Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 40933: Ensure we get job text in sourced files. | Peter Stephenson | 2017-04-04 | 1 | -2/+2 |
| | | | | | | | This was turned off explicitly as it was assumed not to be needed, but it is when code in a sourced file is suspended. We'll need to see if this makes start up inefficient. | ||||
* | 40932: Parameter subscripts need to count parentheses. | Peter Stephenson | 2017-04-03 | 1 | -3/+8 |
| | | | | Otherwise they can terminate in the middle of an expression. | ||||
* | 40929 (replaces 40598): paramsubst() should always return scalar when ↵ | Barton E. Schaefer | 2017-04-02 | 1 | -13/+8 |
| | | | | | | | | | PREFORK_SINGLE was passed in from prefork() Previous commit (74fe4d09) consumed too much of the input linked list, leading to later expansions being skipped. This commit converts from array to string sooner, but may thereby alter rc_expand_param and array element uniqueness behavior. | ||||
* | 40891: fix more zero-length matches. | Peter Stephenson | 2017-03-23 | 1 | -1/+3 |
| | | | | This time at the end of the trial string. | ||||
* | 22601: Fix for parameter substitution pattern matches. | Peter Stephenson | 2017-03-23 | 1 | -2/+6 |
| | | | | | It was not possible to math against a zero-length string in some cases. | ||||
* | 40832: fix $x:P when PWD=/ | Barton E. Schaefer | 2017-03-11 | 1 | -2/+10 |
| | |||||
* | 40819: Fix IS_DASH test in BRACE_CCL handling | Peter Stephenson | 2017-03-10 | 1 | -1/+2 |
| | |||||
* | unposted: declare file local variables as static | Jun-ichi Takimoto | 2017-03-10 | 1 | -2/+2 |
| | |||||
* | unposted: silence warnings on Cygwin | Jun-ichi Takimoto | 2017-03-10 | 1 | -1/+2 |
| | | | | On Cygwin, h_name in struct hostent is 'const char*' | ||||
* | 40796: MAGIC_EQUAL_SUBST not needed with parsed assignment. | Peter Stephenson | 2017-03-09 | 1 | -5/+20 |
| | | | | | | If typeset family builtins are recognised as keywords then the value is handled as a separate expansion and we don't need the old magic behaviour, even if the option is set. | ||||
* | 40799: fix $- expansion partly broken by 40760 | Barton E. Schaefer | 2017-03-08 | 1 | -1/+3 |
| | |||||
* | 40763: count wide characters and Cmatcher pointers more sanely in ↵ | Barton E. Schaefer | 2017-03-08 | 3 | -58/+60 |
| | | | | | | | cfp_matcher_pats(), and count characters in pattern_match() the same way to stay in sync Might not fix wide-char matching in completion matcher-lists but should avoid wild pointer crash | ||||
* | 40745 + 40753: Fix 'unset ZLE_RPROMPT_INDENT' not restoring the default ↵ | Daniel Shahaf | 2017-03-08 | 2 | -2/+20 |
| | | | | | | | | | | behaviour. To reproduce: RPS1=foo ZLE_RPROMPT_INDENT=42 unset ZLE_RPROMPT_INDENT | ||||
* | 40760: Always tokenize unquoted - to Dash. | Peter Stephenson | 2017-03-07 | 10 | -67/+102 |
| | | | | | | This fixes use of pattern match character ranges in unusual contexts. Attempt to detect a tokenized - in cases where we don't care. | ||||
* | 40726: add "zcurses resize" for sane terminal size change | Sebastian Gniazdowski | 2017-03-05 | 1 | -0/+69 |
| | |||||
* | 40781: optimize array assignment, similar to 39995 for string assignment | Sebastian Gniazdowski | 2017-03-04 | 1 | -15/+48 |
| | |||||
* | 40654: exit cleanly from special POSIXBUILTINS in subshells | Barton E. Schaefer | 2017-03-04 | 1 | -0/+1 |
| | | | | This patch overloads the zsh_subshell counter which is meant for $ZSH_SUBSHELL, but no one has suggested a working alternate test. | ||||
* | 40170: Fix up error resetting in curses module. | Sebastian Gniazdowski | 2017-03-03 | 1 | -23/+12 |
| | | | | | Update comment to remove confusion. The comment was based on incorrecto expectations, and the problems referred to seem to be fixed. | ||||
* | 40702: new KEYS_QUEUED_COUNT ZLE variable | Peter Stephenson | 2017-03-03 | 1 | -0/+11 |
| | |||||
* | 40681: strftime builtin should return 1 if ztrftime() returns -1 | Jun-ichi Takimoto | 2017-03-02 | 1 | -2/+6 |
| | |||||
* | 40622 with typos fixed: functions -Ms. | Peter Stephenson | 2017-03-01 | 2 | -13/+42 |
| | | | | | | This adds the capability for mathematical functions based on shell functions to have a string argument. Module functions have had this for a long time. | ||||
* | 40650: redo 40508 and 40626 with comments explaining what is actually going on | Barton E. Schaefer | 2017-02-26 | 1 | -9/+25 |
| | |||||
* | Revert 40626 which broke tests. | Daniel Shahaf | 2017-02-26 | 1 | -2/+2 |
| | |||||
* | 40640: the (A) parameter flag forces array result even if assignment syntax ↵ | Barton E. Schaefer | 2017-02-25 | 1 | -0/+11 |
| | | | | is not used | ||||
* | 40626: Make $options re-settable. | Daniel Shahaf | 2017-02-25 | 1 | -2/+2 |
| | | | | | | Follow-up to 40508. Reported-by: James McGlashan | ||||
* | 40624: conditionally handle WIFCONTINUED to properly set SP_RUNNING process ↵ | Barton E. Schaefer | 2017-02-23 | 1 | -0/+5 |
| | | | | status | ||||
* | 40604: revert to the old method if getutent() is not available | Jun-ichi Takimoto | 2017-02-23 | 1 | -4/+22 |
| | |||||
* | 40598: paramsubst() should always return scalar when PREFORK_SINGLE was passed | Barton E. Schaefer | 2017-02-20 | 1 | -1/+14 |
| | |||||
* | 40593: SHWORDSPLIT + unset IFS should cause default splitting of $@ | Barton E. Schaefer | 2017-02-20 | 1 | -1/+2 |
| | |||||
* | 40576 (tweaked): entersubsh(): unblock any signals that were blocked for ↵ | Barton E. Schaefer | 2017-02-20 | 1 | -3/+14 |
| | | | | | | trap handling Also small improvement to loop that resets trap handlers | ||||
* | 40558, 40562: General improvements to zsh/db/gdbm module | Sebastian Gniazdowski | 2017-02-17 | 2 | -72/+437 |
| | |||||
* | 40524: do not free a null array | Barton E. Schaefer | 2017-02-13 | 1 | -1/+2 |
| | |||||
* | 40536: Prepend directory to $fpath. | Peter Stephenson | 2017-02-13 | 2 | -0/+37 |
| | | | | | | Used if parent function is autoloaded by absolute path so as to find functions in the same suite without shell code modification. | ||||
* | 40508: Make $functions re-settable. | Daniel Shahaf | 2017-02-08 | 1 | -2/+2 |
| | |||||
* | 40507: Remove extraneous null creating GDBM records | Sebastian Gniazdowski | 2017-02-07 | 1 | -6/+6 |
| | |||||
* | 40486: Don't warn on creation of MATCH etc. in regex. | Peter Stephenson | 2017-02-02 | 2 | -9/+36 |
| | | | | | This because they are created implicitly rather than by explicit user request, so the warning may not be useful. | ||||
* | 40483 (cf. Eric Freese: 40482): Remove zpty exit hook from forked processes | Barton E. Schaefer | 2017-02-01 | 1 | -0/+2 |
| | |||||
* | 40460: WARN_NESTED_VAR: Don't warn when assigning to a slice of an existing ↵ | Daniel Shahaf | 2017-02-01 | 1 | -6/+13 |
| | | | | array | ||||
* | 40469: change strategy from 40453 to use patcompile(PAT_HEAPDUP) instead of ↵ | Barton E. Schaefer | 2017-01-30 | 1 | -12/+2 |
| | | | | signal queueing. | ||||
* | 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵ | Barton E. Schaefer | 2017-01-29 | 12 | -42/+120 |
| | | | | not re-entrant. | ||||
* | 40439: PAT_HEAPDUP definition just for clarity | Barton E. Schaefer | 2017-01-28 | 1 | -0/+1 |
| | |||||
* | 40440: Add $functions_source hash to zsh/parameter. | Peter Stephenson | 2017-01-28 | 2 | -0/+105 |
| | | | | This allows you to find out where a function was loaded from. | ||||
* | 40425: HAVE_* tests for getutxent etc. | Peter Stephenson | 2017-01-27 | 1 | -3/+6 |
| | | | | | Not yet 100% clear where the #if's go, depends on how various systems implement the old or new formats. | ||||
* | 40423: WARN_NESTED_VARS, conversion the other way | Peter Stephenson | 2017-01-26 | 1 | -8/+8 |
| | |||||
* | 40422: More WARN_NESTED_VAR cases. | Peter Stephenson | 2017-01-26 | 1 | -8/+9 |
| | | | | | Converting type when using a calling scope was broken in the original patch. | ||||
* | 40413: WARN_NESTED_VAR subscripted variable fix. | Peter Stephenson | 2017-01-25 | 1 | -1/+5 |
| | | | | | No warning needed on paramter that's created temporarily to help assignment. | ||||
* | 40404: Only quote command in whence output with -v. | Peter Stephenson | 2017-01-24 | 1 | -4/+8 |
| | |||||
* | 40391: Add WARN_NESTED_VAR option and functions -W. | Peter Stephenson | 2017-01-23 | 5 | -31/+71 |
| | | | | | These are companions to WARN_CREATED_GLOBAL, warning when a variable from an enclosing scope is altered. | ||||
* | 40375: autoload with explicit path mustn't trash already loaded function. | Peter Stephenson | 2017-01-18 | 2 | -4/+29 |
| | | | | | Also remove unnecessary dupstring() on already duplicated string when expanding =cmd. | ||||
* | 40369: code should have been committed with 0a2d92f98 | Peter Stephenson | 2017-01-17 | 1 | -2/+2 |
| |