]> granicus.if.org Git - vim/log
vim
9 years agopatch 7.4.1379 v7.4.1379
Bram Moolenaar [Sun, 21 Feb 2016 16:20:55 +0000 (17:20 +0100)]
patch 7.4.1379
Problem:    Channel test fails on Win32 console.
Solution:   Don't sleep when timeout is zero. Call channel_wait() before
            channel_read(). Channels are not polled during ":sleep". (Yukihiro
            Nakadaira)

9 years agopatch 7.4.1378 v7.4.1378
Bram Moolenaar [Sun, 21 Feb 2016 15:40:11 +0000 (16:40 +0100)]
patch 7.4.1378
Problem:    Can't change job settings after it started.
Solution:   Add job_setoptions() with the "stoponexit" flag.

9 years agopatch 7.4.1377 v7.4.1377
Bram Moolenaar [Sun, 21 Feb 2016 12:01:53 +0000 (13:01 +0100)]
patch 7.4.1377
Problem:    Test_connect_waittime() is flaky.
Solution:   Ignore the "Connection reset by peer" error.

9 years agoUpdate channel.txt
Bram Moolenaar [Sat, 20 Feb 2016 22:32:02 +0000 (23:32 +0100)]
Update channel.txt

9 years agopatch 7.4.1376 v7.4.1376
Bram Moolenaar [Sat, 20 Feb 2016 22:30:07 +0000 (23:30 +0100)]
patch 7.4.1376
Problem:    ch_setoptions() cannot set all options.
Solution:   Support more options.

9 years agopatch 7.4.1375 v7.4.1375
Bram Moolenaar [Sat, 20 Feb 2016 21:17:05 +0000 (22:17 +0100)]
patch 7.4.1375
Problem:    Still some Win16 code.
Solution:   Remove FEAT_GUI_W16.(Hirohito Higashi)

9 years agopatch 7.4.1374 v7.4.1374
Bram Moolenaar [Sat, 20 Feb 2016 20:48:25 +0000 (21:48 +0100)]
patch 7.4.1374
Problem:    Channel test hangs on MS-Windows.
Solution:   Disable the ch_read() that is supposed to time out.

9 years agopatch 7.4.1373 v7.4.1373
Bram Moolenaar [Sat, 20 Feb 2016 20:39:05 +0000 (21:39 +0100)]
patch 7.4.1373
Problem:    Calling a Vim function over a channel requires turning the
            arguments into a string.
Solution:   Add the "call" command. (Damien)  Also merge "expr" and "eval"
            into one.

9 years agopatch 7.4.1372 v7.4.1372
Bram Moolenaar [Sat, 20 Feb 2016 18:56:13 +0000 (19:56 +0100)]
patch 7.4.1372
Problem:    channel read implementation is incomplete.
Solution:   Add ch_read() and options for ch_readraw().

9 years agopatch 7.4.1371 v7.4.1371
Bram Moolenaar [Sat, 20 Feb 2016 17:44:39 +0000 (18:44 +0100)]
patch 7.4.1371
Problem:    X11 GUI callbacks don't specify the part of the channel.
Solution:   Pass the fd instead of the channel ID.

9 years agopatch 7.4.1370 v7.4.1370
Bram Moolenaar [Sat, 20 Feb 2016 17:26:48 +0000 (18:26 +0100)]
patch 7.4.1370
Problem:    The Python test script may keep on running.
Solution:   Join the threads. (Yasuhiro Matsumoto)

9 years agopatch 7.4.1369 v7.4.1369
Bram Moolenaar [Sat, 20 Feb 2016 17:18:59 +0000 (18:18 +0100)]
patch 7.4.1369
Problem:    Channels don't have a queue for stderr.
Solution:   Have a queue for each part of the channel.

9 years agopatch 7.4.1368 v7.4.1368
Bram Moolenaar [Sat, 20 Feb 2016 14:50:18 +0000 (15:50 +0100)]
patch 7.4.1368
Problem:    One more Win16 file remains.
Solution:   Delete it.

9 years agoUpdated runtime files.
Bram Moolenaar [Sat, 20 Feb 2016 14:47:01 +0000 (15:47 +0100)]
Updated runtime files.

9 years agopatch 7.4.1367 v7.4.1367
Bram Moolenaar [Sat, 20 Feb 2016 14:26:42 +0000 (15:26 +0100)]
patch 7.4.1367
Problem:    Compiler warning for unreachable code.
Solution:   Remove a "break". (Danek Duvall)

9 years agopatch 7.4.1366 v7.4.1366
Bram Moolenaar [Sat, 20 Feb 2016 14:10:50 +0000 (15:10 +0100)]
patch 7.4.1366
Problem:    Typo in test and resulting error in test result.
Solution:   Fix the typo and correct the result. (James McCoy, close #650)

9 years agopatch 7.4.1365 v7.4.1365
Bram Moolenaar [Sat, 20 Feb 2016 13:41:40 +0000 (14:41 +0100)]
patch 7.4.1365
Problem:    Cannot execute a single test function.
Solution:   Add an argument to filter the functions with. (Yasuhiro Matsumoto)

9 years agopatch 7.4.1364 v7.4.1364
Bram Moolenaar [Sat, 20 Feb 2016 12:55:06 +0000 (13:55 +0100)]
patch 7.4.1364
Problem:    The Win 16 code is not maintained and unused.
Solution:   Remove the Win 16 support.

9 years agopatch 7.4.1363 v7.4.1363
Bram Moolenaar [Sat, 20 Feb 2016 12:08:46 +0000 (13:08 +0100)]
patch 7.4.1363
Problem:    Compiler warnings with tiny build.
Solution:   Add #ifdefs.

9 years agopatch 7.4.1362 v7.4.1362
Bram Moolenaar [Fri, 19 Feb 2016 22:31:40 +0000 (23:31 +0100)]
patch 7.4.1362
Problem:    Using unitinialized value.
Solution:   Initialize jo_set.

9 years agopatch 7.4.1361 v7.4.1361
Bram Moolenaar [Fri, 19 Feb 2016 22:23:12 +0000 (23:23 +0100)]
patch 7.4.1361
Problem:    Channel test fails on Solaris.
Solution:   Use the 1 msec waittime for all systems.

9 years agopatch 7.4.1360 v7.4.1360
Bram Moolenaar [Fri, 19 Feb 2016 22:21:26 +0000 (23:21 +0100)]
patch 7.4.1360
Problem:    Can't remove a callback with ch_setoptions().
Solution:   When passing zero or an empty string remove the callback.

9 years agopatch 7.4.1359 v7.4.1359
Bram Moolenaar [Fri, 19 Feb 2016 21:59:44 +0000 (22:59 +0100)]
patch 7.4.1359
Problem:    Channel test ch_sendexpr() times out.
Solution:   Increase the timeout

9 years agopatch 7.4.1358 v7.4.1358
Bram Moolenaar [Fri, 19 Feb 2016 21:46:34 +0000 (22:46 +0100)]
patch 7.4.1358
Problem:    Compiler warning when not building with +crypt.
Solution:   Add #ifdef. (John Marriott)

9 years agopatch 7.4.1357 v7.4.1357
Bram Moolenaar [Fri, 19 Feb 2016 21:38:15 +0000 (22:38 +0100)]
patch 7.4.1357
Problem:    Error for returning value from void function.
Solution:   Don't do that.

9 years agopatch 7.4.1356 v7.4.1356
Bram Moolenaar [Fri, 19 Feb 2016 21:33:35 +0000 (22:33 +0100)]
patch 7.4.1356
Problem:    Job and channel options parsing is scattered.
Solution:   Move all option value parsing to get_job_options();

9 years agopatch 7.4.1355 v7.4.1355
Bram Moolenaar [Fri, 19 Feb 2016 20:05:03 +0000 (21:05 +0100)]
patch 7.4.1355
Problem:    Win32 console and GUI handle channels differently.
Solution:   Consolidate code between Win32 console and GUI.

9 years agopatch 7.4.1354 v7.4.1354
Bram Moolenaar [Fri, 19 Feb 2016 18:43:49 +0000 (19:43 +0100)]
patch 7.4.1354
Problem:    MS-Windows: Mismatch between default compile options and what the
            code expects.
Solution:   Change the default WINVER from 0x0500 to 0x0501. (Ken Takata)

9 years agopatch 7.4.1353 v7.4.1353
Bram Moolenaar [Thu, 18 Feb 2016 21:58:26 +0000 (22:58 +0100)]
patch 7.4.1353
Problem:    Test_connect_waittime is skipped for MS-Windows.
Solution:   Add the test back, it works now.

9 years agopatch 7.4.1352 v7.4.1352
Bram Moolenaar [Thu, 18 Feb 2016 21:25:47 +0000 (22:25 +0100)]
patch 7.4.1352
Problem:    The test script lists all functions before executing them.
Solution:   Only list the function currently being executed.

9 years agopatch 7.4.1351 v7.4.1351
Bram Moolenaar [Thu, 18 Feb 2016 21:23:34 +0000 (22:23 +0100)]
patch 7.4.1351
Problem:    When the port isn't opened yet when ch_open() is called it may
            fail instead of waiting for the specified time.
Solution:   Loop when select() succeeds but when connect() failed. Also use
            channel logging for jobs.  Add ch_log().

9 years agopatch 7.4.1350 v7.4.1350
Bram Moolenaar [Thu, 18 Feb 2016 21:17:42 +0000 (22:17 +0100)]
patch 7.4.1350
Problem:    When the test server fails to start Vim hangs.
Solution:   Check that there is actually something to read from the tty fd.

9 years agopatch 7.4.1349 v7.4.1349
Bram Moolenaar [Thu, 18 Feb 2016 20:19:21 +0000 (21:19 +0100)]
patch 7.4.1349
Problem:    And some more MingW compiler warnings. (Cesar Romani)
Solution:   Add type casts.

9 years agopatch 7.4.1348 v7.4.1348
Bram Moolenaar [Thu, 18 Feb 2016 19:46:39 +0000 (20:46 +0100)]
patch 7.4.1348
Problem:    More compiler warnings. (John Marriott)
Solution:   Add type casts, remove unused variable.

9 years agopatch 7.4.1347 v7.4.1347
Bram Moolenaar [Thu, 18 Feb 2016 19:31:34 +0000 (20:31 +0100)]
patch 7.4.1347
Problem:    When there is any error Vim will use a non-zero exit code.
Solution:   When using ":silent!" do not set the exit code. (Yasuhiro
            Matsumoto)

9 years agopatch 7.4.1346 v7.4.1346
Bram Moolenaar [Thu, 18 Feb 2016 19:18:09 +0000 (20:18 +0100)]
patch 7.4.1346
Problem:    Compiler warnings in build with -O2.
Solution:   Add inintializations.

9 years agopatch 7.4.1345 v7.4.1345
Bram Moolenaar [Wed, 17 Feb 2016 19:48:19 +0000 (20:48 +0100)]
patch 7.4.1345
Problem:    A few more compiler warnings. (Axel Bender)
Solution:   Add type casts.

9 years agopatch 7.4.1344 v7.4.1344
Bram Moolenaar [Wed, 17 Feb 2016 11:30:17 +0000 (12:30 +0100)]
patch 7.4.1344
Problem:    Can't compile Win32 GUI with tiny features.
Solution:   Add #ifdef. (Christian Brabandt)

9 years agopatch 7.4.1343 v7.4.1343
Bram Moolenaar [Wed, 17 Feb 2016 09:05:42 +0000 (10:05 +0100)]
patch 7.4.1343
Problem:    Can't compile with +job but without +channel. (Andrei Olsen)
Solution:   Move get_job_options up and adjust #ifdef.

9 years agopatch 7.4.1342 v7.4.1342
Bram Moolenaar [Tue, 16 Feb 2016 21:01:30 +0000 (22:01 +0100)]
patch 7.4.1342
Problem:    On Mac OS/X the waittime must be > 0 for connect to work.
Solution:   Use select() in a different way. (partly by Kazunobu Kuriyama)
            Always use a waittime of 1 or more.

9 years agopatch 7.4.1341 v7.4.1341
Bram Moolenaar [Tue, 16 Feb 2016 20:03:07 +0000 (21:03 +0100)]
patch 7.4.1341
Problem:    It's difficult to add more arguments to ch_sendraw() and
            ch_sendexpr().
Solution:   Make the third option a dictionary.

9 years agopatch 7.4.1340 v7.4.1340
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

9 years agopatch 7.4.1339 v7.4.1339
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)

9 years agopatch 7.4.1338 v7.4.1338
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.

9 years agopatch 7.4.1337 v7.4.1337
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

9 years agopatch 7.4.1336 v7.4.1336
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.

9 years agopatch 7.4.1335 v7.4.1335
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)

9 years agopatch 7.4.1334 v7.4.1334
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)

9 years agopatch 7.4.1333 v7.4.1333
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)

9 years agopatch 7.4.1332 v7.4.1332
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)

9 years agopatch 7.4.1331 v7.4.1331
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.

9 years agopatch 7.4.1330 v7.4.1330
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)

9 years agopatch 7.4.1329 v7.4.1329
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)

9 years agopatch 7.4.1328 v7.4.1328
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.

9 years agopatch 7.4.1327 v7.4.1327
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)

9 years agopatch 7.4.1326 v7.4.1326
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)

9 years agopatch 7.4.1325 v7.4.1325
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.

9 years agoUpdate runtime files.
Bram Moolenaar [Mon, 15 Feb 2016 21:07:32 +0000 (22:07 +0100)]
Update runtime files.

9 years agopatch 7.4.1324 v7.4.1324
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)

9 years agopatch 7.4.1323 v7.4.1323
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)

9 years agopatch 7.4.1322 v7.4.1322
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.

9 years agopatch 7.4.1321 v7.4.1321
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)

9 years agopatch 7.4.1320 v7.4.1320
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.

9 years agopatch 7.4.1319 v7.4.1319
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.

9 years agopatch 7.4.1318 v7.4.1318
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.

9 years agopatch 7.4.1317 v7.4.1317
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().

9 years agopatch 7.4.1316 v7.4.1316
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.

9 years agopatch 7.4.1315 v7.4.1315
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.

9 years agopatch 7.4.1314 v7.4.1314
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)

9 years agopatch 7.4.1313 v7.4.1313
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.

9 years agopatch 7.4.1312 v7.4.1312
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.

9 years agopatch 7.4.1311 v7.4.1311
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.

9 years agopatch 7.4.1310 v7.4.1310
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.

9 years agopatch 7.4.1309 v7.4.1309
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.

9 years agopatch 7.4.1308 v7.4.1308
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.

9 years agopatch 7.4.1307 v7.4.1307
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.

9 years agopatch 7.4.1306 v7.4.1306
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)

9 years agopatch 7.4.1305 v7.4.1305
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)

9 years agopatch 7.4.1304 v7.4.1304
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.

9 years agopatch 7.4.1303 v7.4.1303
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)

9 years agopatch 7.4.1302 v7.4.1302
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.

9 years agopatch 7.4.1301 v7.4.1301
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)

9 years agopatch 7.4.1300 v7.4.1300
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().

9 years agopatch 7.4.1299 v7.4.1299
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.

9 years agopatch 7.4.1298 v7.4.1298
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)

9 years agopatch 7.4.1297 v7.4.1297
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)

9 years agopatch 7.4.1296 v7.4.1296
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.

9 years agopatch 7.4.1295 v7.4.1295
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)

9 years agopatch 7.4.1294 v7.4.1294
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)

9 years agopatch 7.4.1293 v7.4.1293
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.

9 years agopatch 7.4.1292 v7.4.1292
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.

9 years agopatch 7.4.1291 v7.4.1291
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)

9 years agoUpdated runtime files.
Bram Moolenaar [Sun, 7 Feb 2016 22:02:56 +0000 (23:02 +0100)]
Updated runtime files.

9 years agopatch 7.4.1290 v7.4.1290
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.

9 years agopatch 7.4.1289 v7.4.1289
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".

9 years agopatch 7.4.1288 v7.4.1288
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.

9 years agopatch 7.4.1287 v7.4.1287
Bram Moolenaar [Sun, 7 Feb 2016 20:44:49 +0000 (21:44 +0100)]
patch 7.4.1287
Problem:    Channel test fails.
Solution:   Use reltimefloat().

9 years agopatch 7.4.1286 v7.4.1286
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.

9 years agoAdd missing test file.
Bram Moolenaar [Sun, 7 Feb 2016 20:25:56 +0000 (21:25 +0100)]
Add missing test file.

9 years agopatch 7.4.1285 v7.4.1285
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().