Commit Graph

140 Commits

Author SHA1 Message Date
Mike McCormack 43629c9b5b Use WideByteToMultiChar not strlenW.
Use HeapAlloc, not malloc.
2003-08-15 03:47:30 +00:00
Patrik Stridvall ba78aac406 Fixed some issues found by winapi_check. 2003-08-08 21:07:23 +00:00
Robert Shearman 4450a61149 - Documentation of the index.dat files.
- Read support for "Temporary Internet Files".
- Limited write support for "Temporary Internet Files" (provided file
  does not need enlarging).
- Delete support (untested on anything other than Temporary Internet
  Files).
2003-08-05 19:21:38 +00:00
Alexandre Julliard a3cba5235d Avoid DSA type conflict between ssl.h and commctrl.h. 2003-08-05 19:21:08 +00:00
David Hammerton 6226f3f26a Added support for http-POST (well, any kind of http request that sends
data in the lpOptional field).
2003-08-05 18:31:02 +00:00
Marcelo Duarte 8b644f86bf - lesser adjustments in cdlg_Pt.rc (better visual)
- localization to the Portuguese of Brazil of wininet resource.
2003-07-24 00:02:06 +00:00
Mike McCormack a1c16d28fa Implement support for proxies with usernames and passwords. 2003-07-22 03:17:52 +00:00
Alexandre Julliard d8c5f2bd4b Use trace() instead of printf(). 2003-07-22 03:16:47 +00:00
Lionel Ulmer a1852bff23 - fix multiple consecutive downloads (by flushing when needed the
command socket)
- detect attempts to download multiple files at the same time
- fix size / date reporting when enumerating files
- fix Y2K problem in NT parsing of files
2003-07-21 22:04:14 +00:00
Lionel Ulmer 2429d51ff2 - use SIZE command to retrieve the file size (as the file size is not
part of the WinNT acknowledgement string)
- free the handle / close the socket on end of download
- fix InternetReadFile in the FTP case
- fix FTP_ReceiveResponse
2003-07-21 19:59:03 +00:00
Mike McCormack 9bca6c6d4f Stubs for InternetCreateUrlA/W and CreateUrlCacheEntryA. 2003-07-19 03:08:05 +00:00
Mike McCormack dce0829913 Only call wininet callbacks if dwContext is non-zero. 2003-07-18 22:59:25 +00:00
Lionel Ulmer 877f323161 - fix spec file for FTPFindFirstFileA/W functions
- implement parsing of NT directory format
2003-07-15 20:51:02 +00:00
Alexandre Julliard ea6863c182 Fixed a couple of buffer overflows. 2003-07-09 22:15:33 +00:00
Francois Gouget 14a5d168e9 Fixed some common spelling errors. 2003-07-02 04:37:26 +00:00
Dmitry Timoshkov a97ed621bb Add inclusion of <sys/time.h> needed for struct timeval declaration.
Protect some optional headers from inclusion.
2003-06-27 04:04:00 +00:00
David Hammerton 852c7ae404 - implemented support for https protocol
- fixes to the http protocol
2003-06-20 23:26:56 +00:00
Francois Gouget 9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Mike Hearn 8e6ae023e5 Stub out SetUrlCacheEntryInfoA/W. 2003-06-16 19:40:27 +00:00
Sylvain Petreolle cc02ef89c4 Implemented wininet.InternetGetConnectedStateEx. 2003-06-06 18:17:00 +00:00
Uwe Bonnes 908ef2b290 HTTP_HttpOpenRequestA: Calculate size from the right argument. 2003-05-16 20:12:03 +00:00
Mike McCormack 31c9b82411 Implemented InternetSetOptionExA/W. 2003-05-11 02:59:52 +00:00
Uwe Bonnes 7c578ab349 Some UrlCache stubs. 2003-04-27 20:35:38 +00:00
Dan Wolf b39c35457a Implemented a stub for DetectAutoProxyUrl. 2003-04-21 23:24:46 +00:00
Dominik Strasser 94c02fef1a Partially implement proxy support. 2003-04-14 21:32:36 +00:00
Dmitry Timoshkov 2d55e0484c Fix some problems found while compiling and linking Wine under
Cygwin.
2003-03-31 23:58:27 +00:00
Alberto Massari c36faaaa24 Added InternetSetStatusCallbackA and a stub for
InternetSetStatusCallbackW.
2003-03-28 19:30:55 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Uwe Bonnes 1cd00dae50 InternetOpenUrlA (http/s case): Use client for HttpOpenRequestA, don't
insert HOST: twice.
HttpAddRequestHeadersA: allow lpszHeader == NULL.
2003-02-25 03:57:59 +00:00
Michael Stefaniuc 745a78f490 Remove some unreachable code. 2003-02-24 20:48:45 +00:00
Andreas Mohr 056d2a4421 "InternetAutoDial" should be "InternetAutodial". 2003-01-28 00:17:15 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Alberto Massari 4ab2eac2cd - Implemented InternetCrackUrlW and re-implemented InternetCrackUrlA
by using the Unicode version.
- InternetCrackUrlW now parses URL having the "about" and "res"
  schemes.
2003-01-02 23:08:22 +00:00
Alexandre Julliard 3121fdac41 Fixed warnings. 2002-12-17 21:03:33 +00:00
Dimitrie O. Paun 737d4be892 Move excpt.h out of include/msvcrt/ as it does not conflict with any
standard Unix header.
2002-12-12 23:34:01 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Alberto Massari eddf9a02d2 Added stubs for FtpCommand[A|W]. 2002-12-12 02:16:54 +00:00
Alexandre Julliard ba2f2acc86 Fixed the list of accepted types passed to HttpOpenRequestA. 2002-12-06 23:21:35 +00:00
Alberto Massari bc8bd72297 - When sending a request using HttpOpenRequest/HttpSendRequest, send the
User-Agent header; fixed the Accept and the Referer header handling to
   really work.
 - Fixed bug in the HTTP_ProcessHeader: when a second value was supposed to be
   added to an existing one, the buffer was reduced to be 1 char long instead
   of being expanded, due to the precedence rules of the operator '?'.
 - Added support for opening URLs that redirect to a different place.
2002-12-06 23:20:31 +00:00
Alberto Massari adae4350d2 - Moved GetUrlCacheEntryInfoA and CommitUrlCacheEntryA to urlcache.c.
- Added stub implementation of GetUrlCacheEntryInfoExW.
 - Implemented InternetQueryOptionW, InternetCombineUrl[A|W].
 - InternetSetOptionW prints FIXMEs with more informations.
 - INTERNET_SetLastError was crashing if called after the thread
   local storage area had already been deleted (it happens if you
   close Internet Explorer while the download is still in progress).
2002-12-05 19:54:40 +00:00
Alexandre Julliard 14a22702ac Added definitions for a couple of stub functions that we import so
that we don't import stubs directly.
2002-11-27 20:25:12 +00:00
Huw Davies a3f03e1cd2 Add a counter to keep track of the number of outstanding async
requests.  This gets around a problem where a SetEvent could be called
before a previous event had been dealt with.
2002-11-13 19:40:50 +00:00
Alberto Massari b09eef23b3 Added stubs for IsHostInProxyBypassList and GetUrlCacheEntryInfoExA. 2002-11-13 04:08:26 +00:00
Alberto Massari d476a5ad31 Added HttpOpenRequestW, HttpQueryInfoW, HttpSendRequestW. 2002-11-12 02:13:04 +00:00
Patrik Stridvall 9398d9c129 Updated the generated tests. 2002-11-12 01:13:10 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Patrik Stridvall c72255c715 Fixed some issues found by winapi_check. 2002-10-29 21:31:26 +00:00
Patrik Stridvall fc832f0fcf Fixed tests to compile with MS C on Windows. 2002-10-29 21:24:35 +00:00
Jaco Greeff aeef9b4f71 - Implementation of [Internet|Ftp]*W functions to extend (almost)
non-existant wide-character support.
- Moved some functions from "stub in wininet.spec" to "FIXME("STUB")"
  to allow for testing of changes.
2002-10-28 18:48:24 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00