]> granicus.if.org Git - vim/log
vim
8 years agopatch 7.4.1920 v7.4.1920
Bram Moolenaar [Sat, 11 Jun 2016 19:14:18 +0000 (21:14 +0200)]
patch 7.4.1920
Problem:    Missing test changes.
Solution:   Update viminfo test.

8 years agopatch 7.4.1919 v7.4.1919
Bram Moolenaar [Sat, 11 Jun 2016 19:04:39 +0000 (21:04 +0200)]
patch 7.4.1919
Problem:    Register contents is not merged when writing viminfo.
Solution:   Use timestamps for register contents.

8 years agopatch 7.4.1918 v7.4.1918
Bram Moolenaar [Sat, 11 Jun 2016 13:31:47 +0000 (15:31 +0200)]
patch 7.4.1918
Problem:    Not enough testing for parsing viminfo lines.
Solution:   Add test with viminfo lines in bad syntax.  Fix memory leak.

8 years agopatch 7.4.1917 v7.4.1917
Bram Moolenaar [Sat, 11 Jun 2016 12:47:40 +0000 (14:47 +0200)]
patch 7.4.1917
Problem:    History lines read from viminfo in different encoding than when
            writing are not converted.
Solution:   Convert the history lines.

8 years agopatch 7.4.1916 v7.4.1916
Bram Moolenaar [Fri, 10 Jun 2016 21:02:56 +0000 (23:02 +0200)]
patch 7.4.1916
Problem:    No proper test for what 7.4.1906 fixes.
Solution:   Add a test for reading many lines.

8 years agopatch 7.4.1915 v7.4.1915
Bram Moolenaar [Fri, 10 Jun 2016 19:52:42 +0000 (21:52 +0200)]
patch 7.4.1915
Problem:    The effect of the PopupMenu autocommand isn't directly visible.
Solution:   Call gui_update_menus() before displaying the popup menu. (Shane
            Harper, closs #855)

8 years agopatch 7.4.1914 v7.4.1914
Bram Moolenaar [Fri, 10 Jun 2016 17:49:14 +0000 (19:49 +0200)]
patch 7.4.1914
Problem:    Executing autocommands while using the signal stack has a high
            chance of crashing Vim.
Solution:   Don't invoke autocommands when on the signal stack.

8 years agopatch 7.4.1913 v7.4.1913
Bram Moolenaar [Thu, 9 Jun 2016 20:53:01 +0000 (22:53 +0200)]
patch 7.4.1913
Problem:    When ":doautocmd" is used modelines are used even when no
            autocommands were executed. (Daniel Hahler)
Solution:   Skip processing modelines. (closes #854)

8 years agopatch 7.4.1912 v7.4.1912
Bram Moolenaar [Thu, 9 Jun 2016 20:17:22 +0000 (22:17 +0200)]
patch 7.4.1912
Problem:    No test for using setqflist() on an older quickfix list.
Solution:   Add a couple of tests.

8 years agopatch 7.4.1911 v7.4.1911
Bram Moolenaar [Thu, 9 Jun 2016 18:24:28 +0000 (20:24 +0200)]
patch 7.4.1911
Problem:    Recent history lines may be lost when exiting Vim.
Solution:   Merge history using the timestamp.

8 years agopatch 7.4.1910 v7.4.1910
Bram Moolenaar [Wed, 8 Jun 2016 19:48:50 +0000 (21:48 +0200)]
patch 7.4.1910
Problem:    Tests using external command to delete directory.
Solution:   Use delete().

8 years agopatch 7.4.1909 v7.4.1909
Bram Moolenaar [Wed, 8 Jun 2016 19:17:43 +0000 (21:17 +0200)]
patch 7.4.1909
Problem:    Doubled semicolons.
Solution:   Reduce to one. (Dominique Pelle)

8 years agopatch 7.4.1908 v7.4.1908
Bram Moolenaar [Wed, 8 Jun 2016 18:17:23 +0000 (20:17 +0200)]
patch 7.4.1908
Problem:    Netbeans uses uninitialzed pointer and freed memory.
Solution:   Set "buffer" at the right place (hint by Ken Takata)

8 years agopatch 7.4.1907 v7.4.1907
Bram Moolenaar [Tue, 7 Jun 2016 20:50:01 +0000 (22:50 +0200)]
patch 7.4.1907
Problem:    Warnings from 64 bit compiler.
Solution:   Change type to size_t. (Mike Williams)

8 years agopatch 7.4.1906 v7.4.1906
Bram Moolenaar [Tue, 7 Jun 2016 20:16:36 +0000 (22:16 +0200)]
patch 7.4.1906
Problem:    Collapsing channel buffers and searching for NL does not work
            properly. (Xavier de Gary, Ramel Eshed)
Solution:   Do not assume the buffer contains a NUL or not.  Change NUL bytes
            to NL to avoid the string is truncated.

8 years agopatch 7.4.1905 v7.4.1905
Bram Moolenaar [Mon, 6 Jun 2016 19:38:44 +0000 (21:38 +0200)]
patch 7.4.1905
Problem:    Some compilers can't handle a double semicolon.
Solution:   Remove one semicolon.

8 years agopatch 7.4.1904 v7.4.1904
Bram Moolenaar [Mon, 6 Jun 2016 19:20:10 +0000 (21:20 +0200)]
patch 7.4.1904
Problem:    Build fails.
Solution:   Add missing changes.

8 years agopatch 7.4.1903 v7.4.1903
Bram Moolenaar [Mon, 6 Jun 2016 19:07:52 +0000 (21:07 +0200)]
patch 7.4.1903
Problem:    When writing viminfo merging current history with history in
            viminfo may drop recent history entries.
Solution:   Add new format for viminfo lines, use it for history entries.  Use
            a timestamp for ordering the entries. Add test_settime().
            Add the viminfo version.  Does not do merging on timestamp yet.

8 years agopatch 7.4.1902 v7.4.1902
Bram Moolenaar [Sun, 5 Jun 2016 14:10:57 +0000 (16:10 +0200)]
patch 7.4.1902
Problem:    No test for collapsing buffers for a channel.  Some text is lost.
Solution:   Add a simple test.  Set rq_buflen correctly.

8 years agopatch 7.4.1901 v7.4.1901
Bram Moolenaar [Sat, 4 Jun 2016 20:36:17 +0000 (22:36 +0200)]
patch 7.4.1901
Problem:    Win32: the "Disabled" menu items would appear enabled.
Solution:   Use submenu_id if there is a parent. (Shane Harper, closes #834)

8 years agopatch 7.4.1900 v7.4.1900
Bram Moolenaar [Sat, 4 Jun 2016 20:31:27 +0000 (22:31 +0200)]
patch 7.4.1900
Problem:    Using CTRL-] in the help on "{address}." doesn't work.
Solution:   Recognize an item in {}. (Hirohito Higashi, closes #814)

8 years agopatch 7.4.1899 v7.4.1899
Bram Moolenaar [Sat, 4 Jun 2016 20:18:13 +0000 (22:18 +0200)]
patch 7.4.1899
Problem:    GTK 3: cursor blinking doesn't work well.
Solution:   Instead of gui_gtk_window_clear() use gui_mch_clear_block().
            (Kazunobu Kuriyama)

8 years agopatch 7.4.1898 v7.4.1898
Bram Moolenaar [Sat, 4 Jun 2016 20:08:55 +0000 (22:08 +0200)]
patch 7.4.1898
Problem:    User commands don't support modifiers.
Solution:   Add the <mods> item. (Yegappan Lakshmanan, closes #829)

8 years agopatch 7.4.1897 v7.4.1897
Bram Moolenaar [Sat, 4 Jun 2016 18:25:05 +0000 (20:25 +0200)]
patch 7.4.1897
Problem:    Various typos, long lines and style mistakes.
Solution:   Fix the typos, wrap lines, improve style.

8 years agoUpdated runtime files.
Bram Moolenaar [Sat, 4 Jun 2016 18:20:29 +0000 (20:20 +0200)]
Updated runtime files.

8 years agopatch 7.4.1896 v7.4.1896
Bram Moolenaar [Sat, 4 Jun 2016 18:14:07 +0000 (20:14 +0200)]
patch 7.4.1896
Problem:    Invoking mark_adjust() when adding a new line below the last line
            is pointless.
Solution:   Skip calling mark_adjust() when appending below the last line.

8 years agopatch 7.4.1895 v7.4.1895
Bram Moolenaar [Sat, 4 Jun 2016 16:49:36 +0000 (18:49 +0200)]
patch 7.4.1895
Problem:    Cannot use a window ID where a window number is expected.
Solution:   Add LOWEST_WIN_ID, so that the window ID can be used where a
            number is expected.

8 years agopatch 7.4.1894 v7.4.1894
Bram Moolenaar [Sat, 4 Jun 2016 16:09:59 +0000 (18:09 +0200)]
patch 7.4.1894
Problem:    Cannot get the window ID for a mouse click.
Solution:   Add v:mouse_winid.

8 years agopatch 7.4.1893 v7.4.1893
Bram Moolenaar [Sat, 4 Jun 2016 15:58:52 +0000 (17:58 +0200)]
patch 7.4.1893
Problem:    Cannot easily get the window ID for a buffer.
Solution:   Add bufwinid().

8 years agopatch 7.4.1892 v7.4.1892
Bram Moolenaar [Sat, 4 Jun 2016 15:41:03 +0000 (17:41 +0200)]
patch 7.4.1892
Problem:    balloon eval only gets the window number, not the ID.
Solution:   Add v:beval_winid.

8 years agopatch 7.4.1891 v7.4.1891
Bram Moolenaar [Sat, 4 Jun 2016 15:17:11 +0000 (17:17 +0200)]
patch 7.4.1891
Problem:    Channel reading very long lines is slow.
Solution:   Collapse multiple buffers until a NL is found.

8 years agopatch 7.4.1890 v7.4.1890
Bram Moolenaar [Sat, 4 Jun 2016 14:24:32 +0000 (16:24 +0200)]
patch 7.4.1890
Problem:    GUI: When channel data is received the cursor blinking is
            interrupted.  (Ramel Eshed)
Solution:   Don't update the cursor when it is blinking.

8 years agopatch 7.4.1889 v7.4.1889
Bram Moolenaar [Sat, 4 Jun 2016 12:52:00 +0000 (14:52 +0200)]
patch 7.4.1889
Problem:    When umask is set to 0177 Vim can't create temp files. (Lcd)
Solution:   Also correct umask when using mkdtemp().

8 years agopatch 7.4.1888 v7.4.1888
Bram Moolenaar [Sat, 4 Jun 2016 12:37:22 +0000 (14:37 +0200)]
patch 7.4.1888
Problem:    Wrong computation of remaining wait time in RealWaitForChar()
Solution:   Remember the original waiting time.

8 years agopatch 7.4.1887 v7.4.1887
Bram Moolenaar [Sat, 4 Jun 2016 12:11:20 +0000 (14:11 +0200)]
patch 7.4.1887
Problem:    When receiving channel data 'updatetime' is not respected.
Solution:   Recompute the waiting time after being interrupted.

8 years agopatch 7.4.1886 v7.4.1886
Bram Moolenaar [Sat, 4 Jun 2016 11:32:35 +0000 (13:32 +0200)]
patch 7.4.1886
Problem:    When waiting for a character is interrupted by receiving channel
            data and the first character of a mapping was typed, the mapping
            times out. (Ramel Eshed)
Solution:   When dealing with channel data don't return from mch_inchar().

8 years agopatch 7.4.1885 v7.4.1885
Bram Moolenaar [Fri, 3 Jun 2016 17:43:16 +0000 (19:43 +0200)]
patch 7.4.1885
Problem:    MinGW console build defaults to not having +channel.
Solution:   Include the channel feature if building with huge features. (Ken
            Takata)

8 years agopatch 7.4.1884 v7.4.1884
Bram Moolenaar [Fri, 3 Jun 2016 17:05:49 +0000 (19:05 +0200)]
patch 7.4.1884
Problem:    Updating marks in a quickfix list is very slow when the list is
            long.
Solution:   Only update marks if the buffer has a quickfix entry.

8 years agopatch 7.4.1883 v7.4.1883
Bram Moolenaar [Thu, 2 Jun 2016 20:27:08 +0000 (22:27 +0200)]
patch 7.4.1883
Problem:    Cppcheck found 2 incorrect printf formats.
Solution:   Use %ld and %lx. (Dominique Pelle)

8 years agopatch 7.4.1882 v7.4.1882
Bram Moolenaar [Thu, 2 Jun 2016 20:18:47 +0000 (22:18 +0200)]
patch 7.4.1882
Problem:    Check for line break at end of line wrong. (Dominique Pelle)
Solution:   Correct the logic.

8 years agopatch 7.4.1881 v7.4.1881
Bram Moolenaar [Thu, 2 Jun 2016 20:08:05 +0000 (22:08 +0200)]
patch 7.4.1881
Problem:    Appending to a long quickfix list is slow.
Solution:   Add qf_last.

8 years agopatch 7.4.1880 v7.4.1880
Bram Moolenaar [Thu, 2 Jun 2016 18:26:41 +0000 (20:26 +0200)]
patch 7.4.1880
Problem:    MS-Windows console build defaults to not having +channel.
Solution:   Include the channel feature if building with huge features.

8 years agopatch 7.4.1879 v7.4.1879
Bram Moolenaar [Thu, 2 Jun 2016 18:07:09 +0000 (20:07 +0200)]
patch 7.4.1879
Problem:    Channel test is flaky.
Solution:   Wait for close_cb to be invoked.

8 years agopatch 7.4.1878 v7.4.1878
Bram Moolenaar [Thu, 2 Jun 2016 18:05:26 +0000 (20:05 +0200)]
patch 7.4.1878
Problem:    Whether a job has exited isn't detected until a character is
            typed.  After calling exit_cb the cursor is in the wrong place.
Solution:   Don't wait forever for a character to be typed when there is a
            pending job.  Update the screen if neede after calling exit_cb.

8 years agopatch 7.4.1877 v7.4.1877
Bram Moolenaar [Thu, 2 Jun 2016 17:06:25 +0000 (19:06 +0200)]
patch 7.4.1877
Problem:    No test for invoking "close_cb" when writing to a buffer.
Solution:   Add using close_cb to a test case.

8 years agopatch 7.4.1876 v7.4.1876
Bram Moolenaar [Thu, 2 Jun 2016 16:37:05 +0000 (18:37 +0200)]
patch 7.4.1876
Problem:    Typing "k" at the hit-enter prompt has no effect.
Solution:   Don't assume recursive use of the prompt if a character was typed.
            (Hirohito Higashi)

8 years agopatch 7.4.1875 v7.4.1875
Bram Moolenaar [Thu, 2 Jun 2016 15:46:20 +0000 (17:46 +0200)]
patch 7.4.1875
Problem:    Comparing functions and partials doesn't work well.
Solution:   Add tests. (Nikolai Pavlov)  Compare the dict and arguments in the
            partial. (closes #813)

8 years agopatch 7.4.1874 v7.4.1874
Bram Moolenaar [Thu, 2 Jun 2016 13:49:36 +0000 (15:49 +0200)]
patch 7.4.1874
Problem:    Unused variable in Win32 code.
Solution:   Remove it. (Mike Williams)

8 years agopatch 7.4.1873 v7.4.1873
Bram Moolenaar [Thu, 2 Jun 2016 12:30:04 +0000 (14:30 +0200)]
patch 7.4.1873
Problem:    When a callback adds a timer the GUI doesn't use it until later.
            (Ramel Eshed)
Solution:   Return early if a callback adds a timer.

8 years agopatch 7.4.1872 v7.4.1872
Bram Moolenaar [Thu, 2 Jun 2016 11:54:49 +0000 (13:54 +0200)]
patch 7.4.1872
Problem:    Still build problem with old version of Perl.
Solution:   Also define SvREFCNT_inc_void_NN if needed. (Ken Takata)

8 years agopatch 7.4.1871 v7.4.1871
Bram Moolenaar [Thu, 2 Jun 2016 11:40:04 +0000 (13:40 +0200)]
patch 7.4.1871
Problem:    Appending to the quickfix list while the quickfix window is open
            is very slow.
Solution:   Do not delete all the lines, only append the new ones.  Avoid
            using a window while updating the list. (closes #841)

8 years agopatch 7.4.1870 v7.4.1870
Bram Moolenaar [Thu, 2 Jun 2016 09:57:38 +0000 (11:57 +0200)]
patch 7.4.1870
Problem:    One more Win64 compiler warning.
Solution:   Change declared argument type. (Ken Takata)

8 years agopatch 7.4.1869 v7.4.1869
Bram Moolenaar [Thu, 2 Jun 2016 09:54:06 +0000 (11:54 +0200)]
patch 7.4.1869
Problem:    Can't build with old version of Perl.
Solution:   Define PERLIO_FUNCS_DECL. (Tom G. Christensen)

8 years agopatch 7.4.1868 v7.4.1868
Bram Moolenaar [Wed, 1 Jun 2016 21:08:39 +0000 (23:08 +0200)]
patch 7.4.1868
Problem:    Setting really_exiting causes memory leaks to be reported.
Solution:   Add the in_free_all_mem flag.

8 years agopatch 7.4.1867 v7.4.1867
Bram Moolenaar [Wed, 1 Jun 2016 20:34:48 +0000 (22:34 +0200)]
patch 7.4.1867
Problem:    Memory leak in test_matchstrpos.
Solution:   Free the string before overwriting. (Yegappan Lakshmanan)

8 years agopatch 7.4.1866 v7.4.1866
Bram Moolenaar [Wed, 1 Jun 2016 20:21:06 +0000 (22:21 +0200)]
patch 7.4.1866
Problem:    Invalid memory access when exiting with EXITFREE defined.
            (Dominique Pelle)
Solution:   Set "really_exiting" and skip error messages.

8 years agopatch 7.4.1865 v7.4.1865
Bram Moolenaar [Wed, 1 Jun 2016 20:08:17 +0000 (22:08 +0200)]
patch 7.4.1865
Problem:    Memory leaks in tet49. (Dominique Pelle)
Solution:   Use NULL instead of an empty string.

8 years agopatch 7.4.1864 v7.4.1864
Bram Moolenaar [Wed, 1 Jun 2016 18:38:34 +0000 (20:38 +0200)]
patch 7.4.1864
Problem:    Python: encoding error with Python 2.
Solution:   Use "getcwdu" instead of "getcwd". (Ken Takata)

8 years agopatch 7.4.1863 v7.4.1863
Bram Moolenaar [Wed, 1 Jun 2016 18:31:43 +0000 (20:31 +0200)]
patch 7.4.1863
Problem:    Compiler warnings on Win64.
Solution:   Adjust types, add type casts. (Ken Takata)

8 years agopatch 7.4.1862 v7.4.1862
Bram Moolenaar [Tue, 31 May 2016 20:31:23 +0000 (22:31 +0200)]
patch 7.4.1862
Problem:    string() with repeated argument does not give a result usable by
            eval().
Solution:   Refactor echo_striong and tv2string(), moving the common part to
            echo_string_core(). (Ken Takata)

8 years agopatch 7.4.1861 v7.4.1861
Bram Moolenaar [Tue, 31 May 2016 19:37:36 +0000 (21:37 +0200)]
patch 7.4.1861
Problem:    Compiler warnings with 64 bit compiler.
Solution:   Change int to size_t. (Mike William)

8 years agopatch 7.4.1860 v7.4.1860
Bram Moolenaar [Tue, 31 May 2016 19:13:04 +0000 (21:13 +0200)]
patch 7.4.1860
Problem:    Using a partial for timer_start() may cause a crash.
Solution:   Set the copyID in timer objects. (Ozaki Kiichi)

8 years agopatch 7.4.1859 v7.4.1859
Bram Moolenaar [Sun, 29 May 2016 14:44:26 +0000 (16:44 +0200)]
patch 7.4.1859
Problem:    Cannot use a function reference for "exit_cb".
Solution:   Use get_callback(). (Yegappan Lakshmanan)

8 years agopatch 7.4.1858 v7.4.1858
Bram Moolenaar [Sun, 29 May 2016 14:24:50 +0000 (16:24 +0200)]
patch 7.4.1858
Problem:    When a channel writes to a buffer it doesn't find a buffer by the
            short name but re-uses it anyway.
Solution:   Find buffer also by the short name.

8 years agopatch 7.4.1857 v7.4.1857
Bram Moolenaar [Sun, 29 May 2016 14:17:08 +0000 (16:17 +0200)]
patch 7.4.1857
Problem:    When a channel appends to a buffer that is 'nomodifiable' there is
            an error but appending is done anyway.
Solution:   Add the 'modifiable' option.  Refuse to write to a 'nomodifiable'
            when the value is 1.

8 years agopatch 7.4.1856 v7.4.1856
Bram Moolenaar [Sat, 28 May 2016 20:47:12 +0000 (22:47 +0200)]
patch 7.4.1856
Problem:    failing job test fails on MS-Windows.
Solution:   Expect "fail" status instead of "dead".

8 years agopatch 7.4.1855 v7.4.1855
Bram Moolenaar [Sat, 28 May 2016 20:22:34 +0000 (22:22 +0200)]
patch 7.4.1855
Problem:    Valgrind reports memory leak for job that is not freed.
Solution:   Free all jobs on exit.  Add test for failing job.

8 years agopatch 7.4.1854 v7.4.1854
Bram Moolenaar [Sat, 28 May 2016 13:53:53 +0000 (15:53 +0200)]
patch 7.4.1854
Problem:    When setting 'termguicolors' the Ignore highlighting doesn't work.
            (Charles Campbell)
Solution:   Handle the color names "fg" and "bg" when the GUI isn't running
            and no colors are speficied, fall back to black and white.

8 years agopatch 7.4.1853 v7.4.1853
Bram Moolenaar [Sat, 28 May 2016 12:16:10 +0000 (14:16 +0200)]
patch 7.4.1853
Problem:    Crash when job and channel are in the same dict while using
            partials. (Luc Hermitte)
Solution:   Do not decrement the channel reference count too early.

8 years agopatch 7.4.1852 v7.4.1852
Bram Moolenaar [Sat, 28 May 2016 11:40:10 +0000 (13:40 +0200)]
patch 7.4.1852
Problem:    Unix: Cannot run all tests with the GUI.
Solution:   Add the "testgui" target.

8 years agopatch 7.4.1851 v7.4.1851
Bram Moolenaar [Sat, 28 May 2016 11:28:10 +0000 (13:28 +0200)]
patch 7.4.1851
Problem:    test_syn_attr failes when using the GUI. (Dominique Pelle)
Solution:   Escape the font name properly.

8 years agopatch 7.4.1850 v7.4.1850
Bram Moolenaar [Sat, 28 May 2016 11:20:31 +0000 (13:20 +0200)]
patch 7.4.1850
Problem:    GUI freezes when using a job. (Shougo)
Solution:   Unregister the channel when there is an input error.

8 years agopatch 7.4.1849 v7.4.1849
Bram Moolenaar [Fri, 27 May 2016 17:59:48 +0000 (19:59 +0200)]
patch 7.4.1849
Problem:    Still trying to read from channel that is going to be closed.
            (Ramel Eshed)
Solution:   Check if ch_to_be_closed is set.

8 years agopatch 7.4.1848 v7.4.1848
Bram Moolenaar [Thu, 26 May 2016 20:10:00 +0000 (22:10 +0200)]
patch 7.4.1848
Problem:    Can't build with Strawberry Perl 5.24.
Solution:   Define S_SvREFCNT_dec() if needed. (Damien, Ken Takata)

8 years agopatch 7.4.1847 v7.4.1847
Bram Moolenaar [Wed, 25 May 2016 20:51:17 +0000 (22:51 +0200)]
patch 7.4.1847
Problem:    Getting an item from a NULL dict crashes.  Setting a register to a
            NULL list crashes. (Nikolai Pavlov, issue #768)  Comparing a NULL
            dict with a NULL dict fails.
Solution:   Properly check for NULL.

8 years agopatch 7.4.1846 v7.4.1846
Bram Moolenaar [Wed, 25 May 2016 20:00:11 +0000 (22:00 +0200)]
patch 7.4.1846
Problem:    Ubsan detects a multiplication overflow.
Solution:   Don't use orig_mouse_time when it's zero. (Dominique Pelle)

8 years agopatch 7.4.1845 v7.4.1845
Bram Moolenaar [Wed, 25 May 2016 19:48:13 +0000 (21:48 +0200)]
patch 7.4.1845
Problem:    Mentioning NetBeans when reading from channel. (Ramel Eshed)
Solution:   Make the text more generic.

8 years agopatch 7.4.1844 v7.4.1844
Bram Moolenaar [Wed, 25 May 2016 19:23:21 +0000 (21:23 +0200)]
patch 7.4.1844
Problem:    Using old function name in comment.  More functions should start
            with test_.
Solution:   Rename function in comment. (Higashi Higashi) Rename
            disable_char_avail_for_testing() to test_disable_char_avail().
            And alloc_fail() to test_alloc_fail().

8 years agopatch 7.4.1843 v7.4.1843
Bram Moolenaar [Wed, 25 May 2016 18:39:09 +0000 (20:39 +0200)]
patch 7.4.1843
Problem:    Tests involving Python are flaky.
Solution:   Set the pt_auto field.  Add tests. (Nikolai Pavlov)

8 years agopatch 7.4.1842 v7.4.1842
Bram Moolenaar [Tue, 24 May 2016 20:29:49 +0000 (22:29 +0200)]
patch 7.4.1842
Problem:    get() works for Partial but not for Funcref.
Solution:   Accept Funcref.  Also return the function itself. (Nikolai Pavlov)

8 years agoUpdate runtime files.
Bram Moolenaar [Tue, 24 May 2016 18:02:38 +0000 (20:02 +0200)]
Update runtime files.

8 years agopatch 7.4.1841 v7.4.1841
Bram Moolenaar [Tue, 24 May 2016 17:59:51 +0000 (19:59 +0200)]
patch 7.4.1841
Problem:    The code to reallocate the buffer used for quickfix is repeated.
Solution:   Move the code to a function. (Yegappan Lakshmanan, closes #831)

8 years agopatch 7.4.1840 v7.4.1840
Bram Moolenaar [Tue, 24 May 2016 17:37:29 +0000 (19:37 +0200)]
patch 7.4.1840
Problem:    When using packages an "after" directory cannot be used.
Solution:   Add the "after" directory of the package to 'runtimepath' if it
            exists.

8 years agopatch 7.4.1839 v7.4.1839
Bram Moolenaar [Tue, 24 May 2016 16:37:12 +0000 (18:37 +0200)]
patch 7.4.1839
Problem:    Cannot get the items stored in a partial.
Solution:   Support using get() on a partial.

8 years agopatch 7.4.1838 v7.4.1838
Bram Moolenaar [Tue, 24 May 2016 15:33:34 +0000 (17:33 +0200)]
patch 7.4.1838
Problem:    Functions specifically for testing do not sort together.
Solution:   Rename garbagecollect_for_testing() to test_garbagecollect_now().
            Add test_null_list(), test_null_dict(), etc.

8 years agopatch 7.4.1837 v7.4.1837
Bram Moolenaar [Tue, 24 May 2016 14:07:40 +0000 (16:07 +0200)]
patch 7.4.1837
Problem:    The BufUnload event is triggered twice, when :bunload is used with
             set to  or .
Solution:   Do not trigger the event when ml_mfp is NULL. (Hirohito Higashi)

8 years agopatch 7.4.1836 v7.4.1836
Bram Moolenaar [Tue, 24 May 2016 13:44:17 +0000 (15:44 +0200)]
patch 7.4.1836
Problem:    When using a partial on a dictionary it always gets bound to that
            dictionary.
Solution:   Make a difference between binding a function to a dictionary
            explicitly or automatically.

8 years agopatch 7.4.1835 v7.4.1835
Bram Moolenaar [Tue, 24 May 2016 09:31:32 +0000 (11:31 +0200)]
patch 7.4.1835
Problem:    When splitting and closing a window the status height changes.
Solution:   Compute the frame height correctly. (Hirohito Higashi)

8 years agopatch 7.4.1834 v7.4.1834
Bram Moolenaar [Tue, 24 May 2016 08:51:30 +0000 (10:51 +0200)]
patch 7.4.1834
Problem:    Possible crash when conceal is active.
Solution:   Check for the screen to be valid when redrawing a line.

8 years agopatch 7.4.1833 v7.4.1833
Bram Moolenaar [Tue, 24 May 2016 08:46:45 +0000 (10:46 +0200)]
patch 7.4.1833
Problem:    Cannot use an Ex command for 'keywordprg'.
Solution:   Accept an Ex command. (Nelo-Thara Wallus)

8 years agoUpdated runtime files.
Bram Moolenaar [Fri, 20 May 2016 15:24:11 +0000 (17:24 +0200)]
Updated runtime files.

8 years agopatch 7.4.1832 v7.4.1832
Bram Moolenaar [Tue, 17 May 2016 15:45:38 +0000 (17:45 +0200)]
patch 7.4.1832
Problem:    Memory leak in debug commands.
Solution:   Free memory before overwriting the pointer. (hint by Justin Keyes)

8 years agopatch 7.4.1831 v7.4.1831
Bram Moolenaar [Sun, 15 May 2016 16:00:19 +0000 (18:00 +0200)]
patch 7.4.1831
Problem:    When timer_stop() is called with a string there is no proper error
            message.
Solution:   Require getting a number. (Bjorn Linse)

8 years agopatch 7.4.1830 v7.4.1830
Bram Moolenaar [Wed, 11 May 2016 19:05:05 +0000 (21:05 +0200)]
patch 7.4.1830
Problem:    non-antialiased misnamed.
Solution:   Use NONANTIALIASED and NONANTIALIASED_QUALITY. (Kim Brouer,
            closes #793)

8 years agopatch 7.4.1829 v7.4.1829
Bram Moolenaar [Mon, 9 May 2016 18:54:33 +0000 (20:54 +0200)]
patch 7.4.1829
Problem:    No message on channel log when buffer was freed.
Solution:   Log a message.

8 years agopatch 7.4.1828 v7.4.1828
Bram Moolenaar [Mon, 9 May 2016 18:38:53 +0000 (20:38 +0200)]
patch 7.4.1828
Problem:    May try to access buffer that's already freed.
Solution:   When freeing a buffer remove it from any channel.

8 years agopatch 7.4.1827 v7.4.1827
Bram Moolenaar [Mon, 9 May 2016 15:58:04 +0000 (17:58 +0200)]
patch 7.4.1827
Problem:    No error when invoking a callback when it's not safe.
Solution:   Add an error message.  Avoid the error when freeing a channel.

8 years agopatch 7.4.1826 v7.4.1826
Bram Moolenaar [Mon, 9 May 2016 15:20:14 +0000 (17:20 +0200)]
patch 7.4.1826
Problem:    Callbacks are invoked when it's not safe. (Andrew Stewart)
Solution:   When a channel is to be closed don't invoke callbacks right away,
            wait for a safe moment.

8 years agopatch 7.4.1825 v7.4.1825
Bram Moolenaar [Sun, 8 May 2016 19:47:01 +0000 (21:47 +0200)]
patch 7.4.1825
Problem:    When job writes to buffer nothing is written. (Nicola)
Solution:   Do not discard a channel before writing is done.

8 years agopatch 7.4.1824 v7.4.1824
Bram Moolenaar [Sun, 8 May 2016 11:21:12 +0000 (13:21 +0200)]
patch 7.4.1824
Problem:    When a job is no longer referenced and does not have an exit
            callback the process may hang around in defunc state. (Nicola)
Solution:   Call job_status() if the job is running and won't get freed
            because it might still be useful.