Commit Graph

65 Commits

Author SHA1 Message Date
Phil Lodwick
3575918411 wininet: ftp: Fix crash if input buffer is larger than MAX_PATH. 2006-06-08 10:17:41 +02:00
Phil Lodwick
5ea41cc5fb wininet: ftp: 125 is an acceptable response code for the STORE command. 2006-06-08 10:17:27 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack
8dcb4479f3 wininet: Make sure hIC is valid before trying to use it. (Coverity) 2006-05-16 20:21:28 +02:00
Mike McCormack
35f0965c43 wininet: Check for null parameters in FtpSetCurrentDirectoryW. 2006-05-15 11:04:32 +02:00
Robert Shearman
067f09604a wininet: global function/data cleanup
Make some functions and a structure static since they are only used in
one file.
2005-12-03 18:03:08 +01:00
Francois Gouget
6d442aeb34 Assorted spelling fixes. 2005-11-23 20:14:43 +01:00
Robert Shearman
e6157dde9d We shouldn't pass the struct hostent returned from gethostbyname as
it's not thread-safe and isn't needed anyway.
2005-11-15 18:16:55 +00:00
Francois Gouget
0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Mike McCormack
9b95bb526d Fix some warnings. 2005-06-13 19:05:42 +00:00
Alexandre Julliard
b965457c4a Get rid of the remaining calls to strncpyW, and remove that function
from wine/unicode.h.
2005-04-21 17:18:50 +00:00
Francois Gouget
3ef8c51c8a Tweak the API documentation to silence winapi_check warnings. 2005-04-20 15:18:42 +00:00
Peter Berg Larsen
e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Hans Leidekker
6a367dbf8d - Stub implementations for FtpGetFileSize, FtpCommand{A,W},
HttpSendRequestExW, InternetGetLastResponseInfoW,
  InternetConfirmZoneCrossing{A,W}, InternetDial{A,W},
  InternetGoOnline{A,W}, InternetHangUp, CreateMD5SSOHash,
  InternetClearAllPerSiteCookieDecisions,
  InternetEnumPerSiteCookieDecision{A,W}, InternetGetCookieEx{A,W},
  InternetGetPerSiteCookieDecision{A,W},
  InternetSetPerSiteCookieDecision{A,W}, InternetSetCookieEx{A,W},
  ResumeSuspendedDownload, RetrieveUrlCacheEntryFileW,
  UnlockUrlCacheEntryFileW, {Create,Delete}UrlCacheEntryW,
  CommitUrlCacheEntryW, RetrieveUrlCacheEntryStreamW,
  FindCloseUrlCache, FindFirstUrlCacheEntryEx{A,W},
  FindFirstUrlCacheGroup, FindNextUrlCacheEntry{,Ex}{A,W},
  FindNextUrlCacheGroup, SetUrlCacheEntryGroup{A,W},
  {Get,Set}UrlCacheGroupAttribute{A,W}, SetUrlCacheConfigInfo{A,W}.
- Spec file stubs for new undocumented functions
  ForceNexusLookup{,ExW}, Ftp{Get,Put}FileEx, HttpCheckDavCompliance,
  InternetAlgIdToString{A,W}, InternetFortezzaCommand,
  InternetGetCertByURLA, InternetQueryFortezzaStatus,
  InternetSecurityProtocolToString{A,W}, InternetSetDialState{A,W},
  InternetShowSecurityInfoByURL{A,W}, IsUrlCacheEntryExpired{A,W},
  Privacy{Get,Set}ZonePreferenceW, RegisterUrlCacheNotification,
  UrlZonesDetach.
- Use memcpy instead of strncpy in InternetGetLastResponseInfoA.
- Add and improve some traces.
- Fix my own coding style in InternetTimeToSystemTimeW.
- Fix a couple of signedness warnings.
2005-02-01 18:50:53 +00:00
Michael Stefaniuc
15a308a9d7 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2005-01-03 14:56:42 +00:00
Michael Stefaniuc
5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
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
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
Krzysztof Foltman
479ee52fda - Reversed the assertion causing InternetConnect to always fail.
- FTP_ConvertFileProp: WIN32_FIND_DATA contains proper modification
  and creation time.
2004-09-06 20:24:38 +00:00
Steven Edwards
c91ae456b8 Use Windows sockets when building Wininet on Mingw. 2004-09-03 18:57:19 +00:00
Mike McCormack
13b6ce6da8 Fix warnings generated with -Wsign-compare. 2004-08-09 18:54:23 +00:00
Mike McCormack
3a1391b8dd Use pointers internally and refcount all objects. 2004-07-19 21:49:39 +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
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
Lionel Ulmer
676e059c61 Store pointers in the internal structures and not handles. 2004-02-16 20:24:15 +00:00
Francois Gouget
ad5ff7ceeb Assorted spelling and case fixes. 2004-02-09 22:07:42 +00:00
Lionel Ulmer
a29b4c7cde Report real handles to the application, not Wine internal ones. 2004-02-09 20:55:58 +00:00
Mike McCormack
7cc70c0a8f Implement proper HINTERNET handles. 2004-02-07 01:03:41 +00:00
Mike McCormack
b8921a24ab Use unions instead of defines in async work requests. 2003-09-25 20:25:22 +00:00
Mike McCormack
e0fffb6c7c Fix more unicode/memory allocation errors. 2003-09-23 22:47:18 +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
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
Lionel Ulmer
877f323161 - fix spec file for FTPFindFirstFileA/W functions
- implement parsing of NT directory format
2003-07-15 20:51:02 +00:00
Francois Gouget
9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +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
Patrik Stridvall
d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +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
Dmitry Timoshkov
ca737fa478 Fix definition of BY_HANDLE_FILE_INFORMATION structure. 2001-12-26 19:50:58 +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
Francois Gouget
909bcde294 Fix compilation errors on FreeBSD. 2001-09-10 23:07:39 +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
Alexandre Julliard
1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Patrik Stridvall
8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00