Karsten Hopp ae3ccc
To: vim_dev@googlegroups.com
Karsten Hopp ae3ccc
Subject: Patch 7.3.619
Karsten Hopp ae3ccc
Fcc: outbox
Karsten Hopp ae3ccc
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp ae3ccc
Mime-Version: 1.0
Karsten Hopp ae3ccc
Content-Type: text/plain; charset=UTF-8
Karsten Hopp ae3ccc
Content-Transfer-Encoding: 8bit
Karsten Hopp ae3ccc
------------
Karsten Hopp ae3ccc
Karsten Hopp ae3ccc
Patch 7.3.619
Karsten Hopp ae3ccc
Problem:    When executing a shell command Vim may become slow to respond.
Karsten Hopp ae3ccc
Solution:   Don't wait after every processed message. (idea by Yasuhiro
Karsten Hopp ae3ccc
	    Matsumoto)
Karsten Hopp ae3ccc
Files:	    src/os_win32.c
Karsten Hopp ae3ccc
Karsten Hopp ae3ccc
Karsten Hopp ae3ccc
*** ../vim-7.3.618/src/os_win32.c	2012-07-19 11:37:22.000000000 +0200
Karsten Hopp ae3ccc
--- src/os_win32.c	2012-08-02 12:30:52.000000000 +0200
Karsten Hopp ae3ccc
***************
Karsten Hopp ae3ccc
*** 3319,3324 ****
Karsten Hopp ae3ccc
--- 3319,3326 ----
Karsten Hopp ae3ccc
  	    {
Karsten Hopp ae3ccc
  		TranslateMessage(&msg;;
Karsten Hopp ae3ccc
  		pDispatchMessage(&msg;;
Karsten Hopp ae3ccc
+ 		delay = 1;
Karsten Hopp ae3ccc
+ 		continue;
Karsten Hopp ae3ccc
  	    }
Karsten Hopp ae3ccc
  	    if (WaitForSingleObject(pi.hProcess, delay) != WAIT_TIMEOUT)
Karsten Hopp ae3ccc
  		break;
Karsten Hopp ae3ccc
*** ../vim-7.3.618/src/version.c	2012-07-29 12:55:21.000000000 +0200
Karsten Hopp ae3ccc
--- src/version.c	2012-08-02 12:29:08.000000000 +0200
Karsten Hopp ae3ccc
***************
Karsten Hopp ae3ccc
*** 716,717 ****
Karsten Hopp ae3ccc
--- 716,719 ----
Karsten Hopp ae3ccc
  {   /* Add new patch number below this line */
Karsten Hopp ae3ccc
+ /**/
Karsten Hopp ae3ccc
+     619,
Karsten Hopp ae3ccc
  /**/
Karsten Hopp ae3ccc
Karsten Hopp ae3ccc
-- 
Karsten Hopp ae3ccc
Some of the well know MS-Windows errors:
Karsten Hopp ae3ccc
	EMULTI		Multitasking attempted, system confused
Karsten Hopp ae3ccc
	EKEYBOARD	Keyboard locked, try getting out of this one!
Karsten Hopp ae3ccc
	EXPLAIN		Unexplained error, please tell us what happened
Karsten Hopp ae3ccc
	EFUTURE		Reserved for our future mistakes
Karsten Hopp ae3ccc
Karsten Hopp ae3ccc
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp ae3ccc
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp ae3ccc
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp ae3ccc
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///