annotate src/glbl_ime.h @ 13186:dc39ef257b60 v8.0.1467

patch 8.0.1467: libvterm doesn't handle illegal byte sequence correctly commit https://github.com/vim/vim/commit/fef4ddd5eb8816a6607a624aa401bcfa71a63def Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 4 14:49:57 2018 +0100 patch 8.0.1467: libvterm doesn't handle illegal byte sequence correctly Problem: Libvterm doesn't handle illegal byte sequence correctly. Solution: After the invalid code check if there is space to store another character. Allocate one more character. (zhykzhykzhyk, closes #2614, closes #2613)
author Christian Brabandt <cb@256bit.org>
date Sun, 04 Feb 2018 15:00:04 +0100
parents 4aead6a9b7a9
children 6e3dc2d630c2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10042
4aead6a9b7a9 commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents: 378
diff changeset
1 /* vi:set ts=8 sts=4 sw=4 noet:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 *
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 * VIM - Vi IMproved by Bram Moolenaar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 *
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 * Do ":help uganda" in Vim to read copying and usage conditions.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 * Do ":help credits" in Vim to see a list of people who contributed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 #ifdef GLOBAL_IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 #ifndef _INC_GLOBAL_IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 #define _INC_GLOBAL_IME
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 #ifdef __cplusplus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 extern "C" {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 #endif /* __cplusplus */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 void global_ime_init(ATOM, HWND);
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
17 void global_ime_end(void);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 LRESULT WINAPI global_ime_DefWindowProc(HWND, UINT, WPARAM, LPARAM);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 BOOL WINAPI global_ime_TranslateMessage(CONST MSG *);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 void WINAPI global_ime_set_position(POINT*);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 void WINAPI global_ime_set_font(LOGFONT*);
378
6b49757d378c updated for version 7.0098
vimboss
parents: 344
diff changeset
22 #if 0
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
23 void WINAPI global_ime_status_evacuate(void);
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
24 void WINAPI global_ime_status_restore(void);
378
6b49757d378c updated for version 7.0098
vimboss
parents: 344
diff changeset
25 #endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 void WINAPI global_ime_set_status(int status);
344
7033303ea0c0 updated for version 7.0089
vimboss
parents: 7
diff changeset
27 int WINAPI global_ime_get_status(void);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 #ifdef __cplusplus
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 #endif /* __cplusplus */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 #endif /* _INC_GLOBAL_IME */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 #endif /* GLOBAL_IME */