diff options
author | Sam Bingner <sam@bingner.com> | 2019-11-15 18:11:36 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-11-15 18:11:36 -1000 |
commit | 978d9cd248490cda55c924e66a407bb793aff400 (patch) | |
tree | f14836ff8440840ad821abe8fc86148ec2ea7f5c /data/vim/patches/8.1.0250 | |
parent | bbc833a503b148701c64ed5be79f298b7911e340 (diff) |
Update to vim_8.1.1948 and stop using patches
I mean... 1948...
Diffstat (limited to 'data/vim/patches/8.1.0250')
-rw-r--r-- | data/vim/patches/8.1.0250 | 142 |
1 files changed, 0 insertions, 142 deletions
diff --git a/data/vim/patches/8.1.0250 b/data/vim/patches/8.1.0250 deleted file mode 100644 index 50c7f4be1..000000000 --- a/data/vim/patches/8.1.0250 +++ /dev/null @@ -1,142 +0,0 @@ -To: vim_dev@googlegroups.com -Subject: Patch 8.1.0250 -Fcc: outbox -From: Bram Moolenaar <Bram@moolenaar.net> -Mime-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit ------------- - -Patch 8.1.0250 -Problem: MS-Windows using VTP: windows size change incorrect. -Solution: Call SetConsoleScreenBufferSize() first. (Nobuhiro Takasaki, - closes #3164) -Files: src/os_win32.c - - -*** ../vim-8.1.0249/src/os_win32.c 2018-06-19 19:59:15.244704285 +0200 ---- src/os_win32.c 2018-08-07 20:45:29.601418126 +0200 -*************** -*** 3967,3972 **** ---- 3967,4014 ---- - } - - /* -+ * Resize console buffer to 'COORD' -+ */ -+ static void -+ ResizeConBuf( -+ HANDLE hConsole, -+ COORD coordScreen) -+ { -+ if (!SetConsoleScreenBufferSize(hConsole, coordScreen)) -+ { -+ #ifdef MCH_WRITE_DUMP -+ if (fdDump) -+ { -+ fprintf(fdDump, "SetConsoleScreenBufferSize failed: %lx\n", -+ GetLastError()); -+ fflush(fdDump); -+ } -+ #endif -+ } -+ } -+ -+ /* -+ * Resize console window size to 'srWindowRect' -+ */ -+ static void -+ ResizeWindow( -+ HANDLE hConsole, -+ SMALL_RECT srWindowRect) -+ { -+ if (!SetConsoleWindowInfo(hConsole, TRUE, &srWindowRect)) -+ { -+ #ifdef MCH_WRITE_DUMP -+ if (fdDump) -+ { -+ fprintf(fdDump, "SetConsoleWindowInfo failed: %lx\n", -+ GetLastError()); -+ fflush(fdDump); -+ } -+ #endif -+ } -+ } -+ -+ /* - * Set a console window to `xSize' * `ySize' - */ - static void -*************** -*** 4019,4050 **** - } - } - -! if (!SetConsoleWindowInfo(g_hConOut, TRUE, &srWindowRect)) -! { -! #ifdef MCH_WRITE_DUMP -! if (fdDump) -! { -! fprintf(fdDump, "SetConsoleWindowInfo failed: %lx\n", -! GetLastError()); -! fflush(fdDump); -! } -! #endif -! } -! -! /* define the new console buffer size */ - coordScreen.X = xSize; - coordScreen.Y = ySize; - -! if (!SetConsoleScreenBufferSize(hConsole, coordScreen)) - { -! #ifdef MCH_WRITE_DUMP -! if (fdDump) -! { -! fprintf(fdDump, "SetConsoleScreenBufferSize failed: %lx\n", -! GetLastError()); -! fflush(fdDump); -! } -! #endif - } - } - ---- 4061,4080 ---- - } - } - -! // define the new console buffer size - coordScreen.X = xSize; - coordScreen.Y = ySize; - -! // In the new console call API in reverse order -! if (!vtp_working) - { -! ResizeWindow(hConsole, srWindowRect); -! ResizeConBuf(hConsole, coordScreen); -! } -! else -! { -! ResizeConBuf(hConsole, coordScreen); -! ResizeWindow(hConsole, srWindowRect); - } - } - -*** ../vim-8.1.0249/src/version.c 2018-08-07 20:01:34.245746660 +0200 ---- src/version.c 2018-08-07 20:44:49.633662912 +0200 -*************** -*** 796,797 **** ---- 796,799 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 250, - /**/ - --- -Vi beats Emacs to death, and then again! - http://linuxtoday.com/stories/5764.html - - /// 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 /// |