302 Commits

Author SHA1 Message Date
Alexey Melnichuk
c5e4734f63 Update test. 2016-09-28 16:18:56 +03:00
Alexey Melnichuk
78a4a03e23 Fix. easy:close removes self from multi handle.
Change. Do not reset Lua state back to NULL.
2016-09-28 15:52:22 +03:00
Alexey Melnichuk
367eb1482f Fix. Travis test 2016-09-28 13:03:02 +03:00
Alexey Melnichuk
54a75bd25e Fix. Unify tostring methods 2016-09-28 13:01:49 +03:00
Alexey Melnichuk
56b4d05c17 Fix. Set Lua in callback context in info_read function.
Fix. Support nested callbacks.
Fix. Cleanup easy references when calls multi::close.
Add. `__tostring` method for handles.
2016-09-28 12:54:44 +03:00
Alexey Melnichuk
b2e9474c6b Fix. reset lcurl_easy_t::multi pointer when info_read function remove easy handle. 2016-09-27 19:26:13 +03:00
Alexey Melnichuk
9a1270fde6 Fix. curl_multi_socket_action may invoke easy callbacks before socket callback. 2016-09-27 19:01:15 +03:00
Alexey Melnichuk
a836734bfc Fix. Test for Lua > 5.1 2016-09-27 18:20:34 +03:00
Alexey Melnichuk
e7f83e7aa6 Fix. CURLM_ADDED_ALREADY defined only in cURL 7.32.1 2016-09-27 18:06:17 +03:00
Alexey Melnichuk
abdef03e98 Fix. Call multi callbacks with correct Lua state. 2016-09-27 17:52:49 +03:00
Alexey Melnichuk
f1ebfadb38 Add. Some missed easy options. (Close #75) 2016-09-01 10:42:09 +03:00
Alexey Melnichuk
528769e12c Add. Support libcurl 7.50.1 2016-08-13 10:39:33 +03:00
Alexey Melnichuk
3375578dcf Add. Support curl 7.49.0 2016-05-25 10:45:48 +03:00
Alexey Melnichuk
cf41acae7b Back to developer version. [ci skip] 2016-05-04 13:59:47 +03:00
Alexey Melnichuk
7a5176cf37 Release 0.3.4 2016-05-04 13:29:51 +03:00
Alexey Melnichuk
1c73fc1173 Run tests on all Lua versions. 2016-05-04 11:23:44 +03:00
Alexey Melnichuk
68e52ff732 Merge pull request #70 from cyrilRomain/master
Fix symbol s/luaL_checinteger/luaL_checkinteger/
2016-04-27 04:43:41 +03:00
Cyril Romain
d9bdfb9f5f Fix symbol s/luaL_checinteger/luaL_checkinteger/ 2016-04-26 23:08:06 +02:00
Alexey Melnichuk
94bb8fadc1 Back to developer version. 2016-04-20 15:48:00 +03:00
Alexey Melnichuk
ccd2e0d7bd Release 0.3.3 2016-04-20 11:41:23 +03:00
Alexey Melnichuk
b5ff0ea59e Merge pull request #69 from moteus/master
Update copyright date/email [ci skip]
2016-04-20 11:23:38 +03:00
Alexey Melnichuk
2df3cd8538 Update copyright date/email [ci skip] 2016-04-20 11:23:43 +03:00
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