430 Commits

Author SHA1 Message Date
Alexey Melnichuk
03b4b9b4a5 Merge pull request #68 from moteus/master
Add. Module version info
2016-04-20 11:17:53 +03:00
Alexey Melnichuk
29f28ffe87 AppVeyor. Set correct lua_path. 2016-04-20 10:50:05 +03:00
Alexey Melnichuk
9d7fdac27c Add. Module version info 2016-04-20 10:31:06 +03:00
Alexey Melnichuk
3208536f83 Merge pull request #66 from moteus/setopt_stream_depends
Fix. cURL set stream depends options
2016-04-17 12:08:32 +03:00
Alexey Melnichuk
2cbac6eaf4 Update test 2016-04-17 10:20:58 +03:00
Alexey Melnichuk
d0dbfcd9d0 Do not use dummy option. 2016-04-17 10:12:12 +03:00
Alexey Melnichuk
d69a0447ad Fix. cURL set stream depends options 2016-04-17 10:04:07 +03:00
Alexey Melnichuk
fb8c79e89f Merge pull request #65 from moteus/error_string_category
Change. Use string value to represent error category.
2016-04-15 22:25:43 +03:00
Alexey Melnichuk
b5a69f87a9 Remove debug print 2016-04-15 16:34:16 +03:00
Alexey Melnichuk
c597521228 Change. Use string value to represent error category.
```Lua
err = curl.error(curl.ERROR_EASY, curl.E_OK)
-- err:category() == 'CURL-EASY'
-- tostring(err) == '[CURL-EASY][OK] No error (0)'
```
2016-04-15 16:19:57 +03:00
Alexey Melnichuk
cda31a383a Merge pull request #64 from moteus/curl_7_48
Add. Support cURL 7.48.0
2016-04-15 15:30:05 +03:00
Alexey Melnichuk
30b9cb2420 Add. Support cURL 7.48.0 2016-04-15 15:09:11 +03:00
Alexey Melnichuk
3055e1dce5 Merge pull request #63 from moteus/master
Fix. call all callback from coroutine where `perform` was called.
2016-04-11 20:20:14 +03:00
Alexey Melnichuk
f282bc3fe7 Fix. static assert. now only magic field should match 2016-04-08 13:12:19 +03:00
Alexey Melnichuk
d2d771fc43 Fix. do not use forward declaration to support gcc 4.4.7 2016-04-08 12:40:32 +03:00
Alexey Melnichuk
a0a0cac631 Use hererocks on Travis. 2016-04-07 17:21:29 +03:00
Alexey Melnichuk
a038558b44 Fix. call all callback from coroutine where perform was called. 2016-04-07 16:59:50 +03:00
Alexey Melnichuk
f42a0e48b1 Prepare release and bump version numbers to 0.3.2 2015-06-15 12:52:12 +04:00
Alexey Melnichuk
d3a4dd9bdd Merge pull request #60 from moteus/master
Add. Appveyor test building.
2015-06-15 12:00:48 +03:00
Alexey Melnichuk
7eeaeb3ce6 Fix. Skip pause test because it can behave differently on different OS/cURL version. 2015-06-15 11:46:00 +04:00
Alexey Melnichuk
578189668e Merge pull request #59 from moteus/master
Fix. Build with cURL 7.19.7 (Ubuntu 10.04LTS)
2015-06-15 10:30:47 +03:00
Alexey Melnichuk
c71bebbd31 Add. Appveyor test building. 2015-06-15 11:17:10 +04:00
Alexey Melnichuk
53fd80bd9b Fix. EOL in source [ci skip] 2015-06-15 10:29:17 +04:00
Alexey Melnichuk
d85529586b Fix. Build with cURL 7.19.7 (Ubuntu 10.04LTS) 2015-06-15 10:12:42 +04:00
Alexey Melnichuk
d300c18b07 Merge pull request #57 from ewmailing/master
Need string.h for memset
2015-06-07 22:11:18 +03:00
Eric Wing
56f838155b Need string.h for memset 2015-06-07 04:59:32 -07:00
Alexey Melnichuk
88c6102643 Merge pull request #56 from moteus/master
Fix export internal functions to global environment.
Close #56
2015-05-05 12:23:36 +03:00
Alexey Melnichuk
71bc4fef2a Update Travis files. 2015-05-05 12:23:43 +04:00
Alexey Melnichuk
21eb198ddb Fix. export internal functions to global environment. 2015-05-05 12:17:10 +04:00
Alexey Melnichuk
40695b4264 Merge pull request #53 from moteus/master
Prepare release and bump version numbers to 0.3.1
2015-01-19 10:14:26 +03:00
Alexey Melnichuk
cf79642cbb Prepare release and bump version numbers to 0.3.1 2015-01-19 10:13:27 +04:00
Alexey Melnichuk
8257ccd582 Merge pull request #52 from moteus/master
Update Travis files
2015-01-13 13:43:09 +03:00
Alexey Melnichuk
9be32a2942 Merge pull request #51 from moteus/master
Use release version of lunitx.
2015-01-13 13:10:23 +03:00
Alexey Melnichuk
2e0820aa50 Update Travis files 2015-01-13 13:43:51 +04:00
Alexey Melnichuk
3a6e655c50 Use release version of lunitx. 2015-01-05 13:41:28 +03:00
Alexey Melnichuk
13d21e5016 Merge pull request #49 from moteus/master
Update `uvwget` example [ci skip]
2014-12-26 14:04:26 +04:00
Alexey Melnichuk
17344cdcdd Update uvwget example [ci skip] 2014-12-26 13:07:10 +04:00
Alexey Melnichuk
2d54447a22 Merge pull request #48 from moteus/master
Update multi-uv example.
2014-12-23 14:22:09 +04:00
Alexey Melnichuk
d4bbd66a81 Update multi-uv example. 2014-12-23 13:17:26 +04:00
Alexey Melnichuk
b4a7579929 Update multi-uv example. 2014-12-22 16:11:33 +04:00
Alexey Melnichuk
9a7fd63bf4 Merge pull request #47 from moteus/master
Fix. cURL API may return lcurl raw handle
2014-12-22 15:37:02 +04:00
Alexey Melnichuk
1738369579 Fix. multi iterator in v2 and v3 API. 2014-12-22 14:29:18 +04:00
Alexey Melnichuk
010a54eb5a Update doc. 2014-12-22 14:18:49 +04:00
Alexey Melnichuk
273212fb93 Fix. socket callback get correct cURLv3 easy object. 2014-12-22 13:59:09 +04:00
Alexey Melnichuk
1747a3567d Merge pull request #46 from moteus/master
Support `socket_action` interface.
2014-12-22 13:27:23 +04:00
Alexey Melnichuk
0ba125dfc3 Fix. cURLv3 info_read return correct object. 2014-12-22 13:13:24 +04:00
Alexey Melnichuk
b90485619d Add. easy/multi handle support user values.
```Lua
  f = io.open(...)
  e = curl.easy():setdata(f)
  ...
  -- when easy done
  e:getdata():close()
```
2014-12-22 12:43:55 +04:00
Alexey Melnichuk
eb21f4f76f Fix. Cleanup socket callback. 2014-12-22 11:55:00 +04:00
Alexey Melnichuk
8676dc07da Update doc. 2014-12-22 11:46:21 +04:00
Alexey Melnichuk
e7712b9eb2 Fix. Init socket callback with nil.
Fix. `multi.setopt` supports socket callback.
Change. `socket_acttion` without args means timeout action.
Change. cURLv3 multi supports options in callback.
Add. `multi-uv` example.
2014-12-22 11:14:13 +04:00