summaryrefslogtreecommitdiff
path: root/src/gui_gtk_x11.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar2022-01-011-2/+2
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar2021-12-311-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3699: the +title feature adds a lot of #ifdef but little codev8.2.3699Bram Moolenaar2021-11-291-2/+0
| | | | | Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
* patch 8.2.3654: GTK: a touch-drag does not update the selectionv8.2.3654Chris Dalton2021-11-231-1/+21
| | | | | | Problem: GTK: a touch-drag does not update the selection. Solution: Add GDK_BUTTON1_MASK to the state. (Chris Dalton, close #9196, closes #9194)
* patch 8.2.3636: Coverity warns for unreachable codev8.2.3636Bram Moolenaar2021-11-211-5/+1
| | | | | Problem: Coverity warns for unreachable code. Solution: Remove unreachable else block.
* patch 8.2.3635: GTK: composing underline does not showv8.2.3635Dusan Popovic2021-11-201-11/+20
| | | | | | | Problem: GTK: composing underline does not show. Solution: Include composing character in pango call. A few more optimizations for ligatures. (Dusan Popovic, closes #9171, closes #9147)
* patch 8.2.3632: GTK3: undercurl does not get removed properlyv8.2.3632Yamagi2021-11-201-1/+2
| | | | | Problem: GTK3: undercurl does not get removed properly. Solution: Set the cairo cursor first. (closes #9170)
* patch 8.2.3607: GTK3 screen updating is slowv8.2.3607presuku2021-11-161-144/+28
| | | | | Problem: GTK3 screen updating is slow. Solution: Remove some of the GTK3-specific code. (closes #9052)
* patch 8.2.3548: GTK GUI crashen when reading from stdinv8.2.3548Bram Moolenaar2021-10-201-4/+8
| | | | | Problem: GTK GUI crashen when reading from stdin. Solution: Do not overwrite the NUL after the string. (closes #9028)
* patch 8.2.3527: gcc complains about uninitialized variablev8.2.3527Bram Moolenaar2021-10-171-1/+2
| | | | | Problem: Gcc complains about uninitialized variable. (Tony Mechelynck) Solution: Initialize it.
* patch 8.2.3524: GUI: ligatures are not usedv8.2.3524Dusan Popovic2021-10-161-14/+136
| | | | | Problem: GUI: ligatures are not used. Solution: Add the 'guiligatures' option. (Dusan Popovic, closes #8933)
* patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata2021-06-021-3/+3
| | | | | Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
* patch 8.2.2626: GTK3: error when starting up and -geometry is givenv8.2.2626Bram Moolenaar2021-03-201-5/+13
| | | | | | | Problem: GTK3: error when starting up and -geometry is given. (Dominique Pellé) Solution: Use another function to get the monitor if the window has not been created yet. (closes #7978)
* patch 8.2.2622: GTK: error when starting up and -geometry is givenv8.2.2622Bram Moolenaar2021-03-181-58/+79
| | | | | | | Problem: GTK: error when starting up and -geometry is given. (Dominique Pellé) Solution: Use another function to get the monitor if the window has not been created yet. (closes #7978)
* patch 8.2.2119: GTK3: status line background color is wrongv8.2.2119Bram Moolenaar2020-12-091-5/+8
| | | | | Problem: GTK3: status line background color is wrong. Solution: Don't change the code for earlier GTK3 versions. (closes #7444)
* patch 8.2.2111: GTK: menu background is the same color as the main windowv8.2.2111Bram Moolenaar2020-12-081-7/+7
| | | | | | 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)
* patch 8.2.2043: GTK3: white border around text stands outv8.2.2043Bram Moolenaar2020-11-251-2/+2
| | | | | Problem: GTK3: white border around text stands out. Solution: Use current theme color. (closes #7357, issue #349)
* patch 8.2.1913: GTK GUI: rounding for the cell height is too strictv8.2.1913Bram Moolenaar2020-10-271-3/+4
| | | | | Problem: GTK GUI: rounding for the cell height is too strict. Solution: Round up above 15/16 of a pixel. (closes #7203)
* patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar2020-10-241-2/+2
| | | | | Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
* patch 8.2.1878: GTK: error for redefining functionv8.2.1878Bram Moolenaar2020-10-211-4/+4
| | | | | | Problem: GTK: error for redefining function. (Tony Mechelynck) Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to global functions.
* patch 8.2.1809: mapping some keys with Ctrl does not work properlyv8.2.1809Bram Moolenaar2020-10-071-4/+3
| | | | | Problem: Mapping some keys with Ctrl does not work properly. Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
* patch 8.2.1774: GTK: hang when forced to exitv8.2.1774Bram Moolenaar2020-09-291-2/+5
| | | | | | Problem: GTK: hang when forced to exit. Solution: Do not clean up "mainwin" when really_exiting is set. (Zdenek Dohnal, closes #7042)
* patch 8.2.1645: GTK3: icons become broken images when resizedv8.2.1645Bram Moolenaar2020-09-091-4/+6
| | | | | | Problem: GTK3: icons become broken images when resized. Solution: Use gtk_image_new_from_icon_name(). (closes #6916) Fix compiler warnings.
* patch 8.2.1335: CTRL-C in the GUI doesn't interruptv8.2.1335Bram Moolenaar2020-08-011-4/+9
| | | | | Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov) Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565)
* patch 8.2.1027: GUI: multi-byte characters do not work in a terminalv8.2.1027Bram Moolenaar2020-06-211-3/+5
| | | | | Problem: GUI: multi-byte characters do not work in a terminal. Solution: Do not assume a key is one byte. (closes #6304)
* patch 8.2.1019: mapping <M-S-a> does not work in the GUIv8.2.1019Bram Moolenaar2020-06-201-3/+8
| | | | | | 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.
* patch 8.2.0857: GTK cell height can be a pixel too muchv8.2.0857Bram Moolenaar2020-05-311-1/+2
| | | | | Problem: GTK cell height can be a pixel too much. Solution: Subtract 3 instead of 1 when rounding. (closes #6168)
* patch 8.2.0851: can't distinguish <M-a> from accented "a" in the GUIv8.2.0851Bram Moolenaar2020-05-301-35/+9
| | | | | Problem: Can't distinguish <M-a> from accented "a" in the GUI. Solution: Use another way to make mapping <C-bslash> work. (closes #6163)
* patch 8.2.0770: cannot map CTRL-B when using the GUIv8.2.0770Bram Moolenaar2020-05-161-4/+8
| | | | | Problem: Cannot map CTRL-B when using the GUI. Solution: Reset the CTRL modifier when used. (closes #6092)
* patch 8.2.0765: In the GUI can't use all the modifiers.v8.2.0765Bram Moolenaar2020-05-161-76/+31
| | | | | | 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.
* patch 8.2.0464: typos and other small problemsv8.2.0464Bram Moolenaar2020-03-271-0/+2
| | | | | Problem: Typos and other small problems. Solution: Fix the typos. Add missing files to the distribution.
* patch 8.1.2380: using old C style commentsv8.1.2380Bram Moolenaar2019-12-011-589/+577
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2327: cannot build with Hangul inputv8.1.2327Bram Moolenaar2019-11-211-12/+0
| | | | | Problem: Cannot build with Hangul input. Solution: Remove Hangul input support.
* patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar2019-11-021-1/+1
| | | | | | Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
* patch 8.1.2034: dark them of GTK 3 not supportedv8.1.2034Bram Moolenaar2019-09-151-0/+13
| | | | | Problem: Dark them of GTK 3 not supported. Solution: Add the "d" flag in 'guioptions'. (Jonathan Conder, closes #4934)
* patch 8.1.1767: FEAT_SESSION defined separatelyv8.1.1767Bram Moolenaar2019-07-281-12/+16
| | | | | Problem: FEAT_SESSION defined separately. Solution: Make FEAT_SESSION depend on FEAT_EVAL.
* patch 8.1.1531: clipboard type name is inconsistentv8.1.1531Bram Moolenaar2019-06-141-7/+7
| | | | | Problem: Clipboard type name is inconsistent. Solution: Rename VimClipboard to Clipboard_T.
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-4/+4
| | | | | | 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.
* patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar2019-05-241-5/+4
| | | | | | 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.
* patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exev8.1.1230Bram Moolenaar2019-04-281-69/+0
| | | | | | 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)
* patch 8.1.1219: not checking for NULL return from alloc()v8.1.1219Bram Moolenaar2019-04-271-9/+12
| | | | | Problem: Not checking for NULL return from alloc(). Solution: Add checks. (Martin Kunev, closes #4303, closes #4174)
* patch 8.1.0989: various small code uglinessv8.1.0989Bram Moolenaar2019-03-021-1/+1
| | | | | | Problem: Various small code ugliness. Solution: Remove pointless NULL checks. Fix function calls. Fix typos. (Dominique Pelle, closes #4060)
* patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar2019-02-171-1/+1
| | | | | | | 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)
* patch 8.1.0872: confusing conditionv8.1.0872Bram Moolenaar2019-02-031-1/+1
| | | | | Problem: Confusing condition. Solution: Use "==" instead of "<=".
* patch 8.1.0840: getchar(0) never returns a character in the terminalv8.1.0840Bram Moolenaar2019-01-281-4/+5
| | | | | Problem: getchar(0) never returns a character in the terminal. Solution: Call wait_func() at least once.
* patch 8.1.0785: depending on the configuration some functions are unusedv8.1.0785Bram Moolenaar2019-01-201-0/+2
| | | | | | Problem: Depending on the configuration some functions are unused. Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, closes #3822)
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-4/+4
| | | | | | | | 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.
* patch 8.1.0577: tabpage right-click menu never shows "Close tab"v8.1.0577Bram Moolenaar2018-12-111-3/+1
| | | | | | 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.
* patch 8.1.0528: various typos in commentsv8.1.0528Bram Moolenaar2018-11-161-1/+1
| | | | | Problem: Various typos in comments. Solution: Fix the typos.
* patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar2018-09-301-1/+0
| | | | | Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.