]> granicus.if.org Git - vim/log
vim
6 years agopatch 8.1.0747: map() with a bad expression doesn't give an error v8.1.0747
Bram Moolenaar [Mon, 14 Jan 2019 21:22:29 +0000 (22:22 +0100)]
patch 8.1.0747: map() with a bad expression doesn't give an error

Problem:    map() with a bad expression doesn't give an error. (Ingo Karkat)
Solution:   Check for giving an error message. (closes #3800)

6 years agopatch 8.1.0746: highlighting not updated with conceal and 'cursorline' v8.1.0746
Bram Moolenaar [Mon, 14 Jan 2019 20:51:40 +0000 (21:51 +0100)]
patch 8.1.0746: highlighting not updated with conceal and 'cursorline'

Problem:    Highlighting not updated with conceal and 'cursorline'. (Jason
            Franklin)
Solution:   Do not use a zero line number.  Check if 'conceallevel' is set for
            the current window.

6 years agopatch 8.1.0745: compiler warnings for signed/unsigned string v8.1.0745
Bram Moolenaar [Mon, 14 Jan 2019 19:16:40 +0000 (20:16 +0100)]
patch 8.1.0745: compiler warnings for signed/unsigned string

Problem:    Compiler warnings for signed/unsigned string.
Solution:   Remove type casts. (John Marriott)

6 years agopatch 8.1.0744: compiler warnings for signed/unsigned strings v8.1.0744
Bram Moolenaar [Sun, 13 Jan 2019 22:51:14 +0000 (23:51 +0100)]
patch 8.1.0744: compiler warnings for signed/unsigned strings

Problem:    Compiler warnings for signed/unsigned strings.
Solution:   A few more type cast fixes.

6 years agopatch 8.1.0743: giving error messages is not flexible v8.1.0743
Bram Moolenaar [Sun, 13 Jan 2019 22:38:42 +0000 (23:38 +0100)]
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.

6 years agopatch 8.1.0742: not all Blob operations are tested v8.1.0742
Bram Moolenaar [Sun, 13 Jan 2019 18:10:33 +0000 (19:10 +0100)]
patch 8.1.0742: not all Blob operations are tested

Problem:    Not all Blob operations are tested.
Solution:   Add more testing for Blob.

6 years agopatch 8.1.0741: viminfo with Blob is not tested v8.1.0741
Bram Moolenaar [Sun, 13 Jan 2019 16:48:04 +0000 (17:48 +0100)]
patch 8.1.0741: viminfo with Blob is not tested

Problem:    Viminfo with Blob is not tested.
Solution:   Extend the viminfo test.  Fix reading a blob.  Fixed storing a
            special variable value.

6 years agopatch 8.1.0740: Tcl test fails v8.1.0740
Bram Moolenaar [Sun, 13 Jan 2019 15:46:22 +0000 (16:46 +0100)]
patch 8.1.0740: Tcl test fails

Problem:    Tcl test fails.
Solution:   When the argument is empty don't give an error, instead rely on
            the error reporting higher up.

6 years agopatch 8.1.0739: text objects in not sufficiently tested v8.1.0739
Bram Moolenaar [Sun, 13 Jan 2019 15:12:40 +0000 (16:12 +0100)]
patch 8.1.0739: text objects in not sufficiently tested

Problem:    Text objects in not sufficiently tested.
Solution:   Add a few more test cases. (Dominique Pelle, closes #3795)

6 years agopatch 8.1.0738: using freed memory, for loop over blob leaks memory v8.1.0738
Bram Moolenaar [Sun, 13 Jan 2019 15:07:21 +0000 (16:07 +0100)]
patch 8.1.0738: using freed memory, for loop over blob leaks memory

Problem:    Using freed memory, for loop over blob leaks memory.
Solution:   Clear pointer after freeing memory.  Decrement reference count
            after for loop over blob.

6 years agopatch 8.1.0737: compiler warning for uninitialized variable v8.1.0737
Bram Moolenaar [Sun, 13 Jan 2019 14:42:02 +0000 (15:42 +0100)]
patch 8.1.0737: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Add initialization. (John Marriott)

6 years agopatch 8.1.0736: code for Blob not sufficiently tested v8.1.0736
Bram Moolenaar [Sun, 13 Jan 2019 14:16:13 +0000 (15:16 +0100)]
patch 8.1.0736: code for Blob not sufficiently tested

Problem:    Code for Blob not sufficiently tested.
Solution:   Add more tests.  Fix uncovered crash.  Add test_null_blob().

6 years agopatch 8.1.0735: cannot handle binary data v8.1.0735
Bram Moolenaar [Sat, 12 Jan 2019 21:47:31 +0000 (22:47 +0100)]
patch 8.1.0735: cannot handle binary data

Problem:    Cannot handle binary data.
Solution:   Add the Blob type. (Yasuhiro Matsumoto, closes #3638)

6 years agopatch 8.1.0734: the hlsearch state is not stored in a session file v8.1.0734
Bram Moolenaar [Sat, 12 Jan 2019 15:29:30 +0000 (16:29 +0100)]
patch 8.1.0734: the hlsearch state is not stored in a session file

Problem:    The hlsearch state is not stored in a session file.
Solution:   Add "nohlsearch" if appropriate. (Jason Franklin)

6 years agopatch 8.1.0733: too many #ifdefs for the multi-byte feature v8.1.0733
Bram Moolenaar [Sat, 12 Jan 2019 15:10:51 +0000 (16:10 +0100)]
patch 8.1.0733: too many #ifdefs for the multi-byte feature

Problem:    Too many #ifdefs for the multi-byte feature.
Solution:   Tentatively always enable the multi-byte feature.  If you have a
            problem with this, please discuss on the Vim maillist.

6 years agopatch 8.1.0732: cannot build without the eval feature v8.1.0732
Bram Moolenaar [Sat, 12 Jan 2019 14:15:38 +0000 (15:15 +0100)]
patch 8.1.0732: cannot build without the eval feature

Problem:    Cannot build without the eval feature.
Solution:   Make a copy of the sourced file name.

6 years agopatch 8.1.0731: JS encoding does not handle negative infinity v8.1.0731
Bram Moolenaar [Sat, 12 Jan 2019 13:24:27 +0000 (14:24 +0100)]
patch 8.1.0731: JS encoding does not handle negative infinity

Problem:    JS encoding does not handle negative infinity.
Solution:   Add support for negative infinity for JS encoding. (Dominique
            Pelle, closes #3792)

6 years agopatch 8.1.0730: compiler warning for get_buf_arg() unused v8.1.0730
Bram Moolenaar [Sat, 12 Jan 2019 12:50:31 +0000 (13:50 +0100)]
patch 8.1.0730: compiler warning for get_buf_arg() unused

Problem:    Compiler warning for get_buf_arg() unused.
Solution:   Add #ifdef. (John Marriott)

6 years agopatch 8.1.0729: there is a SourcePre autocommand event but not a SourcePost v8.1.0729
Bram Moolenaar [Sat, 12 Jan 2019 12:26:03 +0000 (13:26 +0100)]
patch 8.1.0729: there is a SourcePre autocommand event but not a SourcePost

Problem:    There is a SourcePre autocommand event but not a SourcePost.
Solution:   Add the SourcePost autocommand event. (closes #3739)

6 years agopatch 8.1.0728: cannot avoid breaking after a single space. v8.1.0728
Bram Moolenaar [Fri, 11 Jan 2019 21:15:05 +0000 (22:15 +0100)]
patch 8.1.0728: cannot avoid breaking after a single space.

Problem:    Cannot avoid breaking after a single space.
Solution:   Add the 'p' flag to 'formatoptions'. (Tom Ryder)

6 years agopatch 8.1.0727: compiler warning for sprintf() argument v8.1.0727
Bram Moolenaar [Fri, 11 Jan 2019 19:47:31 +0000 (20:47 +0100)]
patch 8.1.0727: compiler warning for sprintf() argument

Problem:    Compiler warning for sprintf() argument.
Solution:   Add type cast.

6 years agopatch 8.1.0726: redrawing specifically for conceal feature v8.1.0726
Bram Moolenaar [Fri, 11 Jan 2019 19:45:36 +0000 (20:45 +0100)]
patch 8.1.0726: redrawing specifically for conceal feature

Problem:    Redrawing specifically for conceal feature.
Solution:   Use generic redrawing methods.

6 years agopatch 8.1.0725: conceal mode is not completely tested v8.1.0725
Bram Moolenaar [Fri, 11 Jan 2019 19:42:28 +0000 (20:42 +0100)]
patch 8.1.0725: conceal mode is not completely tested

Problem:    Conceal mode is not completely tested.
Solution:   Add tests for moving the cursor in Insert mode.

6 years agopatch 8.1.0724: build for MinGW fails v8.1.0724
Bram Moolenaar [Fri, 11 Jan 2019 18:19:44 +0000 (19:19 +0100)]
patch 8.1.0724: build for MinGW fails

Problem:    Build for MinGW fails.
Solution:   Avoid specifying dependencies in included makefile.

6 years agopatch 8.1.0723: cannot easily run specific test when in src/testdir v8.1.0723
Bram Moolenaar [Fri, 11 Jan 2019 16:30:16 +0000 (17:30 +0100)]
patch 8.1.0723: cannot easily run specific test when in src/testdir

Problem:    Cannot run specific test when in src/testdir the same was as in
            the src directory.
Solution:   Move build rule to src/testdir/Makefile.

6 years agopatch 8.1.0722: cannot build without the virtualedit feature v8.1.0722
Bram Moolenaar [Fri, 11 Jan 2019 15:16:01 +0000 (16:16 +0100)]
patch 8.1.0722: cannot build without the virtualedit feature

Problem:    Cannot build without the virtualedit feature.
Solution:   Make getviscol2() always available.

6 years agopatch 8.1.0721: conceal mode is not sufficiently tested v8.1.0721
Bram Moolenaar [Fri, 11 Jan 2019 14:54:45 +0000 (15:54 +0100)]
patch 8.1.0721: conceal mode is not sufficiently tested

Problem:    Conceal mode is not sufficiently tested.
Solution:   Add screendump tests.  Check all 'concealcursor' values.

6 years agopatch 8.1.0720: cannot easily change the current quickfx list index v8.1.0720
Bram Moolenaar [Fri, 11 Jan 2019 13:50:06 +0000 (14:50 +0100)]
patch 8.1.0720: cannot easily change the current quickfx list index

Problem:    Cannot easily change the current quickfx list index.
Solution:   Add the "idx" argument to setqflist(). (Yegappan Lakshmanan,
            closes #3701)

6 years agopatch 8.1.0719: too many #ifdefs v8.1.0719
Bram Moolenaar [Fri, 11 Jan 2019 13:37:20 +0000 (14:37 +0100)]
patch 8.1.0719: too many #ifdefs

Problem:    Too many #ifdefs.
Solution:   Always build with the +visualextra feature.

6 years agopatch 8.1.0718: a couple compiler warnings v8.1.0718
Bram Moolenaar [Fri, 11 Jan 2019 13:10:03 +0000 (14:10 +0100)]
patch 8.1.0718: a couple compiler warnings

Problem:    A couple compiler warnings.
Solution:   Rename shadowed variables.  Add UNUSED.

6 years agopatch 8.1.0717: there is no function for the ":sign jump" command v8.1.0717
Bram Moolenaar [Fri, 11 Jan 2019 12:42:41 +0000 (13:42 +0100)]
patch 8.1.0717: there is no function for the ":sign jump" command

Problem:    There is no function for the ":sign jump" command.
Solution:   Add the sign_jump() function. (Yegappan Lakshmanan, closes #3780)

6 years agopatch 8.1.0716: get warning message when 'completefunc' returns nothing v8.1.0716
Bram Moolenaar [Fri, 11 Jan 2019 12:02:23 +0000 (13:02 +0100)]
patch 8.1.0716: get warning message when 'completefunc' returns nothing

Problem:    Get warning message when 'completefunc' returns nothing.
Solution:   Allow for returning v:none to suppress the warning message.
            (Yasuhiro Matsumoto, closes #3789)

6 years agopatch 8.1.0715: superfluous call to redraw_win_later() v8.1.0715
Bram Moolenaar [Fri, 11 Jan 2019 10:55:16 +0000 (11:55 +0100)]
patch 8.1.0715: superfluous call to redraw_win_later()

Problem:    Superfluous call to redraw_win_later().
Solution:   Remove the call.

6 years agopatch 8.1.0714: unessesary #if lines in GTK code v8.1.0714
Bram Moolenaar [Thu, 10 Jan 2019 21:56:30 +0000 (22:56 +0100)]
patch 8.1.0714: unessesary #if lines in GTK code

Problem:    Unessesary #if lines in GTK code.
Solution:   Remove the #if. (Ken Takata, closes #3785)

6 years agopatch 8.1.0713: images for NSIS take up too much space v8.1.0713
Bram Moolenaar [Thu, 10 Jan 2019 20:51:48 +0000 (21:51 +0100)]
patch 8.1.0713: images for NSIS take up too much space

Problem:    Images for NSIS take up too much space.
Solution:   Put the images in a zip file.

6 years agopatch 8.1.0712: MS-Windows build instructions are a bit outdated v8.1.0712
Bram Moolenaar [Wed, 9 Jan 2019 22:02:43 +0000 (23:02 +0100)]
patch 8.1.0712: MS-Windows build instructions are a bit outdated

Problem:    MS-Windows build instructions are a bit outdated.
Solution:   Update the instructions. (Ken Takata)

6 years agopatch 8.1.0711: test files still use function! v8.1.0711
Bram Moolenaar [Wed, 9 Jan 2019 22:01:02 +0000 (23:01 +0100)]
patch 8.1.0711: test files still use function!

Problem:    Test files still use function!.
Solution:   Remove the exclamation mark.  Fix overwriting a function.

6 years agopatch 8.1.0710: when using timers may wait for job exit quite long v8.1.0710
Bram Moolenaar [Wed, 9 Jan 2019 21:24:49 +0000 (22:24 +0100)]
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)

6 years agopatch 8.1.0709: windows are updated for every added/deleted sign v8.1.0709
Bram Moolenaar [Wed, 9 Jan 2019 20:47:30 +0000 (21:47 +0100)]
patch 8.1.0709: windows are updated for every added/deleted sign

Problem:    Windows are updated for every added/deleted sign.
Solution:   Do not call update_debug_sign().  Only redraw when the line with
            the sign is visible.  (idea from neovim #9479)

6 years agopatch 8.1.0708: third argument for redrawWinline() is always FALSE v8.1.0708
Bram Moolenaar [Wed, 9 Jan 2019 19:51:04 +0000 (20:51 +0100)]
patch 8.1.0708: third argument for redrawWinline() is always FALSE

Problem:    Third argument for redrawWinline() is always FALSE.
Solution:   Drop the argument. (neovim #9479)

6 years agopatch 8.1.0707: text property columns are not adjusted for changed indent v8.1.0707
Bram Moolenaar [Tue, 8 Jan 2019 22:07:24 +0000 (23:07 +0100)]
patch 8.1.0707: text property columns are not adjusted for changed indent

Problem:    Text property columns are not adjusted for changed indent.
Solution:   Adjust text properties.

6 years agopatch 8.1.0706: tabline is not always redrawn v8.1.0706
Bram Moolenaar [Tue, 8 Jan 2019 21:02:56 +0000 (22:02 +0100)]
patch 8.1.0706: tabline is not always redrawn

Problem:    Tabline is not always redrawn when something that is used in
            'tabline' changes.
Solution:   Add ":redrawtabline" so that a plugin can at least cause the
            redraw when needed.

6 years agopatch 8.1.0705: :colorscheme isn't tested enough v8.1.0705
Bram Moolenaar [Tue, 8 Jan 2019 20:05:51 +0000 (21:05 +0100)]
patch 8.1.0705: :colorscheme isn't tested enough

Problem:    :colorscheme isn't tested enough
Solution:   Improve test coverage of :colorscheme. (Dominique Pelle, closes
            #3777)  Remove unnecessary sleep.

6 years agopatch 8.1.0704: building with Ruby 2.6 gives compiler warnings v8.1.0704
Bram Moolenaar [Tue, 8 Jan 2019 19:29:32 +0000 (20:29 +0100)]
patch 8.1.0704: building with Ruby 2.6 gives compiler warnings

Problem:    Building with Ruby 2.6 gives compiler warnings.
Solution:   Define a stub for rb_ary_detransient. (Ozaki Kiichi, closes #3779)

6 years agopatch 8.1.0703: compiler warnings with 64-bit compiler v8.1.0703
Bram Moolenaar [Tue, 8 Jan 2019 19:14:35 +0000 (20:14 +0100)]
patch 8.1.0703: compiler warnings with 64-bit compiler

Problem:    Compiler warnings with 64-bit compiler.
Solution:   Change types, add type casts. (Mike Williams)

6 years agopatch 8.1.0702: ":sign place" only uses the current buffer v8.1.0702
Bram Moolenaar [Mon, 7 Jan 2019 21:10:00 +0000 (22:10 +0100)]
patch 8.1.0702: ":sign place" only uses the current buffer

Problem:    ":sign place" only uses the current buffer.
Solution:   List signs for all buffers when there is no buffer argument.
            Fix error message for invalid buffer name in sign_place().
            (Yegappan Lakshmanan, closes #3774)

6 years agopatch 8.1.0701: sign message not translated and inconsistent spacing v8.1.0701
Bram Moolenaar [Mon, 7 Jan 2019 20:16:53 +0000 (21:16 +0100)]
patch 8.1.0701: sign message not translated and inconsistent spacing

Problem:    Sign message not translated and inconsistent spacing.
Solution:   Add _() for translation.  Add a space. (Ken Takata)  Also use
            MSG_BUF_LEN instead of BUFSIZ.

6 years agopatch 8.1.0700: using "gt" sometimes does not redraw a tab v8.1.0700
Bram Moolenaar [Sun, 6 Jan 2019 21:22:07 +0000 (22:22 +0100)]
patch 8.1.0700: using "gt" sometimes does not redraw a tab

Problem:    Using "gt" sometimes does not redraw a tab. (Jason Franklin)
Solution:   Always set must_redraw in redraw_all_later().

6 years agopatch 8.1.0699: compiler warning for uninitialized variable v8.1.0699
Bram Moolenaar [Sun, 6 Jan 2019 16:44:38 +0000 (17:44 +0100)]
patch 8.1.0699: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution:   Add a dummy init.

6 years agopatch 8.1.0698: clearing the window is used too often v8.1.0698
Bram Moolenaar [Sun, 6 Jan 2019 16:25:29 +0000 (17:25 +0100)]
patch 8.1.0698: clearing the window is used too often

Problem:    Clearing the window is used too often, causing the command line
            to be cleared when opening a tab. (Miroslav KoÅ¡kár)
Solution:   Use NOT_VALID instead of CLEAR.  (suggested by Jason Franklin,
            closes #630)  Also do this for a few other places where clearing
            the screen isn't really needed.

6 years agopatch 8.1.0697: ":sign place" requires the buffer argument v8.1.0697
Bram Moolenaar [Sun, 6 Jan 2019 15:24:01 +0000 (16:24 +0100)]
patch 8.1.0697: ":sign place" requires the buffer argument

Problem:    ":sign place" requires the buffer argument.
Solution:   Make the argument optional.  Also update the help and clean up the
            sign test. (Yegappan Lakshmanan, closes #3767)

6 years agopatch 8.1.0696: when test_edit fails 'insertmode' may not be reset v8.1.0696
Bram Moolenaar [Sun, 6 Jan 2019 14:29:57 +0000 (15:29 +0100)]
patch 8.1.0696: when test_edit fails 'insertmode' may not be reset

Problem:    When test_edit fails 'insertmode' may not be reset and the next
            test may get stuck. (James McCoy)
Solution:   Always reset 'insertmode' after executing a test.  Avoid that an
            InsertCharPre autocommand or a 'complete' function can change the
            state. (closes #3768)

6 years agopatch 8.1.0695: internal error when using :popup v8.1.0695
Bram Moolenaar [Sun, 6 Jan 2019 12:11:05 +0000 (13:11 +0100)]
patch 8.1.0695: internal error when using :popup

Problem:    Internal error when using :popup.
Solution:   When a menu only exists in Terminal mode give an error. (Naruhiko
            Nishino, closes #3765)

6 years agopatch 8.1.0694: when using text props may free memory that is not allocated v8.1.0694
Bram Moolenaar [Sun, 6 Jan 2019 11:54:55 +0000 (12:54 +0100)]
patch 8.1.0694: when using text props may free memory that is not allocated

Problem:    When using text props may free memory that is not allocated.
            (Andy Massimino)
Solution:   Allocate the line when adjusting text props. (closes #3766)

6 years agopatch 8.1.0693: channel test fails sometimes v8.1.0693
Bram Moolenaar [Fri, 4 Jan 2019 23:35:22 +0000 (00:35 +0100)]
patch 8.1.0693: channel test fails sometimes

Problem:    Channel test fails sometimes.
Solution:   Avoid race condition.

6 years agopatch 8.1.0692: if a buffer was deleted a channel can't write to it v8.1.0692
Bram Moolenaar [Fri, 4 Jan 2019 23:02:57 +0000 (00:02 +0100)]
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)

6 years agopatch 8.1.0691: text properties are not adjusted for :substitute v8.1.0691
Bram Moolenaar [Fri, 4 Jan 2019 22:09:49 +0000 (23:09 +0100)]
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.

6 years agopatch 8.1.0690: setline() and setbufline() do not clear text properties v8.1.0690
Bram Moolenaar [Fri, 4 Jan 2019 17:07:24 +0000 (18:07 +0100)]
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.

6 years agopatch 8.1.0689: undo with text properties not tested v8.1.0689
Bram Moolenaar [Fri, 4 Jan 2019 16:21:24 +0000 (17:21 +0100)]
patch 8.1.0689: undo with text properties not tested

Problem:    Undo with text properties not tested.
Solution:   Add a test function.

6 years agopatch 8.1.0688: text properties are not restored by undo v8.1.0688
Bram Moolenaar [Fri, 4 Jan 2019 14:09:57 +0000 (15:09 +0100)]
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.

6 years agopatch 8.1.0687: sentence text object in Visual mode is not tested v8.1.0687
Bram Moolenaar [Thu, 3 Jan 2019 22:10:32 +0000 (23:10 +0100)]
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)

6 years agopatch 8.1.0686: when 'y' is in 'cpoptions' yanking for the clipboard changes redo v8.1.0686
Bram Moolenaar [Thu, 3 Jan 2019 21:58:08 +0000 (22:58 +0100)]
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)

6 years agopatch 8.1.0685: get_buf_tv() is named inconsistently v8.1.0685
Bram Moolenaar [Thu, 3 Jan 2019 21:19:27 +0000 (22:19 +0100)]
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)

6 years agopatch 8.1.0684: warnings from 64-bit compiler v8.1.0684
Bram Moolenaar [Thu, 3 Jan 2019 20:55:32 +0000 (21:55 +0100)]
patch 8.1.0684: warnings from 64-bit compiler

Problem:    Warnings from 64-bit compiler.
Solution:   Add type casts. (Mike Williams)

6 years agopatch 8.1.0683: spell highlighting does not always end v8.1.0683
Bram Moolenaar [Thu, 3 Jan 2019 20:44:40 +0000 (21:44 +0100)]
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.

6 years agopatch 8.1.0682: text properties not adjusted when backspacing replaced text v8.1.0682
Bram Moolenaar [Wed, 2 Jan 2019 22:47:18 +0000 (23:47 +0100)]
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.

6 years agopatch 8.1.0681: text properties as not adjusted for deleted text v8.1.0681
Bram Moolenaar [Wed, 2 Jan 2019 17:00:27 +0000 (18:00 +0100)]
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.

6 years agopatch 8.1.0680: not easy to see what features are unavailable v8.1.0680
Bram Moolenaar [Wed, 2 Jan 2019 16:26:35 +0000 (17:26 +0100)]
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)

6 years agopatch 8.1.0679: sign functions do not take buffer argument as documented v8.1.0679
Bram Moolenaar [Wed, 2 Jan 2019 12:40:31 +0000 (13:40 +0100)]
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)

6 years agopatch 8.1.0678: text properties as not adjusted for inserted text v8.1.0678
Bram Moolenaar [Tue, 1 Jan 2019 23:02:11 +0000 (00:02 +0100)]
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.

6 years agopatch 8.1.0677: look-behind match may use the wrong line number v8.1.0677
Bram Moolenaar [Tue, 1 Jan 2019 21:19:08 +0000 (22:19 +0100)]
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)

6 years agopatch 8.1.0676: textprop screendump test fails v8.1.0676
Bram Moolenaar [Tue, 1 Jan 2019 19:31:31 +0000 (20:31 +0100)]
patch 8.1.0676: textprop screendump test fails

Problem:    Textprop screendump test fails.
Solution:   Add missing changes.

6 years agopatch 8.1.0675: text property column in screen columns is not practical v8.1.0675
Bram Moolenaar [Tue, 1 Jan 2019 18:49:20 +0000 (19:49 +0100)]
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.

6 years agoUpdate runtime files
Bram Moolenaar [Tue, 1 Jan 2019 14:32:17 +0000 (15:32 +0100)]
Update runtime files

6 years agopatch 8.1.0674: leaking memory when updating a single line v8.1.0674
Bram Moolenaar [Tue, 1 Jan 2019 14:15:47 +0000 (15:15 +0100)]
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.

6 years agopatch 8.1.0673: functionality for signs is spread out over several files v8.1.0673
Bram Moolenaar [Tue, 1 Jan 2019 12:20:31 +0000 (13:20 +0100)]
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)

6 years agopatch 8.1.0672: the Lua interface doesn't know about v:null v8.1.0672
Bram Moolenaar [Mon, 31 Dec 2018 23:41:54 +0000 (00:41 +0100)]
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)

6 years agopatch 8.1.0671: cursor in the wrong column after auto-formatting v8.1.0671
Bram Moolenaar [Mon, 31 Dec 2018 22:58:24 +0000 (23:58 +0100)]
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)

6 years agopatch 8.1.0670: macro for popup menu width is unused v8.1.0670
Bram Moolenaar [Mon, 31 Dec 2018 21:09:56 +0000 (22:09 +0100)]
patch 8.1.0670: macro for popup menu width is unused

Problem:    Macro for popup menu width is unused.
Solution:   Remove it. (Hirohito Higashi)

6 years agopatch 8.1.0669: the ex_sign() function is too long v8.1.0669
Bram Moolenaar [Mon, 31 Dec 2018 21:02:29 +0000 (22:02 +0100)]
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)

6 years agopatch 8.1.0668: no test for overstrike mode in the command line v8.1.0668
Bram Moolenaar [Mon, 31 Dec 2018 20:03:02 +0000 (21:03 +0100)]
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)

6 years agopatch 8.1.0667: textprop test leaves file behind v8.1.0667
Bram Moolenaar [Mon, 31 Dec 2018 19:05:56 +0000 (20:05 +0100)]
patch 8.1.0667: textprop test leaves file behind

Problem:    Textprop test leaves file behind.
Solution:   Delete the file. (Dominique Pelle, closes #3743)

6 years agopatch 8.1.0666: text property test fails v8.1.0666
Bram Moolenaar [Mon, 31 Dec 2018 13:34:05 +0000 (14:34 +0100)]
patch 8.1.0666: text property test fails

Problem:    Text property test fails.
Solution:   Update screenshot.

6 years agopatch 8.1.0665: text property display wrong when 'spell' is set v8.1.0665
Bram Moolenaar [Mon, 31 Dec 2018 12:57:36 +0000 (13:57 +0100)]
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.

6 years agopatch 8.1.0664: configure "fail-if-missing" does not apply to enable-gui v8.1.0664
Bram Moolenaar [Sun, 30 Dec 2018 21:55:47 +0000 (22:55 +0100)]
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.

6 years agopatch 8.1.0663: text property display wrong when 'number' is set v8.1.0663
Bram Moolenaar [Sun, 30 Dec 2018 21:07:40 +0000 (22:07 +0100)]
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".

6 years agopatch 8.1.0662: needlessly searching for tilde in string v8.1.0662
Bram Moolenaar [Sun, 30 Dec 2018 10:38:57 +0000 (11:38 +0100)]
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)

6 years agopatch 8.1.0661: clipboard regexp might be used recursively v8.1.0661
Bram Moolenaar [Sat, 29 Dec 2018 21:28:46 +0000 (22:28 +0100)]
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.

6 years agopatch 8.1.0660: sign_cleanup() may leak memory v8.1.0660
Bram Moolenaar [Sat, 29 Dec 2018 20:00:27 +0000 (21:00 +0100)]
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)

6 years agopatch 8.1.0659: build failure without the sign feature v8.1.0659
Bram Moolenaar [Sat, 29 Dec 2018 19:04:40 +0000 (20:04 +0100)]
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.

6 years agopatch 8.1.0658: deleting signs and completion for :sign is insufficient v8.1.0658
Bram Moolenaar [Sat, 29 Dec 2018 17:53:55 +0000 (18:53 +0100)]
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)

6 years agopatch 8.1.0657: get error for using regexp recursively v8.1.0657
Bram Moolenaar [Sat, 29 Dec 2018 12:09:46 +0000 (13:09 +0100)]
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.

6 years agopatch 8.1.0656: trying to reconnect to X server may cause problems v8.1.0656
Bram Moolenaar [Sat, 29 Dec 2018 10:03:23 +0000 (11:03 +0100)]
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)

6 years agopatch 8.1.0655: when appending a line text property flags are not added v8.1.0655
Bram Moolenaar [Fri, 28 Dec 2018 22:22:40 +0000 (23:22 +0100)]
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.

6 years agopatch 8.1.0654: when deleting a line text property flags are not adjusted v8.1.0654
Bram Moolenaar [Fri, 28 Dec 2018 20:59:29 +0000 (21:59 +0100)]
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.

6 years agopatch 8.1.0653: arglist test fails on MS-windows v8.1.0653
Bram Moolenaar [Fri, 28 Dec 2018 18:29:35 +0000 (19:29 +0100)]
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.

6 years agopatch 8.1.0652: freeing memory for balloon eval too early v8.1.0652
Bram Moolenaar [Fri, 28 Dec 2018 18:13:34 +0000 (19:13 +0100)]
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)

6 years agopatch 8.1.0651: :args \"foo works like :args without argument v8.1.0651
Bram Moolenaar [Fri, 28 Dec 2018 18:06:47 +0000 (19:06 +0100)]
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)

6 years agopatch 8.1.0650: command line argument -q [errorfile] is not tested v8.1.0650
Bram Moolenaar [Fri, 28 Dec 2018 17:32:56 +0000 (18:32 +0100)]
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)

6 years agopatch 8.1.0649: setjmp() variables defined globally are used in one file v8.1.0649
Bram Moolenaar [Fri, 28 Dec 2018 16:01:59 +0000 (17:01 +0100)]
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.