Commit Graph

406 Commits

Author SHA1 Message Date
Michael Stefaniuc 7cb43c9dbe Do not check for non NULL pointer before HeepFree'ing it. It's
redundant.
2004-12-21 14:42:35 +00:00
Eric Pouech 4056d7ef8c Fixed some errors in function prototypes. 2004-12-13 21:19:01 +00:00
Eric Pouech 5c2a891c43 Made some functions and variables static. 2004-11-29 18:00:10 +00:00
Robert Shearman 0500a7d993 - Make InternetGetConnectedStateExA not crash, by making
InternetGetConnectedStateExW fill in the buffer correctly.
- Remove the dumping of strings that will only contain garbage.
- Document function.
2004-11-21 15:42:57 +00:00
Robert Shearman b1e361a93e Pass the address of the handle rather than just the handle to fix a
crash with IE.
2004-11-19 17:54:48 +00:00
Aric Stewart 11f341cff1 Implemented InternetGetConnectedStateExA. 2004-11-04 21:05:03 +00:00
Robert Shearman 12df80a748 - Don't crash on double InternetCloseHandle.
- Test case for this.
2004-09-23 22:53:04 +00:00
Robert Shearman ed517f3a8b InternetSetStatusCallback can be used on any handle and callbacks are
inherited by derived handles.
2004-09-20 19:10:31 +00:00
Robert Shearman 37f2cc8274 Store HTTP host header in the same way as most other headers. 2004-09-13 19:33:17 +00:00
Krzysztof Foltman 80cfdd353d Make sure InternetReadFile returns full buffers. 2004-09-08 21:46:33 +00:00
Uwe Bonnes b50446216b Get full buffers in Internet_Readfile. 2004-09-08 01:25:21 +00:00
Robert Shearman af353c0305 Better TRACE's for some Internet* functions. 2004-08-19 19:02:17 +00:00
Mike McCormack 13b6ce6da8 Fix warnings generated with -Wsign-compare. 2004-08-09 18:54:23 +00:00
Mike McCormack efbb50bc25 Fix the dwUrlPathLength returned by InternetCrackUrl when
lpszExtraInfo is null.
2004-08-06 18:57:53 +00:00
Robert Shearman 0bb7b50f3d Implement INTERNET_OPTION_CONNECTED_STATE. 2004-07-23 23:00:07 +00:00
Mike McCormack 3a1391b8dd Use pointers internally and refcount all objects. 2004-07-19 21:49:39 +00:00
Mike McCormack 1510cfc474 Allocate the correct size string in InternetCrackUrl. 2004-07-04 00:06:44 +00:00
Dimitrie O. Paun f3b681a2ad Fix the function names in some of the comments. 2004-06-28 20:28:38 +00:00
Mike McCormack a9b405cf9a Fix proxy support, remove typecasts. 2004-06-01 20:19:56 +00:00
Lionel Ulmer 378dec1519 Fix the case where lpszSearchFile is NULL in FtpFindFirstFile. 2004-06-01 19:42:43 +00:00
Kevin Koltzau 1d2d2d6bf1 Move all FTP functions to unicode.
Improve FTP LIST parsing.
2004-05-25 04:02:05 +00:00
Kevin Koltzau 917df92356 Prevent memory leak and superfluous status notifications. 2004-05-13 05:17:25 +00:00
Kevin Koltzau 9debc40e66 Properly retrieve and release handles. 2004-05-12 23:02:40 +00:00
Kevin Koltzau 33972309f5 Cleanup conversion from A->W. 2004-05-10 19:59:05 +00:00
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Mike McCormack 3462299c55 Convert unicode strings to const. 2004-04-12 23:13:53 +00:00
Mike McCormack a4e902cbe1 Convert the wininet HTTP functions to Unicode. 2004-03-30 04:36:09 +00:00
Mike McCormack 09d2d47721 Convert WININETAPPINFOA structure to unicode. 2004-03-25 05:29:47 +00:00
Francois Gouget ad5ff7ceeb Assorted spelling and case fixes. 2004-02-09 22:07:42 +00:00
Lionel Ulmer 1d5e6b6725 Better TRACEing in some functions. 2004-02-09 22:01:49 +00:00
Lionel Ulmer e0e314780a Implemented proper asynchronous InternetOpenUrl handling. 2004-02-09 21:45:38 +00:00
Mike McCormack 7cc70c0a8f Implement proper HINTERNET handles. 2004-02-07 01:03:41 +00:00
Lionel Ulmer 6849466195 Properly handle asynchronous HttpSendRequestA. 2004-02-06 05:17:17 +00:00
Sylvain Petreolle fabfea59c7 Added stubs for options CONNECT_TIMEOUT and DATA_RECEIVE_TIMEOUT. 2003-12-30 19:16:37 +00:00
Robert Shearman fa7d78f118 - Url Cache improvements.
- In Internet{Set,Query}Option functions, hInternet can be NULL.
- Add traces to Internet* functions.
2003-12-12 06:01:20 +00:00
Alexandre Julliard 402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Francois Gouget 84540b4dc7 Assorted spelling fixes. 2003-11-18 20:41:24 +00:00
Kirill Smelkov 8d0ac5574e Added gopher stubs. 2003-11-09 01:23:32 +00:00
Mike McCormack b8921a24ab Use unions instead of defines in async work requests. 2003-09-25 20:25:22 +00:00
Mike McCormack 5fe38daee2 Fix a bunch of unicode/memory allocation errors. 2003-09-22 19:45:50 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Patrik Stridvall ba78aac406 Fixed some issues found by winapi_check. 2003-08-08 21:07:23 +00:00
Mike McCormack a1c16d28fa Implement support for proxies with usernames and passwords. 2003-07-22 03:17:52 +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
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
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
Sylvain Petreolle cc02ef89c4 Implemented wininet.InternetGetConnectedStateEx. 2003-06-06 18:17:00 +00:00
Mike McCormack 31c9b82411 Implemented InternetSetOptionExA/W. 2003-05-11 02:59:52 +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
Alberto Massari c36faaaa24 Added InternetSetStatusCallbackA and a stub for
InternetSetStatusCallbackW.
2003-03-28 19:30:55 +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
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
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
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
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
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
Chris Morgan a8b3216670 Added stubs for HttpEndRequestA/W, InternetReadFileExA/W,
SetUrlCacheEntryGroup, CreateUrlCacheGroup, DeleteUrlCacheGroup.
2002-09-27 22:05:23 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Patrik Stridvall 4325554aef Fixed some issues found by winapi_check. 2002-08-09 01:07:29 +00:00
Roderick Colenbrander fec6930127 Simple implementation of InternetAutodial. 2002-07-22 20:34:41 +00:00
Marcus Meissner 3635056577 Protect InternetCloseHandle() against invalid handles. 2002-07-19 03:12:18 +00:00
Aric Stewart ff9b9d4ef8 Reworking of http and asyncronous calls to get IE6 to install.
Added a version resource.
Added unit test for http.
2002-06-21 23:59:49 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Patrik Stridvall f89d4a8673 Fixed some issues found by winapi_check. 2002-03-23 21:39:05 +00:00
Bernhard Rosenkraenzer e00aca0298 Added InternetOpenURLA implementation. 2002-03-20 00:56:49 +00:00
Andriy Palamarchuk b8805b6bf0 Created dummy implementation of InternetSetOption function. 2002-03-11 01:09:25 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Francois Gouget 8aceb00c52 Fix invalid C code (undefined behavior). 2002-01-21 18:00:05 +00:00
Gerard Patel d83dfd0173 Trivial fixes for shlwapi and Internet routines. 2001-12-24 20:24:36 +00:00
Jon Griffiths 603f20fc0e Add exclusion defs & remaining funcs, remove internal types &
obj_base.h (sync with win version), fixed a number of function
prototypes.
2001-12-11 00:30:17 +00:00
Guy Albertelli aafec98803 - Define rest of URL_ESCAPE... and other flags.
- Define implemented interfaces for reg.c and url.c.
2001-11-06 22:31:19 +00:00
Francois Gouget 3bb9a36ee0 Spelling, grammar and a bit of comment formatting fixes. 2001-10-22 19:04:32 +00:00
Patrik Stridvall 3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
Marcus Meissner 98343e325c More debug output for InternetGetCookie, added stub for InternetSetCookie. 2001-09-10 23:12:42 +00:00
Francois Gouget a0f98f13d9 Made independent from winsock.
Include the needed headers directly in internet.h.
2001-08-24 19:13:36 +00:00
Marcus Meissner 22255b3256 Have InternetGetConnectedState always return 'LAN connection'. 2001-07-11 17:24:39 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Patrik Stridvall c01c1933bf Fixed some issues found by winapi_check. 2001-06-19 03:36:23 +00:00
Ulrich Czekalla 49dd3fb448 Stub for InternetGetCookieA. 2001-06-14 19:24:50 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Huw D M Davies fc7f6071ff Implement InternetCanonicalizeUrl. 2001-01-06 00:36:43 +00:00
Andreas Mohr 3f014882f7 InternetCloseHandle didn't return TRUE in all appropriate cases. 2000-12-02 20:09:54 +00:00
Patrik Stridvall 1ed5577522 Don't include windows.h internally. 2000-11-30 01:31:28 +00:00
Alexandre Julliard 0e44f63c9a Replaced HEAP_strdup* and lstrcpynAtoW calls by exported functions. 2000-11-16 00:28:52 +00:00
Gerald Pfeifer eb0231da29 Include <unistd.h> for prototype of select(). 2000-09-27 22:27:57 +00:00
Marcus Meissner 8c5df7b55d Fixed some warnings. 2000-08-22 20:40:47 +00:00
Alexandre Julliard 5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Patrik Stridvall 11ca9b9eb7 Fixed issues found by winapi_check. 2000-08-04 21:08:28 +00:00
Aric Stewart 9e38c64985 Implemented InternetCheckConnectionA. 2000-08-01 20:53:42 +00:00
John R. Sheets 4d2bd36442 Put the URL parameter list in with the URL path if the ExtraInfo
buffer isn't specified.
2000-07-23 13:34:21 +00:00
Andreas Mohr 2caee712a2 Spelling fixes. 2000-07-16 15:44:22 +00:00
Patrik Stridvall 4710be20fe Fixed some warnings. 2000-06-23 15:47:14 +00:00
Ulrich Czekalla c275724cbf HTTP protocol now supported, InternetCrackUrl fixed, lots of other
fixes.
2000-06-11 20:04:44 +00:00
Gerard Patel 9d3845c565 Stub for InternetGetConnectedState. 2000-04-23 19:55:26 +00:00
Patrik Stridvall f0deb8a17e Fixed some issues reported by winapi_check. 2000-04-15 20:44:21 +00:00
Alexandre Julliard 819fa8ce38 Merged urlmon.dll and wininet.dll from the Corel tree (implementation
by Ulrich Czekalla <ulrichc@corel.ca>)
2000-04-11 20:07:00 +00:00