Patch 8.2.0464
Problem:    Typos and other small problems.
Solution:   Fix the typos.  Add missing files to the distribution.
Files:      Filelist, src/buffer.c, src/drawline.c, src/gui_gtk_x11.c,
            src/os_unixx.h, src/proto/popupwin.pro


*** ../vim-8.2.0463/Filelist    2020-03-25 20:16:23.647676279 +0100
--- Filelist    2020-03-27 20:41:58.848482303 +0100
***************
*** 12,17 ****
--- 12,18 ----
                appveyor.yml \
                ci/appveyor.bat \
                ci/if_ver*.vim \
+               ci/load-snd-dummy.sh \
                src/Make_all.mak \
                src/README.md \
                src/alloc.h \
***************
*** 151,167 ****
                src/testdir/*.py \
                src/testdir/lsan-suppress.txt \
                src/testdir/sautest/autoload/*.vim \
-               src/testdir/runtest.vim \
-               src/testdir/summarize.vim \
                src/testdir/check.vim \
!               src/testdir/shared.vim \
                src/testdir/screendump.vim \
-               src/testdir/view_util.vim \
-               src/testdir/term_util.vim \
                src/testdir/setup.vim \
-               src/testdir/gui_init.vim \
                src/testdir/setup_gui.vim \
!               src/testdir/gui_preinit.vim \
                src/testdir/test[0-9]*.ok \
                src/testdir/test[0-9]*a.ok \
                src/testdir/test_[a-z]*.ok \
--- 152,169 ----
                src/testdir/*.py \
                src/testdir/lsan-suppress.txt \
                src/testdir/sautest/autoload/*.vim \
                src/testdir/check.vim \
!               src/testdir/gui_init.vim \
!               src/testdir/gui_preinit.vim \
!               src/testdir/mouse.vim \
!               src/testdir/runtest.vim \
                src/testdir/screendump.vim \
                src/testdir/setup.vim \
                src/testdir/setup_gui.vim \
!               src/testdir/shared.vim \
!               src/testdir/summarize.vim \
!               src/testdir/term_util.vim \
!               src/testdir/view_util.vim \
                src/testdir/test[0-9]*.ok \
                src/testdir/test[0-9]*a.ok \
                src/testdir/test_[a-z]*.ok \
*** ../vim-8.2.0463/src/buffer.c        2020-03-11 14:19:53.480369957 +0100
--- src/buffer.c        2020-03-27 20:55:07.017723805 +0100
***************
*** 2014,2020 ****
--- 2014,2023 ----
            apply_autocmds(EVENT_BUFWIPEOUT, NULL, NULL, FALSE, curbuf);
  #ifdef FEAT_EVAL
        if (aborting())         // autocmds may abort script processing
+       {
+           vim_free(ffname);
            return NULL;
+       }
  #endif
        if (buf == curbuf)
        {
*** ../vim-8.2.0463/src/drawline.c      2020-02-23 15:29:43.013454555 +0100
--- src/drawline.c      2020-02-28 21:39:30.338626049 +0100
***************
*** 270,276 ****
      int               tocol = MAXCOL;         // end of inverting
      int               fromcol_prev = -2;      // start of inverting after 
cursor
      int               noinvcur = FALSE;       // don't invert the cursor
-     pos_T     *top, *bot;
      int               lnum_in_visual_area = FALSE;
      pos_T     pos;
      long      v;
--- 270,275 ----
***************
*** 535,540 ****
--- 534,541 ----
        // handle Visual active in this window
        if (VIsual_active && wp->w_buffer == curwin->w_buffer)
        {
+           pos_T       *top, *bot;
+ 
            if (LTOREQ_POS(curwin->w_cursor, VIsual))
            {
                // Visual is after curwin->w_cursor
*** ../vim-8.2.0463/src/gui_gtk_x11.c   2019-12-01 22:07:57.000000000 +0100
--- src/gui_gtk_x11.c   2020-03-22 17:44:33.930845872 +0100
***************
*** 4743,4748 ****
--- 4743,4750 ----
        PangoCoverage   *coverage;
        gunichar        uc;
  
+       // Valgrind reports a leak for pango_language_from_string(), but the
+       // documentation says "This is owned by Pango and should not be freed".
        coverage = pango_font_get_coverage(
                font, pango_language_from_string(cjk_langs[i]));
  
*** ../vim-8.2.0463/src/os_unixx.h      2019-11-30 18:52:25.000000000 +0100
--- src/os_unixx.h      2020-03-16 22:50:46.821360027 +0100
***************
*** 47,59 ****
  #endif // !USE_SYSTEM
  
  #ifdef HAVE_STROPTS_H
! #ifdef sinix
! #define buf_T __system_buf_t__
! #endif
  # include <stropts.h>
! #ifdef sinix
! #undef buf_T
! #endif
  #endif
  
  #ifdef HAVE_STRING_H
--- 47,59 ----
  #endif // !USE_SYSTEM
  
  #ifdef HAVE_STROPTS_H
! # ifdef sinix
! #  define buf_T __system_buf_t__
! # endif
  # include <stropts.h>
! # ifdef sinix
! #  undef buf_T
! # endif
  #endif
  
  #ifdef HAVE_STRING_H
*** ../vim-8.2.0463/src/proto/popupwin.pro      2020-02-01 23:04:20.120422629 
+0100
--- src/proto/popupwin.pro      2020-03-20 22:18:21.543100629 +0100
***************
*** 33,38 ****
--- 33,39 ----
  void popup_show(win_T *wp);
  void f_popup_show(typval_T *argvars, typval_T *rettv);
  void f_popup_settext(typval_T *argvars, typval_T *rettv);
+ int error_if_popup_window(int also_with_term);
  void popup_close(int id);
  void popup_close_tabpage(tabpage_T *tp, int id);
  void close_all_popups(void);
***************
*** 41,47 ****
  void f_popup_getpos(typval_T *argvars, typval_T *rettv);
  void f_popup_locate(typval_T *argvars, typval_T *rettv);
  void f_popup_getoptions(typval_T *argvars, typval_T *rettv);
- int error_if_popup_window(int also_with_term);
  int error_if_term_popup_window(void);
  void popup_reset_handled(int handled_flag);
  win_T *find_next_popup(int lowest, int handled_flag);
--- 42,47 ----
*** ../vim-8.2.0463/src/version.c       2020-03-27 20:52:41.354231361 +0100
--- src/version.c       2020-03-27 20:54:00.525955410 +0100
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     464,
  /**/

-- 
5 out of 4 people have trouble with fractions.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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/202003272000.02RK0k2c030703%40masaka.moolenaar.net.

Raspunde prin e-mail lui