Francois Gouget
d4337f2b5e
wininet: Fix many wininet prototypes: the context is a DWORD_PTR now.
2007-08-30 17:02:49 +02:00
Misha Koshelev
0f117e568f
wininet: Separate connection closing from object destruction.
2007-08-23 13:13:24 +02:00
Hans Leidekker
9a6ba225e2
wininet: More lenient parsing of the passive mode server response.
2007-06-07 19:24:00 +02:00
Michael Stefaniuc
5f62da109e
janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call.
2007-04-25 12:26:07 +02:00
Paul Vriens
611acf5201
wininet/ftp: Fix potential memory leak.
2007-03-21 22:51:45 +01:00
Paul Vriens
5f9d7745dc
wininet/ftp: Remove unneeded check.
2007-03-21 22:51:38 +01:00
Paul Vriens
b6f92f10c6
wininet/ftp: Move a definition in FTP_FtpFindFirstFileW (Coverity).
2007-03-21 11:54:56 +01:00
Paul Vriens
9a7fb5f1e7
wininet/ftp: Simplify FTP_FtpGetFileW a bit.
2007-03-21 11:54:42 +01:00
Francois Gouget
fa41be3fdb
wininet: Fix a couple of reversed checks that could result in leaked socket handles.
2007-03-08 22:16:41 +01:00
Francois Gouget
53e76f8370
wininet: Check file handles against INVALID_HANDLE_VALUE, not NULL.
...
Simplify the file handle handling in FTP_FtpPutFileW().
2007-03-08 22:16:36 +01:00
Paul Vriens
23473ccc9e
wininet/ftp: Let CreateFile deal with last error.
2007-03-01 12:17:47 +01:00
Andrew Talbot
46fc9c2e11
wininet: Constify some variables.
2007-02-26 13:38:37 +01:00
Francois Gouget
93494f2ac0
Assorted spelling fixes.
2007-02-20 20:30:51 +01:00
Francois Gouget
da64fe5d56
wininet: Move a bunch of misplaced API documentation.
2007-02-20 20:29:38 +01:00
Paul Vriens
8316b93386
wininet/ftp.c: Fix some returned error codes.
2007-02-20 11:40:09 +01:00
Paul Vriens
5b04d3d67d
wininet/ftp.c: Fix some returned error codes.
2007-02-19 12:04:42 +01:00
Paul Vriens
f0f3e15ac2
wininet/ftp.c: Fix some returned error codes.
2007-02-13 11:49:40 +01:00
Paul Vriens
d20833fc52
wininet/ftp.c: Fix some returned error codes.
2007-02-12 13:47:11 +01:00
Paul Vriens
54c80612ac
wininet/ftp.c: Fix some returned error codes.
2007-02-12 13:47:03 +01:00
Paul Vriens
6c05048756
wininet/ftp.c: Fix some returned error codes.
2007-02-12 13:46:52 +01:00
Paul Vriens
1f5e5a2b75
wininet/ftp.c: Fix some returned error codes.
2007-02-09 11:50:09 +01:00
Paul Vriens
70be65b76e
wininet/ftp: Remove unneeded (double) checks.
2007-02-07 21:41:53 +01:00
Paul Vriens
ce8ededf3b
wininet/ftp: Remove unneeded (double) checks.
2007-02-07 21:41:44 +01:00
Paul Vriens
e849f758ba
wininet/ftp: Remove unneeded (double) checks.
2007-02-07 21:41:37 +01:00
Paul Vriens
00ff67ef09
wininet/ftp: Remove unneeded (double) checks.
2007-02-07 21:41:30 +01:00
Paul Vriens
a571476a74
wininet/ftp: Remove unneeded (double) checks.
2007-02-07 21:41:23 +01:00
Paul Vriens
7a1ef2c1ef
wininet/ftp: Remove unneeded (double) checks.
2007-02-07 21:41:16 +01:00
Paul Vriens
7c7271d465
wininet/ftp: Remove unneeded (double) checks.
2007-02-07 21:41:07 +01:00
Paul Vriens
2831cf5d3e
wininet/ftp: Remove unneeded (double) checks.
2007-02-07 21:41:00 +01:00
Paul Vriens
0e8ad3019a
wininet/ftp: Remove unneeded (double) checks.
2007-02-07 21:40:52 +01:00
Paul Vriens
0cc5a68e2c
wininet/ftp.c: Remove unneeded check.
2007-02-07 11:03:59 +01:00
Francois Gouget
e66d1cd5e9
wininet: Consistenly use INTERNET_SetLastError().
2007-01-10 11:58:47 +01:00
Rob Shearman
09dbb1b5a0
wininet: Use correct types for socket functions to avoid warnings when compiling on BSD-based systems.
2007-01-04 21:16:30 +01:00
Jacek Caban
49f5ee746c
wininet: Get rid of ASYNC_FUNC enum.
2006-12-26 12:50:19 +01:00
Jacek Caban
3a08f1f656
wininet: Use proc instead of enum in FTPRENAMEFILEW request.
2006-12-26 12:50:00 +01:00
Jacek Caban
97157ccee0
wininet: Use proc instead of enum in FTPREMOVEDIRECTORYW request.
2006-12-26 12:49:53 +01:00
Jacek Caban
ee99b3f0c5
wininet: Use proc instead of enum in FTPDELETEFILEW request.
2006-12-26 12:49:47 +01:00
Jacek Caban
054108368e
wininet: Use proc instead of enum in FTPGETFILEW request.
2006-12-26 12:49:41 +01:00
Jacek Caban
3c90016f2f
wininet: Use proc instead of enum in FTPOPENFILEW request.
2006-12-26 12:49:32 +01:00
Jacek Caban
3b77ff24c2
wininet: Use proc instead of enum in FTPGETCURRENTDIRECTORYW request.
2006-12-26 12:49:27 +01:00
Jacek Caban
0d464ba8db
wininet: Use proc instead of enum in FTPFINDFIRSTFILEW request.
2006-12-26 12:49:19 +01:00
Jacek Caban
c4aa47badd
wininet: Use proc instead of enum in FTPCREATEDIRECTORY request.
2006-12-26 12:49:08 +01:00
Jacek Caban
f28b0e3b10
wininet: Use proc instead of enum in FTPSETCURRENTDIRECTORY request.
2006-12-26 12:49:01 +01:00
Jacek Caban
4adce67cf6
wininet: Use proc instead of enum in FTPUTFILE request.
2006-12-26 12:48:53 +01:00
Jacek Caban
1031c5f9c6
wininet: Revert commit 760043c245
.
...
After more testing I've checked that current code is bad, but my patch
was also wrong and causes regression in WoW.
2006-11-02 21:01:05 +01:00
Jacek Caban
7bd385b714
wininet: Use handle stored in WININETHANDLEHEADER instead of WININET_FindHandle.
2006-10-31 11:46:47 +01:00
Jacek Caban
760043c245
wininet: Call SendCallback in destructor instead of InternetCloseHandle.
2006-10-30 11:36:16 +01:00
Jacek Caban
957516f8e6
wininet: Remove lpwhparent from WININETHANDLERHEADER.
2006-10-30 11:36:02 +01:00
Jacek Caban
550ffef212
wininet: Store WININETFTPSESSIONW pointer in WININETFTPFILEW.
2006-10-30 11:35:56 +01:00
Jacek Caban
51ba292716
wininet: Store WININETFTPSESSIONW pointer in WININETFTPFINDNEXTW.
2006-10-30 11:35:43 +01:00
Jacek Caban
91312d7d57
wininet: Move ftp FindNextFile implementation to ftp.c.
2006-10-30 11:35:36 +01:00
Jacek Caban
2a50d52c04
wininet: Use lpAppInfo instead of lpwhparent where possible.
2006-10-30 11:35:18 +01:00
Jacek Caban
96c0c6c5d9
wininet: Store WININETAPPINFOW pointer in WININETFTPSESSIONW.
2006-10-30 11:35:09 +01:00
Hans Leidekker
cd2c458588
wininet: Win64 printf format warning fixes.
2006-10-05 17:45:14 +02:00
Jan Zerebecki
91bbec013b
wininet: Fix fd leak on failure case.
2006-09-07 16:11:15 +02:00
Paul Vriens
5a086a5210
wininet: FTP_FtpDeleteFileW expects a LPWININETFTPSESSIONW.
2006-07-20 12:11:34 +02:00
Paul Vriens
5ede40ab5d
wininet: FTP_FtpRenameFileW expects a LPWININETFTPSESSIONW.
2006-07-19 18:16:02 +02:00
Paul Vriens
3a831bab51
wininet: Use correct way of determining the password for anonymous ftp.
2006-07-07 16:57:34 +02:00
Paul Vriens
7687e0477c
wininet: Return NULL handle if no connection is established.
2006-07-06 16:07:38 +02:00
James Hawkins
8e96015ebb
wininet: Use a blank password if none is provided in FTP_Connect.
2006-07-06 12:04:35 +02:00
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
Marcus Meissner
3f1ed52d8b
Implemented 64bit file size handling.
...
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Chris Morgan
b9807b405e
Add includes for <time.h>.
2001-02-15 21:24:07 +00:00
Andreas Mohr
f5682a0f8e
- implemented passive FTP transfers (PASV, needed for firewalls)
...
- fixed lstnSocket closing
2000-12-29 05:19:57 +00:00
Patrik Stridvall
7a4e599780
Fixed some issues found by winapi_check.
2000-12-01 23:53:46 +00:00
Gerald Pfeifer
b75b823a99
Add missing #include <netinet/in.h> to get struct in_addr on all platforms.
2000-11-30 19:58:34 +00:00
Patrik Stridvall
1ed5577522
Don't include windows.h internally.
2000-11-30 01:31:28 +00:00
Patrik Stridvall
024d6c50d6
Fixed some issues found by winapi_check.
2000-11-25 03:09:30 +00:00
Alexandre Julliard
0e44f63c9a
Replaced HEAP_strdup* and lstrcpynAtoW calls by exported functions.
2000-11-16 00:28:52 +00:00
Gerald Pfeifer
b56a8df9e7
Add missing #include <netinet/in_systm.h> and #include <netinet/in.h>.
2000-11-08 22:21:54 +00:00
Huw D M Davies
9a442f7383
Send the local ip address with the PORT command and not that of the
...
server.
Fix handling of multi-line responses.
Read a response after the STOR command.
2000-11-07 20:28:34 +00:00
Andreas Mohr
349655636b
- made the MIDI sequencer error message much better for confused users
...
to be found on #WineHQ
- use strerror instead of errno at important places
- got rid of HAVE_STRERROR macro
- removed some #include:s (hopefully I didn't break anything)
2000-08-26 20:31:48 +00:00
Ulrich Czekalla
c275724cbf
HTTP protocol now supported, InternetCrackUrl fixed, lots of other
...
fixes.
2000-06-11 20:04:44 +00:00
Gerald Pfeifer
c951060cde
FreeBSD compile fix.
2000-04-29 17:14:24 +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