0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

9376 Commits

Author SHA1 Message Date
Bram Moolenaar
33c8ca923e patch 8.1.0681: text properties as not adjusted for deleted text
Problem:    Text properties as not adjusted for deleted text.
Solution:   Adjust text properties when backspacing to delete text.
v8.1.0681
2019-01-02 18:00:27 +01:00
Bram Moolenaar
c85ffc9dab patch 8.1.0680: not easy to see what features are unavailable
Problem:    Not easy to see what features are unavailable.
Solution:   Highlight disabled features in the :version output. (Nazri Ramliy,
            closes #3756)
v8.1.0680
2019-01-02 17:26:35 +01:00
Bram Moolenaar
2cbc1a02cb patch 8.1.0679: sign functions do not take buffer argument as documented
Problem:    Sign functions do not take buffer argument as documented.
Solution:   Use get_buf_tv(). (Yegappan Lakshmanan, closes #3755)
v8.1.0679
2019-01-02 13:40:31 +01:00
Bram Moolenaar
44746aa1eb patch 8.1.0678: text properties as not adjusted for inserted text
Problem:    Text properties as not adjusted for inserted text.
Solution:   Adjust text properties when inserting text.
v8.1.0678
2019-01-02 00:02:11 +01:00
Bram Moolenaar
866f355814 patch 8.1.0677: look-behind match may use the wrong line number
Problem:    Look-behind match may use the wrong line number. (Dominique Pelle)
Solution:   Use the line number in regsave instead of the one in behind_pos,
            we may be looking at the previous line. (closes #3749)
v8.1.0677
2019-01-01 22:19:08 +01:00
Bram Moolenaar
5e53ac00a2 patch 8.1.0676: textprop screendump test fails
Problem:    Textprop screendump test fails.
Solution:   Add missing changes.
v8.1.0676
2019-01-01 20:31:31 +01:00
Bram Moolenaar
b9c67a51c1 patch 8.1.0675: text property column in screen columns is not practical
Problem:    Text property column is screen columns is not practical.
Solution:   Use byte values for the column.
v8.1.0675
2019-01-01 19:49:20 +01:00
Bram Moolenaar
4c05fa08c9 Update runtime files 2019-01-01 15:32:17 +01:00
Bram Moolenaar
6d5b4f566a patch 8.1.0674: leaking memory when updating a single line
Problem:    Leaking memory when updating a single line.
Solution:   Do not call start_search_hl() twice.
v8.1.0674
2019-01-01 15:15:47 +01:00
Bram Moolenaar
bbea47075c patch 8.1.0673: functionality for signs is spread out over several files
Problem:    Functionality for signs is spread out over several files.
Solution:   Move most of the sign functionality into sign.c. (Yegappan
            Lakshmanan, closes #3751)
v8.1.0673
2019-01-01 13:20:31 +01:00
Bram Moolenaar
9067cd6cdf patch 8.1.0672: the Lua interface doesn't know about v:null
Problem:    The Lua interface doesn't know about v:null.
Solution:   Add Lua support for v:null. (Uji, closes #3744)
v8.1.0672
2019-01-01 00:41:54 +01:00
Bram Moolenaar
e1e714ef0d patch 8.1.0671: cursor in the wrong column after auto-formatting
Problem:    Cursor in the wrong column after auto-formatting.
Solution:   Check for deleting more spaces than adding. (closes #3748)
v8.1.0671
2018-12-31 23:58:24 +01:00
Bram Moolenaar
3d631cb0b3 patch 8.1.0670: macro for popup menu width is unused
Problem:    Macro for popup menu width is unused.
Solution:   Remove it. (Hirohito Higashi)
v8.1.0670
2018-12-31 22:09:56 +01:00
Bram Moolenaar
a355652ea5 patch 8.1.0669: the ex_sign() function is too long
Problem:    The ex_sign() function is too long.
Solution:   Refactor the function.  Add a bit more testing. (Yegappan
            Lakshmanan, closes #3745)
v8.1.0669
2018-12-31 22:02:29 +01:00
Bram Moolenaar
c0676bab92 patch 8.1.0668: no test for overstrike mode in the command line
Problem:    No test for overstrike mode in the command line.
Solution:   Add a test. (Dominique Pelle, closes #3742)
v8.1.0668
2018-12-31 21:03:02 +01:00
Bram Moolenaar
2f21fa8743 patch 8.1.0667: textprop test leaves file behind
Problem:    Textprop test leaves file behind.
Solution:   Delete the file. (Dominique Pelle, closes #3743)
v8.1.0667
2018-12-31 20:05:56 +01:00
Bram Moolenaar
fb2f7aa982 patch 8.1.0666: text property test fails
Problem:    Text property test fails.
Solution:   Update screenshot.
v8.1.0666
2018-12-31 14:34:05 +01:00
Bram Moolenaar
c6d86dccc4 patch 8.1.0665: text property display wrong when 'spell' is set
Problem:    Text property display wrong when 'spell' is set. (Dominique Pelle)
Solution:   Remove unnecessary assignment to char_attr.  Combine attributes if
            needed.  Add a screenshot test.
v8.1.0665
2018-12-31 13:57:36 +01:00
Bram Moolenaar
af0839acec patch 8.1.0664: configure "fail-if-missing" does not apply to enable-gui
Problem:    Configure "fail-if-missing" does not apply to the enable-gui
            argument. (Rhialto)
Solution:   Make configure fail if a GUI was specifified and "fail-if-missing"
            is enabled and the GUI test fails.
v8.1.0664
2018-12-30 22:55:47 +01:00
Bram Moolenaar
8caa10a8ec patch 8.1.0663: text property display wrong when 'number' is set
Problem:    Text property display wrong when 'number' is set. (Dominique
            Pelle)
Solution:   Compare with "vcol"  instead of "col".
v8.1.0663
2018-12-30 22:07:40 +01:00
Bram Moolenaar
ef0a1d5ed3 patch 8.1.0662: needlessly searching for tilde in string
Problem:    Needlessly searching for tilde in string.
Solution:   Only check the first character. (James McCoy, closes #3734)
v8.1.0662
2018-12-30 11:38:57 +01:00
Bram Moolenaar
a8bfa1727a patch 8.1.0661: clipboard regexp might be used recursively
Problem:    Clipboard regexp might be used recursively.
Solution:   Check for recursive use and bail out.
v8.1.0661
2018-12-29 22:28:46 +01:00
Bram Moolenaar
1ea88a3e12 patch 8.1.0660: sign_cleanup() may leak memory
Problem:    sign_cleanup() may leak memory.
Solution:   Free the group name before returning.  Add a few more tests.
            (Yegappan Lakshmanan)
v8.1.0660
2018-12-29 21:00:27 +01:00
Bram Moolenaar
ced198d4b4 patch 8.1.0659: build failure without the sign feature
Problem:    Build failure without the sign feature.
Solution:   Put the sign struct declarations outside of the #ifdef.
v8.1.0659
2018-12-29 20:04:40 +01:00
Bram Moolenaar
7d83bf4f2b patch 8.1.0658: deleting signs and completion for :sign is insufficient
Problem:    Deleting signs and completion for :sign is insufficient.
Solution:   Add deleting signs in a specified or any group from the current
            cursor location.  Add group and priority to sign command
            completion. Add tests for different sign unplace commands. Update
            help text.  Add tests for sign jump with group. Update help for
            sign jump. (Yegappan Lakshmanan, closes #3731)
v8.1.0658
2018-12-29 18:53:55 +01:00
Bram Moolenaar
01e51e5b30 patch 8.1.0657: get error for using regexp recursively
Problem:    Get error for using regexp recursively. (Dominique Pelle)
Solution:   Do no check if connection is desired.
v8.1.0657
2018-12-29 13:09:46 +01:00
Bram Moolenaar
c0c7549687 patch 8.1.0656: trying to reconnect to X server may cause problems
Problem:    Trying to reconnect to X server may cause problems.
Solution:   Do no try reconnecting when exiting. (James McCoy)
v8.1.0656
2018-12-29 11:03:23 +01:00
Bram Moolenaar
b56ac049ea patch 8.1.0655: when appending a line text property flags are not added
Problem:    When appending a line text property flags are not added.
Solution:   Add text properties to a newly added line.
v8.1.0655
2018-12-28 23:22:40 +01:00
Bram Moolenaar
c1a9bc1a72 patch 8.1.0654: when deleting a line text property flags are not adjusted
Problem:    When deleting a line text property flags are not adjusted.
Solution:   Adjust text property flags in preceding and following lines.
v8.1.0654
2018-12-28 21:59:29 +01:00
Bram Moolenaar
3de8c2d1f0 patch 8.1.0653: arglist test fails on MS-windows
Problem:    Arglist test fails on MS-windows.
Solution:   Only use a file name with a double quote on Unix.
v8.1.0653
2018-12-28 19:29:35 +01:00
Bram Moolenaar
6d9e71ad99 patch 8.1.0652: freeing memory for balloon eval too early
Problem:    Freeing memory for balloon eval too early.
Solution:   Store the pointer in BalloonEval and free it later. (Yasuhiro
            Matsumoto, closes #3725)
v8.1.0652
2018-12-28 19:13:34 +01:00
Bram Moolenaar
2ac372ccee patch 8.1.0651: :args \"foo works like :args without argument
Problem:    :args \"foo works like :args without argument.
Solution:   Fix check for empty argument. (closes #3728)
v8.1.0651
2018-12-28 19:06:47 +01:00
Bram Moolenaar
54948183d2 patch 8.1.0650: command line argument -q [errorfile] is not tested
Problem:    Command line argument -q [errorfile] is not tested.
Solution:   Add a test. (Dominique Pelle, closes #3730)
v8.1.0650
2018-12-28 18:32:56 +01:00
Bram Moolenaar
b7a7e039b4 patch 8.1.0649: setjmp() variables defined globally are used in one file
Problem:    setjmp() variables defined globally are used in one file.
Solution:   Move the declarations to that file.
v8.1.0649
2018-12-28 17:01:59 +01:00
Bram Moolenaar
c8c8849267 Update runtime files. 2018-12-27 23:59:26 +01:00
Bram Moolenaar
5976f8ff00 patch 8.1.0648: custom operators can't act upon a forced motion
Problem:    Custom operators can't act upon a forced motion. (Christian
            Wellenbrock)
Solution:   Add the forced motion to the mode() result. (Christian Brabandt,
            closes #3490)
v8.1.0648
2018-12-27 23:44:44 +01:00
Bram Moolenaar
d385b5d329 patch 8.1.0647: MS-Windows: balloon_show() does not handle wide characters
Problem:    MS-Windows: balloon_show() does not handle wide characters.
Solution:   Use CreateWindowExW(). (Yasuhiro Matsumoto, closes #3708)
v8.1.0647
2018-12-27 22:43:08 +01:00
Bram Moolenaar
b09c684195 patch 8.1.0646: cannot build with Ruby 2.6.0
Problem:    Cannot build with Ruby 2.6.0.
Solution:   Add rb_ary_detransient(). (Ozaki Kiichi, closes #3724)
v8.1.0646
2018-12-27 22:11:01 +01:00
Bram Moolenaar
06d6260323 patch 8.1.0645: Coverity warns for possible use of NULL pointer
Problem:    Coverity warns for possible use of NULL pointer.
Solution:   Check return value of vterm_obtain_screen().
v8.1.0645
2018-12-27 21:27:03 +01:00
Bram Moolenaar
6436cd83f9 patch 8.1.0644: finding next sign ID is inefficient
Problem:    Finding next sign ID is inefficient.
Solution:   Add next_sign_id. (Yegappan Lakshmanan, closes #3717)
v8.1.0644
2018-12-27 00:28:33 +01:00
Bram Moolenaar
00b1e04165 patch 8.1.0643: computing byte offset wrong
Problem:    Computing byte offset wrong. (Bjorn Linse)
Solution:   Use the right variable for array index.
v8.1.0643
2018-12-26 23:42:10 +01:00
Bram Moolenaar
e6fdf79980 patch 8.1.0642: swapinfo() leaks memory
Problem:    swapinfo() leaks memory.
Solution:   Avoid allocating the strings twice.
v8.1.0642
2018-12-26 22:57:42 +01:00
Bram Moolenaar
c57463c9c6 patch 8.1.0641: no check for out-of-memory when converting regexp
Problem:    No check for out-of-memory when converting regexp.
Solution:   Bail out when lalloc() returns NULL. (John Marriott)
v8.1.0641
2018-12-26 22:04:41 +01:00
Bram Moolenaar
548e598573 patch 8.1.0640: get E14 while typing command :tab with 'incsearch' set
Problem:    Get E14 while typing command :tab with 'incsearch' set.
Solution:   Do not give an error when looking for the command. (Yasuhiro
            Higashi)
v8.1.0640
2018-12-26 21:45:00 +01:00
Bram Moolenaar
8cf734e024 patch 8.1.0639: text properties test fails on MS-Windows
Problem:    text properties test fails on MS-Windows
Solution:   Set fileformat to "unix".
v8.1.0639
2018-12-26 01:09:00 +01:00
Bram Moolenaar
48f88ac85b patch 8.1.0638: text property highlighting is off by one column
Problem:    Text property highlighting is off by one column. (Bjorn Linse)
Solution:   Update text property highlighting earlier.  Let it overrule syntax
            highlighting.
v8.1.0638
2018-12-26 00:25:20 +01:00
Bram Moolenaar
4604fbbbff patch 8.1.0637: nsis file no longer used
Problem:    Nsis file no longer used.
Solution:   Remove the file. (Ken Takata)
v8.1.0637
2018-12-25 23:37:02 +01:00
Bram Moolenaar
b413d2e6a8 patch 8.1.0636: line2byte() gives wrong values with text properties
Problem:    line2byte() gives wrong values with text properties. (Bjorn Linse)
Solution:   Compute byte offsets differently when text properties were added.
            (closes #3718)
v8.1.0636
2018-12-25 23:15:46 +01:00
Bram Moolenaar
e38197d50f patch 8.1.0635: Coverity complains about null pointer use
Problem:    Coverity complains about null pointer use.
Solution:   Avoid using a null pointer.
v8.1.0635
2018-12-24 23:35:13 +01:00
Bram Moolenaar
e3d31b02a5 patch 8.1.0634: text properties cannot cross line boundaries
Problem:    Text properties cannot cross line boundaries.
Solution:   Support multi-line text properties.
v8.1.0634
2018-12-24 23:07:04 +01:00