Karsten Hopp 6d2b8d
To: vim_dev@googlegroups.com
Karsten Hopp 6d2b8d
Subject: Patch 7.3.723
Karsten Hopp 6d2b8d
Fcc: outbox
Karsten Hopp 6d2b8d
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 6d2b8d
Mime-Version: 1.0
Karsten Hopp 6d2b8d
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 6d2b8d
Content-Transfer-Encoding: 8bit
Karsten Hopp 6d2b8d
------------
Karsten Hopp 6d2b8d
Karsten Hopp 6d2b8d
Patch 7.3.723
Karsten Hopp 6d2b8d
Problem:    Various tiny problems.
Karsten Hopp 6d2b8d
Solution:   Various tiny fixes.
Karsten Hopp 6d2b8d
Files:	    src/gui_mac.c, src/xpm_w32.c, src/netbeans.c, src/sha256.c,
Karsten Hopp 6d2b8d
	    src/if_sniff.c, README.txt
Karsten Hopp 6d2b8d
Karsten Hopp 6d2b8d
Karsten Hopp 6d2b8d
*** ../vim-7.3.722/src/gui_mac.c	2011-12-14 15:07:11.000000000 +0100
Karsten Hopp 6d2b8d
--- src/gui_mac.c	2012-06-20 18:16:12.000000000 +0200
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 5728,5734 ****
Karsten Hopp 6d2b8d
  	case VIM_QUESTION: useIcon = kNoteIcon; break;
Karsten Hopp 6d2b8d
  	case VIM_WARNING:  useIcon = kCautionIcon; break;
Karsten Hopp 6d2b8d
  	case VIM_ERROR:    useIcon = kStopIcon; break;
Karsten Hopp 6d2b8d
! 	default:           useIcon = kStopIcon;
Karsten Hopp 6d2b8d
      }
Karsten Hopp 6d2b8d
      AppendDITL(theDialog, iconDITL, overlayDITL);
Karsten Hopp 6d2b8d
      ReleaseResource(iconDITL);
Karsten Hopp 6d2b8d
--- 5728,5734 ----
Karsten Hopp 6d2b8d
  	case VIM_QUESTION: useIcon = kNoteIcon; break;
Karsten Hopp 6d2b8d
  	case VIM_WARNING:  useIcon = kCautionIcon; break;
Karsten Hopp 6d2b8d
  	case VIM_ERROR:    useIcon = kStopIcon; break;
Karsten Hopp 6d2b8d
! 	default:	   useIcon = kStopIcon;
Karsten Hopp 6d2b8d
      }
Karsten Hopp 6d2b8d
      AppendDITL(theDialog, iconDITL, overlayDITL);
Karsten Hopp 6d2b8d
      ReleaseResource(iconDITL);
Karsten Hopp 6d2b8d
*** ../vim-7.3.722/src/xpm_w32.c	2012-02-05 00:47:56.000000000 +0100
Karsten Hopp 6d2b8d
--- src/xpm_w32.c	2012-08-02 21:46:20.000000000 +0200
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 55,61 ****
Karsten Hopp 6d2b8d
  	return -1;
Karsten Hopp 6d2b8d
      if (shp == NULL)
Karsten Hopp 6d2b8d
      {
Karsten Hopp 6d2b8d
!         if (img)
Karsten Hopp 6d2b8d
  	    XDestroyImage(img);
Karsten Hopp 6d2b8d
  	return -1;
Karsten Hopp 6d2b8d
      }
Karsten Hopp 6d2b8d
--- 55,61 ----
Karsten Hopp 6d2b8d
  	return -1;
Karsten Hopp 6d2b8d
      if (shp == NULL)
Karsten Hopp 6d2b8d
      {
Karsten Hopp 6d2b8d
! 	if (img)
Karsten Hopp 6d2b8d
  	    XDestroyImage(img);
Karsten Hopp 6d2b8d
  	return -1;
Karsten Hopp 6d2b8d
      }
Karsten Hopp 6d2b8d
*** ../vim-7.3.722/src/netbeans.c	2012-04-20 19:47:00.000000000 +0200
Karsten Hopp 6d2b8d
--- src/netbeans.c	2012-06-20 19:56:18.000000000 +0200
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 978,984 ****
Karsten Hopp 6d2b8d
      buf_list_used = 0;
Karsten Hopp 6d2b8d
  
Karsten Hopp 6d2b8d
      /* free the queued key commands */
Karsten Hopp 6d2b8d
!     while(key_node != NULL && key_node != &keyHead)
Karsten Hopp 6d2b8d
      {
Karsten Hopp 6d2b8d
  	keyQ_T *next = key_node->next;
Karsten Hopp 6d2b8d
  	vim_free(key_node->keystr);
Karsten Hopp 6d2b8d
--- 978,984 ----
Karsten Hopp 6d2b8d
      buf_list_used = 0;
Karsten Hopp 6d2b8d
  
Karsten Hopp 6d2b8d
      /* free the queued key commands */
Karsten Hopp 6d2b8d
!     while (key_node != NULL && key_node != &keyHead)
Karsten Hopp 6d2b8d
      {
Karsten Hopp 6d2b8d
  	keyQ_T *next = key_node->next;
Karsten Hopp 6d2b8d
  	vim_free(key_node->keystr);
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 993,999 ****
Karsten Hopp 6d2b8d
      }
Karsten Hopp 6d2b8d
  
Karsten Hopp 6d2b8d
      /* free the queued netbeans commands */
Karsten Hopp 6d2b8d
!     while(cmd_node != NULL && cmd_node != &head)
Karsten Hopp 6d2b8d
      {
Karsten Hopp 6d2b8d
  	queue_T *next = cmd_node->next;
Karsten Hopp 6d2b8d
  	vim_free(cmd_node->buffer);
Karsten Hopp 6d2b8d
--- 993,999 ----
Karsten Hopp 6d2b8d
      }
Karsten Hopp 6d2b8d
  
Karsten Hopp 6d2b8d
      /* free the queued netbeans commands */
Karsten Hopp 6d2b8d
!     while (cmd_node != NULL && cmd_node != &head)
Karsten Hopp 6d2b8d
      {
Karsten Hopp 6d2b8d
  	queue_T *next = cmd_node->next;
Karsten Hopp 6d2b8d
  	vim_free(cmd_node->buffer);
Karsten Hopp 6d2b8d
*** ../vim-7.3.722/src/sha256.c	2010-08-15 21:57:25.000000000 +0200
Karsten Hopp 6d2b8d
--- src/sha256.c	2012-03-18 21:35:07.000000000 +0100
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 7,15 ****
Karsten Hopp 6d2b8d
   * See README.txt for an overview of the Vim source code.
Karsten Hopp 6d2b8d
   *
Karsten Hopp 6d2b8d
   * FIPS-180-2 compliant SHA-256 implementation
Karsten Hopp 6d2b8d
!  * GPL by Christophe Devine.
Karsten Hopp 6d2b8d
   * Modified for md5deep, in public domain.
Karsten Hopp 6d2b8d
   * Modified For Vim, Mohsin Ahmed, http://www.cs.albany.edu/~mosh
Karsten Hopp 6d2b8d
   *
Karsten Hopp 6d2b8d
   * Vim specific notes:
Karsten Hopp 6d2b8d
   * Functions exported by this file:
Karsten Hopp 6d2b8d
--- 7,17 ----
Karsten Hopp 6d2b8d
   * See README.txt for an overview of the Vim source code.
Karsten Hopp 6d2b8d
   *
Karsten Hopp 6d2b8d
   * FIPS-180-2 compliant SHA-256 implementation
Karsten Hopp 6d2b8d
!  * GPL by Christophe Devine, applies to older version.
Karsten Hopp 6d2b8d
   * Modified for md5deep, in public domain.
Karsten Hopp 6d2b8d
   * Modified For Vim, Mohsin Ahmed, http://www.cs.albany.edu/~mosh
Karsten Hopp 6d2b8d
+  * Mohsin Ahmed states this work is distributed under the VIM License or GPL,
Karsten Hopp 6d2b8d
+  * at your choice.
Karsten Hopp 6d2b8d
   *
Karsten Hopp 6d2b8d
   * Vim specific notes:
Karsten Hopp 6d2b8d
   * Functions exported by this file:
Karsten Hopp 6d2b8d
*** ../vim-7.3.722/src/if_sniff.c	2010-12-17 18:06:00.000000000 +0100
Karsten Hopp 6d2b8d
--- src/if_sniff.c	2012-06-20 19:56:09.000000000 +0200
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 449,455 ****
Karsten Hopp 6d2b8d
      if (!sniff_cmd)
Karsten Hopp 6d2b8d
      {
Karsten Hopp 6d2b8d
  	struct sn_cmd_list *list = sniff_cmd_ext;
Karsten Hopp 6d2b8d
! 	while(list)
Karsten Hopp 6d2b8d
  	{
Karsten Hopp 6d2b8d
  	    if (!strcmp(cmd, list->sniff_cmd->cmd_name))
Karsten Hopp 6d2b8d
  	    {
Karsten Hopp 6d2b8d
--- 449,455 ----
Karsten Hopp 6d2b8d
      if (!sniff_cmd)
Karsten Hopp 6d2b8d
      {
Karsten Hopp 6d2b8d
  	struct sn_cmd_list *list = sniff_cmd_ext;
Karsten Hopp 6d2b8d
! 	while (list)
Karsten Hopp 6d2b8d
  	{
Karsten Hopp 6d2b8d
  	    if (!strcmp(cmd, list->sniff_cmd->cmd_name))
Karsten Hopp 6d2b8d
  	    {
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 479,485 ****
Karsten Hopp 6d2b8d
  	/* unescape message text */
Karsten Hopp 6d2b8d
  	char *p = msg;
Karsten Hopp 6d2b8d
  	char *end = p+strlen(msg);
Karsten Hopp 6d2b8d
! 	while(*p)
Karsten Hopp 6d2b8d
  	{
Karsten Hopp 6d2b8d
  	    if (*p == '\\')
Karsten Hopp 6d2b8d
  		mch_memmove(p,p+1,end-p);
Karsten Hopp 6d2b8d
--- 479,485 ----
Karsten Hopp 6d2b8d
  	/* unescape message text */
Karsten Hopp 6d2b8d
  	char *p = msg;
Karsten Hopp 6d2b8d
  	char *end = p+strlen(msg);
Karsten Hopp 6d2b8d
! 	while (*p)
Karsten Hopp 6d2b8d
  	{
Karsten Hopp 6d2b8d
  	    if (*p == '\\')
Karsten Hopp 6d2b8d
  		mch_memmove(p,p+1,end-p);
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 489,495 ****
Karsten Hopp 6d2b8d
  	SNIFF_TRACE1("request def = %s\n",def);
Karsten Hopp 6d2b8d
  	SNIFF_TRACE1("request msg = %s\n",msg);
Karsten Hopp 6d2b8d
  
Karsten Hopp 6d2b8d
! 	while(list && list->next_cmd)
Karsten Hopp 6d2b8d
  	    list = list->next_cmd;
Karsten Hopp 6d2b8d
  	if (!list)
Karsten Hopp 6d2b8d
  	    sniff_cmd_ext = cmd_node;
Karsten Hopp 6d2b8d
--- 489,495 ----
Karsten Hopp 6d2b8d
  	SNIFF_TRACE1("request def = %s\n",def);
Karsten Hopp 6d2b8d
  	SNIFF_TRACE1("request msg = %s\n",msg);
Karsten Hopp 6d2b8d
  
Karsten Hopp 6d2b8d
! 	while (list && list->next_cmd)
Karsten Hopp 6d2b8d
  	    list = list->next_cmd;
Karsten Hopp 6d2b8d
  	if (!list)
Karsten Hopp 6d2b8d
  	    sniff_cmd_ext = cmd_node;
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 628,634 ****
Karsten Hopp 6d2b8d
  	    gui_mch_wait_for_chars(0L);
Karsten Hopp 6d2b8d
  #endif
Karsten Hopp 6d2b8d
  #ifdef WIN32
Karsten Hopp 6d2b8d
! 	while(sniffBufStart != NULL)
Karsten Hopp 6d2b8d
  	{
Karsten Hopp 6d2b8d
  	    struct sniffBufNode *node = sniffBufStart;
Karsten Hopp 6d2b8d
  	    sniffBufStart = sniffBufStart->next;
Karsten Hopp 6d2b8d
--- 628,634 ----
Karsten Hopp 6d2b8d
  	    gui_mch_wait_for_chars(0L);
Karsten Hopp 6d2b8d
  #endif
Karsten Hopp 6d2b8d
  #ifdef WIN32
Karsten Hopp 6d2b8d
! 	while (sniffBufStart != NULL)
Karsten Hopp 6d2b8d
  	{
Karsten Hopp 6d2b8d
  	    struct sniffBufNode *node = sniffBufStart;
Karsten Hopp 6d2b8d
  	    sniffBufStart = sniffBufStart->next;
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 789,795 ****
Karsten Hopp 6d2b8d
      command   = buffer[0];
Karsten Hopp 6d2b8d
      arguments = &buffer[1];
Karsten Hopp 6d2b8d
      token = strtok(arguments, sniff_rq_sep);
Karsten Hopp 6d2b8d
!     while(argc <3)
Karsten Hopp 6d2b8d
      {
Karsten Hopp 6d2b8d
  	if (token)
Karsten Hopp 6d2b8d
  	{
Karsten Hopp 6d2b8d
--- 789,795 ----
Karsten Hopp 6d2b8d
      command   = buffer[0];
Karsten Hopp 6d2b8d
      arguments = &buffer[1];
Karsten Hopp 6d2b8d
      token = strtok(arguments, sniff_rq_sep);
Karsten Hopp 6d2b8d
!     while (argc <3)
Karsten Hopp 6d2b8d
      {
Karsten Hopp 6d2b8d
  	if (token)
Karsten Hopp 6d2b8d
  	{
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 925,931 ****
Karsten Hopp 6d2b8d
  	default :
Karsten Hopp 6d2b8d
  	    break;
Karsten Hopp 6d2b8d
      }
Karsten Hopp 6d2b8d
!     while(argc)
Karsten Hopp 6d2b8d
  	vim_free(argv[--argc]);
Karsten Hopp 6d2b8d
  }
Karsten Hopp 6d2b8d
  
Karsten Hopp 6d2b8d
--- 925,931 ----
Karsten Hopp 6d2b8d
  	default :
Karsten Hopp 6d2b8d
  	    break;
Karsten Hopp 6d2b8d
      }
Karsten Hopp 6d2b8d
!     while (argc)
Karsten Hopp 6d2b8d
  	vim_free(argv[--argc]);
Karsten Hopp 6d2b8d
  }
Karsten Hopp 6d2b8d
  
Karsten Hopp 6d2b8d
*** ../vim-7.3.722/README.txt	2010-08-15 21:56:43.000000000 +0200
Karsten Hopp 6d2b8d
--- README.txt	2012-10-28 18:58:18.000000000 +0100
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 97,103 ****
Karsten Hopp 6d2b8d
  If you have problems, have a look at the Vim FAQ:
Karsten Hopp 6d2b8d
  	http://vimdoc.sf.net/vimfaq.html
Karsten Hopp 6d2b8d
  
Karsten Hopp 6d2b8d
! Send bug reports to:
Karsten Hopp 6d2b8d
  	Bram Moolenaar <Bram@vim.org>
Karsten Hopp 6d2b8d
  
Karsten Hopp 6d2b8d
  There are several mailing lists for Vim, see http://www.vim.org/maillist.php.
Karsten Hopp 6d2b8d
--- 97,107 ----
Karsten Hopp 6d2b8d
  If you have problems, have a look at the Vim FAQ:
Karsten Hopp 6d2b8d
  	http://vimdoc.sf.net/vimfaq.html
Karsten Hopp 6d2b8d
  
Karsten Hopp 6d2b8d
! If you still have problems, use one of the maillists to discuss t with Vim
Karsten Hopp 6d2b8d
! users and developers:
Karsten Hopp 6d2b8d
! 	http://www.vim.org/maillist.php
Karsten Hopp 6d2b8d
! 
Karsten Hopp 6d2b8d
! If nothing else works, report bugs directly:
Karsten Hopp 6d2b8d
  	Bram Moolenaar <Bram@vim.org>
Karsten Hopp 6d2b8d
  
Karsten Hopp 6d2b8d
  There are several mailing lists for Vim, see http://www.vim.org/maillist.php.
Karsten Hopp 6d2b8d
*** ../vim-7.3.722/src/version.c	2012-11-20 17:03:23.000000000 +0100
Karsten Hopp 6d2b8d
--- src/version.c	2012-11-20 17:14:09.000000000 +0100
Karsten Hopp 6d2b8d
***************
Karsten Hopp 6d2b8d
*** 727,728 ****
Karsten Hopp 6d2b8d
--- 727,730 ----
Karsten Hopp 6d2b8d
  {   /* Add new patch number below this line */
Karsten Hopp 6d2b8d
+ /**/
Karsten Hopp 6d2b8d
+     723,
Karsten Hopp 6d2b8d
  /**/
Karsten Hopp 6d2b8d
Karsten Hopp 6d2b8d
-- 
Karsten Hopp 6d2b8d
"Oh, no!  NOT the Spanish Inquisition!"
Karsten Hopp 6d2b8d
"NOBODY expects the Spanish Inquisition!!!"
Karsten Hopp 6d2b8d
				-- Monty Python sketch --
Karsten Hopp 6d2b8d
"Oh, no!  NOT another option!"
Karsten Hopp 6d2b8d
"EVERYBODY expects another option!!!"
Karsten Hopp 6d2b8d
				-- Discussion in vim-dev mailing list --
Karsten Hopp 6d2b8d
Karsten Hopp 6d2b8d
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 6d2b8d
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 6d2b8d
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 6d2b8d
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///