|
Karsten Hopp |
5cd188 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
5cd188 |
Subject: patch 7.0.198 (extra)
|
|
Karsten Hopp |
5cd188 |
Fcc: outbox
|
|
Karsten Hopp |
5cd188 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
5cd188 |
Mime-Version: 1.0
|
|
Karsten Hopp |
5cd188 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
5cd188 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
5cd188 |
------------
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
Patch 7.0.198 (extra)
|
|
Karsten Hopp |
5cd188 |
Problem: Win32: Compiler warnings. No need to generate gvim.exe.mnf.
|
|
Karsten Hopp |
5cd188 |
Solution: Add type casts. Use "*" for processorArchitecture. (George Reilly)
|
|
Karsten Hopp |
5cd188 |
Files: src/Make_mvc.mak, src/eval.c, src/gvim.exe.mnf, src/misc2.c
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
*** ../vim-7.0.197/src/Make_mvc.mak Thu Apr 27 01:50:26 2006
|
|
Karsten Hopp |
5cd188 |
--- src/Make_mvc.mak Wed Feb 7 05:04:15 2007
|
|
Karsten Hopp |
5cd188 |
***************
|
|
Karsten Hopp |
5cd188 |
*** 683,689 ****
|
|
Karsten Hopp |
5cd188 |
# on a crash (doesn't add overhead to the executable).
|
|
Karsten Hopp |
5cd188 |
#
|
|
Karsten Hopp |
5cd188 |
CFLAGS = $(CFLAGS) /Zi /Fd$(OUTDIR)/
|
|
Karsten Hopp |
5cd188 |
! LINK_PDB = /PDB:$(OUTDIR)/$(VIM).pdb -debug # -debug:full -debugtype:cv,fixup
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
#
|
|
Karsten Hopp |
5cd188 |
# End extra feature include
|
|
Karsten Hopp |
5cd188 |
--- 683,689 ----
|
|
Karsten Hopp |
5cd188 |
# on a crash (doesn't add overhead to the executable).
|
|
Karsten Hopp |
5cd188 |
#
|
|
Karsten Hopp |
5cd188 |
CFLAGS = $(CFLAGS) /Zi /Fd$(OUTDIR)/
|
|
Karsten Hopp |
5cd188 |
! LINK_PDB = /PDB:$(VIM).pdb -debug # -debug:full -debugtype:cv,fixup
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
#
|
|
Karsten Hopp |
5cd188 |
# End extra feature include
|
|
Karsten Hopp |
5cd188 |
***************
|
|
Karsten Hopp |
5cd188 |
*** 761,767 ****
|
|
Karsten Hopp |
5cd188 |
- if exist $(VIM).pdb del $(VIM).pdb
|
|
Karsten Hopp |
5cd188 |
- if exist $(VIM).map del $(VIM).map
|
|
Karsten Hopp |
5cd188 |
- if exist $(VIM).ncb del $(VIM).ncb
|
|
Karsten Hopp |
5cd188 |
- - if exist gvim.exe.mnf del gvim.exe.mnf
|
|
Karsten Hopp |
5cd188 |
- if exist vimrun.exe del vimrun.exe
|
|
Karsten Hopp |
5cd188 |
- if exist install.exe del install.exe
|
|
Karsten Hopp |
5cd188 |
- if exist uninstal.exe del uninstal.exe
|
|
Karsten Hopp |
5cd188 |
--- 761,766 ----
|
|
Karsten Hopp |
5cd188 |
***************
|
|
Karsten Hopp |
5cd188 |
*** 943,949 ****
|
|
Karsten Hopp |
5cd188 |
$(OUTDIR)/xpm_w32.obj: $(OUTDIR) xpm_w32.c
|
|
Karsten Hopp |
5cd188 |
$(CC) $(CFLAGS) $(XPM_INC) xpm_w32.c
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
! $(OUTDIR)/vim.res: $(OUTDIR) gvim.exe.mnf vim.rc version.h tools.bmp tearoff.bmp \
|
|
Karsten Hopp |
5cd188 |
vim.ico vim_error.ico vim_alert.ico vim_info.ico vim_quest.ico
|
|
Karsten Hopp |
5cd188 |
$(RC) /l 0x409 /Fo$(OUTDIR)/vim.res $(RCFLAGS) vim.rc
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
--- 942,948 ----
|
|
Karsten Hopp |
5cd188 |
$(OUTDIR)/xpm_w32.obj: $(OUTDIR) xpm_w32.c
|
|
Karsten Hopp |
5cd188 |
$(CC) $(CFLAGS) $(XPM_INC) xpm_w32.c
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
! $(OUTDIR)/vim.res: $(OUTDIR) vim.rc version.h tools.bmp tearoff.bmp \
|
|
Karsten Hopp |
5cd188 |
vim.ico vim_error.ico vim_alert.ico vim_info.ico vim_quest.ico
|
|
Karsten Hopp |
5cd188 |
$(RC) /l 0x409 /Fo$(OUTDIR)/vim.res $(RCFLAGS) vim.rc
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
***************
|
|
Karsten Hopp |
5cd188 |
*** 961,966 ****
|
|
Karsten Hopp |
5cd188 |
--- 960,966 ----
|
|
Karsten Hopp |
5cd188 |
# $CFLAGS may contain backslashes and double quotes, escape them both.
|
|
Karsten Hopp |
5cd188 |
E0_CFLAGS = $(CFLAGS:\=\\)
|
|
Karsten Hopp |
5cd188 |
E_CFLAGS = $(E0_CFLAGS:"=\")
|
|
Karsten Hopp |
5cd188 |
+ # ") stop the string
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
$(PATHDEF_SRC): auto
|
|
Karsten Hopp |
5cd188 |
@echo creating $(PATHDEF_SRC)
|
|
Karsten Hopp |
5cd188 |
***************
|
|
Karsten Hopp |
5cd188 |
*** 972,1001 ****
|
|
Karsten Hopp |
5cd188 |
@echo char_u *all_lflags = (char_u *)"$(link:\=\\) $(LINKARGS1:\=\\) $(LINKARGS2:\=\\)"; >> $(PATHDEF_SRC)
|
|
Karsten Hopp |
5cd188 |
@echo char_u *compiled_user = (char_u *)"$(USERNAME)"; >> $(PATHDEF_SRC)
|
|
Karsten Hopp |
5cd188 |
@echo char_u *compiled_sys = (char_u *)"$(USERDOMAIN)"; >> $(PATHDEF_SRC)
|
|
Karsten Hopp |
5cd188 |
-
|
|
Karsten Hopp |
5cd188 |
- gvim.exe.mnf: auto
|
|
Karsten Hopp |
5cd188 |
- @echo ^ >$@
|
|
Karsten Hopp |
5cd188 |
- @echo ^<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"^> >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo ^<assemblyIdentity >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo processorArchitecture="$(ASSEMBLY_ARCHITECTURE)" >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo version="7.0.0.0" >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo type="win32" >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo name="Vim" >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo /^> >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo ^<description^>Vi Improved - A Text Editor^</description^> >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo ^<dependency^> >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo ^<dependentAssembly^> >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo ^<assemblyIdentity >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo type="win32" >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo name="Microsoft.Windows.Common-Controls" >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo version="6.0.0.0" >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo publicKeyToken="6595b64144ccf1df" >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo language="*" >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo processorArchitecture="$(ASSEMBLY_ARCHITECTURE)" >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo /^> >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo ^</dependentAssembly^> >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo ^</dependency^> >>$@
|
|
Karsten Hopp |
5cd188 |
- @echo ^</assembly^> >>$@
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
auto:
|
|
Karsten Hopp |
5cd188 |
if not exist auto/nul mkdir auto
|
|
Karsten Hopp |
5cd188 |
--- 972,977 ----
|
|
Karsten Hopp |
5cd188 |
*** ../vim-7.0.197/src/eval.c Sun Jan 14 15:27:05 2007
|
|
Karsten Hopp |
5cd188 |
--- src/eval.c Wed Feb 7 05:01:29 2007
|
|
Karsten Hopp |
5cd188 |
***************
|
|
Karsten Hopp |
5cd188 |
*** 1004,1010 ****
|
|
Karsten Hopp |
5cd188 |
if (ga_grow(&redir_ga, (int)len) == OK)
|
|
Karsten Hopp |
5cd188 |
{
|
|
Karsten Hopp |
5cd188 |
mch_memmove((char *)redir_ga.ga_data + redir_ga.ga_len, value, len);
|
|
Karsten Hopp |
5cd188 |
! redir_ga.ga_len += len;
|
|
Karsten Hopp |
5cd188 |
}
|
|
Karsten Hopp |
5cd188 |
else
|
|
Karsten Hopp |
5cd188 |
var_redir_stop();
|
|
Karsten Hopp |
5cd188 |
--- 1004,1010 ----
|
|
Karsten Hopp |
5cd188 |
if (ga_grow(&redir_ga, (int)len) == OK)
|
|
Karsten Hopp |
5cd188 |
{
|
|
Karsten Hopp |
5cd188 |
mch_memmove((char *)redir_ga.ga_data + redir_ga.ga_len, value, len);
|
|
Karsten Hopp |
5cd188 |
! redir_ga.ga_len += (int)len;
|
|
Karsten Hopp |
5cd188 |
}
|
|
Karsten Hopp |
5cd188 |
else
|
|
Karsten Hopp |
5cd188 |
var_redir_stop();
|
|
Karsten Hopp |
5cd188 |
***************
|
|
Karsten Hopp |
5cd188 |
*** 10307,10313 ****
|
|
Karsten Hopp |
5cd188 |
win_T *wp;
|
|
Karsten Hopp |
5cd188 |
#endif
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
! rettv->vval.v_number = FALSE;
|
|
Karsten Hopp |
5cd188 |
#ifdef FEAT_QUICKFIX
|
|
Karsten Hopp |
5cd188 |
if (rettv_list_alloc(rettv) == OK)
|
|
Karsten Hopp |
5cd188 |
{
|
|
Karsten Hopp |
5cd188 |
--- 10307,10313 ----
|
|
Karsten Hopp |
5cd188 |
win_T *wp;
|
|
Karsten Hopp |
5cd188 |
#endif
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
! rettv->vval.v_number = 0;
|
|
Karsten Hopp |
5cd188 |
#ifdef FEAT_QUICKFIX
|
|
Karsten Hopp |
5cd188 |
if (rettv_list_alloc(rettv) == OK)
|
|
Karsten Hopp |
5cd188 |
{
|
|
Karsten Hopp |
5cd188 |
*** ../vim-7.0.197/src/gvim.exe.mnf Sun Jun 13 17:13:20 2004
|
|
Karsten Hopp |
5cd188 |
--- src/gvim.exe.mnf Wed Feb 7 05:06:52 2007
|
|
Karsten Hopp |
5cd188 |
***************
|
|
Karsten Hopp |
5cd188 |
*** 1,8 ****
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
! processorArchitecture="X86"
|
|
Karsten Hopp |
5cd188 |
! version="6.2.0.0"
|
|
Karsten Hopp |
5cd188 |
type="win32"
|
|
Karsten Hopp |
5cd188 |
name="Vim"
|
|
Karsten Hopp |
5cd188 |
/>
|
|
Karsten Hopp |
5cd188 |
--- 1,8 ----
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
! processorArchitecture="*"
|
|
Karsten Hopp |
5cd188 |
! version="7.0.0.0"
|
|
Karsten Hopp |
5cd188 |
type="win32"
|
|
Karsten Hopp |
5cd188 |
name="Vim"
|
|
Karsten Hopp |
5cd188 |
/>
|
|
Karsten Hopp |
5cd188 |
***************
|
|
Karsten Hopp |
5cd188 |
*** 15,21 ****
|
|
Karsten Hopp |
5cd188 |
version="6.0.0.0"
|
|
Karsten Hopp |
5cd188 |
publicKeyToken="6595b64144ccf1df"
|
|
Karsten Hopp |
5cd188 |
language="*"
|
|
Karsten Hopp |
5cd188 |
! processorArchitecture="X86"
|
|
Karsten Hopp |
5cd188 |
/>
|
|
Karsten Hopp |
5cd188 |
</dependentAssembly>
|
|
Karsten Hopp |
5cd188 |
</dependency>
|
|
Karsten Hopp |
5cd188 |
--- 15,21 ----
|
|
Karsten Hopp |
5cd188 |
version="6.0.0.0"
|
|
Karsten Hopp |
5cd188 |
publicKeyToken="6595b64144ccf1df"
|
|
Karsten Hopp |
5cd188 |
language="*"
|
|
Karsten Hopp |
5cd188 |
! processorArchitecture="*"
|
|
Karsten Hopp |
5cd188 |
/>
|
|
Karsten Hopp |
5cd188 |
</dependentAssembly>
|
|
Karsten Hopp |
5cd188 |
</dependency>
|
|
Karsten Hopp |
5cd188 |
*** ../vim-7.0.197/src/misc2.c Tue Feb 20 03:01:33 2007
|
|
Karsten Hopp |
5cd188 |
--- src/misc2.c Wed Feb 7 05:00:13 2007
|
|
Karsten Hopp |
5cd188 |
***************
|
|
Karsten Hopp |
5cd188 |
*** 1246,1252 ****
|
|
Karsten Hopp |
5cd188 |
char_u *escaped_string;
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
/* First count the number of extra bytes required. */
|
|
Karsten Hopp |
5cd188 |
! length = STRLEN(string) + 3; /* two quotes and the trailing NUL */
|
|
Karsten Hopp |
5cd188 |
for (p = string; *p != NUL; mb_ptr_adv(p))
|
|
Karsten Hopp |
5cd188 |
{
|
|
Karsten Hopp |
5cd188 |
# if defined(WIN32) || defined(WIN16) || defined(DOS)
|
|
Karsten Hopp |
5cd188 |
--- 1246,1252 ----
|
|
Karsten Hopp |
5cd188 |
char_u *escaped_string;
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
/* First count the number of extra bytes required. */
|
|
Karsten Hopp |
5cd188 |
! length = (unsigned)STRLEN(string) + 3; /* two quotes and a trailing NUL */
|
|
Karsten Hopp |
5cd188 |
for (p = string; *p != NUL; mb_ptr_adv(p))
|
|
Karsten Hopp |
5cd188 |
{
|
|
Karsten Hopp |
5cd188 |
# if defined(WIN32) || defined(WIN16) || defined(DOS)
|
|
Karsten Hopp |
5cd188 |
***************
|
|
Karsten Hopp |
5cd188 |
*** 3718,3724 ****
|
|
Karsten Hopp |
5cd188 |
*
|
|
Karsten Hopp |
5cd188 |
* ATTENTION:
|
|
Karsten Hopp |
5cd188 |
* ==========
|
|
Karsten Hopp |
5cd188 |
! * Also we use an allocated search context here, this functions ARE NOT
|
|
Karsten Hopp |
5cd188 |
* thread-safe!!!!!
|
|
Karsten Hopp |
5cd188 |
*
|
|
Karsten Hopp |
5cd188 |
* To minimize parameter passing (or because I'm to lazy), only the
|
|
Karsten Hopp |
5cd188 |
--- 3718,3724 ----
|
|
Karsten Hopp |
5cd188 |
*
|
|
Karsten Hopp |
5cd188 |
* ATTENTION:
|
|
Karsten Hopp |
5cd188 |
* ==========
|
|
Karsten Hopp |
5cd188 |
! * Also we use an allocated search context here, this functions are NOT
|
|
Karsten Hopp |
5cd188 |
* thread-safe!!!!!
|
|
Karsten Hopp |
5cd188 |
*
|
|
Karsten Hopp |
5cd188 |
* To minimize parameter passing (or because I'm to lazy), only the
|
|
Karsten Hopp |
5cd188 |
*** ../vim-7.0.197/src/version.c Tue Feb 20 03:01:33 2007
|
|
Karsten Hopp |
5cd188 |
--- src/version.c Tue Feb 20 03:14:39 2007
|
|
Karsten Hopp |
5cd188 |
***************
|
|
Karsten Hopp |
5cd188 |
*** 668,669 ****
|
|
Karsten Hopp |
5cd188 |
--- 668,671 ----
|
|
Karsten Hopp |
5cd188 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
5cd188 |
+ /**/
|
|
Karsten Hopp |
5cd188 |
+ 198,
|
|
Karsten Hopp |
5cd188 |
/**/
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
--
|
|
Karsten Hopp |
5cd188 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
5cd188 |
155. You forget to eat because you're too busy surfing the net.
|
|
Karsten Hopp |
5cd188 |
|
|
Karsten Hopp |
5cd188 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
5cd188 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
5cd188 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
5cd188 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|