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
Bram Moolenaar
93d77b2cbe
patch 8.1.1294: MS-Windows: Some fonts return wrong average char width
...
Problem: MS-Windows: Some fonts return wrong average char width.
Solution: Compute the average ourselves. (Ken Takata, closes #4356 )
2019-05-07 22:52:50 +02:00
Bram Moolenaar
a0e67fc166
patch 8.1.1238: MS-Windows: compiler warning for sprintf() format
...
Problem: MS-Windows: compiler warning for sprintf() format.
Solution: Change %d to %ld. (Ken Takata)
2019-04-29 21:46:26 +02:00
Bram Moolenaar
afde13b62b
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
...
Problem: A lot of code is shared between vim.exe and gvim.exe.
Solution: Optionally put the shared code in vim.dll. (Ken Takata,
closes #4287 )
2019-04-28 19:46:49 +02:00
Bram Moolenaar
f720d0a77e
patch 8.1.1224: MS-Windows: cannot specify font weight
...
Problem: MS-Windows: cannot specify font weight.
Solution: Add the "W" option to 'guifont'. (closes #4309 ) Move GUI font
explanation out of options.txt.
2019-04-28 14:02:47 +02:00
Bram Moolenaar
2155a6abaa
patch 8.1.1217: MS-Windows: no space reserved for font quality name
...
Problem: MS-Windows: no space reserved for font quality name.
Solution: Add quality_name length if present. (Ken Takata, closes #4311 )
2019-04-27 19:15:45 +02:00
Bram Moolenaar
0eb035c974
patch 8.1.1103: MS-Windows: old API calls are no longer needed
...
Problem: MS-Windows: old API calls are no longer needed.
Solution: Always use the wide functions. (Ken Takata, closes #4199 )
2019-04-02 22:15:55 +02:00
Bram Moolenaar
abab0b0fdd
patch 8.1.1086: too many curly braces
...
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982 )
2019-03-30 18:47:01 +01:00
Bram Moolenaar
433a5eb9de
patch 8.1.1081: MS-Windows: cannot use some fonts
...
Problem: MS-Windows: cannot use fonts whose name cannot be represented in
the current code page.
Solution: Use wide font functions. (Ken Takata, closes #4000 )
2019-03-30 16:24:16 +01:00
Bram Moolenaar
89828e9fe6
patch 8.1.1066: VIMDLL isn't actually used
...
Problem: VIMDLL isn't actually used.
Solution: Remove VIMDLL support.
2019-03-28 22:43:16 +01:00
Bram Moolenaar
760285dd4f
patch 8.1.1060: MS-Windows: get_cmd_args() is no longer needed
...
Problem: MS-Windows: get_cmd_args() is no longer needed, get_cmd_argsW() is
always used.
Solution: Remove get_cmd_args(). (Ken Takata, closes #4171 )
2019-03-27 21:59:45 +01:00
Bram Moolenaar
60ebd524cf
patch 8.1.1029: DirectWrite doesn't take 'linespace' into account
...
Problem: DirectWrite doesn't take 'linespace' into account.
Solution: Include 'linespace' in the position. (Ken Takata, closes #4137 )
2019-03-21 20:50:12 +01:00
Bram Moolenaar
12dfc9eef1
patch 8.1.0840: getchar(0) never returns a character in the terminal
...
Problem: getchar(0) never returns a character in the terminal.
Solution: Call wait_func() at least once.
2019-01-28 22:32:58 +01:00
Bram Moolenaar
091806d6f0
patch 8.1.0808: MS-Windows: build error with GUI
...
Problem: MS-Windows: build error with GUI.
Solution: Remove "static".
2019-01-24 16:27:46 +01:00
Bram Moolenaar
fc3abf47fb
patch 8.1.0806: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 2.
2019-01-24 15:54:21 +01:00
Bram Moolenaar
2d951a486e
patch 8.1.0782: Win32: cursor blinks when Vim is not active
...
Problem: Win32: cursor blinks when Vim is not active.
Solution: Remove call to setActiveWindow(). (Yasuhiro Matsumoto,
closes #3778 )
2019-01-19 19:54:20 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
6d9e71ad99
patch 8.1.0652: freeing memory for balloon eval too early
...
Problem: Freeing memory for balloon eval too early.
Solution: Store the pointer in BalloonEval and free it later. (Yasuhiro
Matsumoto, closes #3725 )
2018-12-28 19:13:34 +01:00
Bram Moolenaar
d385b5d329
patch 8.1.0647: MS-Windows: balloon_show() does not handle wide characters
...
Problem: MS-Windows: balloon_show() does not handle wide characters.
Solution: Use CreateWindowExW(). (Yasuhiro Matsumoto, closes #3708 )
2018-12-27 22:43:08 +01:00
Bram Moolenaar
c4568ab37e
patch 8.1.0528: various typos in comments
...
Problem: Various typos in comments.
Solution: Fix the typos.
2018-11-16 16:21:05 +01:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00
Bram Moolenaar
7ff8a3cfb6
patch 8.1.0427: MS-Windows GUI: using invalid encoded file name
...
Problem: MS-Windows GUI: using invalid encoded file name.
Solution: Drop the file name and return NULL. (Ken Takata, closes #3467 )
2018-09-22 14:39:15 +02:00