|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.406
|
|
|
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.406
|
|
|
22c937 |
Problem: Test 72 and 100 fail on MS-Windows.
|
|
|
22c937 |
Solution: Set fileformat to unix in the tests. (Taro Muraoka)
|
|
|
22c937 |
Files: src/testdir/test72.in, src/testdir/test100.in
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.405/src/testdir/test72.in 2014-08-10 13:34:59.064785459 +0200
|
|
|
22c937 |
--- src/testdir/test72.in 2014-08-16 17:31:40.426134656 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 8,13 ****
|
|
|
22c937 |
--- 8,14 ----
|
|
|
22c937 |
:" Test 'undofile': first a simple one-line change.
|
|
|
22c937 |
:set nocompatible viminfo+=nviminfo visualbell
|
|
|
22c937 |
:set ul=100 undofile nomore
|
|
|
22c937 |
+ :set ff=unix
|
|
|
22c937 |
:e! Xtestfile
|
|
|
22c937 |
ggdGithis is one line?:set ul=100
|
|
|
22c937 |
:s/one/ONE/
|
|
|
22c937 |
*** ../vim-7.4.405/src/testdir/test100.in 2014-03-12 18:55:52.104906804 +0100
|
|
|
22c937 |
--- src/testdir/test100.in 2014-08-16 17:32:17.642133306 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 18,23 ****
|
|
|
22c937 |
--- 18,24 ----
|
|
|
22c937 |
:call FillBuffer()
|
|
|
22c937 |
:call feedkeys(":earlier 10\n", 't')
|
|
|
22c937 |
:call UndoLevel()
|
|
|
22c937 |
+ :set ff=unix
|
|
|
22c937 |
:%w! test.out
|
|
|
22c937 |
:new two
|
|
|
22c937 |
:0put ='TWO: expecting global undolevels: 5, local undolevels: 2 (first) then 10 (afterwards)'
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 27,32 ****
|
|
|
22c937 |
--- 28,34 ----
|
|
|
22c937 |
:call UndoLevel()
|
|
|
22c937 |
:setlocal ul=10
|
|
|
22c937 |
:call UndoLevel()
|
|
|
22c937 |
+ :set ff=unix
|
|
|
22c937 |
:%w >> test.out
|
|
|
22c937 |
:wincmd p
|
|
|
22c937 |
:redir >>test.out | echo "global value shouldn't be changed and still be 5!" | echo 'ONE: expecting global undolevels: 5, local undolevels: -123456 (default)'|:setglobal undolevels? | echon ' global' | setlocal undolevels? | echon ' local' |echo "" |redir end
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 35,40 ****
|
|
|
22c937 |
--- 37,43 ----
|
|
|
22c937 |
:1put ='global value should be changed to 50'
|
|
|
22c937 |
:2put ='THREE: expecting global undolevels: 50, local undolevels: -123456 (default)'
|
|
|
22c937 |
:call UndoLevel()
|
|
|
22c937 |
+ :set ff=unix
|
|
|
22c937 |
:%w >> test.out
|
|
|
22c937 |
:"sleep 10
|
|
|
22c937 |
:"
|
|
|
22c937 |
*** ../vim-7.4.405/src/version.c 2014-08-16 16:28:31.886272055 +0200
|
|
|
22c937 |
--- src/version.c 2014-08-16 17:32:10.130133579 +0200
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 743,744 ****
|
|
|
22c937 |
--- 743,746 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 406,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
Time is an illusion. Lunchtime doubly so.
|
|
|
22c937 |
-- Ford Prefect, in Douglas Adams'
|
|
|
22c937 |
"The Hitchhiker's Guide to the Galaxy"
|
|
|
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 ///
|