diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2019-02-21 19:54:25 +0100 |
---|---|---|
committer | Marco Hinz <mh.codebro@gmail.com> | 2019-02-21 22:23:54 +0100 |
commit | 27c31434663ba20cd9b53827d4d3cb4d66b1cde3 (patch) | |
tree | 35c626cb70f3f8f4b4452c16e341000a7d00c20c /third-party/patches/libtermkey-Fix-escape-sequences-for-MSVC.patch | |
parent | 40f5a6c4dafe4bbca227d4c6bda0d9a94d817d71 (diff) | |
download | rneovim-27c31434663ba20cd9b53827d4d3cb4d66b1cde3.tar.gz rneovim-27c31434663ba20cd9b53827d4d3cb4d66b1cde3.tar.bz2 rneovim-27c31434663ba20cd9b53827d4d3cb4d66b1cde3.zip |
third-party: libtermkey v0.20 -> v0.21.1
$ bzr log --line --forward -r v0.20..
372: Paul "LeoNerd" Evans 2017-03-30 {v0.20} Bumped VERSION to 0.20
373: Paul "LeoNerd" Evans 2017-04-10 [merge] Apply typo fixes from jamessan
374: Paul "LeoNerd" Evans 2017-11-29 Build termkey.pc by invoking a small shell script instead of sed'ing a template
375: Paul "LeoNerd" Evans 2018-03-29 Implement mouse key parsing (thanks Marc André Tanner <mat@brain-dump.org>)
376: Paul "LeoNerd" Evans 2019-01-02 Bugfix for infinite CPU spin on TERM=dumb, which has no terminfo key strings
377: Paul "LeoNerd" Evans 2019-02-14 Fix a couple of valgrind-cleanness errors in DEBUG mode
378: Paul "LeoNerd" Evans 2019-02-14 Fix valgrind uninitialised value warning
379: Paul "LeoNerd" Evans 2019-02-14 Remember to unibi_destroy() even if we never (lazily) loaded terminfo
380: Paul "LeoNerd" Evans 2019-02-14 Bugfix memory leak in TI driver on xterm
381: Paul "LeoNerd" Evans 2019-02-17 driver-ti.c does not need a separate TYPE_MOUSE node type since TERMKEY_TYPE_MOUSE already exists
382: Paul "LeoNerd" Evans 2019-02-17 Perform TI string lookup by iterating all the strings we care about, rather than iterating everything in the DB; that way a hook function can invent new strings
383: Paul "LeoNerd" Evans 2019-02-17 Avoid nonstandard \e sequence in unit tests (via neovim https://github.com/neovim/neovim/blob/master/third-party/patches/libtermkey-Fix-escape-sequences-for-MSVC.p...
384: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 lacks <unistd.h> and S_ISFIFO()
385: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 needs help to get ssize_t
386: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 has no <termios.h>
387: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 has no poll() so cannot provide termkey_waitkey()
388: Paul "LeoNerd" Evans 2019-02-17 win32: Win32 has no <strings.h> and needs help getting strcasecmp()
389: Paul "LeoNerd" Evans 2019-02-17 Write the version into the .pc file at 'make install' time so we don't get@VERSION@ from source
390: Paul "LeoNerd" Evans 2019-02-19 {v0.21} Bumped VERSION to 0.21
391: Paul "LeoNerd" Evans 2019-02-19 Bugfix to missing TERMIOS support
392: Paul "LeoNerd" Evans 2019-02-19 Fix offbyone buffer overflow in sprintf calculation of key names (neovim #9630)
393: Paul "LeoNerd" Evans 2019-02-19 {v0.21.1} Remove a pointless (and warny) cast
Our local patches are now part of the libtermkey repo and get removed.
Diffstat (limited to 'third-party/patches/libtermkey-Fix-escape-sequences-for-MSVC.patch')
-rw-r--r-- | third-party/patches/libtermkey-Fix-escape-sequences-for-MSVC.patch | 189 |
1 files changed, 0 insertions, 189 deletions
diff --git a/third-party/patches/libtermkey-Fix-escape-sequences-for-MSVC.patch b/third-party/patches/libtermkey-Fix-escape-sequences-for-MSVC.patch deleted file mode 100644 index c1099bd3c4..0000000000 --- a/third-party/patches/libtermkey-Fix-escape-sequences-for-MSVC.patch +++ /dev/null @@ -1,189 +0,0 @@ -diff --git a/t/30mouse.c b/t/30mouse.c ---- a/t/30mouse.c -+++ b/t/30mouse.c -@@ -14,7 +14,7 @@ int main(int argc, char *argv[]) - - tk = termkey_new_abstract("vt100", 0); - -- termkey_push_bytes(tk, "\e[M !!", 6); -+ termkey_push_bytes(tk, "\x1b[M !!", 6); - - key.type = -1; - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for mouse press"); -@@ -38,7 +38,7 @@ int main(int argc, char *argv[]) - is_int(len, 21, "string length for press"); - is_str(buffer, "MousePress(1) @ (1,1)", "string buffer for press"); - -- termkey_push_bytes(tk, "\e[M@\"!", 6); -+ termkey_push_bytes(tk, "\x1b[M@\"!", 6); - - key.type = -1; - ev = -1; button = -1; line = -1; col = -1; -@@ -51,7 +51,7 @@ int main(int argc, char *argv[]) - is_int(col, 2, "mouse column for drag"); - is_int(key.modifiers, 0, "modifiers for press"); - -- termkey_push_bytes(tk, "\e[M##!", 6); -+ termkey_push_bytes(tk, "\x1b[M##!", 6); - - key.type = -1; - ev = -1; button = -1; line = -1; col = -1; -@@ -63,7 +63,7 @@ int main(int argc, char *argv[]) - is_int(col, 3, "mouse column for release"); - is_int(key.modifiers, 0, "modifiers for press"); - -- termkey_push_bytes(tk, "\e[M0++", 6); -+ termkey_push_bytes(tk, "\x1b[M0++", 6); - - key.type = -1; - ev = -1; button = -1; line = -1; col = -1; -@@ -81,7 +81,7 @@ int main(int argc, char *argv[]) - is_str(buffer, "C-MousePress(1)", "string buffer for Ctrl-press"); - - // rxvt protocol -- termkey_push_bytes(tk, "\e[0;20;20M", 10); -+ termkey_push_bytes(tk, "\x1b[0;20;20M", 10); - - key.type = -1; - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for mouse press rxvt protocol"); -@@ -96,7 +96,7 @@ int main(int argc, char *argv[]) - is_int(col, 20, "mouse column for press rxvt protocol"); - is_int(key.modifiers, 0, "modifiers for press rxvt protocol"); - -- termkey_push_bytes(tk, "\e[3;20;20M", 10); -+ termkey_push_bytes(tk, "\x1b[3;20;20M", 10); - - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for mouse release rxvt protocol"); - -@@ -111,7 +111,7 @@ int main(int argc, char *argv[]) - is_int(key.modifiers, 0, "modifiers for release rxvt protocol"); - - // SGR protocol -- termkey_push_bytes(tk, "\e[<0;30;30M", 11); -+ termkey_push_bytes(tk, "\x1b[<0;30;30M", 11); - - key.type = -1; - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for mouse press SGR encoding"); -@@ -127,7 +127,7 @@ int main(int argc, char *argv[]) - is_int(col, 30, "mouse column for press SGR"); - is_int(key.modifiers, 0, "modifiers for press SGR"); - -- termkey_push_bytes(tk, "\e[<0;30;30m", 11); -+ termkey_push_bytes(tk, "\x1b[<0;30;30m", 11); - - key.type = -1; - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for mouse release SGR encoding"); -@@ -139,7 +139,7 @@ int main(int argc, char *argv[]) - - is_int(ev, TERMKEY_MOUSE_RELEASE, "mouse event for release SGR"); - -- termkey_push_bytes(tk, "\e[<0;500;300M", 13); -+ termkey_push_bytes(tk, "\x1b[<0;500;300M", 13); - - key.type = -1; - ev = -1; button = -1; line = -1; col = -1; -diff --git a/t/31position.c b/t/31position.c -index 1748211..86ad1bc 100644 ---- a/t/31position.c -+++ b/t/31position.c -@@ -11,7 +11,7 @@ int main(int argc, char *argv[]) - - tk = termkey_new_abstract("vt100", 0); - -- termkey_push_bytes(tk, "\e[?15;7R", 8); -+ termkey_push_bytes(tk, "\x1b[?15;7R", 8); - - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for position report"); - -@@ -25,7 +25,7 @@ int main(int argc, char *argv[]) - /* A plain CSI R is likely to be <F3> though. - * This is tricky :/ - */ -- termkey_push_bytes(tk, "\e[R", 3); -+ termkey_push_bytes(tk, "\x1b[R", 3); - - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for <F3>"); - -diff --git a/t/32modereport.c b/t/32modereport.c -index 31de400..5e49705 100644 ---- a/t/32modereport.c -+++ b/t/32modereport.c -@@ -11,7 +11,7 @@ int main(int argc, char *argv[]) - - tk = termkey_new_abstract("vt100", 0); - -- termkey_push_bytes(tk, "\e[?1;2$y", 8); -+ termkey_push_bytes(tk, "\x1b[?1;2$y", 8); - - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for mode report"); - -@@ -23,7 +23,7 @@ int main(int argc, char *argv[]) - is_int(mode, 1, "mode number from mode report"); - is_int(value, 2, "mode value from mode report"); - -- termkey_push_bytes(tk, "\e[4;1$y", 7); -+ termkey_push_bytes(tk, "\x1b[4;1$y", 7); - - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for mode report"); - -diff --git a/t/38csi.c b/t/38csi.c -index 9d186f6..fd592d5 100644 ---- a/t/38csi.c -+++ b/t/38csi.c -@@ -13,7 +13,7 @@ int main(int argc, char *argv[]) - - tk = termkey_new_abstract("vt100", 0); - -- termkey_push_bytes(tk, "\e[5;25v", 7); -+ termkey_push_bytes(tk, "\x1b[5;25v", 7); - - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for CSI v"); - -@@ -26,14 +26,14 @@ int main(int argc, char *argv[]) - is_int(args[1], 25, "args[1] for unknown CSI"); - is_int(command, 'v', "command for unknown CSI"); - -- termkey_push_bytes(tk, "\e[?w", 4); -+ termkey_push_bytes(tk, "\x1b[?w", 4); - - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for CSI ? w"); - is_int(key.type, TERMKEY_TYPE_UNKNOWN_CSI, "key.type for unknown CSI"); - is_int(termkey_interpret_csi(tk, &key, args, &nargs, &command), TERMKEY_RES_KEY, "interpret_csi yields RES_KEY"); - is_int(command, '?'<<8 | 'w', "command for unknown CSI"); - -- termkey_push_bytes(tk, "\e[?$x", 5); -+ termkey_push_bytes(tk, "\x1b[?$x", 5); - - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for CSI ? $x"); - is_int(key.type, TERMKEY_TYPE_UNKNOWN_CSI, "key.type for unknown CSI"); -diff --git a/t/39dcs.c b/t/39dcs.c -index c517411..f065477 100644 ---- a/t/39dcs.c -+++ b/t/39dcs.c -@@ -12,7 +12,7 @@ int main(int argc, char *argv[]) - tk = termkey_new_abstract("xterm", 0); - - // 7bit DCS -- termkey_push_bytes(tk, "\eP1$r1 q\e\\", 10); -+ termkey_push_bytes(tk, "\x1bP1$r1 q\x1b\\", 10); - - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for DCS"); - -@@ -38,7 +38,7 @@ int main(int argc, char *argv[]) - is_int(termkey_getkey(tk, &key), TERMKEY_RES_NONE, "getkey again yields RES_NONE"); - - // 7bit OSC -- termkey_push_bytes(tk, "\e]15;abc\e\\", 10); -+ termkey_push_bytes(tk, "\x1b]15;abc\x1b\\", 10); - - is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for OSC"); - -@@ -51,7 +51,7 @@ int main(int argc, char *argv[]) - is_int(termkey_getkey(tk, &key), TERMKEY_RES_NONE, "getkey again yields RES_NONE"); - - // False alarm -- termkey_push_bytes(tk, "\eP", 2); -+ termkey_push_bytes(tk, "\x1bP", 2); - - is_int(termkey_getkey(tk, &key), TERMKEY_RES_AGAIN, "getkey yields RES_AGAIN for false alarm"); - |