home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.1.404 < prev    next >
Encoding:
Internet Message Format  |  2003-03-14  |  52.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.404
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.1.404 (extra)
  11. Problem:    Various small problems.
  12. Solution:   Fix comments.  Various small additions, changes in indent, removal
  13.         of unused items and fixes.
  14. Files:        Makefile, README.txt, runtime/menu.vim, runtime/vimrc_example.vim,
  15.         src/INSTALL, src/INSTALLole.txt, src/Make_bc5.mak,
  16.         src/Make_cyg.mak, src/Make_ming.mak, src/Makefile,
  17.         src/config.h.in, src/edit.c, src/eval.c, src/ex_cmds2.c,
  18.         src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/getchar.c,
  19.         src/gui.c, src/gui_gtk.c, src/gui_photon.c, src/if_cscope.c,
  20.         src/if_python.c, src/keymap.h, src/mark.c, src/mbyte.c,
  21.         src/message.c, src/misc1.c, src/misc2.c, src/normal.c,
  22.         src/option.c, src/os_os2_cfg.h, src/os_win32.c,
  23.         src/proto/getchar.pro, src/proto/message.pro,
  24.         src/proto/regexp.pro, src/screen.c, src/structs.h, src/syntax.c,
  25.         src/term.c, src/testdir/test15.in, src/testdir/test15.ok,
  26.         src/vim.rc, src/xxd/Make_cyg.mak, src/xxd/Makefile
  27.  
  28.  
  29. *** ../vim61.403/Makefile    Tue Jul  9 21:50:11 2002
  30. --- Makefile    Mon Mar 10 20:04:17 2003
  31. ***************
  32. *** 367,373 ****
  33.   SRC_DOS =    \
  34.           GvimExt \
  35.           README_srcdos.txt \
  36. -         src/INSTALLole.txt \
  37.           src/INSTALLpc.txt \
  38.           src/Make_bc3.mak \
  39.           src/Make_bc5.mak \
  40. --- 367,372 ----
  41. ***************
  42. *** 500,513 ****
  43.   SRC_VMS =    \
  44.           src/INSTALLvms.txt \
  45.           src/Make_vms.mms \
  46.           src/os_vms.c \
  47. -         src/os_vms.opt \
  48.           src/os_vms_conf.h \
  49.           src/os_vms_mms.c \
  50.           src/proto/os_vms.pro \
  51.           src/testdir/Make_vms.mms \
  52.           src/testdir/vms.vim \
  53.           src/xxd/Make_vms.mms \
  54.   
  55.   # source files for OS/2 (in the extra archive)
  56.   SRC_OS2 =    \
  57. --- 499,513 ----
  58.   SRC_VMS =    \
  59.           src/INSTALLvms.txt \
  60.           src/Make_vms.mms \
  61. +         src/gui_gtk_vms.h \
  62.           src/os_vms.c \
  63.           src/os_vms_conf.h \
  64.           src/os_vms_mms.c \
  65.           src/proto/os_vms.pro \
  66.           src/testdir/Make_vms.mms \
  67.           src/testdir/vms.vim \
  68.           src/xxd/Make_vms.mms \
  69. +         vimtutor.com \
  70.   
  71.   # source files for OS/2 (in the extra archive)
  72.   SRC_OS2 =    \
  73. ***************
  74. *** 784,790 ****
  75. --- 784,792 ----
  76.           runtime/lang/menu_*.vim \
  77.           runtime/keymap/README.txt \
  78.           runtime/keymap/*.vim \
  79. +         runtime/tutor/README.*.txt \
  80.           runtime/tutor/tutor.?? \
  81. +         runtime/tutor/tutor.gr.* \
  82.           runtime/tutor/tutor.ja.* \
  83.           runtime/tutor/tutor.pl.* \
  84.           runtime/tutor/tutor.zh.* \
  85. *** ../vim61.403/README.txt    Fri Mar 22 21:18:35 2002
  86. --- README.txt    Thu Sep 19 22:10:52 2002
  87. ***************
  88. *** 14,22 ****
  89.   with ten fingers can work very fast.  Additionally, function keys can be
  90.   defined by the user, and the mouse can be used.
  91.   
  92. ! Vim currently runs under Amiga DOS, MS-DOS, MS-Windows 95/98/NT, Atari MiNT,
  93. ! Macintosh, BeOS, VMS, RISC OS, OS/2 and almost all flavours of UNIX.
  94. ! Porting to other systems should not be very difficult.
  95.   
  96.   
  97.   DISTRIBUTION
  98. --- 14,22 ----
  99.   with ten fingers can work very fast.  Additionally, function keys can be
  100.   defined by the user, and the mouse can be used.
  101.   
  102. ! Vim currently runs under Amiga DOS, MS-DOS, MS-Windows 95/98/Me/NT/2000/XP,
  103. ! Atari MiNT, Macintosh, BeOS, VMS, RISC OS, OS/2 and almost all flavours of
  104. ! UNIX.  Porting to other systems should not be very difficult.
  105.   
  106.   
  107.   DISTRIBUTION
  108. ***************
  109. *** 45,77 ****
  110.   
  111.   Vim is Charityware.  You can use and copy it as much as you like, but you are
  112.   encouraged to make a donation to orphans in Uganda.  Please read the file
  113. ! "runtime/doc/uganda.txt" for details.
  114.   
  115. ! There are no restrictions on distributing an unmodified copy of Vim.  Parts of
  116. ! Vim may also be distributed, but this text must always be included.  You are
  117. ! allowed to include executables that you made from the unmodified Vim sources,
  118. ! your own usage examples and Vim scripts.
  119. ! If you distribute a modified version of Vim, you are encouraged to send the
  120. ! maintainer a copy, including the source code.  Or make it available to the
  121. ! maintainer through ftp; let him know where it can be found.  If the number of
  122. ! changes is small (e.g., a modified Makefile) e-mailing the diffs will do.
  123. ! When the maintainer asks for it (in any way) you must make your changes,
  124. ! including source code, available to him.
  125. ! The maintainer reserves the right to include any changes in the official
  126. ! version of Vim.  This is negotiable.  You are not allowed to distribute a
  127. ! modified version of Vim when you are not willing to make the source code
  128. ! available to the maintainer.
  129. ! The current maintainer is Bram Moolenaar <Bram@vim.org>.  If this changes, it
  130. ! will be announced in appropriate places (most likely www.vim.org and
  131. ! comp.editors).  When it is completely impossible to contact the maintainer,
  132. ! the obligation to send him modified source code ceases.
  133. ! It is not allowed to remove these restrictions from the distribution of the
  134. ! Vim sources or parts of it.  These restrictions may also be used for previous
  135. ! Vim releases instead of the text that was included with it.
  136.   
  137.   
  138.   COMPILING
  139. --- 45,57 ----
  140.   
  141.   Vim is Charityware.  You can use and copy it as much as you like, but you are
  142.   encouraged to make a donation to orphans in Uganda.  Please read the file
  143. ! "runtime/doc/uganda.txt" for details (do ":help uganda" inside Vim).
  144.   
  145. ! Summary of the license: There are no restrictions on using or distributing an
  146. ! unmodified copy of Vim.  Parts of Vim may also be distributed, but the license
  147. ! text must always be included.  For modified versions a few restrictions apply.
  148. ! The license is GPL compatible, you may compile Vim with GPL libraries and
  149. ! distribute it.
  150.   
  151.   
  152.   COMPILING
  153. *** ../vim61.403/runtime/menu.vim    Tue Nov 19 11:46:06 2002
  154. --- runtime/menu.vim    Sun Dec 29 20:46:56 2002
  155. ***************
  156. *** 2,8 ****
  157.   " You can also use this as a start for your own set of menus.
  158.   "
  159.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  160. ! " Last Change:    2002 Nov 17
  161.   
  162.   " Note that ":an" (short for ":anoremenu") is often used to make a menu work
  163.   " in all modes and avoid side effects from mappings defined by the user.
  164. --- 2,8 ----
  165.   " You can also use this as a start for your own set of menus.
  166.   "
  167.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  168. ! " Last Change:    2002 Dec 29
  169.   
  170.   " Note that ":an" (short for ":anoremenu") is often used to make a menu work
  171.   " in all modes and avoid side effects from mappings defined by the user.
  172. ***************
  173. *** 152,159 ****
  174.   vnoremenu 20.340 &Edit.Cu&t<Tab>"+x        "+x
  175.   vnoremenu 20.350 &Edit.&Copy<Tab>"+y        "+y
  176.   cnoremenu 20.350 &Edit.&Copy<Tab>"+y        <C-Y>
  177. ! nnoremenu 20.360 &Edit.&Paste<Tab>"+P        "+gP
  178. ! cnoremenu     &Edit.&Paste<Tab>"+P        <C-R>+
  179.   if has("virtualedit")
  180.     vnoremenu <script>     &Edit.&Paste<Tab>"+P    "-c<Esc><SID>Paste
  181.     inoremenu <script>     &Edit.&Paste<Tab>"+P    <Esc><SID>Pastegi
  182. --- 152,159 ----
  183.   vnoremenu 20.340 &Edit.Cu&t<Tab>"+x        "+x
  184.   vnoremenu 20.350 &Edit.&Copy<Tab>"+y        "+y
  185.   cnoremenu 20.350 &Edit.&Copy<Tab>"+y        <C-Y>
  186. ! nnoremenu 20.360 &Edit.&Paste<Tab>"+gP        "+gP
  187. ! cnoremenu     &Edit.&Paste<Tab>"+gP        <C-R>+
  188.   if has("virtualedit")
  189.     vnoremenu <script>     &Edit.&Paste<Tab>"+P    "-c<Esc><SID>Paste
  190.     inoremenu <script>     &Edit.&Paste<Tab>"+P    <Esc><SID>Pastegi
  191. ***************
  192. *** 400,413 ****
  193.     an 40.340.240 &Tools.&Folding.Delete\ &All\ Folds<Tab>zD    zD
  194.     " moving around in folds
  195.     an 40.340.300 &Tools.&Folding.-SEP2-                <Nop>
  196. !   an 40.340.310.10 &Tools.&Folding.Fold\ column\ &width.\ 0\     :set fdc=0<CR>
  197. !   an 40.340.310.20 &Tools.&Folding.Fold\ column\ &width.\ 2\     :set fdc=2<CR>
  198. !   an 40.340.310.30 &Tools.&Folding.Fold\ column\ &width.\ 3\     :set fdc=3<CR>
  199. !   an 40.340.310.40 &Tools.&Folding.Fold\ column\ &width.\ 4\     :set fdc=4<CR>
  200. !   an 40.340.310.50 &Tools.&Folding.Fold\ column\ &width.\ 5\     :set fdc=5<CR>
  201. !   an 40.340.310.60 &Tools.&Folding.Fold\ column\ &width.\ 6\     :set fdc=6<CR>
  202. !   an 40.340.310.70 &Tools.&Folding.Fold\ column\ &width.\ 7\     :set fdc=7<CR>
  203. !   an 40.340.310.80 &Tools.&Folding.Fold\ column\ &width.\ 8\     :set fdc=8<CR>
  204.   endif  " has folding
  205.   
  206.   if has("diff")
  207. --- 400,413 ----
  208.     an 40.340.240 &Tools.&Folding.Delete\ &All\ Folds<Tab>zD    zD
  209.     " moving around in folds
  210.     an 40.340.300 &Tools.&Folding.-SEP2-                <Nop>
  211. !   an 40.340.310.10 &Tools.&Folding.Fold\ col&umn\ width.\ &0\     :set fdc=0<CR>
  212. !   an 40.340.310.20 &Tools.&Folding.Fold\ col&umn\ width.\ &2\     :set fdc=2<CR>
  213. !   an 40.340.310.30 &Tools.&Folding.Fold\ col&umn\ width.\ &3\     :set fdc=3<CR>
  214. !   an 40.340.310.40 &Tools.&Folding.Fold\ col&umn\ width.\ &4\     :set fdc=4<CR>
  215. !   an 40.340.310.50 &Tools.&Folding.Fold\ col&umn\ width.\ &5\     :set fdc=5<CR>
  216. !   an 40.340.310.60 &Tools.&Folding.Fold\ col&umn\ width.\ &6\     :set fdc=6<CR>
  217. !   an 40.340.310.70 &Tools.&Folding.Fold\ col&umn\ width.\ &7\     :set fdc=7<CR>
  218. !   an 40.340.310.80 &Tools.&Folding.Fold\ col&umn\ width.\ &8\     :set fdc=8<CR>
  219.   endif  " has folding
  220.   
  221.   if has("diff")
  222. ***************
  223. *** 937,943 ****
  224.   if exists("do_syntax_sel_menu")
  225.     runtime! synmenu.vim
  226.   else
  227. !   an 50.10 &Syntax.&Show\ individual\ choices    :let do_syntax_sel_menu = 1<Bar>runtime! synmenu.vim<Bar>aunmenu &Syntax.&Show\ individual\ choices<CR>
  228.     an 50.195 &Syntax.-SEP1-        <Nop>
  229.   endif
  230.   
  231. --- 937,943 ----
  232.   if exists("do_syntax_sel_menu")
  233.     runtime! synmenu.vim
  234.   else
  235. !   an 50.10 &Syntax.&Show\ filetypes\ in\ menu    :let do_syntax_sel_menu = 1<Bar>runtime! synmenu.vim<Bar>aunmenu &Syntax.&Show\ filetypes\ in\ menu<CR>
  236.     an 50.195 &Syntax.-SEP1-        <Nop>
  237.   endif
  238.   
  239. *** ../vim61.403/runtime/vimrc_example.vim    Tue May 28 17:03:25 2002
  240. --- runtime/vimrc_example.vim    Thu Sep 19 10:16:52 2002
  241. ***************
  242. *** 1,7 ****
  243.   " An example for a vimrc file.
  244.   "
  245.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  246. ! " Last change:    2002 May 28
  247.   "
  248.   " To use it, copy it to
  249.   "     for Unix and OS/2:  ~/.vimrc
  250. --- 1,7 ----
  251.   " An example for a vimrc file.
  252.   "
  253.   " Maintainer:    Bram Moolenaar <Bram@vim.org>
  254. ! " Last change:    2002 Sep 19
  255.   "
  256.   " To use it, copy it to
  257.   "     for Unix and OS/2:  ~/.vimrc
  258. ***************
  259. *** 21,27 ****
  260.   " allow backspacing over everything in insert mode
  261.   set backspace=indent,eol,start
  262.   
  263. - set autoindent        " always set autoindenting on
  264.   if has("vms")
  265.     set nobackup        " do not keep a backup file, use versions instead
  266.   else
  267. --- 21,26 ----
  268. ***************
  269. *** 58,63 ****
  270. --- 57,66 ----
  271.     " Also load indent files, to automatically do language-dependent indenting.
  272.     filetype plugin indent on
  273.   
  274. +   " Put these in an autocmd group, so that we can delete them easily.
  275. +   augroup vimrcEx
  276. +   au!
  277.     " For all text files set 'textwidth' to 78 characters.
  278.     autocmd FileType text setlocal textwidth=78
  279.   
  280. ***************
  281. *** 68,72 ****
  282. --- 71,81 ----
  283.       \ if line("'\"") > 0 && line("'\"") <= line("$") |
  284.       \   exe "normal g`\"" |
  285.       \ endif
  286. +   augroup END
  287. + else
  288. +   set autoindent        " always set autoindenting on
  289.   
  290.   endif " has("autocmd")
  291. *** ../vim61.403/src/INSTALL    Tue Sep 11 21:06:19 2001
  292. --- src/INSTALL    Sun Nov  3 12:59:20 2002
  293. ***************
  294. *** 21,38 ****
  295.   1. Generic
  296.   ==========
  297.   
  298. ! The file "feature.h" can be edited to match your preferences. You can skip
  299. ! this, then you will get the default behaviour as is documented, which should
  300. ! be fine for most people.
  301.   
  302. ! If you need extra compiler and/or linker arguments, set $CFLAGS and/or $LIBS
  303. ! before starting configure.  Example:
  304. !     env  CFLAGS=-I/usr/local/include  LIBS=-lm  make
  305. ! This is only needed for things that configure doesn't offer a specific argument
  306. ! for or figures out by itself.  First try running configure without extra
  307. ! arguments.
  308.   
  309.   
  310.   2. Unix
  311. --- 21,31 ----
  312.   1. Generic
  313.   ==========
  314.   
  315. ! If you compile Vim without specifying anything, you will get the default
  316. ! behaviour as is documented, which should be fine for most people.
  317.   
  318. ! For features that you can't enable/disable in another way, you can edit the
  319. ! file "feature.h" to match your preferences.
  320.   
  321.   
  322.   2. Unix
  323. ***************
  324. *** 50,63 ****
  325.   See the start of Makefile for more detailed instructions about how to compile
  326.   Vim.
  327.   
  328. ! If you are compiling Vim for several machines, for each machine:
  329. !   a.    make shadow
  330. !   b.    mv shadow machine_name
  331. !   c.    cd machine_name
  332. !   d.    points 1 and 2 above
  333.   
  334. ! [don't use a path for machine_name, just a directory name, Otherwise the links
  335. ! that "make shadow" creates won't work]
  336.   
  337.   GNU Autoconf and a few other tools have been used to make Vim work on many
  338.   different Unix systems.  The advantage of this is that Vim should compile
  339. --- 43,56 ----
  340.   See the start of Makefile for more detailed instructions about how to compile
  341.   Vim.
  342.   
  343. ! If you need extra compiler and/or linker arguments, set $CFLAGS and/or $LIBS
  344. ! before starting configure.  Example:
  345.   
  346. !     env  CFLAGS=-I/usr/local/include  LIBS=-lm  make
  347. ! This is only needed for things that configure doesn't offer a specific argument
  348. ! for or figures out by itself.  First try running configure without extra
  349. ! arguments.
  350.   
  351.   GNU Autoconf and a few other tools have been used to make Vim work on many
  352.   different Unix systems.  The advantage of this is that Vim should compile
  353. ***************
  354. *** 82,87 ****
  355. --- 75,89 ----
  356.   "make" will execute it again, but without your arguments.  Do "make clean" and
  357.   run configure again.
  358.   
  359. + If you are compiling Vim for several machines, for each machine:
  360. +   a.    make shadow
  361. +   b.    mv shadow machine_name
  362. +   c.    cd machine_name
  363. +   d.    make; make install
  364. + [don't use a path for machine_name, just a directory name, Otherwise the links
  365. + that "make shadow" creates won't work]
  366.   
  367.   Unix: COMPILING WITH/WITHOUT GUI
  368.   
  369. ***************
  370. *** 111,119 ****
  371.   --enable-{gtk,motif,athena}-check options are ignored.
  372.   
  373.   For compiling with the GTK+ GUI, you need a recent version of glib and gtk+.
  374. ! Configure checks for at least version 1.1.16.  An older versions is not
  375. ! selected automatically.  If you want to use it anyway, run configure with
  376. ! "--disable-gtktest".
  377.   GTK requires an ANSI C compiler.  If you fail to compile Vim with GTK+ (it
  378.   is the preferred choice), try selecting another one in the Makefile.
  379.   If you are sure you have GTK installed, but for some reason configure says you
  380. --- 113,121 ----
  381.   --enable-{gtk,motif,athena}-check options are ignored.
  382.   
  383.   For compiling with the GTK+ GUI, you need a recent version of glib and gtk+.
  384. ! Configure checks for at least version 1.1.16, but below 2.0.  An older versions
  385. ! is not selected automatically.  If you want to use it anyway, run configure
  386. ! with "--disable-gtktest".  GTK 2.0 doesn't work yet.
  387.   GTK requires an ANSI C compiler.  If you fail to compile Vim with GTK+ (it
  388.   is the preferred choice), try selecting another one in the Makefile.
  389.   If you are sure you have GTK installed, but for some reason configure says you
  390. *** ../vim61.403/src/INSTALLole.txt    Tue Jul 25 11:36:03 2000
  391. --- src/INSTALLole.txt    Sat Mar 15 17:46:07 2003
  392. ***************
  393. *** 1,52 ****
  394. - This is a complete implementation of OLE Automation support for GVim.
  395. - 1. Files
  396. - --------
  397. - if_ole.cpp, if_ole.idl    source files
  398. - proto/if_ole.pro    prototypes
  399. - Makefile.ovc        makefile
  400. - ../doc/if_ole.txt    documentation
  401. - 2. Compiling from the command line
  402. - ----------------------------------
  403. - Just one command should do it all:
  404. -     nmake /f Makefile.ovc
  405. - 3. Updating the VC project manually
  406. - -----------------------------------
  407. - Start Visual Studio and load in the normal makefile Makefile.gvc.  Make
  408. - sure it's in dos fileformat, not in Unix.  I'm using Visual C++ 5.  The
  409. - instructions may not match exactly for VC 4 (in fact, it may not be possible
  410. - to build with VC4 - I'm not sure. Should be, though...)
  411. - Add if_ole.cpp and if_ole.idl to the project.
  412. - Add FEAT_OLE to the list of defines for the build process (I suppose this
  413. - could go in feature.h, but the other interface code - Python and Perl - don't
  414. - go in there).  Also add FEAT_OLE to the list of defines for the resources.
  415. - Add a custom build step for if_ole.idl (right click on the file, and select
  416. - Settings...)
  417. -     Description: Generating OLE Interface
  418. -     Command: midl /tlb vim.tlb /iid iid_ole.c
  419. -               /proxy nul /header if_ole.h $(InputPath)
  420. -     Output files: iid_ole.c, if_ole.h, vim.tlb
  421. - (the command is all on one line).
  422. - Add libraries ole32.lib, oleaut32.lib, uuid.lib to the project
  423. - settings, Link tab, Object/library modules.
  424. - That's it (I think).  Build.
  425. - Let me know if there are any problems.
  426. - Paul Moore, gustav@morpheus.demon.co.uk
  427. --- 0 ----
  428. *** ../vim61.403/src/Make_bc5.mak    Tue Jan 28 21:38:14 2003
  429. --- src/Make_bc5.mak    Wed Jan 29 22:41:49 2003
  430. ***************
  431. *** 57,63 ****
  432.   # DEBUG        no or yes: set to yes if you wish a DEBUGging build (no)
  433.   # CODEGUARD    no or yes: set to yes if you want to use CODEGUARD (no)
  434.   # CPUNR        1 through 6: select -CPU argument to compile with (3)
  435. ! #               3 for 386, 4 for 486, 5 for pentium, 6 for pentium pro.
  436.   # USEDLL    no or yes: set to yes to use the Runtime library DLL (no)
  437.   #        For USEDLL=yes the cc3250.dll is required to run Vim.
  438.   # VIMDLL    no or yes: create vim32.dll, and stub (g)vim.exe (no)
  439. --- 57,63 ----
  440.   # DEBUG        no or yes: set to yes if you wish a DEBUGging build (no)
  441.   # CODEGUARD    no or yes: set to yes if you want to use CODEGUARD (no)
  442.   # CPUNR        1 through 6: select -CPU argument to compile with (3)
  443. ! #        3 for 386, 4 for 486, 5 for pentium, 6 for pentium pro.
  444.   # USEDLL    no or yes: set to yes to use the Runtime library DLL (no)
  445.   #        For USEDLL=yes the cc3250.dll is required to run Vim.
  446.   # VIMDLL    no or yes: create vim32.dll, and stub (g)vim.exe (no)
  447. ***************
  448. *** 829,835 ****
  449.   # the preprocessor directive.
  450.   auto\pathdef.c::
  451.       @echo creating auto/pathdef.c
  452. !         @copy &&|
  453.   /* pathdef.c */
  454.   /*"*/#include "vim.h"/*"*/
  455.   
  456. --- 829,835 ----
  457.   # the preprocessor directive.
  458.   auto\pathdef.c::
  459.       @echo creating auto/pathdef.c
  460. !     @copy &&|
  461.   /* pathdef.c */
  462.   /*"*/#include "vim.h"/*"*/
  463.   
  464. *** ../vim61.403/src/Make_cyg.mak    Sun Feb 16 22:21:17 2003
  465. --- src/Make_cyg.mak    Fri Mar 14 11:57:53 2003
  466. ***************
  467. *** 4,10 ****
  468.   # This compiles Vim as a Windows application.  If you want Vim to run as a
  469.   # Cygwin application use the Makefile (just like on Unix).
  470.   #
  471. ! # Last updated by Dan Sharp.  Last Change: 2003 Jan 19
  472.   #
  473.   # GUI        no or yes: set to yes if you want the GUI version (yes)
  474.   # PERL        define to path to Perl dir to get Perl support (not defined)
  475. --- 4,10 ----
  476.   # This compiles Vim as a Windows application.  If you want Vim to run as a
  477.   # Cygwin application use the Makefile (just like on Unix).
  478.   #
  479. ! # Last updated by Dan Sharp.  Last Change: 2003 Mar 14
  480.   #
  481.   # GUI        no or yes: set to yes if you want the GUI version (yes)
  482.   # PERL        define to path to Perl dir to get Perl support (not defined)
  483. ***************
  484. *** 266,272 ****
  485.       $(CC) $(CFLAGS) -s -o $(EXE) $(OBJ) $(LIBS) -luuid -lole32 $(EXTRA_LIBS)
  486.   
  487.   xxd/xxd.exe: xxd/xxd.c
  488. !     cd xxd ; $(MAKE) -f Make_cyg.mak ; cd ..
  489.   
  490.   vimrun.exe: vimrun.c
  491.       $(CC) $(CFLAGS) -s -o vimrun.exe vimrun.c  $(LIBS)
  492. --- 266,272 ----
  493.       $(CC) $(CFLAGS) -s -o $(EXE) $(OBJ) $(LIBS) -luuid -lole32 $(EXTRA_LIBS)
  494.   
  495.   xxd/xxd.exe: xxd/xxd.c
  496. !     cd xxd ; $(MAKE) -f Make_cyg.mak USEDLL=$(USEDLL); cd ..
  497.   
  498.   vimrun.exe: vimrun.c
  499.       $(CC) $(CFLAGS) -s -o vimrun.exe vimrun.c  $(LIBS)
  500. ***************
  501. *** 296,301 ****
  502. --- 296,302 ----
  503.       -$(DEL) dyn-ming.h
  504.       -$(DEL) if_perl.c
  505.       -$(DEL) pathdef.c
  506. +     cd xxd ; $(MAKE) -f Make_cyg.mak clean; cd ..
  507.   
  508.   ###########################################################################
  509.   
  510. *** ../vim61.403/src/Make_ming.mak    Sun Feb 16 22:21:17 2003
  511. --- src/Make_ming.mak    Tue Mar 11 20:21:40 2003
  512. ***************
  513. *** 324,329 ****
  514. --- 324,332 ----
  515.       -$(DEL) xxd\*.exe
  516.   endif
  517.       -$(DEL) dyn-ming.h
  518. + ifdef PERL
  519. +     -$(DEL) if_perl.c
  520. + endif
  521.   
  522.   ###########################################################################
  523.   vimres.res: vim.rc
  524. *** ../vim61.403/src/Makefile    Tue Mar 11 12:59:06 2003
  525. --- src/Makefile    Sat Mar 15 15:41:32 2003
  526. ***************
  527. *** 37,42 ****
  528. --- 37,44 ----
  529.   #        --enable-cscope        for Cscope interface
  530.   #    - Uncomment one of the lines with --with-features= to enable a set of
  531.   #      features (but not the interfaces just mentioned).
  532. + #    - Uncomment the line with --disable-acl to disable ACL support even
  533. + #      though your system supports it.
  534.   #    - Uncomment the line with --disable-gpm to disable gpm support
  535.   #      even though you have gpm libraries and includes
  536.   #    - Uncomment one of the lines with CFLAGS and/or CC if you have
  537. ***************
  538. *** 379,384 ****
  539. --- 381,390 ----
  540.   # Uncomment this when you want to output a multibyte language.
  541.   #CONF_OPT_OUTPUT = --enable-fontset
  542.   
  543. + # ACL - Uncomment this when you do not want to include ACL support, even
  544. + # though your system does support it.  E.g., when it's buggy.
  545. + #CONF_OPT_ACL = --disable-acl
  546.   # gpm - For mouse support on Linux console via gpm
  547.   # Uncomment this when you do not want to include gpm support, even
  548.   # though you have gpm libraries and includes
  549. ***************
  550. *** 836,842 ****
  551.   TUTORSUBLOC    = $(VIMRTLOC)$(TUTORSUBDIR)
  552.   SCRIPTLOC    = $(VIMRTLOC)
  553.   
  554. ! ### Only set VIMRUNTIMEDIR when VIMRCLOC is set to a different location and
  555.   ### the runtime directory is not below it.
  556.   #VIMRUNTIMEDIR = $(VIMRTLOC)
  557.   
  558. --- 842,848 ----
  559.   TUTORSUBLOC    = $(VIMRTLOC)$(TUTORSUBDIR)
  560.   SCRIPTLOC    = $(VIMRTLOC)
  561.   
  562. ! ### Only set VIMRUNTIMEDIR when VIMRTLOC is set to a different location and
  563.   ### the runtime directory is not below it.
  564.   #VIMRUNTIMEDIR = $(VIMRTLOC)
  565.   
  566. ***************
  567. *** 1553,1558 ****
  568. --- 1559,1566 ----
  569.       @sed -e s+/usr/local/lib/vim+$(SCRIPTLOC)+ \
  570.           $(HELPSOURCE)/evim.1 > $(DEST_MAN)/$(EVIMNAME).1
  571.       chmod $(MANMOD) $(DEST_MAN)/$(EVIMNAME).1
  572. +     @echo generating help tags
  573. +     -@cd $(HELPSOURCE); make tags
  574.       cd $(HELPSOURCE); $(INSTALL_DATA) *.txt tags $(DEST_HELP)
  575.       cd $(DEST_HELP); chmod $(HELPMOD) *.txt tags
  576.       $(INSTALL_DATA)  $(HELPSOURCE)/*.pl $(DEST_HELP)
  577. *** ../vim61.403/src/config.h.in    Sat Mar  8 20:33:31 2003
  578. --- src/config.h.in    Sun Feb 16 18:31:10 2003
  579. ***************
  580. *** 9,26 ****
  581.   /* Define unless no X support found */
  582.   #undef HAVE_X11
  583.   
  584. - /* Define when curses library found */
  585. - #undef HAVE_LIBCURSES
  586. - /* Define when termcap library found */
  587. - #undef HAVE_LIBTERMCAP
  588. - /* Define when termlib library found */
  589. - #undef HAVE_LIBTERMLIB
  590. - /* Define when ncurses library found */
  591. - #undef HAVE_LIBNCURSES
  592.   /* Define when terminfo support found */
  593.   #undef TERMINFO
  594.   
  595. --- 9,14 ----
  596. *** ../vim61.403/src/edit.c    Sat Mar  8 20:33:31 2003
  597. --- src/edit.c    Thu Feb 27 12:45:25 2003
  598. ***************
  599. *** 1528,1537 ****
  600.    */
  601.       void
  602.   change_indent(type, amount, round, replaced)
  603. !     int        type;
  604. !     int        amount;
  605. !     int        round;
  606. !     int        replaced;        /* replaced character, put on replace stack */
  607.   {
  608.       int        vcol;
  609.       int        last_vcol;
  610. --- 1528,1537 ----
  611.    */
  612.       void
  613.   change_indent(type, amount, round, replaced)
  614. !     int        type;
  615. !     int        amount;
  616. !     int        round;
  617. !     int        replaced;    /* replaced character, put on replace stack */
  618.   {
  619.       int        vcol;
  620.       int        last_vcol;
  621. ***************
  622. *** 2305,2311 ****
  623.       /* Forget any previous 'special' messages if this is actually
  624.        * a ^X mode key - bar ^R, in which case we wait to see what it gives us.
  625.        */
  626. !     if (c != Ctrl_R  &&  vim_is_ctrl_x_key(c))
  627.       edit_submode_extra = NULL;
  628.   
  629.       /* Ignore end of Select mode mapping */
  630. --- 2305,2311 ----
  631.       /* Forget any previous 'special' messages if this is actually
  632.        * a ^X mode key - bar ^R, in which case we wait to see what it gives us.
  633.        */
  634. !     if (c != Ctrl_R && vim_is_ctrl_x_key(c))
  635.       edit_submode_extra = NULL;
  636.   
  637.       /* Ignore end of Select mode mapping */
  638. *** ../vim61.403/src/eval.c    Sat Mar 15 16:49:34 2003
  639. --- src/eval.c    Fri Mar 14 21:35:20 2003
  640. ***************
  641. *** 232,239 ****
  642.   static void f_getcharmod __ARGS((VAR argvars, VAR retvar));
  643.   static void f_getwinvar __ARGS((VAR argvars, VAR retvar));
  644.   static void f_getcwd __ARGS((VAR argvars, VAR retvar));
  645. - static void f_getftime __ARGS((VAR argvars, VAR retvar));
  646.   static void f_getfsize __ARGS((VAR argvars, VAR retvar));
  647.   static void f_getline __ARGS((VAR argvars, VAR retvar));
  648.   static void f_getwinposx __ARGS((VAR argvars, VAR retvar));
  649.   static void f_getwinposy __ARGS((VAR argvars, VAR retvar));
  650. --- 232,239 ----
  651.   static void f_getcharmod __ARGS((VAR argvars, VAR retvar));
  652.   static void f_getwinvar __ARGS((VAR argvars, VAR retvar));
  653.   static void f_getcwd __ARGS((VAR argvars, VAR retvar));
  654.   static void f_getfsize __ARGS((VAR argvars, VAR retvar));
  655. + static void f_getftime __ARGS((VAR argvars, VAR retvar));
  656.   static void f_getline __ARGS((VAR argvars, VAR retvar));
  657.   static void f_getwinposx __ARGS((VAR argvars, VAR retvar));
  658.   static void f_getwinposy __ARGS((VAR argvars, VAR retvar));
  659. ***************
  660. *** 3826,3831 ****
  661. --- 3826,3832 ----
  662.       VAR        argvars;
  663.       VAR        retvar;
  664.   {
  665. +     retvar->var_val.var_number = 0;
  666.   #ifdef FEAT_GUI
  667.       if (gui.in_use)
  668.       gui_mch_set_foreground();
  669. ***************
  670. *** 3975,3984 ****
  671.   }
  672.   
  673.   /*
  674. !  * "getftime({fname})" function
  675.    */
  676.       static void
  677. ! f_getftime(argvars, retvar)
  678.       VAR        argvars;
  679.       VAR        retvar;
  680.   {
  681. --- 3976,3985 ----
  682.   }
  683.   
  684.   /*
  685. !  * "getfsize({fname})" function
  686.    */
  687.       static void
  688. ! f_getfsize(argvars, retvar)
  689.       VAR        argvars;
  690.       VAR        retvar;
  691.   {
  692. ***************
  693. *** 3987,4003 ****
  694.   
  695.       fname = get_var_string(&argvars[0]);
  696.   
  697.       if (mch_stat((char *)fname, &st) >= 0)
  698. !     retvar->var_val.var_number = (varnumber_T)st.st_mtime;
  699.       else
  700. !     retvar->var_val.var_number = -1;
  701.   }
  702.   
  703.   /*
  704. !  * "getfsize({fname})" function
  705.    */
  706.       static void
  707. ! f_getfsize(argvars, retvar)
  708.       VAR        argvars;
  709.       VAR        retvar;
  710.   {
  711. --- 3988,4011 ----
  712.   
  713.       fname = get_var_string(&argvars[0]);
  714.   
  715. +     retvar->var_type = VAR_NUMBER;
  716.       if (mch_stat((char *)fname, &st) >= 0)
  717. !     {
  718. !     if (mch_isdir(fname))
  719. !         retvar->var_val.var_number = 0;
  720. !     else
  721. !         retvar->var_val.var_number = (varnumber_T)st.st_size;
  722. !     }
  723.       else
  724. !       retvar->var_val.var_number = -1;
  725.   }
  726.   
  727.   /*
  728. !  * "getftime({fname})" function
  729.    */
  730.       static void
  731. ! f_getftime(argvars, retvar)
  732.       VAR        argvars;
  733.       VAR        retvar;
  734.   {
  735. ***************
  736. *** 4006,4022 ****
  737.   
  738.       fname = get_var_string(&argvars[0]);
  739.   
  740. -     retvar->var_type = VAR_NUMBER;
  741.       if (mch_stat((char *)fname, &st) >= 0)
  742. !     {
  743. !     if (mch_isdir(fname))
  744. !         retvar->var_val.var_number = 0;
  745. !     else
  746. !         retvar->var_val.var_number = (varnumber_T)st.st_size;
  747. !     }
  748.       else
  749. !       retvar->var_val.var_number = -1;
  750.   }
  751.   
  752.   /*
  753. --- 4014,4023 ----
  754.   
  755.       fname = get_var_string(&argvars[0]);
  756.   
  757.       if (mch_stat((char *)fname, &st) >= 0)
  758. !     retvar->var_val.var_number = (varnumber_T)st.st_mtime;
  759.       else
  760. !     retvar->var_val.var_number = -1;
  761.   }
  762.   
  763.   /*
  764. ***************
  765. *** 4728,4740 ****
  766.       int        idx;
  767.   
  768.       type = get_histtype(get_var_string(&argvars[0]));
  769. -     retvar->var_type = VAR_STRING;
  770.       if (argvars[1].var_type == VAR_UNKNOWN)
  771.       idx = get_history_idx(type);
  772.       else
  773.       idx = (int)get_var_number(&argvars[1]);
  774.       retvar->var_val.var_string = vim_strsave(get_history_entry(type, idx));
  775.   #endif
  776.   }
  777.   
  778.   /*
  779. --- 4729,4743 ----
  780.       int        idx;
  781.   
  782.       type = get_histtype(get_var_string(&argvars[0]));
  783.       if (argvars[1].var_type == VAR_UNKNOWN)
  784.       idx = get_history_idx(type);
  785.       else
  786.       idx = (int)get_var_number(&argvars[1]);
  787.       retvar->var_val.var_string = vim_strsave(get_history_entry(type, idx));
  788. + #else
  789. +     retvar->var_val.var_string = NULL;
  790.   #endif
  791. +     retvar->var_type = VAR_STRING;
  792.   }
  793.   
  794.   /*
  795. *** ../vim61.403/src/ex_cmds2.c    Sat Mar 15 16:54:47 2003
  796. --- src/ex_cmds2.c    Wed Mar 12 20:11:24 2003
  797. ***************
  798. *** 969,974 ****
  799. --- 969,975 ----
  800.   #define AL_ADD    2
  801.   #define AL_DEL    3
  802.   
  803. + #if defined(FEAT_GUI) || defined(FEAT_CLIENTSERVER) || defined(PROTO)
  804.   /*
  805.    * Redefine the argument list.
  806.    */
  807. ***************
  808. *** 978,983 ****
  809. --- 979,985 ----
  810.   {
  811.       do_arglist(str, AL_SET, 0);
  812.   }
  813. + #endif
  814.   
  815.   /*
  816.    * "what" == AL_SET: Redefine the argument list to 'str'.
  817. *** ../vim61.403/src/ex_docmd.c    Sat Mar 15 16:33:38 2003
  818. --- src/ex_docmd.c    Wed Mar 12 20:11:37 2003
  819. ***************
  820. *** 5288,5294 ****
  821.    * code is very similar to :args and hence needs access to a lot of the static
  822.    * functions in this file.
  823.    *
  824. !  * The list should be allocated using vim_alloc(), as should each item in the
  825.    * list. This function takes over responsibility for freeing the list.
  826.    *
  827.    * XXX The list is made into the arggument list. This is freed using
  828. --- 5288,5294 ----
  829.    * code is very similar to :args and hence needs access to a lot of the static
  830.    * functions in this file.
  831.    *
  832. !  * The list should be allocated using alloc(), as should each item in the
  833.    * list. This function takes over responsibility for freeing the list.
  834.    *
  835.    * XXX The list is made into the arggument list. This is freed using
  836. ***************
  837. *** 7541,7548 ****
  838.   {
  839.       p = skipwhite(p);
  840.       while (*p == ':')
  841. !     ++p;
  842. !     p = skipwhite(p);
  843.       if (p[0] == 'w' && p[1] == 'h')
  844.       return TRUE;
  845.       return FALSE;
  846. --- 7541,7547 ----
  847.   {
  848.       p = skipwhite(p);
  849.       while (*p == ':')
  850. !     p = skipwhite(p + 1);
  851.       if (p[0] == 'w' && p[1] == 'h')
  852.       return TRUE;
  853.       return FALSE;
  854. *** ../vim61.403/src/ex_getln.c    Wed Feb 26 21:12:31 2003
  855. --- src/ex_getln.c    Sat Feb 22 12:36:16 2003
  856. ***************
  857. *** 354,360 ****
  858.           xpc.xp_context = EXPAND_NOTHING;
  859.           wim_index = 0;
  860.   #ifdef FEAT_WILDMENU
  861. !         if (p_wmnu && wild_menu_showing)
  862.           {
  863.           int skt = KeyTyped;
  864.   
  865. --- 354,360 ----
  866.           xpc.xp_context = EXPAND_NOTHING;
  867.           wim_index = 0;
  868.   #ifdef FEAT_WILDMENU
  869. !         if (p_wmnu && wild_menu_showing != 0)
  870.           {
  871.           int skt = KeyTyped;
  872.   
  873. ***************
  874. *** 3443,3449 ****
  875.   #if defined(FEAT_CMDL_COMPL) || defined(FEAT_EVAL) || defined(PROTO)
  876.   /*
  877.    * Expand "file" for all comma-separated directories in "path".
  878. !  * Returns an allocated strings with all matches concatenated, separated by
  879.    * newlines.  Returns NULL for an error or no matches.
  880.    */
  881.       char_u *
  882. --- 3443,3449 ----
  883.   #if defined(FEAT_CMDL_COMPL) || defined(FEAT_EVAL) || defined(PROTO)
  884.   /*
  885.    * Expand "file" for all comma-separated directories in "path".
  886. !  * Returns an allocated string with all matches concatenated, separated by
  887.    * newlines.  Returns NULL for an error or no matches.
  888.    */
  889.       char_u *
  890. ***************
  891. *** 4615,4620 ****
  892.       vim_free(theline);
  893.       }
  894.   
  895. !     return ga.ga_data;
  896.   }
  897.   #endif /* SCRIPTS */
  898. --- 4615,4620 ----
  899.       vim_free(theline);
  900.       }
  901.   
  902. !     return (char_u *)ga.ga_data;
  903.   }
  904.   #endif /* SCRIPTS */
  905. *** ../vim61.403/src/fileio.c    Sat Mar 15 16:39:04 2003
  906. --- src/fileio.c    Thu Mar 13 10:16:45 2003
  907. ***************
  908. *** 5520,5526 ****
  909.           if (savebuf == NULL || saved == FAIL
  910.                         || move_lines(buf, savebuf) == FAIL)
  911.           {
  912. !             EMSG2(_("E461: Could not prepare for reloading \"%s\""),
  913.                                   buf->b_fname);
  914.               saved = FAIL;
  915.           }
  916. --- 5520,5526 ----
  917.           if (savebuf == NULL || saved == FAIL
  918.                         || move_lines(buf, savebuf) == FAIL)
  919.           {
  920. !             EMSG2(_("E462: Could not prepare for reloading \"%s\""),
  921.                                   buf->b_fname);
  922.               saved = FAIL;
  923.           }
  924. *** ../vim61.403/src/getchar.c    Sun Mar  9 14:01:01 2003
  925. --- src/getchar.c    Thu Mar  6 22:02:48 2003
  926. ***************
  927. *** 1144,1150 ****
  928.   may_sync_undo()
  929.   {
  930.       if ((!(State & (INSERT + CMDLINE)) || arrow_used)
  931. !         && scriptin[curscript] == NULL && !no_u_sync)
  932.       u_sync();
  933.   }
  934.   
  935. --- 1144,1150 ----
  936.   may_sync_undo()
  937.   {
  938.       if ((!(State & (INSERT + CMDLINE)) || arrow_used)
  939. !         && scriptin[curscript] == NULL && no_u_sync == 0)
  940.       u_sync();
  941.   }
  942.   
  943. *** ../vim61.403/src/gui.c    Tue Mar 11 12:59:06 2003
  944. --- src/gui.c    Mon Mar 10 22:48:00 2003
  945. ***************
  946. *** 171,176 ****
  947. --- 171,177 ----
  948.       if (gui.in_use)
  949.       apply_autocmds(EVENT_GUIENTER, NULL, NULL, FALSE, curbuf);
  950.   #endif
  951.       --recursive;
  952.   }
  953.   
  954. *** ../vim61.403/src/gui_gtk.c    Tue Mar 11 12:59:06 2003
  955. --- src/gui_gtk.c    Mon Mar 10 20:04:17 2003
  956. ***************
  957. *** 1467,1473 ****
  958.       if (dialog_status != 1 && textfield != NULL)
  959.       *textfield = NUL;    /* dialog was cancelled */
  960.   
  961. !     /* let the garbage collector know that we don't need it anylonger */
  962.       gtk_accel_group_unref(accel_group);
  963.   
  964.       vim_free(button);
  965. --- 1467,1473 ----
  966.       if (dialog_status != 1 && textfield != NULL)
  967.       *textfield = NUL;    /* dialog was cancelled */
  968.   
  969. !     /* let the garbage collector know that we don't need it any longer */
  970.       gtk_accel_group_unref(accel_group);
  971.   
  972.       vim_free(button);
  973. *** ../vim61.403/src/gui_photon.c    Sun Oct 13 20:08:14 2002
  974. --- src/gui_photon.c    Sun Oct 20 16:46:52 2002
  975. ***************
  976. *** 2512,2517 ****
  977. --- 2512,2518 ----
  978.       if( menu->icon_builtin == FALSE )
  979.       {
  980.       if( menu->iconfile != NULL )
  981. +         /* TODO: use gui_find_iconfile() */
  982.           icon = gui_ph_toolbar_load_icon( menu->iconfile );
  983.   
  984.       /* TODO: Restrict loading to just .png? Search for any format? */
  985. *** ../vim61.403/src/if_cscope.c    Mon Aug 27 17:24:29 2001
  986. --- src/if_cscope.c    Tue Mar  4 20:51:40 2003
  987. ***************
  988. *** 124,130 ****
  989.   {
  990.       postponed_split = -1;
  991.       do_cscope(eap);
  992. ! } /* do_scscope */
  993.   
  994.   /*
  995.    * PUBLIC: do_cstag
  996. --- 124,130 ----
  997.   {
  998.       postponed_split = -1;
  999.       do_cscope(eap);
  1000. ! }
  1001.   
  1002.   /*
  1003.    * PUBLIC: do_cstag
  1004. ***************
  1005. *** 223,229 ****
  1006.       if ((p = cs_manage_matches(NULL, NULL, -1, Get)) == NULL)
  1007.       return TRUE;
  1008.   
  1009. !     if (strlen(p) > size)
  1010.       {
  1011.       strncpy((char *)buf, p, size - 1);
  1012.       buf[size] = '\0';
  1013. --- 223,229 ----
  1014.       if ((p = cs_manage_matches(NULL, NULL, -1, Get)) == NULL)
  1015.       return TRUE;
  1016.   
  1017. !     if ((int)strlen(p) > size)
  1018.       {
  1019.       strncpy((char *)buf, p, size - 1);
  1020.       buf[size] = '\0';
  1021. *** ../vim61.403/src/if_python.c    Sun Oct  6 18:27:32 2002
  1022. --- src/if_python.c    Mon Feb 17 10:14:28 2003
  1023. ***************
  1024. *** 36,41 ****
  1025. --- 36,45 ----
  1026.   # undef _DEBUG
  1027.   #endif
  1028.   
  1029. + #ifdef HAVE_STDARG_H
  1030. + # undef HAVE_STDARG_H    /* Python's config.h defines it as well. */
  1031. + #endif
  1032.   #include <Python.h>
  1033.   #ifdef MACOS
  1034.   # include "macglue.h"
  1035. *** ../vim61.403/src/keymap.h    Mon Sep 16 22:00:32 2002
  1036. --- src/keymap.h    Sun Dec 29 12:58:24 2002
  1037. ***************
  1038. *** 30,42 ****
  1039.   
  1040.   /*
  1041.    * Positive characters are "normal" characters.
  1042. -  * Characters 0x0100 - 0x01ff are sometimes used for abbreviations.
  1043.    * Negative characters are special key codes.  Only characters below -0x200
  1044.    * are used to so that the absolute value can't be mistaken for a single-byte
  1045.    * character.
  1046.    */
  1047.   #define IS_SPECIAL(c)        ((c) < 0)
  1048. ! #define IS_ABBR(c)        ((c) >= 0x100 && (c) < 0x200)
  1049.   #define ABBR_OFF        0x100
  1050.   
  1051.   /*
  1052. --- 30,45 ----
  1053.   
  1054.   /*
  1055.    * Positive characters are "normal" characters.
  1056.    * Negative characters are special key codes.  Only characters below -0x200
  1057.    * are used to so that the absolute value can't be mistaken for a single-byte
  1058.    * character.
  1059.    */
  1060.   #define IS_SPECIAL(c)        ((c) < 0)
  1061. ! /*
  1062. !  * Characters 0x0100 - 0x01ff have a special meaning for abbreviations.
  1063. !  * Multi-byte characters also have ABBR_OFF added, thus are above 0x0200.
  1064. !  */
  1065.   #define ABBR_OFF        0x100
  1066.   
  1067.   /*
  1068. *** ../vim61.403/src/mark.c    Mon Jun 24 22:49:34 2002
  1069. --- src/mark.c    Mon Jun 24 22:02:38 2002
  1070. ***************
  1071. *** 297,309 ****
  1072.       startp = &curbuf->b_visual_start;
  1073.       endp = &curbuf->b_visual_end;
  1074.       if ((c == '<') == lt(*startp, *endp))
  1075. -     {
  1076.           posp = startp;
  1077. -     }
  1078.       else
  1079. -     {
  1080.           posp = endp;
  1081. -     }
  1082.       /*
  1083.        * For Visual line mode, set mark at begin or end of line
  1084.        */
  1085. --- 297,305 ----
  1086. *** ../vim61.403/src/mbyte.c    Sun Feb 23 17:47:25 2003
  1087. --- src/mbyte.c    Sat Feb 22 15:01:32 2003
  1088. ***************
  1089. *** 2425,2430 ****
  1090. --- 2425,2431 ----
  1091.   
  1092.   /*
  1093.    * Set the default value for 'encoding' (p_enc).
  1094. +  * This must be called only once.
  1095.    * Returns OK when successful, FAIL when not.
  1096.    */
  1097.       int
  1098. *** ../vim61.403/src/message.c    Thu Feb 20 21:19:02 2003
  1099. --- src/message.c    Sat Feb 15 23:04:27 2003
  1100. ***************
  1101. *** 824,830 ****
  1102.       /*
  1103.        * Avoid that the mouse-up event causes visual mode to start.
  1104.        */
  1105. !     if (c == K_LEFTMOUSE || c == K_MIDDLEMOUSE || c == K_RIGHTMOUSE || c== K_X1MOUSE || c == K_X2MOUSE)
  1106.           (void)jump_to_mouse(MOUSE_SETPOS, NULL, 0);
  1107.       else
  1108.   #endif
  1109. --- 824,831 ----
  1110.       /*
  1111.        * Avoid that the mouse-up event causes visual mode to start.
  1112.        */
  1113. !     if (c == K_LEFTMOUSE || c == K_MIDDLEMOUSE || c == K_RIGHTMOUSE
  1114. !                       || c == K_X1MOUSE || c == K_X2MOUSE)
  1115.           (void)jump_to_mouse(MOUSE_SETPOS, NULL, 0);
  1116.       else
  1117.   #endif
  1118. *** ../vim61.403/src/misc1.c    Sun Mar  9 14:08:43 2003
  1119. --- src/misc1.c    Mon Mar 10 22:39:03 2003
  1120. ***************
  1121. *** 1917,1923 ****
  1122.        */
  1123.       was_alloced = ml_line_alloced();        /* check if oldp was allocated */
  1124.   #ifdef FEAT_NETBEANS_INTG
  1125. !     if (was_alloced)
  1126.       netbeans_removed(curbuf, lnum, col, count);
  1127.       /* else is handled by ml_replace() */
  1128.   #endif
  1129. --- 1917,1923 ----
  1130.        */
  1131.       was_alloced = ml_line_alloced();        /* check if oldp was allocated */
  1132.   #ifdef FEAT_NETBEANS_INTG
  1133. !     if (was_alloced && usingNetbeans)
  1134.       netbeans_removed(curbuf, lnum, col, count);
  1135.       /* else is handled by ml_replace() */
  1136.   #endif
  1137. ***************
  1138. *** 7110,7116 ****
  1139.       if (buffer == NULL)
  1140.       goto done;
  1141.   #ifdef VMS
  1142. !     len = i;    /* why is this? */
  1143.   #endif
  1144.       if (i != len)
  1145.       {
  1146. --- 7110,7116 ----
  1147.       if (buffer == NULL)
  1148.       goto done;
  1149.   #ifdef VMS
  1150. !     len = i;    /* VMS doesn't give us what we asked for... */
  1151.   #endif
  1152.       if (i != len)
  1153.       {
  1154. *** ../vim61.403/src/misc2.c    Sat Mar  8 20:33:32 2003
  1155. --- src/misc2.c    Mon Mar  3 12:33:55 2003
  1156. ***************
  1157. *** 91,97 ****
  1158.   #endif
  1159.   
  1160.   /*
  1161. !  * Try to advance the Cursor to the specified column.
  1162.    * If virtual editing: fine tune the cursor position.
  1163.    * Note that all virtual positions off the end of a line should share
  1164.    * a curwin->w_cursor.col value (n.b. this is equal to STRLEN(line)),
  1165. --- 91,97 ----
  1166.   #endif
  1167.   
  1168.   /*
  1169. !  * Try to advance the Cursor to the specified screen column.
  1170.    * If virtual editing: fine tune the cursor position.
  1171.    * Note that all virtual positions off the end of a line should share
  1172.    * a curwin->w_cursor.col value (n.b. this is equal to STRLEN(line)),
  1173. ***************
  1174. *** 116,121 ****
  1175. --- 116,125 ----
  1176.       return rc;
  1177.   }
  1178.   
  1179. + /*
  1180. +  * Return in "pos" the position of the cursor advanced to screen column "wcol".
  1181. +  * return OK if desired column is reached, FAIL if not
  1182. +  */
  1183.       int
  1184.   getvpos(pos, wcol)
  1185.       pos_T   *pos;
  1186. ***************
  1187. *** 1115,1127 ****
  1188.   }
  1189.   
  1190.   /*
  1191. -  * vim_strncpy()
  1192. -  *
  1193.    * This is here because strncpy() does not guarantee successful results when
  1194. !  * the to and from strings overlap.  It is only currently called from nextwild()
  1195. !  * which copies part of the command line to another part of the command line.
  1196. !  * This produced garbage when expanding files etc in the middle of the command
  1197. !  * line (on my terminal, anyway) -- webb.
  1198.    */
  1199.       void
  1200.   vim_strncpy(to, from, len)
  1201. --- 1119,1131 ----
  1202.   }
  1203.   
  1204.   /*
  1205.    * This is here because strncpy() does not guarantee successful results when
  1206. !  * the to and from strings overlap.  It is only currently called from
  1207. !  * nextwild() which copies part of the command line to another part of the
  1208. !  * command line.  This produced garbage when expanding files etc in the middle
  1209. !  * of the command line (on my terminal, anyway) -- webb.
  1210. !  * Note: strncpy() pads the remainder of the buffer with NUL bytes,
  1211. !  * vim_strncpy() doesn't do that.
  1212.    */
  1213.       void
  1214.   vim_strncpy(to, from, len)
  1215. *** ../vim61.403/src/normal.c    Sat Mar  8 20:33:32 2003
  1216. --- src/normal.c    Mon Mar  3 20:55:23 2003
  1217. ***************
  1218. *** 8008,8014 ****
  1219.       cmdarg_T  *cap;
  1220.   {
  1221.   #ifdef FEAT_VISUAL
  1222. !     int        regname;
  1223.       void    *reg1 = NULL, *reg2 = NULL;
  1224.   #endif
  1225.       int        dir;
  1226. --- 8008,8014 ----
  1227.       cmdarg_T  *cap;
  1228.   {
  1229.   #ifdef FEAT_VISUAL
  1230. !     int        regname = 0;
  1231.       void    *reg1 = NULL, *reg2 = NULL;
  1232.   #endif
  1233.       int        dir;
  1234. *** ../vim61.403/src/option.c    Tue Mar 11 12:39:42 2003
  1235. --- src/option.c    Tue Mar 11 10:29:15 2003
  1236. ***************
  1237. *** 8760,8767 ****
  1238.       buf->b_start_ffc = *buf->b_p_ff;
  1239.       buf->b_start_eol = buf->b_p_eol;
  1240.   #ifdef FEAT_MBYTE
  1241. !     vim_free(buf->b_start_fenc);
  1242. !     buf->b_start_fenc = vim_strsave(buf->b_p_fenc);
  1243.   #endif
  1244.   }
  1245.   
  1246. --- 8760,8772 ----
  1247.       buf->b_start_ffc = *buf->b_p_ff;
  1248.       buf->b_start_eol = buf->b_p_eol;
  1249.   #ifdef FEAT_MBYTE
  1250. !     /* Only use free/alloc when necessary, they take time. */
  1251. !     if (buf->b_start_fenc == NULL
  1252. !                  || STRCMP(buf->b_start_fenc, buf->b_p_fenc) != 0)
  1253. !     {
  1254. !     vim_free(buf->b_start_fenc);
  1255. !     buf->b_start_fenc = vim_strsave(buf->b_p_fenc);
  1256. !     }
  1257.   #endif
  1258.   }
  1259.   
  1260. *** ../vim61.403/src/os_os2_cfg.h    Tue May 22 20:25:35 2001
  1261. --- src/os_os2_cfg.h    Thu Apr  4 19:39:07 2002
  1262. ***************
  1263. *** 20,37 ****
  1264.   /* Define unless no X support found */
  1265.   #undef HAVE_X11
  1266.   
  1267. - /* Define when curses library found */
  1268. - #undef HAVE_LIBCURSES
  1269. - /* Define when termcap library found */
  1270. - #define HAVE_LIBTERMCAP 1
  1271. - /* Define when termlib library found */
  1272. - #undef HAVE_LIBTERMLIB
  1273. - /* Define when ncurses library found */
  1274. - #undef HAVE_LIBNCURSES
  1275.   /* Define when terminfo support found */
  1276.   #undef TERMINFO
  1277.   
  1278. --- 20,25 ----
  1279. *** ../vim61.403/src/os_win32.c    Sun Feb 23 17:47:25 2003
  1280. --- src/os_win32.c    Sat Feb 22 15:10:01 2003
  1281. ***************
  1282. *** 2808,2813 ****
  1283. --- 2808,2815 ----
  1284.       if (g_PlatformId != VER_PLATFORM_WIN32s)
  1285.       {
  1286.   #ifdef FEAT_GUI
  1287. +     int        delay = 1;
  1288.       /* Keep updating the window while waiting for the shell to finish. */
  1289.       for (;;)
  1290.       {
  1291. ***************
  1292. *** 2818,2825 ****
  1293.           TranslateMessage(&msg);
  1294.           DispatchMessage(&msg);
  1295.           }
  1296. !         if (WaitForSingleObject(pi.hProcess, 100) != WAIT_TIMEOUT)
  1297.           break;
  1298.       }
  1299.   #else
  1300.       WaitForSingleObject(pi.hProcess, INFINITE);
  1301. --- 2820,2833 ----
  1302.           TranslateMessage(&msg);
  1303.           DispatchMessage(&msg);
  1304.           }
  1305. !         if (WaitForSingleObject(pi.hProcess, delay) != WAIT_TIMEOUT)
  1306.           break;
  1307. +         /* We start waiting for a very short time and then increase it, so
  1308. +          * that we respond quickly when the process is quick, and don't
  1309. +          * consume too much overhead when it's slow. */
  1310. +         if (delay < 50)
  1311. +         delay += 10;
  1312.       }
  1313.   #else
  1314.       WaitForSingleObject(pi.hProcess, INFINITE);
  1315. ***************
  1316. *** 2851,2857 ****
  1317.       CloseHandle(pi.hProcess);
  1318.   
  1319.       /* Try to get input focus back.  Doesn't always work though. */
  1320. !     SetFocus(hwnd);
  1321.   
  1322.       return ret;
  1323.   }
  1324. --- 2859,2865 ----
  1325.       CloseHandle(pi.hProcess);
  1326.   
  1327.       /* Try to get input focus back.  Doesn't always work though. */
  1328. !     PostMessage(hwnd, WM_SETFOCUS, 0, 0);
  1329.   
  1330.       return ret;
  1331.   }
  1332. *** ../vim61.403/src/proto/getchar.pro    Sun Jan  5 22:14:46 2003
  1333. --- src/proto/getchar.pro    Thu Mar  6 21:26:39 2003
  1334. ***************
  1335. *** 51,57 ****
  1336.   int ExpandMappings __ARGS((regmatch_T *regmatch, int *num_file, char_u ***file));
  1337.   int check_abbr __ARGS((int c, char_u *ptr, int col, int mincol));
  1338.   int makemap __ARGS((FILE *fd, buf_T *buf));
  1339. ! int put_escstr __ARGS((FILE *fd, char_u *str, int what));
  1340.   void check_map_keycodes __ARGS((void));
  1341.   char_u *check_map __ARGS((char_u *keys, int mode, int exact));
  1342.   void init_mappings __ARGS((void));
  1343. --- 51,57 ----
  1344.   int ExpandMappings __ARGS((regmatch_T *regmatch, int *num_file, char_u ***file));
  1345.   int check_abbr __ARGS((int c, char_u *ptr, int col, int mincol));
  1346.   int makemap __ARGS((FILE *fd, buf_T *buf));
  1347. ! int put_escstr __ARGS((FILE *fd, char_u *strstart, int what));
  1348.   void check_map_keycodes __ARGS((void));
  1349.   char_u *check_map __ARGS((char_u *keys, int mode, int exact));
  1350.   void init_mappings __ARGS((void));
  1351. *** ../vim61.403/src/proto/message.pro    Fri Mar 22 21:41:15 2002
  1352. --- src/proto/message.pro    Thu Mar  6 21:26:43 2003
  1353. ***************
  1354. *** 25,31 ****
  1355.   char_u *msg_outtrans_one __ARGS((char_u *p, int attr));
  1356.   int msg_outtrans_len_attr __ARGS((char_u *str, int len, int attr));
  1357.   void msg_make __ARGS((char_u *arg));
  1358. ! int msg_outtrans_special __ARGS((char_u *str, int from));
  1359.   char_u *str2special __ARGS((char_u **sp, int from));
  1360.   void str2specialbuf __ARGS((char_u *sp, char_u *buf, int len));
  1361.   void msg_prt_line __ARGS((char_u *s));
  1362. --- 25,31 ----
  1363.   char_u *msg_outtrans_one __ARGS((char_u *p, int attr));
  1364.   int msg_outtrans_len_attr __ARGS((char_u *str, int len, int attr));
  1365.   void msg_make __ARGS((char_u *arg));
  1366. ! int msg_outtrans_special __ARGS((char_u *strstart, int from));
  1367.   char_u *str2special __ARGS((char_u **sp, int from));
  1368.   void str2specialbuf __ARGS((char_u *sp, char_u *buf, int len));
  1369.   void msg_prt_line __ARGS((char_u *s));
  1370. *** ../vim61.403/src/proto/regexp.pro    Mon Apr  8 22:11:31 2002
  1371. --- src/proto/regexp.pro    Thu Mar  6 21:26:47 2003
  1372. ***************
  1373. *** 1,7 ****
  1374.   /* regexp.c */
  1375.   int re_multiline __ARGS((regprog_T *prog));
  1376.   char_u *skip_regexp __ARGS((char_u *startp, int dirc, int magic, char_u **newp));
  1377. ! regprog_T *vim_regcomp __ARGS((char_u *expr, int magic));
  1378.   int vim_regcomp_had_eol __ARGS((void));
  1379.   int vim_regexec __ARGS((regmatch_T *rmp, char_u *line, colnr_T col));
  1380.   long vim_regexec_multi __ARGS((regmmatch_T *rmp, win_T *win, buf_T *buf, linenr_T lnum, colnr_T col));
  1381. --- 1,7 ----
  1382.   /* regexp.c */
  1383.   int re_multiline __ARGS((regprog_T *prog));
  1384.   char_u *skip_regexp __ARGS((char_u *startp, int dirc, int magic, char_u **newp));
  1385. ! regprog_T *vim_regcomp __ARGS((char_u *expr, int re_flags));
  1386.   int vim_regcomp_had_eol __ARGS((void));
  1387.   int vim_regexec __ARGS((regmatch_T *rmp, char_u *line, colnr_T col));
  1388.   long vim_regexec_multi __ARGS((regmmatch_T *rmp, win_T *win, buf_T *buf, linenr_T lnum, colnr_T col));
  1389. *** ../vim61.403/src/screen.c    Wed Mar 12 19:19:15 2003
  1390. --- src/screen.c    Wed Mar 12 17:58:30 2003
  1391. ***************
  1392. *** 562,580 ****
  1393.       int        row;
  1394.       int        j;
  1395.   
  1396. ! #ifdef FEAT_FOLDING
  1397.       win_foldinfo.fi_level = 0;
  1398. ! #endif
  1399.       updating_screen = TRUE;
  1400.   
  1401. ! #ifdef FEAT_GUI
  1402.       /* Remove the cursor before starting to do anything, because scrolling may
  1403.        * make it difficult to redraw the text under it. */
  1404.       if (gui.in_use)
  1405.       gui_undraw_cursor();
  1406. ! #endif
  1407.       if (buf != NULL && lnum > 0)
  1408. !     {                    /* update/delete a specific mark */
  1409.       FOR_ALL_WINDOWS(wp)
  1410.       {
  1411.           if (wp->w_buffer == buf && lnum >= wp->w_topline
  1412. --- 562,581 ----
  1413.       int        row;
  1414.       int        j;
  1415.   
  1416. ! # ifdef FEAT_FOLDING
  1417.       win_foldinfo.fi_level = 0;
  1418. ! # endif
  1419.       updating_screen = TRUE;
  1420.   
  1421. ! # ifdef FEAT_GUI
  1422.       /* Remove the cursor before starting to do anything, because scrolling may
  1423.        * make it difficult to redraw the text under it. */
  1424.       if (gui.in_use)
  1425.       gui_undraw_cursor();
  1426. ! # endif
  1427.       if (buf != NULL && lnum > 0)
  1428. !     {
  1429. !     /* update/delete a specific mark */
  1430.       FOR_ALL_WINDOWS(wp)
  1431.       {
  1432.           if (wp->w_buffer == buf && lnum >= wp->w_topline
  1433. ***************
  1434. *** 605,618 ****
  1435.       else
  1436.       {
  1437.       /* update all windows (signs deleted) */
  1438. ! #ifdef FEAT_WINDOWS
  1439.       for (wp = firstwin; wp; wp = wp->w_next)
  1440.           win_update(wp);
  1441. ! #else
  1442.           win_update(curwin);
  1443. ! #endif
  1444.       }
  1445. ! #ifdef FEAT_GUI
  1446.       /* Redraw the cursor and update the scrollbars when all screen updating is
  1447.        * done. */
  1448.       if (gui.in_use)
  1449. --- 606,619 ----
  1450.       else
  1451.       {
  1452.       /* update all windows (signs deleted) */
  1453. ! # ifdef FEAT_WINDOWS
  1454.       for (wp = firstwin; wp; wp = wp->w_next)
  1455.           win_update(wp);
  1456. ! # else
  1457.           win_update(curwin);
  1458. ! # endif
  1459.       }
  1460. ! # ifdef FEAT_GUI
  1461.       /* Redraw the cursor and update the scrollbars when all screen updating is
  1462.        * done. */
  1463.       if (gui.in_use)
  1464. ***************
  1465. *** 621,632 ****
  1466.       gui_update_cursor(FALSE, FALSE);
  1467.       gui_update_scrollbars(FALSE);
  1468.       }
  1469. ! #endif
  1470.   
  1471.       updating_screen = FALSE;
  1472. ! #ifdef FEAT_GUI
  1473.       gui_may_resize_shell();
  1474. ! #endif
  1475.   }
  1476.   #endif
  1477.   
  1478. --- 622,633 ----
  1479.       gui_update_cursor(FALSE, FALSE);
  1480.       gui_update_scrollbars(FALSE);
  1481.       }
  1482. ! # endif
  1483.   
  1484.       updating_screen = FALSE;
  1485. ! # ifdef FEAT_GUI
  1486.       gui_may_resize_shell();
  1487. ! # endif
  1488.   }
  1489.   #endif
  1490.   
  1491. ***************
  1492. *** 4715,4723 ****
  1493.       row = cmdline_row - 1;
  1494.       if (row >= 0)
  1495.       {
  1496. !     if (!wild_menu_showing)
  1497.       {
  1498. !         if (msg_scrolled && !wild_menu_showing)
  1499.           {
  1500.           /* Put the wildmenu just above the command line.  If there is
  1501.            * no room, scroll the screen one line up. */
  1502. --- 4716,4724 ----
  1503.       row = cmdline_row - 1;
  1504.       if (row >= 0)
  1505.       {
  1506. !     if (wild_menu_showing == 0)
  1507.       {
  1508. !         if (msg_scrolled > 0)
  1509.           {
  1510.           /* Put the wildmenu just above the command line.  If there is
  1511.            * no room, scroll the screen one line up. */
  1512. *** ../vim61.403/src/structs.h    Tue Mar 11 12:59:06 2003
  1513. --- src/structs.h    Mon Mar 10 22:49:53 2003
  1514. ***************
  1515. *** 737,744 ****
  1516. --- 737,746 ----
  1517.       int        m_mode;        /* valid mode */
  1518.       int        m_noremap;    /* if non-zero no re-mapping for m_str */
  1519.       char    m_silent;    /* <silent> used, don't echo commands */
  1520. + #if 0  /* Not used yet */
  1521.       scid_T    m_script_ID;    /* ID of script where map was defined,
  1522.                      used for s: variables and functions */
  1523. + #endif
  1524.   };
  1525.   
  1526.   /*
  1527. *** ../vim61.403/src/syntax.c    Sat Mar 15 16:54:47 2003
  1528. --- src/syntax.c    Wed Mar 12 09:37:59 2003
  1529. ***************
  1530. *** 7850,7855 ****
  1531. --- 7850,7856 ----
  1532.   syn_add_group(name)
  1533.       char_u        *name;
  1534.   {
  1535. +     /* TODO: check that the name is ASCII letters, digits and underscore. */
  1536.       /*
  1537.        * First call for this growarray: init growing array.
  1538.        */
  1539. *** ../vim61.403/src/term.c    Tue Feb 25 21:50:44 2003
  1540. --- src/term.c    Mon Feb 17 11:51:49 2003
  1541. ***************
  1542. *** 1910,1916 ****
  1543.   
  1544.   #ifdef USE_TERM_CONSOLE
  1545.       /* DEFAULT_TERM indicates that it is the machine console. */
  1546. !     if (STRCMP(term, DEFAULT_TERM))
  1547.       term_console = FALSE;
  1548.       else
  1549.       {
  1550. --- 1910,1916 ----
  1551.   
  1552.   #ifdef USE_TERM_CONSOLE
  1553.       /* DEFAULT_TERM indicates that it is the machine console. */
  1554. !     if (STRCMP(term, DEFAULT_TERM) != 0)
  1555.       term_console = FALSE;
  1556.       else
  1557.       {
  1558. *** ../vim61.403/src/testdir/test15.in    Tue Aug 14 21:06:22 2001
  1559. --- src/testdir/test15.in    Sat Aug 24 22:40:37 2002
  1560. ***************
  1561. *** 1,15 ****
  1562.   Tests for :right on text with embedded TAB.
  1563.   Also test formatting a paragraph.
  1564.   
  1565.   STARTTEST
  1566.   :so small.vim
  1567.   :set tw=65
  1568.   
  1569. ! :/test for :left/,/test for :center/ left
  1570. ! :/test for :center/,/test for :right/ center
  1571. ! :/test for :right/,/^xxx/-1 right
  1572.   :set fo+=tcroql tw=72
  1573. ! Ggq6kk
  1574.   :?test for :left?,$w! test.out
  1575.   :qa!
  1576.   ENDTEST
  1577. --- 1,23 ----
  1578.   Tests for :right on text with embedded TAB.
  1579.   Also test formatting a paragraph.
  1580. + Also test undo after ":%s" and formatting.
  1581.   
  1582.   STARTTEST
  1583.   :so small.vim
  1584.   :set tw=65
  1585.   
  1586. ! :/^\s*test for :left/,/^\s*test for :center/ left
  1587. ! :/^\s*test for :center/,/^\s*test for :right/ center
  1588. ! :/^\s*test for :right/,/^xxx/-1 right
  1589.   :set fo+=tcroql tw=72
  1590. ! /xxxxxxxx$
  1591. ! 0gq6kk
  1592. ! :set nocp
  1593. ! :" undo/redo here to make the next undo only work on the following changes
  1594. ! u
  1595. ! :map gg :.,.+2s/^/x/<CR>kk:set tw=3<CR>gqq
  1596. ! /^aa
  1597. ! ggu
  1598.   :?test for :left?,$w! test.out
  1599.   :qa!
  1600.   ENDTEST
  1601. ***************
  1602. *** 122,124 ****
  1603. --- 130,136 ----
  1604.   
  1605.   > xx xx, xxxx xxxx xxx xxxx xxx xxxxx xxx xxx xxxxxxx xxx xxxxx
  1606.   > xxxxxx xxxxxxx: xxxx xxxxxxx, xx xxxxxx xxxx xxxxxxxxxx
  1607. + aa aa aa aa
  1608. + bb bb bb bb
  1609. + cc cc cc cc
  1610. *** ../vim61.403/src/testdir/test15.ok    Tue Aug 14 21:04:09 2001
  1611. --- src/testdir/test15.ok    Sat Aug 24 21:52:49 2002
  1612. ***************
  1613. *** 105,107 ****
  1614. --- 105,111 ----
  1615.   
  1616.   > xx xx, xxxx xxxx xxx xxxx xxx xxxxx xxx xxx xxxxxxx xxx xxxxx xxxxxx
  1617.   > xxxxxxx: xxxx xxxxxxx, xx xxxxxx xxxx xxxxxxxxxx
  1618. + aa aa aa aa
  1619. + bb bb bb bb
  1620. + cc cc cc cc
  1621. *** ../vim61.403/src/vim.rc    Thu Sep 20 18:18:18 2001
  1622. --- src/vim.rc    Sat Mar 15 17:15:59 2003
  1623. ***************
  1624. *** 91,97 ****
  1625.       VALUE "FileDescription",    "Vi Improved - A Text Editor\0"
  1626.       VALUE "FileVersion",        VIM_VERSION_MAJOR_STR ", " VIM_VERSION_MINOR_STR ", " VIM_VERSION_BUILD_STR ", " VIM_VERSION_PATCHLEVEL_STR  "\0"
  1627.       VALUE "InternalName",        "VIM\0"
  1628. !     VALUE "LegalCopyright",        "Copyright \251 1996-2001\0"
  1629.       VALUE "LegalTrademarks",    "Vim\0"
  1630.       VALUE "OriginalFilename",    "VIM.EXE\0"
  1631.       VALUE "ProductName",        "Vim\0"
  1632. --- 91,97 ----
  1633.       VALUE "FileDescription",    "Vi Improved - A Text Editor\0"
  1634.       VALUE "FileVersion",        VIM_VERSION_MAJOR_STR ", " VIM_VERSION_MINOR_STR ", " VIM_VERSION_BUILD_STR ", " VIM_VERSION_PATCHLEVEL_STR  "\0"
  1635.       VALUE "InternalName",        "VIM\0"
  1636. !     VALUE "LegalCopyright",        "Copyright \251 1996-2003\0"
  1637.       VALUE "LegalTrademarks",    "Vim\0"
  1638.       VALUE "OriginalFilename",    "VIM.EXE\0"
  1639.       VALUE "ProductName",        "Vim\0"
  1640. *** ../vim61.403/src/xxd/Make_cyg.mak    Tue Jan  2 21:26:56 2001
  1641. --- src/xxd/Make_cyg.mak    Thu Mar 13 22:17:54 2003
  1642. ***************
  1643. *** 1,9 ****
  1644.   # The most simplistic Makefile, for Cygnus gcc on MS-DOS
  1645.   
  1646. ! CFLAGS = -O2 -Wall
  1647.   
  1648. ! xxd.exe: xxd.c
  1649. !     gcc $(CFLAGS) -s -o xxd.exe xxd.c -lc
  1650.   
  1651.   clean:
  1652. !     del xxd.exe
  1653. --- 1,27 ----
  1654.   # The most simplistic Makefile, for Cygnus gcc on MS-DOS
  1655.   
  1656. ! ifndef USEDLL
  1657. ! USEDLL = no
  1658. ! endif
  1659.   
  1660. ! ifeq (no, $(USEDLL))
  1661. ! DEFINES = -mno-cygwin
  1662. ! LIBS    =
  1663. ! else
  1664. ! DEFINES =
  1665. ! LIBS    = -lc
  1666. ! endif
  1667. ! CFLAGS = -O2 -Wall $(DEFINES)
  1668.   
  1669. + ifneq (sh.exe, $(SHELL))
  1670. + DEL = rm
  1671. + else
  1672. + DEL = del
  1673. + endif
  1674. + xxd.exe: xxd.c
  1675. +     gcc $(CFLAGS) -s -o xxd.exe xxd.c $(LIBS)
  1676. +     
  1677.   clean:
  1678. !     -$(DEL) xxd.exe
  1679. *** ../vim61.403/src/xxd/Makefile    Sun Aug  1 14:01:12 1999
  1680. --- src/xxd/Makefile    Wed Jun 26 21:44:43 2002
  1681. ***************
  1682. *** 1,7 ****
  1683.   # The most simplistic Makefile
  1684.   
  1685.   xxd: xxd.c
  1686. !     $(CC) $(CFLAGS) -DUNIX -o xxd xxd.c
  1687.   
  1688.   clean:
  1689.       rm -f xxd xxd.o
  1690. --- 1,7 ----
  1691.   # The most simplistic Makefile
  1692.   
  1693.   xxd: xxd.c
  1694. !     $(CC) $(CFLAGS) $(LDFLAGS) -DUNIX -o xxd xxd.c
  1695.   
  1696.   clean:
  1697.       rm -f xxd xxd.o
  1698. *** ../vim61.403/src/version.c    Sat Mar 15 16:54:47 2003
  1699. --- src/version.c    Sat Mar 15 17:18:16 2003
  1700. ***************
  1701. *** 613,614 ****
  1702. --- 613,616 ----
  1703.   {   /* Add new patch number below this line */
  1704. + /**/
  1705. +     404,
  1706.   /**/
  1707.  
  1708. -- 
  1709. From "know your smileys":
  1710.  O:-)    Saint
  1711.  
  1712.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  1713. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  1714. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  1715.  \\\     Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
  1716.