summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
* 34851: fix thinko from 34093 that short-circuited some "whence -m" searchesBarton E. Schaefer2015-04-061-5/+7
|
* 34837: avoid loss of original file path when applying colon-modifiers in ↵Barton E. Schaefer2015-04-031-2/+2
| | | | glob qualifiers
* 34817: Catch some errors earlier when reading history.Peter Stephenson2015-03-292-1/+7
| | | | | | | | Mostly for the case of an interrupt. Don't try to process words when we know something's gone wrong. Also abort history reading earlier on an interrupt.
* 34792: langinfo: Fix pointer typeTheo Buehler2015-03-291-1/+2
|
* 34781: add implicit space after alias expansion of tokens that form words ↵Barton E. Schaefer2015-03-281-0/+10
| | | | | | without spacing fixes crash when using completion immediately following such an alias
* 34804: refine POSIX_ALIAS change to preserve old behavior of [[ ]] conditionalsBarton E. Schaefer2015-03-281-4/+1
|
* 34788: refine errflag handling in cmd_or_math()Barton E. Schaefer2015-03-271-1/+1
|
* 34784: fix old bug with history word selectionPeter Stephenson2015-03-262-11/+21
|
* 34776: improve suppression of alias expansions from history.Peter Stephenson2015-03-252-35/+12
| | | | | Now uses the mechanism in use for other forms of suppression of sections of input.
* 34759: improve implementation of last commitPeter Stephenson2015-03-222-7/+8
|
* 34758: fix yet more history / command subst interaction.Peter Stephenson2015-03-222-1/+32
| | | | | | In general we need to wind back over the history text input inside command substitution because there's no level of the input mechanism between history and the lexer.
* 34752: another fix for history expansion in cmd substPeter Stephenson2015-03-201-2/+14
|
* 34742: history expansion inside command substitution failed.Peter Stephenson2015-03-191-2/+4
| | | | Needs the case of alias expansion separating out.
* 34734: further aliasing adjustments and docBarton E. Schaefer2015-03-181-2/+8
| | | | | | | | restrict token aliasing (34641) to global aliases; tighten up POSIX_ALIASES to better match spec; update Aliasing doc to cover this and clarify older behavior 2015-03-18 Peter Stephenson <p.stephenson@samsung.com> * 34723: configure.ac: turn off fixed site function directory if
* 34653: move aborted vared lines to ZLE_VARED_ABORTEDPeter Stephenson2015-03-061-1/+3
|
* 34651: Avoid core dump if no lexical tokenPeter Stephenson2015-03-051-0/+3
|
* 34636: replace broken isprint() on Mac OS XJun-ichi Takimoto2015-03-054-3/+24
|
* 34641: make it possible to alias tokensPeter Stephenson2015-03-041-30/+41
|
* 34634: avoid infinite recursion on (/)# extendedglobBarton E. Schaefer2015-02-271-1/+2
|
* 34623: free history more often if "remetafying"Peter Stephenson2015-02-231-2/+6
|
* 34615 + 34619: Remeta one frame earlierMikael Magnusson2015-02-231-35/+30
|
* 34606: fix up nested arithmetic substitutionPeter Stephenson2015-02-221-2/+18
| | | | | | | | Arithmetic within a parameter substitution is a special case that needs fixing with the introduction of the new Inparmath token. Add test.
* 34604: Work around problem with changes in Meta characters.Peter Stephenson2015-02-221-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.
* 34590: queue_signals() around more scopes that manipulate global stateBarton E. Schaefer2015-02-202-1/+18
|
* 34587: ensure multibyte characters don't overflow.Peter Stephenson2015-02-201-0/+8
| | | | | | They could start incorporating tokens, with bad karma. Add test.
* 34568: use META_HEAPDUP when passing dlerror() string to metafy()Barton E. Schaefer2015-02-191-1/+1
|
* 34573: Safer failure to handle command substitutionPeter Stephenson2015-02-191-3/+7
|
* 34570: Another nasty command / math substituion thing.Peter Stephenson2015-02-193-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.
* Fix up memory allocation for previous patchPeter Stephenson2015-02-171-4/+5
|
* 34560: Fix $(( that's actually a multiline cmd subst.Peter Stephenson2015-02-163-2/+36
|
* 34530: PRINT_EXIT_VALUE with anonymous functions.Peter Stephenson2015-02-161-2/+12
| | | | Simpler fix, avoiding structural changes.
* 34551: Avoid adding an extra "/" to the target path in cd_try_chdir() when ↵Barton E. Schaefer2015-02-151-2/+4
| | | | the current directory is "/"
* 34543: Prevent crash on garbage bytes inside $(...)Barton E. Schaefer2015-02-142-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.
* 34546: further $_ with anon function fix.Peter Stephenson2015-02-131-4/+13
| | | | Also add tests.
* 34519: $_ for arguments of anonymous functionPeter Stephenson2015-02-121-1/+4
|
* 34514: Back out 34485, an alternate solution needs to be worked out.Barton E. Schaefer2015-02-122-27/+30
| | | | (Tweaked to keep the unrelated hunk of the E01 test.)
* users/19850: add pattern support to watch variablePeter Stephenson2015-02-111-3/+24
|
* 34490: Fix leak on print -zf/-sf errorMikael Magnusson2015-02-101-1/+17
|
* 34488: Fix use-after-free for print -zf and print -sfMikael Magnusson2015-02-101-6/+12
|
* 34485: More rationalisation for anonymous functions.Peter Stephenson2015-02-092-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().
* 34466: Fix double unmeta in rm verificationMikael Magnusson2015-02-091-1/+1
|
* 34451: use mmap() also on Mac OS XJun-ichi Takimoto2015-02-031-0/+4
| | | | | Let MAP_ANONYMOUS be an alias to MAP_ANON if the former is not defined.
* 34455: Further gdbm parameter fixes.Peter Stephenson2015-02-031-12/+16
| | | | | | | Fix memory leak with name of parameter. Unset old parameter before opening db as it might close an existing db.
* 34447: fix assignment of key-value array to ztie'd parameter.Barton E. Schaefer2015-02-021-5/+56
| | | | | Add gdbmhashsetfn() for this purpose. Erases and reorganizes the database before bulk assign.
* 34446: add "ztie -r" and "zuntie -u", update documentationBarton E. Schaefer2015-02-011-12/+32
|
* 34439: unset variable about to be tiedPeter Stephenson2015-01-301-2/+15
|
* 34430: parameter fixes for gdbm tied hash.Peter Stephenson2015-01-292-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.
* 34403: refine 34399 to avoid settyinfo() when the input descriptor is not a TTYBarton E. Schaefer2015-01-261-2/+2
|
* 34387: Avoid loading the main zsh binary as a moduleMikael Magnusson2015-01-271-1/+3
|
* 34382: Handle NULL return from dlerror() more gracefullyMikael Magnusson2015-01-271-1/+2
|