Bram Moolenaar
132006c3d0
patch 7.4.1357
...
Problem: Error for returning value from void function.
Solution: Don't do that.
2016-02-19 22:38:15 +01:00
Bram Moolenaar
40ea1da14b
patch 7.4.1356
...
Problem: Job and channel options parsing is scattered.
Solution: Move all option value parsing to get_job_options();
2016-02-19 22:33:35 +01:00
Bram Moolenaar
ed5a78e11c
patch 7.4.1355
...
Problem: Win32 console and GUI handle channels differently.
Solution: Consolidate code between Win32 console and GUI.
2016-02-19 21:05:03 +01:00
Bram Moolenaar
81661fb868
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().
2016-02-18 22:23:34 +01:00
Bram Moolenaar
a1e24b9bc9
patch 7.4.1346
...
Problem: Compiler warnings in build with -O2.
Solution: Add inintializations.
2016-02-18 20:18:09 +01:00
Bram Moolenaar
cd39bbcd1d
patch 7.4.1343
...
Problem: Can't compile with +job but without +channel. (Andrei Olsen)
Solution: Move get_job_options up and adjust #ifdef.
2016-02-17 10:05:42 +01:00
Bram Moolenaar
e74e8e7d75
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.
2016-02-16 22:01:30 +01:00
Bram Moolenaar
910b8aac5d
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.
2016-02-16 21:03:07 +01:00
Bram Moolenaar
ba093bc000
patch 7.4.1337
...
Problem: Part of the change is missing.
Solution: Add changes to eval.c
2016-02-16 19:37:29 +01:00
Bram Moolenaar
6aa2cd4be2
patch 7.4.1334
...
Problem: Many compiler warnings with MingW.
Solution: Add type casts. (Yasuhiro Matsumoto)
2016-02-16 15:06:59 +01:00
Bram Moolenaar
f8df7addc5
patch 7.4.1333
...
Problem: Channel test fails on non-darwin builds.
Solution: Add the "osx" feature and test for that. (Kazunobu Kuriyama)
2016-02-16 14:07:40 +01:00
Bram Moolenaar
5cefd40982
patch 7.4.1329
...
Problem: Crash when using channel that failed to open.
Solution: Check for NULL. Update messages. (Yukihiro Nakadaira)
2016-02-16 12:44:26 +01:00
Bram Moolenaar
2368917d8f
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.
2016-02-15 22:37:37 +01:00
Bram Moolenaar
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.
2016-02-15 20:39:46 +01:00
Bram Moolenaar
7b3ca76a45
patch 7.4.1318
...
Problem: Channel with pipes doesn't work in GUI.
Solution: Register input handlers for pipes.
2016-02-14 19:13:43 +01:00
Bram Moolenaar
fa4bce7dd2
patch 7.4.1316
...
Problem: Can't build MS-Windows console version. (Tux)
Solution: Add #ifdefs.
2016-02-13 23:50:08 +01:00
Bram Moolenaar
7707344dde
patch 7.4.1315
...
Problem: Using a channel handle does not allow for freeing it when unused.
Solution: Add the Channel variable type.
2016-02-13 23:23:53 +01:00
Bram Moolenaar
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.
2016-02-13 17:04:46 +01:00
Bram Moolenaar
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)
2016-02-12 19:30:26 +01:00
Bram Moolenaar
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.
2016-02-11 21:08:32 +01:00
Bram Moolenaar
b6a4fee37e
patch 7.4.1303
...
Problem: A Funcref is not accepted as a callback.
Solution: Make a Funcref work. (Damien)
2016-02-11 20:48:34 +01:00
Bram Moolenaar
6119e6156e
patch 7.4.1302
...
Problem: Typo in struct field name. (Ken Takata)
Solution: Rename jf_pi to jv_pi.
2016-02-11 12:48:36 +01:00
Bram Moolenaar
2ab375e54e
patch 7.4.1300
...
Problem: Cannot test CursorMovedI because there is typeahead.
Solution: Add disable_char_avail_for_testing().
2016-02-10 22:23:06 +01:00
Bram Moolenaar
4d8747cdfc
patch 7.4.1295
...
Problem: string(job) doesn't work well on MS-Windows.
Solution: Use the process ID. (Yasuhiro Matsumoto)
2016-02-09 20:39:26 +01:00
Bram Moolenaar
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.
2016-02-08 22:57:24 +01:00
Bram Moolenaar
ee5aeae22b
patch 7.4.1290
...
Problem: Coverity complains about uneccessary check for NULL.
Solution: Remove the check.
2016-02-07 22:30:47 +01:00
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.
2016-02-07 21:59:26 +01:00
Bram Moolenaar
79c2c881bb
patch 7.4.1285
...
Problem: Cannot measure elapsed time.
Solution: Add reltimefloat().
2016-02-07 21:19:28 +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)
2016-02-07 19:57:16 +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.
2016-02-07 19:19:53 +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.
2016-02-07 15:57:00 +01:00
Bram Moolenaar
cb4b01230b
patch 7.4.1275
...
Problem: Build fails on MS-Windows.
Solution: Fix wrong #ifdef.
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.
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.
2016-02-07 00:00:35 +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 )
2016-02-06 20:29:28 +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.
2016-02-06 18:09:59 +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)
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)
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.
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.
2016-02-04 22:49:49 +01:00
Bram Moolenaar
f57969a20a
patch 7.4.1244
...
Problem: The channel functions don't sort together.
Solution: Use a common "ch_" prefix.
2016-02-02 20:47:49 +01:00
Bram Moolenaar
56ead341a7
patch 7.4.1238
...
Problem: Can't handle two messages right after each other.
Solution: Find the end of the JSON. Read more when incomplete. Add a C
test for the JSON decoding.
2016-02-02 18:20:08 +01:00
Bram Moolenaar
11e0afa00a
patch 7.4.1235
...
Problem: Missing change to eval.c.
Solution: Include that change.
2016-02-01 22:41:00 +01:00
Bram Moolenaar
fb1f62691e
patch 7.4.1229
...
Problem: "eval" and "expr" channel commands don't work yet.
Solution: Implement them. Update the error numbers. Also add "redraw".
2016-01-31 20:24:32 +01:00
Bram Moolenaar
155500077c
patch 7.4.1228
...
Problem: copy() and deepcopy() fail with special variables. (Nikolai
Pavlov)
Solution: Make it work. Add a test. Closes #614 .
2016-01-31 18:45:24 +01:00
Bram Moolenaar
d14e00ea67
patch 7.4.1225
...
Problem: Still a few old style function declarations.
Solution: Make them new style. (Hirohito Higashi)
2016-01-31 17:30:51 +01:00
Bram Moolenaar
a542c680a8
patch 7.4.1223
...
Problem: Crash when setting v:errors to a number.
Solution: Free the typval without assuming its type. (Yasuhiro Matsumoto)
2016-01-31 16:28:04 +01:00
Bram Moolenaar
e2c3810c2a
patch 7.4.1222
...
Problem: ":normal" command and others missing in tiny build.
Solution: Graduate FEAT_EX_EXTRA.
2016-01-31 14:55:40 +01:00
Bram Moolenaar
20fb9f3464
patch 7.4.1217
...
Problem: Execution of command on channel doesn't work yet.
Solution: Implement the "ex" and "normal" commands.
2016-01-30 23:20:33 +01:00
Bram Moolenaar
ba4ef2757c
patch 7.4.1216
...
Problem: Still using HAVE_STDARG_H.
Solution: Assume it's always defined.
2016-01-30 21:48:49 +01:00