summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
* 39185: Only set word begin for completion word if not alias.Peter Stephenson2016-09-071-1/+1
| | | | | This is consistent with other ZLE code in lex.c and fixes a crash in some completions involving aliases, e.g. if uncompleted quotes.
* 39218: Fix module feature enables with math functions.Peter Stephenson2016-09-071-0/+2
| | | | If they were present parameters were miscounted.
* 39217: fix error name generation with GCC.Peter Stephenson2016-09-071-1/+6
| | | | | Adapt the same trick as in zsh.mdd to ensure we don't get preprocessor lines in the output.
* 39173: _arguments: Escape colons and backslashes in $opt_args unambiguously.Daniel Shahaf2016-09-061-3/+9
|
* 39181: Add PM_SINGLE and use for compstate.Peter Stephenson2016-09-063-2/+8
| | | | | | | | | | | | This flags that compstate (or any other special) can only have a single instance and an attempt to create a new one is an error. Given the very fiddly semantics of compstate any other usage seems pointless. No investigation yet of other variables that could use this. Note it's still possible to hide such variables; only instances that keep the special nature are affected.
* 39167: Make $ENV handling more like POSIXTeubel György2016-09-051-11/+14
|
* unposted: internals: Document zshcompwid(1) parameter implementations.Daniel Shahaf2016-09-042-3/+21
|
* 39125: More care needed decrementing SHLVL on exec.Stephane Chazelas2016-08-311-4/+7
| | | | Not needed in subshell.
* 39115: repair forced joining when (@) and (j) are used togetherBarton E. Schaefer2016-08-291-2/+3
|
* 39104: do not hash relative paths in findcmd()Barton E. Schaefer2016-08-261-1/+1
|
* 39087: fix 'conditionally uninitialized' variablesJun-ichi Takimoto2016-08-232-2/+4
|
* 39086: declare file local variables as 'static'Jun-ichi Takimoto2016-08-231-2/+2
|
* 39046 + 39061: New :P history modifier.Daniel Shahaf2016-08-223-7/+22
|
* 39064: use scalbn() instead of scalb() (mathfunc.c)Jun-ichi Takimoto2016-08-201-0/+4
|
* 39026: pattern specified with _arguments' -A option shouldn't be checked ↵Oliver Kiddle2016-08-131-2/+4
| | | | against words after the cursor
* 39035: ${(A)name=word} should expand as an array even when there is only one ↵Barton E. Schaefer2016-08-121-0/+1
| | | | element.
* 39031: Ensure variables in transpose-words are initialisedPeter Stephenson2016-08-121-1/+1
|
* 38983: Make transpose-words handle numeric arguments sensiblyHan Pingtian2016-08-121-39/+51
|
* 39028: more join/split cases fixed and tested.Barton E. Schaefer2016-08-121-3/+4
|
* 39019 (cf. PWS 39013): fix SHWORDSPLIT regression introduced by workers/29313Barton E. Schaefer2016-08-101-6/+15
| | | | Also add test cases for more join/split combinations
* 39014: Use special OpenBSD interface to get correct rand() behaviorMikael Magnusson2016-08-101-0/+4
|
* unposted: fix typo in commentBarton E. Schaefer2016-08-061-1/+1
|
* workers/38995 (in part): compfiles: Add reverse-engineered documentation ↵Daniel Shahaf2016-08-051-0/+15
| | | | breadcrumbs.
* 38991: Make 'whence -v autoloaded-function' shows the defining filename.Daniel Shahaf2016-08-051-1/+2
| | | | | | This may also fix a problem whereby the %x prompt escape evaluated to a function name rather than a filename, since %x is also backed by scriptfilename.
* 38971: Start using the new arrlen_ge() / arrlen_le() helpers.Daniel Shahaf2016-08-016-12/+12
|
* 38973: Optimize indexing array parameters.Daniel Shahaf2016-08-013-5/+52
| | | | | | | | | | | % () { for 1 in $prefix/zsh/bin/zsh Src/zsh; do $1 -f -c 'a=( {1..1000000} ); repeat 3 time ( repeat 300 : $a[1] )'; done } ( repeat 300; do; : $a[1]; done; ) 1.68s user 0.01s system 98% cpu 1.718 total ( repeat 300; do; : $a[1]; done; ) 1.69s user 0.01s system 99% cpu 1.710 total ( repeat 300; do; : $a[1]; done; ) 1.69s user 0.01s system 99% cpu 1.714 total ( repeat 300; do; : $a[1]; done; ) 0.00s user 0.01s system 72% cpu 0.022 total ( repeat 300; do; : $a[1]; done; ) 0.00s user 0.01s system 72% cpu 0.022 total ( repeat 300; do; : $a[1]; done; ) 0.01s user 0.01s system 69% cpu 0.023 total
* 38927: zle-line-pre-redraw: Set $WIDGET like other special widgets do.Daniel Shahaf2016-07-281-1/+1
|
* users/21793: Remove raw integers as glob qualifiers.Peter Stephenson2016-07-281-8/+1
| | | | | | | There was an ancient undocumented feature that these were treated as a file mode to "or" with that of the file under test. The only documented way of doing this has always been the "f" qualifier, so removed the effect of raw integers to make errors more obvious.
* 38923: zwaitjob() continues waiting for children that may have ignored the ↵Barton E. Schaefer2016-07-231-1/+8
| | | | interrupt signal, even if the current shell has been interrupted.
* 38853: use strchr()Peter Stephenson2016-07-201-7/+1
|
* 38862: strptime(3) requires _XOPEN_SOURCE on CygwinJun-ichi Takimoto2016-07-191-0/+3
|
* 38879: Unmetafy file names for glob sort.Peter Stephenson2016-07-181-1/+29
| | | | | Test using Polish UTF-8 collation sequence that'w known to cause the problems.
* 38845: reset region_active before entering zleOliver Kiddle2016-07-171-1/+1
| | | | | It was done on exit but before zle-line-finish. Also reword documentation on region to better cover vi mode.
* 38810: fix cursor positioning and repeated invocations when widgets used ↵Oliver Kiddle2016-07-081-9/+9
| | | | from emacs mode
* 38809: fix tracking of colour attributes and restore them when turning bold offOliver Kiddle2016-07-083-7/+10
|
* 38770: vi upper/lowercase widgets and shell widget example that reads a vi ↵Oliver Kiddle2016-06-293-1/+52
| | | | movement
* 38752: add comments to explain use of stdout instead of stderr for the which ↵Oliver Kiddle2016-06-291-1/+2
| | | | builtin
* unposted: remove flag unneded from previous fixPeter Stephenson2016-06-221-2/+1
|
* 38746: Fix suffix alias expansion recursion.Peter Stephenson2016-06-221-3/+4
| | | | | | | | This was problematic if the expansion landed you back in command position. Delay marking the alias as out of use until the text that caused the expansion is finished.
* 38714: add x: syntax to match specs to make it possible to disable match ↵Oliver Kiddle2016-06-221-0/+10
| | | | specs hardcoded in completion functions
* 38734: fix final case clauses terminating with ;&Peter Stephenson2016-06-211-1/+1
|
* 38692: IFS can't be changed in restricted modePeter Stephenson2016-06-211-1/+1
|
* users/21632: Use of REPORTMEMORY variablePeter Stephenson2016-06-131-14/+39
| | | | | | If the child's resisdent set size in megabytes exceeds this, print out the resource (TIMEFMT) string. Document you need to add memory usage to this by hand.
* 38653 + 38657: 'functions -T' tracing: recurse into anonymous functions.Daniel Shahaf2016-06-131-3/+9
|
* 38630: fix infinite loop of "hash ="Barton E. Schaefer2016-06-071-0/+1
|
* 38622: consistent handling of "--" in "kill" builtinBarton E. Schaefer2016-06-051-0/+4
|
* unposted (cf. 38612): remove overeager DPUTS()Barton E. Schaefer2016-06-041-1/+0
|
* 38599: skip the "no such named directory" warning when NO_EXEC is in effectBarton E. Schaefer2016-06-041-1/+1
|
* unposted: internal: Document modify().Daniel Shahaf2016-06-031-0/+13
|
* 38586: Metafication problem with $functionsPeter Stephenson2016-06-031-5/+0
| | | | | | | | If treated as a complete associative array or scanned (retrieving individual values was not affected), it incorrectly unmetafied the value so multibyte characters got confused. Add test.