Re: Where to find 7.1a patchlevels & runtimes? (Was: patch 7.1a.001)

2007-05-07 Thread A.J.Mechelynck

Bram Moolenaar wrote:

Tony Mechelynck wrote:

[...]
I notice this patch modifies one runtime file. This reminds me that runtime 
updates are not always reflected in patches. Do the files in 
ftp://ftp.vim.org/pub/vim/runtime/ (and the equivalent rsync repository, 
ftp.nluug.nl::Vim/runtime/ ) apply to 7.0 only, or to both 7.0 and 7.1? (The 
latest changes there are for a large number of spelling dictionaries.)


They are for both.  There are no (recent) source code changes that are
required for the updated runtime files.


On thinking back, I would suspect they /aren't/ the same, since the
first line of each helpfile mentions either 7.0 or 7.1a -- so at least
the contents of the doc/ subfolders are different. So -- will runtime
upgrades for 7.1 beta be always reflected in patches, or else will
there be a runtime server -- and where?

[...]

Well, then for 7.1a I suppose I can use the same rsync command, but with 
--exclude="/doc/" in addition to --exclude="/dos/" so the "new" helpfiles 
(with 7.1a in the first line) won't all be replaced, and the ":help 
version-7.1" section won't be deleted. This makes it (please remove spurious 
linebreaks added by my mailer or by yours, and correct me if I'm wrong)


cd ~/.build/vim/vim71a

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


But won't this roll back the 7.1a.001 change in autoload/spellfile.vim ?


Best regards,
Tony.
--
You can make it illegal, but you can't make it unpopular.


Re: Where to find 7.1a patchlevels & runtimes? (Was: patch 7.1a.001)

2007-05-07 Thread Bram Moolenaar

Tony Mechelynck wrote:

> Bram Moolenaar wrote:
> > Patch 7.1a.001
> > Problem:Crash when downloading a spell file.  (Szabolcs Horvat)
> > Solution:   Avoid that did_set_spelllang() is used recursively when a new
> > window is opened for the download.
> > Also avoid wiping out the wrong buffer.
> > Files:  runtime/autoload/spellfile.vim, src/buffer.c, src/ex_cmds.c,
> > src/spell.c
> [...]
> 
> After a little hunting, I found this patch on the ftp server too (with
> README, MD5 and MD5SUMS):
> 
> ftp://ftp.vim.org/pub/vim/unstable/patches/7.1a/

That's right.

> Note: I prefer not to feed the email itself to the patch program, because:
> - my ISP's routers sometimes autoconvert the contents between 8-bit and 
> quoted-printable; and the latter make the patch program choke;
> - if I see several patches published while I was away or asleep, by FTP I can 
> get them all to where "patch" will find them.
> - the patch directory on FTP includes a table of contents, README
> 
> I notice this patch modifies one runtime file. This reminds me that runtime 
> updates are not always reflected in patches. Do the files in 
> ftp://ftp.vim.org/pub/vim/runtime/ (and the equivalent rsync repository, 
> ftp.nluug.nl::Vim/runtime/ ) apply to 7.0 only, or to both 7.0 and 7.1? (The 
> latest changes there are for a large number of spelling dictionaries.)

They are for both.  There are no (recent) source code changes that are
required for the updated runtime files.

> On thinking back, I would suspect they /aren't/ the same, since the
> first line of each helpfile mentions either 7.0 or 7.1a -- so at least
> the contents of the doc/ subfolders are different. So -- will runtime
> upgrades for 7.1 beta be always reflected in patches, or else will
> there be a runtime server -- and where?
> (ftp://pub/vim/unstable/runtime/ contains only one item yet: a
> softlink to the main "spell" subfolder.)

There were runtime files here during the 7.0 beta testing, but I don't
think they are useful now.

> Hm... I see a "snapshot zip",
> http://ftp.vim.org/pub/vim/unstable/snapshot/vim-7.1a.zip ,but it's
> more than 24h older than the patch, while it's only about 2h "younger"
> than the 7.0.000 tar.gz and tar.bz2 archives so I guess it's 7.1a.000
> in one big economy package...

It's almost the same.  I had trouble getting the CVS server updated, and
this snapshot went together with that update.  I don't think it adds
anything now, it was for when there was no 7.0x release yet.

-- 
hundred-and-one symptoms of being an internet addict:
77. The phone company asks you to test drive their new PBX system

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\download, build and distribute -- http://www.A-A-P.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///


Where to find 7.1a patchlevels & runtimes? (Was: patch 7.1a.001)

2007-05-06 Thread A.J.Mechelynck

Bram Moolenaar wrote:

Patch 7.1a.001
Problem:Crash when downloading a spell file.  (Szabolcs Horvat)
Solution:   Avoid that did_set_spelllang() is used recursively when a new
window is opened for the download.
Also avoid wiping out the wrong buffer.
Files:  runtime/autoload/spellfile.vim, src/buffer.c, src/ex_cmds.c,
src/spell.c

[...]

After a little hunting, I found this patch on the ftp server too (with README, 
MD5 and MD5SUMS):


ftp://ftp.vim.org/pub/vim/unstable/patches/7.1a/

Note: I prefer not to feed the email itself to the patch program, because:
- my ISP's routers sometimes autoconvert the contents between 8-bit and 
quoted-printable; and the latter make the patch program choke;
- if I see several patches published while I was away or asleep, by FTP I can 
get them all to where "patch" will find them.

- the patch directory on FTP includes a table of contents, README

I notice this patch modifies one runtime file. This reminds me that runtime 
updates are not always reflected in patches. Do the files in 
ftp://ftp.vim.org/pub/vim/runtime/ (and the equivalent rsync repository, 
ftp.nluug.nl::Vim/runtime/ ) apply to 7.0 only, or to both 7.0 and 7.1? (The 
latest changes there are for a large number of spelling dictionaries.)


On thinking back, I would suspect they /aren't/ the same, since the first line 
of each helpfile mentions either 7.0 or 7.1a -- so at least the contents of 
the doc/ subfolders are different. So -- will runtime upgrades for 7.1 beta be 
always reflected in patches, or else will there be a runtime server -- and 
where? (ftp://pub/vim/unstable/runtime/ contains only one item yet: a softlink 
to the main "spell" subfolder.)


Hm... I see a "snapshot zip", 
http://ftp.vim.org/pub/vim/unstable/snapshot/vim-7.1a.zip ,but it's more than 
24h older than the patch, while it's only about 2h "younger" than the 7.0.000 
tar.gz and tar.bz2 archives so I guess it's 7.1a.000 in one big economy package...



Best regards,
Tony.
--
If you don't have a nasty obituary you probably didn't matter.
-- Freeman Dyson