]>
granicus.if.org Git - vim/log
Bram Moolenaar [Tue, 16 Feb 2016 19:31:31 +0000 (20:31 +0100)]
patch 7.4.1340
Problem: Merge left extra #endif behind.
Solution: Remove the #endif
Bram Moolenaar [Tue, 16 Feb 2016 19:12:02 +0000 (20:12 +0100)]
patch 7.4.1339
Problem: Warnings when building the GUI with MingW. (Cesar Romani)
Solution: Add type cats. (Yasuhiro Matsumoto)
Bram Moolenaar [Tue, 16 Feb 2016 18:44:20 +0000 (19:44 +0100)]
patch 7.4.1338
Problem: Another part of the change is missing.
Solution: Type os_unix.c right this time.
Bram Moolenaar [Tue, 16 Feb 2016 18:37:29 +0000 (19:37 +0100)]
patch 7.4.1337
Problem: Part of the change is missing.
Solution: Add changes to eval.c
Bram Moolenaar [Tue, 16 Feb 2016 18:25:12 +0000 (19:25 +0100)]
patch 7.4.1336
Problem: Channel NL mode is not supported yet.
Solution: Add NL mode support to channels.
Bram Moolenaar [Tue, 16 Feb 2016 15:39:51 +0000 (16:39 +0100)]
patch 7.4.1335
Problem: Can't build on MS-Windows with +job but without +channel. (Cesar
Romani)
Solution: Add #ifdefs. (Yasuhiro Matsumoto)
Bram Moolenaar [Tue, 16 Feb 2016 14:06:59 +0000 (15:06 +0100)]
patch 7.4.1334
Problem: Many compiler warnings with MingW.
Solution: Add type casts. (Yasuhiro Matsumoto)
Bram Moolenaar [Tue, 16 Feb 2016 13:07:40 +0000 (14:07 +0100)]
patch 7.4.1333
Problem: Channel test fails on non-darwin builds.
Solution: Add the "osx" feature and test for that. (Kazunobu Kuriyama)
Bram Moolenaar [Tue, 16 Feb 2016 12:42:24 +0000 (13:42 +0100)]
patch 7.4.1332
Problem: Problem using Python3 when compiled with MingW.
Solution: Define PYTHON3_HOME as a wide character string. (Yasuhiro
Matsumoto)
Bram Moolenaar [Tue, 16 Feb 2016 12:33:52 +0000 (13:33 +0100)]
patch 7.4.1331
Problem: Crash when closing the channel in a callback. (Christian J.
Robinson)
Solution: Take the callback out of the list before invoking it.
Bram Moolenaar [Tue, 16 Feb 2016 12:11:17 +0000 (13:11 +0100)]
patch 7.4.1330
Problem: fd_read() has an unused argument.
Solution: Remove the timeout. (Yasuhiro Matsumoto)
Bram Moolenaar [Tue, 16 Feb 2016 11:44:26 +0000 (12:44 +0100)]
patch 7.4.1329
Problem: Crash when using channel that failed to open.
Solution: Check for NULL. Update messages. (Yukihiro Nakadaira)
Bram Moolenaar [Mon, 15 Feb 2016 22:09:04 +0000 (23:09 +0100)]
patch 7.4.1328
Problem: Can't compile with +job but without +channel. (John Marriott)
Solution: Add more #ifdefs.
Bram Moolenaar [Mon, 15 Feb 2016 21:55:28 +0000 (22:55 +0100)]
patch 7.4.1327
Problem: Channel test doesn't work if Python executable is python.exe.
Solution: Find py.exe or python.exe. (Ken Takata)
Bram Moolenaar [Mon, 15 Feb 2016 21:45:12 +0000 (22:45 +0100)]
patch 7.4.1326
Problem: Build rules are bit too complicated.
Solution: Remove -lwsock32 from Netbeans, it's already added for the channel
feature that it depends on. (Tony Mechelynck)
Bram Moolenaar [Mon, 15 Feb 2016 21:37:37 +0000 (22:37 +0100)]
patch 7.4.1325
Problem: Channel test fails on difference between Unix and DOS line endings.
Solution: Strip off CR. Make assert show difference better.
Bram Moolenaar [Mon, 15 Feb 2016 21:07:32 +0000 (22:07 +0100)]
Update runtime files.
Bram Moolenaar [Mon, 15 Feb 2016 20:56:54 +0000 (21:56 +0100)]
patch 7.4.1324
Problem: Channels with pipes don't work on MS-Windows.
Solution: Add pipe I/O support. (Yasuhiro Matsumoto)
Bram Moolenaar [Mon, 15 Feb 2016 20:22:10 +0000 (21:22 +0100)]
patch 7.4.1323
Problem: Do not get warnings when building with MingW.
Solution: Remove the -w flag. (Ken Takata)
Bram Moolenaar [Mon, 15 Feb 2016 19:39:46 +0000 (20:39 +0100)]
patch 7.4.1322
Problem: Crash when unletting the variable that holds the channel in a
callback function. (Christian Robinson)
Solution: Increase the reference count while invoking the callback.
Bram Moolenaar [Mon, 15 Feb 2016 11:44:20 +0000 (12:44 +0100)]
patch 7.4.1321
Problem: Compiler complains about missing statement.
Solution: Add an empty statement. (Andrei Olsen)
Bram Moolenaar [Sun, 14 Feb 2016 22:11:23 +0000 (23:11 +0100)]
patch 7.4.1320
Problem: Building with Cygwin or MingW with channel but without Netbeans
doesn't work.
Solution: Set NETBEANS to "no" when not used.
Bram Moolenaar [Sun, 14 Feb 2016 22:02:34 +0000 (23:02 +0100)]
patch 7.4.1319
Problem: Tests fail on MS-Windows and on Unix with GUI.
Solution: Fix unregistering.
Bram Moolenaar [Sun, 14 Feb 2016 18:13:43 +0000 (19:13 +0100)]
patch 7.4.1318
Problem: Channel with pipes doesn't work in GUI.
Solution: Register input handlers for pipes.
Bram Moolenaar [Sat, 13 Feb 2016 23:19:59 +0000 (00:19 +0100)]
patch 7.4.1317
Problem: MS-Windows: channel test fails.
Solution: Temporarily disable Test_connect_waittime().
Bram Moolenaar [Sat, 13 Feb 2016 22:50:08 +0000 (23:50 +0100)]
patch 7.4.1316
Problem: Can't build MS-Windows console version. (Tux)
Solution: Add #ifdefs.
Bram Moolenaar [Sat, 13 Feb 2016 22:23:53 +0000 (23:23 +0100)]
patch 7.4.1315
Problem: Using a channel handle does not allow for freeing it when unused.
Solution: Add the Channel variable type.
Bram Moolenaar [Sat, 13 Feb 2016 17:50:38 +0000 (18:50 +0100)]
patch 7.4.1314
Problem: Warning for uninitialzed variable.
Solution: Initialize it. (Dominique Pelle)
Bram Moolenaar [Sat, 13 Feb 2016 17:40:30 +0000 (18:40 +0100)]
patch 7.4.1313
Problem: MS-Windows: Using socket after it was closed causes an exception.
Solution: Don't give an error when handling WM_NETBEANS. Re-enable tests
for MS-Windows.
Bram Moolenaar [Sat, 13 Feb 2016 16:24:26 +0000 (17:24 +0100)]
patch 7.4.1312
Problem: sock_T is not defined without the +channel feature.
Solution: Always define it.
Bram Moolenaar [Sat, 13 Feb 2016 16:09:53 +0000 (17:09 +0100)]
patch 7.4.1311
Problem: sock_T is defined too late.
Solution: Move it up.
Bram Moolenaar [Sat, 13 Feb 2016 16:04:46 +0000 (17:04 +0100)]
patch 7.4.1310
Problem: Jobs don't open a channel.
Solution: Create pipes and add them to the channel. Add ch_logfile().
Only Unix for now.
Bram Moolenaar [Sat, 13 Feb 2016 13:06:14 +0000 (14:06 +0100)]
patch 7.4.1309
Problem: When a test fails not all relevant info is listed.
Solution: Add the errors to the messages.
Bram Moolenaar [Fri, 12 Feb 2016 21:35:51 +0000 (22:35 +0100)]
patch 7.4.1308
Problem: Typo in test.
Solution: Change endf to endif.
Bram Moolenaar [Fri, 12 Feb 2016 21:25:56 +0000 (22:25 +0100)]
patch 7.4.1307
Problem: Some channel tests fail on MS-Windows.
Solution: Disable the failing tests temporarily.
Bram Moolenaar [Fri, 12 Feb 2016 18:30:26 +0000 (19:30 +0100)]
patch 7.4.1306
Problem: Job control doesn't work well on MS-Windows.
Solution: Various fixes. (Ken Takata, Ozaki Kiichi , Yukihiro Nakadaira,
Yasuhiro Matsumoto)
Bram Moolenaar [Fri, 12 Feb 2016 18:08:15 +0000 (19:08 +0100)]
patch 7.4.1305
Problem: "\%1l^#.*" does not match on a line starting with "#".
Solution: Do not clear the start-of-line flag. (Christian Brabandt)
Bram Moolenaar [Thu, 11 Feb 2016 20:08:32 +0000 (21:08 +0100)]
patch 7.4.1304
Problem: Function names are difficult to read.
Solution: Rename jsonencode to json_encode, jsondecode to json_decode,
jsencode to js_encode and jsdecode to js_decode.
Bram Moolenaar [Thu, 11 Feb 2016 19:48:34 +0000 (20:48 +0100)]
patch 7.4.1303
Problem: A Funcref is not accepted as a callback.
Solution: Make a Funcref work. (Damien)
Bram Moolenaar [Thu, 11 Feb 2016 11:48:36 +0000 (12:48 +0100)]
patch 7.4.1302
Problem: Typo in struct field name. (Ken Takata)
Solution: Rename jf_pi to jv_pi.
Bram Moolenaar [Wed, 10 Feb 2016 22:28:21 +0000 (23:28 +0100)]
patch 7.4.1301
Problem: Missing options in ch_open().
Solution: Add s:chopt like in the other calls. (Ozaki Kiichi)
Bram Moolenaar [Wed, 10 Feb 2016 21:23:06 +0000 (22:23 +0100)]
patch 7.4.1300
Problem: Cannot test CursorMovedI because there is typeahead.
Solution: Add disable_char_avail_for_testing().
Bram Moolenaar [Wed, 10 Feb 2016 20:07:14 +0000 (21:07 +0100)]
patch 7.4.1299
Problem: When the server sends a message with ID zero the channel handler
is not invoked. (Christian J. Robinson)
Solution: Recognize zero value for the request ID. Add a test for invoking
the channel handler.
Bram Moolenaar [Wed, 10 Feb 2016 19:32:20 +0000 (20:32 +0100)]
patch 7.4.1298
Problem: When the channel test fails in an unexpected way the server keeps
running.
Solution: Use try/catch. (Ozaki Kiichi)
Bram Moolenaar [Tue, 9 Feb 2016 22:33:25 +0000 (23:33 +0100)]
patch 7.4.1297
Problem: On Mac test_channel leaves python instances running.
Solution: Use a small waittime to make ch_open() work. (Ozaki Kiichi)
Bram Moolenaar [Tue, 9 Feb 2016 20:24:46 +0000 (21:24 +0100)]
patch 7.4.1296
Problem: Cursor changes column with up motion when the matchparen plugin
saves and restores the cursor position. (Martin Kunev)
Solution: Make sure curswant is updated before invoking the autocommand.
Bram Moolenaar [Tue, 9 Feb 2016 19:39:26 +0000 (20:39 +0100)]
patch 7.4.1295
Problem: string(job) doesn't work well on MS-Windows.
Solution: Use the process ID. (Yasuhiro Matsumoto)
Bram Moolenaar [Tue, 9 Feb 2016 10:37:50 +0000 (11:37 +0100)]
patch 7.4.1294
Problem: job_stop() only kills the started process.
Solution: Send the signal to the process group. (Olaf Dabrunz)
Bram Moolenaar [Mon, 8 Feb 2016 22:23:42 +0000 (23:23 +0100)]
patch 7.4.1293
Problem: Sometimes a channel may hang waiting for a message that was
already discarded. (Ken Takata)
Solution: Store the ID of the message blocking on in the channel.
Bram Moolenaar [Mon, 8 Feb 2016 21:57:24 +0000 (22:57 +0100)]
patch 7.4.1292
Problem: Some compilers complain about uninitialzed variable, even though
all possible cases are handled. (Dominique Pelle)
Solution: Add a default initialization.
Bram Moolenaar [Mon, 8 Feb 2016 21:37:24 +0000 (22:37 +0100)]
patch 7.4.1291
Problem: On MS-Windows the channel test server doesn't quit.
Solution: Use return instead of break. (Ken Takata)
Bram Moolenaar [Sun, 7 Feb 2016 22:02:56 +0000 (23:02 +0100)]
Updated runtime files.
Bram Moolenaar [Sun, 7 Feb 2016 21:30:47 +0000 (22:30 +0100)]
patch 7.4.1290
Problem: Coverity complains about uneccessary check for NULL.
Solution: Remove the check.
Bram Moolenaar [Sun, 7 Feb 2016 21:21:19 +0000 (22:21 +0100)]
patch 7.4.1289
Problem: Channel test fails on MS-Windows, connect() takes too long.
Solution: Adjust the test for MS-Windows using "waittime".
Bram Moolenaar [Sun, 7 Feb 2016 20:59:26 +0000 (21:59 +0100)]
patch 7.4.1288
Problem: ch_sendexpr() does not use JS encoding.
Solution: Use the encoding that fits the channel mode. Refuse using
ch_sendexpr() on a raw channel.
Bram Moolenaar [Sun, 7 Feb 2016 20:44:49 +0000 (21:44 +0100)]
patch 7.4.1287
Problem: Channel test fails.
Solution: Use reltimefloat().
Bram Moolenaar [Sun, 7 Feb 2016 20:29:00 +0000 (21:29 +0100)]
patch 7.4.1286
Problem: ch_open() with a timeout doesn't work correctly.
Solution: Change how select() is used. Don't give an error on timeout.
Add a test for ch_open() failing.
Bram Moolenaar [Sun, 7 Feb 2016 20:25:56 +0000 (21:25 +0100)]
Add missing test file.
Bram Moolenaar [Sun, 7 Feb 2016 20:19:28 +0000 (21:19 +0100)]
patch 7.4.1285
Problem: Cannot measure elapsed time.
Solution: Add reltimefloat().
Bram Moolenaar [Sun, 7 Feb 2016 19:29:00 +0000 (20:29 +0100)]
patch 7.4.1284
Problem: Test 49 fails.
Solution: Check for a different error message.
Bram Moolenaar [Sun, 7 Feb 2016 18:57:16 +0000 (19:57 +0100)]
patch 7.4.1283
Problem: The job feature isn't available on MS-Windows.
Solution: Add the job feature. Fix argument of job_stop(). (Yasuhiro
Matsumoto)
Bram Moolenaar [Sun, 7 Feb 2016 18:46:12 +0000 (19:46 +0100)]
patch 7.4.1282
Problem: Crash when evaluating the pattern of ":catch" causes an error.
(Dominique Pelle)
Solution: Block error messages at this point.
Bram Moolenaar [Sun, 7 Feb 2016 18:27:53 +0000 (19:27 +0100)]
patch 7.4.1281
Problem: No test for skipping over code that isn't evaluated.
Solution: Add a test with code that would fail when not skipped.
Bram Moolenaar [Sun, 7 Feb 2016 18:25:51 +0000 (19:25 +0100)]
patch 7.4.1280
Problem: Missing case value.
Solution: Add VAR_JOB.
Bram Moolenaar [Sun, 7 Feb 2016 18:19:53 +0000 (19:19 +0100)]
patch 7.4.1279
Problem: jsonencode() is not producing strict JSON.
Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode()
strict.
Bram Moolenaar [Sun, 7 Feb 2016 15:53:13 +0000 (16:53 +0100)]
patch 7.4.1278
Problem: When jsonencode() fails it still returns something.
Solution: Return an empty string on failure.
Bram Moolenaar [Sun, 7 Feb 2016 14:57:00 +0000 (15:57 +0100)]
patch 7.4.1277
Problem: Compiler can complain about missing enum value in switch with some
combination of features.
Solution: Remove #ifdefs around case statements.
Bram Moolenaar [Sun, 7 Feb 2016 14:14:01 +0000 (15:14 +0100)]
patch 7.4.1276
Problem: Warning for not using return value of fcntl().
Solution: Explicitly ignore the return value.
Bram Moolenaar [Sun, 7 Feb 2016 13:53:21 +0000 (14:53 +0100)]
patch 7.4.1275
Problem: Build fails on MS-Windows.
Solution: Fix wrong #ifdef.
Bram Moolenaar [Sun, 7 Feb 2016 13:27:38 +0000 (14:27 +0100)]
patch 7.4.1274
Problem: Cannot run a job.
Solution: Add job_start(), job_status() and job_stop(). Currently only works
for Unix.
Bram Moolenaar [Sat, 6 Feb 2016 23:00:35 +0000 (00:00 +0100)]
patch 7.4.1273
Problem: assert_false(v:false) still fails.
Solution: Fix the typo.
Bram Moolenaar [Sat, 6 Feb 2016 19:32:25 +0000 (20:32 +0100)]
patch 7.4.1272
Problem: Using future enum value.
Solution: Remove it.
Bram Moolenaar [Sat, 6 Feb 2016 19:29:28 +0000 (20:29 +0100)]
patch 7.4.1271
Problem: assert_false(v:false) reports an error. (Nikolai Pavlov)
Solution: Recognize v:true and v:false. (Closes #625)
Bram Moolenaar [Sat, 6 Feb 2016 18:57:20 +0000 (19:57 +0100)]
patch 7.4.1270
Problem: Warnings for missing values in switch.
Solution: Change switch to if-else or add values.
Bram Moolenaar [Sat, 6 Feb 2016 17:42:07 +0000 (18:42 +0100)]
patch 7.4.1269
Problem: Encoding {'key':} to JSON doesn't give an error (Tyru)
Solution: Give an error.
Bram Moolenaar [Sat, 6 Feb 2016 17:18:54 +0000 (18:18 +0100)]
patch 7.4.1268
Problem: Waittime is used as seconds instead of milliseconds. (Hirohito
Higashi)
Solution: Divide by 1000.
Bram Moolenaar [Sat, 6 Feb 2016 17:09:59 +0000 (18:09 +0100)]
patch 7.4.1267
Problem: Easy to miss handling all types of variables.
Solution: Change the variable type into an enum.
Bram Moolenaar [Sat, 6 Feb 2016 14:29:40 +0000 (15:29 +0100)]
patch 7.4.1266
Problem: A BufAdd autocommand may cause an ml_get error (Christian
Brabandt)
Solution: Increment RedrawingDisabled earlier.
Bram Moolenaar [Fri, 5 Feb 2016 22:09:12 +0000 (23:09 +0100)]
patch 7.4.1265
Problem: Not all channel commands are tested.
Solution: Add a test for "normal", "expr" and "redraw".
Bram Moolenaar [Fri, 5 Feb 2016 21:49:56 +0000 (22:49 +0100)]
patch 7.4.1264
Problem: Crash when receiving an empty array.
Solution: Check for array with wrong number of arguments. (Damien)
Bram Moolenaar [Fri, 5 Feb 2016 21:36:41 +0000 (22:36 +0100)]
patch 7.4.1263
Problem: ch_open() hangs when the server isn't running.
Solution: Add a timeout. Use a dict to pass arguments. (Yasuhiro Matsumoto)
Bram Moolenaar [Fri, 5 Feb 2016 20:04:08 +0000 (21:04 +0100)]
patch 7.4.1262
Problem: The channel callback is not invoked.
Solution: Make a list of pending callbacks.
Bram Moolenaar [Thu, 4 Feb 2016 21:49:49 +0000 (22:49 +0100)]
patch 7.4.1261
Problem: Pending channel messages are garbage collected. Leaking memory in
ch_sendexpr(). Leaking memory for a decoded JSON string.
Solution: Mark the message list as used. Free the encoded JSON. Don't save
the JSON string.
Bram Moolenaar [Thu, 4 Feb 2016 21:09:48 +0000 (22:09 +0100)]
patch 7.4.1260
Problem: The channel feature doesn't work on Win32 GUI.
Solution: Use WSAGetLastError(). (Ken Takata)
Bram Moolenaar [Thu, 4 Feb 2016 20:53:33 +0000 (21:53 +0100)]
patch 7.4.1259
Problem: No test for what patch 7.3.414 fixed.
Solution: Add a test. (Elias Diem)
Bram Moolenaar [Thu, 4 Feb 2016 20:03:33 +0000 (21:03 +0100)]
patch 7.4.1258
Problem: The channel test can fail if messages arrive later.
Solution: Add a short sleep. (Jun T.)
Bram Moolenaar [Thu, 4 Feb 2016 19:57:07 +0000 (20:57 +0100)]
Update runtime files.
Bram Moolenaar [Thu, 4 Feb 2016 09:54:34 +0000 (10:54 +0100)]
patch 7.4.1257
Problem: Channel test fails in some configurations.
Solution: Add check for the +channel feature.
Bram Moolenaar [Wed, 3 Feb 2016 23:11:37 +0000 (00:11 +0100)]
patch 7.4.1256
Problem: On Mac sys.exit(0) doesn't kill the test server.
Solution: Use self.server.shutdown(). (Jun Takimoto)
Bram Moolenaar [Wed, 3 Feb 2016 22:59:43 +0000 (23:59 +0100)]
patch 7.4.1255
Problem: Crash for channel "eval" command without third argument.
Solution: Check for missing argument.
Bram Moolenaar [Wed, 3 Feb 2016 22:25:07 +0000 (23:25 +0100)]
patch 7.4.1254
Problem: Opening a second channel causes a crash. (Ken Takata)
Solution: Don't re-allocate the array with channels.
Bram Moolenaar [Wed, 3 Feb 2016 21:39:51 +0000 (22:39 +0100)]
patch 7.4.1253
Problem: Python test server not displaying second of two commands.
Solaris doesn't have "pkill --full".
Solution: Also echo the second command. Use "pkill -f".
Bram Moolenaar [Wed, 3 Feb 2016 21:20:29 +0000 (22:20 +0100)]
patch 7.4.1252
Problem: The channel test server may receive two messages concatenated.
Solution: Split the messages.
Bram Moolenaar [Wed, 3 Feb 2016 20:56:42 +0000 (21:56 +0100)]
patch 7.4.1251
Problem: New test file missing from distribution.
Solution: Add src/testdir/*.py.
Bram Moolenaar [Wed, 3 Feb 2016 20:45:27 +0000 (21:45 +0100)]
patch 7.4.1250
Problem: Running tests in shadow directory fails.
Solution: Also link testdir/*.py
Bram Moolenaar [Wed, 3 Feb 2016 20:32:46 +0000 (21:32 +0100)]
patch 7.4.1249
Problem: Crash when the process a channel is connected to exits.
Solution: Use the file descriptor properly. Add a test. (Damien)
Also add a test for eval().
Bram Moolenaar [Wed, 3 Feb 2016 19:22:32 +0000 (20:22 +0100)]
patch 7.4.1248
Problem: Can't reliably stop the channel test server. Can't start the
server if the python file is not executable.
Solution: Use "pkill" instead of "killall". Run the python file as an
argument instead of as an executable.
Bram Moolenaar [Wed, 3 Feb 2016 19:13:24 +0000 (20:13 +0100)]
patch 7.4.1247
Problem: The channel test doesn't run on MS-Windows.
Solution: Make it work on the MS-Windows console. (Ken Takata)
Bram Moolenaar [Tue, 2 Feb 2016 22:33:43 +0000 (23:33 +0100)]
Make the python script executable.
Bram Moolenaar [Tue, 2 Feb 2016 22:23:02 +0000 (23:23 +0100)]
patch 7.4.1246
Problem: The channel functionality isn't tested.
Solution: Add a test using a Python test server.