Bram Moolenaar | 1 Jan 2008 14:17
Picon

Patch 7.1.177


Patch 7.1.177
Problem:    Freeing memory twice when in debug mode while reading a script.
Solution:   Ignore script input while in debug mode.
Files:	    src/ex_cmds2.c, src/getchar.c, src/globals.h

*** ../vim-7.1.176/src/ex_cmds2.c	Thu May 10 20:55:46 2007
--- src/ex_cmds2.c	Tue Jan  1 14:13:41 2008
***************
*** 93,98 ****
--- 93,100 ----
      int		save_emsg_silent = emsg_silent;
      int		save_redir_off = redir_off;
      tasave_T	typeaheadbuf;
+     int		typeahead_saved = FALSE;
+     int		save_ignore_script;
  # ifdef FEAT_EX_EXTRA
      int		save_ex_normal_busy;
  # endif
***************
*** 159,176 ****
  	 * This makes sure we get input from the user here and don't interfere
  	 * with the commands being executed.  Reset "ex_normal_busy" to avoid
  	 * the side effects of using ":normal". Save the stuff buffer and make
! 	 * it empty. */
  # ifdef FEAT_EX_EXTRA
  	save_ex_normal_busy = ex_normal_busy;
  	ex_normal_busy = 0;
  # endif
  	if (!debug_greedy)
(Continue reading)

Edward L. Fox | 1 Jan 2008 15:08
Picon

Re: Patch 7.1.177


Hi Bram,

On Jan 1, 2008 9:17 PM, Bram Moolenaar <Bram <at> moolenaar.net> wrote:
>
>
> Patch 7.1.177
> Problem:    Freeing memory twice when in debug mode while reading a script.
> Solution:   Ignore script input while in debug mode.
> Files:      src/ex_cmds2.c, src/getchar.c, src/globals.h

I didn't see this patch on the FTP site.  Could you please re-upload
it?  Thanks a lot!

>
> [...]

Regards,

Edward L. Fox

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Bram Moolenaar | 1 Jan 2008 15:43
Picon

Patch 7.1.178


Patch 7.1.178
Problem:    "%" doesn't work on "/* comment *//* comment */".
Solution:   Don't handle the "//" in "*//*" as a C++ comment. (Markus
	    Heidelberg)
Files:	    src/search.c

*** ../vim-7.1.177/src/search.c	Wed Aug  8 22:48:16 2007
--- src/search.c	Mon Dec 10 21:21:17 2007
***************
*** 2319,2325 ****
  #endif
      while ((p = vim_strchr(p, '/')) != NULL)
      {
! 	if (p[1] == '/')
  	    break;
  	++p;
      }
--- 2319,2327 ----
  #endif
      while ((p = vim_strchr(p, '/')) != NULL)
      {
! 	/* accept a double /, unless it's preceded with * and followed by *,
! 	 * because * / / * is an end and start of a C comment */
! 	if (p[1] == '/' && (p == line || p[-1] != '*' || p[2] != '*'))
  	    break;
  	++p;
      }
*** ../vim-7.1.177/src/version.c	Tue Jan  1 14:16:42 2008
--- src/version.c	Tue Jan  1 15:41:33 2008
(Continue reading)

Bram Moolenaar | 1 Jan 2008 16:26
Picon

Patch 7.1.179


Patch 7.1.179
Problem:    Need to check for TCL 8.5.
Solution:   Adjust configure script. (Alexey Froloff)
Files:	    src/configure.in, src/auto/configure

*** ../vim-7.1.178/src/configure.in	Sun Nov  4 15:35:23 2007
--- src/configure.in	Sun Dec 30 13:55:28 2007
***************
*** 759,773 ****

  if test "$enable_tclinterp" = "yes"; then

!   dnl on FreeBSD tclsh is a silly script, look for tclsh8.[420]
    AC_MSG_CHECKING(--with-tclsh argument)
    AC_ARG_WITH(tclsh, [  --with-tclsh=PATH       which tclsh to use (default: tclsh8.0)],
  	tclsh_name="$withval"; AC_MSG_RESULT($tclsh_name),
! 	tclsh_name="tclsh8.4"; AC_MSG_RESULT(no))
    AC_PATH_PROG(vi_cv_path_tcl, $tclsh_name)
    AC_SUBST(vi_cv_path_tcl)

!   dnl when no specific version specified, also try 8.2 and 8.0
    if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.4"; then
      tclsh_name="tclsh8.2"
      AC_PATH_PROG(vi_cv_path_tcl, $tclsh_name)
--- 759,777 ----

  if test "$enable_tclinterp" = "yes"; then

!   dnl on FreeBSD tclsh is a silly script, look for tclsh8.[5420]
(Continue reading)

Bram Moolenaar | 1 Jan 2008 17:37
Picon

Patch 7.1.180


Patch 7.1.180
Problem:    Regexp patterns not tested sufficiently.
Solution:   Add more checks to the regexp test.
Files:	    src/testdir/test64.in, src/testdir/test64.ok

*** ../vim-7.1.179/src/testdir/test64.in	Tue Sep 25 17:54:41 2007
--- src/testdir/test64.in	Mon Dec 31 14:20:23 2007
***************
*** 14,23 ****
--- 14,136 ----
  :"    etc.
  :"  When there is no match use only the first two items.
  :let tl = []
+ :call add(tl, ['ab', 'aab', 'ab'])
  :call add(tl, ['b', 'abcdef', 'b'])
  :call add(tl, ['bc*', 'abccccdef', 'bcccc'])
  :call add(tl, ['bc\{-}', 'abccccdef', 'b'])
  :call add(tl, ['bc\{-}\(d\)', 'abccccdef', 'bccccd', 'd'])
+ :call add(tl, ['bc*', 'abbdef', 'b'])
+ :call add(tl, ['c*', 'ccc', 'ccc'])
+ :call add(tl, ['bc*', 'abdef', 'b'])
+ :call add(tl, ['c*', 'abdef', ''])
+ :call add(tl, ['bc\+', 'abccccdef', 'bcccc'])
+ :call add(tl, ['bc\+', 'abdef']) "no match
+ :"
+ :"operator \|
+ :call add(tl, ['a\|ab', 'cabd', 'a']) "alternation is ordered
+ :"
+ :call add(tl, ['c\?', 'ccb', 'c'])
(Continue reading)

Tony Mechelynck | 1 Jan 2008 19:27
Picon
Gravatar

ftp and rsync errors


Problem 1: ftp://ftp.vim.org/pub/vim/ (and subdirectories) times out.

Workaround: Use ftp://ftp.nluug.nl/pub/vim/ instead.

Note:
- ftp.vim.org has multiple DNS: 192.87.102.42 times out; 192.87.102.43 is
reachable.
- From there, /pub/vim is a long chain of symlinks, at least one of which
apparently takes forever to resolve.

Problem 2: rsync to ftp.nluug.nl times out with the following command-line:

rsync -avzcP --delete --exclude="/dos/" ftp.nluug.nl::Vim/runtime/ ./runtime/
2>&1 | tee rsync.log

(all on one line). (./runtime/ directory exists). No output from rsync
program, must be interrupted by Ctrl-C.

Workaround: none. (Wait a few hours, or maybe days, until remote rsync server
comes up.)

Happy New Year ;-)

Best regards,
Tony.
--

-- 
Radioactive cats have 18 half-lives.

--~--~---------~--~----~------------~-------~--~----~
(Continue reading)

Charles E. Campbell, Jr. | 1 Jan 2008 20:40

Re: ftp and rsync errors


Tony Mechelynck wrote:

>Problem 1: ftp://ftp.vim.org/pub/vim/ (and subdirectories) times out.
>
>Workaround: Use ftp://ftp.nluug.nl/pub/vim/ instead.
>
>Note:
>- ftp.vim.org has multiple DNS: 192.87.102.42 times out; 192.87.102.43 is
>reachable.
>- From there, /pub/vim is a long chain of symlinks, at least one of which
>apparently takes forever to resolve.
>  
>
Unfortunately, for neither ftp.vim.org nor ftp.nluug.nl am I able to cd 
to pub/vim .  As TM said, /pub/vim/ on both sites yields a chain of 
symlinks:
  ie. /pub -> /vol/1/.CLUSTER/var_ftp/pub

and from there,
  vim -> editors/vim

However, cd editors and ls vim shows:
  vim -> vim -> ../../site/ftp.oce.nl/pub/vim

Going through ../../site/ftp.oce.nl/pub succeeds, and
  vim -> vim -> ../../../vol/2/vim

Finally, cd ../../../vol/2 succeeds, but
  (the directory is empty)
(Continue reading)

Tony Mechelynck | 1 Jan 2008 21:10
Picon
Gravatar

Re: ftp and rsync errors


Charles E. Campbell, Jr. wrote:
> Tony Mechelynck wrote:
> 
>> Problem 1: ftp://ftp.vim.org/pub/vim/ (and subdirectories) times out.
>>
>> Workaround: Use ftp://ftp.nluug.nl/pub/vim/ instead.
>>
>> Note:
>> - ftp.vim.org has multiple DNS: 192.87.102.42 times out; 192.87.102.43 is
>> reachable.
>> - From there, /pub/vim is a long chain of symlinks, at least one of which
>> apparently takes forever to resolve.
>>  
>>
> Unfortunately, for neither ftp.vim.org nor ftp.nluug.nl am I able to cd 
> to pub/vim .  As TM said, /pub/vim/ on both sites yields a chain of 
> symlinks:
>   ie. /pub -> /vol/1/.CLUSTER/var_ftp/pub
> 
> and from there,
>   vim -> editors/vim
> 
> However, cd editors and ls vim shows:
>   vim -> vim -> ../../site/ftp.oce.nl/pub/vim
> 
> Going through ../../site/ftp.oce.nl/pub succeeds, and
>   vim -> vim -> ../../../vol/2/vim
> 
> Finally, cd ../../../vol/2 succeeds, but
(Continue reading)

Tony Mechelynck | 1 Jan 2008 23:36
Picon
Gravatar

Re: ftp and rsync errors (?!? OK after reboot ?!?)


Tony Mechelynck wrote:
> Charles E. Campbell, Jr. wrote:
[...]
>> Unfortunately, for neither ftp.vim.org nor ftp.nluug.nl am I able to cd 
>> to pub/vim .  As TM said, /pub/vim/ on both sites yields a chain of 
>> symlinks:
[...]
>> That is confusing!  And, unfortunately, in the words of CJCherryh 
>> (albeit not applied to this), infelicitous.
>>
>> Happy New Year!
>> Chip Campbell
> 
> Apparently, the fact that I succeeded to connect to a server where /pub/vim 
> was a vailable, and even to downloaded all patches till 7.1.180, was a 
> one-time non-repeatable fluke: I cn't do it again.
[...]

I rebooted my Linux system (for another reason), and now I can access both the 
FTP and the rsync servers. Dr. Chip, what about you?

Best regards,
Tony.
--

-- 
On the road, ZIPPY is a pinhead without a purpose, but never without a
POINT ...

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
(Continue reading)

Kazuo Teramoto | 2 Jan 2008 00:06
Picon
Gravatar

Re: ftp and rsync errors

On Jan 1, 2008 6:10 PM, Tony Mechelynck <antoine.mechelynck <at> gmail.com> wrote:
> Apparently, the fact that I succeeded to connect to a server where /pub/vim
> was a vailable, and even to downloaded all patches till 7.1.180, was a
> one-time non-repeatable fluke: I cn't do it again.

ftp.vim.org is working for me, I can cd to pub/vim and get patches...

--

-- 
«Dans la vie, rien n'est à craindre, tout est à comprendre»
Marie Sklodowska Curie.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---


Gmane