Bram Moolenaar
163588005d
patch 8.1.1946: memory error when profiling a function without a script ID
...
Problem: Memory error when profiling a function without a script ID.
Solution: Check for missing script ID. (closes #4877 )
2019-08-30 18:37:26 +02:00
Bram Moolenaar
9e67b6a6a1
patch 8.1.1945: popup window "firstline" cannot be reset
...
Problem: Popup window "firstline" cannot be reset.
Solution: Allow for setting "firstline" to zero. Fix that the text jumps to
the top when using win_execute(). (closes #4876 )
2019-08-30 17:34:08 +02:00
Bram Moolenaar
821d771e86
patch 8.1.1944: leaking memory when using sound callback
...
Problem: Leaking memory when using sound callback.
Solution: src/sound.c
2019-08-30 16:30:00 +02:00
Bram Moolenaar
8d71b54409
patch 8.1.1943: more code can be moved to evalvars.c
...
Problem: More code can be moved to evalvars.c.
Solution: Move it, clean up comments. Also move some window related
functions to window.c. (Yegappan Lakshmanan, closes #4874 )
2019-08-30 15:46:30 +02:00
Bram Moolenaar
58a297b28d
patch 8.1.1942: shadow directory gets outdated when files are added
...
Problem: Shadow directory gets outdated when files are added.
Solution: Add the "shadowupdate" target and add a few comments.
2019-08-30 13:59:29 +02:00
Bram Moolenaar
ad5db44c01
patch 8.1.1941: getftype() test fails on Mac
...
Problem: getftype() test fails on Mac.
Solution: Skip /dev/fd/.
2019-08-30 13:12:25 +02:00
Bram Moolenaar
34ed68d40e
patch 8.1.1940: script tests fail
...
Problem: Script tests fail.
Solution: Don't set vimvars type in set_vim_var_nr().
2019-08-29 22:48:24 +02:00
Bram Moolenaar
e5cdf153bc
patch 8.1.1939: code for handling v: variables in generic eval file
...
Problem: Code for handling v: variables in generic eval file.
Solution: Move v: variables to evalvars.c. (Yegappan Lakshmanan,
closes #4872 )
2019-08-29 22:09:46 +02:00
Bram Moolenaar
c507a2d164
patch 8.1.1938: may crash when out of memory
...
Problem: May crash when out of memory.
Solution: Initialize v_type to VAR_UNKNOWN. (Dominique Pelle, closes #4871 )
2019-08-29 21:32:55 +02:00
Bram Moolenaar
4fb15c6476
patch 8.1.1937: errors when using javascriptreact
...
Problem: Errors when using javascriptreact.
Solution: Use ":runtime" instead of ":source". (closes #4875 )
2019-08-29 21:24:21 +02:00
Bram Moolenaar
1fb0831a0e
patch 8.1.1936: not enough tests for text property popup window
...
Problem: Not enough tests for text property popup window.
Solution: Add a few more tests. Make negative offset work. Close all
popups when window closes.
2019-08-29 20:02:11 +02:00
Bram Moolenaar
57441d6fa0
patch 8.1.1935: test for text property popup window is flaky
...
Problem: Test for text property popup window is flaky.
Solution: Remove the undo message
2019-08-28 22:38:07 +02:00
Bram Moolenaar
bc2d4c1db6
patch 8.1.1934: not enough tests for text property popup window
...
Problem: Not enough tests for text property popup window.
Solution: Add a few more tests.
2019-08-28 22:18:30 +02:00
Bram Moolenaar
0522ba0359
patch 8.1.1933: the eval.c file is too big
...
Problem: The eval.c file is too big.
Solution: Move code related to variables to evalvars.c. (Yegappan
Lakshmanan, closes #4868 )
2019-08-27 22:48:30 +02:00
Bram Moolenaar
d20070274c
patch 8.1.1932: ml_get errors after using append()
...
Problem: Ml_get errors after using append(). (Alex Genco)
Solution: Do not update the cursor twice. (closes #1737 )
2019-08-27 21:56:06 +02:00
Bram Moolenaar
ea7a08a53e
patch 8.1.1931: syntax test fails
...
Problem: Syntax test fails.
Solution: Add new javascriptreact type to completions.
2019-08-26 22:38:22 +02:00
Bram Moolenaar
92852cee3f
patch 8.1.1930: cannot recognize .jsx and .tsx files
...
Problem: Cannot recognize .jsx and .tsx files.
Solution: Recognize them as javascriptreact and typescriptreact.
(closes #4830 )
2019-08-26 21:28:15 +02:00
Bram Moolenaar
8e95636a28
patch 8.1.1929: no tests for text property popup window
...
Problem: No tests for text property popup window.
Solution: Add a few tests.
2019-08-25 23:08:17 +02:00
Bram Moolenaar
12034e22dd
patch 8.1.1928: popup windows don't move with the text when making changes
...
Problem: Popup windows don't move with the text when making changes.
Solution: Add the 'textprop" property to the popup window options, position
the popup relative to a text property. (closes #4560 )
No tests yet.
2019-08-25 22:25:02 +02:00
Bram Moolenaar
307c5a5bb7
patch 8.1.1927: code for dealing with script files is spread out
...
Problem: Code for dealing with script files is spread out.
Solution: Move the code to scriptfile.c. (Yegappan Lakshmanan, closes #4861 )
2019-08-25 15:41:00 +02:00
Bram Moolenaar
c2b97643a8
patch 8.1.1926: cursorline not redrawn when putting a line above the cursor
...
Problem: Cursorline not redrawn when putting a line above the cursor.
Solution: Redraw when the curor line is below a change. (closes #4862 )
2019-08-25 14:48:37 +02:00
Bram Moolenaar
4c313b13fb
patch 8.1.1925: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
2019-08-24 22:58:31 +02:00
Bram Moolenaar
a8eee21e75
patch 8.1.1924: using empty string for current buffer is unexpected
...
Problem: Using empty string for current buffer is unexpected.
Solution: Make the argument optional for bufname() and bufnr().
2019-08-24 22:14:58 +02:00
Bram Moolenaar
4119309d70
patch 8.1.1923: some source files are not in a normal encoding
...
Problem: Some source files are not in a normal encoding.
Solution: Convert hangulin.c from euc-kr to utf-8 and digraph.c from latin1
to utf-8. (Daniel Hahler, closes #4731 )
2019-08-24 21:53:31 +02:00
Bram Moolenaar
4f57eefe1e
patch 8.1.1922: in diff mode global operations can be very slow
...
Problem: In diff mode global operations can be very slow.
Solution: Do not call diff_redraw() many times, call it once when redrawing.
And also don't update folds multiple times.
2019-08-24 20:54:19 +02:00
Bram Moolenaar
a4208966fb
patch 8.1.1921: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
2019-08-24 20:50:19 +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
4645104be4
patch 8.1.1919: using window options when passing a buffer to popup_create()
...
Problem: Using current window option values when passing a buffer to
popup_create().
Solution: Clear the window-local options. (closes #4857 )
2019-08-24 15:50:46 +02:00
Bram Moolenaar
e9a891f255
patch 8.1.1918: redrawing popups is inefficient
...
Problem: Redrawing popups is inefficient.
Solution: Fix the logic to compute what window lines to redraw. Make it
work below the last line. Remove redrawing all windows.
2019-08-24 15:26:24 +02:00
Bram Moolenaar
356375fbf8
patch 8.1.1917: non-current window is not redrawn when moving popup
...
Problem: Non-current window is not redrawn when moving popup. (Ben Jackson)
Solution: Redraw all windows under a popup. (closes #4860 )
2019-08-24 14:46:29 +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
1a3a89168d
patch 8.1.1915: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
2019-08-23 22:31:37 +02:00
Bram Moolenaar
d019039ccd
patch 8.1.1914: command line expansion code is spread out
...
Problem: Command line expansion code is spread out.
Solution: Move set_one_cmd_context(). (Yegappan Lakshmanan, closes #4855 )
2019-08-23 21:17:35 +02:00
Bram Moolenaar
37f4cbd46f
patch 8.1.1913: not easy to compute the space on the command line
...
Problem: Not easy to compute the space on the command line.
Solution: Add v:echospace. (Daniel Hahler, closes #4732 )
2019-08-23 20:58:45 +02:00
Bram Moolenaar
570497ac40
patch 8.1.1912: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make channel and job functions usable as a method.
2019-08-22 22:55:13 +02:00
Bram Moolenaar
64b4d73524
patch 8.1.1911: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make a few more functions usable as a method.
2019-08-22 22:18:17 +02:00
Bram Moolenaar
448262176b
patch 8.1.1910: redrawing too much when toggling 'relativenumber'
...
Problem: Redrawing too much when toggling 'relativenumber'.
Solution: Only clear when 'signcolumn' is set to "number". (Yegappan
Lakshmanan, closes #4852 )
2019-08-22 21:23:20 +02:00
Bram Moolenaar
e49fbff384
patch 8.1.1909: more functions can be used as methods
...
Problem: More functions can be used as methods.
Solution: Make a few more functions usable as a method.
2019-08-21 22:50:07 +02:00
Bram Moolenaar
00b0d6d8dc
patch 8.1.1908: every popup window consumes a buffer number
...
Problem: Every popup window consumes a buffer number.
Solution: Recycle buffers only used for popup windows. Do not list popup
window buffers.
2019-08-21 22:25:30 +02:00
Bram Moolenaar
fe6e7618b4
patch 8.1.1907: wrong position for info popup with scrollbar on the left
...
Problem: Wrong position for info popup with scrollbar on the left.
Solution: Take the scrollbar into account.
2019-08-21 20:57:20 +02:00
Bram Moolenaar
c1f87c9a31
patch 8.1.1906: info popup size is sometimes incorrect
...
Problem: Info popup size is sometimes incorrect.
Solution: Compute the position and size after setting the content.
2019-08-21 19:33:16 +02:00
Bram Moolenaar
c7c5f10a36
patch 8.1.1905: cannot set all properties of the info popup
...
Problem: Cannot set all properties of the info popup.
Solution: Add popup_findinfo(). Rename popup_getpreview() to
popup_findpreview().
2019-08-21 18:31:03 +02:00
Bram Moolenaar
258cef59d8
patch 8.1.1904: cannot have an info popup align with the popup menu
...
Problem: Cannot have an info popup align with the popup menu.
Solution: Add the "align" item to 'completepopup'.
2019-08-21 17:29:29 +02:00
Bram Moolenaar
9cb698d564
patch 8.1.1903: cannot build without the +eval feature
...
Problem: Cannot build without the +eval feature.
Solution: Add missing #ifdefs
2019-08-21 15:30:45 +02:00
Bram Moolenaar
bd483b3f57
patch 8.1.1902: cannot have an info popup without a border
...
Problem: Cannot have an info popup without a border.
Solution: Add the "border" item to 'completepopup'.
2019-08-21 15:13:41 +02:00
Bram Moolenaar
e2c453d38f
patch 8.1.1901: the +insert_expand feature is not always available
...
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
2019-08-21 14:37:09 +02:00
Bram Moolenaar
d933c82ff4
patch 8.1.1900: sign test fails in the GUI
...
Problem: Sign test fails in the GUI.
Solution: Catch and ignore the exception.
2019-08-21 13:45:16 +02:00
Bram Moolenaar
42aff46d97
patch 8.1.1899: sign_place() does not work as documented
...
Problem: sign_place() does not work as documented.
Solution: Make accept line numbers like line(). (Yegappan Lakshmanan,
closes #4848 )
2019-08-21 13:20:29 +02:00
Bram Moolenaar
4dc8f498aa
patch 8.1.1898: crash when out of memory during startup
...
Problem: Crash when out of memory during startup.
Solution: When out of memory message given during initialisation bail out.
(closes #4842 )
2019-08-21 13:06:55 +02:00
Bram Moolenaar
f1552d07d7
patch 8.1.1897: may free memory twice when out of memory
...
Problem: May free memory twice when out of memory.
Solution: Check that backslash_halve_save() returns a different pointer.
(Dominique Pelle, closes #4847 )
2019-08-21 12:54:18 +02:00