1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
10 Patch 7.3.382 (after 7.3.376)
11 Problem: IME characters are inserted twice.
12 Solution: Do not call DefWindowProc() if the event was handled. (Yasuhiro
17 *** ../vim-7.3.381/src/gui_w32.c 2011-12-14 15:23:53.000000000 +0100
18 --- src/gui_w32.c 2011-12-15 21:50:51.000000000 +0100
23 show_tabline_popup_menu();
27 return MyWindowProc(hwnd, uMsg, wParam, lParam);
31 show_tabline_popup_menu();
35 return MyWindowProc(hwnd, uMsg, wParam, lParam);
41 if (wParam) /* system only really goes down when wParam is TRUE */
51 * are received, mouse pointer remains hidden. */
52 return MyWindowProc(hwnd, uMsg, wParam, lParam);
57 case WM_SIZING: /* HANDLE_MSG doesn't seem to handle this one */
59 * are received, mouse pointer remains hidden. */
60 return MyWindowProc(hwnd, uMsg, wParam, lParam);
65 case WM_SIZING: /* HANDLE_MSG doesn't seem to handle this one */
70 _OnMouseWheel(hwnd, HIWORD(wParam));
73 /* Notification for change in SystemParametersInfo() */
74 case WM_SETTINGCHANGE:
78 _OnMouseWheel(hwnd, HIWORD(wParam));
81 /* Notification for change in SystemParametersInfo() */
82 case WM_SETTINGCHANGE:
87 if (gui_mch_showing_tabline()
88 && ((LPNMHDR)lParam)->hwndFrom == s_tabhwnd)
90 send_tabline_event(TabCtrl_GetCurSel(s_tabhwnd) + 1);
96 if (gui_mch_showing_tabline()
97 && ((LPNMHDR)lParam)->hwndFrom == s_tabhwnd)
99 show_tabline_popup_menu();
118 if (!_OnImeNotify(hwnd, (DWORD)wParam, (DWORD)lParam))
119 return MyWindowProc(hwnd, uMsg, wParam, lParam);
121 case WM_IME_COMPOSITION:
122 if (!_OnImeComposition(hwnd, wParam, lParam))
123 return MyWindowProc(hwnd, uMsg, wParam, lParam);
128 if (uMsg == msh_msgmousewheel && msh_msgmousewheel != 0)
129 { /* handle MSH_MOUSEWHEEL messages for Intellimouse */
130 _OnMouseWheel(hwnd, HIWORD(wParam));
133 #ifdef MSWIN_FIND_REPLACE
134 else if (uMsg == s_findrep_msg && s_findrep_msg != 0)
137 if (!_OnImeNotify(hwnd, (DWORD)wParam, (DWORD)lParam))
138 return MyWindowProc(hwnd, uMsg, wParam, lParam);
141 case WM_IME_COMPOSITION:
142 if (!_OnImeComposition(hwnd, wParam, lParam))
143 return MyWindowProc(hwnd, uMsg, wParam, lParam);
148 if (uMsg == msh_msgmousewheel && msh_msgmousewheel != 0)
149 { /* handle MSH_MOUSEWHEEL messages for Intellimouse */
150 _OnMouseWheel(hwnd, HIWORD(wParam));
153 #ifdef MSWIN_FIND_REPLACE
154 else if (uMsg == s_findrep_msg && s_findrep_msg != 0)
155 *** ../vim-7.3.381/src/version.c 2011-12-14 20:51:19.000000000 +0100
156 --- src/version.c 2011-12-15 21:48:49.000000000 +0100
160 { /* Add new patch number below this line */
166 Even got a Datapoint 3600(?) with a DD50 connector instead of the
167 usual DB25... what a nightmare trying to figure out the pinout
168 for *that* with no spex...
170 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
171 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
172 \\\ an exciting new programming language -- http://www.Zimbu.org ///
173 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///