summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
AgeCommit message (Collapse)Author
2024-01-23patch 9.1.0050: Win32 Keyboard handling is sub-optimalv9.1.0050Anton Sharonov
Problem: Win32 Keyboard handling is sub-optimal and has many issues with international keyboards (risa2000) (after v8.2.4807) Solution: soft-rollback the change, allow the user to select a suitable key-translation strategy (Anton Sharonov) Read about the details in the help: :h w32-experimental-keycode-trans-strategy fixes: #10615 fixes: #12595 closes: #12752 Signed-off-by: Anton Sharonov <anton.sharonov@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-12patch 9.1.0026: win32: Windows default font lackingv9.1.0026Ken Takata
Problem: win32: Windows default font lacking (@clach04) Solution: Improve default font (Ken Takata) win32: Improve default font Currently, Fixedsys is the default font on Windows. It is not suitable for recent High DPI environments. * Change the default font to Consolas. * Allow to change the default font by the translation message. E.g.: ``` msgid "DefaultFontNameForWindows" msgstr "Courier New" ``` fixes: #12919 closes: #13266 Signed-off-by: Ken Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-05patch 9.0.1987: win32: font-size calculation can be improvedv9.0.1987Ken Takata
Problem: win32: font-size calculation can be improved Solution: calculate font size before the window size Support calculating the new size even if a bitmap font is used. Calculate the new font size before actually change the Window size. closes: #13280 related: #11812, #13252 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ken Takata <kentkt@csc.jp>
2023-10-02patch 9.0.1970: win32: high-dpi support can be improvedv9.0.1970Ken Takata
Problem: win32: high-dpi support can be improved Solution: implement WM_GETDPISCALEDSIZE win32: Better support of Per-Monitor V2 High DPI Implement WM_GETDPISCALEDSIZE. It is not so easy to calculate the new size without actually changing the size. So, this returns an approximate size. This doesn't work well when a bitmap font (e.g. FixedSys) is selected, but I think this is acceptable. closes: #11812 closes: #13252 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ken Takata <kentkt@csc.jp>
2023-05-31patch 9.0.1594: some internal error messages are translatedv9.0.1594RestorerZ
Problem: Some internal error messages are translated. Solution: Consistently do not translate internal error messages. (closes #12459)
2023-05-09patch 9.0.1529: code style test doesn't check for space after "if"v9.0.1529Bram Moolenaar
Problem: Code style test doesn't check for space after "if". Solution: Add a test for space.
2023-03-07patch 9.0.1391: "clear" macros are not always usedv9.0.1391Yegappan Lakshmanan
Problem: "clear" macros are not always used. Solution: Use ALLOC_ONE, VIM_CLEAR, CLEAR_POINTER and CLEAR_FIELD in more places. (Yegappan Lakshmanan, closes #12104)
2023-01-08patch 9.0.1158: code is indented more than necessaryv9.0.1158Yegappan Lakshmanan
Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11787)
2022-12-30patch 9.0.1112: test_mswin_event() can hangv9.0.1112Christopher Plewright
Problem: test_mswin_event() can hang. Solution: Add the "execute" argument to process events right away. (Christopher Plewright, closes #11760)
2022-12-20patch 9.0.1084: code handling low level MS-Windows events cannot be testedv9.0.1084Christopher Plewright
Problem: Code handling low level MS-Windows events cannot be tested. Solution: Add test_mswin_event() and tests using it. (Christopher Plewright, closes #11622)
2022-11-16patch 9.0.0888: MS-Windows GUI: CTRL-] does not work on Swiss keyboardv9.0.0888Aedin Louis Xavier
Problem: MS-Windows GUI: CTRL-] does not work on Swiss keyboard. Solution: Check the key code and don't consider it as a dead key. (Aedin Louis Xavier, closes #11556)
2022-11-06patch 9.0.0838: compiler warnings for unused variablesv9.0.0838Bram Moolenaar
Problem: Compiler warnings for unused variables. Solution: Addjust #ifdef and remove unused variables. (John Marriott)
2022-11-02patch 9.0.0828: various typosv9.0.0828dundargoc
Problem: Various typos. Solution: Correct typos. (closes #11432)
2022-10-07patch 9.0.0686: the right ALT key does not work on some MS-Windows keyboardsv9.0.0686Anton Sharonov
Problem: The right ALT key does not work on some MS-Windows keyboards. Solution: Adjust the modifiers based on GetKeyState(). (Anoton Sharonov, closes #11300)
2022-10-04patch 9.0.0657: too many #ifdefsv9.0.0657Martin Tournoij
Problem: Too many #ifdefs. Solution: Graduate the +cmdwin feature. Now the tiny and small builds are equal, drop the small build. (Martin Tournoij, closes #11268)
2022-09-26patch 9.0.0597: cannot close a tab page with the middle mouse buttonv9.0.0597regomne
Problem: Cannot close a tab page with the middle mouse button. Solution: Support closing a tab page with the middle mouse button, like many other programs. (closes #10746)
2022-09-10patch 9.0.0436: CI: running tests in parallel causes flakinessv9.0.0436K.Takata
Problem: CI: running tests in parallel causes flakiness. Solution: Reorganize the MS-Windows runs. (Ken Takata, closes #11101)
2022-09-07patch 9.0.0408: GUI test sometimes fails on MS-Windowsv9.0.0408K.Takata
Problem: GUI test sometimes fails on MS-Windows. Solution: Make sure Vim is the foreground window. (Ken Takata, closes #11077)
2022-07-31patch 9.0.0120: MS-Windows GUI: cannot use AltGr + Spacev9.0.0120Anton Sharonov
Problem: MS-Windows GUI: cannot use AltGr + Space. Solution: Check for VK_MENU instead of VK_LMENU. (Anton Sharonov, closes #10820, closes #10753)
2022-07-26patch 9.0.0087: MS-Windows: CTRL-[ on Belgian keyboard does not work like Escv9.0.0087Anton Sharonov
Problem: MS-Windows: CTRL-[ on Belgian keyboard does not work like Esc. Solution: Figure out what the key code means. (Anton Sharonov, closes #10687, closes #10454)
2022-07-23patch 9.0.0063: too many type casts for dict_get functionsv9.0.0063Bram Moolenaar
Problem: Too many type casts for dict_get functions. Solution: Change the key argument from "char_u *" to "char *".
2022-07-23patch 9.0.0062: compiler warnings for signed/unsigned charv9.0.0062Bram Moolenaar
Problem: Compiler warnings for signed/unsigned char. Solution: Add type casts. (John Marriott)
2022-07-23patch 9.0.0058: Win32: cannot test low level eventsv9.0.0058Yegappan Lakshmanan
Problem: Win32: cannot test low level events. Solution: Add "sendevent" to test_gui_event(). (Yegappan Lakshmanan, closes #10679)
2022-06-27patch 8.2.5171: dependencies and proto files are outdatedv8.2.5171Bram Moolenaar
Problem: Dependencies and proto files are outdated. Solution: Update dependencies and proto files. Avoid errors.
2022-06-25patch 8.2.5159: fix for CTRL-key combinations causes problemsv8.2.5159Bram Moolenaar
Problem: Fix for CTRL-key combinations causes more problems than it solves. Solution: Roll back the change.
2022-06-24patch 8.2.5157: MS-Windows GUI: CTRL-key combinations do not always workv8.2.5157LemonBoy
Problem: MS-Windows GUI: CTRL-key combinations do not always work. Solution: Handle special key combinations better. (closes #10613, closes #10602, closes #10579)
2022-06-11patch 8.2.5077: various warnings from clang on MS-Windowsv8.2.5077Yegappan Lakshmanan
Problem: Various warnings from clang on MS-Windows. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10553)
2022-06-09patch 8.2.5073: clang on MS-Windows produces warningsv8.2.5073Bram Moolenaar
Problem: Clang on MS-Windows produces warnings. Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
2022-06-08patch 8.2.5069: various warnings from clang on MS-Windowsv8.2.5069Yegappan Lakshmanan
Problem: Various warnings from clang on MS-Windows. Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan, closes #10538)
2022-05-10patch 8.2.4936: MS-Windows: mouse coordinates for scroll event are wrongv8.2.4936LemonBoy
Problem: MS-Windows: mouse coordinates for scroll event are wrong. Solution: Convert coordinates to the text area coordinates. (closes #10400)
2022-05-08patch 8.2.4920: MS-Windows GUI: unused variablesv8.2.4920Bram Moolenaar
Problem: MS-Windows GUI: unused variables. Solution: Delete the variables. (John Marriott)
2022-05-07patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar
Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-07patch 8.2.4902: mouse wheel scrolling is inconsistentv8.2.4902LemonBoy
Problem: Mouse wheel scrolling is inconsistent. Solution: Use the MS-Winows system setting. (closes #10368)
2022-05-05patch 8.2.4874: Win32 GUI: horizontal scroll wheel not handled properlyv8.2.4874LemonBoy
Problem: Win32 GUI: horizontal scroll wheel not handled properly. Solution: Also handle WM_MOUSEHWHEEL. (closes #10309)
2022-04-28patch 8.2.4843: treating CTRL + ALT as AltGr is not backwards compatiblev8.2.4843LemonBoy
Problem: Win32 GUI: Treating CTRL + ALT as AltGr is not backwards compatible. (Axel Bender) Solution: Make a difference between left and right menu keys. (closes #10308)
2022-04-24patch 8.2.4817: Win32 GUI: modifiers are not always usedv8.2.4817LemonBoy
Problem: Win32 GUI: modifiers are not always used. Solution: Handle more modifiers. (closes #10269)
2022-04-23patch 8.2.4811: Win32 GUI: caps lock doesn't workv8.2.4811LemonBoy
Problem: Win32 GUI: caps lock doesn't work. Solution: Handle VK_CAPITAL. (closes #10260, closes #10258)
2022-04-22patch 8.2.4807: processing key eveints in Win32 GUI is not idealv8.2.4807LemonBoy
Problem: Processing key eveints in Win32 GUI is not ideal. Solution: Improve processing of key events. (closes #10155)
2022-04-13patch 8.2.4744: a terminal window can't use the bellv8.2.4744LemonBoy
Problem: A terminal window can't use the bell. Solution: Add bell support for the terminal window. (closes #10178)
2022-04-10patch 8.2.4730: MS-Windows GUI: cannot use CTRL-/v8.2.4730Yasuhiro Matsumoto
Problem: MS-Windows GUI: cannot use CTRL-/. Solution: Handle the WM_KEYUP event. (Yasuhiro Matsumoto, closes #10141)
2022-03-01patch 8.2.4486: MS-Windows GUI: slow scrolling with maximized windowv8.2.4486Bram Moolenaar
Problem: MS-Windows GUI: slow scrolling with maximized window. Solution: Use a better way to check the window is on screen. (Ken Takata, closes #9865)
2022-02-24patch 8.2.4461: MS-Windows: garbage characters on stdout with VIMDLLv8.2.4461Bram Moolenaar
Problem: MS-Windows: garbage characters on stdout with VIMDLL. Solution: Don't call gui_focus_change() when about to quit. (Ken Takata, closes #9840)
2022-02-03patch 8.2.4290: MS-Windows: using type casts for timer IDsv8.2.4290K.Takata
Problem: MS-Windows: using type casts for timer IDs. Solution: Remove type casts and use the right type. (Ken Takata, closes #9690) Remove old debug comments. Rename variables and functions.
2022-01-29patch 8.2.4256: MS-Windows: compiler warnings when compiled with /W4v8.2.4256K.Takata
Problem: MS-Windows: compiler warnings when compiled with /W4. Solution: Small adjustments to the code. (Ken Takata, closes #9659)
2022-01-25patch 8.2.4213: too much code for supporting old MSVC versionsv8.2.4213K.Takata
Problem: Too much code for supporting old MSVC versions. Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
2022-01-24patch 8.2.4199: MS-Windows: Support for MSVC 2003 is not usefulv8.2.4199K.Takata
Problem: MS-Windows: Support for MSVC 2003 is not useful. Solution: Remove the exceptions for MSVC 2003. (Ken Takata, closes #9616)
2022-01-23patch 8.2.4194: MS-Windows: code for calculating font size is duplicatedv8.2.4194K.Takata
Problem: MS-Windows: code for calculating font size is duplicated. Solution: Move the code to a function. (Ken Takata, closes #9603)
2022-01-23patch 8.2.4189: MS-Windows: code for "old look" is obsoletev8.2.4189K.Takata
Problem: MS-Windows: code for "old look" is obsolete. Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata, closes #9596)
2022-01-22patch 8.2.4175: MS-Windows: runtime check for multi-line balloon is obsoletev8.2.4175Bram Moolenaar
Problem: MS-Windows: runtime check for multi-line balloon is obsolete. Solution: Remove the obsolete code. (Ken Takata, closes #9592)
2022-01-21patch 8.2.4170: MS-Windows: still using old message API callsv8.2.4170K.Takata
Problem: MS-Windows: still using old message API calls. Solution: Call the "W" functions directly. (Ken Takata, closes #9582)