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