summaryrefslogtreecommitdiffstats
path: root/src/gui.c
AgeCommit message (Collapse)Author
2018-12-22patch 8.1.0626: MS-Windows: no resize to fit parent when using --windowidv8.1.0626Bram Moolenaar
Problem: MS-Windows: no resize to fit parent when using --windowid. Solution: Pass FALSE for "mustset" in gui_set_shellsize(). (Agorgianitis Loukas, closes #3616)
2018-12-11patch 8.1.0577: tabpage right-click menu never shows "Close tab"v8.1.0577Bram Moolenaar
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-07patch 8.1.0568: error message for NUL byte in ScreenLines breaks Travis CIv8.1.0568Bram Moolenaar
Problem: Error message for NUL byte in ScreenLines breaks Travis CI. Solution: Use a normal message fornow.
2018-12-07patch 8.1.0567: error for NUL byte in ScreenLines goes unnoticedv8.1.0567Bram Moolenaar
Problem: Error for NUL byte in ScreenLines goes unnoticed. Solution: Add an internal error message.
2018-12-05patch 8.1.0565: asan complains about reading before allocated blockv8.1.0565Bram Moolenaar
Problem: Asan complains about reading before allocated block. Solution: Workaround: Avoid offset from becoming negative.
2018-11-16patch 8.1.0528: various typos in commentsv8.1.0528Bram Moolenaar
Problem: Various typos in comments. Solution: Fix the typos.
2018-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2018-07-29patch 8.1.0228: dropping files is ignored while Vim is busyv8.1.0228Bram Moolenaar
Problem: Dropping files is ignored while Vim is busy. Solution: Postpone the effect of dropping files until it's safe.
2018-07-29patch 8.1.0226: too many #ifdefsv8.1.0226Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the +vreplace feature, it's not much code and quite a few #ifdefs.
2018-06-28patch 8.1.0121: crash when using ballooneval related to 'vartabstop'v8.1.0121Bram Moolenaar
Problem: Crash when using ballooneval related to 'vartabstop'. Solution: Initialize balloonEval->vts to NULL. (Markus Braun)
2018-05-13patch 8.0.1834: GUI: find/replace dialog does not handle some charsv8.0.1834Bram Moolenaar
Problem: GUI: find/replace dialog does not handle some chars properly. Solution: Escape '?' when needed. Always escape backslash. (closes #2418, closes #2435)
2018-05-05patch 8.0.1795: lose contact with jobs when :gui forksv8.0.1795Bram Moolenaar
Problem: Lose contact with jobs when :gui forks. Solution: Don't fork when there is a running job. Make log message for a died job clearer. Also close the terminal when stderr and stdout are the same FD.
2018-03-04patch 8.0.1567: cannot build Win32 GUI without IMEv8.0.1567Bram Moolenaar
Problem: Cannot build Win32 GUI without IME. (John Marriott) Solution: Adjust when IME_WITHOUT_XIM and HAVE_INPUT_METHOD are defined and use it in a few more places.
2018-03-04patch 8.0.1566: too many #ifdefsv8.0.1566Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
2018-03-04patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
2018-02-04patch 8.0.1471: on MS-Windows CursorIM highlighting no longer worksv8.0.1471Bram Moolenaar
Problem: On MS-Windows CursorIM highlighting no longer works. Solution: Adjust #if statements. (Ken Takata)
2018-02-03patch 8.0.1462: missing yet another file in patchv8.0.1462Bram Moolenaar
Problem: Missing yet another file in patch. Solution: Add changes to missing file.
2018-01-31patch 8.0.1450: GUI: endless loop when stopping cursor blinkingv8.0.1450Bram Moolenaar
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-31patch 8.0.1449: slow redrawing with DirectXv8.0.1449Bram Moolenaar
Problem: Slow redrawing with DirectX. Solution: Avoid calling gui_mch_flush() unnecessarily, especially when updating the cursor. (Ken Takata, closes #2560)
2017-12-19patch 8.0.1415: warning for unused function without timers featurev8.0.1415Bram Moolenaar
Problem: Warning for unused function without timers feature. Solution: Add #ifdef. (John Marriott)
2017-12-19patch 8.0.1407: GUI: CursorHold may trigger before 'updatetime'v8.0.1407Bram Moolenaar
Problem: GUI: CursorHold may trigger before 'updatetime' when using timers. Solution: Check that 'updatetime' has passed.
2017-12-18patch 8.0.1405: duplicated code for getting a typed characterv8.0.1405Bram Moolenaar
Problem: Duplicated code for getting a typed character. CursorHold is called too often in the GUI. (lilydjwg) Solution: Refactor code to move code up from mch_inchar(). Don't fire CursorHold if feedkeys() was used. (closes #2451)
2017-12-17patch 8.0.1401: cannot build with GTK but without XIMv8.0.1401Bram Moolenaar
Problem: Cannot build with GTK but without XIM. (Guido) Solution: Adjust #ifdef. (closes #2461)
2017-11-25patch 8.0.1338: USE_IM_CONTROL is confusing and incompletev8.0.1338Bram Moolenaar
Problem: USE_IM_CONTROL is confusing and incomplete. Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
2017-11-18patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312Bram Moolenaar
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.
2017-11-18patch 8.0.1309: cannot use 'balloonexpr' in a terminalv8.0.1309Bram Moolenaar
Problem: Cannot use 'balloonexpr' in a terminal. Solution: Add 'balloonevalterm' and add code to handle mouse movements in a terminal. Initial implementation for Unix with GUI.
2017-11-13patch 8.0.1296: checking the same condition twicev8.0.1296Bram Moolenaar
Problem: Checking the same condition twice. (John Marriott) Solution: Check blinkwait.
2017-11-12patch 8.0.1294: GUI: get stuck when splitting a terminal windowv8.0.1294Bram Moolenaar
Problem: GUI: get stuck when splitting a terminal window. Solution: Stop blinking when values become zero. (Hirohito Higashi)
2017-11-11patch 8.0.1288: GUI: cannot drag the statusline of a terminal windowv8.0.1288Bram Moolenaar
Problem: GUI: cannot drag the statusline of a terminal window. Solution: Handle the TERMINAL state. (Hirohito Higashi)
2017-11-09patch 8.0.1278: GUI window always resizes when adding scrollbarv8.0.1278Bram Moolenaar
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-10-28patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar
Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
2017-10-28patch 8.0.1234: MS-Windows: composing chars are not shown properlyv8.0.1234Bram Moolenaar
Problem: MS-Windows: composing characters are not shown properly. Solution: Pass base character and composing characters to the renderer at once. (Ken Takata, closes #2206)
2017-09-24patch 8.0.1143: macros always expand to the same thingv8.0.1143Bram Moolenaar
Problem: Macros always expand to the same thing. Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().
2017-09-22patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar
Problem: W_WIDTH() is always the same. Solution: Expand the macro.
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar
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.
2017-09-14patch 8.0.1108: cannot specify mappings for the terminal windowv8.0.1108Bram Moolenaar
Problem: Cannot specify mappings for the terminal window. Solution: Add the :tmap command and associated code. (Jacob Askeland, closes #2073)
2017-09-02patch 8.0.1038: strike-through text not supportedv8.0.1038Bram Moolenaar
Problem: Strike-through text not supported. Solution: Add support for the "strikethrough" attribute. (Christian Brabandt, Ken Takata)
2017-08-16patch 8.0.0948: crash if timer closes window while dragging status linev8.0.0948Bram Moolenaar
Problem: Crash if timer closes window while dragging status line. Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes #1979)
2017-08-12patch 8.0.0921: terminal window cursor shape not supported in the GUIv8.0.0921Bram Moolenaar
Problem: Terminal window cursor shape not supported in the GUI. Solution: Use the terminal window cursor shape in the GUI.
2017-06-17patch 8.0.0643: when a pattern search is slow Vim becomes unusablev8.0.0643Bram Moolenaar
Problem: When 'hlsearch' is set and matching with the last search pattern is very slow, Vim becomes unusable. Cannot quit search by pressing CTRL-C. Solution: When the search times out set a flag and don't try again. Check for timeout and CTRL-C in NFA loop that adds states.
2017-06-05patch 8.0.0619: GUI gets stuck if timer uses feedkeys()v8.0.0619Bram Moolenaar
Problem: In the GUI, when a timer uses feedkeys(), it still waits for an event. (Raymond Ko) Solution: Check tb_change_cnt in one more place.
2017-03-16patch 8.0.0468: after aborting an Ex command g< does not workv8.0.0468Bram Moolenaar
Problem: After aborting an Ex command g< does not work. (Marcin Szamotulski) Solution: Postpone clearing scrollback messages to until the command line has been entered. Also fix that the screen isn't redrawn if after g< the command line is cancelled.
2017-03-12patch 8.0.0452: some macros are in lower casev8.0.0452Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
2017-03-12patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
2017-03-12patch 8.0.0448: some macros are in lower casev8.0.0448Bram Moolenaar
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
2017-02-03patch 8.0.0299: a window resize is sometimes not taking effectv8.0.0299Bram Moolenaar
Problem: When the GUI window is resized Vim does not always take over the new size. (Luchr) Solution: Reset new_p_guifont in gui_resize_shell(). Call gui_may_resize_shell() in the main loop.
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-22patch 7.4.2243v7.4.2243Bram Moolenaar
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.
2016-08-12patch 7.4.2199v7.4.2199Bram Moolenaar
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.
2016-08-10patch 7.4.2193v7.4.2193Bram Moolenaar
Problem: With Gnome when the GUI can't start test_startup hangs. Solution: Call gui_mch_early_init_check(). (Hirohito Higashi)