Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
Problem: Some internal error messages are translated.
Solution: Consistently do not translate internal error messages.
(closes #12459)
|
|
Problem: Code style test doesn't check for space after "if".
Solution: Add a test for space.
|
|
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)
|
|
Problem: Code is indented more than necessary.
Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
closes #11787)
|
|
Problem: test_mswin_event() can hang.
Solution: Add the "execute" argument to process events right away.
(Christopher Plewright, closes #11760)
|
|
Problem: Code handling low level MS-Windows events cannot be tested.
Solution: Add test_mswin_event() and tests using it. (Christopher Plewright,
closes #11622)
|
|
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)
|
|
Problem: Compiler warnings for unused variables.
Solution: Addjust #ifdef and remove unused variables. (John Marriott)
|
|
Problem: Various typos.
Solution: Correct typos. (closes #11432)
|
|
Problem: The right ALT key does not work on some MS-Windows keyboards.
Solution: Adjust the modifiers based on GetKeyState(). (Anoton Sharonov,
closes #11300)
|
|
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)
|
|
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)
|
|
Problem: CI: running tests in parallel causes flakiness.
Solution: Reorganize the MS-Windows runs. (Ken Takata, closes #11101)
|
|
Problem: GUI test sometimes fails on MS-Windows.
Solution: Make sure Vim is the foreground window. (Ken Takata, closes #11077)
|
|
Problem: MS-Windows GUI: cannot use AltGr + Space.
Solution: Check for VK_MENU instead of VK_LMENU. (Anton Sharonov,
closes #10820, closes #10753)
|
|
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)
|
|
Problem: Too many type casts for dict_get functions.
Solution: Change the key argument from "char_u *" to "char *".
|
|
Problem: Compiler warnings for signed/unsigned char.
Solution: Add type casts. (John Marriott)
|
|
Problem: Win32: cannot test low level events.
Solution: Add "sendevent" to test_gui_event(). (Yegappan Lakshmanan,
closes #10679)
|
|
Problem: Dependencies and proto files are outdated.
Solution: Update dependencies and proto files. Avoid errors.
|
|
Problem: Fix for CTRL-key combinations causes more problems than it solves.
Solution: Roll back the change.
|
|
Problem: MS-Windows GUI: CTRL-key combinations do not always work.
Solution: Handle special key combinations better. (closes #10613,
closes #10602, closes #10579)
|
|
Problem: Various warnings from clang on MS-Windows.
Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10553)
|
|
Problem: Clang on MS-Windows produces warnings.
Solution: Avoid the warnings. (Yegappan Lakshmanan, closes #10546)
|
|
Problem: Various warnings from clang on MS-Windows.
Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan,
closes #10538)
|
|
Problem: MS-Windows: mouse coordinates for scroll event are wrong.
Solution: Convert coordinates to the text area coordinates. (closes #10400)
|
|
Problem: MS-Windows GUI: unused variables.
Solution: Delete the variables. (John Marriott)
|
|
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
|
|
Problem: Mouse wheel scrolling is inconsistent.
Solution: Use the MS-Winows system setting. (closes #10368)
|
|
Problem: Win32 GUI: horizontal scroll wheel not handled properly.
Solution: Also handle WM_MOUSEHWHEEL. (closes #10309)
|
|
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)
|
|
Problem: Win32 GUI: modifiers are not always used.
Solution: Handle more modifiers. (closes #10269)
|
|
Problem: Win32 GUI: caps lock doesn't work.
Solution: Handle VK_CAPITAL. (closes #10260, closes #10258)
|
|
Problem: Processing key eveints in Win32 GUI is not ideal.
Solution: Improve processing of key events. (closes #10155)
|
|
Problem: A terminal window can't use the bell.
Solution: Add bell support for the terminal window. (closes #10178)
|
|
Problem: MS-Windows GUI: cannot use CTRL-/.
Solution: Handle the WM_KEYUP event. (Yasuhiro Matsumoto, closes #10141)
|
|
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)
|
|
Problem: MS-Windows: garbage characters on stdout with VIMDLL.
Solution: Don't call gui_focus_change() when about to quit. (Ken Takata,
closes #9840)
|
|
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.
|
|
Problem: MS-Windows: compiler warnings when compiled with /W4.
Solution: Small adjustments to the code. (Ken Takata, closes #9659)
|
|
Problem: Too much code for supporting old MSVC versions.
Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623)
|
|
Problem: MS-Windows: Support for MSVC 2003 is not useful.
Solution: Remove the exceptions for MSVC 2003. (Ken Takata, closes #9616)
|
|
Problem: MS-Windows: code for calculating font size is duplicated.
Solution: Move the code to a function. (Ken Takata, closes #9603)
|
|
Problem: MS-Windows: code for "old look" is obsolete.
Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
closes #9596)
|
|
Problem: MS-Windows: runtime check for multi-line balloon is obsolete.
Solution: Remove the obsolete code. (Ken Takata, closes #9592)
|
|
Problem: MS-Windows: still using old message API calls.
Solution: Call the "W" functions directly. (Ken Takata, closes #9582)
|
|
Problem: MS-Windows: unnessary casts and other minor things.
Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583)
|
|
Problem: MS-Windows: _WndProc() is very long.
Solution: Move code to separate functions. (Ken Takata, closes #9573)
|