Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | examples/ftpuploadresume.c: use portable code | Daniel Stenberg | 2017-08-14 | 2 | -26/+14 | |
| | | | | ... converted from the MS specific _snscanf() | |||||
* | Makefile.m32: enable -W for MinGW32 build | Marcel Raad | 2017-06-16 | 1 | -1/+1 | |
| | | | | | | The configure-based build also has this in addition to -Wall. Closes https://github.com/curl/curl/pull/1578 | |||||
* | includes: remove curl/curlbuild.h and curl/curlrules.h | Daniel Stenberg | 2017-06-14 | 1 | -6/+2 | |
| | | | | | | | | Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e109f. Now gone. Fixes #1456 | |||||
* | examples/multi-uv.c: fix deprecated symbol | Ryuichi KAWAMATA | 2017-06-08 | 1 | -1/+1 | |
| | | | | Closes #1557 | |||||
* | typecheck-gcc.h: check CURLINFO_CERTINFO | Daniel Stenberg | 2017-06-01 | 1 | -12/+7 | |
| | | | | | | ... and update the certinfo.c example accordingly. Fixes https://github.com/curl/curl/issues/846 | |||||
* | examples/externalsocket.c: s/closesocket/closecb | Daniel Stenberg | 2017-05-31 | 1 | -2/+2 | |
| | | | | | | | | ... since closesocket is a function in WinSock. Reported-by: Marcel Raad Bug: https://github.com/curl/curl/commit/55fcb8485914700132fd1854c9509b66c955efbe#co mmitcomment-22347818 | |||||
* | examples/sampleconv.c: indent changes, made callbacks static | Daniel Stenberg | 2017-05-31 | 1 | -37/+37 | |
| | ||||||
* | example/externalsocket.c: make it use CLOSESOCKETFUNCTION too | Daniel Stenberg | 2017-05-31 | 1 | -0/+11 | |
| | ||||||
* | examples: fix Wimplicit-fallthrough warnings | Marcel Raad | 2017-05-24 | 5 | -0/+5 | |
| | | | | This is contained in -Wextra with GCC 7. | |||||
* | ghiper.c/hiperfifo.c: add comment about missing timer functionality | Daniel Stenberg | 2017-05-19 | 2 | -4/+21 | |
| | | | | | | | | | It takes someone to read up on the APIs of these libraries to figure out how to do this correctly. Reported-by: Michael Kaufmann Closes #1253 | |||||
* | asiohiper.cpp / evhiperfifo.c: deal with negative timerfunction input | Daniel Stenberg | 2017-05-19 | 2 | -3/+3 | |
| | | | | | | | That means delete the timer. Reported-by: Michael Kaufmann Ref: #1253 | |||||
* | cookie_interface: fix -Wcomma warning | Marcel Raad | 2017-05-11 | 1 | -1/+2 | |
| | | | | | clang 5.0 complains: possible misuse of comma operator here [-Wcomma] | |||||
* | sendrecv: fix MinGW-w64 warning | Marcel Raad | 2017-05-07 | 1 | -1/+1 | |
| | | | | | | | The first argument to select is an int, while curl_socket_t is unsigned long long when using WinSock. It's ignored anyway [1]. [1] https://msdn.microsoft.com/en-us/library/windows/desktop/ms740141.aspx | |||||
* | anyauthput: remove unused code | Marcel Raad | 2017-05-01 | 1 | -24/+0 | |
| | | | | | | | | The definition of TRUE was introduced in 4a728747e6f8845e500910e397dfc99aaf4a7984 and is not used anymore since e664cd5826d43930fcc5b5dbaedbec94af33184b. The usage of intptr_t was removed in 32e38b8f42477cf5ce3c3fef2fcc9db82f7fb7be. | |||||
* | examples: fixed too long line and too long string warnings | Dan Fandrich | 2017-05-01 | 1 | -3/+3 | |
| | ||||||
* | examples: declare TU-local variables static | Marcel Raad | 2017-04-30 | 5 | -8/+8 | |
| | | | | | This fixes missing-variable-declarations warnings when building with clang. | |||||
* | cookie_interface.c: changed the other domain to example.com too | Daniel Stenberg | 2017-04-27 | 1 | -1/+1 | |
| | ||||||
* | cookie_interface.c: fix cookie domain so the example works | Daniel Stenberg | 2017-04-27 | 1 | -3/+3 | |
| | ||||||
* | examples: ftpuploadfrommem.c | Daniel Stenberg | 2017-04-25 | 2 | -2/+126 | |
| | | | | | | Uploads data to an FTP site, directly from memory. Closes #1451 | |||||
* | examples/fopen: checksrc compliance | Jay Satiro | 2017-03-28 | 1 | -2/+2 | |
| | ||||||
* | spelling fixes | klemens | 2017-03-26 | 11 | -25/+25 | |
| | | | | Closes #1356 | |||||
* | asiohiper: make sure socket is open in event_cb | Edward Kimmel | 2017-03-23 | 1 | -8/+14 | |
| | | | | | | Send curl_socket_t to event_cb and make sure it hasn't been closed yet. Closes https://github.com/curl/curl/pull/1318 | |||||
* | examples: comment typos in http2 examples | Daniel Stenberg | 2017-03-21 | 3 | -6/+6 | |
| | ||||||
* | examples/multi-uv: checksrc compliance | Jay Satiro | 2017-02-20 | 1 | -2/+2 | |
| | ||||||
* | docs: fix timeout handling in multi-uv example | Michael Kaufmann | 2017-02-18 | 1 | -14/+18 | |
| | ||||||
* | examples/multithread.c: link to our multi-thread docs | Daniel Stenberg | 2017-02-09 | 1 | -4/+4 | |
| | | | | ... instead of the OpenSSL mutex page. | |||||
* | usercertinmem.c: improve the short description | Daniel Stenberg | 2017-01-18 | 1 | -3/+2 | |
| | ||||||
* | examples: make the C++ examples follow our code style too | Daniel Stenberg | 2017-01-08 | 2 | -125/+85 | |
| | | | | At least mostly, not counting // comments. | |||||
* | asiohiper: improved socket handling | Aulddays | 2017-01-08 | 1 | -27/+59 | |
| | | | | | | | | | | libcurl requires CURLMOPT_SOCKETFUNCTION to KEEP watching socket events and notify back. Modify event_cb() to continue watching events when fired. Fixes #1191 Closes #1192 Fixed-by: Mingliang Zhu | |||||
* | curl_easy_recv: Improve documentation and example program | Michael Kaufmann | 2016-12-18 | 1 | -35/+56 | |
| | | | | | | | | | | | Follow-up to 82245ea: Fix the example program sendrecv.c (handle CURLE_AGAIN, handle incomplete send). Improve the documentation for curl_easy_recv() and curl_easy_send(). Reviewed-by: Frank Meier Assisted-by: Jay Satiro See https://github.com/curl/curl/pull/1134 | |||||
* | checksrc: warn for assignments within if() expressions | Daniel Stenberg | 2016-12-14 | 3 | -19/+30 | |
| | | | | | ... they're already frowned upon in our source code style guide, this now enforces the rule harder. | |||||
* | checksrc: stricter no-space-before-paren enforcement | Daniel Stenberg | 2016-12-13 | 15 | -45/+45 | |
| | | | | In order to make the code style more uniform everywhere | |||||
* | checksrc: move open braces to comply with function declaration style | Daniel Stenberg | 2016-11-24 | 1 | -1/+2 | |
| | ||||||
* | checksrc: white space edits to comply to stricter checksrc | Daniel Stenberg | 2016-11-24 | 5 | -8/+11 | |
| | ||||||
* | checksrc: code style: use 'char *name' style | Daniel Stenberg | 2016-11-24 | 5 | -32/+32 | |
| | ||||||
* | examples/fileupload.c: fclose the file as well | Daniel Stenberg | 2016-11-08 | 1 | -7/+4 | |
| | ||||||
* | s/cURL/curl | Daniel Stenberg | 2016-11-07 | 4 | -5/+5 | |
| | | | | | | We're mostly saying just "curl" in lower case these days so here's a big cleanup to adapt to this reality. A few instances are left as the project could still formally be considered called cURL. | |||||
* | docs: shorten and simplify the top comment in multi-uv.c | Daniel Stenberg | 2016-11-03 | 1 | -9/+3 | |
| | | | | and change URL to use https | |||||
* | docs: handle CURL_POLL_INOUT in multi-uv example | Andrei Sedoi | 2016-11-03 | 1 | -12/+13 | |
| | ||||||
* | docs: multi-uv: don't use CURLMsg after cleanup | Andrei Sedoi | 2016-11-03 | 1 | -5/+12 | |
| | ||||||
* | docs: remove unused variables in multi-uv example | Andrei Sedoi | 2016-11-03 | 1 | -5/+0 | |
| | ||||||
* | docs: fix req->data in multi-uv example | Andrei Sedoi | 2016-10-27 | 1 | -1/+1 | |
| | | | | Closes #1088 | |||||
* | examples/imap-append: Set size of data to be uploaded | Jay Satiro | 2016-09-18 | 1 | -0/+8 | |
| | | | | | | | | | | Prior to this commit this example failed with error 'Cannot APPEND with unknown input file size'. Bug: https://github.com/curl/curl/issues/1008 Reported-by: lukaszgn@users.noreply.github.com Closes https://github.com/curl/curl/pull/1011 | |||||
* | make/checksrc: use $srcdir, not $top_srcdir | Daniel Stenberg | 2016-04-19 | 1 | -1/+1 | |
| | ||||||
* | checksrc/makefile.am: use $top_srcdir to find source files | Daniel Stenberg | 2016-04-18 | 1 | -1/+1 | |
| | | | | ... to properly support out of source tree builds. | |||||
* | docs/examples: remove spurious white spaces all over | Daniel Stenberg | 2016-04-03 | 12 | -31/+31 | |
| | | | | ... to please the new, slightly picker, checksrc.pl | |||||
* | curlx.c: use more curl style code | Daniel Stenberg | 2016-03-06 | 1 | -13/+4 | |
| | ||||||
* | examples/make: add 'checksrc' target | Daniel Stenberg | 2016-02-17 | 1 | -1/+4 | |
| | ||||||
* | 10-at-a-time: typecast the argument passed to sleep() | Daniel Stenberg | 2016-02-17 | 1 | -1/+1 | |
| | ||||||
* | externalsocket.c: fix compiler warning for fwrite return type | Daniel Stenberg | 2016-02-17 | 1 | -1/+1 | |
| |