Yang Tse [Wed, 9 Jan 2013 21:19:03 +0000 (22:19 +0100)]
test servers: handle W32/W64 SIGBREAK with exit_signal_handler
Yang Tse [Wed, 9 Jan 2013 14:10:23 +0000 (15:10 +0100)]
test servers: fix errno, ERRNO and SOCKERRNO usage for W32/W64
Yang Tse [Wed, 9 Jan 2013 12:03:53 +0000 (13:03 +0100)]
sockfilt.c: fix some W64 compiler warnings
Nick Zitzmann [Mon, 7 Jan 2013 17:17:56 +0000 (10:17 -0700)]
docs: the --with-darwinssl option is available on Apple OSes
Yang Tse [Wed, 9 Jan 2013 00:30:08 +0000 (01:30 +0100)]
curl: ignore SIGPIPE - compilation fix
Yang Tse [Sun, 6 Jan 2013 18:06:49 +0000 (19:06 +0100)]
build: fix circular header inclusion with other packages
This commit renames lib/setup.h to lib/curl_setup.h and
renames lib/setup_once.h to lib/curl_setup_once.h.
Removes the need and usage of a header inclusion guard foreign
to libcurl. [1]
Removes the need and presence of an alarming notice we carried
in old setup_once.h [2]
----------------------------------------
1 - lib/setup_once.h used __SETUP_ONCE_H macro as header inclusion guard
up to commit
ec691ca3 which changed this to HEADER_CURL_SETUP_ONCE_H,
this single inclusion guard is enough to ensure that inclusion of
lib/setup_once.h done from lib/setup.h is only done once.
Additionally lib/setup.h has always used __SETUP_ONCE_H macro to
protect inclusion of setup_once.h even after commit
ec691ca3, this
was to avoid a circular header inclusion triggered when building a
c-ares enabled version with c-ares sources available which also has
a setup_once.h header. Commit
ec691ca3 exposes the real nature of
__SETUP_ONCE_H usage in lib/setup.h, it is a header inclusion guard
foreign to libcurl belonging to c-ares's setup_once.h
The renaming this commit does, fixes the circular header inclusion,
and as such removes the need and usage of a header inclusion guard
foreign to libcurl. Macro __SETUP_ONCE_H no longer used in libcurl.
2 - Due to the circular interdependency of old lib/setup_once.h and the
c-ares setup_once.h header, old file lib/setup_once.h has carried
back from 2006 up to now days an alarming and prominent notice about
the need of keeping libcurl's and c-ares's setup_once.h in sync.
Given that this commit fixes the circular interdependency, the need
and presence of mentioned notice is removed.
All mentioned interdependencies come back from now old days when
the c-ares project lived inside a curl subdirectory. This commit
removes last traces of such fact.
Daniel Stenberg [Tue, 8 Jan 2013 22:10:26 +0000 (23:10 +0100)]
curl: ignore SIGPIPE
This is a work-around for bug #1180 which is really libcurl's inability
to ignore SIGPIPE in a few cases. With this work-around at least curl
won't suffer from it!
Bug: http://curl.haxx.se/bug/view.cgi?id=1180
Reported by: Lluís Batlle i Rossell
Yang Tse [Tue, 8 Jan 2013 18:50:50 +0000 (19:50 +0100)]
sockfilt.c: fix some compiler warnings
Daniel Stenberg [Tue, 8 Jan 2013 18:02:08 +0000 (19:02 +0100)]
Revert "configure: update req to 2.59"
This reverts commit
7a6d8b1b1a8fcc184c36d6b6e741e32250b4bacb.
URL: http://curl.haxx.se/mail/lib-2013-01/0103.html
Steve Holme [Tue, 8 Jan 2013 11:31:48 +0000 (11:31 +0000)]
pop3: Added support for non-blocking SSL upgrade
Added support for asynchronous SSL upgrade when using the
multi-interface.
Daniel Stenberg [Tue, 8 Jan 2013 10:46:50 +0000 (11:46 +0100)]
configure: update req to 2.59
I ran the 2.59 version of autoupdate that updates obsoleted configure.ac
constructs to the 2.59 standard. With a little hands-on fiddling I
prevented it from ruining the quoting in AS_HELP_STRING() uses.
I subsequently also bumped the required autoconf version to 2.59
(released in December 2003) as I don't have an older autoconf version
around to test with and I can't be bothered to install one either...
Inspired by: Björn Stenberg
Related blog post: http://cazfi.livejournal.com/195108.html
Steve Holme [Mon, 7 Jan 2013 18:07:04 +0000 (18:07 +0000)]
imap.c: Small tidy up to add missing comment
Steve Holme [Mon, 7 Jan 2013 11:01:05 +0000 (11:01 +0000)]
imap: Added support for sasl digest-md5 authentication
Steve Holme [Mon, 7 Jan 2013 07:35:49 +0000 (07:35 +0000)]
imap: Added support for sasl cram-md5 authentication
Marc Hoersken [Mon, 7 Jan 2013 06:47:54 +0000 (07:47 +0100)]
tests/server/sockfilt.c: Fixed integer comparison warning
Marc Hoersken [Mon, 7 Jan 2013 06:34:32 +0000 (07:34 +0100)]
tests/server/sockfilt.c: Include required Win32 headers
Steve Holme [Mon, 7 Jan 2013 02:47:12 +0000 (02:47 +0000)]
imap: Added support for sasl ntlm authentication
Steve Holme [Sun, 6 Jan 2013 23:14:18 +0000 (23:14 +0000)]
imap: Added support for sasl login authentication
Steve Holme [Sun, 6 Jan 2013 23:06:29 +0000 (23:06 +0000)]
pop3.c: Fixed default authentication detection
Fixed an issue where a server may positively respond to the CAPA command
but not list clear text as a valid authentication type.
Steve Holme [Sun, 6 Jan 2013 22:32:33 +0000 (22:32 +0000)]
curl_sasl.c: Small code tidy up following imap changes
Steve Holme [Sun, 6 Jan 2013 22:32:05 +0000 (22:32 +0000)]
smtp.c: Small code tidy up following imap changes
Steve Holme [Sun, 6 Jan 2013 22:31:21 +0000 (22:31 +0000)]
pop3.c: Small code tidy up following imap changes
Steve Holme [Sun, 6 Jan 2013 22:25:14 +0000 (22:25 +0000)]
imap: Added support for sasl plain text authentication
Marc Hoersken [Sun, 6 Jan 2013 21:29:52 +0000 (22:29 +0100)]
tests/server/sockfilt.c: Fixed support for listening sockets
This commit fixes support for sockets that are ready to accept
a new connection and have previously been put into listening mode.
It also includes changes which are the result of investigation
regarding Windows STDIN. These changes are the preparation for further
improvements regarding support for reading data from STDIN on Windows.
Open issue: WaitForMultipleObjectsEx does not support PIPE handles
which are returned by GetStdHandle while running without a GUI.
Marc Hoersken [Sun, 6 Jan 2013 21:25:18 +0000 (22:25 +0100)]
tests/server/sockfilt.c: Set Windows Console to binary mode
Marc Hoersken [Sun, 6 Jan 2013 21:23:32 +0000 (22:23 +0100)]
tests/server/sockfilt.c: Improved log error messages
Include error code and parameters in error messages.
Steve Holme [Sun, 6 Jan 2013 20:29:19 +0000 (20:29 +0000)]
imap: Introduced the continue response in imap_endofresp()
Steve Holme [Sun, 6 Jan 2013 19:13:58 +0000 (19:13 +0000)]
imap: Added support for SASL based authentication mechanism detection
Added support for detecting the supported SASL authentication mechanisms
via the CAPABILITY command.
Yang Tse [Fri, 4 Jan 2013 01:50:28 +0000 (02:50 +0100)]
Revert changes relative to lib/*.[ch] recent renaming
This reverts renaming and usage of lib/*.h header files done
28-12-2012, reverting 2 commits:
f871de0... build: make use of 76 lib/*.h renamed files
ffd8e12... build: rename 76 lib/*.h files
This also reverts removal of redundant include guard (redundant thanks
to changes in above commits) done 2-12-2013, reverting 1 commit:
c087374... curl_setup.h: remove redundant include guard
This also reverts renaming and usage of lib/*.c source files done
3-12-2013, reverting 3 commits:
13606bb... build: make use of 93 lib/*.c renamed files
5b6e792... build: rename 93 lib/*.c files
7d83dff... build: commit
13606bbfde follow-up 1
Start of related discussion thread:
http://curl.haxx.se/mail/lib-2013-01/0012.html
Asking for confirmation on pushing this revertion commit:
http://curl.haxx.se/mail/lib-2013-01/0048.html
Confirmation summary:
http://curl.haxx.se/mail/lib-2013-01/0079.html
NOTICE: The list of 2 files that have been modified by other
intermixed commits, while renamed, and also by at least one
of the 6 commits this one reverts follows below. These 2 files
will exhibit a hole in history unless git's '--follow' option
is used when viewing logs.
lib/curl_imap.h
lib/curl_smtp.h
Daniel Stenberg [Sat, 5 Jan 2013 23:15:36 +0000 (00:15 +0100)]
mk-ca-bundle.1: convert syntax to what's used elsewhere
... mostly to make sure roffit works better on it, but also to make our
man pages use a more unified style.
Daniel Stenberg [Sat, 5 Jan 2013 22:49:29 +0000 (23:49 +0100)]
mk-ca-bundle.1: mention new -f, fix outputfile output
also edited a few sentences to become more verbose
Daniel Stenberg [Sat, 5 Jan 2013 22:29:04 +0000 (23:29 +0100)]
mk-ca-bundle: add -f, support passing to stdout and more
1. When the downloaded data file from Mozilla is current, but the output
bundle does not exist: continue processing to create the bundle. The
goal is to have the output file - not just download the latest input.
2. added -f option to force re-processing the file. Useful for
debugging/testing the process.
3. added support for output to '-' (stdout), allowing the output to be
piped.
4. All progress and error messages go to STDERR rather than STDOUT (3)
5. The script opened and closed the output file many times
unnecessarily. It now opens it once, does the output and closes it.
6. Backup of the input files happens after successful processing, not
before.
7. The output is written to a temporary file, and renamed to the
requested name after backup - this greatly reduces the window where the
file can be seen partially written.
8. all die calls have a \n at the end to suppress perl's traceback - the
traceback isn't useful to end users.
Patch: http://curl.haxx.se/mail/lib-2013-01/0045.html
Yang Tse [Sat, 5 Jan 2013 12:40:34 +0000 (13:40 +0100)]
imap test server: fix typo in name of SELECT_imap() sub definition
IMAP test server breaking typo introduced with commit
b708a522a1
Steve Holme [Fri, 4 Jan 2013 13:15:10 +0000 (13:15 +0000)]
imap test server: Added support for the CAPABILITY command
Added support for the CAPABILITY command in preparation of upcoming
changes.
Daniel Stenberg [Wed, 7 Nov 2012 22:30:25 +0000 (23:30 +0100)]
writeout: -w now supports remote_ip/port and local_ip/port
Added mention to the curl.1 man page.
Test case 1223 verifies remote_ip/port.
Yang Tse [Thu, 3 Jan 2013 11:40:55 +0000 (12:40 +0100)]
test 1222: 8 chars object name generation && test 1221: adjustments
Daniel Stenberg [Thu, 3 Jan 2013 11:58:45 +0000 (12:58 +0100)]
INTERNALS: remove "footnote" never used
Yang Tse [Thu, 3 Jan 2013 09:52:56 +0000 (10:52 +0100)]
build: commit
13606bbfde follow-up 1
Daniel Stenberg [Thu, 3 Jan 2013 09:15:02 +0000 (10:15 +0100)]
FAQ: Can I write a server with libcurl?
Yang Tse [Thu, 3 Jan 2013 05:13:18 +0000 (06:13 +0100)]
build: rename 93 lib/*.c files
93 lib/*.c source files renamed to use our standard naming scheme.
This commit only does the file renaming.
----------------------------------------
renamed: lib/amigaos.c -> lib/curl_amigaos.c
renamed: lib/asyn-ares.c -> lib/curl_asyn_ares.c
renamed: lib/asyn-thread.c -> lib/curl_asyn_thread.c
renamed: lib/axtls.c -> lib/curl_axtls.c
renamed: lib/base64.c -> lib/curl_base64.c
renamed: lib/bundles.c -> lib/curl_bundles.c
renamed: lib/conncache.c -> lib/curl_conncache.c
renamed: lib/connect.c -> lib/curl_connect.c
renamed: lib/content_encoding.c -> lib/curl_content_encoding.c
renamed: lib/cookie.c -> lib/curl_cookie.c
renamed: lib/cyassl.c -> lib/curl_cyassl.c
renamed: lib/dict.c -> lib/curl_dict.c
renamed: lib/easy.c -> lib/curl_easy.c
renamed: lib/escape.c -> lib/curl_escape.c
renamed: lib/file.c -> lib/curl_file.c
renamed: lib/fileinfo.c -> lib/curl_fileinfo.c
renamed: lib/formdata.c -> lib/curl_formdata.c
renamed: lib/ftp.c -> lib/curl_ftp.c
renamed: lib/ftplistparser.c -> lib/curl_ftplistparser.c
renamed: lib/getenv.c -> lib/curl_getenv.c
renamed: lib/getinfo.c -> lib/curl_getinfo.c
renamed: lib/gopher.c -> lib/curl_gopher.c
renamed: lib/gtls.c -> lib/curl_gtls.c
renamed: lib/hash.c -> lib/curl_hash.c
renamed: lib/hmac.c -> lib/curl_hmac.c
renamed: lib/hostasyn.c -> lib/curl_hostasyn.c
renamed: lib/hostcheck.c -> lib/curl_hostcheck.c
renamed: lib/hostip.c -> lib/curl_hostip.c
renamed: lib/hostip4.c -> lib/curl_hostip4.c
renamed: lib/hostip6.c -> lib/curl_hostip6.c
renamed: lib/hostsyn.c -> lib/curl_hostsyn.c
renamed: lib/http.c -> lib/curl_http.c
renamed: lib/http_chunks.c -> lib/curl_http_chunks.c
renamed: lib/http_digest.c -> lib/curl_http_digest.c
renamed: lib/http_negotiate.c -> lib/curl_http_negotiate.c
renamed: lib/http_negotiate_sspi.c -> lib/curl_http_negotiate_sspi.c
renamed: lib/http_proxy.c -> lib/curl_http_proxy.c
renamed: lib/idn_win32.c -> lib/curl_idn_win32.c
renamed: lib/if2ip.c -> lib/curl_if2ip.c
renamed: lib/imap.c -> lib/curl_imap.c
renamed: lib/inet_ntop.c -> lib/curl_inet_ntop.c
renamed: lib/inet_pton.c -> lib/curl_inet_pton.c
renamed: lib/krb4.c -> lib/curl_krb4.c
renamed: lib/krb5.c -> lib/curl_krb5.c
renamed: lib/ldap.c -> lib/curl_ldap.c
renamed: lib/llist.c -> lib/curl_llist.c
renamed: lib/md4.c -> lib/curl_md4.c
renamed: lib/md5.c -> lib/curl_md5.c
renamed: lib/memdebug.c -> lib/curl_memdebug.c
renamed: lib/mprintf.c -> lib/curl_mprintf.c
renamed: lib/multi.c -> lib/curl_multi.c
renamed: lib/netrc.c -> lib/curl_netrc.c
renamed: lib/non-ascii.c -> lib/curl_non_ascii.c
renamed: lib/curl_non-ascii.h -> lib/curl_non_ascii.h
renamed: lib/nonblock.c -> lib/curl_nonblock.c
renamed: lib/nss.c -> lib/curl_nss.c
renamed: lib/nwlib.c -> lib/curl_nwlib.c
renamed: lib/nwos.c -> lib/curl_nwos.c
renamed: lib/openldap.c -> lib/curl_openldap.c
renamed: lib/parsedate.c -> lib/curl_parsedate.c
renamed: lib/pingpong.c -> lib/curl_pingpong.c
renamed: lib/polarssl.c -> lib/curl_polarssl.c
renamed: lib/pop3.c -> lib/curl_pop3.c
renamed: lib/progress.c -> lib/curl_progress.c
renamed: lib/qssl.c -> lib/curl_qssl.c
renamed: lib/rawstr.c -> lib/curl_rawstr.c
renamed: lib/rtsp.c -> lib/curl_rtsp.c
renamed: lib/security.c -> lib/curl_security.c
renamed: lib/select.c -> lib/curl_select.c
renamed: lib/sendf.c -> lib/curl_sendf.c
renamed: lib/share.c -> lib/curl_share.c
renamed: lib/slist.c -> lib/curl_slist.c
renamed: lib/smtp.c -> lib/curl_smtp.c
renamed: lib/socks.c -> lib/curl_socks.c
renamed: lib/socks_gssapi.c -> lib/curl_socks_gssapi.c
renamed: lib/socks_sspi.c -> lib/curl_socks_sspi.c
renamed: lib/speedcheck.c -> lib/curl_speedcheck.c
renamed: lib/splay.c -> lib/curl_splay.c
renamed: lib/ssh.c -> lib/curl_ssh.c
renamed: lib/sslgen.c -> lib/curl_sslgen.c
renamed: lib/ssluse.c -> lib/curl_ssluse.c
renamed: lib/strdup.c -> lib/curl_strdup.c
renamed: lib/strequal.c -> lib/curl_strequal.c
renamed: lib/strerror.c -> lib/curl_strerror.c
renamed: lib/strtok.c -> lib/curl_strtok.c
renamed: lib/strtoofft.c -> lib/curl_strtoofft.c
renamed: lib/telnet.c -> lib/curl_telnet.c
renamed: lib/tftp.c -> lib/curl_tftp.c
renamed: lib/timeval.c -> lib/curl_timeval.c
renamed: lib/transfer.c -> lib/curl_transfer.c
renamed: lib/url.c -> lib/curl_url.c
renamed: lib/version.c -> lib/curl_version.c
renamed: lib/warnless.c -> lib/curl_warnless.c
renamed: lib/wildcard.c -> lib/curl_wildcard.c
----------------------------------------
Yang Tse [Thu, 3 Jan 2013 02:53:06 +0000 (03:53 +0100)]
build: make use of 93 lib/*.c renamed files
93 *.c source files renamed to use our standard naming scheme.
This change affects 77 files in libcurl's source tree.
Daniel Stenberg [Wed, 2 Jan 2013 23:04:08 +0000 (00:04 +0100)]
INSTALL: unify the SSL library texts
Make them smaller and more similar for each separate SSL library
supported by the configure build
Yang Tse [Wed, 2 Jan 2013 21:27:36 +0000 (22:27 +0100)]
curl_setup.h: remove redundant include guard
Yang Tse [Wed, 2 Jan 2013 19:12:15 +0000 (20:12 +0100)]
build and tests: curl_10char_object_name() shell function
lib/objnames.inc provides definition of curl_10char_object_name() shell
function. The intended purpose of this function is to transliterate a
(*.c) source file name that may be longer than 10 characters, or not,
into a string with at most 10 characters which may be used as an OS/400
object name.
Test case 1221 does unit testng of this function and also verifies
that it is possible to generate distinct short object names for all
curl and libcurl *.c source file names.
lib/objnames-test.sh is the shell script used for test case 1221.
tests/runtests.pl modified to accept shell script test cases.
More details inside lib/objnames.inc and lib/objnames-test.sh
Yang Tse [Tue, 1 Jan 2013 18:24:54 +0000 (19:24 +0100)]
configure.ac: replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS
automake 1.13 errors if AM_CONFIG_HEADER is used in configure script.
automake 1.13 no longer autoupdates AM_CONFIG_HEADER to
AC_CONFIG_HEADERS, thing which automake has been doing since automake
version 1.7
Given that our first automake supported version is automake 1.7,
simply replacing AM_CONFIG_HEADER usage with AC_CONFIG_HEADERS seems
enough to yet support same automake versions.
Dave Reisner reported issue with 1.13 and provided patch.
http://curl.haxx.se/mail/lib-2012-12/0246.html
Yang Tse [Tue, 1 Jan 2013 16:26:32 +0000 (17:26 +0100)]
curl-override.m4: provide AC_CONFIG_MACRO_DIR definition conditionally
Provide a 'traceable' AC_CONFIG_MACRO_DIR definition only when using
an autoconf version that does not provide it, instead of what we were
doing up to now of providing and overriding AC_CONFIG_MACRO_DIR for
all autoconf versions.
Steve Holme [Sun, 30 Dec 2012 12:46:45 +0000 (12:46 +0000)]
imap.c: Minor follow up tidy up
Steve Holme [Sun, 30 Dec 2012 12:44:09 +0000 (12:44 +0000)]
imap: Code tidy up prior to adding support for the CAPABILITY command
* Changing the order of the state machine to represent the order in
which commands are sent to the server.
* Reworking the imap_endofresp() function as the FETCH response doesn't
include the command id and shouldn't be part of the length comparison
that takes into account the id string.
Steve Holme [Sat, 29 Dec 2012 23:26:17 +0000 (23:26 +0000)]
pop3_doing: Applied debug info message when function fails
Applied the same debug message as used in smtp_doing() and imap_doing()
when pop3_multi_statemach() fails.
Steve Holme [Sat, 29 Dec 2012 23:15:05 +0000 (23:15 +0000)]
imap_doing: don't call imap_dophase_done() if already failed
Applied the POP3 fix from commit
2897ce7dc2e1 so imap_dophase_done()
isn't called if imap_multi_statemach() fails.
Steve Holme [Sat, 29 Dec 2012 23:06:25 +0000 (23:06 +0000)]
smtp_doing: don't call smtp_dophase_done() if already failed
Applied the POP3 fix from commit
2897ce7dc2e1 so smtp_dophase_done()
isn't called if smtp_multi_statemach() fails.
Yang Tse [Sat, 29 Dec 2012 01:57:08 +0000 (02:57 +0100)]
examples/certinfo.c: fix compiler warning
Steve Holme [Sat, 29 Dec 2012 19:39:06 +0000 (19:39 +0000)]
pop3.c: Removed unnecessary POP3_STOP state changes
Removed unnecessary state changes in pop3_state_starttls_resp()
following previous fix in IMAP module.
Steve Holme [Sat, 29 Dec 2012 19:28:32 +0000 (19:28 +0000)]
smtp.c: Added extra comments around SMTP_STOP state change
Provided extra comments in the SMTP module following previous IMAP fix.
Steve Holme [Sat, 29 Dec 2012 19:23:10 +0000 (19:23 +0000)]
imap.c: Fixed bad state error when logging in with invalid credentials
Fixed a problem with the state machine when attempting to log in with
invalid credentials. The server would report login failure but libcurl
would not read the response due to inappropriate IMAP_STOP states being
set after the login was sent.
Yang Tse [Fri, 28 Dec 2012 23:59:11 +0000 (00:59 +0100)]
imap.c: remove trailing whitespace
Steve Holme [Fri, 28 Dec 2012 21:41:28 +0000 (21:41 +0000)]
imap.c: Code tidy up - Part 2
Steve Holme [Fri, 28 Dec 2012 21:24:36 +0000 (21:24 +0000)]
imap.c: Code tidy up - Part 1
Applied some of the comment and layout changes that had already been
applied to the pop3 and smtp code over the last 6 to 9 months.
This is in preparation of adding SASL based authentication.
Steve Holme [Fri, 28 Dec 2012 20:30:04 +0000 (20:30 +0000)]
pop3.c: Minor code tidy up
Minor tidy up of comments and layout prior to next part of imap work.
Steve Holme [Fri, 28 Dec 2012 20:22:33 +0000 (20:22 +0000)]
smtp: Minor code tidy up
Minor tidy up of comments and layout prior to next part of imap work.
Steve Holme [Fri, 28 Dec 2012 19:59:14 +0000 (19:59 +0000)]
curl_imap.h: Tidy up of comments to be more readable
Steve Holme [Fri, 28 Dec 2012 19:48:00 +0000 (19:48 +0000)]
imap.c: Code tidy up renaming imapsendf() to imap_sendf()
Renamed imapsendf() to imap_sendf() to be more in keeping with the
other imap functions as well as Curl_pp_sendf() that it replaces.
Yang Tse [Fri, 28 Dec 2012 19:21:56 +0000 (20:21 +0100)]
build: rename 76 lib/*.h files
76 private header files renamed to use our standard naming scheme.
This commit only does the file renaming.
----------------------------------------
renamed: amigaos.h -> curl_amigaos.h
renamed: arpa_telnet.h -> curl_arpa_telnet.h
renamed: asyn.h -> curl_asyn.h
renamed: axtls.h -> curl_axtls.h
renamed: bundles.h -> curl_bundles.h
renamed: conncache.h -> curl_conncache.h
renamed: connect.h -> curl_connect.h
renamed: content_encoding.h -> curl_content_encoding.h
renamed: cookie.h -> curl_cookie.h
renamed: cyassl.h -> curl_cyassl.h
renamed: dict.h -> curl_dict.h
renamed: easyif.h -> curl_easyif.h
renamed: escape.h -> curl_escape.h
renamed: file.h -> curl_file.h
renamed: fileinfo.h -> curl_fileinfo.h
renamed: formdata.h -> curl_formdata.h
renamed: ftp.h -> curl_ftp.h
renamed: ftplistparser.h -> curl_ftplistparser.h
renamed: getinfo.h -> curl_getinfo.h
renamed: gopher.h -> curl_gopher.h
renamed: gtls.h -> curl_gtls.h
renamed: hash.h -> curl_hash.h
renamed: hostcheck.h -> curl_hostcheck.h
renamed: hostip.h -> curl_hostip.h
renamed: http.h -> curl_http.h
renamed: http_chunks.h -> curl_http_chunks.h
renamed: http_digest.h -> curl_http_digest.h
renamed: http_negotiate.h -> curl_http_negotiate.h
renamed: http_proxy.h -> curl_http_proxy.h
renamed: if2ip.h -> curl_if2ip.h
renamed: imap.h -> curl_imap.h
renamed: inet_ntop.h -> curl_inet_ntop.h
renamed: inet_pton.h -> curl_inet_pton.h
renamed: krb4.h -> curl_krb4.h
renamed: llist.h -> curl_llist.h
renamed: memdebug.h -> curl_memdebug.h
renamed: multiif.h -> curl_multiif.h
renamed: netrc.h -> curl_netrc.h
renamed: non-ascii.h -> curl_non-ascii.h
renamed: nonblock.h -> curl_nonblock.h
renamed: nssg.h -> curl_nssg.h
renamed: parsedate.h -> curl_parsedate.h
renamed: pingpong.h -> curl_pingpong.h
renamed: polarssl.h -> curl_polarssl.h
renamed: pop3.h -> curl_pop3.h
renamed: progress.h -> curl_progress.h
renamed: qssl.h -> curl_qssl.h
renamed: rawstr.h -> curl_rawstr.h
renamed: rtsp.h -> curl_rtsp.h
renamed: select.h -> curl_select.h
renamed: sendf.h -> curl_sendf.h
renamed: setup.h -> curl_setup.h
renamed: setup_once.h -> curl_setup_once.h
renamed: share.h -> curl_share.h
renamed: slist.h -> curl_slist.h
renamed: smtp.h -> curl_smtp.h
renamed: sockaddr.h -> curl_sockaddr.h
renamed: socks.h -> curl_socks.h
renamed: speedcheck.h -> curl_speedcheck.h
renamed: splay.h -> curl_splay.h
renamed: ssh.h -> curl_ssh.h
renamed: sslgen.h -> curl_sslgen.h
renamed: ssluse.h -> curl_ssluse.h
renamed: strdup.h -> curl_strdup.h
renamed: strequal.h -> curl_strequal.h
renamed: strerror.h -> curl_strerror.h
renamed: strtok.h -> curl_strtok.h
renamed: strtoofft.h -> curl_strtoofft.h
renamed: telnet.h -> curl_telnet.h
renamed: tftp.h -> curl_tftp.h
renamed: timeval.h -> curl_timeval.h
renamed: transfer.h -> curl_transfer.h
renamed: url.h -> curl_url.h
renamed: urldata.h -> curl_urldata.h
renamed: warnless.h -> curl_warnless.h
renamed: wildcard.h -> curl_wildcard.h
----------------------------------------
Yang Tse [Fri, 28 Dec 2012 11:40:20 +0000 (12:40 +0100)]
build: make use of 76 lib/*.h renamed files
76 private header files renamed to use our standard naming scheme.
This change affects 322 files in libcurl's source tree.
Yang Tse [Fri, 28 Dec 2012 11:03:09 +0000 (12:03 +0100)]
lib/*.h: use our standard naming scheme for header inclusion guards
Steve Holme [Fri, 28 Dec 2012 14:49:30 +0000 (14:49 +0000)]
imsp.c: Fixed usernames and passwords that contain escape characters
Fixed a problem with sending usernames and passwords that contain
backslash, quotation mark and space characters.
Daniel Stenberg [Thu, 27 Dec 2012 22:33:14 +0000 (23:33 +0100)]
curl.1: extend the -X, --request description
Daniel Stenberg [Thu, 27 Dec 2012 19:15:07 +0000 (20:15 +0100)]
RELEASE-NOTES: synced with
e3ed2b82e6
Nick Zitzmann [Thu, 27 Dec 2012 01:29:50 +0000 (17:29 -0800)]
darwinssl: Fixed inability to disable peer verification
... on Snow Leopard and Lion
Snow Leopard introduced the SSLSetSessionOption() function, but it
doesn't disable peer verification as expected on Snow Leopard or
Lion (it works as expected in Mountain Lion). So we now use sysctl()
to detect whether or not the user is using Snow Leopard or Lion,
and if that's the case, then we now use the deprecated
SSLSetEnableCertVerify() function instead to disable peer verification.
Yang Tse [Wed, 26 Dec 2012 22:34:41 +0000 (23:34 +0100)]
curl tool: rename hugehelp files to tool_hugehelp
Yang Tse [Wed, 26 Dec 2012 22:30:54 +0000 (23:30 +0100)]
curl tool: renaming hugehelp files to tool_hugehelp
Yang Tse [Wed, 26 Dec 2012 19:03:35 +0000 (20:03 +0100)]
sockfilt.c: commit
b44da5a82a follow-up 2
Yang Tse [Wed, 26 Dec 2012 18:30:22 +0000 (19:30 +0100)]
sockfilt.c: commit
b44da5a82a follow-up
Yang Tse [Wed, 26 Dec 2012 16:17:52 +0000 (17:17 +0100)]
sockfilt.c: fix some compiler warnings
Yang Tse [Wed, 26 Dec 2012 05:00:59 +0000 (06:00 +0100)]
curl_multi_remove_handle: commit
0aabfd9963 follow-up
Daniel Stenberg [Sun, 2 Dec 2012 10:17:12 +0000 (11:17 +0100)]
lib556: enable VERBOSE to ease debugging on failures
Marc Hoersken [Tue, 25 Dec 2012 14:18:01 +0000 (15:18 +0100)]
socklift.c: Quick fix to re-add missing code
Marc Hoersken [Tue, 25 Dec 2012 14:15:24 +0000 (15:15 +0100)]
socklift.c: Added select_ws function to support Windows
WinSock select() does not support standard file descriptors,
it can only check SOCKETs. The following function is an attempt
to create a select() function with support for other handles.
Yang Tse [Tue, 25 Dec 2012 12:32:47 +0000 (13:32 +0100)]
Enable tests 1503, 1504 and 1505
Yang Tse [Tue, 25 Dec 2012 12:31:26 +0000 (13:31 +0100)]
curl_multi_remove_handle: fix memory leak triggered with CURLOPT_RESOLVE
Yang Tse [Tue, 25 Dec 2012 12:30:41 +0000 (13:30 +0100)]
Curl_hash_clean: OOM handling fix
Yang Tse [Mon, 24 Dec 2012 13:04:34 +0000 (14:04 +0100)]
test 1504 and 1505: same as 1502 but with different cleanup sequences
Daniel Stenberg [Tue, 11 Dec 2012 19:13:29 +0000 (20:13 +0100)]
Curl_conncache_foreach: allow callback to break loop
... and have it take a proper 'struct connectdata *' as first argument
Daniel Stenberg [Sat, 15 Dec 2012 14:31:38 +0000 (15:31 +0100)]
pop3_doing: don't call pop3_dophase_done() if already failed
... it also clobbered the 'result' return value so that it wouldn't
return the error back to the parent function properly, which broke test
809 when run with 'multi-always'.
Yang Tse [Sun, 23 Dec 2012 20:33:26 +0000 (21:33 +0100)]
test 1503: same as 1502 but with a different cleanup sequence
Yang Tse [Sun, 23 Dec 2012 20:22:03 +0000 (21:22 +0100)]
test 1502: OOM handling fixes
Yang Tse [Sun, 23 Dec 2012 20:10:45 +0000 (21:10 +0100)]
curl_multi_wait: OOM handling fix
Daniel Stenberg [Sun, 23 Dec 2012 20:06:40 +0000 (21:06 +0100)]
curl_multi_wait: avoid an unnecessary memory allocation
Yang Tse [Fri, 21 Dec 2012 23:26:03 +0000 (00:26 +0100)]
runtests.pl: prepend $srcdir to HTTPTLS server config files path
Yang Tse [Fri, 21 Dec 2012 18:48:07 +0000 (19:48 +0100)]
multi.c: OOM handling fix
Yang Tse [Fri, 21 Dec 2012 17:32:20 +0000 (18:32 +0100)]
lib543.c: OOM handling fixes
Yang Tse [Fri, 21 Dec 2012 16:26:19 +0000 (17:26 +0100)]
configure: add internal sanity check (warn only) on vars for makefiles
Daniel Stenberg [Fri, 21 Dec 2012 13:38:33 +0000 (14:38 +0100)]
SCP: relative path didn't work
When prefixing a path with /~/ it is supposed to be used relative to the
user's home directory but it didn't work. Now we cut off the entire
three byte sequenct "/~/" which seems to be how OpenSSH does it.
Bug: http://curl.haxx.se/bug/view.cgi?id=1173
Reported by: Balaji Parasuram
Yang Tse [Fri, 21 Dec 2012 12:00:00 +0000 (13:00 +0100)]
configure: LIBMETALINK_CFLAGS actually is LIBMETALINK_CPPFLAGS
Yang Tse [Thu, 20 Dec 2012 16:13:21 +0000 (17:13 +0100)]
configure: add minimal sanity check on user provided CFLAGS and CPPFLAGS
Yang Tse [Wed, 19 Dec 2012 18:52:11 +0000 (19:52 +0100)]
bundles connection caching: some out of memory handling fixes
Yang Tse [Wed, 19 Dec 2012 18:51:20 +0000 (19:51 +0100)]
libntlmconnect.c: fix compiler warnings and OOM handling
Yang Tse [Wed, 19 Dec 2012 15:08:07 +0000 (16:08 +0100)]
configure.ac: clear local test intended variables before use
Yang Tse [Tue, 18 Dec 2012 12:05:54 +0000 (13:05 +0100)]
VC6 IDE: link with advapi32.lib when using WIN32 crypto API (md5.c)
Yang Tse [Mon, 17 Dec 2012 15:31:24 +0000 (16:31 +0100)]
curl-functions.m4: improve gethostname arg 2 data type check