about summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
* CPU SPINNER AND OUT-OF-MEMORY BUGS - DO NOT USEDaniel Shahaf2016-05-081-14/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | % make -s check ./B08shift.ztst: starting. *** /tmp/zsh.ztst.out.20779 Sun Dec 13 16:15:26 2015 --- /tmp/zsh.ztst.tout.20779 Sun Dec 13 16:15:26 2015 *************** *** 1,4 **** ! tether mether pip azer sezar akker conter dick ! mether pip azer sezar akker conter dick ! mether pip azer sezar ! mether pip azer --- 1,4 ---- ! yan tan tether mether pip azer sezar akker conter dick ! yan tan tether mether pip azer sezar akker conter dick ! yan tan tether mether pip azer sezar akker conter dick ! yan tan tether mether pip azer sezar akker conter dick Test ./B08shift.ztst failed: output differs from expected as shown above for: array=(yan tan tether mether pip azer sezar akker conter dick) shift 2 array print $array shift array print $array shift -p 3 array print $array shift -p array print $array Error output: (eval):shift:2: shift count must be <= $# (eval):shift:4: shift count must be <= $# (eval):shift:6: shift count must be <= $# (eval):shift:8: shift count must be <= $# Was testing: shifting array ./B08shift.ztst: test failed. ./D04parameter.ztst: starting. *** /tmp/zsh.ztst.out.22016 Sun Dec 13 16:15:49 2015 --- /tmp/zsh.ztst.tout.22016 Sun Dec 13 16:15:49 2015 *************** *** 1,10 **** ! a 1 b 2 c 3 ! a 1 b 2 c 3 ! a 1 b 2 ! a 1 b 2 c 1 d 2 ! a a b ! 1 ! a a ! 1 ! b ! 2 2 --- 1,6 ---- ! ! a b c ! ! a b c d ! ! Test ./D04parameter.ztst failed: output differs from expected as shown above for: foo=(a b c) bar=(1 2 3) print ${foo:^bar} print ${foo:^^bar} foo=(a b c d) bar=(1 2) print ${foo:^bar} print ${foo:^^bar} foo=('a a' b) bar=(1 '2 2') print -l "${foo:^bar}" print -l "${(@)foo:^bar}" Was testing: Zipping arrays, correct output ./D04parameter.ztst: test failed. ./X02zlevi.ztst: starting. comptesteval:6: fatal error: out of heap memory ./X03zlebindkey.ztst: starting. comptesteval:6: fatal error: out of heap memory ./Y01completion.ztst: starting. comptesteval:6: fatal error: out of heap memory ./Y02compmatch.ztst: starting. comptesteval:6: fatal error: out of heap memory ./Y03arguments.ztst: starting. comptesteval:6: fatal error: out of heap memory ************************************** 41 successful test scripts, 7 failures, 0 skipped **************************************
* UncontroversialDaniel Shahaf2016-05-0812-35/+45
| | | | | | Changes from Mikael's bcf975a2ea3ebc6ba1ed8150b376bef45e527cda: - paramsubst: Change setting of 'ziplen'
* unposted: silence spurious compiler warningBarton E. Schaefer2016-04-291-1/+1
|
* 38356: allow integers as curses coloursSebastian Gniazdowski2016-04-291-2/+14
|
* 39354: zcurses fix for colour managementSebastian Gniazdowski2016-04-291-4/+4
| | | | Alter internal return code so as not to mask curses error code.
* 38350 (cf. Glenn Smith: 38348): Remove-all warning should warn about the ↵Barton E. Schaefer2016-04-261-2/+2
| | | | root directory as well
* 38291: Change names of ISEARCH_* parameters to ISEARCHMATCH_*m0viefreak2016-04-231-12/+12
|
* Mikael Berthe: 38307: PCRE segfault when parenthesized group matches nothingBarton E. Schaefer2016-04-231-1/+1
| | | | unposted: regression test for 38307
* 38306: in printf formats, treat a missing precision as zero rather than as ↵Barton E. Schaefer2016-04-221-1/+2
| | | | unlimited
* 38287: fix position for the end of a visual selection range for the cursor ↵Oliver Kiddle2016-04-141-1/+1
| | | | on an empty last line in the buffer
* 38286: cursor correction following yank-pop is only applicable to vi command ↵Oliver Kiddle2016-04-141-1/+1
| | | | mode
* 38248: fix word position calculation when completing on or just before a ↵Barton E. Schaefer2016-04-072-3/+22
| | | | | | | | | redirection operator The completion result is still in need of some repair; e.g., if the first thing on the line is the redirection, completion before it is not taken to be in command position, and in this and other cases a necessary space is not inserted between the completed word and the redirection.
* 38229: fix cursor placement calculation when completing in empty double quotesBarton E. Schaefer2016-04-051-1/+8
|
* 38241: ungetkeycmd() needs to unmetafy key string.Peter Stephenson2016-04-042-7/+17
| | | | | | Use the new function to simplify memory management in prefix handling. Third time lucky.
* Dmitry Marakasov: 38162: accept G for gigabytes in limit commandBarton E. Schaefer2016-03-261-2/+4
| | | | from github pull request - some formatting edited
* 38191: additional re-entrancy checks in reexpandprompt()Barton E. Schaefer2016-03-211-8/+27
| | | | | | Do not free global pointers until after promptexpand() in case they are referenced from signal handlers, and check for window size changes during promptexpand().
* 38188: signal re-entrancy, maybeBarton E. Schaefer2016-03-211-34/+50
| | | | | | Crams several globals into a struct so they can be saved/restored as one, and then tries pushing the signal queue management down into patmatch() from pattryrefs().
* 38142: signal re-entrancy, maybeBarton E. Schaefer2016-03-211-5/+19
|
* Remove unnecessary filePeter Stephenson2016-03-211-30/+0
|
* 38145: ZLE parameters for isearch and completion suffixesm0viefreak2016-03-212-0/+90
|
* 38135: internal: bin_compadd: Add a few comments.Daniel Shahaf2016-03-111-0/+3
|
* 38114: Fix hang using ^Z with command subst.Peter Stephenson2016-03-091-2/+11
| | | | | In subshells started to perform substitutions disable signals that require interactive handling.
* 38043: allow any completion widget to cycle matches for menu completion to ↵Oliver Kiddle2016-03-073-10/+3
| | | | fix reverse menu completion
* 38111: Remove redundant return values in parsing.Peter Stephenson2016-03-071-11/+4
| | | | Return values from par_list() and par_list1() are no longer used.
* users/21352: ensure $'' doesn't get elided.Peter Stephenson2016-03-071-1/+5
| | | | | Assign nulstring to it if empty. Test for all forms of quotation marks.
* 38094: Fix POSIX EXIT traps defined in function.Peter Stephenson2016-03-071-1/+6
| | | | | These aren't local, so set the local level to 0; else they can get overridden incorrectly.
* 38106: if...then if...else should be a parse error.Barton E. Schaefer2016-03-061-1/+1
|
* 38086: shuffle init code to localize a global, add $ZSH_ARGZERO, refine ↵Greg Klanderman2016-03-062-9/+10
| | | | | | $ZSH_SCRIPT (also a couple of ChangeLog typos corrected -- Bart)
* 38048: fix "zle redisplay" when called while a listing is below the promptBarton E. Schaefer2016-03-031-2/+2
|
* 38039: POSIXy behavior for "set +o"Barton E. Schaefer2016-03-031-3/+4
|
* 38020: fix problems with $SECONDS.Stephane Chazelas2016-02-261-3/+3
| | | | Fractions of a second were not handled correctly.
* 38024: Improve POSIX and native EXIT traps compatibility.Peter Stephenson2016-02-251-1/+6
| | | | | | | Allow a nested function trap to leave save and restore a POSIX trap. Still fails if the POSIX trap was defined in a function.
* 38001: clear-screen re-expands promptsBarton E. Schaefer2016-02-171-0/+1
|
* 37988: $0 becomes read-only under POSIXARGZEROBarton E. Schaefer2016-02-171-1/+3
|
* 37999: Sticky behaviour of EXIT traps.Peter Stephenson2016-02-171-9/+37
| | | | | | | | They now have POSIX or non-POSIX behaviour based on the setting of POSIX_TRAPS where the trap was defined, rather than where the trap would (or would not) be executed. Tweaks possible.
* users/21256 + workers/37965: New math functions min(), max(), sum(), ↵Daniel Shahaf2016-02-161-1/+1
| | | | provided by a new autoloadable function 'zmathfunc'.
* 37961: fix crash on bad memory accessBarton E. Schaefer2016-02-141-8/+22
| | | | | | | In interactive menuselection, use of "compadd -x" (e.g. the "warnings" zstyle) may have replaced the completion list, so skip highlighting of the current selection until a subsequent keystroke has regenerated the original listing
* 37927: recreate local keymaps as necessary in case the user has deleted themBarton E. Schaefer2016-02-131-21/+34
|
* 37946: make rm * warnings more informative.Peter Stephenson2016-02-111-4/+27
| | | | Now count files that would be deleted up to 100.
* 37914: reparse associative array subscripts in "unset" so keys with "[" or ↵Barton E. Schaefer2016-02-081-12/+18
| | | | | | "]" may be backslash-escaped Also fix erroneous test case this revealed.
* 37895: $ZSH_SCRIPT is POSIX $0 but always availblePeter Stephenson2016-02-071-0/+1
|
* 37874: remove unused function argumentJun-ichi Takimoto2016-02-041-5/+5
|
* 37868: add 'static' to file local variablesJun-ichi Takimoto2016-02-0315-27/+26
|
* 37859: NULL-terminate cond_binary_ops static array.Barton E. Schaefer2016-01-311-1/+1
|
* 37838: use UNUSED() consistentlyJun-ichi Takimoto2016-01-3028-34/+34
|
* 37700: Teach ${(z)} the 'repeat WORD SUBLIST' syntax.Daniel Shahaf2016-01-293-2/+18
|
* 37804 (plus 37816): first word following "repeat" should be evaluated as mathBarton E. Schaefer2016-01-271-1/+3
|
* 37819: zshaddhistory hook works for any history file write, even upon ↵Barton E. Schaefer2016-01-271-4/+11
| | | | keyboard interrupt
* 37810: repair handling of backslashes and of names starting with "+"/":"/"=" ↵Barton E. Schaefer2016-01-271-7/+10
| | | | in zparseopts option specs
* 37802: Clarify zparseopts documention. zparseopts "X::" specifier should ↵Barton E. Schaefer2016-01-271-2/+4
| | | | also look for the optional argument in the word after "-X".