To: vim_dev@googlegroups.com Subject: Patch 8.0.1472 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1472 Problem: MS-Windows: nsis installer is a bit slow. Solution: Use ReserveFile for vimrc.ini. (closes #2522) Files: nsis/gvim.nsi *** ../vim-8.0.1471/nsis/gvim.nsi 2017-11-11 15:37:13.443209748 +0100 --- nsis/gvim.nsi 2018-02-04 19:09:06.727505476 +0100 *************** *** 89,94 **** --- 89,99 ---- UninstPage uninstConfirm UninstPage instfiles + # Reserve files + # Needed for showing the _vimrc setting page faster. + ReserveFile /plugin InstallOptions.dll + ReserveFile vimrc.ini + ########################################################## # Functions *************** *** 475,488 **** # Display the InstallOptions dialog # Check if a _vimrc should be created ! SectionGetFlags ${sec_vimrc_id} $0 ! IntOp $0 $0 & 1 ! StrCmp $0 "1" +2 0 Abort ! Push $3 ! InstallOptions::dialog "$PLUGINSDIR\vimrc.ini" ! Pop $3 Pop $3 FunctionEnd --- 480,491 ---- # Display the InstallOptions dialog # Check if a _vimrc should be created ! SectionGetFlags ${sec_vimrc_id} $3 ! IntOp $3 $3 & 1 ! StrCmp $3 "1" +2 0 Abort ! InstallOptions::dialog "$PLUGINSDIR\vimrc.ini" Pop $3 FunctionEnd *** ../vim-8.0.1471/src/version.c 2018-02-04 19:01:27.422811176 +0100 --- src/version.c 2018-02-04 19:10:42.890815893 +0100 *************** *** 773,774 **** --- 773,776 ---- { /* Add new patch number below this line */ + /**/ + 1472, /**/ -- You were lucky. We lived for three months in a brown paper bag in a septic tank. We used to have to get up at six o'clock in the morning, clean the bag, eat a crust of stale bread, go to work down mill for fourteen hours a day week in-week out. When we got home, our Dad would thrash us to sleep with his belt! /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///