about summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
* 35359: Improved math parsing and errors.Peter Stephenson2015-06-021-7/+14
| | | | | | Check for bogus trailing ")" at end of top-level parse. Extend some math error messages to indicate they are math errors.
* 35357: FreeBSD needs HAVE_POSIX_OPENPT for zptyBaptiste Daroussin2015-06-021-1/+1
|
* 35353: print -x and print -X expand tabsPeter Stephenson2015-06-022-6/+137
|
* 35343: Avoid $#name length handling for POSIX_IDENTIFIERSPeter Stephenson2015-05-311-1/+2
|
* users/20238: add "fc -L" to operate only on the local shell historyBarton E. Schaefer2015-05-301-10/+13
| | | | Also avoid invoking the editor on empty results.
* 35326: $#- was misparsed as ${#-}Peter Stephenson2015-05-291-1/+1
|
* 2037: ${functions[foo]} shouldn't be unmetafied.Peter Stephenson2015-05-291-5/+0
| | | | | | | When passed back from the parameter-specific "get" handler it's still in the shell's internals, so remains metafied. This caused mayhem with UTF-8 characters in function bodies.
* 35318: POSIX_BUILTINS behaviour for getopts.Peter Stephenson2015-05-282-4/+12
| | | | | It needs to keep OPTIND, as well as the index within the string pointed to by OPTIND, global in this case.
* 35306: "test -z \(" failed due to parse confusionPeter Stephenson2015-05-271-8/+17
|
* 35127#1: Fix _describe/compdescribe problem with unsorted groupsDaniel Shahaf2015-05-232-7/+42
|
* Tweak test for function level of exit.Peter Stephenson2015-05-221-1/+1
| | | | | Sometimes local level jumps so we need an inequality instead of an equality.
* 35250: Fix case documentation (SH_GLOB)Peter Stephenson2015-05-211-2/+2
|
* 35248: treat fully parenthised zsh patterns as complete case patterns againPeter Stephenson2015-05-212-12/+85
|
* 35231: make mkevnstr() safe for NULL valueBarton E. Schaefer2015-05-201-5/+9
|
* 35193: Add "unalias -a".Peter Stephenson2015-05-182-7/+38
|
* 35184: Additional case fix for 35168.Peter Stephenson2015-05-181-2/+0
| | | | | Lexical analysis flags got screwed up after a "|", so we didn't parse patterns properly, in particular those with parentheses.
* 35168: Improve parsing of case patterns.Peter Stephenson2015-05-184-111/+96
| | | | | | | | | | | | | | "|" is now found properly by looking for words that come from the lexical analyser, rather than hacking a pattern returned in one dollop. Update some completion functions that need extra quoting as a result. Add test for new parsing. Update version number to 5.0.8-dev-3 because of wordcode incompatibility.
* 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