aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-04-28CMake: improve library search, implement install.Zmey Petroff
Improved library search by check_function_exists_concat() macro: it does not revert the list of libraries any more. Improved OpenSSL library search: first find zlib, then search for openssl libraries that may depend on zlib. For Unix: openssl libraries can now be detected in nonstandard locations. Supply CMAKE_LIBRARY_PATH to CMake on command line. Added installation capability (very basic one yet).
2011-04-27make: add 'checksrc' as target to check code styleDaniel Stenberg
The make target checksrc now works in the root makefile and in both the src and lib directories. It is also run automatically on "all" if configure --enable-debug was used.
2011-04-27checksrc: whitespace and code style cleanupDaniel Stenberg
Make everything adhere to the standards upheld by checksrc.pl and now run checksrc from the makefile on debug builds.
2011-04-24Enabled OpenWatcom native Windows IDN build.Guenter Knauf
For now we directly import the Idn* symbols with the linker; an upcoming release of OWC will have these added to the import lib normaliz.lib, and prototypes are added to winnnls.h.
2011-04-21Fix spelling errors in src/Fabian Keil
Found with codespell.
2011-04-19Improve MinGW static makefile builds.Guenter Knauf
It is now possible to use any combination of features without having to 1st add makefile targets to the main makefile. The main makefile now passes the 'mingw32-feat1-feat2' as var CFG, and the ./[lib|src]/Makefile.m32 parses the CFG var to determine the features to be enabled.
2011-04-19Enabled MinGW native Windows IDN build.Guenter Knauf
2011-04-19Updated default (recommended) dependency versions.Guenter Knauf
2011-04-18transfer-encoding: added new option and cmdlineDaniel Stenberg
Added CURLOPT_TRANSFER_ENCODING as the option to set to request Transfer Encoding in HTTP requests (if built zlib enabled). I also renamed CURLOPT_ENCODING to CURLOPT_ACCEPT_ENCODING (while keeping the old name around) to reduce the confusion when we have to encoding options for HTTP. --tr-encoding is now the new command line option for curl to request this, and thus I updated the test cases accordingly.
2011-04-16Changed email per Gisle's request.Guenter Knauf
2011-04-07src/Makefile.b32: updatesGisle Vanem
* Rename the object object directory from 'objs' to 'BCC_obj' to be in sync with my previous patch for lib/Makefile.b32. * Turn off these warnings to keep the build totally silent (with CBuilder-6 that is). -w-inl 8026 Functions X are not expanded inline. -w-pia 8060 Possibly incorrect assignment -w-pin 8061 Initialization is only partially bracketed (same added in src/Makefile.b32) * $(MKDIR) and $(RMDIR) have been replaced with the shell-commands 'md' and 'rd'. When having MingW/Msys programs 'mkdir.exe' and 'rmdir.exe' in $PATH, this confuses Borland's make and the result (the cleaning etc.) would not be as expected. * Removed the preprocessing step; no need for PP_CMD and the .int files. curl.exe builds fine w/o and the makefile gets simpler. * Added a target for creating a compressed hugehelp.c if WITH_ZLIB is defined. It assumes groff, gzip and perl is available if such an "advanced" users requests it. Okay? BTW. My groff and Perl needs unix-slashes ('/'). Other perls should handle both forms ('/' and '\').
2011-03-22headers: more copyright headers addedDaniel Stenberg
2011-03-10sources: update source headersDaniel Stenberg
All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
2011-03-09Force setopt constants written by --libcurl to be longDan Fandrich
2011-02-20curl: Added --netrc-file.Julien Chaffraix
This enables people to specify a path to the netrc file to use. The new option override --netrc if both are present. However it does follow --netrc-optional if specified.
2011-02-17Set -fpcc-struct-return only for gcc compiler.Guenter Knauf
2011-02-13Added -m32 to CFLAGS to compile with x86_64 gcc.Guenter Knauf
2011-02-13Updated OpenSSL version, added links to docu.Guenter Knauf
2011-02-10--keepalive-time: warn if not supported properlyDaniel Stenberg
Since the feature requires support for TCP_KEEPIDLE and TCP_KEEPINTVL to function as documented, it now warns if that support is missing when the option is used.
2011-01-19main: make the tlsauth options always presentDaniel Stenberg
... to not make the connection between the tool and the libcurl used tighter than necessary, the tlsauth options are now always present but if the used libcurl doesn't have TLSAUTH support it will return failure. Also, replaced strncmp() with strequal to get case insensitive matching.
2011-01-19TLS-SRP: support added when using GnuTLSQuinn Slack
2011-01-13build: BCC - makefile.b32 tweakYang Tse
Get rid of stdout redirection to NUL and move stderr redirection into RM and RMDIR macros.
2011-01-13build: BCC - makefile.b32 tweakYang Tse
Check for BCCDIR environment var done now as other checks.
2011-01-13Use env var for PSDK instead of hardcoded path.Guenter Knauf
2011-01-12build: BCC - require Borlands's MAKE for Makefile.b32 processing.Yang Tse
2011-01-12build: BCC - recover lost functionality from commit 3d813204260b37289411Yang Tse
Borland's $(MAKEDIR) expands to the path where make.exe is located, use this feature to define BCCDIR when user has not defined BCCDIR.
2011-01-12build: use external preprocessor cpp32 when building with Borland CYang Tse
2011-01-11Disable LDAP support since BCC headers are insufficient.Guenter Knauf
2011-01-11Instead of exiting with error lets set BCCDIR self.Guenter Knauf
2011-01-11Some Borland C++ makefile tweaks.Guenter Knauf
2011-01-11Borland C++ doesnt have struct sockaddr_storage.Guenter Knauf
2010-12-22Added support for axTLS to NetWare build.Guenter Knauf
2010-12-20getparameter: add error checkDaniel Stenberg
if add2list() returns an error, bail out!
2010-12-20build: refactoring of msvc makefiles to allow overriding of library filenames.Yang Tse
Default libcurl's file names are kept equal to those used since Y2K.
2010-12-05Updated OpenSSL version.Guenter Knauf
2010-12-03fix compiler warning: assignment within conditional expressionYang Tse
2010-12-03build: lib/config.dos renamed to lib/config-dos.hYang Tse
2010-12-02build: provide SIZEOF_SIZE_T netware definitionYang Tse
2010-11-28atoi: remove atoi usageYang Tse
2010-11-26xattr: fix compiler warning: enumerated type mixed with another typeYang Tse
2010-11-12Makefile.vc6: fixed the xattr.c compileAdam Light
2010-11-10xattr: portability fixYang Tse
2010-11-10write extended attributes by using fsetxattrStefan Tomanek
Instead of reopening the downloaded file, fsetxattr uses the (already open) file descriptor to attach extended attributes. This makes the procedure more robust against errors caused by moved or deleted files.
2010-11-09Check for getinfo errors before setting attributesDan Fandrich
2010-11-08help: indent the --xattr option like the othersDaniel Stenberg
2010-11-08xattr: use const char * for const stringsDaniel Stenberg
2010-11-08CURLOPT_RESOLVE: addedDaniel Stenberg
CURLOPT_RESOLVE is a new option that sends along a curl_slist with name:port:address sets that will populate the DNS cache with entries so that request can be "fooled" to use another host than what otherwise would've been used. Previously we've encouraged the use of Host: for that when dealing with HTTP, but this new feature has the added bonus that it allows the name from the URL to be used for TLS SNI and server certificate name checks as well. This is a first change. Surely more will follow to make it decent.
2010-11-07xattr: fix VisualStudio buildsYang Tse
2010-11-05--libcurl: simplify outputDaniel Stenberg
Removed the code that was needed for libcurl before 7.19.0 which now is more than two years old. Simplified the top comment and corrected the URL.
2010-11-05xattr: add configure check and #ifdefsDaniel Stenberg
setxattr is a glibc call to set extended attributes, so configure now checks for it and the code is adapted to only build when the functionality is present.