summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
* 35155: cmdpop() could be called erroneously on errorPeter Stephenson2015-05-151-2/+4
|
* 35153: nested math substitutionPeter Stephenson2015-05-151-2/+11
|
* 35151: improved check for parameter q and b flagsPeter Stephenson2015-05-151-1/+2
|
* 35131: allow "[]" to match empty character set.Peter Stephenson2015-05-151-1/+10
| | | | | This only works if there's no further "]" in the pattern, since if there is the first "]" has to match a literal character.
* Øystein Walle: 34841 (tweaked): allow grouping of thousands in printf ↵Oliver Kiddle2015-05-141-3/+3
| | | | format string
* 35110: don't implicitly initialize restricted integers to zeroPeter Stephenson2015-05-141-1/+6
|
* 35092: fix for numeric arguments from vi operator pending modeOliver Kiddle2015-05-131-1/+1
|
* 35114: zformat -a multibyte char widthsPeter Stephenson2015-05-131-0/+36
|
* users/20203: nested functions in always blocks when exit pendingPeter Stephenson2015-05-132-1/+15
|
* 35078: Add backslash quoting to parameter (b) flag from 35067.Peter Stephenson2015-05-111-1/+1
|
* 35067: Add (b) parameter flag for pattern char backslashing.Peter Stephenson2015-05-104-6/+42
| | | | | | Doc tweak from Daniel in 35071. Includes test.
* Don't treat NUL as a combining characterMikael Magnusson2015-05-101-2/+2
|
* 35064: rename ISPRINT to ZISPRINT to avoid conflictJun-ichi Takimoto2015-05-093-5/+5
|
* 35059: fix, document, test readonly -p.Peter Stephenson2015-05-081-70/+108
| | | | | | Don't output specials as can't be reconstructed. Output arrays in a useful order.
* 35054: readonly -p + POSIXBUILTINS fix.Peter Stephenson2015-05-071-2/+13
| | | | Now displays unset variables marekd readonly
* 35046: unwind cmdstack when erroring out of lexing a parameter expansion in ↵Barton E. Schaefer2015-05-061-1/+4
| | | | braces
* 35032: Handle SIGCONT for process better.Peter Stephenson2015-05-051-1/+3
| | | | Update job status as well as process status.
* 35029: improvements to newline handling for vi-mode word movementOliver Kiddle2015-05-041-18/+33
|
* Fix two bugs in typeset_setbaseMikael Magnusson2015-05-041-3/+4
|
* 34992: POSIX fix for readonly variables.Peter Stephenson2015-04-292-5/+38
| | | | | With POSIXBUILTINS, variables can be marked readonly if unset. Also, variables can't have the readonly flag removed.
* 34989: AUTO_CD needs to call cd --.Peter Stephenson2015-04-281-0/+1
| | | | Otherwise directories looking like options do the wrong thing.
* 34979: Preserve job text when doing shell job fix.Peter Stephenson2015-04-281-1/+14
| | | | | | This handles list_pipe_text in execlist() along with other variables that are saved and restored and, in the special case of source, cleared.
* 34977: more reliable test if preprocessor is GNUPeter Stephenson2015-04-281-2/+2
|
* 34966: "whence -v" for a function reports whether the function is autoloaded ↵Barton E. Schaefer2015-04-251-3/+11
| | | | or its source file when known
* 34965: consistent use of zalloc/zrealloc/zfreeBarton E. Schaefer2015-04-251-3/+3
|
* 34961: $TZ is implicitly local in builtin strftime (originally workers/34602 ↵Barton E. Schaefer2015-04-251-1/+20
| | | | from workers/34596)
* 34961: clean up declarations of quote() and quotebreak()Barton E. Schaefer2015-04-251-3/+3
|
* 34961: replace a couple of free() with zfree() for consistencyBarton E. Schaefer2015-04-252-2/+2
|
* 34955: save and restore list_pipe_job with its friendsPeter Stephenson2015-04-241-2/+4
| | | | This is needed to stop source() messing up job control.
* 34921: handle error in recursive par_event().Peter Stephenson2015-04-171-0/+1
| | | | Here documents in an interrupted list caused bad juju.
* 34919: update interrupt parse error for ZLE cases.Peter Stephenson2015-04-172-2/+2
| | | | Covers both send-break and push-input.
* 34905: no parse error after keyboard interrupt.Peter Stephenson2015-04-173-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.
* 34900: assignment before an "exec".Peter Stephenson2015-04-151-7/+14
| | | | | | Without POSXIBUILTIN: restore after, so we only get side effects. With POSXIBUILTIN: keep set variable
* unposted: rewrite Nularg math handling to be like other casesPeter Stephenson2015-04-151-2/+6
|
* 34892 (slightly tweaked): math evaluation fixPeter Stephenson2015-04-151-2/+2
| | | | | An empty expression resulting from substitution includes a Nularg, which needs handling the same as an empty string.
* 34887: Fix POSIX_BUILTINS with assignment.Peter Stephenson2015-04-151-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.
* 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