Bram Moolenaar
32aa10203b
patch 8.1.2243: typos in comments
...
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160 ) Also adjust
formatting a bit.
2019-11-02 22:54:41 +01:00
Bram Moolenaar
bd67aac279
patch 8.1.2064: MS-Windows: compiler warnings for unused arguments
...
Problem: MS-Windows: compiler warnings for unused arguments.
Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963 )
2019-09-21 23:09:04 +02:00
Bram Moolenaar
b20b9e14dd
patch 8.1.2062: the mouse code is spread out
...
Problem: The mouse code is spread out.
Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan,
closes #4959 )
2019-09-21 20:48:04 +02:00
Bram Moolenaar
6cdce2a003
patch 8.1.2006: build failure with huge features but without channel feature
...
Problem: Build failure with huge features but without channel feature.
Solution: Add #ifdef. (Dominique Pelle, closes #4906 )
2019-09-07 23:25:09 +02:00
Bram Moolenaar
d570ab95d9
patch 8.1.1971: manually enabling features causes build errors
...
Problem: Manually enabling features causes build errors. (John Marriott)
Solution: Adjust #ifdefs.
2019-09-03 23:20:05 +02:00
Bram Moolenaar
f63962378d
patch 8.1.1920: cannot always close a popup when filter consumes all events
...
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 )
2019-08-24 19:36:00 +02:00
Bram Moolenaar
741ea17038
patch 8.1.1916: trying to allocate negative amount of memory closing popup
...
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.
2019-08-24 14:16:32 +02:00
Bram Moolenaar
5843f5f37b
patch 8.1.1891: functions used in one file are global
...
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840 )
2019-08-20 20:13:45 +02:00
Bram Moolenaar
4dd751b956
patch 8.1.1874: modeless selection in popup window overlaps scrollbar
...
Problem: Modeless selection in popup window overlaps scrollbar.
Solution: Subtract scrollbar from max_col. (closes #4773 )
2019-08-17 19:10:53 +02:00
Bram Moolenaar
ff9f27cdc7
patch 8.1.1871: modeless selection in GUI still not correct
...
Problem: Modeless selection in GUI still not correct.
Solution: Fix max_col.
2019-08-17 16:15:53 +02:00
Bram Moolenaar
d5cf89872e
patch 8.1.1866: modeless selection in GUI does not work properly
...
Problem: Modeless selection in GUI does not work properly.
Solution: Avoid going beyond the end of the line. (closes #4783 )
2019-08-16 23:09:11 +02:00
Bram Moolenaar
28e67e0c14
patch 8.1.1851: crash when sound_playfile() callback plays sound
...
Problem: Crash when sound_playfile() callback plays sound.
Solution: Invoke callback later from event loop.
2019-08-15 23:05:49 +02:00
Bram Moolenaar
9bcb70c18a
patch 8.1.1787: cannot resize a popup window
...
Problem: Cannot resize a popup window.
Solution: Allow for resizing by dragging the lower right corncer.
2019-08-01 21:11:05 +02:00
Bram Moolenaar
13b11eddca
patch 8.1.1786: double click in popup scrollbar starts selection
...
Problem: Double click in popup scrollbar starts selection.
Solution: Ignore the double click.
2019-08-01 15:52:45 +02:00
Bram Moolenaar
9d5ffceb3f
patch 8.1.1751: when redrawing popups plines_win() may be called often
...
Problem: When redrawing popups plines_win() may be called often.
Solution: Pass a cache to mouse_comp_pos().
2019-07-26 21:01:29 +02:00
Bram Moolenaar
5b8cfedfbd
patch 8.1.1612: cannot show an existing buffer in a popup window
...
Problem: Cannot show an existing buffer in a popup window.
Solution: Support buffer number argument in popup_create().
2019-06-30 22:16:10 +02:00
Bram Moolenaar
2e62b568e9
patch 8.1.1609: the user cannot easily close a popup window
...
Problem: The user cannot easily close a popup window.
Solution: Add the "close" property. (mostly by Masato Nishihata,
closes #4601 )
2019-06-30 18:07:00 +02:00
Bram Moolenaar
f9c85f580b
patch 8.1.1608: the evalfunc.c file is too big
...
Problem: The evalfunc.c file is too big.
Solution: Move sign functionality to sign.c.
2019-06-29 07:41:35 +02:00
Bram Moolenaar
c662ec9978
patch 8.1.1580: cannot make part of a popup transparent
...
Problem: Cannot make part of a popup transparent.
Solution: Add the "mask" option.
2019-06-23 00:15:57 +02:00
Bram Moolenaar
405bb42734
patch 8.1.1576: compiler warning for unused argument
...
Problem: Compiler warning for unused argument.
Solution: Add "UNUSED" annotation. (Dominique Pelle, closes #4570 )
2019-06-21 00:12:29 +02:00
Bram Moolenaar
6c17543b56
patch 8.1.1551: warning for shadowing popup_dragwin
...
Problem: Warning for shadowing popup_dragwin. (Dominique Pelle)
Solution: Add missing change.
2019-06-15 23:10:30 +02:00
Bram Moolenaar
bd75b5333d
patch 8.1.1534: modeless selection in popup window selects too much
...
Problem: Modeless selection in popup window selects too much.
Solution: Restrict the selection to insde of the popup window.
2019-06-14 23:41:55 +02:00
Bram Moolenaar
0554fa478d
patch 8.1.1531: clipboard type name is inconsistent
...
Problem: Clipboard type name is inconsistent.
Solution: Rename VimClipboard to Clipboard_T.
2019-06-14 21:36:54 +02:00
Bram Moolenaar
b53fb31a1e
patch 8.1.1525: cannot move a popup window with the mouse
...
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.
2019-06-13 23:59:52 +02:00
Bram Moolenaar
451d4b5b7c
patch 8.1.1520: popup windows are ignored when dealing with mouse position
...
Problem: Popup windows are ignored when dealing with mouse position
Solution: Find the mouse position inside a popup window. Allow for modeless
selection.
2019-06-12 20:22:27 +02:00
Bram Moolenaar
4c063a0dab
patch 8.1.1517: when a popup changes all windows are redrawn
...
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.
2019-06-10 21:24:12 +02:00
Bram Moolenaar
68a4b04a8d
patch 8.1.1419: listener callbacks may be called recursively
...
Problem: Listener callbacks may be called recursively.
Solution: Set "updating_screen" while listener callbacks are invoked.
2019-05-29 22:28:29 +02:00
Bram Moolenaar
c799fe206e
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts
...
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.
2019-05-28 23:08:19 +02:00
Bram Moolenaar
18a4ba29ae
patch 8.1.1386: unessesary type casts for lalloc()
...
Problem: Unessesary type casts for lalloc().
Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
2019-05-24 19:39:03 +02:00
Bram Moolenaar
afde13b62b
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
...
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 )
2019-04-28 19:46:49 +02:00
Bram Moolenaar
16c34c3765
patch 8.1.1131: getwinpos() does not work in the MS-Windows console
...
Problem: getwinpos() does not work in the MS-Windows console.
Solution: Implement getwinpos().
2019-04-06 22:01:24 +02:00
Bram Moolenaar
6bc9305a02
patch 8.1.1127: getwinpos() doesn't work in terminal on MS-Windows console
...
Problem: getwinpos() doesn't work in terminal on MS-Windows console.
Solution: Adjust #ifdefs. Disable test for MS-Windows console.
2019-04-06 20:00:19 +02:00
Bram Moolenaar
3d3f21764a
patch 8.1.1126: build failure with +terminal but without tgetent
...
Problem: Build failure with +terminal but without tgetent.
Solution: Adjust #ifdef.
2019-04-06 17:56:05 +02:00
Bram Moolenaar
fa1e90cd4d
patch 8.1.1125: libvterm does not handle the window position report
...
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.
2019-04-06 17:47:40 +02:00
Bram Moolenaar
bdace838c6
patch 8.1.0989: various small code ugliness
...
Problem: Various small code ugliness.
Solution: Remove pointless NULL checks. Fix function calls. Fix typos.
(Dominique Pelle, closes #4060 )
2019-03-02 10:13:42 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
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 )
2019-02-17 17:44:42 +01:00
Bram Moolenaar
12dfc9eef1
patch 8.1.0840: getchar(0) never returns a character in the terminal
...
Problem: getchar(0) never returns a character in the terminal.
Solution: Call wait_func() at least once.
2019-01-28 22:32:58 +01:00
Bram Moolenaar
3e9d4d85c4
patch 8.1.0835: GUI build fails on MS-Windows
...
Problem: GUI build fails on MS-Windows.
Solution: Adjust #ifdef.
2019-01-27 17:08:40 +01:00
Bram Moolenaar
e40b9d47bf
patch 8.1.0834: GUI may wait too long before dealing with messages
...
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 )
2019-01-27 16:55:47 +01:00
Bram Moolenaar
29ddebef40
patch 8.1.0826: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-26 17:28:26 +01:00
Bram Moolenaar
264b74fa54
patch 8.1.0810: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 4.
2019-01-24 17:18:42 +01:00
Bram Moolenaar
113e10721f
patch 8.1.0785: depending on the configuration some functions are unused
...
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822 )
2019-01-20 15:30:40 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
bb1969b6ab
patch 8.1.0763: nobody is using the Sun Workshop support
...
Problem: Nobody is using the Sun Workshop support.
Solution: Remove the Workshop support.
2019-01-17 15:45:25 +01:00
Bram Moolenaar
e299bbdf6e
patch 8.1.0761: default value for brief_wait is wrong
...
Problem: Default value for brief_wait is wrong.
Solution: Make the default FALSE. (Ozaki Kiichi, closes #3812 , closes #3799 )
2019-01-17 14:12:02 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
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.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
c46af53410
patch 8.1.0710: when using timers may wait for job exit quite long
...
Problem: When using timers may wait for job exit quite long.
Solution: Return from ui_wait_for_chars_or_timer() when a job or channel
needs to be handled. (Ozaki Kiichi, closes #3783 )
2019-01-09 22:24:49 +01:00
Bram Moolenaar
1341024e08
patch 8.1.0548: crash when job callback unloads a buffer
...
Problem: Crash when job callback unloads a buffer. (James McCoy)
Solution: Don't round up the wait time to 10 msec in ui_inchar().
2018-11-26 21:19:11 +01:00
Bram Moolenaar
48d23bb4de
patch 8.1.0537: ui_breakcheck() may be called recursively
...
Problem: ui_breakcheck() may be called recursively, which doesn't work.
Solution: When called recursively, just return. (James McCoy, closes #3617 )
2018-11-20 02:42:43 +01:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00