summaryrefslogtreecommitdiff
path: root/src/gui_gtk_x11.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* patch 8.1.0412: cannot build with GTK 2.4v8.1.0412Bram Moolenaar2018-09-191-0/+12
| | | | | | Problem: Cannot build with GTK 2.4. Solution: Add back a few #ifdefs. (Ken Takata, closes #3447) Also support older GTK. (Tom Christensen)
* patch 8.1.0405: too many #ifdefs for GTKv8.1.0405Bram Moolenaar2018-09-181-347/+13
| | | | | 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-125/+3
| | | | | | 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.1.0301: GTK: input method popup displayed on wrong screen.v8.1.0301Bram Moolenaar2018-08-191-8/+18
| | | | | Problem: GTK: Input method popup displayed on wrong screen. Solution: Add the screen position offset. (Ken Takata, closes #3268)
* patch 8.1.0249: GTK: when screen DPI changes Vim does not handle itv8.1.0249Bram Moolenaar2018-08-071-0/+32
| | | | | | Problem: GTK: when screen DPI changes Vim does not handle it. Solution: Handle the gtk-xft-dpi signal. (Roel van de Kraats, closes #2357)
* patch 8.0.1709: some non-C89 code may slip throughv8.0.1709Bram Moolenaar2018-04-141-5/+7
| | | | | | Problem: Some non-C89 code may slip through. Solution: Enforce C89 in configure. Fix detected problems. (James McCoy, closes #2735)
* patch 8.0.1625: test_quotestar is flaky when run in GTK GUIv8.0.1625Bram Moolenaar2018-03-201-2/+11
| | | | | | Problem: Test_quotestar is flaky when run in GTK GUI. Solution: Do not call lose_selection when invoked from selection_clear_event().
* patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar2018-02-101-4/+2
| | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
* patch 8.0.1450: GUI: endless loop when stopping cursor blinkingv8.0.1450Bram Moolenaar2018-01-311-6/+6
| | | | | | Problem: Endless loop when gui_mch_stop_blink() is called while blink_state is BLINK_OFF. (zdohnal) Solution: Avoid calling gui_update_cursor() recursively.
* patch 8.0.1278: GUI window always resizes when adding scrollbarv8.0.1278Bram Moolenaar2017-11-091-3/+4
| | | | | | | 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)
* patch 8.0.1211: cannot reorder tab pages with drag & dropv8.0.1211Bram Moolenaar2017-10-221-1/+30
| | | | | | Problem: Cannot reorder tab pages with drag & drop. Solution: Support drag & drop for GTK and MS-Windows. (Ken Takata, Masamichi Abe)
* patch 8.0.1086: can't build with GTK 3v8.0.1086Bram Moolenaar2017-09-091-5/+5
| | | | | Problem: Can't build with GTK 3. Solution: Rename function argument. (Kazunobu Kuriyama)
* patch 8.0.1084: GTK build has compiler warningsv8.0.1084Bram Moolenaar2017-09-091-21/+25
| | | | | | Problem: GTK build has compiler warnings. (Christian Brabandt) Solution: Get screen size with a different function. (Ken Takata, Yasuhiro Matsumoto)
* patch 8.0.1038: strike-through text not supportedv8.0.1038Bram Moolenaar2017-09-021-10/+29
| | | | | | Problem: Strike-through text not supported. Solution: Add support for the "strikethrough" attribute. (Christian Brabandt, Ken Takata)
* patch 8.0.1005: terminal without job updates slowly in GUIv8.0.1005Bram Moolenaar2017-08-271-100/+79
| | | | | Problem: Terminal without job updates slowly in GUI. Solution: Poll for input when a channel has the keep_open flag.
* patch 8.0.1000: cannot open a terminal without running a job in itv8.0.1000Bram Moolenaar2017-08-261-0/+6
| | | | | Problem: Cannot open a terminal without running a job in it. Solution: Make ":terminal NONE" open a terminal with a pty.
* patch 8.0.0755: terminal window does not have colors in the GUIv8.0.0755Bram Moolenaar2017-07-231-5/+23
| | | | | Problem: Terminal window does not have colors in the GUI. Solution: Lookup the GUI color.
* patch 8.0.0620: checking for HAVE_GTK_MULTIHEAD is not neededv8.0.0620Bram Moolenaar2017-06-051-51/+24
| | | | | | Problem: Since we only support GTK versions that have it, the ckeck for HAVE_GTK_MULTIHEAD is no longer needed. Solution: Remove HAVE_GTK_MULTIHEAD. (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.0349: redrawing errors with GTK 3v8.0.0349Bram Moolenaar2017-02-231-3/+18
| | | | | | Problem: Redrawing errors with GTK 3. Solution: When updating, first clear all rectangles and then draw them. (Kazunobu Kuriyama, Christian Ludwig, closes #848)
* patch 8.0.0276: unnecessary #ifdefsv8.0.0276Bram Moolenaar2017-02-011-8/+0
| | | | | Problem: Checking for FEAT_GUI_GNOME inside GTK 3 code is unnecessary. Solution: Remove the #ifdef. (Kazunobu Kuriyama)
* patch 8.0.0273: dead code detected by Coverityv8.0.0273Bram Moolenaar2017-01-301-1/+12
| | | | | Problem: Dead code detected by Coverity when not using gnome. Solution: Rearrange the #ifdefs to avoid dead code.
* 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.0095v8.0.0095Bram Moolenaar2016-11-211-2/+10
| | | | | Problem: Problems with GTK 3.22.2 fixed in 3.22.4. Solution: Adjust the #ifdefs. (Kazunobu Kuriyama)
* patch 8.0.0089v8.0.0089Bram Moolenaar2016-11-171-2/+104
| | | | | 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.2243v7.4.2243Bram Moolenaar2016-08-221-3/+4
| | | | | | Problem: Warning for assigning negative value to unsigned. (Danek Duvall) Solution: Make cterm_normal_fg_gui_color and _bg_ guicolor_T, cast to long_u only when an unsigned is needed.
* patch 7.4.2214v7.4.2214Bram Moolenaar2016-08-141-8/+12
| | | | | | Problem: A font that uses ligatures messes up the screen display. Solution: Put spaces between characters when building the glyph table. (based on a patch from Manuel Schiller)
* patch 7.4.2199v7.4.2199Bram Moolenaar2016-08-121-1/+1
| | | | | | Problem: In the GUI the cursor is hidden when redrawing any window, causing flicker. Solution: Only undraw the cursor when updating the window it's in.
* patch 7.4.2193v7.4.2193Bram Moolenaar2016-08-101-4/+7
| | | | | Problem: With Gnome when the GUI can't start test_startup hangs. Solution: Call gui_mch_early_init_check(). (Hirohito Higashi)
* patch 7.4.2089v7.4.2089Bram Moolenaar2016-07-211-155/+89
| | | | | | Problem: Color handling of X11 GUIs is too complicated. Solution: Simplify the code. Use RGBA where appropriate. (Kazunobu Kuriyama)
* patch 7.4.2042v7.4.2042Bram Moolenaar2016-07-151-10/+1
| | | | | | Problem: GTK: display updating is not done properly and can be slow. Solution: Use gdk_display_flush() instead of gdk_display_sync(). Don't call gdk_window_process_updates(). (Kazunobu Kuriyama)
* patch 7.4.2025v7.4.2025Bram Moolenaar2016-07-101-0/+5
| | | | | | | | Problem: The cursor blinking stops or is irregular when receiving date over a channel and writing it in a buffer, and when updating the status line. (Ramel Eshed) Solution: Make it a bit better by flushing GUI output. Don't redraw the cursor after updating the screen if the blink state is off.
* patch 7.4.1995v7.4.1995Bram Moolenaar2016-07-071-0/+6
| | | | | | Problem: GUI: cursor drawn in wrong place if a timer callback causes a screen update. (David Samvelyan) Solution: Also redraw the cursor when it's blinking and on.
* patch 7.4.1909v7.4.1909Bram Moolenaar2016-06-081-1/+1
| | | | | Problem: Doubled semicolons. Solution: Reduce to one. (Dominique Pelle)
* patch 7.4.1899v7.4.1899Bram Moolenaar2016-06-041-3/+5
| | | | | | Problem: GTK 3: cursor blinking doesn't work well. Solution: Instead of gui_gtk_window_clear() use gui_mch_clear_block(). (Kazunobu Kuriyama)
* patch 7.4.1890v7.4.1890Bram Moolenaar2016-06-041-0/+6
| | | | | | Problem: GUI: When channel data is received the cursor blinking is interrupted. (Ramel Eshed) Solution: Don't update the cursor when it is blinking.
* patch 7.4.1873v7.4.1873Bram Moolenaar2016-06-021-12/+23
| | | | | | Problem: When a callback adds a timer the GUI doesn't use it until later. (Ramel Eshed) Solution: Return early if a callback adds a timer.
* patch 7.4.1749v7.4.1749Bram Moolenaar2016-04-171-0/+5
| | | | | Problem: When using GTK 3.20 there are a few warnings. Solution: Use new functions when available. (Kazunobu Kuriyama)
* patch 7.4.1713v7.4.1713Bram Moolenaar2016-04-051-0/+6
| | | | | Problem: GTK GUI doesn't work on Wayland. Solution: Specify that only the X11 backend is allowed. (Simon McVittie)
* patch 7.4.1545v7.4.1545Bram Moolenaar2016-03-121-3/+16
| | | | | Problem: GTK3: horizontal cursor movement in Visual selection not good. Solution: Make it work better. (Kazunobu Kuriyama)
* patch 7.4.1538v7.4.1538Bram Moolenaar2016-03-121-3/+23
| | | | | Problem: Selection with the mouse does not work in command line mode. Solution: Use cairo functions. (Kazunobu Kuriyama)
* patch 7.4.1525v7.4.1525Bram Moolenaar2016-03-081-0/+2
| | | | | Problem: On a high resolution screen the toolbar icons are too small. Solution: Add "huge" and "giant" to 'toolbariconsize'. (Brian Gix)
* patch 7.4.1497v7.4.1497Bram Moolenaar2016-03-051-9/+24
| | | | | Problem: Cursor drawing problem with GTK 3. Solution: Handle blinking differently. (Kazunobu Kuriyama)