| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Compiler warning for uninitialized variable.
Solution: Initialize it. (Christian Brabandt)
|
|
|
|
|
|
| |
Problem: Sign column not always properly aligned.
Solution: Use "col" only after it was calculated. (Yee Cheng Chin,
closes #4649)
|
|
|
|
|
| |
Problem: GUI: popup window doesn't close on mouse movement. (Paul Jolly)
Solution: Generate mouse-move events when a popup window is visible.
|
|
|
|
|
| |
Problem: Sign placement is wrong when 'foldcolumn' is set.
Solution: Adjust the column computation. (Yee Cheng Chin, closes #4627)
|
|
|
|
|
|
| |
Problem: Redraw problem when sign icons in the number column.
Solution: Clear and redraw when changing related options. Right aligh the
sign icon in the GUI. (Yegappan Lakshmanan, closes #4578)
|
|
|
|
|
| |
Problem: Icon signs not displayed properly in the number column.
Solution: Display them properly. (Yegappan Lakshmanan, closes #4559)
|
|
|
|
|
|
| |
Problem: Popup windows are ignored when dealing with mouse position
Solution: Find the mouse position inside a popup window. Allow for modeless
selection.
|
|
|
|
|
| |
Problem: Popup window "moved" property not implemented yet.
Solution: Implement it.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Problem: Cannot recover from a swap file.
Solution: Do not expand environment variables in the swap file name.
Do not check the extension when we already know a file is a swap
file. (Ken Takata, closes 4415, closes #4369)
|
|
|
|
|
| |
Problem: MS-Windows: compiler warning for unused value.
Solution: Adjust #ifdefs. (Ken Takata, closes #4363)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Motif build fails. (Paul Jolly)
Solution: Only use gui_mch_maximized() for MS-Windows. (closes #4194)
|
|
|
|
|
|
|
| |
Problem: Setting 'guifont' when maximized resizes the Vim window. When
'guioptions' contains "k" gvim may open with a tiny window.
Solution: Avoid un-maximizing when setting 'guifont'. (Yee Cheng Chin,
closes #3808)
|
|
|
|
|
|
| |
Problem: Too many curly braces.
Solution: Remove curly braces where they are not needed. (Hirohito Higashi,
closes #3982)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
Problem: Cannot have a local value for 'scrolloff' and 'sidescrolloff'.
(Gary Holloway)
Solution: Make 'scrolloff' and 'sidescrolloff' global-local. (mostly by
Aron Widforss, closes #3539)
|
|
|
|
|
|
|
| |
Problem: GUI may wait too long before dealing with messages. Returning
early may cause a mapping to time out.
Solution: Use the waiting loop from Unix also for the GUI.
(closes #3817, closes #3824)
|
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
|
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 1.
|
|
|
|
|
| |
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
|
|
|
|
|
|
| |
Problem: Inconsistent use of ELAPSED_FUNC.
Solution: Consistently use ELAPSED_FUNC. Also turn ELAPSED_TYPE into a
typedef. (Ozaki Kiichi, closes #3815)
|
|
|
|
|
| |
Problem: Nobody is using the Sun Workshop support.
Solution: Remove the Workshop support.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Redrawing specifically for conceal feature.
Solution: Use generic redrawing methods.
|
|
|
|
|
|
| |
Problem: MS-Windows: no resize to fit parent when using --windowid.
Solution: Pass FALSE for "mustset" in gui_set_shellsize(). (Agorgianitis
Loukas, closes #3616)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Error message for NUL byte in ScreenLines breaks Travis CI.
Solution: Use a normal message fornow.
|
|
|
|
|
| |
Problem: Error for NUL byte in ScreenLines goes unnoticed.
Solution: Add an internal error message.
|
|
|
|
|
| |
Problem: Asan complains about reading before allocated block.
Solution: Workaround: Avoid offset from becoming negative.
|
|
|
|
|
| |
Problem: Various typos in comments.
Solution: Fix the typos.
|
|
|
|
|
| |
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
|
|
|
|
|
| |
Problem: Dropping files is ignored while Vim is busy.
Solution: Postpone the effect of dropping files until it's safe.
|
|
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate the +vreplace feature, it's not much code and quite a few
#ifdefs.
|
|
|
|
|
| |
Problem: Crash when using ballooneval related to 'vartabstop'.
Solution: Initialize balloonEval->vts to NULL. (Markus Braun)
|
|
|
|
|
|
| |
Problem: GUI: find/replace dialog does not handle some chars properly.
Solution: Escape '?' when needed. Always escape backslash. (closes #2418,
closes #2435)
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
|
|
|
|
|
|
| |
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
|
|
|
|
|
| |
Problem: On MS-Windows CursorIM highlighting no longer works.
Solution: Adjust #if statements. (Ken Takata)
|
|
|
|
|
| |
Problem: Missing yet another file in patch.
Solution: Add changes to missing file.
|
|
|
|
|
|
| |
Problem: Endless loop when gui_mch_stop_blink() is called while blink_state
is BLINK_OFF. (zdohnal)
Solution: Avoid calling gui_update_cursor() recursively.
|
|
|
|
|
|
| |
Problem: Slow redrawing with DirectX.
Solution: Avoid calling gui_mch_flush() unnecessarily, especially when
updating the cursor. (Ken Takata, closes #2560)
|
|
|
|
|
| |
Problem: Warning for unused function without timers feature.
Solution: Add #ifdef. (John Marriott)
|
|
|
|
|
| |
Problem: GUI: CursorHold may trigger before 'updatetime' when using timers.
Solution: Check that 'updatetime' has passed.
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Cannot build with GTK but without XIM. (Guido)
Solution: Adjust #ifdef. (closes #2461)
|
|
|
|
|
| |
Problem: USE_IM_CONTROL is confusing and incomplete.
Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
|
|
|
|
|
|
| |
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.
|