summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2015-04-2834977: more reliable test if preprocessor is GNUPeter Stephenson1-2/+2
2015-04-2534966: "whence -v" for a function reports whether the function is autoloaded ↵Barton E. Schaefer1-3/+11
or its source file when known
2015-04-2534965: consistent use of zalloc/zrealloc/zfreeBarton E. Schaefer1-3/+3
2015-04-2534961: $TZ is implicitly local in builtin strftime (originally workers/34602 ↵Barton E. Schaefer1-1/+20
from workers/34596)
2015-04-2534961: clean up declarations of quote() and quotebreak()Barton E. Schaefer1-3/+3
2015-04-2534961: replace a couple of free() with zfree() for consistencyBarton E. Schaefer2-2/+2
2015-04-2434955: save and restore list_pipe_job with its friendsPeter Stephenson1-2/+4
This is needed to stop source() messing up job control.
2015-04-1734921: handle error in recursive par_event().Peter Stephenson1-0/+1
Here documents in an interrupted list caused bad juju.
2015-04-1734919: update interrupt parse error for ZLE cases.Peter Stephenson2-2/+2
Covers both send-break and push-input.
2015-04-1734905: no parse error after keyboard interrupt.Peter Stephenson3-6/+9
Handled generally, though only showing up in special nested cases. Also fix ZLE so it doesn't cancel the interrupt flag when not actually returning from a local keymap.
2015-04-1534900: assignment before an "exec".Peter Stephenson1-7/+14
Without POSXIBUILTIN: restore after, so we only get side effects. With POSXIBUILTIN: keep set variable
2015-04-15unposted: rewrite Nularg math handling to be like other casesPeter Stephenson1-2/+6
2015-04-1534892 (slightly tweaked): math evaluation fixPeter Stephenson1-2/+2
An empty expression resulting from substitution includes a Nularg, which needs handling the same as an empty string.
2015-04-1534887: Fix POSIX_BUILTINS with assignment.Peter Stephenson1-7/+21
In the form var=val command special-builtin-or-func the var is restored after execution, unlike the case where "command" is absent. Clear up case in code that handles this. Add tests.
2015-04-0634851: fix thinko from 34093 that short-circuited some "whence -m" searchesBarton E. Schaefer1-5/+7
2015-04-0334837: avoid loss of original file path when applying colon-modifiers in ↵Barton E. Schaefer1-2/+2
glob qualifiers
2015-03-2934817: Catch some errors earlier when reading history.Peter Stephenson2-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.
2015-03-2934792: langinfo: Fix pointer typeTheo Buehler1-1/+2
2015-03-2834781: add implicit space after alias expansion of tokens that form words ↵Barton E. Schaefer1-0/+10
without spacing fixes crash when using completion immediately following such an alias
2015-03-2834804: refine POSIX_ALIAS change to preserve old behavior of [[ ]] conditionalsBarton E. Schaefer1-4/+1
2015-03-2734788: refine errflag handling in cmd_or_math()Barton E. Schaefer1-1/+1
2015-03-2634784: fix old bug with history word selectionPeter Stephenson2-11/+21
2015-03-2534776: improve suppression of alias expansions from history.Peter Stephenson2-35/+12
Now uses the mechanism in use for other forms of suppression of sections of input.
2015-03-2234759: improve implementation of last commitPeter Stephenson2-7/+8
2015-03-2234758: fix yet more history / command subst interaction.Peter Stephenson2-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.
2015-03-2034752: another fix for history expansion in cmd substPeter Stephenson1-2/+14
2015-03-1934742: history expansion inside command substitution failed.Peter Stephenson1-2/+4
Needs the case of alias expansion separating out.
2015-03-1834734: further aliasing adjustments and docBarton E. Schaefer1-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
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.)