summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
* 37229: non-local assignment to a parameter name whose outermost declaration ↵Barton E. Schaefer2015-11-261-11/+48
| | | | | | is private, is an error rather than a silent no-op. Also fix %prep sed expression for Solaris.
* 37208: check for restricted parameter before changing from unset to setBarton E. Schaefer2015-11-231-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. Schaefer2015-11-231-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. Schaefer2015-11-231-1/+1
|
* 37203: WARN_CREATE_GLOBAL test in wrong place for associative arrayPeter Stephenson2015-11-231-2/+4
|
* 37191: fix strftime() expansion issue with %p and %P.Peter Stephenson2015-11-221-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 Stephenson2015-11-221-0/+1
|
* 37186: a couple more WARN_CREATE_GLOBAL fixesPeter Stephenson2015-11-221-1/+2
|
* 37161: Disable the heuristic setting RPROMPT_INDENT to 0Mikael Magnusson2015-11-201-2/+4
|
* 37168: No WARN_CREATE_GLOBAL on special parametersPeter Stephenson2015-11-201-1/+1
|
* 20974: Bug with scalar assignment to special array in typesetPeter Stephenson2015-11-201-4/+20
|
* 37145: suppress alias expansion in skipcomm()Barton E. Schaefer2015-11-181-0/+3
| | | | Thus defer parsing aliases in $(...) et al. into the subshell
* 37128: work around alias expansion trashing subscript parsingPeter Stephenson2015-11-171-6/+22
|
* unposted: Make $EDITOR's jump-to-matching-brace happy.Daniel Shahaf2015-11-131-0/+2
|
* 37096: Another $${(P)...} tweak.Peter Stephenson2015-11-121-2/+17
| | | | Make a top level (P) work with nested ones, i.e. ${(P)${(P)...}...}
* 37094: Further tweaks to parameter name references.Peter Stephenson2015-11-111-3/+3
| | | | | | | | Safety in array test. Make nested references work. Add parameter tests.
* 37092: make nested ${(P)name} properly refer to parameter on returnPeter Stephenson2015-11-117-68/+123
|
* 37091: clear lastline and lastlinesz when freeingPeter Stephenson2015-11-111-0/+2
|
* 37081: new module zsh/param/private for private-scoped parameters in functionsBarton E. Schaefer2015-11-082-0/+594
|
* 37080: use paramtab abstraction more consistently, add explanatory commentsBarton E. Schaefer2015-11-082-6/+11
|
* 37074: extend previous fix to over whitespace at endPeter Stephenson2015-11-071-14/+36
|
* 37073: another SH_WORD_SPLIT problem.Peter Stephenson2015-11-061-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 emulationsPeter Stephenson2015-11-012-8/+55
|
* unposted (cf. 36998,36999): undo 36956 / restore 34451 with expanded comment ↵Barton E. Schaefer2015-10-311-4/+3
| | | | about the flip-flopping
* unposted (after 37018): Fix typo in error message.Daniel Shahaf2015-10-301-1/+1
|
* 37022: add GLOB_STAR_SHORT option to abbreviate ** and ***Peter Stephenson2015-10-303-18/+27
|
* 37018: Make WARNCREATEGLOBAL more consistent.Peter Stephenson2015-10-292-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 Stephenson2015-10-296-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 Stephenson2015-10-271-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 listsPeter Stephenson2015-10-275-11/+11
|
* 36906: quite_signals() in ZSH_MEM realloc()Kamil Dudka2015-10-261-2/+7
|
* 36968: use addmodulefd() to tell the shell about the descriptor of the dbm fileBarton E. Schaefer2015-10-261-2/+7
|
* 36956: revert 34451, mmap() is too slow on MacOSBarton E. Schaefer2015-10-261-0/+7
|
* users/20825: fix crash when complex completion hooks.Peter Stephenson2015-10-261-0/+17
| | | | | get_undo_current_change() needs protecting against execution in completion environment.
* 36911: '-optarg' should not match optspec '-opt='Jun-ichi Takimoto2015-10-251-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. Schaefer2015-10-241-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 againPeter Stephenson2015-10-241-1/+1
|
* unposted: small typoPeter Stephenson2015-10-241-1/+1
|
* 36944: extend fd management to zsocketPeter Stephenson2015-10-243-14/+32
|
* 36941: Mark file descripors in ztcp as used.Peter Stephenson2015-10-243-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 ztrdupBarton E. Schaefer2015-10-211-1/+1
|
* 36909: in getargs(), sanity-check the offsets for start and end of the ↵Barton E. Schaefer2015-10-211-2/+16
| | | | requested words, in case of overflow
* 36853: replace pushheap/popheap by NEWHEAPS/OLDHEAPS in doshfunc() to ↵Barton E. Schaefer2015-10-141-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. Schaefer2015-10-111-2/+3
|
* 36836: zhalloc() avoids re-scanning all heaps when the last known heap with ↵Barton E. Schaefer2015-10-111-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 heapBarton E. Schaefer2015-10-111-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 Stephenson2015-10-061-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. Schaefer2015-10-041-19/+30
| | | | obvious that a directory is expected
* unposted: back out 36707, add test case for 36766Barton E. Schaefer2015-10-032-7/+3
|
* 36766: fix incorrect reset of noerrexit during "if" conditionsBarton E. Schaefer2015-10-031-1/+2
|