aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-09-20Added _WIN32_WINNT define for IPv6 builds.Guenter Knauf
2011-09-19curl tool: truly fix compiler warningYang Tse
2011-09-19curl tool: fix compiler warningYang Tse
2011-09-19curl tool: reviewed code moved to tool_*.[ch] filesYang Tse
2011-09-18curl tool: create tool_myfunc.[ch] which later on will hold my_* functionsYang Tse
Additionally function my_useragent() now provides default User-Agent string
2011-09-18curl tool: reorder free_config_fields() field handlingYang Tse
Reorder handling of fields to match same order as the one given by current definition order of 'Configurable' struct fields. Fields currently not handled marked for further inspection.
2011-09-17Fixed MinGW WinIDN lib dependency.Guenter Knauf
2011-09-17tool_convert.c: fix no newline at end of fileYang Tse
2011-09-16curl tool: move 'Configurable' and free_config_fields() to tool_cfgable.[ch]Yang Tse
Reviewing fields being free'd in free_config_fields() still pending
2011-09-16src/setup.h: add conditional include of assert.hYang Tse
2011-09-16curl tool: move so called 'multi_files' stuff into tool_mfiles.[ch]Yang Tse
Additionally some code reorganization and direct OOM handling fixes, just another step towards fixing curl tool issues uncovered 2011-09-15
2011-09-16curl tool: move convert_* functions into tool_convert.[ch]Yang Tse
Additionally fix data type of result vars for iconv() calls
2011-09-16main.c: convert GetStr() into a macro to ease leak debuggingYang Tse
2011-09-16main.c: de-obfuscate a couple for-loop exit conditionsYang Tse
2011-09-15curl tool: fix a bunch of double free's uncovered 2011-09-15Yang Tse
Re-enabling MemoryTracking capability on 'src' subdirectory files and torture tests have uncovered many issues which were going unnoticed in curl tool. So here we go fixing some of them. Others still remain and should be addressed ASAP, given that curl tool is used in our test harness also for test server start verification purposes. There are even non-socket file descriptor leaks.
2011-09-15curl MSVC project files: adjust resource compiler include pathYang Tse
2011-09-14src/Makefile.vc6: adjust resource compiler include pathYang Tse
2011-09-14curl tool: re-enable MemoryTracking capability on 'src' subdirectory files.Yang Tse
Use same preprocessor logic for curl tool MemoryTracking activation in source files located in 'src' subdirectory as the one used for libcurl sources.
2011-09-11Updated makefiles to latest libssh2.Guenter Knauf
2011-09-10urlglob.c: fix OOM handlingYang Tse
2011-09-08Avoid ftruncate() static define with MinGW64.Guenter Knauf
2011-09-06fix bool variables checking and assignmentYang Tse
2011-09-05fix bool variables checking and assignmentYang Tse
2011-09-04setup_once.h cleanup and syncYang Tse
2011-09-04Added SPNEGO to MinGW makefiles.Guenter Knauf
2011-09-03revert changes not intended to be pushed with commit 6b75d2c2Yang Tse
2011-09-03fix a bunch of MSVC compiler warningsYang Tse
2011-09-03Updated dependecies versions.Guenter Knauf
2011-09-03Some MinGW makefile tweaks for MinGW64.Guenter Knauf
2011-08-27NTLM single-sign on adjustments (XI)Yang Tse
Feature string literal NTLM_SSO renamed to NTLM_WB. Preprocessor symbol USE_NTLM_SSO renamed to WINBIND_NTLM_AUTH_ENABLED. curl's 'long' option 'ntlm-sso' renamed to 'ntlm-wb'. Fix some comments to make clear that this is actually a NTLM delegation.
2011-08-26NTLM single-sign on adjustments (X)Yang Tse
Functions renamed: Curl_output_ntlm_sso -> Curl_output_ntlm_wb sso_ntlm_close -> wb_ntlm_close sso_ntlm_response -> wb_ntlm_response sso_ntlm_initiate -> wb_ntlm_initiate Preprocessor symbols renamed: CURLAUTH_NTLM_SSO -> CURLAUTH_NTLM_WB CURL_VERSION_NTLM_SSO -> CURL_VERSION_NTLM_WB
2011-08-21zlib: ensure user provided memory functions are used by zlib, when givenYang Tse
As a bonus, this lets our MemoryTracking subsystem track zlib operations. And also fixes a shortcut some zlib 1.2.x versions took using malloc() instead of calloc(), which would trigger memory debuggers warnings on memory being used without having been initialized.
2011-08-21main: fix segfaultDaniel Stenberg
Follow-up to commit 5eb2396cd as that wasn't complete. At times HEADERFUNCTION+HEADERDATA was set only to have only HEADERDATA set in the subsequent loop which could cause a NULL to get sent as userdata to 'header_callback' which wasn't made to handle that. Now HEADERFUNCTION is explicitly set to NULL if it isn't set to the callback.
2011-08-21MemoryTracking: adjust initialization calling - followupYang Tse
Fix macro definition
2011-08-20MemoryTracking: adjust initialization callingYang Tse
Calling of curl_memdebug() was still done with a pending free()
2011-08-18zlib: enforce full initialization of our data space z_stream structsYang Tse
2011-08-13VC6 makefiles: added embedded documentationDaniel Stenberg
Just a note about the fact that all VC[6/8/9/10] makefiles are generated from the VC6 one as source.
2011-08-12added --delegationDaniel Stenberg
Using this option with an argument being set to one of none/policy/always instructs libcurl how to deal with GSS credentials. Or rather how it tells the server that delegation is fine or not.
2011-08-05keep a single copy of config-win32.h in version control repository - followupYang Tse
Allow configure builds to generate src/config-win32.h Skip checksrc on src/config-win32.h contents already checked at lib/config-win32.h Allow multiple -W in checksrc.pl
2011-08-05git ignore src/config-win32.hYang Tse
2011-08-05keep a single copy of config-win32.h in version control repository.Yang Tse
maketgz and buildconf.bat updated to reflect this.
2011-08-04segfault fixedDaniel Stenberg
When using both -J and a single -O with multiple URLs, a missing init could cause badness. Bug: http://curl.haxx.se/mail/lib-2011-07/0126.html and http://bugzilla.redhat.com/723075 Reported by: Paul Howarth and Garrett Holmstrom
2011-08-04parse_filename: deal with escaped quotesDaniel Stenberg
2011-08-04BSD-style lwIP TCP/IP stack support:Yang Tse
Allow compilation of libcurl and curl using BSD-style lwIP on Win32. In order to compile libcurl and curl with this support it is necessary to edit files lib/config-win32.h and src/config-win32.h and uncomment a line to make definition of preprocessor symbol USE_LWIPSOCK visible. Afterwards you can compile as usual. In order to use compiled library with BSD-style lwIP TCP/IP stack in your program it is mandatory that you include lwIP header file <lwip/opt.h> before including <curl/curl.h> or <curl/multi.h> Compilation has been verified with lwIP 1.4.0 and contrib-1.4.0 from: http://download.savannah.gnu.org/releases/lwip/lwip-1.4.0.zip http://download.savannah.gnu.org/releases/lwip/contrib-1.4.0.zip Have fun!
2011-08-04-J: support ';' in quoted file namesDaniel Stenberg
Content-disposition headers can provide file names with semicolons which previously would be cut off at that point. Added test case 1311 and 1312 to verify -J. Bug: http://curl.haxx.se/bug/view.cgi?id=3375603 Reported by: Peter Hjalmarsson
2011-07-26stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.hYang Tse
2011-07-24errno.h inclusion conditionally done in setup_once.hYang Tse
2011-07-18NTLM single-sign on supportedMandy Wu
With the use of the 'ntlm_auth' tool from the Samba project
2011-07-03help output: more gnu like outputDaniel Stenberg
First, the -J/--remote-header-name was wrongly sorted in the --help output as pointed out in bug report #3349271. Then, I changed the format of the texts to follow the man page better in that it now uses "-A, --long" intead of "-A/--long". I also made all additional arguments get written as in "-A, --long FILENAME" instead of the previous "<filename>" style. Reported by: Herve Amblard Bug: http://curl.haxx.se/bug/view.cgi?id=3349271
2011-06-21windows build: use correct MS CRTJosue Andrade Gomes