Bram Moolenaar [Fri, 29 Jan 2016 21:47:03 +0000 (22:47 +0100)]
patch 7.4.1199
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Bram Moolenaar [Fri, 29 Jan 2016 21:36:45 +0000 (22:36 +0100)]
patch 7.4.1198
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Also remove use of HAVE_STDARG_H.
Bram Moolenaar [Fri, 29 Jan 2016 21:13:30 +0000 (22:13 +0100)]
patch 7.4.1197
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Bram Moolenaar [Fri, 29 Jan 2016 21:03:47 +0000 (22:03 +0100)]
patch 7.4.1196
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Bram Moolenaar [Fri, 29 Jan 2016 20:11:25 +0000 (21:11 +0100)]
patch 7.4.1195
Problem: The channel feature does not work in the MS-Windows console.
Solution: Add win32 console support. (Yasuhiro Matsumoto)
Bram Moolenaar [Thu, 28 Jan 2016 22:10:07 +0000 (23:10 +0100)]
patch 7.4.1194
Problem: Compiler warning for not using return value of fwrite().
Solution: Return OK/FAIL. (Charles Campbell)
Bram Moolenaar [Thu, 28 Jan 2016 22:01:49 +0000 (23:01 +0100)]
patch 7.4.1193
Problem: Can't build the channel feature on MS-Windows.
Solution: Add #ifdef HAVE_POLL.
Bram Moolenaar [Thu, 28 Jan 2016 21:46:58 +0000 (22:46 +0100)]
patch 7.4.1192
Problem: Can't build with FEAT_EVAL but without FEAT_MBYTE. (John
Marriott)
Solution: Add #ifdef for FEAT_MBYTE.
Bram Moolenaar [Thu, 28 Jan 2016 21:38:53 +0000 (22:38 +0100)]
Update runtime files.
Bram Moolenaar [Thu, 28 Jan 2016 21:37:01 +0000 (22:37 +0100)]
patch 7.4.1191
Problem: The channel feature isn't working yet.
Solution: Add the connect(), disconnect(), sendexpr() and sendraw()
functions. Add initial documentation. Add a demo server.
Bram Moolenaar [Thu, 28 Jan 2016 14:34:25 +0000 (15:34 +0100)]
patch 7.4.1190
Problem: On OSX the default flag for dlopen() is different.
Solution: Add RTLD_LOCAL in the configure check. (sv99, closes #604)
Bram Moolenaar [Thu, 28 Jan 2016 14:07:38 +0000 (15:07 +0100)]
patch 7.4.1189
Problem: Using another language on MS-Windows does not work. (Yongwei Wu)
Solution: Undo the change to try loading libintl-8.dll first.
Bram Moolenaar [Thu, 28 Jan 2016 13:12:00 +0000 (14:12 +0100)]
patch 7.4.1188
Problem: Using older JSON standard.
Solution: Update the link. Adjust the text a bit.
Bram Moolenaar [Wed, 27 Jan 2016 20:08:18 +0000 (21:08 +0100)]
patch 7.4.1187
Problem: MS-Windows channel code only supports one channel. Doesn't build
without netbeans support.
Solution: Get the channel index from the socket in the message. Closes #600.
Bram Moolenaar [Wed, 27 Jan 2016 19:47:18 +0000 (20:47 +0100)]
patch 7.4.1186
Problem: Error messages for security context are hard to translate.
Solution: Use one string with %s. (Ken Takata)
Bram Moolenaar [Wed, 27 Jan 2016 10:07:47 +0000 (11:07 +0100)]
patch 7.4.1185
Problem: Can't build with TCL on some systems.
Solution: Rename the channel_ functions.
Bram Moolenaar [Tue, 26 Jan 2016 22:49:31 +0000 (23:49 +0100)]
patch 7.4.1184
Problem: MS-Windows build is still broken.
Solution: Change nbsock to ch_fd.
Bram Moolenaar [Tue, 26 Jan 2016 22:39:55 +0000 (23:39 +0100)]
patch 7.4.1183
Problem: MS-Windows build is broken.
Solution: Remove init in wrong place.
Bram Moolenaar [Tue, 26 Jan 2016 22:30:18 +0000 (23:30 +0100)]
patch 7.4.1182
Problem: Still socket code intertwined with netbeans.
Solution: Move code from netbeans.c to channel.c
Bram Moolenaar [Tue, 26 Jan 2016 18:59:10 +0000 (19:59 +0100)]
patch 7.4.1181
Problem: free_tv() can't handle special variables. (Damien)
Solution: Add the variable type.
Bram Moolenaar [Mon, 25 Jan 2016 21:44:54 +0000 (22:44 +0100)]
add missing test file
Bram Moolenaar [Mon, 25 Jan 2016 21:20:27 +0000 (22:20 +0100)]
patch 7.4.1180
Problem: Crash with invalid argument to glob2regpat().
Solution: Check for NULL. (Justin M. Keyes, closes #596) Add a test.
Bram Moolenaar [Mon, 25 Jan 2016 19:38:30 +0000 (20:38 +0100)]
patch 7.4.1179
Problem: test_writefile and test_viml do not delete the tempfile.
Solution: Delete the tempfile. (Charles Cooper) Add DeleteTheScript().
Bram Moolenaar [Mon, 25 Jan 2016 19:22:54 +0000 (20:22 +0100)]
patch 7.4.1178
Problem: empty() doesn't work for the new special variables.
Solution: Make empty() work. (Damien)
Bram Moolenaar [Mon, 25 Jan 2016 19:15:45 +0000 (20:15 +0100)]
patch 7.4.1177
Problem: The +channel feature is not in :version output. (Tony Mechelynck)
Solution: Add the feature string.
Bram Moolenaar [Mon, 25 Jan 2016 15:05:56 +0000 (16:05 +0100)]
patch 7.4.1176
Problem: Missing change to proto file.
Solution: Update the proto file. (Charles Cooper)
Bram Moolenaar [Mon, 25 Jan 2016 13:17:04 +0000 (14:17 +0100)]
patch 7.4.1175
Problem: Can't build with Mingw and Cygwin.
Solution: Remove extra "endif". (Christian J. Robinson)
Bram Moolenaar [Sun, 24 Jan 2016 21:17:03 +0000 (22:17 +0100)]
patch 7.4.1174
Problem: Netbeans contains dead code insde #ifdef.
Solution: Remove the dead code.
Bram Moolenaar [Sun, 24 Jan 2016 20:51:57 +0000 (21:51 +0100)]
patch 7.4.1173
Problem: No test for new behavior of v:true et al.
Solution: Add a test.
Bram Moolenaar [Sun, 24 Jan 2016 20:31:54 +0000 (21:31 +0100)]
patch 7.4.1172
Problem: Configure is overly positive.
Solution: Insert "test".
Bram Moolenaar [Sun, 24 Jan 2016 19:54:37 +0000 (20:54 +0100)]
patch 7.4.1171
Problem: Makefile dependencies are outdated.
Solution: Run "make depend". Add GTK resource dependencies.
Bram Moolenaar [Sun, 24 Jan 2016 19:41:51 +0000 (20:41 +0100)]
patch 7.4.1170
Problem: Missing changes in src/Makefile, Filelist.
Solution: Add the missing changes.
Bram Moolenaar [Sun, 24 Jan 2016 19:36:41 +0000 (20:36 +0100)]
patch 7.4.1169
Problem: The socket I/O is intertwined with the netbeans code.
Solution: Start refactoring the netbeans communication to split off the
socket I/O. Add the +channel feature.
Bram Moolenaar [Sun, 24 Jan 2016 16:56:50 +0000 (17:56 +0100)]
Update a few runtime files.
Bram Moolenaar [Sun, 24 Jan 2016 16:54:24 +0000 (17:54 +0100)]
patch 7.4.1168
Problem: This doesn't give the right result: eval(string(v:true)). (Nikolay
Pavlov)
Solution: Make the string "v:true" instead of "true".
Bram Moolenaar [Sun, 24 Jan 2016 16:21:29 +0000 (17:21 +0100)]
patch 7.4.1167
Problem: No tests for "is" and "isnot" with the new variables.
Solution: Add tests.
Bram Moolenaar [Sun, 24 Jan 2016 15:49:11 +0000 (16:49 +0100)]
patch 7.4.1166
Problem: Can't encode a Funcref into JSON. jsonencode() doesn't handle the
same list or dict twice properly. (Nikolay Pavlov)
Solution: Give an error. Reset copyID when the list or dict is finished.
Bram Moolenaar [Sun, 24 Jan 2016 14:36:03 +0000 (15:36 +0100)]
patch 7.4.1165
Problem: When defining DYNAMIC_ICONV_DLL in the makefile, the build fails.
Solution: Add #ifdef's. (Taro Muraoka) Try the newer version first.
Bram Moolenaar [Sun, 24 Jan 2016 14:05:32 +0000 (15:05 +0100)]
patch 7.4.1164
Problem: No tests for comparing special variables. Error in jsondecode()
not reported. test_json does not work Japanse system.
Solution: Set scriptencoding. (Ken Takata) Add a few more tests. Add error.
Bram Moolenaar [Sun, 24 Jan 2016 13:22:10 +0000 (14:22 +0100)]
patch 7.4.1163
Problem: Expressions "0 + v:true" and "'' . v:true" cause an error.
Solution: Return something sensible when using a special variable as a
number or as a string. (suggested by Damien)
Bram Moolenaar [Sun, 24 Jan 2016 12:58:40 +0000 (13:58 +0100)]
patch 7.4.1162
Problem: Missing error number in MzScheme. (Dominique Pelle)
Solution: Add a proper error number.
Bram Moolenaar [Sat, 23 Jan 2016 22:02:34 +0000 (23:02 +0100)]
patch 7.4.1161
Problem: ":argadd" without argument is supposed to add the current buffer
name to the arglist.
Solution: Make it work as documented. (Coot, closes #577)
Bram Moolenaar [Sat, 23 Jan 2016 21:51:07 +0000 (22:51 +0100)]
patch 7.4.1160
Problem: No error for jsondecode('"').
Solution: Give an error message for missing double quote.
Bram Moolenaar [Sat, 23 Jan 2016 21:46:10 +0000 (22:46 +0100)]
patch 7.4.1159
Problem: Automatically generated function prototypes use __ARGS.
Solution: Remove __ARGS from osdef.sh.
Bram Moolenaar [Sat, 23 Jan 2016 21:17:30 +0000 (22:17 +0100)]
patch 7.4.1158
Problem: Still using __ARGS().
Solution: Remove __ARGS() from eval.c
Bram Moolenaar [Sat, 23 Jan 2016 20:59:52 +0000 (21:59 +0100)]
patch 7.4.1157
Problem: type() does not work for v:true, v:none, etc.
Solution: Add new type numbers.
Bram Moolenaar [Sat, 23 Jan 2016 20:38:51 +0000 (21:38 +0100)]
patch 7.4.1156
Problem: Coverity warns for NULL pointer and ignoring return value.
Solution: Check for NULL pointer. When dict_add() returns FAIL free the item.
Bram Moolenaar [Sat, 23 Jan 2016 18:54:30 +0000 (19:54 +0100)]
patch 7.4.1155
Problem: Build with normal features fails.
Solution: Always deinfe dict_lookup().
Bram Moolenaar [Sat, 23 Jan 2016 18:46:28 +0000 (19:46 +0100)]
patch 7.4.1154
Problem: No support for JSON.
Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true,
v:null and v:none.
Bram Moolenaar [Fri, 22 Jan 2016 21:44:10 +0000 (22:44 +0100)]
patch 7.4.1153
Problem: Autocommands triggered by quickfix cannot always get the current
title value.
Solution: Call qf_fill_buffer() later. (Christian Brabandt)
Bram Moolenaar [Thu, 21 Jan 2016 22:53:06 +0000 (23:53 +0100)]
patch 7.4.1152
Problem: Langmap test fails with normal build.
Solution: Check for +langmap feature.
Bram Moolenaar [Thu, 21 Jan 2016 22:36:05 +0000 (23:36 +0100)]
Update runtime files
Bram Moolenaar [Thu, 21 Jan 2016 22:34:58 +0000 (23:34 +0100)]
patch 7.4.1151
Problem: Missing change to eval.c
Solution: Also change feedkeys().
Bram Moolenaar [Thu, 21 Jan 2016 22:32:32 +0000 (23:32 +0100)]
patch 7.4.1150
Problem: 'langmap' applies to the first character typed in Select mode.
(David Watson)
Solution: Check for SELECTMODE. (Christian Brabandt, closes #572)
Add the 'x' flag to feedkeys().
Bram Moolenaar [Thu, 21 Jan 2016 20:48:09 +0000 (21:48 +0100)]
patch 7.4.1149
Problem: Using the local value of 'errorformat' causes more problems than
it solves.
Solution: Revert 7.4.1013.
Bram Moolenaar [Thu, 21 Jan 2016 19:24:34 +0000 (20:24 +0100)]
patch 7.4.1148
Problem: Default for MingW and Cygwin is still "normal".
Solution: Use "huge" as default. (Ken Takata)
Bram Moolenaar [Wed, 20 Jan 2016 21:48:02 +0000 (22:48 +0100)]
patch 7.4.1147
Problem: Conflict for "chartab". (Kazunobu Kuriyama)
Solution: Rename the global one to something less obvious. Move it into
src/chartab.c.
Bram Moolenaar [Wed, 20 Jan 2016 21:23:15 +0000 (22:23 +0100)]
patch 7.4.1146
Problem: Can't build with Python 3 interface using MingW.
Solution: Update the Makefile. (Yasuhiro Matsumoto, Ken Takata)
Bram Moolenaar [Wed, 20 Jan 2016 21:11:59 +0000 (22:11 +0100)]
patch 7.4.1145
Problem: Default features are conservative.
Solution: Make the default feature set for most of todays systems "huge".
Bram Moolenaar [Wed, 20 Jan 2016 19:05:44 +0000 (20:05 +0100)]
patch 7.4.1144
Problem: Can't build on several systems.
Solution: Include float.h. (Christian Robinson, closes #570 #571)
Bram Moolenaar [Tue, 19 Jan 2016 22:36:15 +0000 (23:36 +0100)]
patch 7.4.1143
Problem: Can't sort on floating point numbers.
Solution: Add the "f" flag to ":sort". (Alex Jakushev) Also add the "f"
flag to sort().
Bram Moolenaar [Tue, 19 Jan 2016 21:29:28 +0000 (22:29 +0100)]
patch 7.4.1142
Problem: Cannot define keyword characters for a syntax file.
Solution: Add the ":syn iskeyword" command. (Christian Brabandt)
Bram Moolenaar [Tue, 19 Jan 2016 19:52:44 +0000 (20:52 +0100)]
patch 7.4.1141
Problem: Using searchpair() with a skip expression that uses syntax
highlighting sometimes doesn't work. (David Fishburn)
Solution: Reset next_match_idx. (Christian Brabandt)
Bram Moolenaar [Tue, 19 Jan 2016 19:51:32 +0000 (20:51 +0100)]
patch 7.4.1140
Problem: Recognizing <sid> does not work when the language is Turkish.
(Christian Brabandt)
Solution: Use MB_STNICMP() instead of STNICMP().
Bram Moolenaar [Tue, 19 Jan 2016 18:00:32 +0000 (19:00 +0100)]
patch 7.4.1139
Problem: MS-Windows: getftype() returns "file for symlink to directory.
Solution: Make it return "dir". (Ken Takata)
Bram Moolenaar [Tue, 19 Jan 2016 16:47:25 +0000 (17:47 +0100)]
patch 7.4.1138
Problem: When running gvim in the foreground some icons are missing.
(Taylor Venable)
Solution: Move the call to gui_gtk_register_resource(). (Kazunobu Kuriyama)
Bram Moolenaar [Tue, 19 Jan 2016 13:51:54 +0000 (14:51 +0100)]
patch 7.4.1137
Problem: Illegal memory access when using :copen and :cclose.
Solution: Avoid that curbuf is invalid. (suggestion by Justin M. Keyes)
Add a test.
Bram Moolenaar [Tue, 19 Jan 2016 13:31:20 +0000 (14:31 +0100)]
patch 7.4.1136
Problem: Wrong argument to assert_exception() causes a crash. (reported by
Coverity)
Solution: Check for NULL pointer. Add a test.
Bram Moolenaar [Tue, 19 Jan 2016 13:14:08 +0000 (14:14 +0100)]
patch 7.4.1135
Problem: One more arglist test fails on MS-Windows.
Solution: Don't edit "Y" after editing "y".
Bram Moolenaar [Tue, 19 Jan 2016 12:50:57 +0000 (13:50 +0100)]
patch 7.4.1134
Problem: The arglist test fails on MS-Windows.
Solution: Only check for failure of argedit on Unix.
Bram Moolenaar [Tue, 19 Jan 2016 12:22:12 +0000 (13:22 +0100)]
patch 7.4.1133
Problem: Generated function prototypes still have __ARGS().
Solution: Generate function prototypes without __ARGS().
Bram Moolenaar [Tue, 19 Jan 2016 12:07:23 +0000 (13:07 +0100)]
patch 7.4.1132
Problem: Old style tests for the argument list.
Solution: Add more new style tests. (Yegappan Lakshmanan)
Bram Moolenaar [Mon, 18 Jan 2016 22:29:01 +0000 (23:29 +0100)]
patch 7.4.1131
Problem: New lines in the viminfo file are dropped.
Solution: Copy lines starting with "|". Fix that when using :rviminfo in a
function global variables were restored as function-local
variables.
Bram Moolenaar [Mon, 18 Jan 2016 19:30:17 +0000 (20:30 +0100)]
patch 7.4.1130
Problem: Memory leak in :vimgrep.
Solution: Call FreeWild(). (Yegappan Lakshmanan)
Bram Moolenaar [Sun, 17 Jan 2016 21:37:03 +0000 (22:37 +0100)]
patch 7.4.1129
Problem: Python None value can't be converted to a Vim value.
Solution: Just use zero. (Damien)
Bram Moolenaar [Sun, 17 Jan 2016 21:26:33 +0000 (22:26 +0100)]
Update help files.
Bram Moolenaar [Sun, 17 Jan 2016 21:15:16 +0000 (22:15 +0100)]
patch 7.4.1128
Problem: MS-Windows: delete() does not recognize junctions.
Solution: Add mch_isrealdir() for MS-Windows. Update mch_is_symbolic_link().
(Ken Takata)
Bram Moolenaar [Sun, 17 Jan 2016 21:05:48 +0000 (22:05 +0100)]
patch 7.4.1127
Problem: Both old and new style tests for Perl.
Solution: Merge the old tests with the new style tests.
Bram Moolenaar [Sun, 17 Jan 2016 20:49:33 +0000 (21:49 +0100)]
patch 7.4.1126
Problem: Can only get the directory of the current window.
Solution: Add window and tab arguments to getcwd() and haslocaldir().
(Thinca, Hirohito Higashi)
Bram Moolenaar [Sun, 17 Jan 2016 20:15:58 +0000 (21:15 +0100)]
patch 7.4.1125
Problem: There is no perleval().
Solution: Add perleval(). (Damien)
Bram Moolenaar [Sun, 17 Jan 2016 19:53:12 +0000 (20:53 +0100)]
patch 7.4.1124
Problem: MS-Windows: dead key behavior is not ideal.
Solution: Handle dead keys differently when not in Insert or Select mode.
(John Wellesz, closes #399)
Bram Moolenaar [Sun, 17 Jan 2016 18:39:00 +0000 (19:39 +0100)]
patch 7.4.1123
Problem: Using ":argadd" when there are no arguments results in the second
argument to be the current one. (Yegappan Lakshmanan)
Solution: Correct the w_arg_idx value.
Bram Moolenaar [Sun, 17 Jan 2016 17:49:57 +0000 (18:49 +0100)]
patch 7.4.1122
Problem: Test 92 and 93 fail when using gvim on a system with a non utf-8
locale.
Solution: Avoid using .gvimrc by adding -U NONE. (Yukihiro Nakadaira)
Bram Moolenaar [Sun, 17 Jan 2016 17:34:19 +0000 (18:34 +0100)]
patch 7.4.1121
Problem: test_expand leaves files behind.
Solution: Edit another file before deleting, otherwise the swap file
remains.
Bram Moolenaar [Sun, 17 Jan 2016 17:23:58 +0000 (18:23 +0100)]
patch 7.4.1120
Problem: delete(x, 'rf') fails if a directory is empty. (Lcd)
Solution: Ignore not finding matches in an empty directory.
Bram Moolenaar [Sun, 17 Jan 2016 17:04:33 +0000 (18:04 +0100)]
patch 7.4.1119
Problem: argidx() has a wrong value after ":%argdelete". (Yegappan
Lakshmanan)
Solution: Correct the value of w_arg_idx. Add a test.
Bram Moolenaar [Sun, 17 Jan 2016 16:10:59 +0000 (17:10 +0100)]
patch 7.4.1118
Problem: Tests hang in 24 line terminal.
Solution: Set the 'more' option off.
Bram Moolenaar [Sun, 17 Jan 2016 16:04:05 +0000 (17:04 +0100)]
patch 7.4.1117
Problem: No longer get "." and ".." in directory list.
Solution: Do not skip "." and ".." unless EW_DODOT is set.
Bram Moolenaar [Sun, 17 Jan 2016 15:49:43 +0000 (16:49 +0100)]
patch 7.4.1116
Problem: delete(x, 'rf') does not delete files starting with a dot.
Solution: Also delete files starting with a dot.
Bram Moolenaar [Sun, 17 Jan 2016 15:15:32 +0000 (16:15 +0100)]
patch 7.4.1115
Problem: MS-Windows: make clean in testdir doesn't clean everything.
Solution: Add command to delete X* directories. (Ken Takata)
Bram Moolenaar [Sun, 17 Jan 2016 14:56:34 +0000 (15:56 +0100)]
patch 7.4.1114
Problem: delete() does not work well with symbolic links.
Solution: Recognize symbolik links.
Bram Moolenaar [Sun, 17 Jan 2016 13:59:01 +0000 (14:59 +0100)]
patch 7.4.1113
Problem: Using {ns} in variable name does not work. (lilydjwg)
Solution: Fix recognizing colon. Add a test.
Bram Moolenaar [Sat, 16 Jan 2016 21:49:34 +0000 (22:49 +0100)]
patch 7.4.1112
Problem: When using ":next" with an illegal file name no error is reported.
Solution: Give an error message.
Bram Moolenaar [Sat, 16 Jan 2016 21:47:23 +0000 (22:47 +0100)]
patch 7.4.1111
Problem: test_expand fails on MS-Windows.
Solution: Always use forward slashes. Remove references to test27.
Bram Moolenaar [Sat, 16 Jan 2016 21:08:11 +0000 (22:08 +0100)]
patch 7.4.1110
Problem: Test 108 fails when language is French.
Solution: Force English messages. (Dominique Pelle)
Bram Moolenaar [Sat, 16 Jan 2016 21:02:57 +0000 (22:02 +0100)]
patch 7.4.1109
Problem: MS-Windows doesn't have rmdir().
Solution: Add mch_rmdir().
Bram Moolenaar [Sat, 16 Jan 2016 20:50:51 +0000 (21:50 +0100)]
patch 7.4.1108
Problem: Expanding "~" halfway a file name.
Solution: Handle the file name as one name. (Marco Hinz) Add a test.
Closes #564.
Bram Moolenaar [Sat, 16 Jan 2016 20:27:23 +0000 (21:27 +0100)]
patch 7.4.1107
Problem: Vim can create a directory but not delete it.
Solution: Add an argument to delete() to make it possible to delete a
directory, also recursively.
Bram Moolenaar [Sat, 16 Jan 2016 17:05:50 +0000 (18:05 +0100)]
patch 7.4.1106
Problem: The nsis script can't be used from the appveyor build.
Solution: Add "ifndef" to allow for variables to be set from the command
line. Remove duplicate SetCompressor command. Support using other
gettext binaries. (Ken Takata) Update build instructions to use
libintl-8.dll.
Bram Moolenaar [Sat, 16 Jan 2016 15:49:28 +0000 (16:49 +0100)]
patch 7.4.1105
Problem: When using slices there is a mixup of variable name and namespace.
Solution: Recognize variables that can't be a namespace. (Hirohito Higashi)