K.Takata
76687d2717
patch 8.2.4213: too much code for supporting old MSVC versions
...
Problem: Too much code for supporting old MSVC versions.
Solution: Remove MSVC 2003 support. (Ken Takata, closes #9623 )
2022-01-25 10:31:37 +00:00
K.Takata
c351dc1e0c
patch 8.2.4199: MS-Windows: Support for MSVC 2003 is not useful
...
Problem: MS-Windows: Support for MSVC 2003 is not useful.
Solution: Remove the exceptions for MSVC 2003. (Ken Takata, closes #9616 )
2022-01-24 11:24:08 +00:00
K.Takata
abe628e1bd
patch 8.2.4194: MS-Windows: code for calculating font size is duplicated
...
Problem: MS-Windows: code for calculating font size is duplicated.
Solution: Move the code to a function. (Ken Takata, closes #9603 )
2022-01-23 16:25:17 +00:00
K.Takata
d1c58999c8
patch 8.2.4189: MS-Windows: code for "old look" is obsolete
...
Problem: MS-Windows: code for "old look" is obsolete.
Solution: Delete obsolete code. Use "MS Shell Dlg" font. (Ken Takata,
closes #9596 )
2022-01-23 12:31:57 +00:00
Bram Moolenaar
0bd663a380
patch 8.2.4175: MS-Windows: runtime check for multi-line balloon is obsolete
...
Problem: MS-Windows: runtime check for multi-line balloon is obsolete.
Solution: Remove the obsolete code. (Ken Takata, closes #9592 )
2022-01-22 10:24:47 +00:00
K.Takata
b7057bdd09
patch 8.2.4170: MS-Windows: still using old message API calls
...
Problem: MS-Windows: still using old message API calls.
Solution: Call the "W" functions directly. (Ken Takata, closes #9582 )
2022-01-21 11:37:07 +00:00
K.Takata
45f9cfbdc7
patch 8.2.4169: MS-Windows: unnessary casts and other minor things
...
Problem: MS-Windows: unnessary casts and other minor things.
Solution: Clean up the MS-Windows code. (Ken Takata, closes #9583 )
2022-01-21 11:11:00 +00:00
K.Takata
92000e2e71
patch 8.2.4159: MS-Windows: _WndProc() is very long
...
Problem: MS-Windows: _WndProc() is very long.
Solution: Move code to separate functions. (Ken Takata, closes #9573 )
2022-01-20 15:10:57 +00:00
K.Takata
14b8d6ac6b
patch 8.2.4158: MS-Windows: memory leak in :browse
...
Problem: MS-Windows: memory leak in :browse.
Solution: Free stuff before returning. (Ken Takata, closes #9574 )
2022-01-20 15:05:22 +00:00
K.Takata
4ac893f321
patch 8.2.4153: MS-Windows: Global IME is no longer supported
...
Problem: MS-Windows: Global IME is no longer supported.
Solution: Remove the Global IME implementation. (Ken Takata, closes #9562 )
2022-01-20 12:44:28 +00:00
K.Takata
b0b2b73dca
patch 8.2.4143: MS-Windows: IME support for Win9x is obsolete
...
Problem: MS-Windows: IME support for Win9x is obsolete.
Solution: Remove the Win9x code. (Ken Takata, closes #9559 )
2022-01-19 12:59:21 +00:00
K.Takata
c81e9bf4f0
patch 8.2.4109: MS-Windows: high dpi support is outdated
...
Problem: MS-Windows: high dpi support is outdated.
Solution: Improve High DPI support by using PerMonitorV2. (closes #9525 ,
closes #3102 )
2022-01-16 14:15:49 +00:00
Bram Moolenaar
d82a47dd04
patch 8.2.4012: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
2022-01-05 20:24:39 +00:00
Bram Moolenaar
a6f7929e62
patch 8.2.4005: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-04 21:30:47 +00:00
Bram Moolenaar
cbadefe25a
patch 8.2.3975: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-01 19:33:50 +00:00
Bram Moolenaar
74409f6279
patch 8.2.3970: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 15:58:22 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Dominique Pelle
af4a61a85d
patch 8.2.3914: various spelling mistakes in comments
...
Problem: Various spelling mistakes in comments.
Solution: Fix the mistakes. (Dominique Pellé, closes #9416 )
2021-12-27 17:21:41 +00:00
K.Takata
4f2417ffee
patch 8.2.2940: MS-Windows: cannot see the size when resizing
...
Problem: MS-Windows: cannot see the size of the text area when resizing the
gvim window.
Solution: Show a tooltip with the text size. (Ken Takata, closes #8326 )
2021-06-05 16:25:32 +02:00
K.Takata
eeec254878
patch 8.2.2922: computing array length is done in various ways
...
Problem: Computing array length is done in various ways.
Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305 )
2021-06-02 13:28:16 +02:00
Bram Moolenaar
032f40afb8
patch 8.2.2008: MS-Windows GUI: handling channel messages lags
...
Problem: MS-Windows GUI: handling channel messages lags.
Solution: Reduce the wait time from 100 to 10 msec. (closes #7097 )
2020-11-18 15:21:50 +01:00
Bram Moolenaar
185577e47e
patch 8.2.1922: Win32: scrolling problems when part of window is off-screen
...
Problem: Win32: scrolling doesn't work properly when part of window is
off-screen.
Solution: Fall back to GDI scrolling if part of the window is off-screen.
Handle multi-monitor setup better. (Ken Takata, closes #7219 )
2020-10-29 20:08:21 +01:00
Bram Moolenaar
daff0fb738
patch 8.2.1752: GTK GUI: cannot map alt-? with <A-?>
...
Problem: GTK GUI: cannot map alt-? with <A-?>. (Ingo Karkat)
Solution: Adjust the characters for which the shift modifier is removed.
(closes #7016 ) Make Motif and Win32 use the same function as GTK.
2020-09-27 13:16:46 +02:00
Bram Moolenaar
b68ced5f07
patch 8.2.1232: MS-Windows GUI: Snap cancelled by split command
...
Problem: MS-Windows GUI: Snap cancelled by split command.
Solution: Do not cancel Snap when splitting a window. (Ken Takata,
closes #6467 )
2020-07-17 22:26:53 +02:00
Bram Moolenaar
945c857844
patch 8.2.1231: MS-Windows: GUI code can be cleaned up
...
Problem: MS-Windows: GUI code can be cleaned up.
Solution: Do a bit of cleaning up. (Ken Takata, closes #6465 )
2020-07-17 22:17:03 +02:00
Bram Moolenaar
203ec7760d
patch 8.2.1228: scrollbars not flush against the window edges when maximised
...
Problem: Scrollbars not flush against the window edges when maximised.
Solution: Add padding. (Ken Takata, closes #5602 , closes #6466 )
2020-07-17 20:43:43 +02:00
Bram Moolenaar
98af99f2d7
patch 8.2.1226: MS-Windows: windows positioning wrong depending on taskbar
...
Problem: MS-Windows: windows positioning wrong when the taskbar is placed
at the top or left of the screen.
Solution: Use GetWindowRect and MoveWindow APIs. (Yukihiro Nakadaira,
Ken Takata, closes #6455 )
2020-07-16 22:30:31 +02:00
Bram Moolenaar
fd615a3c90
patch 8.2.0765: In the GUI can't use all the modifiers.
...
Problem: In the GUI can't use all the modifiers. (Andri Möll)
Solution: Do not apply Alt/Meta early, do it later like with the terminal.
Avoid the Motif test from crashing.
2020-05-16 14:01:51 +02:00
Bram Moolenaar
a80faa8930
patch 8.2.0559: clearing a struct is verbose
...
Problem: Clearing a struct is verbose.
Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-04-12 19:37:17 +02:00
Bram Moolenaar
00d253e2b2
patch 8.2.0523: loops are repeated
...
Problem: Loops are repeated.
Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882 )
2020-04-06 22:13:01 +02:00
Bram Moolenaar
734a867ffe
patch 8.1.2383: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-02 22:49:38 +01:00
Bram Moolenaar
912bc4a51a
patch 8.1.2376: preprocessor indents are incorrect
...
Problem: Preprocessor indents are incorrect.
Solution: Fix the indents. (Ken Takata, closes #5298 )
2019-12-01 18:58:11 +01:00
Bram Moolenaar
05ad5ff0ab
patch 8.1.2371: FEAT_TEXT_PROP is a confusing name
...
Problem: FEAT_TEXT_PROP is a confusing name.
Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291 )
2019-11-30 22:48:27 +01:00
Bram Moolenaar
310c32e892
patch 8.1.2361: MS-Windows: test failures related to VIMDLL
...
Problem: MS-Windows: test failures related to VIMDLL.
Solution: Adjust code and tests. (Ken Takata, closes #5283 )
2019-11-29 23:15:25 +01:00
Bram Moolenaar
a075490082
patch 8.1.2323: Old MSVC version no longer tested.
...
Problem: Old MSVC version no longer tested.
Solution: Drop support for MSCV 2008 and older. (Ken Takata, closes #5248 )
2019-11-19 23:01:28 +01:00
Bram Moolenaar
5f76334818
patch 8.1.2318: MS-Windows GUI: main background shows in toolbar
...
Problem: MS-Windows GUI: main background shows in toolbar.
Solution: Remove transparency from the toolbar. (Simon Sadler)
2019-11-17 22:54:10 +01:00
Bram Moolenaar
ab85ca4e6a
patch 8.1.2301: MS-Windows GUI: drawing error when background color changes
...
Problem: MS-Windows GUI: drawing error when background color changes.
Solution: Implement gui_mch_new_colors(). (Simon Sadler)
2019-11-15 22:41:14 +01:00
Bram Moolenaar
ae20f340ad
patch 8.1.2257: MS-Windows GUI: scroll wheel always uses current window
...
Problem: MS-Windows GUI: scroll wheel always uses current window.
Solution: Add the 'scrollfocus' option for MS-Windows.
2019-11-05 21:09:23 +01:00
Bram Moolenaar
0630bb6580
patch 8.1.2254: MS-Windows: mouse scroll wheel doesn't work in popup
...
Problem: MS-Windows: mouse scroll wheel doesn't work in popup.
Solution: Handle mouse wheel events separately. (closes #5138 )
2019-11-04 22:52:12 +01:00
Bram Moolenaar
93bbf33ceb
patch 8.1.2202: MS-Windows: build failure with GUI and small features
...
Problem: MS-Windows: build failure with GUI and small features.
Solution: Add #ifdef. (Michael Soyka, closes #5097 )
2019-10-23 21:43:16 +02:00
Bram Moolenaar
459fd785e4
patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabled
...
Problem: Cannot map <C-H> when modifyOtherKeys is enabled.
Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use
only the first one when modifyOtherKeys has been detected.
2019-10-13 16:43:39 +02:00
Bram Moolenaar
bd67aac279
patch 8.1.2064: MS-Windows: compiler warnings for unused arguments
...
Problem: MS-Windows: compiler warnings for unused arguments.
Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963 )
2019-09-21 23:09:04 +02:00
Bram Moolenaar
89c0003331
patch 8.1.1975: MS-Windows GUI responds slowly to timer
...
Problem: MS-Windows GUI responds slowly to timer.
Solution: Break out of wait loop when timer was added or input is available.
(closes #4893 )
2019-09-04 13:53:21 +02:00
Bram Moolenaar
59edb00e22
patch 8.1.1415: build error in MS-Windows GUI
...
Problem: Build error in MS-Windows GUI.
Solution: Fix the LALLOC_MULT() argument.
2019-05-28 23:32:47 +02:00
Bram Moolenaar
c799fe206e
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts
...
Problem: Alloc() returning "char_u *" causes a lot of type casts.
Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to
check the simple allocations.
2019-05-28 23:08:19 +02:00
Bram Moolenaar
18a4ba29ae
patch 8.1.1386: unessesary type casts for lalloc()
...
Problem: Unessesary type casts for lalloc().
Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
2019-05-24 19:39:03 +02:00
Bram Moolenaar
964b3746b9
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
...
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
2019-05-24 18:54:09 +02:00
Bram Moolenaar
eae1b91fea
patch 8.1.1306: Borland support is outdated and doesn't work
...
Problem: Borland support is outdated and doesn't work.
Solution: Remove Borland support, there are other (free) compilers
available. (Thomas Dziedzic, Ken Takata, closes #4364 )
2019-05-09 15:12:55 +02:00
Bram Moolenaar
be0a2597ae
patch 8.1.1303: not possible to hide a balloon
...
Problem: Not possible to hide a balloon.
Solution: Hide the balloon when balloon_show() is called with an empty
string or list. Add balloon_gettext().
2019-05-09 13:50:16 +02:00
Bram Moolenaar
0b75f7c97c
patch 8.1.1301: when compiled with VIMDLL some messages are not shown
...
Problem: When compiled with VIMDLL some messages are not shown.
Solution: Set/reset gui.in_use and gui.starting as needed. (Ken Takata,
closes #4361 )
2019-05-08 22:28:46 +02:00