Re: Win64-related patches

2007-02-20 Thread Mike Williams

On 12/02/2007 07:48, George V. Reilly wrote:

* Win64 changes to make code compile cleanly: eval.c, misc2.c, if_ole.*
* Fixed install.exe bug
* Fixed annoying warning from Explorer about gvimext.dll
* Fixed gvim.exe.mnf to be cross-platform. No longer needs to be generated
  from Make_mvc.mak
* Re-fixed spell.c so that it works with VC6. Unit tests go into an infinite
  loop otherwise.
* Updated INSTALLpc.txt to reflect that Visual C++ 2005 Express Edition is
  now free forever, recommending it over the VC 2003 Toolkit.
* Cleaned up Make_mvc.mak, incorporating (and fixing) recent patches from
  Alexei Alexandrov and Mike Williams


Last week's service pack for VS2005 has changed the nmake version 
number.  It just needs the following three lines adding after the ones 
for the previous version for VS2005.


!if $(_NMAKE_VER) == 8.00.50727.762
MSVCVER = 8.0
!endif

I also had to edit make_mvc.mak for tests of MSVCVER as nmake did not 
like it enclosed in quotes.  The expressions had to be of the form


!if $(MSVCVER) == ...

Since MSVCVER is set to a string the extra quotes end up being double 
double quotes which is invalid syntax.  Should MSVCVER be set to string 
in the makefile?  What do they come through as from the platform SDK?


Apart from that all seems to work as expected.


* Added mkdist.bat to copy all of the installable files to vim70 directory,
  where they are zipped up, for later installation on Win64 or Win32.
* Made a futile attempt to get gvim.nsi building. Just building.
  Never mind running on Win64.
* Fixed a bug in test60: test60.ok must have Unix line endings


I have tested this code with the VS 98 (VC6), VS .NET 2003 (VC 7.1),
VS 2003 Toolkit (VC 7.1), Visual Studio 2005 (VC8), Visual Studio 2005
Express Edition (VC 8), and the VS 2005 x64 cross-compiler.

I'll re-test the Win64 binaries on a borrowed AMD64 machine at work 
tomorrow.

As of yesterday, I was able to use install.exe to successfully install
gvim and register gvimext.dll, giving the Edit with Vim entry in
the Explorer context menu. Once everything is retested, I'll make fresh
Win64 binaries available.

One bug that I didn't fix. Build gvim.exe with OLE=no, run 'gvim -register',
and watch it crash while trying to display an error message.



Mike
--
Sometimes a majority means that all the fools are on one side.


Re: New php.vim indent script

2007-02-20 Thread Miles Lott

This quickly moved to version 1.2 and this is the recommended version:

http://www.vim.org/scripts/script.php?script_id=346

Miles Lott wrote:
I have uploaded version 0.8 of my indent file for php.  This was the 
file included in 6.X which was replaced by John's script in 7.X.  
After 5 years it still works for me, so please let me know what you 
think.




Re: Reminder: Vim presentation in Mountain View tomorrow

2007-02-20 Thread Martin Stubenschrott
As announced, Bram gave an interesting talk about vim on the Google
campus last week, for those who couldn't be there, there is a well made
video of it there:

http://video.google.com/videoplay?docid=2538831956647446078

Maybe it should also be linked from the news entry on vim.org?

Off-topic, but since google announced it's third season for the Summer
Of Code, wouldn't it be interesting to have vim participate in it? Or is
the problem, that you, Bram, already have too little time to play mentor,
and there aren't other core developers for this task?

--
Martin


Re: patch 7.0.198 (extra)

2007-02-20 Thread Mathias Michaelis
 Patch 7.0.198 (extra)
 Problem:Win32: Compiler warnings.  No need to generate gvim.exe.mnf.
 Solution:   Add type casts.  Use * for processorArchitecture. (George 
 Reilly)
 Files:  src/Make_mvc.mak, src/eval.c, src/gvim.exe.mnf, src/misc2.c
 
This patch collides with some patches I posted earlier. I adopted my
patches. They can be downloaded for a while from

http://members.tcnet.ch/michaelis/vim/patches.zip

With kind regards

Mathias


[PATCH] minor typo in tutor

2007-02-20 Thread Michael Wookey
Index: runtime/tutor/tutor
===
--- runtime/tutor/tutor (revision 218)
+++ runtime/tutor/tutor (working copy)
@@ -568,10 +568,10 @@
 
   4. To change every occurrence of a character string between two
lines,
  type   :#,#s/old/new/gwhere #,# are the line numbers of the
range
-   of lines where the subsitution is to be
done.
+   of lines where the substitution is to be
done.
  Type   :%s/old/new/g  to change every occurrence in the whole
file.
  Type   :%s/old/new/gc to find every occurrence in the whole
file,
-  with a prompt wether to substitute or
not.
+  with a prompt whether to substitute or
not.
 
 

~~
   LESSON 4 SUMMARY


RE: [PATCH] minor typo in tutor

2007-02-20 Thread Michael Wookey
Hmm.. apologies if my mail client messed that up.  Find the patch
attached.

cheers



tutor.patch
Description: tutor.patch


Recording of Vim presentation available

2007-02-20 Thread Bram Moolenaar

Dear Vim users,

A week ago I did a presentation on Vim, called Seven habits of
effective text editing 2.0.  I was happy to see a lot of people
come to listen to me.  Many more than expected, we ran out of food and
had to get extra chairs.  Thanks to all who were there, it was nice to
have a big audience.  And I was excited to greet some of the people who
I previously only knew through e-mail.

The video of the presentation is now available on Google video:
http://video.google.com/videoplay?docid=2538831956647446078

The presentation itself is about 45 minutes.  With the QA included it
is 80 minutes.

If you can't use Google video, you may get the video file from the ftp
server: ftp://ftp.vim.org/pub/vim/stuff/7Habits20.avi
This is 507 Mbyte of divx.  You may want to use a mirror site:
ftp://ftp.vim.org/pub/vim/MIRRORS

It's a lot quicker to get the PDF with the presentation and notes:
http://www.moolenaar.net/habits.pdf
This is about 640 Kbyte.

-- 
hundred-and-one symptoms of being an internet addict:
163. You go outside for the fresh air (at -30 degrees) but open the
 window first to hear new mail arrive.

 /// 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///


Re: Reminder: Vim presentation in Mountain View tomorrow

2007-02-20 Thread Bram Moolenaar

Martin Stubenschrott wrote:

 As announced, Bram gave an interesting talk about vim on the Google
 campus last week, for those who couldn't be there, there is a well made
 video of it there:
 
 http://video.google.com/videoplay?docid=2538831956647446078
 
 Maybe it should also be linked from the news entry on vim.org?

Did that just a few minutes ago.  Forgot one more link: if you are
interested in the books, look here: http://www.iccf.nl/click2.html

 Off-topic, but since google announced it's third season for the Summer
 Of Code, wouldn't it be interesting to have vim participate in it? Or is
 the problem, that you, Bram, already have too little time to play mentor,
 and there aren't other core developers for this task?

I'm thinking of it.  The main task would probably be to fix known
problems.  If there is one feature that people ask for, and is #1 on the
voting list, it's integration with Eclipse.

-- 
hundred-and-one symptoms of being an internet addict:
166. You have been on your computer soo long that you didn't realize
 you had grandchildren.

 /// 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///


RE: [PATCH] minor typo in tutor

2007-02-20 Thread Bram Moolenaar

Michael Wookey wrote:

 Hmm.. apologies if my mail client messed that up.  Find the patch
 attached.

Thanks.  These typos must have been there for ages.

-- 
Microsoft says that MS-Windows is much better for you than Linux.
That's like the Pope saying that catholicism is much better for
you than protestantism.

 /// 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///


[correction] Recording of Vim presentation available

2007-02-20 Thread Bram Moolenaar

I wrote:

 It's a lot quicker to get the PDF with the presentation and notes:
 http://www.moolenaar.net/habits.pdf
 This is about 640 Kbyte.

But that's the old one!  Use this link instead:
http://www.moolenaar.net/habits_2007.pdf

Oh, and in case you are interested in the books mentioned, use this
link: http://iccf-holland.org/click2.html

Sorry for the confusion.

-- 
hundred-and-one symptoms of being an internet addict:
168. You have your own domain name.

 /// 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///