home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.1301 < prev    next >
Encoding:
Internet Message Format  |  2013-07-02  |  6.6 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.1301
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.1301
  11. Problem:    Some tests fail on MS-Windows.
  12. Solution:   Fix path separators in test 89 and 96.  Omit test 97, escaping
  13.         works differently.  Make findfile() work on MS-Windows.
  14. Files:        src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
  15.         src/testdir/Make_os2.mak, src/testdir/test89.in,
  16.         src/testdir/test96.in, src/misc2.c
  17.  
  18.  
  19. *** ../vim-7.3.1300/src/testdir/Make_dos.mak    2013-07-03 16:52:52.000000000 +0200
  20. --- src/testdir/Make_dos.mak    2013-07-03 20:17:26.000000000 +0200
  21. ***************
  22. *** 11,17 ****
  23.   # test12    can't unlink a swap file
  24.   # test25    uses symbolic link
  25.   # test27    can't edit file with "*" in file name
  26. ! # test31    16 bit version runs out of memory...
  27.   
  28.   SCRIPTS16 =    test1.out test19.out test20.out test22.out \
  29.           test23.out test24.out test28.out test29.out \
  30. --- 11,17 ----
  31.   # test12    can't unlink a swap file
  32.   # test25    uses symbolic link
  33.   # test27    can't edit file with "*" in file name
  34. ! # test97    \{ and \$ are not escaped characters.
  35.   
  36.   SCRIPTS16 =    test1.out test19.out test20.out test22.out \
  37.           test23.out test24.out test28.out test29.out \
  38. ***************
  39. *** 32,38 ****
  40.           test79.out test80.out test81.out test82.out test83.out \
  41.           test84.out test85.out test86.out test87.out test88.out \
  42.           test89.out test90.out test91.out test92.out test93.out \
  43. !         test94.out test95.out test96.out test97.out
  44.   
  45.   SCRIPTS32 =    test50.out test70.out
  46.   
  47. --- 32,38 ----
  48.           test79.out test80.out test81.out test82.out test83.out \
  49.           test84.out test85.out test86.out test87.out test88.out \
  50.           test89.out test90.out test91.out test92.out test93.out \
  51. !         test94.out test95.out test96.out
  52.   
  53.   SCRIPTS32 =    test50.out test70.out
  54.   
  55. *** ../vim-7.3.1300/src/testdir/Make_ming.mak    2013-07-03 16:52:52.000000000 +0200
  56. --- src/testdir/Make_ming.mak    2013-07-03 20:17:22.000000000 +0200
  57. ***************
  58. *** 28,34 ****
  59.   # test12    can't unlink a swap file
  60.   # test25    uses symbolic link
  61.   # test27    can't edit file with "*" in file name
  62. ! # test31    16 bit version runs out of memory...
  63.   
  64.   SCRIPTS16 =    test1.out test19.out test20.out test22.out \
  65.           test23.out test24.out test28.out test29.out \
  66. --- 28,34 ----
  67.   # test12    can't unlink a swap file
  68.   # test25    uses symbolic link
  69.   # test27    can't edit file with "*" in file name
  70. ! # test97    \{ and \$ are not escaped characters.
  71.   
  72.   SCRIPTS16 =    test1.out test19.out test20.out test22.out \
  73.           test23.out test24.out test28.out test29.out \
  74. ***************
  75. *** 52,58 ****
  76.           test79.out test80.out test81.out test82.out test83.out \
  77.           test84.out test85.out test86.out test87.out test88.out \
  78.           test89.out test90.out test91.out test92.out test93.out \
  79. !         test94.out test95.out test96.out test97.out
  80.   
  81.   SCRIPTS32 =    test50.out test70.out
  82.   
  83. --- 52,58 ----
  84.           test79.out test80.out test81.out test82.out test83.out \
  85.           test84.out test85.out test86.out test87.out test88.out \
  86.           test89.out test90.out test91.out test92.out test93.out \
  87. !         test94.out test95.out test96.out
  88.   
  89.   SCRIPTS32 =    test50.out test70.out
  90.   
  91. *** ../vim-7.3.1300/src/testdir/Make_os2.mak    2013-07-03 16:52:52.000000000 +0200
  92. --- src/testdir/Make_os2.mak    2013-07-03 20:18:09.000000000 +0200
  93. ***************
  94. *** 15,20 ****
  95. --- 15,21 ----
  96.   # test52    only for Win32
  97.   # test85    no Lua interface
  98.   # test86, 87    no Python interface
  99. + # test97    \{ and \$ are not escaped characters.
  100.   
  101.   SCRIPTS = test1.out test3.out test4.out test5.out test6.out \
  102.           test7.out test8.out test9.out \
  103. ***************
  104. *** 33,39 ****
  105.           test76.out test77.out test78.out test79.out test80.out \
  106.           test81.out test82.out test83.out test84.out test88.out \
  107.           test89.out test90.out test91.out test92.out test93.out \
  108. !         test94.out test95.out test96.out test97.out
  109.   
  110.   .SUFFIXES: .in .out
  111.   
  112. --- 34,40 ----
  113.           test76.out test77.out test78.out test79.out test80.out \
  114.           test81.out test82.out test83.out test84.out test88.out \
  115.           test89.out test90.out test91.out test92.out test93.out \
  116. !         test94.out test95.out test96.out
  117.   
  118.   .SUFFIXES: .in .out
  119.   
  120. *** ../vim-7.3.1300/src/testdir/test96.in    2013-07-01 21:24:40.000000000 +0200
  121. --- src/testdir/test96.in    2013-07-03 21:16:20.000000000 +0200
  122. ***************
  123. *** 72,77 ****
  124. --- 72,79 ----
  125.   :wincmd n
  126.   :wincmd K
  127.   :b test.out
  128. + :let fileName = substitute(fileName, '\\', '/', 'g')
  129. + :let locationListFileName = substitute(locationListFileName, '\\', '/', 'g')
  130.   :call append(line('$'), "Test A:")
  131.   :call append(line('$'), "  - file name displayed: " . fileName)
  132.   :call append(line('$'), "  - quickfix claims that the file name displayed is: " . locationListFileName)
  133. ***************
  134. *** 125,130 ****
  135. --- 127,133 ----
  136.   :wincmd n
  137.   :wincmd K
  138.   :b test.out
  139. + :let bufferName = substitute(bufferName, '\\', '/', 'g')
  140.   :call append(line('$'), "Test C:")
  141.   :call append(line('$'), "  - 'buftype' of the location list window: " . locationListWindowBufType)
  142.   :call append(line('$'), "  - buffer displayed in the 2nd window: " . bufferName)
  143. *** ../vim-7.3.1300/src/misc2.c    2013-07-03 17:51:07.000000000 +0200
  144. --- src/misc2.c    2013-07-03 21:09:30.000000000 +0200
  145. ***************
  146. *** 4693,4706 ****
  147.   #ifdef FEAT_PATH_EXTRA
  148.       else
  149.       {
  150. !         char_u *p =  vim_strrchr(search_ctx->ffsc_fix_path, PATHSEP);
  151.           char_u *wc_path = NUL;
  152.           char_u *temp = NUL;
  153.           int    len = 0;
  154.   
  155. !         if (p != NULL)
  156.           {
  157. !         len = p - search_ctx->ffsc_fix_path;
  158.           STRNCAT(ff_expand_buffer, search_ctx->ffsc_fix_path, len);
  159.           add_pathsep(ff_expand_buffer);
  160.           }
  161. --- 4693,4706 ----
  162.   #ifdef FEAT_PATH_EXTRA
  163.       else
  164.       {
  165. !         char_u *p =  gettail(search_ctx->ffsc_fix_path);
  166.           char_u *wc_path = NUL;
  167.           char_u *temp = NUL;
  168.           int    len = 0;
  169.   
  170. !         if (p > search_ctx->ffsc_fix_path)
  171.           {
  172. !         len = p - search_ctx->ffsc_fix_path - 1;
  173.           STRNCAT(ff_expand_buffer, search_ctx->ffsc_fix_path, len);
  174.           add_pathsep(ff_expand_buffer);
  175.           }
  176. *** ../vim-7.3.1300/src/version.c    2013-07-03 19:52:49.000000000 +0200
  177. --- src/version.c    2013-07-03 21:17:33.000000000 +0200
  178. ***************
  179. *** 730,731 ****
  180. --- 730,733 ----
  181.   {   /* Add new patch number below this line */
  182. + /**/
  183. +     1301,
  184.   /**/
  185.  
  186. -- 
  187. Q: How do you tell the difference between a female cat and a male cat?
  188. A: You ask it a question and if HE answers, it's a male but, if SHE
  189.    answers, it's a female.
  190.  
  191.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  192. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  193. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  194.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  195.