- https://github.com/vim/vim-win32-installer/releases/tag/v7.4.1185
- https://github.com/vim/vim-win32-installer/releases/tag/v7.4.1190
- https://github.com/vim/vim-win32-installer/releases/tag/v7.4.1194
- https://github.com/vim/vim-win32-installer/releases/tag/v7.4.1219
- https://github.com/vim/vim-win32-installer/releases/tag/v7.4.1229
- https://github.com/vim/vim-win32-installer/releases/tag/v7.4.1236
- https://github.com/vim/vim-win32-installer/releases/tag/v7.4.1246
- https://github.com/vim/vim-win32-installer/releases/tag/v7.4.1261
- https://github.com/vim/vim-win32-installer/releases/tag/v7.4.1265
- https://github.com/vim/vim-win32-installer/releases/tag/v7.4.1290
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| rem Update the DLL using MSVC. | |
| rem If the old DLL is in use, rename it to avoid compilation error. | |
| rem current support version of Visual C compiler is 2012 or later. | |
| rem | |
| rem usage: update-dll-msvc | |
| rem | |
| rem | |
| rem Sample .vimrc: | |
| rem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func! Dirlist(d = '.') | |
| new | |
| let start = reltime() | |
| setlocal buftype=nofile | |
| let list = readdir(a:d) | |
| call append(line('$'), list) | |
| call append(line('$'), reltimestr(reltime(start))) | |
| endfunc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| # Download the latest silver searcher Win32 from the GitHub releases | |
| import argparse | |
| import calendar | |
| import io | |
| import json | |
| import os | |
| import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let num = 1000000 | |
| let l = range(num) | |
| let start = reltime() | |
| call map(l, {-> v:val * 2}) | |
| echo start->reltime()->reltimestr() | |
| let l = range(num) | |
| let start = reltime() | |
| call map(l, "v:val * 2") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| all: khash_test.exe khash_test_strkey.exe st_test.exe st_test_strkey.exe | |
| !if "$(Platform)"=="x64" | |
| SIZEOF_VOIDP=8 | |
| !else | |
| SIZEOF_VOIDP=4 | |
| !endif | |
| khash_test.exe: khash_test.c khash.h | |
| cl /O2 khash_test.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/src/if_python3.c | |
| +++ b/src/if_python3.c | |
| @@ -203,6 +203,9 @@ typedef PySliceObject PySliceObject_T; | |
| # define PySys_GetObject py3_PySys_GetObject | |
| # define PySys_SetArgv py3_PySys_SetArgv | |
| # define PyType_Ready py3_PyType_Ready | |
| +# if PY_VERSION_HEX >= 0x03090000 | |
| +# define PyType_GetFlags py3_PyType_GetFlags | |
| +# endif | |
| #undef Py_BuildValue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/src/Make_mvc.mak | |
| +++ b/src/Make_mvc.mak | |
| @@ -1326,9 +1326,6 @@ MAIN_TARGET = $(VIM).exe | |
| # Target to run individual tests. | |
| VIMTESTTARGET = $(VIM).exe | |
| -OLD_TEST_OUTFILES = \ | |
| - $(SCRIPTS_FIRST) | |
| - | |
| all: $(MAIN_TARGET) \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/sakura_lang_en_US/Makefile b/sakura_lang_en_US/Makefile | |
| index 0949faa3..4de6510b 100644 | |
| --- a/sakura_lang_en_US/Makefile | |
| +++ b/sakura_lang_en_US/Makefile | |
| @@ -23,6 +23,9 @@ endif | |
| # If empty, it will be output to the default directory. | |
| OUTDIR = | |
| +# The directory where sakura_core is built. | |
| +COREBUILDDIR = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <windows.h> | |
| int main(int argc, char *argv[]) | |
| { | |
| HANDLE hstdin = GetStdHandle(STD_INPUT_HANDLE); | |
| HANDLE hstdout = GetStdHandle(STD_OUTPUT_HANDLE); | |
| char buf[256]; | |
| DWORD cb; | |
| ReadFile(hstdin, buf, sizeof(buf), &cb, NULL); |