Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 37208: check for restricted parameter before changing from unset to set | Barton E. Schaefer | 2015-11-23 | 1 | -8/+22 |
| | | | | | Also, return NULL from setnparam() on failure to retrieve value (avoids null-pointer dereference); add some expository comments | ||||
* | 37208: assignment in a nested scope should not change private parameters in ↵ | Barton E. Schaefer | 2015-11-23 | 1 | -14/+30 |
| | | | | | | the outer scope from unset to set Bug remains that the attempt does not generate a warning | ||||
* | 37206: fix ${(t)param} for "typeset -H param" | Barton E. Schaefer | 2015-11-23 | 1 | -1/+1 |
| | |||||
* | 37203: WARN_CREATE_GLOBAL test in wrong place for associative array | Peter Stephenson | 2015-11-23 | 1 | -2/+4 |
| | |||||
* | 37191: fix strftime() expansion issue with %p and %P. | Peter Stephenson | 2015-11-22 | 1 | -4/+11 |
| | | | | | In some locales the output from this can validly be empty, so we need to treat them specially. | ||||
* | 37187: infinite loop in "hash -m" | Peter Stephenson | 2015-11-22 | 1 | -0/+1 |
| | |||||
* | 37186: a couple more WARN_CREATE_GLOBAL fixes | Peter Stephenson | 2015-11-22 | 1 | -1/+2 |
| | |||||
* | 37161: Disable the heuristic setting RPROMPT_INDENT to 0 | Mikael Magnusson | 2015-11-20 | 1 | -2/+4 |
| | |||||
* | 37168: No WARN_CREATE_GLOBAL on special parameters | Peter Stephenson | 2015-11-20 | 1 | -1/+1 |
| | |||||
* | 20974: Bug with scalar assignment to special array in typeset | Peter Stephenson | 2015-11-20 | 1 | -4/+20 |
| | |||||
* | 37145: suppress alias expansion in skipcomm() | Barton E. Schaefer | 2015-11-18 | 1 | -0/+3 |
| | | | | Thus defer parsing aliases in $(...) et al. into the subshell | ||||
* | 37128: work around alias expansion trashing subscript parsing | Peter Stephenson | 2015-11-17 | 1 | -6/+22 |
| | |||||
* | unposted: Make $EDITOR's jump-to-matching-brace happy. | Daniel Shahaf | 2015-11-13 | 1 | -0/+2 |
| | |||||
* | 37096: Another $${(P)...} tweak. | Peter Stephenson | 2015-11-12 | 1 | -2/+17 |
| | | | | Make a top level (P) work with nested ones, i.e. ${(P)${(P)...}...} | ||||
* | 37094: Further tweaks to parameter name references. | Peter Stephenson | 2015-11-11 | 1 | -3/+3 |
| | | | | | | | | Safety in array test. Make nested references work. Add parameter tests. | ||||
* | 37092: make nested ${(P)name} properly refer to parameter on return | Peter Stephenson | 2015-11-11 | 7 | -68/+123 |
| | |||||
* | 37091: clear lastline and lastlinesz when freeing | Peter Stephenson | 2015-11-11 | 1 | -0/+2 |
| | |||||
* | 37081: new module zsh/param/private for private-scoped parameters in functions | Barton E. Schaefer | 2015-11-08 | 2 | -0/+594 |
| | |||||
* | 37080: use paramtab abstraction more consistently, add explanatory comments | Barton E. Schaefer | 2015-11-08 | 2 | -6/+11 |
| | |||||
* | 37074: extend previous fix to over whitespace at end | Peter Stephenson | 2015-11-07 | 1 | -14/+36 |
| | |||||
* | 37073: another SH_WORD_SPLIT problem. | Peter Stephenson | 2015-11-06 | 1 | -6/+34 |
| | | | | | In cases like x${:- y} the space was simply removed instead of being used for splitting. | ||||
* | 37038: add -l option to emulate to list options in emulations | Peter Stephenson | 2015-11-01 | 2 | -8/+55 |
| | |||||
* | unposted (cf. 36998,36999): undo 36956 / restore 34451 with expanded comment ↵ | Barton E. Schaefer | 2015-10-31 | 1 | -4/+3 |
| | | | | about the flip-flopping | ||||
* | unposted (after 37018): Fix typo in error message. | Daniel Shahaf | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | 37022: add GLOB_STAR_SHORT option to abbreviate ** and *** | Peter Stephenson | 2015-10-30 | 3 | -18/+27 |
| | |||||
* | 37018: Make WARNCREATEGLOBAL more consistent. | Peter Stephenson | 2015-10-29 | 2 | -39/+39 |
| | | | | | Wd don't need separate math handling any more, and can make it output the function name in all cases. | ||||
* | 37014: Improved internal parameter setting. | Peter Stephenson | 2015-10-29 | 6 | -28/+80 |
| | | | | | | | | Enhance WARNCREATEGLOBAL to work in many more cases. Don't create REPLY as an integer if it didn't previously exist as one, even if the value to be set is integral, as this is likely to mess up later uses of REPLY. | ||||
* | 36982: Fix bug with (#cN) patterns and remove redundant description. | Peter Stephenson | 2015-10-27 | 1 | -0/+1 |
| | | | | | We need to restore the current count of matches when returning to match at the point where we previously matched. | ||||
* | 36974: fix some functions with empty argument lists | Peter Stephenson | 2015-10-27 | 5 | -11/+11 |
| | |||||
* | 36906: quite_signals() in ZSH_MEM realloc() | Kamil Dudka | 2015-10-26 | 1 | -2/+7 |
| | |||||
* | 36968: use addmodulefd() to tell the shell about the descriptor of the dbm file | Barton E. Schaefer | 2015-10-26 | 1 | -2/+7 |
| | |||||
* | 36956: revert 34451, mmap() is too slow on MacOS | Barton E. Schaefer | 2015-10-26 | 1 | -0/+7 |
| | |||||
* | users/20825: fix crash when complex completion hooks. | Peter Stephenson | 2015-10-26 | 1 | -0/+17 |
| | | | | | get_undo_current_change() needs protecting against execution in completion environment. | ||||
* | 36911: '-optarg' should not match optspec '-opt=' | Jun-ichi Takimoto | 2015-10-25 | 1 | -2/+5 |
| | | | | | Remove the requirement that -xy= should come before -x= in the list of optspecs passed to _arguments. | ||||
* | 36943: restore scan for reclaimable blocks in freeheap() | Barton E. Schaefer | 2015-10-24 | 1 | -2/+8 |
| | | | | | | That scan had been removed by 36834, but testing showed memory usage climbing too high in cases where a new arena was always added at the end of the heap list. | ||||
* | unposted: small typo again | Peter Stephenson | 2015-10-24 | 1 | -1/+1 |
| | |||||
* | unposted: small typo | Peter Stephenson | 2015-10-24 | 1 | -1/+1 |
| | |||||
* | 36944: extend fd management to zsocket | Peter Stephenson | 2015-10-24 | 3 | -14/+32 |
| | |||||
* | 36941: Mark file descripors in ztcp as used. | Peter Stephenson | 2015-10-24 | 3 | -5/+43 |
| | | | | | Allow such file descriptors to be either internal and closed on exec or external and so managed explicitly by module. | ||||
* | unposted: strdup should be ztrdup | Barton E. Schaefer | 2015-10-21 | 1 | -1/+1 |
| | |||||
* | 36909: in getargs(), sanity-check the offsets for start and end of the ↵ | Barton E. Schaefer | 2015-10-21 | 1 | -2/+16 |
| | | | | requested words, in case of overflow | ||||
* | 36853: replace pushheap/popheap by NEWHEAPS/OLDHEAPS in doshfunc() to ↵ | Barton E. Schaefer | 2015-10-14 | 1 | -201/+201 |
| | | | | | | optimize memory management Includes re-indentation that was not done in the posted patch. | ||||
* | One crucial assignment accidentally lost from 36834 when merging 36836. | Barton E. Schaefer | 2015-10-11 | 1 | -2/+3 |
| | |||||
* | 36836: zhalloc() avoids re-scanning all heaps when the last known heap with ↵ | Barton E. Schaefer | 2015-10-11 | 1 | -4/+8 |
| | | | | | | | free space does not have enough space This is the second of two performance optimizations for situations where all heap arenas in the list are mostly full. | ||||
* | 36834: freeheap preserves last allocated heap | Barton E. Schaefer | 2015-10-11 | 1 | -13/+52 |
| | | | | | This is the first of two optimizations to improve heap performance when there are a large number of mostly-filled heap arenas. | ||||
* | 36780: Fix crash in ksh mode with -n and $HOME. | Peter Stephenson | 2015-10-06 | 1 | -6/+7 |
| | | | | If home variable is NULL ensure HOME is unset. | ||||
* | 36773: limit CORRECT / CORRECT_ALL to directory names in cases where it is ↵ | Barton E. Schaefer | 2015-10-04 | 1 | -19/+30 |
| | | | | obvious that a directory is expected | ||||
* | unposted: back out 36707, add test case for 36766 | Barton E. Schaefer | 2015-10-03 | 2 | -7/+3 |
| | |||||
* | 36766: fix incorrect reset of noerrexit during "if" conditions | Barton E. Schaefer | 2015-10-03 | 1 | -1/+2 |
| | |||||
* | 36760: more care with already unmetafied pattern trial strings | Peter Stephenson | 2015-10-03 | 1 | -15/+40 |
| |