|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.167
|
|
|
22c937 |
Fcc: outbox
|
|
|
22c937 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
22c937 |
Mime-Version: 1.0
|
|
|
22c937 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c937 |
Content-Transfer-Encoding: 8bit
|
|
|
22c937 |
------------
|
|
|
22c937 |
|
|
|
22c937 |
Patch 7.4.167 (after 7.4.149)
|
|
|
22c937 |
Problem: Fixes are not tested.
|
|
|
22c937 |
Solution: Add a test for not autoloading on assignment. (Yukihiro Nakadaira)
|
|
|
22c937 |
Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
|
|
|
22c937 |
src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
|
|
|
22c937 |
src/testdir/Make_vms.mms, src/testdir/Makefile,
|
|
|
22c937 |
src/testdir/sautest/autoload/Test104.vim, src/testdir/test104.in,
|
|
|
22c937 |
src/testdir/test104.ok
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.166/src/testdir/Make_amiga.mak 2013-11-21 14:21:25.000000000 +0100
|
|
|
22c937 |
--- src/testdir/Make_amiga.mak 2014-02-05 22:16:46.654560224 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 34,40 ****
|
|
|
22c937 |
test81.out test82.out test83.out test84.out test88.out \
|
|
|
22c937 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
22c937 |
test94.out test95.out test96.out test97.out test98.out \
|
|
|
22c937 |
! test99.out test100.out test101.out test102.out test103.out
|
|
|
22c937 |
|
|
|
22c937 |
.SUFFIXES: .in .out
|
|
|
22c937 |
|
|
|
22c937 |
--- 34,41 ----
|
|
|
22c937 |
test81.out test82.out test83.out test84.out test88.out \
|
|
|
22c937 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
22c937 |
test94.out test95.out test96.out test97.out test98.out \
|
|
|
22c937 |
! test99.out test100.out test101.out test102.out test103.out \
|
|
|
22c937 |
! test104.out
|
|
|
22c937 |
|
|
|
22c937 |
.SUFFIXES: .in .out
|
|
|
22c937 |
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 154,156 ****
|
|
|
22c937 |
--- 155,158 ----
|
|
|
22c937 |
test101.out: test101.in
|
|
|
22c937 |
test102.out: test102.in
|
|
|
22c937 |
test103.out: test103.in
|
|
|
22c937 |
+ test104.out: test104.in
|
|
|
22c937 |
*** ../vim-7.4.166/src/testdir/Make_dos.mak 2013-11-21 14:21:25.000000000 +0100
|
|
|
22c937 |
--- src/testdir/Make_dos.mak 2014-02-05 22:16:46.654560224 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 33,39 ****
|
|
|
22c937 |
test84.out test85.out test86.out test87.out test88.out \
|
|
|
22c937 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
22c937 |
test94.out test95.out test96.out test98.out test99.out \
|
|
|
22c937 |
! test100.out test101.out test102.out test103.out
|
|
|
22c937 |
|
|
|
22c937 |
SCRIPTS32 = test50.out test70.out
|
|
|
22c937 |
|
|
|
22c937 |
--- 33,39 ----
|
|
|
22c937 |
test84.out test85.out test86.out test87.out test88.out \
|
|
|
22c937 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
22c937 |
test94.out test95.out test96.out test98.out test99.out \
|
|
|
22c937 |
! test100.out test101.out test102.out test103.out test104.out
|
|
|
22c937 |
|
|
|
22c937 |
SCRIPTS32 = test50.out test70.out
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.166/src/testdir/Make_ming.mak 2014-01-06 15:51:46.000000000 +0100
|
|
|
22c937 |
--- src/testdir/Make_ming.mak 2014-02-05 22:16:46.654560224 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 53,59 ****
|
|
|
22c937 |
test84.out test85.out test86.out test87.out test88.out \
|
|
|
22c937 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
22c937 |
test94.out test95.out test96.out test98.out test99.out \
|
|
|
22c937 |
! test100.out test101.out test102.out test103.out
|
|
|
22c937 |
|
|
|
22c937 |
SCRIPTS32 = test50.out test70.out
|
|
|
22c937 |
|
|
|
22c937 |
--- 53,59 ----
|
|
|
22c937 |
test84.out test85.out test86.out test87.out test88.out \
|
|
|
22c937 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
22c937 |
test94.out test95.out test96.out test98.out test99.out \
|
|
|
22c937 |
! test100.out test101.out test102.out test103.out test104.out
|
|
|
22c937 |
|
|
|
22c937 |
SCRIPTS32 = test50.out test70.out
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.166/src/testdir/Make_os2.mak 2013-11-21 14:21:25.000000000 +0100
|
|
|
22c937 |
--- src/testdir/Make_os2.mak 2014-02-05 22:16:46.654560224 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 35,41 ****
|
|
|
22c937 |
test81.out test82.out test83.out test84.out test88.out \
|
|
|
22c937 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
22c937 |
test94.out test95.out test96.out test98.out test99.out \
|
|
|
22c937 |
! test100.out test101.out test102.out test103.out
|
|
|
22c937 |
|
|
|
22c937 |
.SUFFIXES: .in .out
|
|
|
22c937 |
|
|
|
22c937 |
--- 35,41 ----
|
|
|
22c937 |
test81.out test82.out test83.out test84.out test88.out \
|
|
|
22c937 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
22c937 |
test94.out test95.out test96.out test98.out test99.out \
|
|
|
22c937 |
! test100.out test101.out test102.out test103.out test104.out
|
|
|
22c937 |
|
|
|
22c937 |
.SUFFIXES: .in .out
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.166/src/testdir/Make_vms.mms 2013-11-21 14:21:25.000000000 +0100
|
|
|
22c937 |
--- src/testdir/Make_vms.mms 2014-02-05 22:16:46.658560224 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 79,85 ****
|
|
|
22c937 |
test82.out test83.out test84.out test88.out test89.out \
|
|
|
22c937 |
test90.out test91.out test92.out test93.out test94.out \
|
|
|
22c937 |
test95.out test96.out test97.out test98.out test99.out \
|
|
|
22c937 |
! test100.out test101.out test102.out test103.out
|
|
|
22c937 |
|
|
|
22c937 |
# Known problems:
|
|
|
22c937 |
# Test 30: a problem around mac format - unknown reason
|
|
|
22c937 |
--- 79,85 ----
|
|
|
22c937 |
test82.out test83.out test84.out test88.out test89.out \
|
|
|
22c937 |
test90.out test91.out test92.out test93.out test94.out \
|
|
|
22c937 |
test95.out test96.out test97.out test98.out test99.out \
|
|
|
22c937 |
! test100.out test101.out test102.out test103.out test104.out
|
|
|
22c937 |
|
|
|
22c937 |
# Known problems:
|
|
|
22c937 |
# Test 30: a problem around mac format - unknown reason
|
|
|
22c937 |
*** ../vim-7.4.166/src/testdir/Makefile 2013-11-21 14:21:25.000000000 +0100
|
|
|
22c937 |
--- src/testdir/Makefile 2014-02-05 22:16:46.658560224 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 30,36 ****
|
|
|
22c937 |
test84.out test85.out test86.out test87.out test88.out \
|
|
|
22c937 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
22c937 |
test94.out test95.out test96.out test97.out test98.out \
|
|
|
22c937 |
! test99.out test100.out test101.out test102.out test103.out
|
|
|
22c937 |
|
|
|
22c937 |
SCRIPTS_GUI = test16.out
|
|
|
22c937 |
|
|
|
22c937 |
--- 30,37 ----
|
|
|
22c937 |
test84.out test85.out test86.out test87.out test88.out \
|
|
|
22c937 |
test89.out test90.out test91.out test92.out test93.out \
|
|
|
22c937 |
test94.out test95.out test96.out test97.out test98.out \
|
|
|
22c937 |
! test99.out test100.out test101.out test102.out test103.out \
|
|
|
22c937 |
! test104.out
|
|
|
22c937 |
|
|
|
22c937 |
SCRIPTS_GUI = test16.out
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.166/src/testdir/sautest/autoload/Test104.vim 2014-02-05 22:25:12.050567968 +0100
|
|
|
22c937 |
--- src/testdir/sautest/autoload/Test104.vim 2014-02-05 22:16:46.658560224 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 0 ****
|
|
|
22c937 |
--- 1 ----
|
|
|
22c937 |
+ let Test104#numvar = 123
|
|
|
22c937 |
*** ../vim-7.4.166/src/testdir/test104.in 2014-02-05 22:25:12.062567968 +0100
|
|
|
22c937 |
--- src/testdir/test104.in 2014-02-05 22:24:07.706566982 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 0 ****
|
|
|
22c937 |
--- 1,16 ----
|
|
|
22c937 |
+ Tests for autoload. vim: set ft=vim ts=8 :
|
|
|
22c937 |
+
|
|
|
22c937 |
+ STARTTEST
|
|
|
22c937 |
+ :so small.vim
|
|
|
22c937 |
+ :set runtimepath+=./sautest
|
|
|
22c937 |
+ :" Test to not autoload when assigning. It causes internal error.
|
|
|
22c937 |
+ :try
|
|
|
22c937 |
+ : let Test104#numvar = function('tr')
|
|
|
22c937 |
+ : $put ='OK: ' . string(Test104#numvar)
|
|
|
22c937 |
+ :catch
|
|
|
22c937 |
+ : $put ='FAIL: ' . v:exception
|
|
|
22c937 |
+ :endtry
|
|
|
22c937 |
+ :/^Results/,$wq! test.out
|
|
|
22c937 |
+ ENDTEST
|
|
|
22c937 |
+
|
|
|
22c937 |
+ Results of test104:
|
|
|
22c937 |
*** ../vim-7.4.166/src/testdir/test104.ok 2014-02-05 22:25:12.070567968 +0100
|
|
|
22c937 |
--- src/testdir/test104.ok 2014-02-05 22:16:46.658560224 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 0 ****
|
|
|
22c937 |
--- 1,2 ----
|
|
|
22c937 |
+ Results of test104:
|
|
|
22c937 |
+ OK: function('tr')
|
|
|
22c937 |
*** ../vim-7.4.166/src/version.c 2014-02-05 22:13:02.366556787 +0100
|
|
|
22c937 |
--- src/version.c 2014-02-05 22:18:05.506561432 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 740,741 ****
|
|
|
22c937 |
--- 740,743 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 167,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
hundred-and-one symptoms of being an internet addict:
|
|
|
22c937 |
271. You collect hilarious signatures from all 250 mailing lists you
|
|
|
22c937 |
are subscribed to.
|
|
|
22c937 |
|
|
|
22c937 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
22c937 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
22c937 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
22c937 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|