Bram Moolenaar
023fd5d213
patch 8.2.2111: GTK: menu background is the same color as the main window
...
Problem: GTK: Menu background is the same color as the main window.
Solution: Fix white space around the test in another way. (closes #7437 ,
closes #7427 )
2020-12-08 20:31:16 +01:00
Bram Moolenaar
ff94bd9e47
patch 8.2.2043: GTK3: white border around text stands out
...
Problem: GTK3: white border around text stands out.
Solution: Use current theme color. (closes #7357 , issue #349 )
2020-11-25 12:25:47 +01:00
Bram Moolenaar
70cf45810c
patch 8.2.1913: GTK GUI: rounding for the cell height is too strict
...
Problem: GTK GUI: rounding for the cell height is too strict.
Solution: Round up above 15/16 of a pixel. (closes #7203 )
2020-10-27 20:43:26 +01:00
Bram Moolenaar
e100440158
patch 8.2.1898: command modifier parsing always uses global cmdmod
...
Problem: Command modifier parsing always uses global cmdmod.
Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-24 20:49:43 +02:00
Bram Moolenaar
8a99e66b4f
patch 8.2.1878: GTK: error for redefining function
...
Problem: GTK: error for redefining function. (Tony Mechelynck)
Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to
global functions.
2020-10-21 16:10:21 +02:00
Bram Moolenaar
4e2114e988
patch 8.2.1809: mapping some keys with Ctrl does not work properly
...
Problem: Mapping some keys with Ctrl does not work properly.
Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
2020-10-07 16:12:37 +02:00
Bram Moolenaar
32fbc4f247
patch 8.2.1774: GTK: hang when forced to exit
...
Problem: GTK: hang when forced to exit.
Solution: Do not clean up "mainwin" when really_exiting is set.
(Zdenek Dohnal, closes #7042 )
2020-09-29 22:16:09 +02:00
Bram Moolenaar
81a4cf469a
patch 8.2.1645: GTK3: icons become broken images when resized
...
Problem: GTK3: icons become broken images when resized.
Solution: Use gtk_image_new_from_icon_name(). (closes #6916 )
Fix compiler warnings.
2020-09-09 19:05:13 +02:00
Bram Moolenaar
4e1d8bd79b
patch 8.2.1335: CTRL-C in the GUI doesn't interrupt
...
Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov)
Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565 )
2020-08-01 13:10:14 +02:00
Bram Moolenaar
820ffa567c
patch 8.2.1027: GUI: multi-byte characters do not work in a terminal
...
Problem: GUI: multi-byte characters do not work in a terminal.
Solution: Do not assume a key is one byte. (closes #6304 )
2020-06-21 15:09:14 +02:00
Bram Moolenaar
ef6746f637
patch 8.2.1019: mapping <M-S-a> does not work in the GUI
...
Problem: Mapping <M-S-a> does not work in the GUI.
Solution: Move the logic to remove the shift modifier to
may_remove_shift_modifier() and also use it in the GUI.
2020-06-20 14:43:23 +02:00
Bram Moolenaar
5cd1cb9ff9
patch 8.2.0857: GTK cell height can be a pixel too much
...
Problem: GTK cell height can be a pixel too much.
Solution: Subtract 3 instead of 1 when rounding. (closes #6168 )
2020-05-31 13:53:04 +02:00
Bram Moolenaar
f4ae6b245a
patch 8.2.0851: can't distinguish <M-a> from accented "a" in the GUI
...
Problem: Can't distinguish <M-a> from accented "a" in the GUI.
Solution: Use another way to make mapping <C-bslash> work. (closes #6163 )
2020-05-30 19:52:46 +02:00
Bram Moolenaar
aa5fc4ec51
patch 8.2.0770: cannot map CTRL-B when using the GUI
...
Problem: Cannot map CTRL-B when using the GUI.
Solution: Reset the CTRL modifier when used. (closes #6092 )
2020-05-16 18:57:53 +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
14285cb801
patch 8.2.0464: typos and other small problems
...
Problem: Typos and other small problems.
Solution: Fix the typos. Add missing files to the distribution.
2020-03-27 20:58:37 +01:00
Bram Moolenaar
306139005c
patch 8.1.2380: using old C style comments
...
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
2019-12-01 22:11:18 +01:00
Bram Moolenaar
546125869f
patch 8.1.2327: cannot build with Hangul input
...
Problem: Cannot build with Hangul input.
Solution: Remove Hangul input support.
2019-11-21 17:13:31 +01:00
Bram Moolenaar
32aa10203b
patch 8.1.2243: typos in comments
...
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160 ) Also adjust
formatting a bit.
2019-11-02 22:54:41 +01:00
Bram Moolenaar
50bf7ce0c9
patch 8.1.2034: dark them of GTK 3 not supported
...
Problem: Dark them of GTK 3 not supported.
Solution: Add the "d" flag in 'guioptions'. (Jonathan Conder, closes #4934 )
2019-09-15 13:17:00 +02:00
Bram Moolenaar
f96ae0b5a2
patch 8.1.1767: FEAT_SESSION defined separately
...
Problem: FEAT_SESSION defined separately.
Solution: Make FEAT_SESSION depend on FEAT_EVAL.
2019-07-28 15:21:55 +02:00
Bram Moolenaar
0554fa478d
patch 8.1.1531: clipboard type name is inconsistent
...
Problem: Clipboard type name is inconsistent.
Solution: Rename VimClipboard to Clipboard_T.
2019-06-14 21:36:54 +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
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
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
6ee9658774
patch 8.1.1219: not checking for NULL return from alloc()
...
Problem: Not checking for NULL return from alloc().
Solution: Add checks. (Martin Kunev, closes #4303 , closes #4174 )
2019-04-27 22:06:37 +02:00
Bram Moolenaar
bdace838c6
patch 8.1.0989: various small code ugliness
...
Problem: Various small code ugliness.
Solution: Remove pointless NULL checks. Fix function calls. Fix typos.
(Dominique Pelle, closes #4060 )
2019-03-02 10:13:42 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932 )
2019-02-17 17:44:42 +01:00
Bram Moolenaar
34a587457f
patch 8.1.0872: confusing condition
...
Problem: Confusing condition.
Solution: Use "==" instead of "<=".
2019-02-03 15:28:28 +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
113e10721f
patch 8.1.0785: depending on the configuration some functions are unused
...
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822 )
2019-01-20 15:30:40 +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
295471920d
patch 8.1.0577: tabpage right-click menu never shows "Close tab"
...
Problem: Tabpage right-click menu never shows "Close tab".
Solution: Always create the "Close tab" item but ignore the event if there
is only one tab.
2018-12-11 20:39:19 +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
92cbf62b87
patch 8.1.0412: cannot build with GTK 2.4
...
Problem: Cannot build with GTK 2.4.
Solution: Add back a few #ifdefs. (Ken Takata, closes #3447 )
Also support older GTK. (Tom Christensen)
2018-09-19 22:40:03 +02:00
Bram Moolenaar
664323e7c8
patch 8.1.0405: too many #ifdefs for GTK
...
Problem: Too many #ifdefs for GTK.
Solution: Define macros instead of using #ifdef. (Ken Takata, closes #3436 )
2018-09-18 22:30:07 +02:00
Bram Moolenaar
25328e39d2
patch 8.1.0368: GTK code has too many #ifdefs and GTK 2.10 building fails
...
Problem: GTK code has too many #ifdefs and building fails with GTK 2.10.
Solution: Always use gtk_widget_get_window() and define it for older GTK
versions. (Ken Takata, closes #3421 )
2018-09-11 21:30:09 +02:00
Bram Moolenaar
3f6a16f022
patch 8.1.0301: GTK: input method popup displayed on wrong screen.
...
Problem: GTK: Input method popup displayed on wrong screen.
Solution: Add the screen position offset. (Ken Takata, closes #3268 )
2018-08-19 22:58:45 +02:00
Bram Moolenaar
7ebf4e1c34
patch 8.1.0249: GTK: when screen DPI changes Vim does not handle it
...
Problem: GTK: when screen DPI changes Vim does not handle it.
Solution: Handle the gtk-xft-dpi signal. (Roel van de Kraats,
closes #2357 )
2018-08-07 20:01:40 +02:00
Bram Moolenaar
2e324950b8
patch 8.0.1709: some non-C89 code may slip through
...
Problem: Some non-C89 code may slip through.
Solution: Enforce C89 in configure. Fix detected problems. (James McCoy,
closes #2735 )
2018-04-14 14:37:07 +02:00
Bram Moolenaar
29dfa5af3c
patch 8.0.1625: test_quotestar is flaky when run in GTK GUI
...
Problem: Test_quotestar is flaky when run in GTK GUI.
Solution: Do not call lose_selection when invoked from
selection_clear_event().
2018-03-20 21:24:45 +01:00
Bram Moolenaar
d23a823669
patch 8.0.1496: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629 )
2018-02-10 18:45:26 +01:00
Bram Moolenaar
1dd45fb4f3
patch 8.0.1450: GUI: endless loop when stopping cursor blinking
...
Problem: Endless loop when gui_mch_stop_blink() is called while blink_state
is BLINK_OFF. (zdohnal)
Solution: Avoid calling gui_update_cursor() recursively.
2018-01-31 21:10:01 +01:00
Bram Moolenaar
8ac441576f
patch 8.0.1278: GUI window always resizes when adding scrollbar
...
Problem: GUI window always resizes when adding/removing a scrollbar,
toolbar, etc.
Solution: Add the 'k' flag in 'guioptions' to keep the GUI window size and
change the number of lines/columns instead. (Ychin, closes #703 )
2017-11-09 18:33:29 +01:00
Bram Moolenaar
ca05aa24af
patch 8.0.1211: cannot reorder tab pages with drag & drop
...
Problem: Cannot reorder tab pages with drag & drop.
Solution: Support drag & drop for GTK and MS-Windows. (Ken Takata, Masamichi
Abe)
2017-10-22 15:36:14 +02:00
Bram Moolenaar
8696bbaf52
patch 8.0.1086: can't build with GTK 3
...
Problem: Can't build with GTK 3.
Solution: Rename function argument. (Kazunobu Kuriyama)
2017-09-09 23:00:56 +02:00
Bram Moolenaar
7be9b50fd7
patch 8.0.1084: GTK build has compiler warnings
...
Problem: GTK build has compiler warnings. (Christian Brabandt)
Solution: Get screen size with a different function. (Ken Takata, Yasuhiro
Matsumoto)
2017-09-09 18:45:26 +02:00
Bram Moolenaar
cf4b00c856
patch 8.0.1038: strike-through text not supported
...
Problem: Strike-through text not supported.
Solution: Add support for the "strikethrough" attribute. (Christian
Brabandt, Ken Takata)
2017-09-02 18:33:56 +02:00
Bram Moolenaar
4ab7968aa9
patch 8.0.1005: terminal without job updates slowly in GUI
...
Problem: Terminal without job updates slowly in GUI.
Solution: Poll for input when a channel has the keep_open flag.
2017-08-27 14:50:47 +02:00