Commit Graph

  • a971df849f patch 7.4.1323 Problem: Do not get warnings when building with MingW. Solution: Remove the -w flag. (Ken Takata) Bram Moolenaar 2016-02-15 21:22:10 +01:00
  • 3bece9fee9 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 2016-02-15 20:39:46 +01:00
  • 71b0f7b5c0 patch 7.4.1321 Problem: Compiler complains about missing statement. Solution: Add an empty statement. (Andrei Olsen) Bram Moolenaar 2016-02-15 12:44:20 +01:00
  • 27f20f6d9f Sync MacVim channel code with Vim Kazuki Sakamoto 2016-02-14 21:35:16 -08:00
  • f3f4ec59c6 Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-14 21:30:43 -08:00
  • 44d571868f 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 2016-02-14 23:11:23 +01:00
  • 16eb4f8800 patch 7.4.1319 Problem: Tests fail on MS-Windows and on Unix with GUI. Solution: Fix unregistering. Bram Moolenaar 2016-02-14 23:02:34 +01:00
  • 7b3ca76a45 patch 7.4.1318 Problem: Channel with pipes doesn't work in GUI. Solution: Register input handlers for pipes. Bram Moolenaar 2016-02-14 19:13:43 +01:00
  • a3be996751 Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-13 22:11:24 -08:00
  • 0727d362b4 patch 7.4.1317 Problem: MS-Windows: channel test fails. Solution: Temporarily disable Test_connect_waittime(). Bram Moolenaar 2016-02-14 00:19:59 +01:00
  • fa4bce7dd2 patch 7.4.1316 Problem: Can't build MS-Windows console version. (Tux) Solution: Add #ifdefs. Bram Moolenaar 2016-02-13 23:50:08 +01:00
  • 7707344dde 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 2016-02-13 23:23:53 +01:00
  • 5202a07b33 Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-13 10:01:02 -08:00
  • bd7d4b4288 Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-13 10:00:46 -08:00
  • e516c39ee9 patch 7.4.1314 Problem: Warning for uninitialzed variable. Solution: Initialize it. (Dominique Pelle) Bram Moolenaar 2016-02-13 18:50:38 +01:00
  • bfa1ffca8b 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 2016-02-13 18:40:30 +01:00
  • f8b7d890f1 patch 7.4.1312 Problem: sock_T is not defined without the +channel feature. Solution: Always define it. Bram Moolenaar 2016-02-13 17:24:26 +01:00
  • d090d7bab5 patch 7.4.1311 Problem: sock_T is defined too late. Solution: Move it up. Bram Moolenaar 2016-02-13 17:09:53 +01:00
  • 6463ca229c 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 2016-02-13 17:04:46 +01:00
  • 00af60bbb6 patch 7.4.1309 Problem: When a test fails not all relevant info is listed. Solution: Add the errors to the messages. Bram Moolenaar 2016-02-13 14:06:14 +01:00
  • 9d68c827c3 Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-12 21:10:25 -08:00
  • 45c7f05473 patch 7.4.1308 Problem: Typo in test. Solution: Change endf to endif. Bram Moolenaar 2016-02-12 22:35:51 +01:00
  • f02c5cffd8 patch 7.4.1307 Problem: Some channel tests fail on MS-Windows. Solution: Disable the failing tests temporarily. Bram Moolenaar 2016-02-12 22:25:56 +01:00
  • 76467dfcaf 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 2016-02-12 19:30:26 +01:00
  • 7c29f38781 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 2016-02-12 19:08:15 +01:00
  • 8d6721a6ca Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-11 19:38:26 -08:00
  • 7823a3bd2e 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 2016-02-11 21:08:32 +01:00
  • b6a4fee37e patch 7.4.1303 Problem: A Funcref is not accepted as a callback. Solution: Make a Funcref work. (Damien) Bram Moolenaar 2016-02-11 20:48:34 +01:00
  • 6119e6156e patch 7.4.1302 Problem: Typo in struct field name. (Ken Takata) Solution: Rename jf_pi to jv_pi. Bram Moolenaar 2016-02-11 12:48:36 +01:00
  • 0d23826c84 Merge pull request #240 from macvim-dev/fix/sparkle Kazuki Sakamoto 2016-02-10 21:34:53 -08:00
  • 1f56bfdee4 Sparkle-1.13.1 Kazuki Sakamoto 2016-02-10 19:54:39 -08:00
  • 9b472f4242 Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-10 19:48:25 -08:00
  • 39b21272d5 patch 7.4.1301 Problem: Missing options in ch_open(). Solution: Add s:chopt like in the other calls. (Ozaki Kiichi) Bram Moolenaar 2016-02-10 23:28:21 +01:00
  • 2ab375e54e patch 7.4.1300 Problem: Cannot test CursorMovedI because there is typeahead. Solution: Add disable_char_avail_for_testing(). Bram Moolenaar 2016-02-10 22:23:06 +01:00
  • f6157284de 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 2016-02-10 21:07:14 +01:00
  • d6a8d48587 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 2016-02-10 20:32:20 +01:00
  • 1227fce354 Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-09 20:42:01 -08:00
  • a483326e3b 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 2016-02-09 23:33:25 +01:00
  • f068dcafcf 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 2016-02-09 21:24:46 +01:00
  • 4d8747cdfc patch 7.4.1295 Problem: string(job) doesn't work well on MS-Windows. Solution: Use the process ID. (Yasuhiro Matsumoto) Bram Moolenaar 2016-02-09 20:39:26 +01:00
  • 7280140c08 patch 7.4.1294 Problem: job_stop() only kills the started process. Solution: Send the signal to the process group. (Olaf Dabrunz) Bram Moolenaar 2016-02-09 11:37:50 +01:00
  • 374f09f533 Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-08 20:50:27 -08:00
  • e56bf15c16 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 2016-02-08 23:23:42 +01:00
  • 2fc83fcd1d 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 2016-02-08 22:57:24 +01:00
  • b92abad0c5 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 2016-02-08 22:37:24 +01:00
  • b5e634ea67 Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-07 20:25:31 -08:00
  • cbebd4879c Updated runtime files. Bram Moolenaar 2016-02-07 23:02:56 +01:00
  • ee5aeae22b patch 7.4.1290 Problem: Coverity complains about uneccessary check for NULL. Solution: Remove the check. Bram Moolenaar 2016-02-07 22:30:47 +01:00
  • 0fa98e7b85 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 2016-02-07 22:21:19 +01:00
  • 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. Bram Moolenaar 2016-02-07 21:59:26 +01:00
  • 74f5e65bcc patch 7.4.1287 Problem: Channel test fails. Solution: Use reltimefloat(). Bram Moolenaar 2016-02-07 21:44:49 +01:00
  • 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. Bram Moolenaar 2016-02-07 21:29:00 +01:00
  • cb00f03933 Add missing test file. Bram Moolenaar 2016-02-07 21:25:56 +01:00
  • 79c2c881bb patch 7.4.1285 Problem: Cannot measure elapsed time. Solution: Add reltimefloat(). Bram Moolenaar 2016-02-07 21:19:28 +01:00
  • dc94a26a64 patch 7.4.1284 Problem: Test 49 fails. Solution: Check for a different error message. Bram Moolenaar 2016-02-07 20:29:00 +01:00
  • 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) Bram Moolenaar 2016-02-07 19:57:16 +01:00
  • 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. Bram Moolenaar 2016-02-07 19:46:12 +01:00
  • 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. Bram Moolenaar 2016-02-07 19:27:53 +01:00
  • eba6d8c66c patch 7.4.1280 Problem: Missing case value. Solution: Add VAR_JOB. Bram Moolenaar 2016-02-07 19:25:51 +01:00
  • 595e64e259 patch 7.4.1279 Problem: jsonencode() is not producing strict JSON. Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode() strict. Bram Moolenaar 2016-02-07 19:19:53 +01:00
  • 5b41cd52dd Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-07 09:35:30 -08:00
  • 55fab439a6 patch 7.4.1278 Problem: When jsonencode() fails it still returns something. Solution: Return an empty string on failure. Bram Moolenaar 2016-02-07 16:53:13 +01:00
  • 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. Bram Moolenaar 2016-02-07 15:57:00 +01:00
  • fbc4b4db3a patch 7.4.1276 Problem: Warning for not using return value of fcntl(). Solution: Explicitly ignore the return value. Bram Moolenaar 2016-02-07 15:14:01 +01:00
  • cb4b01230b patch 7.4.1275 Problem: Build fails on MS-Windows. Solution: Fix wrong #ifdef. Bram Moolenaar 2016-02-07 14:53:21 +01:00
  • 835dc636a5 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 2016-02-07 14:27:38 +01:00
  • 7cd3390065 Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-06 20:51:41 -08:00
  • c5f98ee987 patch 7.4.1273 Problem: assert_false(v:false) still fails. Solution: Fix the typo. Bram Moolenaar 2016-02-07 00:00:35 +01:00
  • 1701481c53 patch 7.4.1272 Problem: Using future enum value. Solution: Remove it. Bram Moolenaar 2016-02-06 20:32:25 +01:00
  • 3712792637 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 2016-02-06 20:29:28 +01:00
  • 81e7a9c3fb patch 7.4.1270 Problem: Warnings for missing values in switch. Solution: Change switch to if-else or add values. Bram Moolenaar 2016-02-06 19:57:20 +01:00
  • 4f8b8faec3 patch 7.4.1269 Problem: Encoding {'key':} to JSON doesn't give an error (Tyru) Solution: Give an error. Bram Moolenaar 2016-02-06 18:42:07 +01:00
  • 26dfc41335 patch 7.4.1268 Problem: Waittime is used as seconds instead of milliseconds. (Hirohito Higashi) Solution: Divide by 1000. Bram Moolenaar 2016-02-06 18:18:54 +01:00
  • a03f233515 patch 7.4.1267 Problem: Easy to miss handling all types of variables. Solution: Change the variable type into an enum. Bram Moolenaar 2016-02-06 18:09:59 +01:00
  • ab9fc7e0cf patch 7.4.1266 Problem: A BufAdd autocommand may cause an ml_get error (Christian Brabandt) Solution: Increment RedrawingDisabled earlier. Bram Moolenaar 2016-02-06 15:29:40 +01:00
  • ea1103f323 snapshot-96 Kazuki Sakamoto 2016-02-05 21:52:04 -08:00
  • 7a04d45bec MacVim Snapshot 96 snapshot-96 Kazuki Sakamoto 2016-02-05 21:33:13 -08:00
  • c0e65e6559 Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-05 20:52:59 -08:00
  • f416086f26 patch 7.4.1265 Problem: Not all channel commands are tested. Solution: Add a test for "normal", "expr" and "redraw". Bram Moolenaar 2016-02-05 23:09:12 +01:00
  • 6076fe1986 patch 7.4.1264 Problem: Crash when receiving an empty array. Solution: Check for array with wrong number of arguments. (Damien) Bram Moolenaar 2016-02-05 22:49:56 +01:00
  • 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) Bram Moolenaar 2016-02-05 22:36:41 +01:00
  • a07fec9c85 patch 7.4.1262 Problem: The channel callback is not invoked. Solution: Make a list of pending callbacks. Bram Moolenaar 2016-02-05 21:04:08 +01:00
  • 36739b0d22 Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-04 19:04:00 -08:00
  • 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. Bram Moolenaar 2016-02-04 22:49:49 +01:00
  • a8343c1808 patch 7.4.1260 Problem: The channel feature doesn't work on Win32 GUI. Solution: Use WSAGetLastError(). (Ken Takata) Bram Moolenaar 2016-02-04 22:09:48 +01:00
  • 3fc3e14282 patch 7.4.1259 Problem: No test for what patch 7.3.414 fixed. Solution: Add a test. (Elias Diem) Bram Moolenaar 2016-02-04 21:53:33 +01:00
  • a02b321686 patch 7.4.1258 Problem: The channel test can fail if messages arrive later. Solution: Add a short sleep. (Jun T.) Bram Moolenaar 2016-02-04 21:03:33 +01:00
  • 681baaf4a4 Update runtime files. Bram Moolenaar 2016-02-04 20:57:07 +01:00
  • e24692573a patch 7.4.1257 Problem: Channel test fails in some configurations. Solution: Add check for the +channel feature. Bram Moolenaar 2016-02-04 10:54:34 +01:00
  • 9fab7f8d8d Merge remote-tracking branch 'vim/master' Kazuki Sakamoto 2016-02-03 19:16:19 -08:00
  • b3e2f00f39 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 2016-02-04 00:11:37 +01:00
  • 66624ff0d9 patch 7.4.1255 Problem: Crash for channel "eval" command without third argument. Solution: Check for missing argument. Bram Moolenaar 2016-02-03 23:59:43 +01:00
  • 3b05b135e3 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 2016-02-03 23:25:07 +01:00
  • 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". Bram Moolenaar 2016-02-03 22:39:51 +01:00
  • e7bed627c8 patch 7.4.1252 Problem: The channel test server may receive two messages concatenated. Solution: Split the messages. Bram Moolenaar 2016-02-03 22:20:29 +01:00
  • bf087cead9 patch 7.4.1251 Problem: New test file missing from distribution. Solution: Add src/testdir/*.py. Bram Moolenaar 2016-02-03 21:56:42 +01:00
  • 2212c4154c patch 7.4.1250 Problem: Running tests in shadow directory fails. Solution: Also link testdir/*.py Bram Moolenaar 2016-02-03 21:45:27 +01:00
  • 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(). Bram Moolenaar 2016-02-03 21:32:46 +01:00
  • 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. Bram Moolenaar 2016-02-03 20:22:32 +01:00
  • 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) Bram Moolenaar 2016-02-03 20:13:24 +01:00