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

11137 Commits

Author SHA1 Message Date
Bram Moolenaar
8b62d87e42 patch 8.1.0692: if a buffer was deleted a channel can't write to it
Problem:    If a buffer was deleted a channel can't write to it.
Solution:   When the buffer exists but was unloaded, prepare it for writing.
            (closes #3764)
v8.1.0692
2019-01-05 00:02:57 +01:00
Bram Moolenaar
4164bb204e patch 8.1.0691: text properties are not adjusted for :substitute
Problem:    Text properties are not adjusted for :substitute.
Solution:   Adjust text properties as well as possible.
v8.1.0691
2019-01-04 23:09:49 +01:00
Bram Moolenaar
21b5038e02 patch 8.1.0690: setline() and setbufline() do not clear text properties
Problem:    setline() and setbufline() do not clear text properties.
Solution:   Clear text properties when setting the text.
v8.1.0690
2019-01-04 18:07:24 +01:00
Bram Moolenaar
7f1664e392 patch 8.1.0689: undo with text properties not tested
Problem:    Undo with text properties not tested.
Solution:   Add a test function.
v8.1.0689
2019-01-04 17:21:24 +01:00
Bram Moolenaar
ccae4672fd patch 8.1.0688: text properties are not restored by undo
Problem:    Text properties are not restored by undo.
Solution:   Also save text properties for undo.
v8.1.0688
2019-01-04 15:09:57 +01:00
Bram Moolenaar
6d3a1940be patch 8.1.0687: sentence text object in Visual mode is not tested
Problem:    Sentence text object in Visual mode is not tested.
Solution:   Add a test. (Dominique Pelle, closes #3758)
v8.1.0687
2019-01-03 23:10:32 +01:00
Bram Moolenaar
5823f84dd0 patch 8.1.0686: when 'y' is in 'cpoptions' yanking for the clipboard changes redo
Problem:    When 'y' is in 'cpoptions' yanking for the clipboard changes redo.
Solution:   Do not use the 'y' flag when "gui_yank" is TRUE. (Andy Massimino,
            closes #3760)
v8.1.0686
2019-01-03 22:58:08 +01:00
Bram Moolenaar
f2d79fa92d patch 8.1.0685: get_buf_tv() is named inconsistently
Problem:    get_buf_tv() is named inconsistently.
Solution:   Rename it to tv_get_buf(). (Yegappan Lakshmanan, closes #3759)
v8.1.0685
2019-01-03 22:19:27 +01:00
Bram Moolenaar
4b7214ea78 patch 8.1.0684: warnings from 64-bit compiler
Problem:    Warnings from 64-bit compiler.
Solution:   Add type casts. (Mike Williams)
v8.1.0684
2019-01-03 21:55:32 +01:00
Bram Moolenaar
637532b3c0 patch 8.1.0683: spell highlighting does not always end
Problem:    Spell highlighting does not always end. (Gary Johnson)
Solution:   Also reset char_attr when spell errors are highlighted.
v8.1.0683
2019-01-03 21:44:40 +01:00
Bram Moolenaar
196d157f12 patch 8.1.0682: text properties not adjusted when backspacing replaced text
Problem:    Text properties are not adjusted when backspacing replaced text.
Solution:   Keep text properties on text restored in replace mode.
v8.1.0682
2019-01-02 23:47:18 +01:00
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