summaryrefslogtreecommitdiff
path: root/src/ui.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.0443: clipboard code is spread outv8.2.0443Bram Moolenaar2020-03-241-1884/+1
| | | | | | Problem: Clipboard code is spread out. Solution: Move clipboard code to its own file. (Yegappan Lakshmanan, closes #5827)
* patch 8.2.0431: some compilers don't support using \e for Escv8.2.0431Bram Moolenaar2020-03-231-1/+1
| | | | | | Problem: Some compilers don't support using \e for Esc. (Yegappan Lakshmanan) Solution: use \033 instead.
* patch 8.2.0425: code for modeless selection not sufficiently testedv8.2.0425Bram Moolenaar2020-03-221-1/+1
| | | | | | Problem: Code for modeless selection not sufficiently tested. Solution: Add tests. Move mouse code functionality to a common script file. (Yegappan Lakshmanan, closes #5821)
* patch 8.2.0421: interrupting with CTRL-C does not always workv8.2.0421Bram Moolenaar2020-03-201-3/+6
| | | | | Problem: Interrupting with CTRL-C does not always work. Solution: Recognize CTRL-C while modifyOtherKeys is set.
* patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar2020-01-261-1/+1
| | | | | Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
* patch 8.2.0106: printf formats are not exactly rightv8.2.0106Bram Moolenaar2020-01-081-3/+3
| | | | | Problem: Printf formats are not exactly right. Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
* patch 8.2.0009: VMS: terminal version doesn't buildv8.2.0009Bram Moolenaar2019-12-151-1/+1
| | | | | Problem: VMS: terminal version doesn't build. Solution: Move MIN definition. Adjust #ifdefs. (Zoltan Arpadffy)
* patch 8.2.0001: #endif comments do reflect corresponding #ifdefv8.2.0001Bram Moolenaar2019-12-131-2/+2
| | | | | Problem: #endif comments do reflect corresponding #ifdef. Solution: Update the comments. (Rene Nyffenegger, closes #5351)
* patch 8.1.2396: using old C style commentsv8.1.2396Bram Moolenaar2019-12-051-194/+194
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar2019-11-301-10/+10
| | | | | Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
* patch 8.1.2331: the option.c file is still very bigv8.1.2331Bram Moolenaar2019-11-211-1/+92
| | | | | | Problem: The option.c file is still very big. Solution: Move a few functions to where they fit better. (Yegappan Lakshmanan, closes #4895)
* patch 8.1.2327: cannot build with Hangul inputv8.1.2327Bram Moolenaar2019-11-211-32/+0
| | | | | Problem: Cannot build with Hangul input. Solution: Remove Hangul input support.
* patch 8.1.2313: debugging where a delay comes from is not easyv8.1.2313Bram Moolenaar2019-11-171-0/+3
| | | | | Problem: Debugging where a delay comes from is not easy. Solution: Use different values when calling ui_delay().
* patch 8.1.2243: typos in commentsv8.1.2243Bram Moolenaar2019-11-021-2/+2
| | | | | | Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
* patch 8.1.2064: MS-Windows: compiler warnings for unused argumentsv8.1.2064Bram Moolenaar2019-09-211-1/+1
| | | | | Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963)
* patch 8.1.2062: the mouse code is spread outv8.1.2062Bram Moolenaar2019-09-211-791/+0
| | | | | | Problem: The mouse code is spread out. Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan, closes #4959)
* patch 8.1.2006: build failure with huge features but without channel featurev8.1.2006Bram Moolenaar2019-09-071-0/+2
| | | | | Problem: Build failure with huge features but without channel feature. Solution: Add #ifdef. (Dominique Pelle, closes #4906)
* patch 8.1.1971: manually enabling features causes build errorsv8.1.1971Bram Moolenaar2019-09-031-4/+4
| | | | | Problem: Manually enabling features causes build errors. (John Marriott) Solution: Adjust #ifdefs.
* patch 8.1.1920: cannot always close a popup when filter consumes all eventsv8.1.1920Bram Moolenaar2019-08-241-5/+3
| | | | | | Problem: Cannot close a popup by the X when a filter consumes all events. Solution: Check for a click on the close button before invoking filters. (closes #4858)
* patch 8.1.1916: trying to allocate negative amount of memory closing popupv8.1.1916Bram Moolenaar2019-08-241-1/+6
| | | | | | Problem: Trying to allocate negative amount of memory when closing a popup. Solution: Check the rows are not out of bounds. Don't finish a selection if it was never started.
* patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar2019-08-201-3/+9
| | | | | Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
* patch 8.1.1874: modeless selection in popup window overlaps scrollbarv8.1.1874Bram Moolenaar2019-08-171-1/+2
| | | | | Problem: Modeless selection in popup window overlaps scrollbar. Solution: Subtract scrollbar from max_col. (closes #4773)
* patch 8.1.1871: modeless selection in GUI still not correctv8.1.1871Bram Moolenaar2019-08-171-13/+14
| | | | | Problem: Modeless selection in GUI still not correct. Solution: Fix max_col.
* patch 8.1.1866: modeless selection in GUI does not work properlyv8.1.1866Bram Moolenaar2019-08-161-4/+4
| | | | | Problem: Modeless selection in GUI does not work properly. Solution: Avoid going beyond the end of the line. (closes #4783)
* patch 8.1.1851: crash when sound_playfile() callback plays soundv8.1.1851Bram Moolenaar2019-08-151-5/+15
| | | | | Problem: Crash when sound_playfile() callback plays sound. Solution: Invoke callback later from event loop.
* patch 8.1.1787: cannot resize a popup windowv8.1.1787Bram Moolenaar2019-08-011-2/+3
| | | | | Problem: Cannot resize a popup window. Solution: Allow for resizing by dragging the lower right corncer.
* patch 8.1.1786: double click in popup scrollbar starts selectionv8.1.1786Bram Moolenaar2019-08-011-23/+27
| | | | | Problem: Double click in popup scrollbar starts selection. Solution: Ignore the double click.
* patch 8.1.1751: when redrawing popups plines_win() may be called oftenv8.1.1751Bram Moolenaar2019-07-261-16/+30
| | | | | Problem: When redrawing popups plines_win() may be called often. Solution: Pass a cache to mouse_comp_pos().
* patch 8.1.1612: cannot show an existing buffer in a popup windowv8.1.1612Bram Moolenaar2019-06-301-2/+2
| | | | | Problem: Cannot show an existing buffer in a popup window. Solution: Support buffer number argument in popup_create().
* patch 8.1.1609: the user cannot easily close a popup windowv8.1.1609Bram Moolenaar2019-06-301-2/+23
| | | | | | Problem: The user cannot easily close a popup window. Solution: Add the "close" property. (mostly by Masato Nishihata, closes #4601)
* patch 8.1.1608: the evalfunc.c file is too bigv8.1.1607Bram Moolenaar2019-06-291-2/+5
| | | | | Problem: The evalfunc.c file is too big. Solution: Move sign functionality to sign.c.
* patch 8.1.1580: cannot make part of a popup transparentv8.1.1580Bram Moolenaar2019-06-231-1/+1
| | | | | Problem: Cannot make part of a popup transparent. Solution: Add the "mask" option.
* patch 8.1.1576: compiler warning for unused argumentv8.1.1576Bram Moolenaar2019-06-211-1/+1
| | | | | Problem: Compiler warning for unused argument. Solution: Add "UNUSED" annotation. (Dominique Pelle, closes #4570)
* patch 8.1.1551: warning for shadowing popup_dragwinv8.1.1551Bram Moolenaar2019-06-151-1/+0
| | | | | Problem: Warning for shadowing popup_dragwin. (Dominique Pelle) Solution: Add missing change.
* patch 8.1.1534: modeless selection in popup window selects too muchv8.1.1534Bram Moolenaar2019-06-141-35/+123
| | | | | Problem: Modeless selection in popup window selects too much. Solution: Restrict the selection to insde of the popup window.
* patch 8.1.1531: clipboard type name is inconsistentv8.1.1531Bram Moolenaar2019-06-141-28/+27
| | | | | Problem: Clipboard type name is inconsistent. Solution: Rename VimClipboard to Clipboard_T.
* patch 8.1.1525: cannot move a popup window with the mousev8.1.1525Bram Moolenaar2019-06-131-8/+35
| | | | | | Problem: Cannot move a popup window with the mouse. Solution: Add the "drag" property and make it possible to drag a popup window by its border.
* patch 8.1.1520: popup windows are ignored when dealing with mouse positionv8.1.1520Bram Moolenaar2019-06-121-5/+67
| | | | | | Problem: Popup windows are ignored when dealing with mouse position Solution: Find the mouse position inside a popup window. Allow for modeless selection.
* patch 8.1.1517: when a popup changes all windows are redrawnv8.1.1517Bram Moolenaar2019-06-101-3/+7
| | | | | | Problem: When a popup changes all windows are redrawn. Solution: Only update the lines that were affected. Add a file for profiling popup windows efficiency.
* patch 8.1.1419: listener callbacks may be called recursivelyv8.1.1419Bram Moolenaar2019-05-291-1/+1
| | | | | Problem: Listener callbacks may be called recursively. Solution: Set "updating_screen" while listener callbacks are invoked.
* 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-3/+3
| | | | | Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
* patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exev8.1.1230Bram Moolenaar2019-04-281-1/+1
| | | | | | 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)
* patch 8.1.1131: getwinpos() does not work in the MS-Windows consolev8.1.1131Bram Moolenaar2019-04-061-2/+7
| | | | | Problem: getwinpos() does not work in the MS-Windows console. Solution: Implement getwinpos().
* patch 8.1.1127: getwinpos() doesn't work in terminal on MS-Windows consolev8.1.1127Bram Moolenaar2019-04-061-2/+3
| | | | | Problem: getwinpos() doesn't work in terminal on MS-Windows console. Solution: Adjust #ifdefs. Disable test for MS-Windows console.
* patch 8.1.1126: build failure with +terminal but without tgetentv8.1.1126Bram Moolenaar2019-04-061-2/+3
| | | | | Problem: Build failure with +terminal but without tgetent. Solution: Adjust #ifdef.
* patch 8.1.1125: libvterm does not handle the window position reportv8.1.1125Bram Moolenaar2019-04-061-0/+21
| | | | | | Problem: Libvterm does not handle the window position report. Solution: Let libvterm call the fallback CSI handler when not handling CSI sequence. Handle the window position report in Vim.
* patch 8.1.0989: various small code uglinessv8.1.0989Bram Moolenaar2019-03-021-1/+1
| | | | | | Problem: Various small code ugliness. Solution: Remove pointless NULL checks. Fix function calls. Fix typos. (Dominique Pelle, closes #4060)
* patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar2019-02-171-4/+4
| | | | | | | 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.0840: getchar(0) never returns a character in the terminalv8.1.0840Bram Moolenaar2019-01-281-1/+7
| | | | | Problem: getchar(0) never returns a character in the terminal. Solution: Call wait_func() at least once.