platform/upstream/curl.git
19 years agostricter newline policy
Daniel Stenberg [Mon, 29 Nov 2004 12:01:07 +0000 (12:01 +0000)]
stricter newline policy

19 years agospell
Daniel Stenberg [Mon, 29 Nov 2004 08:47:33 +0000 (08:47 +0000)]
spell

19 years agoif gmtime() returns NULL, this returns -1 to bail out nicely
Daniel Stenberg [Mon, 29 Nov 2004 08:10:10 +0000 (08:10 +0000)]
if gmtime() returns NULL, this returns -1 to bail out nicely

19 years agoremoved one we won't do, removed the CWD optimize as it is (partly) done
Daniel Stenberg [Sun, 28 Nov 2004 13:04:34 +0000 (13:04 +0000)]
removed one we won't do, removed the CWD optimize as it is (partly) done

19 years agoadd more info to the stderr output
Daniel Stenberg [Sun, 28 Nov 2004 08:57:03 +0000 (08:57 +0000)]
add more info to the stderr output

19 years agotypecast the coversion from long to int
Daniel Stenberg [Sat, 27 Nov 2004 09:27:48 +0000 (09:27 +0000)]
typecast the coversion from long to int

19 years agoprogress meter newline
Daniel Stenberg [Fri, 26 Nov 2004 21:35:14 +0000 (21:35 +0000)]
progress meter newline

19 years agoI changed my mind. Remove ioctl() macro in setup.h instead.
Gisle Vanem [Fri, 26 Nov 2004 16:08:15 +0000 (16:08 +0000)]
I changed my mind. Remove ioctl() macro in setup.h instead.

19 years agoAdded anyauthput.exe.
Gisle Vanem [Fri, 26 Nov 2004 15:04:15 +0000 (15:04 +0000)]
Added anyauthput.exe.

19 years agoRenamed urldata.h members 'ioctl*' to 'ioctrl*' due to
Gisle Vanem [Fri, 26 Nov 2004 14:57:01 +0000 (14:57 +0000)]
Renamed urldata.h members 'ioctl*' to 'ioctrl*' due to
clash with djgpp ioctl() macro in setup.h.

19 years agoAs reported in Mandrake's bug tracker bug 12289
Daniel Stenberg [Fri, 26 Nov 2004 14:33:13 +0000 (14:33 +0000)]
As reported in Mandrake's bug tracker bug 12289
(http://qa.mandrakesoft.com/show_bug.cgi?id=12289), curl would print a newline
to "finish" the progress meter after each redirect and not only after a
completed transfer.

19 years agoremoved no longer used variable
Daniel Stenberg [Fri, 26 Nov 2004 08:52:18 +0000 (08:52 +0000)]
removed no longer used variable

19 years agolast-second-before-commit changes corrected
Daniel Stenberg [Fri, 26 Nov 2004 08:41:39 +0000 (08:41 +0000)]
last-second-before-commit changes corrected

19 years agoFTP improvements:
Daniel Stenberg [Thu, 25 Nov 2004 22:21:49 +0000 (22:21 +0000)]
FTP improvements:

If EPSV, EPRT or LPRT is tried and doesn't work, it will not be retried on
the same server again even if a following request is made using a persistent
connection.

If a second request is made to a server, requesting a file from the same
directory as the previous request operated on, libcurl will no longer make
that long series of CWD commands just to end up on the same spot. Note that
this is only for *exactly* the same dir. There is still room for improvements
to optimize the CWD-sending when the dirs are only slightly different.

Added test 210, 211 and 212 to verify these changes. Had to improve the
test script too and added a new primitive to the test file format.

19 years agomade the code fit within 80 cols
Daniel Stenberg [Thu, 25 Nov 2004 16:49:14 +0000 (16:49 +0000)]
made the code fit within 80 cols

19 years agomingw _has_ a ftruncate() but it doesn't work with 64bit file sizes so we
Daniel Stenberg [Wed, 24 Nov 2004 22:11:18 +0000 (22:11 +0000)]
mingw _has_ a ftruncate() but it doesn't work with 64bit file sizes so we
can just safely pretend we don't have one

19 years agoProvide a 64-bit capable ftruncate(). MingW has one, but
Gisle Vanem [Wed, 24 Nov 2004 19:34:25 +0000 (19:34 +0000)]
Provide a 64-bit capable ftruncate(). MingW has one, but
it takes only 32-bit offsets.

19 years agoadded missing new error string
Daniel Stenberg [Wed, 24 Nov 2004 18:25:33 +0000 (18:25 +0000)]
added missing new error string

19 years agomingw has a ftruncate() function
Daniel Stenberg [Wed, 24 Nov 2004 16:16:36 +0000 (16:16 +0000)]
mingw has a ftruncate() function

19 years agoHTTP "auth done right". See lib/README.httpauth
Daniel Stenberg [Wed, 24 Nov 2004 16:11:35 +0000 (16:11 +0000)]
HTTP "auth done right". See lib/README.httpauth

19 years agodecided to skip the MSVC makefile fixes, nobody seems to really want them
Daniel Stenberg [Wed, 24 Nov 2004 16:08:41 +0000 (16:08 +0000)]
decided to skip the MSVC makefile fixes, nobody seems to really want them
and they are rather excessive

19 years agoAndrés García fixed the configure script to detect select properly when run
Daniel Stenberg [Wed, 24 Nov 2004 15:49:43 +0000 (15:49 +0000)]
Andrés García fixed the configure script to detect select properly when run
with Msys/Mingw on Windows.

19 years agoClarify the static vs. import lib issue on Win32.
Gisle Vanem [Wed, 24 Nov 2004 15:14:42 +0000 (15:14 +0000)]
Clarify the static vs. import lib issue on Win32.

19 years agoadded a bunch of people who really deserve to be here
Daniel Stenberg [Tue, 23 Nov 2004 22:15:49 +0000 (22:15 +0000)]
added a bunch of people who really deserve to be here

19 years agooops, use the precheck too!
Daniel Stenberg [Tue, 23 Nov 2004 10:05:10 +0000 (10:05 +0000)]
oops, use the precheck too!

19 years agocut out release with no issue to fix
Daniel Stenberg [Tue, 23 Nov 2004 09:52:56 +0000 (09:52 +0000)]
cut out release with no issue to fix

19 years agointroducing the client/precheck concept to allow test 518 to *only* run when
Daniel Stenberg [Tue, 23 Nov 2004 09:50:16 +0000 (09:50 +0000)]
introducing the client/precheck concept to allow test 518 to *only* run when
it actually can run and test the FD_SETSIZE stuff it is meant to test

19 years agoyet another binding
Daniel Stenberg [Tue, 23 Nov 2004 09:22:23 +0000 (09:22 +0000)]
yet another binding

19 years agoDavid Phillips fix for test 518 and my extension to make it not run on
Daniel Stenberg [Mon, 22 Nov 2004 22:26:46 +0000 (22:26 +0000)]
David Phillips fix for test 518 and my extension to make it not run on
systems that can't run it fine.

19 years agotrying a version with URLs for all function calls
Daniel Stenberg [Mon, 22 Nov 2004 16:24:46 +0000 (16:24 +0000)]
trying a version with URLs for all function calls

19 years agoissue 52 is fixed, I work on 51
Daniel Stenberg [Mon, 22 Nov 2004 15:49:17 +0000 (15:49 +0000)]
issue 52 is fixed, I work on 51

19 years agoremoved trailing whitespace
Daniel Stenberg [Mon, 22 Nov 2004 14:41:36 +0000 (14:41 +0000)]
removed trailing whitespace

19 years agoremoved unused variable and trailing whitespace
Daniel Stenberg [Mon, 22 Nov 2004 14:41:24 +0000 (14:41 +0000)]
removed unused variable and trailing whitespace

19 years agoremove curl_ prefix from functions not present in libcurl
Daniel Stenberg [Mon, 22 Nov 2004 14:07:23 +0000 (14:07 +0000)]
remove curl_ prefix from functions not present in libcurl

19 years agore-indented to curl style
Daniel Stenberg [Mon, 22 Nov 2004 13:48:35 +0000 (13:48 +0000)]
re-indented to curl style

19 years agorenamed curl_thread to my_thread to avoid confusion
Daniel Stenberg [Mon, 22 Nov 2004 13:43:52 +0000 (13:43 +0000)]
renamed curl_thread to my_thread to avoid confusion

19 years agoadd URLs in comments for all libcurl function calls
Daniel Stenberg [Mon, 22 Nov 2004 13:39:23 +0000 (13:39 +0000)]
add URLs in comments for all libcurl function calls

19 years agoCurl_select's timeout arg is an int
Daniel Stenberg [Mon, 22 Nov 2004 13:28:44 +0000 (13:28 +0000)]
Curl_select's timeout arg is an int

19 years agothe FD_SETSIZE problem is fixed
Daniel Stenberg [Sun, 21 Nov 2004 23:13:13 +0000 (23:13 +0000)]
the FD_SETSIZE problem is fixed

19 years agoThe FD_SETSIZE issue is already sorted, at least internally. We still need
Daniel Stenberg [Sun, 21 Nov 2004 13:18:36 +0000 (13:18 +0000)]
The FD_SETSIZE issue is already sorted, at least internally. We still need
to provide a better multi-API to allow apps to avoid select().

19 years agoadded comment for windows people about READFUNCTION being needed
Daniel Stenberg [Sun, 21 Nov 2004 12:42:28 +0000 (12:42 +0000)]
added comment for windows people about READFUNCTION being needed

19 years agoDan Fandrich fix to compile with libc5
Daniel Stenberg [Sat, 20 Nov 2004 08:57:56 +0000 (08:57 +0000)]
Dan Fandrich fix to compile with libc5

19 years agoEnable >2GB files for MingW.
Gisle Vanem [Fri, 19 Nov 2004 15:15:52 +0000 (15:15 +0000)]
Enable >2GB files for MingW.

19 years agoSuppress signed vs. unsigned warnings on Win32
Gisle Vanem [Fri, 19 Nov 2004 14:38:02 +0000 (14:38 +0000)]
Suppress signed vs. unsigned warnings on Win32

19 years agoCurl_select() now uses curl_socket_t on socket arguments
Daniel Stenberg [Fri, 19 Nov 2004 14:03:19 +0000 (14:03 +0000)]
Curl_select() now uses curl_socket_t on socket arguments

19 years agoifdef for portable "/dev/null".
Gisle Vanem [Fri, 19 Nov 2004 13:50:41 +0000 (13:50 +0000)]
ifdef for portable "/dev/null".

19 years agoWinsock sockets are not in range 0..FD_SETSIZE.
Gisle Vanem [Fri, 19 Nov 2004 13:46:58 +0000 (13:46 +0000)]
Winsock sockets are not in range 0..FD_SETSIZE.
Shouldn't Curl_select() use curl_socket_t ?

19 years agoadd select.obj
Daniel Stenberg [Fri, 19 Nov 2004 13:45:46 +0000 (13:45 +0000)]
add select.obj

19 years agoDavid Phillips' FD_SETSIZE fix
Daniel Stenberg [Fri, 19 Nov 2004 08:52:33 +0000 (08:52 +0000)]
David Phillips' FD_SETSIZE fix

19 years agoDan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and
Daniel Stenberg [Thu, 18 Nov 2004 14:04:40 +0000 (14:04 +0000)]
Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and
errors.

19 years agoAdded revision tag.
Gisle Vanem [Tue, 16 Nov 2004 17:15:07 +0000 (17:15 +0000)]
Added revision tag.

19 years agoAdded README.httpauth to the dist
Daniel Stenberg [Tue, 16 Nov 2004 14:24:54 +0000 (14:24 +0000)]
Added README.httpauth to the dist

19 years agosaved for the future
Daniel Stenberg [Tue, 16 Nov 2004 14:02:24 +0000 (14:02 +0000)]
saved for the future

19 years agomention the openssl callbacks for SSL multithread
Daniel Stenberg [Tue, 16 Nov 2004 08:49:51 +0000 (08:49 +0000)]
mention the openssl callbacks for SSL multithread

19 years agoadded test case 517: 22 tests of the curl_getdate() function
Daniel Stenberg [Mon, 15 Nov 2004 21:49:35 +0000 (21:49 +0000)]
added test case 517: 22 tests of the curl_getdate() function

19 years agotiny format fix for nicer man output
Daniel Stenberg [Mon, 15 Nov 2004 21:41:21 +0000 (21:41 +0000)]
tiny format fix for nicer man output

19 years agoclean up start time and t_startsingle use so that redirect_time works properly
Daniel Stenberg [Mon, 15 Nov 2004 11:27:03 +0000 (11:27 +0000)]
clean up start time and t_startsingle use so that redirect_time works properly

19 years agonew -w variables supported
Daniel Stenberg [Mon, 15 Nov 2004 11:25:39 +0000 (11:25 +0000)]
new -w variables supported

19 years agoAdded top_srcdir.
Gisle Vanem [Mon, 15 Nov 2004 10:41:58 +0000 (10:41 +0000)]
Added top_srcdir.

19 years agoAdded revision id, test for USE_ARES.
Gisle Vanem [Mon, 15 Nov 2004 10:38:34 +0000 (10:38 +0000)]
Added revision id, test for USE_ARES.
Uses Makefile.inc.

19 years agobinding for R
Daniel Stenberg [Mon, 15 Nov 2004 08:54:29 +0000 (08:54 +0000)]
binding for R

19 years agoChanges for static/dynamic linking of libcurl.
Gisle Vanem [Sun, 14 Nov 2004 13:51:33 +0000 (13:51 +0000)]
Changes for static/dynamic linking of libcurl.
No need to generate a dummy sys/utime.h. Cleanup.

19 years agoBorland doesn't have <sys/utime.h>, utime() nor
Gisle Vanem [Sun, 14 Nov 2004 13:50:21 +0000 (13:50 +0000)]
Borland doesn't have <sys/utime.h>, utime() nor
_lseeki64().

19 years agoBorland doesn't have <sys/utime.h> nor utime().
Gisle Vanem [Sun, 14 Nov 2004 13:49:09 +0000 (13:49 +0000)]
Borland doesn't have <sys/utime.h> nor utime().

19 years agoStatic lib is libcurl.lib and import lib libcurl_imp.lib.
Gisle Vanem [Sun, 14 Nov 2004 13:48:15 +0000 (13:48 +0000)]
Static lib is libcurl.lib and import lib libcurl_imp.lib.
Added implib command. Cleanup

19 years agoDan fixed the CURL_DISABLE_VERBOSE_STRINGS stuff for older gcc versions since
Daniel Stenberg [Sat, 13 Nov 2004 21:57:33 +0000 (21:57 +0000)]
Dan fixed the CURL_DISABLE_VERBOSE_STRINGS stuff for older gcc versions since
they don't support C99 varargs macros.

19 years agoMingW/djgpp: Use GNU make's internal 'cd' to avoid shell-troubles.
Gisle Vanem [Sat, 13 Nov 2004 16:57:56 +0000 (16:57 +0000)]
MingW/djgpp: Use GNU make's internal 'cd' to avoid shell-troubles.

19 years agoFix location of timeval.c.
Gisle Vanem [Sat, 13 Nov 2004 16:55:53 +0000 (16:55 +0000)]
Fix location of timeval.c.

19 years agoUpdate comment.
Gisle Vanem [Sat, 13 Nov 2004 16:54:26 +0000 (16:54 +0000)]
Update comment.

19 years agoAdd "-DCURL_STATICLIB" for static build.
Gisle Vanem [Sat, 13 Nov 2004 15:47:17 +0000 (15:47 +0000)]
Add "-DCURL_STATICLIB" for static build.
Add ../lib/timeval.c for objects.

19 years agoRenamed import lib to "libcurl_imp.lib".
Gisle Vanem [Sat, 13 Nov 2004 14:17:41 +0000 (14:17 +0000)]
Renamed import lib to "libcurl_imp.lib".
Some cleanup and making it more readable.

19 years agoSet OpenSSL path to same as in ../lib/Makefile.vc6.
Gisle Vanem [Sat, 13 Nov 2004 14:17:24 +0000 (14:17 +0000)]
Set OpenSSL path to same as in ../lib/Makefile.vc6.
Import lib is now "libcurl_imp.lib".
Some cleanup and making it more readable.

19 years agoMSVC with static link must define CURL_STATICLIB.
Gisle Vanem [Fri, 12 Nov 2004 11:48:02 +0000 (11:48 +0000)]
MSVC with static link must define CURL_STATICLIB.
zlib path set to same as in lib/Makefile.vc6.

19 years agoNetware target (hosted on Linux gcc) doesn't support
Gisle Vanem [Fri, 12 Nov 2004 11:45:05 +0000 (11:45 +0000)]
Netware target (hosted on Linux gcc) doesn't support
or need __declspec.

19 years agoDan Fandrich added the --disable-crypto-auth option to configure to allow
Daniel Stenberg [Fri, 12 Nov 2004 09:18:14 +0000 (09:18 +0000)]
Dan Fandrich added the --disable-crypto-auth option to configure to allow
libcurl to build without Digest support. (I figure it should also explicitly
disable Negotiate and NTLM.)

19 years agoformat mistake fixed
Daniel Stenberg [Fri, 12 Nov 2004 06:42:30 +0000 (06:42 +0000)]
format mistake fixed

19 years agoDan Fandrich can spell, I cannot
Daniel Stenberg [Thu, 11 Nov 2004 23:13:59 +0000 (23:13 +0000)]
Dan Fandrich can spell, I cannot

19 years agoDan Fandrich: make --disable-dict actually disable dict
Daniel Stenberg [Thu, 11 Nov 2004 23:13:06 +0000 (23:13 +0000)]
Dan Fandrich: make --disable-dict actually disable dict

19 years agoclarify and update according to commit made just now
Daniel Stenberg [Thu, 11 Nov 2004 23:11:32 +0000 (23:11 +0000)]
clarify and update according to commit made just now

19 years agoFix behaviour when passing NULL to CURLOPT_POSTFIELDS and CURLOPT_HTTPPOST.
Daniel Stenberg [Thu, 11 Nov 2004 23:11:04 +0000 (23:11 +0000)]
Fix behaviour when passing NULL to CURLOPT_POSTFIELDS and CURLOPT_HTTPPOST.

19 years agofix a IDN detect/use mistake
Daniel Stenberg [Thu, 11 Nov 2004 22:01:53 +0000 (22:01 +0000)]
fix a IDN detect/use mistake

19 years agoadded some details on what to come
Daniel Stenberg [Thu, 11 Nov 2004 16:56:34 +0000 (16:56 +0000)]
added some details on what to come

19 years agoDan Fandrich added --disable-verbose
Daniel Stenberg [Thu, 11 Nov 2004 16:34:24 +0000 (16:34 +0000)]
Dan Fandrich added --disable-verbose

19 years agoWhen libidn is detected without explicitly told to, we provide -L/lib and
Daniel Stenberg [Thu, 11 Nov 2004 14:41:37 +0000 (14:41 +0000)]
When libidn is detected without explicitly told to, we provide -L/lib and
-I/include options. Not anymore.

19 years agofix the -I path to the proper include dir when --enable-debug is used
Daniel Stenberg [Thu, 11 Nov 2004 14:15:41 +0000 (14:15 +0000)]
fix the -I path to the proper include dir when --enable-debug is used

19 years agoAdapted for C++.
Gisle Vanem [Thu, 11 Nov 2004 12:25:40 +0000 (12:25 +0000)]
Adapted for C++.

19 years agorecent fixes
Daniel Stenberg [Thu, 11 Nov 2004 09:51:12 +0000 (09:51 +0000)]
recent fixes

19 years agodates from 2038 or later now return 0x7fffffff when 32 bit time_t is used
Daniel Stenberg [Thu, 11 Nov 2004 09:26:09 +0000 (09:26 +0000)]
dates from 2038 or later now return 0x7fffffff when 32 bit time_t is used

19 years agofix curl.h include
Daniel Stenberg [Thu, 11 Nov 2004 08:03:43 +0000 (08:03 +0000)]
fix curl.h include

19 years agoconfigure --with-gssapi fix
Daniel Stenberg [Wed, 10 Nov 2004 21:43:41 +0000 (21:43 +0000)]
configure --with-gssapi fix

19 years agoGisle's CURL_EXTERN fix
Daniel Stenberg [Wed, 10 Nov 2004 15:50:33 +0000 (15:50 +0000)]
Gisle's CURL_EXTERN fix

19 years agoReplace IsNT with IS_NT().
Gisle Vanem [Wed, 10 Nov 2004 14:30:25 +0000 (14:30 +0000)]
Replace IsNT with IS_NT().

19 years agoReplace IsNT with IS_NT().
Gisle Vanem [Wed, 10 Nov 2004 14:23:20 +0000 (14:23 +0000)]
Replace IsNT with IS_NT().
Return correct timeval in windows_port.c.
Squelch gcc warnings:
  use 'ares_socket_t' in ares_fds.c.
  Don't cast a 'lvalue' in ares_init.c.

19 years agofix CURL_EXTERN for debug builds
Daniel Stenberg [Tue, 9 Nov 2004 18:10:51 +0000 (18:10 +0000)]
fix CURL_EXTERN for debug builds

19 years agoHandle drive-letter on MS-DOS.
Gisle Vanem [Tue, 9 Nov 2004 14:57:11 +0000 (14:57 +0000)]
Handle drive-letter on MS-DOS.

19 years agoRemoved libcurl.def
Gisle Vanem [Tue, 9 Nov 2004 14:55:23 +0000 (14:55 +0000)]
Removed libcurl.def

19 years agowith all external functions marked with CURL_EXTERN it is easy to count them
Daniel Stenberg [Tue, 9 Nov 2004 14:42:04 +0000 (14:42 +0000)]
with all external functions marked with CURL_EXTERN it is easy to count them
and... yes, they are 46!

19 years agoChanges for removing libcurl.def file on Win32.
Gisle Vanem [Tue, 9 Nov 2004 14:02:58 +0000 (14:02 +0000)]
Changes for removing libcurl.def file on Win32.
Mark public functions with "CURL_EXTERN".

19 years agoChanges for removing libcurl.def file on Win32.
Gisle Vanem [Tue, 9 Nov 2004 14:00:56 +0000 (14:00 +0000)]
Changes for removing libcurl.def file on Win32.
Added "CURL_EXTERN" to memdebug.h functions.
Cleaned up Makefile.vc6.

19 years agotoday's work
Daniel Stenberg [Mon, 8 Nov 2004 21:39:18 +0000 (21:39 +0000)]
today's work