Patch 8.2.1961
Problem: Various comments can be improved.
Solution: Various comment adjustments.
Files: src/dict.c, src/structs.h, src/time.c, src/testdir/shared.vim,
src/testdir/test_netbeans.vim, src/gui_motif.c
*** ../vim-8.2.1960/src/dict.c 2020-10-22 18:59:57.954560128 +0200
--- src/dict.c 2020-11-04 13:21:18.460277186 +0100
***************
*** 22,27 ****
--- 22,28 ----
/*
* Allocate an empty header for a dictionary.
+ * Caller should take care of the reference count.
*/
dict_T *
dict_alloc(void)
*** ../vim-8.2.1960/src/structs.h 2020-10-26 21:05:23.905469139 +0100
--- src/structs.h 2020-10-28 11:18:20.398796225 +0100
***************
*** 1688,1694 ****
#ifdef FEAT_PROFILE
proftime_T prof_child; // time spent in a child
#endif
! funccall_T *caller; // calling function or NULL
// for closure
int fc_refcount; // number of user functions that
reference this
--- 1688,1695 ----
#ifdef FEAT_PROFILE
proftime_T prof_child; // time spent in a child
#endif
! funccall_T *caller; // calling function or NULL; or next
funccal in
! // list pointed to by previous_funccal.
// for closure
int fc_refcount; // number of user functions that
reference this
*** ../vim-8.2.1960/src/time.c 2020-09-06 18:39:34.712258081 +0200
--- src/time.c 2020-09-27 19:59:04.011971078 +0200
***************
*** 497,506 ****
--- 497,508 ----
may_garbage_collect = FALSE;
save_vimvars(&vvsave);
+ // Invoke the callback.
timer->tr_firing = TRUE;
timer_callback(timer);
timer->tr_firing = FALSE;
+ // Restore stuff.
timer_next = timer->tr_next;
did_one = TRUE;
timer_busy = save_timer_busy;
*** ../vim-8.2.1960/src/testdir/shared.vim 2020-07-15 18:29:15.072357704
+0200
--- src/testdir/shared.vim 2020-09-27 16:01:11.892991644 +0200
***************
*** 223,229 ****
call feedkeys('x', 'nt')
endfunc
! " Get $VIMPROG to run Vim executable.
" The Makefile writes it as the first line in the "vimcmd" file.
func GetVimProg()
if !filereadable('vimcmd')
--- 223,229 ----
call feedkeys('x', 'nt')
endfunc
! " Get $VIMPROG to run the Vim executable.
" The Makefile writes it as the first line in the "vimcmd" file.
func GetVimProg()
if !filereadable('vimcmd')
*** ../vim-8.2.1960/src/testdir/test_netbeans.vim 2020-11-03
11:53:26.227750386 +0100
--- src/testdir/test_netbeans.vim 2020-11-04 16:59:32.514385719 +0100
***************
*** 845,850 ****
--- 845,851 ----
call writefile([], "Xnetbeans")
let after =<< trim END
source shared.vim
+ set cpo&vim
func ReadXnetbeans()
let l = readfile("Xnetbeans")
*** ../vim-8.2.1960/src/gui_motif.c 2020-09-20 21:13:18.273271296 +0200
--- src/gui_motif.c 2020-09-20 22:56:18.005690394 +0200
***************
*** 1242,1248 ****
}
else
{
- // Test_colorscheme()
if (menu->xpm_fname != NULL)
{
XtSetArg(args[n], XmNpixmapFile, menu->xpm_fname); n++;
--- 1242,1247 ----
*** ../vim-8.2.1960/src/version.c 2020-11-05 20:46:28.716616921 +0100
--- src/version.c 2020-11-05 20:48:11.208364758 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 1961,
/**/
--
hundred-and-one symptoms of being an internet addict:
201. When somebody asks you where you are, you tell them in which chat room.
/// 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/202011051951.0A5JpLaU226603%40masaka.moolenaar.net.