Bram Moolenaar
ae8eb3ca92
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.
v7.4.1288
2016-02-07 21:59:26 +01:00
Bram Moolenaar
74f5e65bcc
patch 7.4.1287
...
Problem: Channel test fails.
Solution: Use reltimefloat().
v7.4.1287
2016-02-07 21:44:49 +01:00
Bram Moolenaar
7a84dbe6be
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.
v7.4.1286
2016-02-07 21:29:00 +01:00
Bram Moolenaar
cb00f03933
Add missing test file.
2016-02-07 21:25:56 +01:00
Bram Moolenaar
79c2c881bb
patch 7.4.1285
...
Problem: Cannot measure elapsed time.
Solution: Add reltimefloat().
v7.4.1285
2016-02-07 21:19:28 +01:00
Bram Moolenaar
dc94a26a64
patch 7.4.1284
...
Problem: Test 49 fails.
Solution: Check for a different error message.
v7.4.1284
2016-02-07 20:29:00 +01:00
Bram Moolenaar
942d6b2268
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)
v7.4.1283
2016-02-07 19:57:16 +01:00
Bram Moolenaar
768ce2435a
patch 7.4.1282
...
Problem: Crash when evaluating the pattern of ":catch" causes an error.
(Dominique Pelle)
Solution: Block error messages at this point.
v7.4.1282
2016-02-07 19:46:12 +01:00
Bram Moolenaar
ea8c219ca8
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.
v7.4.1281
2016-02-07 19:27:53 +01:00
Bram Moolenaar
eba6d8c66c
patch 7.4.1280
...
Problem: Missing case value.
Solution: Add VAR_JOB.
v7.4.1280
2016-02-07 19:25:51 +01:00
Bram Moolenaar
595e64e259
patch 7.4.1279
...
Problem: jsonencode() is not producing strict JSON.
Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode()
strict.
v7.4.1279
2016-02-07 19:19:53 +01:00
Bram Moolenaar
55fab439a6
patch 7.4.1278
...
Problem: When jsonencode() fails it still returns something.
Solution: Return an empty string on failure.
v7.4.1278
2016-02-07 16:53:13 +01:00
Bram Moolenaar
a6f72ba7c6
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.
v7.4.1277
2016-02-07 15:57:00 +01:00
Bram Moolenaar
fbc4b4db3a
patch 7.4.1276
...
Problem: Warning for not using return value of fcntl().
Solution: Explicitly ignore the return value.
v7.4.1276
2016-02-07 15:14:01 +01:00
Bram Moolenaar
cb4b01230b
patch 7.4.1275
...
Problem: Build fails on MS-Windows.
Solution: Fix wrong #ifdef.
v7.4.1275
2016-02-07 14:53:21 +01:00
Bram Moolenaar
835dc636a5
patch 7.4.1274
...
Problem: Cannot run a job.
Solution: Add job_start(), job_status() and job_stop(). Currently only works
for Unix.
v7.4.1274
2016-02-07 14:27:38 +01:00
Bram Moolenaar
c5f98ee987
patch 7.4.1273
...
Problem: assert_false(v:false) still fails.
Solution: Fix the typo.
v7.4.1273
2016-02-07 00:00:35 +01:00
Bram Moolenaar
1701481c53
patch 7.4.1272
...
Problem: Using future enum value.
Solution: Remove it.
v7.4.1272
2016-02-06 20:32:25 +01:00
Bram Moolenaar
3712792637
patch 7.4.1271
...
Problem: assert_false(v:false) reports an error. (Nikolai Pavlov)
Solution: Recognize v:true and v:false. (Closes #625 )
v7.4.1271
2016-02-06 20:29:28 +01:00
Bram Moolenaar
81e7a9c3fb
patch 7.4.1270
...
Problem: Warnings for missing values in switch.
Solution: Change switch to if-else or add values.
v7.4.1270
2016-02-06 19:57:20 +01:00
Bram Moolenaar
4f8b8faec3
patch 7.4.1269
...
Problem: Encoding {'key':} to JSON doesn't give an error (Tyru)
Solution: Give an error.
v7.4.1269
2016-02-06 18:42:07 +01:00
Bram Moolenaar
26dfc41335
patch 7.4.1268
...
Problem: Waittime is used as seconds instead of milliseconds. (Hirohito
Higashi)
Solution: Divide by 1000.
v7.4.1268
2016-02-06 18:18:54 +01:00
Bram Moolenaar
a03f233515
patch 7.4.1267
...
Problem: Easy to miss handling all types of variables.
Solution: Change the variable type into an enum.
v7.4.1267
2016-02-06 18:09:59 +01:00
Bram Moolenaar
ab9fc7e0cf
patch 7.4.1266
...
Problem: A BufAdd autocommand may cause an ml_get error (Christian
Brabandt)
Solution: Increment RedrawingDisabled earlier.
v7.4.1266
2016-02-06 15:29:40 +01:00
Bram Moolenaar
f416086f26
patch 7.4.1265
...
Problem: Not all channel commands are tested.
Solution: Add a test for "normal", "expr" and "redraw".
v7.4.1265
2016-02-05 23:09:12 +01:00
Bram Moolenaar
6076fe1986
patch 7.4.1264
...
Problem: Crash when receiving an empty array.
Solution: Check for array with wrong number of arguments. (Damien)
v7.4.1264
2016-02-05 22:49:56 +01:00
Bram Moolenaar
4d919d748e
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)
v7.4.1263
2016-02-05 22:36:41 +01:00
Bram Moolenaar
a07fec9c85
patch 7.4.1262
...
Problem: The channel callback is not invoked.
Solution: Make a list of pending callbacks.
v7.4.1262
2016-02-05 21:04:08 +01:00
Bram Moolenaar
4b6a6dcbe7
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.
v7.4.1261
2016-02-04 22:49:49 +01:00
Bram Moolenaar
a8343c1808
patch 7.4.1260
...
Problem: The channel feature doesn't work on Win32 GUI.
Solution: Use WSAGetLastError(). (Ken Takata)
v7.4.1260
2016-02-04 22:09:48 +01:00
Bram Moolenaar
3fc3e14282
patch 7.4.1259
...
Problem: No test for what patch 7.3.414 fixed.
Solution: Add a test. (Elias Diem)
v7.4.1259
2016-02-04 21:53:33 +01:00
Bram Moolenaar
a02b321686
patch 7.4.1258
...
Problem: The channel test can fail if messages arrive later.
Solution: Add a short sleep. (Jun T.)
v7.4.1258
2016-02-04 21:03:33 +01:00
Bram Moolenaar
681baaf4a4
Update runtime files.
2016-02-04 20:57:07 +01:00
Bram Moolenaar
e24692573a
patch 7.4.1257
...
Problem: Channel test fails in some configurations.
Solution: Add check for the +channel feature.
v7.4.1257
2016-02-04 10:54:34 +01:00
Bram Moolenaar
b3e2f00f39
patch 7.4.1256
...
Problem: On Mac sys.exit(0) doesn't kill the test server.
Solution: Use self.server.shutdown(). (Jun Takimoto)
v7.4.1256
2016-02-04 00:11:37 +01:00
Bram Moolenaar
66624ff0d9
patch 7.4.1255
...
Problem: Crash for channel "eval" command without third argument.
Solution: Check for missing argument.
v7.4.1255
2016-02-03 23:59:43 +01:00
Bram Moolenaar
3b05b135e3
patch 7.4.1254
...
Problem: Opening a second channel causes a crash. (Ken Takata)
Solution: Don't re-allocate the array with channels.
v7.4.1254
2016-02-03 23:25:07 +01:00
Bram Moolenaar
608a8919ca
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".
v7.4.1253
2016-02-03 22:39:51 +01:00
Bram Moolenaar
e7bed627c8
patch 7.4.1252
...
Problem: The channel test server may receive two messages concatenated.
Solution: Split the messages.
v7.4.1252
2016-02-03 22:20:29 +01:00
Bram Moolenaar
bf087cead9
patch 7.4.1251
...
Problem: New test file missing from distribution.
Solution: Add src/testdir/*.py.
v7.4.1251
2016-02-03 21:56:42 +01:00
Bram Moolenaar
2212c4154c
patch 7.4.1250
...
Problem: Running tests in shadow directory fails.
Solution: Also link testdir/*.py
v7.4.1250
2016-02-03 21:45:27 +01:00
Bram Moolenaar
fcb1e3d168
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().
v7.4.1249
2016-02-03 21:32:46 +01:00
Bram Moolenaar
f92591f7f9
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.
v7.4.1248
2016-02-03 20:22:32 +01:00
Bram Moolenaar
a0f9cd148e
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)
v7.4.1247
2016-02-03 20:13:24 +01:00
Bram Moolenaar
7c764f7bbf
Make the python script executable.
2016-02-02 23:33:43 +01:00
Bram Moolenaar
d7ece1008e
patch 7.4.1246
...
Problem: The channel functionality isn't tested.
Solution: Add a test using a Python test server.
v7.4.1246
2016-02-02 23:23:02 +01:00
Bram Moolenaar
d087566a41
patch 7.4.1245
...
Problem: File missing from distribution.
Solution: Add json_test.c.
v7.4.1245
2016-02-02 20:52:42 +01:00
Bram Moolenaar
f57969a20a
patch 7.4.1244
...
Problem: The channel functions don't sort together.
Solution: Use a common "ch_" prefix.
v7.4.1244
2016-02-02 20:47:49 +01:00
Bram Moolenaar
fbf9c6b6c3
patch 7.4.1243
...
Problem: Compiler warning for uninitialized variable.
Solution: Initialize it. (Elias Diem)
v7.4.1243
2016-02-02 19:43:57 +01:00
Bram Moolenaar
8d8c509ac8
patch 7.4.1242
...
Problem: json_test fails without the eval feature.
Solution: Add #ifdef.
v7.4.1242
2016-02-02 19:15:38 +01:00