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.901 < prev    next >
Encoding:
Internet Message Format  |  2013-04-14  |  2.7 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.901
  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.901
  11. Problem:    Outdated comment, ugly condition.
  12. Solution:   Update a few comments, break line.
  13. Files:        src/getchar.c, src/misc1.c, src/undo.c
  14.  
  15.  
  16. *** ../vim-7.3.900/src/getchar.c    2013-03-16 21:42:12.000000000 +0100
  17. --- src/getchar.c    2013-04-12 15:01:39.000000000 +0200
  18. ***************
  19. *** 444,450 ****
  20.       typebuf.tb_off = MAXMAPLEN;
  21.       typebuf.tb_len = 0;
  22.       }
  23. !     else            /* remove mapped characters only */
  24.       {
  25.       typebuf.tb_off += typebuf.tb_maplen;
  26.       typebuf.tb_len -= typebuf.tb_maplen;
  27. --- 444,450 ----
  28.       typebuf.tb_off = MAXMAPLEN;
  29.       typebuf.tb_len = 0;
  30.       }
  31. !     else            /* remove mapped characters at the start only */
  32.       {
  33.       typebuf.tb_off += typebuf.tb_maplen;
  34.       typebuf.tb_len -= typebuf.tb_maplen;
  35. *** ../vim-7.3.900/src/misc1.c    2013-03-19 18:31:45.000000000 +0100
  36. --- src/misc1.c    2013-03-19 20:43:48.000000000 +0100
  37. ***************
  38. *** 5054,5060 ****
  39.       int        cx = NUL;
  40.       int        cy = NUL;
  41.   
  42. -     /* TODO: multi-byte characters. */
  43.       while (len > 0)
  44.       {
  45.       cx = PTR2CHAR(px);
  46. --- 5054,5059 ----
  47. *** ../vim-7.3.900/src/undo.c    2012-08-23 12:58:56.000000000 +0200
  48. --- src/undo.c    2012-12-12 16:00:19.000000000 +0100
  49. ***************
  50. *** 216,221 ****
  51. --- 216,222 ----
  52.   
  53.   /*
  54.    * Save the current line for both the "u" and "U" command.
  55. +  * Careful: may trigger autocommands that reload the buffer.
  56.    * Returns OK or FAIL.
  57.    */
  58.       int
  59. ***************
  60. *** 238,245 ****
  61.       if (undo_off)
  62.       return OK;
  63.   
  64. !     if (top > curbuf->b_ml.ml_line_count ||
  65. !                 top >= bot || bot > curbuf->b_ml.ml_line_count + 1)
  66.       return FALSE;    /* rely on caller to do error messages */
  67.   
  68.       if (top + 2 == bot)
  69. --- 239,247 ----
  70.       if (undo_off)
  71.       return OK;
  72.   
  73. !     if (top > curbuf->b_ml.ml_line_count
  74. !         || top >= bot
  75. !         || bot > curbuf->b_ml.ml_line_count + 1)
  76.       return FALSE;    /* rely on caller to do error messages */
  77.   
  78.       if (top + 2 == bot)
  79. *** ../vim-7.3.900/src/version.c    2013-04-15 15:40:08.000000000 +0200
  80. --- src/version.c    2013-04-15 15:46:37.000000000 +0200
  81. ***************
  82. *** 730,731 ****
  83. --- 730,733 ----
  84.   {   /* Add new patch number below this line */
  85. + /**/
  86. +     901,
  87.   /**/
  88.  
  89. -- 
  90. The CIA drives around in cars with the "Intel inside" logo.
  91.  
  92.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  93. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  94. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  95.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  96.