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