aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-22pop3: Updated do phrase clean-up commentSteve Holme
Following commit 65644b833532 for the IMAP module updated the clean-up comment in POP3.
2013-02-22imap: Fixed memory leak when performing multiple selectsSteve Holme
Moved the clean-up of the mailbox variable from imap_disconnect() to imap_done() as this variable is allocated in the do phase, yet would have only been freed only once if multiple selects where preformed on a single connection.
2013-02-22Documentation: Typo in docs/CONTRIBUTEAlexander Klauer
Fixes a typo get → git in docs/CONTRIBUTE.
2013-02-22repository: ignore patch files generated by gitAlexander Klauer
Ignores the patch files generated by the 'git format-patch' command.
2013-02-22libcurl documentation: clarifications and typosAlexander Klauer
* Elaborates on default values of some curl_easy_setopt() options. * Reminds the user to cast variadic arguments to curl_easy_setopt() to 'void *' where curl internally interprets them as such. * Clarifies the working of the CURLOPT_SEEKFUNCTION option for curl_easy_setopt(). * Fixes typo 'forth' → 'fourth'. * Elaborates on CURL_SOCKET_TIMEOUT. * Adds some missing periods. * Notes that the return value of curl_version() must not be passed to free().
2013-02-22lib/url.c: Generic read/write data pointersAlexander Klauer
Always interprets the pointer passed with the CURLOPT_WRITEDATA or CURLOPT_READDATA options of curl_easy_setopt() as a void pointer in order to avoid problems in environments where FILE and void pointers have non-trivial conversion.
2013-02-22libcurl documentation: updates HTML indexAlexander Klauer
* Adds several links to documentation of library functions which were missing. * Marks documentation of deprecated library functions "(deprecated)". * Removes spurious .html suffixes.
2013-02-22ossl_seed: avoid recursive seeding!Daniel Stenberg
2013-02-22Fixed checking the socket if there is data waiting in the cacheJiri Hruska
Use Curl_pp_moredata() in Curl_pp_multi_statemach() to check if there is more data to be received, rather than the socket state, as a task could hang waiting for more data from the socket itself.
2013-02-22imap.c: Fixed an incorrect variable referenceSteve Holme
Fixed an incorrect variable reference which was introduced in commit a1701eea289f as a result of a copy and paste from SMTP/POP3.
2013-02-22pingpong: Introduce Curl_pp_moredata()Jiri Hruska
A simple function to test whether the PP is not sending and there are still more data in its receiver cache. This will be later utilized to: 1) Change Curl_pp_multi_statemach() and Curl_pp_easy_statemach() to not test socket state and just call user's statemach_act() function when there are more data to process, because otherwise the task would just hang, waiting for more data from the socket. 2) Allow PP users to read multiple responses by looping as long as there are more data available and current phase is not finished. (Currently needed for correct processing of IMAP SELECT responses.)
2013-02-19FEATURES: why yes, we do support metalinkNick Zitzmann
I just noticed Metalink support wasn't listed as a feature of the tool.
2013-02-19metalink: fix improbable crash parsing metalink filenameNick Zitzmann
The this_url pointer wasn't being initialized, so if strdup() would return null when copying the filename in a metalink file, then hilarity would ensue during the cleanup phase. This change was brought to you by clang, which noticed this and raised a warning.
2013-02-19smtp.c: fix enumerated type mixed with another typeYang Tse
2013-02-19polarssl threadlock cleanupYang Tse
2013-02-18docs: schannel and darwinssl documentation improvementsNick Zitzmann
Schannel and darwinssl use the certificates built into the OS to do vert verification instead of bundles. darwinssl is thread-safe. Corrected typos in the NSS docs.
2013-02-18resolver_error: remove wrong error message outputDaniel Stenberg
The attempt to use gai_strerror() or alternative function didn't work as the 'sock_error' field didn't contain the proper error code. But since this hasn't been reported and thus isn't really a big deal I decided to just scrap the whole attempt to output the detailed resolver error and instead remain with just stating that the resolving of the name failed.
2013-02-18Curl_resolver_is_resolved: show proper host name on failed resolveKim Vandry
2013-02-18Curl_resolver_is_resolved: fix compiler warningDaniel Stenberg
conversion to 'int' from 'long int' may alter its value
2013-02-18compiler warning fixDaniel Stenberg
follow-up to commit ed7174c6f66, rename 'wait' to 'block'
2013-02-18compiler warning fix: declaration of 'wait' shadows a global declarationDaniel Stenberg
It seems older gcc installations (at least) will cause warnings if we name a variable 'wait'. Now changed to 'block' instead. Reported by: Jiří Hruška Bug: http://curl.haxx.se/mail/lib-2013-02/0247.html
2013-02-17MacOSX-Framework: Make script work in Xcode 4.0 and laterNick Zitzmann
Apple made a number of changes to Xcode 4. The SDKs were moved, the entire Developer folder was moved, and PowerPC support was removed. The script will now adapt to those changes and should be future-proofed against additional changes in case Apple moves the Developer folder ever again. Also, the minimum OS X version compiler option was removed, so that the framework can be built against the latest SDK but still run in older cats.
2013-02-17docs: refer to CURLOPT_ACCEPT_ENCODING instead of the old nameDaniel Stenberg
2013-02-16email: Tidied up result code variablesSteve Holme
Tidied up result variables to be consistent in name, declaration order and default values.
2013-02-16ntlm_core: fix compiler warning when building with clangNick Zitzmann
Fixed a 64-to-32 compiler warning raised when building with clang and the --with-darwinssl option.
2013-02-16Guile-curl: a new libcurl bindingDaniel Stenberg
2013-02-16polarsslthreadlock: #include the proper memory and debug includesDaniel Stenberg
Pointed out by Steve Holme
2013-02-16email: Removed unnecessary forward declarationSteve Holme
Due to the reordering of functions in commit 586f5d361474 the forward declaration to state_upgrade_tls() are no longer required.
2013-02-16pop3.c: Added reference to RFC-5034Steve Holme
2013-02-15PolarSSL: Change to cURL coding styleWillem Sparreboom
Repaired all curl/lib/checksrc.pl warnings in the previous four patches
2013-02-15PolarSSL: WIN32 threading support for entropyWillem Sparreboom
Added WIN32 threading support for PolarSSL entropy if --enable-threaded-resolver config flag is set and process.h can be found.
2013-02-15PolarSSL: pthread support for entropyWillem Sparreboom
Added pthread support for polarssl entropy if --enable-threaded-resolver config flag is set and pthread.h can be found.
2013-02-15PolarSSL: changes to entropy/ctr_drbg/HAVEGE_RANDOMWillem Sparreboom
Add non-threaded entropy and ctr_drbg and removed HAVEGE_RANDOM define
2013-02-15PolarSSL: added human readable error stringsWillem Sparreboom
Print out human readable error strings for PolarSSL related errors
2013-02-15pop3: Removed unnecessary state changes on failureSteve Holme
2013-02-15imap: Removed unnecessary state change on failureSteve Holme
2013-02-15metalink_cleanup: yet another follow-up fixDaniel Stenberg
2013-02-15metalink_cleanup: define it without argumentDaniel Stenberg
Since the function takes no argument, the macro shouldn't take one as some compilers will error out on that.
2013-02-15rename "easy" statemachines: call them block insteadDaniel Stenberg
... since they're not used by the easy interface really, I wanted to remove the association. Also, I unified the pingpong statemachine driver into a single function with a 'wait' argument: Curl_pp_statemach.
2013-02-15curl_setup_once.h: definition of HAVE_CLOSE_S defines sclose() to close_s()Gisle Vanem
2013-02-15config-dos.h: define HAVE_CLOSE_S for MSDOS/Watt-32Gisle Vanem
2013-02-15config-dos.h: define strerror() to strerror_s_() for High-CGisle Vanem
2013-02-15config-dos.h: define HAVE_TERMIOS_H only for djgppGisle Vanem
2013-02-14smtp.c: Fixed a trailing whitespaceSteve Holme
Remove tailing whitespace introduced in commit 7ed689d24a4e.
2013-02-14pop3: Fixed blocking SSL connect when connecting via POP3SSteve Holme
A call to Curl_ssl_connect() was accidentally left in when the SSL/TLS connection layer was reworked in 7.29. Not only would this cause the connection to block but had the additional overhead of calling the non-blocking connect a little bit later.
2013-02-14smtp: Refactored the smtp_state_auth_resp() functionSteve Holme
Renamed smtp_state_auth_resp() function to match the implementations in IMAP and POP3.
2013-02-14remove ifdefsDaniel Stenberg
Clarify the code by reducing ifdefs
2013-02-14strlcat: remove functionDaniel Stenberg
This function was only used twice, both in places where performance isn't crucial (socks + if2ip). Removing the use of this function removes the need to have our private version for systems without it == reduced amount of code. Also, in the SOCKS case it is clearly better to fail gracefully rather than to truncate the results. This work was triggered by a bug report on the strcal prototype in strequal.h. strlcat was added in commit db70cd28 in February 2001! Bug: http://curl.haxx.se/bug/view.cgi?id=1192 Reported by: Jeremy Huddleston
2013-02-14Curl_FormBoundary: made staticDaniel Stenberg
As Curl_FormBoundary() is no longer used outside of this file (since commit ad7291c1a9d), it is now renamed to formboundary() and is made static.
2013-02-14ossl_seed: fix the last resort PRNG seedingDaniel Stenberg
Instead of just abusing the pseudo-randomizer from Curl_FormBoundary(), this now uses Curl_ossl_random() to get entropy.