summaryrefslogtreecommitdiff
path: root/src/gui_x11.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.2674: Motif: cancelling the font dialog resets the fontv8.2.2674Bram Moolenaar2021-03-291-0/+6
| | | | | | Problem: Motif: cancelling the font dialog resets the font. Solution: When no font is selected to not change the font. (closes #7825, closes #8035) Fix compiler warnings.
* patch 8.2.2247: VMS: various smaller problemsv8.2.2247Bram Moolenaar2020-12-301-7/+9
| | | | | Problem: VMS: various smaller problems. Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
* patch 8.2.1809: mapping some keys with Ctrl does not work properlyv8.2.1809Bram Moolenaar2020-10-071-0/+3
| | | | | Problem: Mapping some keys with Ctrl does not work properly. Solution: For terminal, GTK and Motif handle "@", "^" and "_" codes.
* patch 8.2.1752: GTK GUI: cannot map alt-? with <A-?>v8.2.1752Bram Moolenaar2020-09-271-2/+1
| | | | | | 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.
* patch 8.2.1335: CTRL-C in the GUI doesn't interruptv8.2.1335Bram Moolenaar2020-08-011-7/+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.0835: Motif: mapping <C-bslash> still doesn't workv8.2.0835Bram Moolenaar2020-05-281-0/+5
| | | | | | Problem: Motif: mapping <C-bslash> still doesn't work. Solution: Accept CSI for K_SPECIAL. Do not apply CTRL to the character early. (closes #6150)
* patch 8.2.0830: Motif: can't map "!"v8.2.0830Bram Moolenaar2020-05-261-0/+5
| | | | | | Problem: Motif: can't map "!". (Ben Jackson) Solution: Remove the shift modifier if it's already included in the key. (closes #6147)
* patch 8.2.0765: In the GUI can't use all the modifiers.v8.2.0765Bram Moolenaar2020-05-161-99/+44
| | | | | | 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.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar2020-04-121-1/+1
| | | | | Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
* patch 8.1.2383: using old C style commentsv8.1.2383Bram Moolenaar2019-12-021-182/+185
| | | | | 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-11/+0
| | | | | Problem: Cannot build with Hangul input. Solution: Remove Hangul input support.
* patch 8.1.1531: clipboard type name is inconsistentv8.1.1531Bram Moolenaar2019-06-141-4/+4
| | | | | 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-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.1386: unessesary type casts for lalloc()v8.1.1386Bram Moolenaar2019-05-241-1/+1
| | | | | Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
* 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.0840: getchar(0) never returns a character in the terminalv8.1.0840Bram Moolenaar2019-01-281-3/+4
| | | | | Problem: getchar(0) never returns a character in the terminal. Solution: Call wait_func() at least once.
* patch 8.1.0806: too many #ifdefsv8.1.0806Bram Moolenaar2019-01-241-32/+9
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 2.
* patch 8.1.0766: various problems when using Vim on VMSv8.1.0766Bram Moolenaar2019-01-171-1/+5
| | | | | Problem: Various problems when using Vim on VMS. Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy)
* patch 8.1.0763: nobody is using the Sun Workshop supportv8.1.0763Bram Moolenaar2019-01-171-45/+6
| | | | | Problem: Nobody is using the Sun Workshop support. Solution: Remove the Workshop support.
* patch 8.1.0758: font number is always one instead of the actualv8.1.0758Bram Moolenaar2019-01-161-1/+1
| | | | | Problem: Font number is always one instead of the actual. Solution: Use "%d" instead of "1". (Ken Takata)
* patch 8.1.0753: printf format not checked for semsg()v8.1.0753Bram Moolenaar2019-01-151-3/+4
| | | | | | Problem: printf format not checked for semsg(). Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, closes #3805)
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-16/+16
| | | | | | | | 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.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar2018-09-301-3/+0
| | | | | Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
* patch 8.0.1833: X11: ":echo 3.14" gives E806v8.0.1833Bram Moolenaar2018-05-131-0/+11
| | | | | Problem: X11: ":echo 3.14" gives E806. Solution: set LC_NUMERIC to "C". (Dominique Pelle, closes #2368)
* patch 8.0.1800: X11: getting color is slowv8.0.1800Bram Moolenaar2018-05-061-2/+11
| | | | | | Problem: X11: getting color is slow. Solution: Avoid using sprintf() and XParseColor(), put the RGB values in XColor directly.
* patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar2018-02-101-9/+7
| | | | | | 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-3/+3
| | | | | | 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.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312Bram Moolenaar2017-11-181-10/+6
| | | | | | Problem: balloon_show() only works in terminal when compiled with the GUI. Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI specific file.
* patch 8.0.1038: strike-through text not supportedv8.0.1038Bram Moolenaar2017-09-021-0/+10
| | | | | | Problem: Strike-through text not supported. Solution: Add support for the "strikethrough" attribute. (Christian Brabandt, Ken Takata)
* patch 8.0.1008: slow updating of terminal window in Motifv8.0.1008Bram Moolenaar2017-08-271-28/+52
| | | | | Problem: Slow updating of terminal window in Motif. Solution: Add a timeout to the wait-for-character loop.
* patch 8.0.0767: build failure with Athena and Motifv8.0.0767Bram Moolenaar2017-07-241-2/+2
| | | | | Problem: Build failure with Athena and Motif. Solution: Move local variable delcarations. (Kazunobu Kuriyama)
* patch 8.0.0755: terminal window does not have colors in the GUIv8.0.0755Bram Moolenaar2017-07-231-4/+13
| | | | | Problem: Terminal window does not have colors in the GUI. Solution: Lookup the GUI color.
* patch 8.0.0447: getting font name does not work on X11v8.0.0447Bram Moolenaar2017-03-121-5/+31
| | | | | | Problem: Getting font name does not work on X11. Solution: Implement gui_mch_get_fontname() for X11. Add more GUI tests. (Kazunobu Kuriyama)
* patch 8.0.0367: types in include files may be inconsistentv8.0.0367Bram Moolenaar2017-02-251-2/+2
| | | | | | Problem: If configure defines _LARGE_FILES some include files are included before it is defined. Solution: Include vim.h first. (Sam Thursfield, closes #1508)
* 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/+3
| | | | | | 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.2094v7.4.2094Bram Moolenaar2016-07-231-161/+22
| | | | | | Problem: The color allocation in X11 is overly complicated. Solution: Remove find_closest_color(), XAllocColor() already does this. (Kazunobu Kuriyama)
* 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.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-6/+18
| | | | | | 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.1433v7.4.1433Bram Moolenaar2016-02-271-36/+0
| | | | | | Problem: The Sniff interface is no longer useful, the tool has not been available for may years. Solution: Delete the Sniff interface and related code.
* patch 7.4.1225v7.4.1225Bram Moolenaar2016-01-311-2/+1
| | | | | Problem: Still a few old style function declarations. Solution: Make them new style. (Hirohito Higashi)
* patch 7.4.1209v7.4.1209Bram Moolenaar2016-01-301-3/+3
| | | | | Problem: Can't build with Athena. Solution: Fix function declarations.
* patch 7.4.1208v7.4.1208Bram Moolenaar2016-01-301-232/+172
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.1198v7.4.1198Bram Moolenaar2016-01-291-20/+20
| | | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
* patch 7.4.938v7.4.938Bram Moolenaar2015-11-241-0/+5
| | | | | Problem: X11 and GTK have moure mouse buttons than Vim supports. Solution: Recognize more mouse buttons. (Benoit Pierre, closes #498)
* patch 7.4.866v7.4.866Bram Moolenaar2015-09-151-4/+3
| | | | | | | Problem: Crash when changing the 'tags' option from a remote command. (Benjamin Fritz) Solution: Instead of executing messages immediately, use a queue, like for netbeans. (James Kolb)
* updated for version 7.4a.024v7.4a.024Bram Moolenaar2013-07-141-4/+3
| | | | | Problem: X11 GUI: Checking icon height twice. Solution: Check height and width. (Dominique Pelle)
* updated for version 7.3.1286v7.3.1286Bram Moolenaar2013-07-011-0/+1
| | | | | Problem: Check for screen size missing for Athena and Motif. Solution: Add call to limit_screen_size().