Patch 9.0.1285
Problem:    Various small problems.
Solution:   Adjust white space and comments.
Files:      src/charset.c, src/feature.h, src/getchar.c,
            src/testdir/view_util.vim, src/testdir/test_cmdline.vim


*** ../vim-9.0.1284/src/charset.c       2023-01-09 19:04:19.296528376 +0000
--- src/charset.c       2023-02-01 16:22:25.098998221 +0000
***************
*** 538,544 ****
  
  /*
   * Convert non-printable character to two or more printable characters in
!  * "buf[]".  "charbuf" needs to be able to hold five bytes.
   * Does NOT work for multi-byte characters, c must be <= 255.
   */
      void
--- 538,544 ----
  
  /*
   * Convert non-printable character to two or more printable characters in
!  * "charbuf[]".  "charbuf" needs to be able to hold five bytes.
   * Does NOT work for multi-byte characters, c must be <= 255.
   */
      void
*** ../vim-9.0.1284/src/feature.h       2022-12-30 10:42:19.770143913 +0000
--- src/feature.h       2023-01-01 18:36:52.611726298 +0000
***************
*** 273,280 ****
  #if defined(FEAT_NORMAL) \
        && defined(FEAT_EVAL) \
        && ((defined(HAVE_GETTIMEOFDAY) && defined(HAVE_SYS_TIME_H) \
!         && (!defined(MACOS_X) || defined(HAVE_DISPATCH_DISPATCH_H))) \
!               || defined(MSWIN))
  # define FEAT_RELTIME
  #endif
  
--- 273,280 ----
  #if defined(FEAT_NORMAL) \
        && defined(FEAT_EVAL) \
        && ((defined(HAVE_GETTIMEOFDAY) && defined(HAVE_SYS_TIME_H) \
!               && (!defined(MACOS_X) || defined(HAVE_DISPATCH_DISPATCH_H))) \
!           || defined(MSWIN))
  # define FEAT_RELTIME
  #endif
  
*** ../vim-9.0.1284/src/getchar.c       2023-01-27 21:03:08.895101849 +0000
--- src/getchar.c       2023-02-02 12:42:09.017950689 +0000
***************
*** 1662,1668 ****
            && c >= 0 && c <= 127)
      {
        c += 0x80;
!       *modifiers &= ~(MOD_MASK_META|MOD_MASK_ALT);
      }
      return c;
  }
--- 1662,1668 ----
            && c >= 0 && c <= 127)
      {
        c += 0x80;
!       *modifiers &= ~(MOD_MASK_META | MOD_MASK_ALT);
      }
      return c;
  }
*** ../vim-9.0.1284/src/testdir/view_util.vim   2022-12-02 12:28:43.087077735 
+0000
--- src/testdir/view_util.vim   2022-12-03 11:26:48.398712681 +0000
***************
*** 51,56 ****
--- 51,57 ----
    return attrs
  endfunc
  
+ " Create a new window with the requested size and fix it.
  func NewWindow(height, width) abort
    exe a:height . 'new'
    exe a:width . 'vsp'
*** ../vim-9.0.1284/src/testdir/test_cmdline.vim        2023-01-22 
18:38:45.502261340 +0000
--- src/testdir/test_cmdline.vim        2023-01-26 21:08:22.944383323 +0000
***************
*** 274,280 ****
    call term_sendkeys(buf, ":set cmdheight-=2\<CR>")
    call VerifyScreenDump(buf, 'Test_changing_cmdheight_4', {})
  
!   " reducing window size and then setting cmdheight 
    call term_sendkeys(buf, ":resize -1\<CR>")
    call term_sendkeys(buf, ":set cmdheight=1\<CR>")
    call VerifyScreenDump(buf, 'Test_changing_cmdheight_5', {})
--- 274,280 ----
    call term_sendkeys(buf, ":set cmdheight-=2\<CR>")
    call VerifyScreenDump(buf, 'Test_changing_cmdheight_4', {})
  
!   " reducing window size and then setting cmdheight
    call term_sendkeys(buf, ":resize -1\<CR>")
    call term_sendkeys(buf, ":set cmdheight=1\<CR>")
    call VerifyScreenDump(buf, 'Test_changing_cmdheight_5', {})
***************
*** 491,497 ****
    call assert_equal([], l)
  
    if !has('ruby')
!     " global_functions[] has an entry but it doesn't have an implemention
      let l = getcompletion('ruby', 'function')
      call assert_equal([], l)
    endif
--- 491,497 ----
    call assert_equal([], l)
  
    if !has('ruby')
!     " global_functions[] has an entry but it doesn't have an implementation
      let l = getcompletion('ruby', 'function')
      call assert_equal([], l)
    endif
*** ../vim-9.0.1284/src/version.c       2023-02-05 17:04:47.326125891 +0000
--- src/version.c       2023-02-05 17:56:58.065119361 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1285,
  /**/

-- 
There's no place like $(HOME)!

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230205180114.0EFD31C07B3%40moolenaar.net.

Raspunde prin e-mail lui