Re: Patch 8.2.3067

2021-06-27 Fir de Conversatie Elimar Riesebieter
* Bram Moolenaar  [2021-06-27 19:05 +0200]:

> 
> Patch 8.2.3067
> Problem:Building fails with Athena. (Elimar Riesebieter)
> Solution:   Adjust #ifdefs and add the 'drop_file' feature.
> Files:  src/evalfunc.c, src/testing.c, src/testdir/test_gui.vim

Builds fine now :-)

Thanks for the quick response!

Elimar
-- 
  Do you smell something burning or is it me?

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20210627174514.rwdxsy47pd6dtrxj%40toy.home.lxtec.de.


Patch 8.2.3067

2021-06-27 Fir de Conversatie Bram Moolenaar


Patch 8.2.3067
Problem:Building fails with Athena. (Elimar Riesebieter)
Solution:   Adjust #ifdefs and add the 'drop_file' feature.
Files:  src/evalfunc.c, src/testing.c, src/testdir/test_gui.vim


*** ../vim-8.2.3066/src/evalfunc.c  2021-06-24 19:55:23.906419441 +0200
--- src/evalfunc.c  2021-06-27 18:57:51.566510005 +0200
***
*** 4578,4583 
--- 4578,4590 
0
  #endif
},
+   {"drop_file",
+ #ifdef HAVE_DROP_FILE
+   1
+ #else
+   0
+ #endif
+   },
{"emacs_tags",
  #ifdef FEAT_EMACS_TAGS
1
*** ../vim-8.2.3066/src/testing.c   2021-06-23 20:46:46.914256853 +0200
--- src/testing.c   2021-06-27 18:50:43.159321851 +0200
***
*** 1260,1266 
  void
  f_test_gui_drop_files(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
  {
! # ifdef FEAT_GUI
  int   row;
  int   col;
  int_u mods;
--- 1260,1266 
  void
  f_test_gui_drop_files(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
  {
! #if defined(HAVE_DROP_FILE)
  int   row;
  int   col;
  int_u mods;
*** ../vim-8.2.3066/src/testdir/test_gui.vim2021-06-23 20:46:46.914256853 
+0200
--- src/testdir/test_gui.vim2021-06-27 19:01:49.966051240 +0200
***
*** 1160,1171 
--- 1160,1175 
  
  " Test for dropping files into a window in GUI
  func DropFilesInCmdLine()
+   CheckFeature drop_file
+ 
call feedkeys(":\"", 'L')
call test_gui_drop_files(['a.c', 'b.c'], , 1, 0)
call feedkeys("\", 'L')
  endfunc
  
  func Test_gui_drop_files()
+   CheckFeature drop_file
+ 
call assert_fails('call test_gui_drop_files(1, 1, 1, 0)', 'E474:')
call assert_fails('call test_gui_drop_files(["x"], "", 1, 0)', 'E474:')
call assert_fails('call test_gui_drop_files(["x"], 1, "", 0)', 'E474:')
*** ../vim-8.2.3066/src/version.c   2021-06-27 16:29:50.119042807 +0200
--- src/version.c   2021-06-27 19:02:29.517970702 +0200
***
*** 757,758 
--- 757,760 
  {   /* Add new patch number below this line */
+ /**/
+ 3067,
  /**/

-- 
It was recently discovered that research causes cancer in rats.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202106271705.15RH5g1V671996%40masaka.moolenaar.net.