]>
granicus.if.org Git - vim/log
Bram Moolenaar [Fri, 22 Jul 2016 20:26:52 +0000 (22:26 +0200)]
patch 7.4.2092
Problem: GTK 3 build fails with older GTK version.
Solution: Check the pango version. (Kazunobu Kuriyama)
Bram Moolenaar [Fri, 22 Jul 2016 20:12:38 +0000 (22:12 +0200)]
patch 7.4.2091
Problem: Coverity reports a resource leak when out of memory.
Solution: Close the file before returning.
Bram Moolenaar [Fri, 22 Jul 2016 19:50:18 +0000 (21:50 +0200)]
patch 7.4.2090
Problem: Using submatch() in a lambda passed to substitute() is verbose.
Solution: Use a static list and pass it as an optional argument to the
function. Fix memory leak.
Bram Moolenaar [Thu, 21 Jul 2016 20:10:12 +0000 (22:10 +0200)]
patch 7.4.2089
Problem: Color handling of X11 GUIs is too complicated.
Solution: Simplify the code. Use RGBA where appropriate. (Kazunobu
Kuriyama)
Bram Moolenaar [Thu, 21 Jul 2016 20:03:02 +0000 (22:03 +0200)]
patch 7.4.2088
Problem: Keymap test fails with normal features.
Solution: Bail out if the keymap feature is not supported.
Bram Moolenaar [Thu, 21 Jul 2016 19:23:38 +0000 (21:23 +0200)]
patch 7.4.2087
Problem: Digraph code test coverage is still low.
Solution: Add more tests. (Christian Brabandt)
Bram Moolenaar [Thu, 21 Jul 2016 18:33:32 +0000 (20:33 +0200)]
patch 7.4.2086
Problem: Using the system default encoding makes tests unpredictable.
Solution: Always use utf-8 or latin1 in the new style tests. Remove setting
encoding and scriptencoding where it is not needed.
Bram Moolenaar [Thu, 21 Jul 2016 08:11:03 +0000 (10:11 +0200)]
patch 7.4.2085
Problem: Digraph tests fails on some systems.
Solution: Run it separately and set 'encoding' early.
Bram Moolenaar [Wed, 20 Jul 2016 20:23:49 +0000 (22:23 +0200)]
patch 7.4.2084
Problem: New digraph test makes testing hang.
Solution: Don't set "nocp".
Bram Moolenaar [Wed, 20 Jul 2016 20:11:06 +0000 (22:11 +0200)]
patch 7.4.2083
Problem: Coverity complains about not restoring a value.
Solution: Restore the value, although it's not really needed. Change return
to jump to cleanup, might leak memory.
Bram Moolenaar [Wed, 20 Jul 2016 20:01:12 +0000 (22:01 +0200)]
patch 7.4.2082
Problem: Not much test coverage for digraphs.
Solution: Add a new style digraph test. (Christian Brabandt)
Bram Moolenaar [Wed, 20 Jul 2016 19:44:37 +0000 (21:44 +0200)]
patch 7.4.2081
Problem: Line numbers in the error list are not always adjusted.
Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan)
Bram Moolenaar [Tue, 19 Jul 2016 22:10:51 +0000 (00:10 +0200)]
patch 7.4.2080
Problem: When using PERROR() on some systems assert_fails() does not see
the error.
Solution: Make PERROR() always report the error.
Bram Moolenaar [Tue, 19 Jul 2016 22:03:18 +0000 (00:03 +0200)]
patch 7.4.2079
Problem: Netbeans test fails on non-Unix systems.
Solution: Only do the permission check on Unix systems.
Bram Moolenaar [Tue, 19 Jul 2016 21:36:31 +0000 (23:36 +0200)]
patch 7.4.2078
Problem: Running checks in po diretory fails.
Solution: Add colors used in syntax.c to the builtiin color table.
Bram Moolenaar [Tue, 19 Jul 2016 21:13:03 +0000 (23:13 +0200)]
patch 7.4.2077
Problem: Cannot update 'tabline' when a tab was closed.
Solution: Add the TabClosed autocmd event. (partly by Felipe Morales)
Bram Moolenaar [Tue, 19 Jul 2016 20:43:11 +0000 (22:43 +0200)]
patch 7.4.2076
Problem: Syntax error when dict has '>' key.
Solution: Check for endchar. (Ken Takata)
Bram Moolenaar [Tue, 19 Jul 2016 20:31:36 +0000 (22:31 +0200)]
patch 7.4.2075
Problem: No autocommand event to initialize a window or tab page.
Solution: Add WinNew and TabNew events. (partly by Felipe Morales)
Bram Moolenaar [Tue, 19 Jul 2016 19:30:13 +0000 (21:30 +0200)]
patch 7.4.2074
Problem: One more place using a dummy variable.
Solution: Use offsetof(). (Ken Takata)
Bram Moolenaar [Tue, 19 Jul 2016 19:05:21 +0000 (21:05 +0200)]
patch 7.4.2073
Problem: rgb.txt is read for every color name.
Solution: Load rgb.txt once. (Christian Brabandt) Add a test.
Bram Moolenaar [Tue, 19 Jul 2016 17:10:51 +0000 (19:10 +0200)]
patch 7.4.2072
Problem: substitute() does not support a Funcref argument.
Solution: Support a Funcref like it supports a string starting with "\=".
Bram Moolenaar [Tue, 19 Jul 2016 15:25:25 +0000 (17:25 +0200)]
patch 7.4.2071
Problem: The return value of type() is difficult to use.
Solution: Define v:t_ constants. (Ken Takata)
Bram Moolenaar [Tue, 19 Jul 2016 15:01:31 +0000 (17:01 +0200)]
patch 7.4.2070
Problem: Missing change to include file.
Solution: Include the spell header file.
Bram Moolenaar [Tue, 19 Jul 2016 14:39:08 +0000 (16:39 +0200)]
patch 7.4.2069
Problem: spell.c is too big.
Solution: Split it in spell file handling and spell checking.
Bram Moolenaar [Tue, 19 Jul 2016 10:33:44 +0000 (12:33 +0200)]
patch 7.4.2068
Problem: Not all arguments of trunc_string() are tested. Memory access
error when running the message tests.
Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run
unittests with valgrind. Fix the access error.
Bram Moolenaar [Mon, 18 Jul 2016 20:22:39 +0000 (22:22 +0200)]
patch 7.4.2067
Problem: Compiler warning for char/char_u conversion. (Tony Mechelynck)
Inefficient code.
Solution: Use more lines to fill with spaces. (Nikolai Pavlov) Add type cast.
Bram Moolenaar [Sun, 17 Jul 2016 21:34:21 +0000 (23:34 +0200)]
patch 7.4.2066
Problem: getcompletion() not well tested.
Solution: Add more testing.
Bram Moolenaar [Sun, 17 Jul 2016 20:33:53 +0000 (22:33 +0200)]
patch 7.4.2065
Problem: Compiler warns for uninitialzed variable. (John Marriott)
Solution: Set lnum to the right value.
Bram Moolenaar [Sun, 17 Jul 2016 20:25:36 +0000 (22:25 +0200)]
patch 7.4.2064
Problem: Coverity warns for possible buffer overflow.
Solution: Use vim_strcat() instead of strcat().
Bram Moolenaar [Sun, 17 Jul 2016 20:13:49 +0000 (22:13 +0200)]
patch 7.4.2063
Problem: eval.c is still too big.
Solution: Split off internal functions to evalfunc.c.
Bram Moolenaar [Sun, 17 Jul 2016 18:37:43 +0000 (20:37 +0200)]
patch 7.4.2062
Problem: Using dummy variable to compute struct member offset.
Solution: Use offsetof().
Bram Moolenaar [Sun, 17 Jul 2016 17:25:04 +0000 (19:25 +0200)]
patch 7.4.2061
Problem: qf_init_ext() is too big.
Solution: Move code to qf_parse_line() (Yegappan Lakshmanan)
Bram Moolenaar [Sun, 17 Jul 2016 17:02:16 +0000 (19:02 +0200)]
patch 7.4.2060
Problem: Wrong file name.
Solution: Fix typo.
Bram Moolenaar [Sun, 17 Jul 2016 16:41:47 +0000 (18:41 +0200)]
patch 7.4.2059
Problem: Non-Unix builds fail.
Solution: Update Makefiles for new files.
Bram Moolenaar [Sun, 17 Jul 2016 16:29:19 +0000 (18:29 +0200)]
patch 7.4.2058
Problem: eval.c is too big.
Solution: Move user functions to userfunc.c
Bram Moolenaar [Sun, 17 Jul 2016 13:46:27 +0000 (15:46 +0200)]
patch 7.4.2057
Problem: eval.c is too big.
Solution: Move List functions to list.c
Bram Moolenaar [Sun, 17 Jul 2016 13:06:51 +0000 (15:06 +0200)]
patch 7.4.2056
Problem: Build fails.
Solution: Add missing changes.
Bram Moolenaar [Sun, 17 Jul 2016 12:57:05 +0000 (14:57 +0200)]
patch 7.4.2055
Problem: eval.c is too big.
Solution: Move Dictionary functions to dict.c.
Bram Moolenaar [Sun, 17 Jul 2016 11:35:14 +0000 (13:35 +0200)]
Update runtime files.
Bram Moolenaar [Sat, 16 Jul 2016 19:58:01 +0000 (21:58 +0200)]
Put building with interfaces on the right target.
Bram Moolenaar [Sat, 16 Jul 2016 19:52:46 +0000 (21:52 +0200)]
patch 7.4.2054
Problem: Wrong part of #ifdef removed.
Solution: Use the right part. (Hirohito Higashi)
Bram Moolenaar [Sat, 16 Jul 2016 19:37:49 +0000 (21:37 +0200)]
Correct build condition.
Bram Moolenaar [Sat, 16 Jul 2016 19:24:36 +0000 (21:24 +0200)]
Add missing "then".
Bram Moolenaar [Sat, 16 Jul 2016 19:18:34 +0000 (21:18 +0200)]
Add a separate build target for the unittests. Hopefully the coverage will be merged then.
Bram Moolenaar [Sat, 16 Jul 2016 18:55:12 +0000 (20:55 +0200)]
Run unittests before scripttests. Hopefully does not mess up coverage.
Bram Moolenaar [Sat, 16 Jul 2016 18:43:14 +0000 (20:43 +0200)]
patch 7.4.2053
Problem: Can't run scripttests in the top directory.
Solution: Add targets to the top Makefile.
Bram Moolenaar [Sat, 16 Jul 2016 18:37:56 +0000 (20:37 +0200)]
patch 7.4.2052
Problem: Coverage report is messed up by the unittests.
Solution: Add a separate test target for script tests. Use that when
collecting coverage information.
Bram Moolenaar [Sat, 16 Jul 2016 17:50:13 +0000 (19:50 +0200)]
patch 7.4.2051
Problem: No proper testing of trunc_string().
Solution: Add a unittest for message.c.
Bram Moolenaar [Sat, 16 Jul 2016 16:24:56 +0000 (18:24 +0200)]
patch 7.4.2050
Problem: When using ":vimgrep" may end up with duplicate buffers.
Solution: When adding an error list entry pass the buffer number if possible.
Bram Moolenaar [Sat, 16 Jul 2016 14:54:24 +0000 (16:54 +0200)]
patch 7.4.2049
Problem: There is no way to get a list of the error lists.
Solution: Add ":chistory" and ":lhistory".
Bram Moolenaar [Sat, 16 Jul 2016 12:47:36 +0000 (14:47 +0200)]
patch 7.4.2048
Problem: There is still code and help for unsupported systems.
Solution: Remove the code and text. (Hirohito Higashi)
Bram Moolenaar [Sat, 16 Jul 2016 12:20:45 +0000 (14:20 +0200)]
patch 7.4.2047
Problem: Compiler warning for initializing a struct.
Solution: Initialize in another way. (Anton Lindqvist)
Bram Moolenaar [Fri, 15 Jul 2016 20:54:41 +0000 (22:54 +0200)]
Updated runtime files.
Bram Moolenaar [Fri, 15 Jul 2016 20:36:01 +0000 (22:36 +0200)]
patch 7.4.2046
Problem: The qf_init_ext() function is too big.
Solution: Refactor it. (Yegappan Lakshmanan)
Bram Moolenaar [Fri, 15 Jul 2016 19:29:35 +0000 (21:29 +0200)]
patch 7.4.2045
Problem: Memory leak when using a function callback.
Solution: Don't save the function name when it's in the partial.
Bram Moolenaar [Fri, 15 Jul 2016 19:25:08 +0000 (21:25 +0200)]
patch 7.4.2044
Problem: filter() and map() either require a string or defining a function.
Solution: Support lambda, a short way to define a function that evaluates an
expression. (Yasuhiro Matsumoto, Ken Takata)
Bram Moolenaar [Fri, 15 Jul 2016 18:14:44 +0000 (20:14 +0200)]
patch 7.4.2043
Problem: setbuvfar() causes a screen redraw.
Solution: Only use aucmd_prepbuf() for options.
Bram Moolenaar [Fri, 15 Jul 2016 15:49:58 +0000 (17:49 +0200)]
patch 7.4.2042
Problem: GTK: display updating is not done properly and can be slow.
Solution: Use gdk_display_flush() instead of gdk_display_sync(). Don't call
gdk_window_process_updates(). (Kazunobu Kuriyama)
Bram Moolenaar [Fri, 15 Jul 2016 15:41:56 +0000 (17:41 +0200)]
patch 7.4.2041
Problem: Netbeans file authentication not tested.
Solution: Add a test.
Bram Moolenaar [Fri, 15 Jul 2016 15:11:37 +0000 (17:11 +0200)]
patch 7.4.2040
Problem: New files missing from distribution.
Solution: Add new test scripts.
Bram Moolenaar [Fri, 15 Jul 2016 15:09:11 +0000 (17:09 +0200)]
patch 7.4.2039
Problem: The Netbeans integration is not tested.
Solution: Add a first Netbeans test.
Bram Moolenaar [Thu, 14 Jul 2016 21:03:19 +0000 (23:03 +0200)]
patch 7.4.2038
Problem: Small build still fails.
Solution: Adjust more #ifdefs.
Bram Moolenaar [Thu, 14 Jul 2016 20:34:34 +0000 (22:34 +0200)]
patch 7.4.2037
Problem: Small build fails.
Solution: Adjust #ifdefs.
Bram Moolenaar [Thu, 14 Jul 2016 20:09:39 +0000 (22:09 +0200)]
patch 7.4.2036
Problem: Looking up a buffer by number is slow if there are many.
Solution: Use a hashtab.
Bram Moolenaar [Thu, 14 Jul 2016 18:37:07 +0000 (20:37 +0200)]
patch 7.4.2035
Problem: On Solaris with ZFS the ACL may get removed.
Solution: Always restore the ACL for Solaris ZFS. (Danek Duvall)
Bram Moolenaar [Thu, 14 Jul 2016 18:25:03 +0000 (20:25 +0200)]
patch 7.4.2034
Problem: Build fails with some version of MinGW. (illusorypan)
Solution: Recognize mingw32. (Ken Takata, closes #921)
Bram Moolenaar [Wed, 13 Jul 2016 20:44:12 +0000 (22:44 +0200)]
patch 7.4.2033
Problem: 'cscopequickfix' option does not accept new value "a".
Solution: Adjust list of command characters. (Ken Takata)
Bram Moolenaar [Wed, 13 Jul 2016 18:54:43 +0000 (20:54 +0200)]
patch 7.4.2032
Problem: Build fails with 64 bit MinGW. (Axel Bender)
Solution: Handle dash vs. underscore. (Ken Takata, Hirohito Higashi)
Bram Moolenaar [Tue, 12 Jul 2016 20:51:22 +0000 (22:51 +0200)]
patch 7.4.2031
Problem: The list_lbr_utf8 test fails if ~/.vim/syntax/c.vim sets
'textwidth' to a non-zero value. (Oyvind A. Holm)
Solution: Add a setup.vim file that sets 'runtimepath' and $HOME to a safe
value. (partly by Christian Brabandt, closes #912)
Bram Moolenaar [Tue, 12 Jul 2016 19:17:03 +0000 (21:17 +0200)]
patch 7.4.2030
Problem: ARCH must be set properly when using MinGW.
Solution: Detect the default value of ARCH from the current compiler. (Ken
Takata)
Bram Moolenaar [Tue, 12 Jul 2016 19:11:33 +0000 (21:11 +0200)]
patch 7.4.2029
Problem: printf() does not work with 64 bit numbers.
Solution: use the "L" length modifier. (Ken Takata)
Bram Moolenaar [Mon, 11 Jul 2016 21:19:05 +0000 (23:19 +0200)]
patch 7.4.2028
Problem: cppcheck warns for using index before limits check.
Solution: Swap the expressions. (Dominique Pelle)
Bram Moolenaar [Mon, 11 Jul 2016 21:15:25 +0000 (23:15 +0200)]
patch 7.4.2027
Problem: Can't build with +eval but without +menu.
Solution: Add #ifdef. (John Marriott)
Bram Moolenaar [Mon, 11 Jul 2016 20:41:15 +0000 (22:41 +0200)]
patch 7.4.2026
Problem: Reference counting for callbacks isn't right.
Solution: Add free_callback(). (Ken Takata) Fix reference count.
Bram Moolenaar [Sun, 10 Jul 2016 21:16:09 +0000 (23:16 +0200)]
patch 7.4.2025
Problem: The cursor blinking stops or is irregular when receiving date over
a channel and writing it in a buffer, and when updating the status
line. (Ramel Eshed)
Solution: Make it a bit better by flushing GUI output. Don't redraw the
cursor after updating the screen if the blink state is off.
Bram Moolenaar [Sun, 10 Jul 2016 20:11:16 +0000 (22:11 +0200)]
patch 7.4.2024
Problem: More buf_valid() calls can be optimized.
Solution: Use bufref_valid() instead.
Bram Moolenaar [Sun, 10 Jul 2016 18:27:32 +0000 (20:27 +0200)]
patch 7.4.2023
Problem: buflist_findname_stat() may find a dummy buffer.
Solution: Set the BF_DUMMY flag after loading a dummy buffer. Start
finding buffers from the end of the list.
Bram Moolenaar [Sun, 10 Jul 2016 17:22:53 +0000 (19:22 +0200)]
patch 7.4.2022
Problem: Warnings from 64 bit compiler.
Solution: Add type casts. (Mike Williams)
Bram Moolenaar [Sun, 10 Jul 2016 17:03:57 +0000 (19:03 +0200)]
patch 7.4.2021
Problem: Still too many buf_valid() calls.
Solution: Make au_new_curbuf a bufref. Use bufref_valid() in more places.
Bram Moolenaar [Sun, 10 Jul 2016 16:33:59 +0000 (18:33 +0200)]
patch 7.4.2020
Problem: Can't build without +autocmd feature.
Solution: Adjust #ifdefs.
Bram Moolenaar [Sun, 10 Jul 2016 16:24:27 +0000 (18:24 +0200)]
patch 7.4.2019
Problem: When ignoring case utf_fold() may consume a lot of time.
Solution: Optimize for ASCII.
Bram Moolenaar [Sun, 10 Jul 2016 16:21:50 +0000 (18:21 +0200)]
patch 7.4.2018
Problem: buf_valid() can be slow when there are many buffers.
Solution: Add bufref_valid(), only go through the buffer list when a buffer
was freed.
Bram Moolenaar [Sun, 10 Jul 2016 15:00:38 +0000 (17:00 +0200)]
patch 7.4.2017
Problem: When there are many errors adding them to the quickfix list takes
a long time.
Solution: Add BLN_NOOPT. Don't call buf_valid() in buf_copy_options().
Remember the last file name used. When going through the buffer
list start from the end of the list. Only call buf_valid() when
autocommands were executed.
Bram Moolenaar [Sun, 10 Jul 2016 11:57:40 +0000 (13:57 +0200)]
patch 7.4.2016
Problem: Warning from MinGW about _WIN32_WINNT redefined. (John Marriott)
Solution: First undefine it. (Ken Takata)
Bram Moolenaar [Sat, 9 Jul 2016 21:40:45 +0000 (23:40 +0200)]
patch 7.4.2015
Problem: When a file gets a name when writing it 'acd' is not effective.
(Dan Church)
Solution: Invoke DO_AUTOCHDIR after writing the file. (Allen Haim, closes
#777, closes #803) Add test_autochdir() to enable 'acd' before
"starting" is reset.
Bram Moolenaar [Sat, 9 Jul 2016 19:57:20 +0000 (21:57 +0200)]
patch 7.4.2014
Problem: Using "noinsert" in 'completeopt' does not insert match.
Solution: Set compl_enter_selects. (Shougo, closes #875)
Bram Moolenaar [Sat, 9 Jul 2016 19:49:03 +0000 (21:49 +0200)]
patch 7.4.2013
Problem: Using "noinsert" in 'completeopt' breaks redo.
Solution: Set compl_curr_match. (Shougo, closes #874)
Bram Moolenaar [Sat, 9 Jul 2016 18:21:48 +0000 (20:21 +0200)]
Updated runtime files.
Bram Moolenaar [Sat, 9 Jul 2016 17:20:59 +0000 (19:20 +0200)]
patch 7.4.2012
Problem: Test for getcompletion() does not pass on all systems.
Solution: Only test what is supported.
Bram Moolenaar [Sat, 9 Jul 2016 16:50:29 +0000 (18:50 +0200)]
patch 7.4.2011
Problem: It is not easy to get a list of command arguments.
Solution: Add getcompletion(). (Yegappan Lakshmanan)
Bram Moolenaar [Sat, 9 Jul 2016 15:56:19 +0000 (17:56 +0200)]
patch 7.4.2010
Problem: There is a :cbottom command but no :lbottom command.
Solution: Add :lbottom. (Yegappan Lakshmanan)
Bram Moolenaar [Sat, 9 Jul 2016 15:41:12 +0000 (17:41 +0200)]
patch 7.4.2009
Problem: Messages test fails.
Solution: Don't set redir_execute before returning.
Bram Moolenaar [Sat, 9 Jul 2016 15:07:29 +0000 (17:07 +0200)]
patch 7.4.2008
Problem: evalcmd() has a confusing name.
Solution: Rename to execute(). Make silent optional. Support a list of
commands.
Bram Moolenaar [Sat, 9 Jul 2016 13:38:32 +0000 (15:38 +0200)]
patch 7.4.2007
Problem: Running the tests leaves a viminfo file behind.
Solution: Make the viminfo option empty.
Bram Moolenaar [Sat, 9 Jul 2016 13:21:02 +0000 (15:21 +0200)]
patch 7.4.2006
Problem: Crash when using tabnext in BufUnload autocmd. (Norio Takagi)
Solution: First check that the current buffer is the right one. (Hirohito
Higashi)
Bram Moolenaar [Fri, 8 Jul 2016 21:06:21 +0000 (23:06 +0200)]
patch 7.4.2005
Problem: After using evalcmd() message output is in the wrong position.
(Christian Brabandt)
Solution: Reset msg_col.
Bram Moolenaar [Fri, 8 Jul 2016 20:52:37 +0000 (22:52 +0200)]
patch 7.4.2004
Problem: GUI: cursor displayed in the wrong position.
Solution: Correct screen_cur_col and screen_cur_row.
Bram Moolenaar [Fri, 8 Jul 2016 19:41:54 +0000 (21:41 +0200)]
patch 7.4.2003
Problem: Still cursor flickering when a callback updates the screen. (David
Samvelyan)
Solution: Put the cursor in the right position after updating the screen.
Bram Moolenaar [Fri, 8 Jul 2016 18:11:07 +0000 (20:11 +0200)]
patch 7.4.2002
Problem: Crash when passing number to filter() or map().
Solution: Convert to a string. (Ozaki Kiichi)
Bram Moolenaar [Fri, 8 Jul 2016 13:32:54 +0000 (15:32 +0200)]
patch 7.4.2001
Problem: Tiny build fails. (Tony Mechelynck)
Solution: Add #ifdef.