about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into schaefer/badarrays schaefer/badarraysBarton E. Schaefer2017-06-015-35/+104
|\
| * 41191: Check for immortal thingies when checking for specific thingiesPeter Stephenson2017-06-014-5/+19
| |
| * 41177: _nm: add support for macOS and OpenBSDJun-ichi Takimoto2017-06-012-30/+85
| |
* | Special-case typeset -c / -C because of PM_* renumberingBarton E. Schaefer2017-06-012-1/+12
| |
* | Finish merging arrcachelen() changes, I think.Barton E. Schaefer2017-05-301-9/+31
| |
* | Fix remaining IPDEF macros for addition of param.lengthBarton E. Schaefer2017-05-301-8/+23
| |
* | Merge branch 'master' into schaefer/badarraysBarton E. Schaefer2017-05-305-34/+34
|\|
| * 41164: Don't free a history entry if it's curline.Peter Stephenson2017-05-304-29/+23
| | | | | | | | | | | | This replaces 41113 / 94014ff65b with a simple local change for the immediate problem. It's not entirely clear if this reflects wider changes in the structure of the history code.
| * 41151: propagate flags when creating new parameterSebastian Gniazdowski2017-05-282-1/+4
| |
| * 41153: finish module setup only after all error conditions have been checkedSebastian Gniazdowski2017-05-282-4/+7
| |
* | Renumber PM_CACHLEN and PM_CHECKLENBarton E. Schaefer2017-05-301-2/+2
| |
* | Merge branch 'mikachu/badarrays' into schaefer/badarraysBarton E. Schaefer2017-05-2813-61/+132
|\ \ | |/ |/|
| * Add typeset -C to control whether to assert the cached length mikachu/badarraysMikael Magnusson2016-05-084-18/+30
| |
| * Add typeset -c to control when cached length is usedMikael Magnusson2016-05-084-41/+116
| |
| * Assert on problemsMikael Magnusson2016-05-082-2/+15
| |
| * UNREVIEWED: Further optimizationsDaniel Shahaf2016-05-082-13/+17
| |
| * 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'
| * Change version on this branchMikael Magnusson2016-05-081-1/+1
| |
* | unposted: clarify ZLS_COLORS pattern matching contextsBarton E. Schaefer2017-05-282-1/+7
| |
* | 41159: handle "Include" and "HostName" lines in ~/.ssh/configBarton E. Schaefer2017-05-282-11/+22
| | | | | | | | Added 2>/dev/null to conceal file access errors.
* | 41146: careul in GDBM freeing strings with embedded nullsSebastian Gniazdowski2017-05-242-10/+32
| |
* | 40898: fix GDBM error handlingSebastian Gniazdowski2017-05-242-1/+6
| |
* | 41142: Ensure close-on-exec is passed to moved file descriptorStephane Chazelas2017-05-232-10/+25
| |
* | 41087: Update kvno completion to MIT krb 1.14Marko Myllynen2017-05-222-4/+9
| |
* | 41086: Update librt completionsMarko Myllynen2017-05-222-2/+6
| |
* | 41085: Update OpenStack completionsMarko Myllynen2017-05-222-3/+6
| |
* | 41128: typo in compsys documentationJörg Sommer2017-05-222-1/+5
| |
* | users/22707: Document extra use of accept-exact-dirsPeter Stephenson2017-05-192-3/+16
| | | | | | | | | | | | | | It allows completion after magically appearing directories that dont't show up in the parent directory by supressing searching of the parent directory if the subdirectory is directly found to exist.
* | 41113 (tweaked): Save current line linkage to history ring.Peter Stephenson2017-05-184-15/+35
| | | | | | | | | | | | | | | | | | | | When saving history state save whether the current history line is linked into the ring and remove it, and restore as appropriate later. This avoids surprises where the history ring is freed and incorrectly frees the current state in curline, which has a different allocation strategy. Original patch tweaked to make restoring more logical.
* | 41090: Replace iswprint() if unicode9 is enabled.Jun-ichi Takimoto2017-05-129-351/+56
| | | | | | | | If wcwidth() or iswprint() is broken, force enable unicode9.
* | 41096: Don't assume null termination copying string.Peter Stephenson2017-05-112-1/+7
| | | | | | | | | | | | | | At this point the string may contain embedded nulls or not have a null termination at all. Also, as we always have the length memcpy() is more efficient.
* | unposted: Adding comments to test changed line number in outputPeter Stephenson2017-05-092-1/+6
| |
* | 40181: Fix buffer overrun in xsymlinks.Peter Stephenson2017-05-093-3/+22
| | | | | | | | | | There was no check for copying to the internal xbuf2 for a preliminary test.
* | 41078: Empty psvar could cause bad dereference in prompt expansionPeter Stephenson2017-05-093-1/+10
| |
* | 41095: Use 2>&- in completion to avoide restricted shell problem.Jan Kryl2017-05-082-1/+4
| |
* | 40173: Off-by-one error checking for {varid}.Peter Stephenson2017-05-083-1/+13
| | | | | | | | | | This caused a single unprintable character in braces before a redirection to be treated as an indentifier.
* | users/22688: Allow mixing redirs and arguments after anon functions.Peter Stephenson2017-05-083-4/+30
| | | | | | | | | | These are parsed differently from the case of normal functions which can't take normal arguments at that point.
* | Fix combination of HERE document and |&.Peter Stephenson2017-05-083-1/+22
| | | | | | | | | | | | | | | | A missing flag setting up the HERE document mean that the size of the wordcode needed to append the 2>&1 was counted incorrectly, so the resulting wordcode was garbled. Add test.
* | 41038: Document recent, backwards-compatible precommand modifiers changes.Daniel Shahaf2017-05-042-0/+16
| |
* | 41043: Close pipes in shell when disowning background job.Peter Stephenson2017-05-032-0/+6
| | | | | | | | This was missing in the case of &,, causing a file descriptor leak.
* | unposted: Use typeset -g in insert-unicode-charPeter Stephenson2017-05-022-2/+7
| | | | | | | | Avoid warning from WARN_NESTED_VAR if set.
* | 41020: Fix "command -p"; "-p" was incorrectly left in command argumentsPeter Stephenson2017-04-283-2/+24
| | | | | | | | Also add tests for known precommand modifier issues.
* | 41012: Fix premature exit from nested function in EXIT trap.Peter Stephenson2017-04-275-8/+60
| | | | | | | | | | | | Also add check so we don't delay an exit if we were already in an EXIT trap for the main shell, as we should in that case leave immediately.
* | 41016: Test that quoted precommand modifiers now workPeter Stephenson2017-04-272-0/+11
| |
* | unposted: fix syntax on line endOliver Kiddle2017-04-262-1/+3
| |
* | 40965: fix for missing local declarations of explOliver Kiddle2017-04-2632-58/+109
| |
* | 41008: Handle expansions for precommand modifiersPeter Stephenson2017-04-265-35/+177
| |
* | 41006: _ls: new optiosns and a few fixesJun-ichi Takimoto2017-04-262-24/+81
| |
* | 40943: __git_recent_commits: prefer recent commit objectsDaniel Hahler2017-04-232-2/+7
| | | | | | | | | | | | Without this "commit to be amended" shows up before "recent commit object name" with `git commit --fixup`, but the recent commit objects are the most useful here.