summaryrefslogtreecommitdiff
path: root/src/gui_gtk.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar2022-05-071-1/+1
| | | | | Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
* patch 8.2.4599: GTK: get assertion errors when scrolling a split windowv8.2.4599Bram Moolenaar2022-03-201-1/+1
| | | | | Problem: GTK: get assertion errors when scrolling a split window. Solution: Use GDK_IS_DRAWABLE() on the scrollbar window. (closes #9982)
* patch 8.2.3914: various spelling mistakes in commentsv8.2.3914Dominique Pelle2021-12-271-1/+1
| | | | | Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
* patch 8.2.3539: GTK3: with 'rightleft' set scrollbar may move unintentionallyv8.2.3539Bram Moolenaar2021-10-191-0/+5
| | | | | Problem: GTK3: with 'rightleft' set scrollbar may move unintentionally. Solution: Ignore events while moving the scrollbar thumb. (closes #8958)
* patch 8.2.2939: GTK: righthand scrollbar does not show with split windowv8.2.2939Bram Moolenaar2021-06-051-0/+3
| | | | | | Problem: GTK: righthand scrollbar does not show with split window. Solution: Adjust padding when two scrollbars are used. (Matt Wozniski, closes #8324)
* patch 8.2.2720: GTK menu tooltip moves the cursorv8.2.2720Bram Moolenaar2021-04-051-0/+6
| | | | | | Problem: GTK menu tooltip moves the cursor. Solution: Position the cursor after displaying the tooltip. Do not show the tooltip when editing the command line.
* patch 8.2.2717: GTK menu items don't show a tooltipv8.2.2717Bram Moolenaar2021-04-051-2/+27
| | | | | | Problem: GTK menu items don't show a tooltip. Solution: Add a callback to show the tooltip. (Leonid V. Fedorenchik, closes #8067, closes #7810)
* patch 8.2.2709: the GTK GUI has a gap next to the scrollbarv8.2.2709Bram Moolenaar2021-04-041-6/+18
| | | | | Problem: The GTK GUI has a gap next to the scrollbar. Solution: Calculate the scrollbar padding for GTK. (closes #8027)
* patch 8.2.1878: GTK: error for redefining functionv8.2.1878Bram Moolenaar2020-10-211-3/+3
| | | | | | Problem: GTK: error for redefining function. (Tony Mechelynck) Solution: Remove "gtk_" prefix from local functions and prepend "gui_" to global functions.
* patch 8.2.1649: GTK3: using old file chooserv8.2.1649Bram Moolenaar2020-09-091-6/+27
| | | | | | Problem: GTK3: using old file chooser. Solution: Use native file chooser on GTK 3.20 and above. (Yogeshwar Velingker, closes #6909)
* patch 8.2.1228: scrollbars not flush against the window edges when maximisedv8.2.1228Bram Moolenaar2020-07-171-0/+16
| | | | | Problem: Scrollbars not flush against the window edges when maximised. Solution: Add padding. (Ken Takata, closes #5602, closes #6466)
* patch 8.2.0523: loops are repeatedv8.2.0523Bram Moolenaar2020-04-061-1/+1
| | | | | Problem: Loops are repeated. Solution: Use FOR_ALL_ macros. (Yegappan Lakshmanan, closes #5882)
* patch 8.1.2380: using old C style commentsv8.1.2380Bram Moolenaar2019-12-011-211/+209
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-1/+1
| | | | | | 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-1/+1
| | | | | | 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.1086: too many curly bracesv8.1.1086Bram Moolenaar2019-03-301-2/+0
| | | | | | Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
* 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.0528: various typos in commentsv8.1.0528Bram Moolenaar2018-11-161-1/+1
| | | | | Problem: Various typos in comments. Solution: Fix the typos.
* patch 8.1.0405: too many #ifdefs for GTKv8.1.0405Bram Moolenaar2018-09-181-178/+2
| | | | | Problem: Too many #ifdefs for GTK. Solution: Define macros instead of using #ifdef. (Ken Takata, closes #3436)
* patch 8.1.0368: GTK code has too many #ifdefs and GTK 2.10 building failsv8.1.0368Bram Moolenaar2018-09-111-8/+0
| | | | | | 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)
* patch 8.0.1550: various small problems in source filesv8.0.1550Bram Moolenaar2018-02-271-4/+4
| | | | | Problem: Various small problems in source files. Solution: Fix the problems.
* patch 8.0.1466: older GTK versions don't have gtk_entry_get_text_length()v8.0.1466Bram Moolenaar2018-02-041-2/+32
| | | | | | Problem: Older GTK versions don't have gtk_entry_get_text_length(). Solution: Add a function with #ifdefs to take care of GTK version differences. (Kazunobu Kuriyama, closes #2605)
* patch 8.0.1434: GTK: :promtfind does not put focus on text inputv8.0.1434Bram Moolenaar2018-01-281-0/+9
| | | | | | Problem: GTK: :promtfind does not put focus on text input. (Adam Novak) Solution: When re-opening the dialog put focus on the text input. (Kazunobu Kuriyama, closes #2563)
* patch 8.0.1135: W_WINCOL() is always the samev8.0.1135Bram Moolenaar2017-09-221-1/+1
| | | | | Problem: W_WINCOL() is always the same. Solution: Expand the macro.
* patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar2017-09-161-2/+0
| | | | | | Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
* patch 8.0.0637: crash when using some version of GTK 3v8.0.0637Bram Moolenaar2017-06-131-0/+4
| | | | | | Problem: Crash when using some version of GTK 3. Solution: Add #ifdefs around incrementing the menu index. (Kazunobu Kuriyama)
* patch 8.0.0452: some macros are in lower casev8.0.0452Bram Moolenaar2017-03-121-3/+0
| | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
* patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar2017-03-121-1/+1
| | | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
* patch 8.0.0162: build error on Fedora 23v8.0.0162Bram Moolenaar2017-01-091-0/+3
| | | | | Problem: Build error on Fedora 23 with small features and gnome2. Solution: Undefine ngettext(). (Hirohito Higashi)
* patch 8.0.0089v8.0.0089Bram Moolenaar2016-11-171-0/+71
| | | | | Problem: Various problems with GTK 3.22.2. Solution: Fix the problems, add #ifdefs. (Kazunobu Kuriyama)
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.1803v7.4.1803Bram Moolenaar2016-04-301-0/+4
| | | | | Problem: GTK3 doesn't handle menu separaters properly. Solution: Use gtk_separator_menu_item_new(). (Kazunobu Kuriyama)
* patch 7.4.1432v7.4.1432Bram Moolenaar2016-02-271-1/+1
| | | | | Problem: Typo in button text. Solution: Fix the typo. (Dominique Pelle)
* patch 7.4.1402v7.4.1402Bram Moolenaar2016-02-231-39/+708
| | | | | Problem: GTK 3 is not supported. Solution: Add GTK 3 support. (Kazunobu Kuriyama)
* patch 7.4.1207v7.4.1207Bram Moolenaar2016-01-301-2/+1
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.995v7.4.995Bram Moolenaar2015-12-291-3/+51
| | | | | | Problem: gdk_pixbuf_new_from_inline() is deprecated. Solution: Generate auto/gui_gtk_gresources.c. (Kazunobu Kazunobu, closes #507)
* updated for version 7.3.1289v7.3.1289Bram Moolenaar2013-07-031-0/+13
| | | | | | Problem: Get GLIB warning when removing a menu item. Solution: Reference menu-id and also call gtk_container_remove(). (Ivan Krasilnikov)
* updated for version 7.3.692v7.3.692Bram Moolenaar2012-10-181-1/+1
| | | | | | Problem: Can't build GTK version with GTK 2.0. Solution: Put GtkFileFilter declaration in the right place. (Yegappan Lakshmanan)
* updated for version 7.3.593v7.3.593Bram Moolenaar2012-07-101-3/+0
| | | | | Problem: No easy way to decide if b:browsefilter will work. Solution: Add the browsefilter feature.
* updated for version 7.3.592v7.3.592Bram Moolenaar2012-07-101-2/+42
| | | | | Problem: Vim on GTK does not support g:browsefilter. Solution: Add a GtkFileFilter to the file chooser. (Christian Brabandt)
* updated for version 7.3.542v7.3.542Bram Moolenaar2012-06-061-1/+4
| | | | | Problem: Function is sometimes unused. Solution: Add #ifdef.
* updated for version 7.3.506v7.3.506Bram Moolenaar2012-04-251-0/+24
| | | | | Problem: GTK gives an error when selecting a non-existent file. Solution: Add a handler to avoid the error. (Christian Brabandt)
* updated for version 7.3.234v7.3.234Bram Moolenaar2011-06-261-1/+1
| | | | | Problem: With GTK menu may be popping down. Solution: Use event time instead of GDK_CURRENT_TIME. (Hong Xu)
* updated for version 7.3.102v7.3.102Bram Moolenaar2011-01-171-1/+2
| | | | | | | | Problem: When using ":make", typing the next command and then getting the "reload" prompt the next command is (partly) eaten by the reload prompt. Solution: Accept ':' as a special character at the reload prompt to accept the default choice and execute the command.
* updated for version 7.3.076v7.3.076Bram Moolenaar2010-12-081-2/+1
| | | | | Problem: Clang warnings for dead code. Solution: Remove it. (Carlo Teubner)
* updated for version 7.3.069v7.3.069Bram Moolenaar2010-11-241-0/+3
| | | | | | Problem: GTK: pressing Enter in inputdialog() doesn't work like clicking OK as documented. Solution: call gtk_entry_set_activates_default(). (Britton Kerin)
* Avoid use of the GTK mail_loop() so that the GtkFileChooser can be used.Bram Moolenaar2010-07-111-24/+5
| | | | (James Vega)
* Remove the old and not well supported GTK 1 code. (James Vega)Bram Moolenaar2010-06-251-1228/+11
|
* updated for version 7.2.386v7.2.386Bram Moolenaar2010-03-101-13/+0
| | | | | Problem: Focus hack for KDE 3.1 causes problems for other window managers. Solution: Remove the hack. (forwarded by Joel Bradshaw)
* updated for version 7.2-181v7.2.181Bram Moolenaar2009-05-171-38/+22
|