summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2015-03-0634653: move aborted vared lines to ZLE_VARED_ABORTEDPeter Stephenson1-1/+3
2015-03-0534651: Avoid core dump if no lexical tokenPeter Stephenson1-0/+3
2015-03-0534636: replace broken isprint() on Mac OS XJun-ichi Takimoto4-3/+24
2015-03-0434641: make it possible to alias tokensPeter Stephenson1-30/+41
2015-02-2734634: avoid infinite recursion on (/)# extendedglobBarton E. Schaefer1-1/+2
2015-02-2334623: free history more often if "remetafying"Peter Stephenson1-2/+6
2015-02-2334615 + 34619: Remeta one frame earlierMikael Magnusson1-35/+30
2015-02-2234606: fix up nested arithmetic substitutionPeter Stephenson1-2/+18
Arithmetic within a parameter substitution is a special case that needs fixing with the introduction of the new Inparmath token. Add test.
2015-02-2234604: Work around problem with changes in Meta characters.Peter Stephenson1-3/+37
If reading in a file that contains characters that should be metafied but are not, fix up on the fly. Only need when using HIST_LEX_WORDS.
2015-02-2034590: queue_signals() around more scopes that manipulate global stateBarton E. Schaefer2-1/+18
2015-02-2034587: ensure multibyte characters don't overflow.Peter Stephenson1-0/+8
They could start incorporating tokens, with bad karma. Add test.
2015-02-1934568: use META_HEAPDUP when passing dlerror() string to metafy()Barton E. Schaefer1-1/+1
2015-02-1934573: Safer failure to handle command substitutionPeter Stephenson1-3/+7
2015-02-1934570: Another nasty command / math substituion thing.Peter Stephenson3-51/+85
Mark arithmetic substitutions with tokens to make sure the substitution go knows what to do. Before it was guessing by counting the parentheses at the end.
2015-02-17Fix up memory allocation for previous patchPeter Stephenson1-4/+5
2015-02-1634560: Fix $(( that's actually a multiline cmd subst.Peter Stephenson3-2/+36
2015-02-1634530: PRINT_EXIT_VALUE with anonymous functions.Peter Stephenson1-2/+12
Simpler fix, avoiding structural changes.
2015-02-1534551: Avoid adding an extra "/" to the target path in cd_try_chdir() when ↵Barton E. Schaefer1-2/+4
the current directory is "/"
2015-02-1434543: Prevent crash on garbage bytes inside $(...)Barton E. Schaefer2-4/+8
Garbage input (nul bytes, etc.) can cause the $(...) parser to become confused during look-ahead and attempt to back up the input too far. This commit catches the error but does not fix the underlying cause.
2015-02-1334546: further $_ with anon function fix.Peter Stephenson1-4/+13
Also add tests.
2015-02-1234519: $_ for arguments of anonymous functionPeter Stephenson1-1/+4
2015-02-1234514: Back out 34485, an alternate solution needs to be worked out.Barton E. Schaefer2-27/+30
(Tweaked to keep the unrelated hunk of the E01 test.)
2015-02-11users/19850: add pattern support to watch variablePeter Stephenson1-3/+24
2015-02-1034490: Fix leak on print -zf/-sf errorMikael Magnusson1-1/+17
2015-02-1034488: Fix use-after-free for print -zf and print -sfMikael Magnusson1-6/+12
2015-02-0934485: More rationalisation for anonymous functions.Peter Stephenson2-30/+27
Don't attempt to treat as "simple" case as there are too many hidden problems. Pull out some post-execution functions to a common case in execcmd().
2015-02-0934466: Fix double unmeta in rm verificationMikael Magnusson1-1/+1
2015-02-0334451: use mmap() also on Mac OS XJun-ichi Takimoto1-0/+4
Let MAP_ANONYMOUS be an alias to MAP_ANON if the former is not defined.
2015-02-0334455: Further gdbm parameter fixes.Peter Stephenson1-12/+16
Fix memory leak with name of parameter. Unset old parameter before opening db as it might close an existing db.
2015-02-0234447: fix assignment of key-value array to ztie'd parameter.Barton E. Schaefer1-5/+56
Add gdbmhashsetfn() for this purpose. Erases and reorganizes the database before bulk assign.
2015-02-0134446: add "ztie -r" and "zuntie -u", update documentationBarton E. Schaefer1-12/+32
2015-01-3034439: unset variable about to be tiedPeter Stephenson1-2/+15
2015-01-2934430: parameter fixes for gdbm tied hash.Peter Stephenson2-8/+36
Probably fix the issue with correct parameter hiding or not hiding. A little extra safety checking. Possibly fixed a memory leak with untying.
2015-01-2634403: refine 34399 to avoid settyinfo() when the input descriptor is not a TTYBarton E. Schaefer1-2/+2
2015-01-2734387: Avoid loading the main zsh binary as a moduleMikael Magnusson1-1/+3
2015-01-2734382: Handle NULL return from dlerror() more gracefullyMikael Magnusson1-1/+2
2015-01-26Unsetting gdbm tied variable basically works.Peter Stephenson1-1/+25
Allows variables in nested scope. However, explicitly untying a variable doesn't properly expose the scope above.
2015-01-2534399: fix polltty thinko from 34365Barton E. Schaefer1-1/+1
Also add missing ChangeLog entry for 34365.
2015-01-2534389: fix parsing of ">!" when read from histfile with HIST_LEX_WORDSBarton E. Schaefer1-1/+2
2015-01-2534365: History lockfile backoff: randomised time.Peter Stephenson2-14/+123
Time doubles on each lock failure. zsleep() provides microsecond resolution for sleep; uses nanosleep() if available, else select via means of existing tty poll function.
2015-01-2534350, 34353: document zsh/db/gdbm module, clean up a few things in the codeBarton E. Schaefer1-20/+29
Still core dumps at this revision if the tied parameter is forced to be a local and is not untied before end of scope.
2015-01-2534369: document error and warning codesDaniel Shahaf1-1/+15
2015-01-2534383: ztrdup() should be dupstring() in new cd codePeter Stephenson1-1/+1
2015-01-2234331: better handling of NULL in cd.Peter Stephenson2-7/+12
Problem was return from symbolic link expander in weird cases where there file system isn't behaving itself properly.
2015-01-2034329: add -S option to which and wherePeter Stephenson1-2/+2
2015-01-20users/19751: remove error on failure to close file descriptor by number.Peter Stephenson1-1/+6
Keep it when closing file descriptor stored in a variable, i.e. explicitly opened by the user.
2015-01-1834322: bug with interface to parsestr() etc.Peter Stephenson9-26/+46
Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy.
2015-01-1834319: fix alias expansion in history for command substitutionPeter Stephenson2-7/+21
2015-01-16unposted: another dubious comment in hist.c fixedPeter Stephenson1-2/+2
2015-01-16unposted: improve comment on hist_in_word().Peter Stephenson1-2/+6
Commit f2a2f28f7 was a bit less clear about how hist_in_word() was used than it could be.