summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* patch 7.4.1293v7.4.1293Bram Moolenaar2016-02-082-8/+20
| | | | | | 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.
* patch 7.4.1292v7.4.1292Bram Moolenaar2016-02-082-3/+5
| | | | | | Problem: Some compilers complain about uninitialzed variable, even though all possible cases are handled. (Dominique Pelle) Solution: Add a default initialization.
* patch 7.4.1291v7.4.1291Bram Moolenaar2016-02-082-1/+3
| | | | | Problem: On MS-Windows the channel test server doesn't quit. Solution: Use return instead of break. (Ken Takata)
* Updated runtime files.Bram Moolenaar2016-02-076-53/+94
|
* patch 7.4.1290v7.4.1290Bram Moolenaar2016-02-072-2/+3
| | | | | Problem: Coverity complains about uneccessary check for NULL. Solution: Remove the check.
* patch 7.4.1289v7.4.1289Bram Moolenaar2016-02-073-3/+6
| | | | | Problem: Channel test fails on MS-Windows, connect() takes too long. Solution: Adjust the test for MS-Windows using "waittime".
* patch 7.4.1288v7.4.1288Bram Moolenaar2016-02-074-1/+36
| | | | | | 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.
* patch 7.4.1287v7.4.1287Bram Moolenaar2016-02-072-2/+4
| | | | | Problem: Channel test fails. Solution: Use reltimefloat().
* patch 7.4.1286v7.4.1286Bram Moolenaar2016-02-073-9/+34
| | | | | | 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.
* Add missing test file.Bram Moolenaar2016-02-071-0/+27
|
* patch 7.4.1285v7.4.1285Bram Moolenaar2016-02-075-0/+46
| | | | | Problem: Cannot measure elapsed time. Solution: Add reltimefloat().
* patch 7.4.1284v7.4.1284Bram Moolenaar2016-02-072-3/+4
| | | | | Problem: Test 49 fails. Solution: Check for a different error message.
* patch 7.4.1283v7.4.1283Bram Moolenaar2016-02-075-5/+63
| | | | | | Problem: The job feature isn't available on MS-Windows. Solution: Add the job feature. Fix argument of job_stop(). (Yasuhiro Matsumoto)
* patch 7.4.1282v7.4.1282Bram Moolenaar2016-02-072-0/+6
| | | | | | Problem: Crash when evaluating the pattern of ":catch" causes an error. (Dominique Pelle) Solution: Block error messages at this point.
* patch 7.4.1281v7.4.1281Bram Moolenaar2016-02-072-0/+26
| | | | | Problem: No test for skipping over code that isn't evaluated. Solution: Add a test with code that would fail when not skipped.
* patch 7.4.1280v7.4.1280Bram Moolenaar2016-02-073-0/+4
| | | | | Problem: Missing case value. Solution: Add VAR_JOB.
* patch 7.4.1279v7.4.1279Bram Moolenaar2016-02-0712-138/+379
| | | | | | Problem: jsonencode() is not producing strict JSON. Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode() strict.
* patch 7.4.1278v7.4.1278Bram Moolenaar2016-02-076-12/+47
| | | | | Problem: When jsonencode() fails it still returns something. Solution: Return an empty string on failure.
* patch 7.4.1277v7.4.1277Bram Moolenaar2016-02-072-6/+2
| | | | | | Problem: Compiler can complain about missing enum value in switch with some combination of features. Solution: Remove #ifdefs around case statements.
* patch 7.4.1276v7.4.1276Bram Moolenaar2016-02-075-4/+9
| | | | | Problem: Warning for not using return value of fcntl(). Solution: Explicitly ignore the return value.
* patch 7.4.1275v7.4.1275Bram Moolenaar2016-02-072-2/+4
| | | | | Problem: Build fails on MS-Windows. Solution: Fix wrong #ifdef.
* patch 7.4.1274v7.4.1274Bram Moolenaar2016-02-079-103/+610
| | | | | | Problem: Cannot run a job. Solution: Add job_start(), job_status() and job_stop(). Currently only works for Unix.
* patch 7.4.1273v7.4.1273Bram Moolenaar2016-02-072-1/+3
| | | | | Problem: assert_false(v:false) still fails. Solution: Fix the typo.
* patch 7.4.1272v7.4.1272Bram Moolenaar2016-02-063-2/+2
| | | | | Problem: Using future enum value. Solution: Remove it.
* patch 7.4.1271v7.4.1271Bram Moolenaar2016-02-063-0/+7
| | | | | Problem: assert_false(v:false) reports an error. (Nikolai Pavlov) Solution: Recognize v:true and v:false. (Closes #625)
* patch 7.4.1270v7.4.1270Bram Moolenaar2016-02-064-5/+18
| | | | | Problem: Warnings for missing values in switch. Solution: Change switch to if-else or add values.
* patch 7.4.1269v7.4.1269Bram Moolenaar2016-02-063-7/+14
| | | | | Problem: Encoding {'key':} to JSON doesn't give an error (Tyru) Solution: Give an error.
* patch 7.4.1268v7.4.1268Bram Moolenaar2016-02-062-2/+4
| | | | | | Problem: Waittime is used as seconds instead of milliseconds. (Hirohito Higashi) Solution: Divide by 1000.
* patch 7.4.1267v7.4.1267Bram Moolenaar2016-02-063-104/+137
| | | | | Problem: Easy to miss handling all types of variables. Solution: Change the variable type into an enum.
* patch 7.4.1266v7.4.1266Bram Moolenaar2016-02-062-3/+11
| | | | | | Problem: A BufAdd autocommand may cause an ml_get error (Christian Brabandt) Solution: Increment RedrawingDisabled earlier.
* patch 7.4.1265v7.4.1265Bram Moolenaar2016-02-053-0/+41
| | | | | Problem: Not all channel commands are tested. Solution: Add a test for "normal", "expr" and "redraw".
* patch 7.4.1264v7.4.1264Bram Moolenaar2016-02-054-23/+17
| | | | | Problem: Crash when receiving an empty array. Solution: Check for array with wrong number of arguments. (Damien)
* patch 7.4.1263v7.4.1263Bram Moolenaar2016-02-059-114/+287
| | | | | Problem: ch_open() hangs when the server isn't running. Solution: Add a timeout. Use a dict to pass arguments. (Yasuhiro Matsumoto)
* patch 7.4.1262v7.4.1262Bram Moolenaar2016-02-055-26/+88
| | | | | Problem: The channel callback is not invoked. Solution: Make a list of pending callbacks.
* patch 7.4.1261v7.4.1261Bram Moolenaar2016-02-045-4/+34
| | | | | | | 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.
* patch 7.4.1260v7.4.1260Bram Moolenaar2016-02-044-4/+17
| | | | | Problem: The channel feature doesn't work on Win32 GUI. Solution: Use WSAGetLastError(). (Ken Takata)
* patch 7.4.1259v7.4.1259Bram Moolenaar2016-02-042-0/+21
| | | | | Problem: No test for what patch 7.3.414 fixed. Solution: Add a test. (Elias Diem)
* patch 7.4.1258v7.4.1258Bram Moolenaar2016-02-042-0/+5
| | | | | Problem: The channel test can fail if messages arrive later. Solution: Add a short sleep. (Jun T.)
* Update runtime files.Bram Moolenaar2016-02-049-70/+109
|
* patch 7.4.1257v7.4.1257Bram Moolenaar2016-02-042-1/+7
| | | | | Problem: Channel test fails in some configurations. Solution: Add check for the +channel feature.
* patch 7.4.1256v7.4.1256Bram Moolenaar2016-02-042-4/+7
| | | | | Problem: On Mac sys.exit(0) doesn't kill the test server. Solution: Use self.server.shutdown(). (Jun Takimoto)
* patch 7.4.1255v7.4.1255Bram Moolenaar2016-02-034-4/+16
| | | | | Problem: Crash for channel "eval" command without third argument. Solution: Check for missing argument.
* patch 7.4.1254v7.4.1254Bram Moolenaar2016-02-034-21/+40
| | | | | Problem: Opening a second channel causes a crash. (Ken Takata) Solution: Don't re-allocate the array with channels.
* patch 7.4.1253v7.4.1253Bram Moolenaar2016-02-033-12/+16
| | | | | | 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".
* patch 7.4.1252v7.4.1252Bram Moolenaar2016-02-032-49/+64
| | | | | Problem: The channel test server may receive two messages concatenated. Solution: Split the messages.
* patch 7.4.1251v7.4.1251Bram Moolenaar2016-02-032-0/+3
| | | | | Problem: New test file missing from distribution. Solution: Add src/testdir/*.py.
* patch 7.4.1250v7.4.1250Bram Moolenaar2016-02-032-0/+4
| | | | | Problem: Running tests in shadow directory fails. Solution: Also link testdir/*.py
* patch 7.4.1249v7.4.1249Bram Moolenaar2016-02-034-19/+76
| | | | | | 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().
* patch 7.4.1248v7.4.1248Bram Moolenaar2016-02-033-3/+6
| | | | | | | 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.
* patch 7.4.1247v7.4.1247Bram Moolenaar2016-02-033-11/+33
| | | | | Problem: The channel test doesn't run on MS-Windows. Solution: Make it work on the MS-Windows console. (Ken Takata)