Commit Graph

631 Commits

Author SHA1 Message Date
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 37eb0955cd wininet/tests: Add a few more tests. 2007-02-07 21:41:58 +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
Paul Vriens 46812a4bba wininet: Remove unused function. 2007-02-06 12:30:45 +01:00
Paul Vriens 8e9a81ea08 wininet/tests: Add ftp tests. 2007-02-05 21:04:26 +01:00
Bang Jun-Young b71e42b794 wininet: config.h police. 2007-02-05 12:25:55 +01:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Rob Shearman 1ec14b0b25 wininet: Fix HTTP_EncodeBasicAuth by passing an out buffer to the second set of character set conversion calls. 2007-01-17 11:24:09 +01:00
Mikołaj Zalewski b8e1dcb374 wininet: Add Polish translation. 2007-01-15 12:42:29 +01:00
Rob Shearman a9ebc706e3 wininet: Change HTTP_EncodeBase64 to operate on a series of bytes, instead of text.
Change HTTP_EncodeBasicAuth to convert the username and password into 
utf8 before base64 encoding.
2007-01-15 12:31:11 +01:00
Rob Shearman 9efe083ec5 wininet: HTTP_HttpQueryInfoW deals with bytes, not characters so update the callers that have this wrong assumption. 2007-01-15 12:30:53 +01:00
Rob Shearman 7b002a39b8 wininet: Allow a NULL value to be passed into HTTP_ProcessHeader
instead of crashing so that when used with the replace flag it will
delete an existing value.
2007-01-15 12:30:46 +01:00
Rob Shearman 392ceba61f wininet: Don't try to read anything if 0 bytes are to be read. 2007-01-10 22:25:44 +01:00
Francois Gouget e66d1cd5e9 wininet: Consistenly use INTERNET_SetLastError(). 2007-01-10 11:58:47 +01:00
Rob Shearman 47a8b86b53 wininet: Use Keep-Alive for HTTP requests if specified by the flags passed into HttpOpenRequest. 2007-01-08 12:39:50 +01:00
Rob Shearman a9c2cfa8d9 wininet: Fix the handling of Accept types passed into HttpOpenRequest
by properly coalescing all the types into the Accept header value,
rather than just adding the first.
2007-01-08 12:39:47 +01:00
Rob Shearman 7e8ef764b8 wininet: Rename HTTP_Base64 to HTTP_EncodeBase64 to more accurately reflect what it does. 2007-01-08 12:39:42 +01:00
Francois Gouget bf81fdc248 wininet/tests: Print GetLastError() in decimal with '%u'. 2007-01-08 12:06:27 +01:00
Jeff Latimer d7697bd55e wininet: Ensure null check before dereference. 2007-01-05 20:26:30 +01:00
Rob Shearman 06b19b018a wininet: Fix the releasing of the wrong reference count in HTTP_CloseHTTPRequestHandle.
lpwhr obviously already has a reference count of 0 because it is being destroyed.
2007-01-04 21:17:53 +01:00
Rob Shearman 272954bd81 wininet: Change the HTTP code to not assume that the connection will be closed at the end of every request. 2007-01-04 21:17:34 +01:00
Rob Shearman f0163ae7d6 wininet: Don't send callbacks in HTTP_CloseConnection if not connected. 2007-01-04 21:17:19 +01:00
Rob Shearman ac1b527498 wininet: Use the Content-Length header to work out how much HTTP data there is left to be read
and don't try to read any more than what is available.
2007-01-04 21:17:12 +01:00
Rob Shearman cf43b16036 wininet: Always send a Connection header set to "close" because that is what we expect for the moment. 2007-01-04 21:16:38 +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
Rob Shearman 14fb418942 wininet: Fix HTTP redirects by reseting loop_next after one loop. 2007-01-04 21:14:54 +01:00
Rob Shearman 02c89e5c6f wininet: Remove the custom thread pool implementation and use QueueUserWorkItem instead. 2007-01-04 21:13:53 +01:00
Louis Lenders e39a3be860 wininet: Update Dutch resource. 2007-01-04 09:53:23 +01:00
Jacek Caban 49f5ee746c wininet: Get rid of ASYNC_FUNC enum. 2006-12-26 12:50:19 +01:00
Jacek Caban f08ff892be wininet: Use proc instead of enum in FTPFINDNEXTW request. 2006-12-26 12:50:09 +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 662c885a0b wininet: Use proc instead of enum in INTERNETREADFILEEXA request. 2006-12-26 12:48:40 +01:00
Jacek Caban 8c3ca8d817 wininet: Use proc instead of enum in INTERNETOPENURLW request. 2006-12-26 12:48:30 +01:00
Jacek Caban 5dd5536a9a wininet: Remove not used HTTPOPENREQUESTW request. 2006-12-26 12:48:21 +01:00
Jacek Caban c156845560 wininet: Use proc instead of enum in HTTPSENDREQUESTW request. 2006-12-26 12:48:09 +01:00
Jacek Caban e30037f0d5 wininet: Use proc instead of enum in SENDCALLBACK request. 2006-12-26 12:47:57 +01:00
Rob Shearman 72575a06ca wininet: Make a function for resolving the server name for an HTTP request
and sending the appropriate callbacks and use it to remove some duplicated code.
2006-12-07 11:42:51 +01:00
Rob Shearman 4319ec6b83 wininet: Make HTTP_HandleRedirect no longer call HTTP_HttpSendRequestW.
Make the redirect handling in HTTP_HttpSendRequestW iterate instead of recurse.
2006-12-07 11:42:38 +01:00
Paul Vriens cae03f7658 wininet/test: Free memory after use. 2006-12-06 11:26:52 +01:00
Francois Gouget c66628b73f Consistently use SUBLANG_NEUTRAL for Italian resources. 2006-12-05 11:28:38 +01:00
Francois Gouget 89f4cd9336 wininet: Add a Portuguese translation (contributed by Americo Jose Melo). 2006-11-28 12:13:22 +01:00
Francois Gouget b5f104d05b Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX constant for languages that have multiple sublanguages. 2006-11-24 11:49:32 +01:00
Andrew Talbot 4ef6043a57 wininet: Cast-qual warnings fix. 2006-11-22 11:45:05 +01:00
Rob Shearman 01425f603a wininet: Don't return an error for INTERNET_OPTION_SEND/RECEIVE_TIMEOUT not being implemented
on protocols other than HTTP, just print a FIXME. Reported by Michael Moss.
2006-11-02 21:57:17 +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 5c53baac8d wininet: Inherit INET_CALLBACKW from parent handler. 2006-10-31 11:46:49 +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 ae430f9323 wininet: Store handle in WININETHANDLEHEADER and use it in SendCallback. 2006-10-30 11:36:09 +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
Jacek Caban 61a1cef6f6 wininet: Use lpHttpSession instead of lpwhcalback where possible. 2006-10-30 11:34:58 +01:00
Jacek Caban a9bdc01e19 wininet: Store pointer to WININETHTTPSESSIONW in WININETHTTPREQUESTW. 2006-10-30 11:34:51 +01:00
Jacek Caban a541a44f51 wininet: Use lpAppInfo instead of lpwhparent where possible. 2006-10-30 11:34:41 +01:00
Jacek Caban c250617d88 wininet: Store WININETAPPINFOW pointer in WININETHTTPSESSIONW. 2006-10-30 11:34:21 +01:00
Jacek Caban cdbab7ddf2 wininet: Fixed declaration of INTERNET_STATUS_CALLBACK. 2006-10-30 11:17:24 +01:00
Francois Gouget 9fe4673347 Don't include windows.h & co in the Wine sources.
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00
Mikołaj Zalewski 58bd35c8c5 resources: Change Dutch sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 17:45:51 +02:00
Mikołaj Zalewski e32aa55703 resources: Change German sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 11:45:12 +02:00
Jacek Caban cc7a86ec7e wininet: Use HTTP_ADDHDR_FLAG_REPLACE flag in HTTP_HttpSendRequest to add Content-Length header. 2006-10-23 12:28:58 +02:00
Francois Gouget 0a20f18a80 wininet: HttpSendRequestW() returns ERROR_IO_PENDING when called on an async socket. But that does not mean that it failed. 2006-10-20 14:10:41 +02:00
Byeong-Sik Jeon e1fd734c97 Korean: Use SUBLANG_NEUTRAL in Korean resources. 2006-10-20 13:49:39 +02:00
Hans Leidekker 781f3f78a0 wininet: Cast-qual warnings fix. 2006-10-14 20:16:49 +02:00
Andrew Talbot c54a2480ec wininet/tests: Cast-qual warning fix. 2006-10-06 12:32:51 +02:00
Hans Leidekker cd2c458588 wininet: Win64 printf format warning fixes. 2006-10-05 17:45:14 +02:00
Hans Leidekker de3b5be338 wininet/tests: Win64 printf format warning fixes. 2006-10-05 17:45:09 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard c56eec22e2 wininet/tests: Don't fail the tests if the network is unreachable. 2006-09-21 12:44:56 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Jan Zerebecki 91bbec013b wininet: Fix fd leak on failure case. 2006-09-07 16:11:15 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Andrew Talbot 5ea47faf8b wininet/tests: Write-strings warnings fix. 2006-08-11 11:56:16 +02:00
Paul Chitescu 8b1b381872 wininet: MSG_WAITALL support in NETCON_recv with SSL. 2006-08-10 10:54:12 +02:00
Ulrich Czekalla f6c0a461ec wininet: Add INTERNET_OPTION_SECURITY_FLAGS stub to InternetSetOptionW. 2006-08-07 20:00:03 +02:00
James Hawkins 8c6040fccc wininet: Only copy the relative filename into the UrlEntry structure. 2006-07-29 11:51:21 +02:00
Paul Vriens 5a086a5210 wininet: FTP_FtpDeleteFileW expects a LPWININETFTPSESSIONW. 2006-07-20 12:11:34 +02:00