Patch 8.2.5154
Problem:    Still mentioning version8, some cosmetic issues.
Solution:   Prefer mentioning version9, cosmetic improvements.
Files:      src/version.c, src/if_tcl.c, src/regexp.c,
            src/testdir/test_gui.vim, src/os_unix.c, Filelist, src/Makefile


*** ../vim-8.2.5153/src/version.c       2022-06-23 15:54:05.021376775 +0100
--- src/version.c       2022-06-23 20:27:44.028636505 +0100
***************
*** 13,18 ****
--- 13,19 ----
   * Vim originated from Stevie version 3.6 (Fish disk 217) by GRWalter (Fred)
   * It has been changed beyond recognition since then.
   *
+  * Differences between version 8.2 and 9.0 can be found with ":help version9".
   * Differences between version 7.4 and 8.x can be found with ":help version8".
   * Differences between version 6.4 and 7.x can be found with ":help version7".
   * Differences between version 5.8 and 6.x can be found with ":help version6".
***************
*** 11533,11539 ****
        "",
        N_("type  :q<Enter>               to exit         "),
        N_("type  :help<Enter>  or  <F1>  for on-line help"),
!       N_("type  :help version8<Enter>   for version info"),
        NULL,
        "",
        N_("Running in Vi compatible mode"),
--- 11536,11542 ----
        "",
        N_("type  :q<Enter>               to exit         "),
        N_("type  :help<Enter>  or  <F1>  for on-line help"),
!       N_("type  :help version9<Enter>   for version info"),
        NULL,
        "",
        N_("Running in Vi compatible mode"),
*** ../vim-8.2.5153/src/if_tcl.c        2022-04-15 13:53:30.052708679 +0100
--- src/if_tcl.c        2022-06-21 20:16:03.392813403 +0100
***************
*** 221,232 ****
      for (i = 0; tcl_funcname_table[i].ptr; ++i)
      {
        if (!(*tcl_funcname_table[i].ptr = symbol_from_dll(hTclLib,
!                       tcl_funcname_table[i].name)))
        {
            close_dll(hTclLib);
            hTclLib = NULL;
            if (verbose)
!               semsg(_(e_could_not_load_library_function_str), 
tcl_funcname_table[i].name);
            return FAIL;
        }
      }
--- 221,233 ----
      for (i = 0; tcl_funcname_table[i].ptr; ++i)
      {
        if (!(*tcl_funcname_table[i].ptr = symbol_from_dll(hTclLib,
!                                                 tcl_funcname_table[i].name)))
        {
            close_dll(hTclLib);
            hTclLib = NULL;
            if (verbose)
!               semsg(_(e_could_not_load_library_function_str),
!                                                  tcl_funcname_table[i].name);
            return FAIL;
        }
      }
***************
*** 263,273 ****
      {
        Tcl_Interp *interp;
  
        dll_Tcl_FindExecutable(find_executable_arg);
  
        if ((interp = dll_Tcl_CreateInterp()) != NULL)
        {
!           if (Tcl_InitStubs(interp, DYNAMIC_TCL_VER, 0))
            {
                Tcl_DeleteInterp(interp);
                stubs_initialized = TRUE;
--- 264,276 ----
      {
        Tcl_Interp *interp;
  
+       // Note: the library will allocate memory to store the executable name,
+       // which will be reported as possibly leaked by valgrind.
        dll_Tcl_FindExecutable(find_executable_arg);
  
        if ((interp = dll_Tcl_CreateInterp()) != NULL)
        {
!           if (Tcl_InitStubs(interp, DYNAMIC_TCL_VER, 0) != NULL)
            {
                Tcl_DeleteInterp(interp);
                stubs_initialized = TRUE;
***************
*** 280,285 ****
--- 283,291 ----
  #endif
  
  #if defined(EXITFREE) || defined(PROTO)
+ /*
+  * Called once when exiting.
+  */
      void
  vim_tcl_finalize(void)
  {
*** ../vim-8.2.5153/src/regexp.c        2022-06-21 22:15:22.150504508 +0100
--- src/regexp.c        2022-06-21 22:39:47.431595961 +0100
***************
*** 2023,2029 ****
  
            // Although unlikely, it is possible that the expression invokes a
            // substitute command (it might fail, but still).  Therefore keep
!           // an array if eval results.
            ++nesting;
  
            if (expr != NULL)
--- 2023,2029 ----
  
            // Although unlikely, it is possible that the expression invokes a
            // substitute command (it might fail, but still).  Therefore keep
!           // an array of eval results.
            ++nesting;
  
            if (expr != NULL)
*** ../vim-8.2.5153/src/testdir/test_gui.vim    2022-06-16 16:36:39.826598379 
+0100
--- src/testdir/test_gui.vim    2022-06-21 16:21:24.041108822 +0100
***************
*** 1343,1350 ****
  
  " Test for dropping files into a window in GUI
  func DropFilesInCmdLine()
-   CheckFeature drop_file
- 
    call feedkeys(":\"", 'L')
    let d = #{files: ['a.c', 'b.c'], row: &lines, col: 1, modifiers: 0}
    call test_gui_event('dropfiles', d)
--- 1343,1348 ----
*** ../vim-8.2.5153/src/os_unix.c       2022-06-20 13:38:29.162026116 +0100
--- src/os_unix.c       2022-06-20 15:01:18.955311213 +0100
***************
*** 175,181 ****
  #endif
  #if defined(SIGTSTP)
  static void sig_tstp SIGPROTOARG;
! // volatile because it is used in signal handler sig_tstp() and 
sigcont_handler().
  static volatile sig_atomic_t in_mch_suspend = FALSE;
  #endif
  #if defined(SIGINT)
--- 175,182 ----
  #endif
  #if defined(SIGTSTP)
  static void sig_tstp SIGPROTOARG;
! // volatile because it is used in signal handler sig_tstp() and
! // sigcont_handler().
  static volatile sig_atomic_t in_mch_suspend = FALSE;
  #endif
  #if defined(SIGINT)
*** ../vim-8.2.5153/Filelist    2022-06-14 13:58:26.352699060 +0100
--- Filelist    2022-06-23 13:03:57.344565767 +0100
***************
*** 1017,1022 ****
--- 1017,1023 ----
                runtime/spell/README.txt \
                runtime/spell/??/*.diff \
                runtime/spell/??/main.aap \
+               runtime/spell/sr/README_sr.txt \
                runtime/spell/tet/*.diff \
                runtime/spell/tet/main.aap \
                runtime/spell/check/main.aap \
*** ../vim-8.2.5153/src/Makefile        2022-06-23 15:54:05.021376775 +0100
--- src/Makefile        2022-06-23 20:39:17.118194728 +0100
***************
*** 205,211 ****
  #Tandem/NSK                                                (c) Matthew Woehlke
  #Unisys 6035        cc             +X11 Motif         5.3  (8) Glauber Ribeiro
  #ESIX V4.2          cc             +X11               6.0  (a) Reinhard Wobst
- #Mac OS X 10.[23]     gcc          Carbon             6.2  (x) Bram Moolenaar
  # }}}
  
  # (*)  Remarks: {{{
--- 205,210 ----
*** ../vim-8.2.5153/src/version.c       2022-06-23 15:54:05.021376775 +0100
--- src/version.c       2022-06-23 20:27:44.028636505 +0100
***************
*** 736,737 ****
--- 737,740 ----
  {   /* Add new patch number below this line */
+ /**/
+     5154,
  /**/

-- 
An alien life briefly visits earth.  Just before departing it leaves a
message in the dust on the back of a white van.  The world is shocked
and wants to know what it means.  After months of studies the worlds
best linguistic scientists are able to decipher the message: "Wash me!".

 /// 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/20220623194830.59A181C4808%40moolenaar.net.

Raspunde prin e-mail lui