aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-05-29strtoofft: rename CURL_LLONG_MIN -> CURL_OFF_T_MINKamil Dudka
... and CURL_LLONG_MAX -> CURL_OFF_T_MAX
2010-04-29telnet: Allow programatic use of telnet.Ben Greear
The main change is to allow input from user-specified methods, when they are specified with CURLOPT_READFUNCTION. All calls to fflush(stdout) in telnet.c were removed, which makes using 'curl telnet://foo.com' painful since prompts and other data are not always returned to the user promptly. Use 'curl --no-buffer telnet://foo.com' instead. In general, the user should have their CURLOPT_WRITEFUNCTION do a fflush for interactive use. Also fix assumption that reading from stdin never returns < 0. Old code could crash in that case. Call progress functions in telnet main loop. Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-04-24encourage users to take latest lib dependencies.Guenter Knauf
2010-04-24curl: added --proto and --proto-redirAlex Bligh
--proto tells curl to use the listed protocols for its initial retrieval --proto-redir tells curl to use the listed protocols after a redirect
2010-04-21curl: -O crash on windowsDaniel Stenberg
The -O option caused curl to crash on windows and DOS due to the tool writing out of boundary memory.
2010-04-20replaced wsock32.lib usage with ws2_32.lib in MSVC makefilesRuslan Gazizov
2010-04-19parse_filename: strip trailing CRs and LFsDaniel Stenberg
The feature that uses the file name given in a Content-disposition: header didn't properly skip trailing carriage returns and linefeed characters from the end of the file name when it was given without quotes.
2010-04-17parseconfig: Value stored to 'line' is never readDaniel Stenberg
Make the function call with (void) as we don't care about the return code.
2010-04-14ignore files generated by 'maketgz'Daniel Stenberg
2010-04-12fixed a path typo in src/Makefile.netware.Guenter Knauf
2010-03-31make folks use latest available dependent libraries.Guenter Knauf
2010-03-29use size_t to hold string lengthDaniel Stenberg
using int is not fine on 64bit systems
2010-03-25remove all .cvsignore filesDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-03-20provide an initial set of .gitignore filesDaniel Stenberg
2010-03-16Factored out some code into a few independent functionsDan Fandrich
2010-02-26fix sizeof shortYang Tse
2010-02-26Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systemsYang Tse
2010-02-25Fixed bug report #2958074 indicatingYang Tse
(http://curl.haxx.se/bug/view.cgi?id=2958074) that curl on Windows with option --trace-time did not use local time when timestamping trace lines. This could also happen on other systems depending on time souurce.
2010-02-16replaced tabs with spacesYang Tse
2010-02-15use (void) in front of fwrite() calls that ignore the return codeDaniel Stenberg
2010-02-14removed trailing whitespaceYang Tse
2010-02-12CURLOPT_MAIL_RCPT is *not* a string so we must not try to printf() itDaniel Stenberg
2010-02-12free --mail-from strings properlyDaniel Stenberg
2010-02-03Changed the Watcom makefiles to make them easier to keep in sync withDan Fandrich
Makefile.inc since that can't be included directly.
2010-02-03Fix progressmode Configurable struct member data type. Changed toYang Tse
'int' which fits better with existing CURL_PROGRESS_* definitions.
2010-02-02Fix compiler warnings:Yang Tse
(1) conversion from 'const int ' to 'unsigned char ', possible loss of data (2) conditional expression is constant
2010-01-29fix printf-style format stringsYang Tse
2010-01-27fix compiler warningYang Tse
2010-01-25fix compiler warningYang Tse
2010-01-24HAVE_GETADDRINFO_THREADSAFE definition for non-configure win32 buildsYang Tse
2010-01-23Added -J/--remote-header-name.Bjorn Stenberg
2010-01-18Constantine Sapuntzakis enhancements to make memory tracking log file writingYang Tse
of messages atomic, on systems where an fwrite of a memory buffer is atomic.
2010-01-02- Make curl support --ssl and --ssl-reqd instead of the previous FTP-specificDaniel Stenberg
versions --ftp-ssl and --ftp-ssl-reqd as these options are now used to control SSL/TLS for IMAP, POP3 and SMTP as well in addition to FTP. The old option names are still working but the new ones are the prefered ones (listed and documented).
2010-01-01update copyright year since we are in 2010 nowDaniel Stenberg
2010-01-01- Ingmar Runge enhanced libcurl's FTP engine to support the PRET command. ThisDaniel Stenberg
command is a special "hack" used by the drftpd server, but even though it is a custom extension I've deemed it fine to add to libcurl since this server seems to survive and people keep using it and want libcurl to support it. The new libcurl option is named CURLOPT_FTP_USE_PRET, and it is also usable from the curl tool with --ftp-pret. Using this option on a server that doesn't support this command will make libcurl fail.
2009-12-31turned CURLOPT_MAIL_RCPT into a curl_slist list instead to support multipleDaniel Stenberg
receivers, and made the command line tool thus support the option specified many times
2009-12-31VMS adjustments by Steven M. SchwedaYang Tse
2009-12-30s/CURLOPT_WRITEHEADER/CURLOPT_HEADERDATA simply because it is a better nameDaniel Stenberg
2009-12-30VMS specific preprocessor symbol checking adjustmentsYang Tse
2009-12-12introducing IMAP, POP3 and SMTP support (still lots of polish left to do)Daniel Stenberg
2009-12-10- Siegfried Gyuricsko found out that the curl manual said --retry would retryDaniel Stenberg
on FTP errors in the transient 5xx range. Transient FTP errors are in the 4xx range. The code itself only tried on 5xx errors that occured _at login_. Now the retry code retries on all FTP transfer failures that ended with a 4xx response. (http://curl.haxx.se/bug/view.cgi?id=2911279)
2009-12-10- Fixed curl erroneously reporting output stream write failures with ↵Yang Tse
disabled buffering
2009-11-27- Markus Koetter provided a polished and updated version of Chad Monroe's TFTPDaniel Stenberg
rework patch that now integrates TFTP properly into libcurl so that it can be used non-blocking with the multi interface and more. BLKSIZE also works. The --tftp-blksize option was added to allow setting the TFTP BLKSIZE from the command line.
2009-11-23- Bjorn Augustsson reported a bug which made curl not report any problems evenDaniel Stenberg
though it failed to write a very small download to disk (done in a single fwrite call). It turned out to be because fwrite() returned success, but there was insufficient error-checking for the fclose() call which tricked curl to believe things were fine.
2009-11-18Make usage of calloc()'s arguments consistent with rest of code baseYang Tse
2009-11-15Remove enable-thread / disable-thread configure option. These were only placeboYang Tse
options. The library is always built as thread safe as possible on every system.
2009-11-14Refactor how preprocessor symbol _THREAD_SAFE definition is done.Yang Tse
2009-11-05I removed leading 'curl' path on the 'curlbuild.h' include statement inYang Tse
curl.h, adjusting auto-makefiles include path, to enhance portability to OS's without an orthogonal directory tree structure such as OS/400.
2009-10-27Fix spellingYang Tse