Robert Shearman
5b5d45586e
wininet: Implement setting of send and receive timeouts.
2006-03-14 17:50:41 +01:00
Robert Shearman
0252e5e875
wininet: Fix the conversion of NULL component values from InternetCreateUrlA.
2006-03-13 13:33:03 +01:00
Robert Shearman
f18305b176
wininet: Host name isn't present when two slashes aren't present in InternetCrackUrl.
...
The test for "about:" in InternetCrackUrlW should be more general so
that only URLs without double slashes should also be assumed not to
have a host name.
Add another test for this case and remove an unreliable
InternetCreateUrl test.
2006-03-13 13:32:45 +01:00
Robert Shearman
ae677d356c
wininet: InternetCrackUrl should set nPort to the default port if not specified.
2006-03-13 13:32:20 +01:00
Robert Shearman
ef20936c53
wininet: Don't duplicate empty strings.
2006-03-10 21:40:57 +01:00
Robert Shearman
1b8f7f0605
wininet: Fix InternetGetCookie with no matching cookies.
...
Return FALSE and an error of ERROR_NO_MORE_ITEMS from
InternetGetCookie when there are no cookies for the specified
domain. This fixes a bug in sending a blank cookie to HTTP servers.
2006-03-09 22:48:08 +01:00
Robert Shearman
e4adc07333
wininet: Fix an off-by-one error in InternetCreateUrlW.
...
Fix an off-by-one error in the size of buffer used to store the port
number in InternetCreateUrlW.
2006-03-09 22:47:50 +01:00
Robert Shearman
b0fcaf9d48
wininet: Further InternetCreateFileW fixes.
...
- Add the slash after the port number.
- Only add the port number if the host name is present.
2006-03-09 22:47:35 +01:00
Robert Shearman
d3047aaeba
wininet: If necessary, add a slash between the hostname and path in
...
InternetCreateUrlW.
2006-03-09 22:47:16 +01:00
Robert Shearman
8eab78c235
wininet: More InternetCreateUrlW fixes.
...
- Don't add double slashes for opaque URLs.
- The default port number for all other schemes is 0.
2006-03-09 22:47:00 +01:00
Robert Shearman
e58a448c4a
wininet: Parse the scheme the string in InternetCreateFileW.
...
Parse the scheme the string in InternetCreateFileW and rewrite
url_uses_default_port using schemes instead of strings.
2006-03-09 22:46:45 +01:00
Robert Shearman
02839948d2
wininet: Get the string for the scheme if specified only by the
...
INTERNET_SCHEME enumeration in InternetCreateUrlW.
2006-03-09 22:46:30 +01:00
Robert Shearman
01219c65aa
wininet: The host name is optional in InternetCreateUrlW.
2006-03-09 22:46:07 +01:00
Robert Shearman
ed90c868a9
wininet: Use an array of schemes for mapping from a string to an INTERNET_SCHEME.
...
Use an array of schemes so that it can be re-used for mapping from
INTERNET_SCHEME back to a string and simplify the code in
GetInternetSchemeW.
2006-03-09 22:45:56 +01:00
Robert Shearman
e2b7bc1efd
wininet: Fix Trace in InternetCreateUrl.
...
The url passed in to InternetCreateUrl is an out parameter, so don't
dump it.
2006-03-09 22:45:26 +01:00
Robert Shearman
0590025e3c
wininet: Fix redirects with relative URIs instead of absolute URIs.
2006-03-09 22:45:18 +01:00
Robert Shearman
414d1ddeb9
wininet: Rewrite InternetCreateUrlW.
...
- Rewrite InternetCreateUrlW to respect the lengths passed in via the
URL_COMPONENTS structure and fall back to a strlenW call when a
length is zero.
- Expand the number of protocols supported when determining whether
the port number should be added.
- Fix a test by passing in the correct length of scheme.
2006-03-06 20:00:53 +01:00
Robert Shearman
9981f337e3
wininet: Don't continue to connect to a secure server without SSL support since it won't work.
...
Don't continue to connect to a secure server without SSL support since
it won't work. Return an error back to the application instead.
2006-03-06 20:00:21 +01:00
Robert Shearman
8bfc85957a
wininet: More tests for InternetCreateUrl.
...
Fix an InternetCreateUrl test so that it correctly sets the scheme
length and add tests which show the behaviour when the lengths are set
to zero and when the https scheme is used.
2006-03-06 20:00:08 +01:00
Victor Pelt
472ad3a450
wininet: Add stub for missing InternetSetOption.
2006-03-06 19:56:21 +01:00
Juan Lang
89529f8a8e
wininet: Use CertNameToStr for INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT
...
and update comment.
2006-02-16 12:19:00 +01:00
Robert Shearman
7a2357a480
wininet: Documentation fixes.
2006-02-14 11:34:14 +01:00
Petr Tesarik
3a9b7b4b17
wininet: Czech language resources encoding fix.
2006-02-13 13:28:37 +01:00
Dmitry Timoshkov
03434c728e
wininet: Fix InternetQueryOption test to pass under Windows.
2006-02-06 20:59:21 +01:00
Vijay Kiran Kamuju
7660614b0d
wininet: Add tests for InternetQueryOption.
2006-02-06 14:12:22 +01:00
Eric Pouech
e66e227dbe
Fixes for missing prototypes warnings.
2006-02-06 13:13:28 +01:00
Fatih Aşıcı
7578e31735
wininet: Turkish translation.
2006-02-06 13:06:49 +01:00
Aric Stewart
8b0883576e
wininet: INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT work.
...
Beginning of framework to implement handling of InternetQueryOption
for INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT.
2006-01-20 20:16:56 +01:00
Aric Stewart
21712d3d15
wininet: Handle NULL lpBuffersIn in HttpSendRequestExW.
2006-01-13 13:52:38 +01:00
Jacek Caban
ad02317248
wininet: lpvStatusInfo in INTERNET_STATUS_NAME_RESOLVED,
...
INTERNET_STATUS_CONNECTING_TO_SERVER and
INTERNET_STATUS_CONNECTED_TO_SERVER should be strings, not
sockaddr_in.
2006-01-05 14:37:06 +01:00
Robert Shearman
7b4b4b7930
wininet: Handle the cache being full better in CommitUrlCacheEntryInternal.
...
Move the freeing of allocation blocks for an entry into
URLCache_DeleteEntry.
Call URLCache_DeleteEntry to rollback from failure in
CommitUrlCacheEntryInternal.
2005-12-31 13:21:19 +01:00
Robert Shearman
13f2ce26dd
wininet: Create new hash tables for URL cache on demand.
2005-12-31 13:20:54 +01:00
Robert Shearman
2ceb052496
wininet: Move URL cache hash table creation to a separate function.
2005-12-31 13:20:29 +01:00
Aric Stewart
1e946d3e14
wininet: HTTP headers reworking.
...
Redo how headers are handled, eliminating the concept of Standard
Headers and allow all headers to be added multiple times.
Allow querying of headers with an index to get the multiple headers.
Respect response vs request headers in HttpQueryInfo.
Add a number of tests to extensively test header adding and replacing.
2005-12-13 17:07:41 +01:00
Marcus Meissner
73893a74fd
wininet: Reinitialise NETCON on redirect.
2005-12-13 11:12:09 +01:00
Aric Stewart
7bca41a739
wininet: Handle HTTP_QUERY_CUSTOM.
...
In HttpQueryInfo if dwInfoLevel includes HTTP_QUERY_CUSTOM then
lpBuffer is In/Out because the header we are querying is there.
Additionally standard headers can be queried in this manner as well
(such as Set-Cookie).
2005-12-08 12:44:45 +01:00
Aric Stewart
d30cec77d3
wininet: A->W bugfix.
...
When converting SendRequestExA -> W we need to set the lpcszHeader
parameter to NULL if the original one is NULL.
2005-12-08 11:54:24 +01:00
Patrick Ammann
d437f37f58
wininet: compilation fix
...
- make netconnection.c compile when HAVE_OPENSSL_SSL_H or
HAVE_OPENSSL_ERR_H are not defined.
2005-12-05 12:01:56 +01:00
Robert Shearman
efd067f2c3
wininet: Correctly set the last error when a called Unix network
...
function fails.
2005-12-03 18:10:14 +01: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
Robert Shearman
1e5153cf3c
Cleanup SSL connections properly, do a few security checks in
...
NETCON_secure_connect and display errors from SSL on failure. Don't
use SSL_set_bio as SSL_set_fd is cleaner for us.
2005-12-01 11:18:43 +01:00
Robert Shearman
03aea8c1b1
Test the behaviour of HttpSendRequestEx when putting data into the
...
lpvBuffer.
2005-11-30 12:31:38 +01:00
Robert Shearman
f6252cf43e
Remove duplicated code by modifying HTTP_HttpSendRequest so that it
...
can be used by both HttpSendRequest and HttpSendRequestEx.
Also allow HttpSendRequestEx to be used asynchronously.
2005-11-30 12:31:22 +01:00
Robert Shearman
dc5f1cbd5d
Remove call to StrCatW by passing in NULL for lpszExtraInformation in
...
the call to InternetCrackUrl, which concatenates the params onto the
path.
Some other minor cleanups.
2005-11-30 12:01:50 +01:00
Robert Shearman
4350357634
HttpSendRequestExA/W doesn't touch lpBuffersIn->Next, so simplify the
...
code a bit.
Modify test case to demonstrate this.
2005-11-29 11:42:23 +01:00
Robert Shearman
8a8ce9c4c7
More lpszServerName -> lpszHostName fixes.
2005-11-29 11:35:19 +01:00
Robert Shearman
efac01b525
Fix redirects from secure to non-secure and vice versa.
2005-11-29 11:25:31 +01:00
Robert Shearman
de2666fd5f
Change all SendAsyncCallback calls into the synchronous
...
INTERNET_SendCallback where INTERNET_FLAG_ASYNC is already handled
properly.
2005-11-29 10:44:05 +01:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
Aric Stewart
1fc760d4a7
Allow HttpEndRequest to process 302 and 301 redirects. Append Host
...
port if non standard on the redirect host header and make sure to
append the extra information (parameters) and such to the location if
present. Additionally check to see if we are redirecting to https and
if so set the appropriate port.
2005-11-28 17:31:02 +01:00
Robert Shearman
0e7c41e979
Add support for using secure (SSL/TLS) connections through a proxy
...
server.
2005-11-28 11:55:16 +01:00
Robert Shearman
13d371da54
Move the initiation of the SSL connection into a separate function.
2005-11-28 11:54:31 +01:00
Robert Shearman
3592110af7
Add a host port field that preserves the requested port of the
...
destination URL.
2005-11-28 11:53:05 +01:00
Robert Shearman
cc44f3a5c7
Fix "http://" prefix detection on the proxy URL.
2005-11-28 11:31:11 +01:00
Robert Shearman
0adec2b3dc
Replace some useless checks in HTTP_AddProxyInfo with asserts.
2005-11-28 11:28:06 +01:00
Robert Shearman
225a9facd4
Simplify and fix Set-Cookie handling.
2005-11-28 11:24:41 +01:00
Robert Shearman
22edb3e99e
Simplify HTTP_InsertProxyAuthorization.
2005-11-28 11:17:06 +01:00
Robert Shearman
8c8c81a1ef
Change some SendAsyncCallback calls to INTERNET_SendCallback as the
...
tests show that the callbacks happen either synchronously or within an
alternative asynchronous call.
Remove a check for a NULL lpfnStatusCB that is already performed by
INTERNET_SendCallback and add a comment about a difference to native.
2005-11-28 11:00:18 +01:00
Robert Shearman
29a436fd87
Add parsing of the Content-ID and Proxy-Connection headers.
...
Sort the table of header to option number mappings correctly.
Change a FIXME to a WARN because there are "X-..." headers that we
aren't supposed to parse.
2005-11-28 11:00:05 +01:00
Robert Shearman
7bb3463166
Add a new field "lpszHostName" to the session to track the host name
...
of the HTTP server, as opposed to the server that we will connect to
that could be a proxy server. Fixes the "Host:" header that we send to
servers.
2005-11-28 10:40:42 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Francois Gouget
6d442aeb34
Assorted spelling fixes.
2005-11-23 20:14:43 +01:00
Francois Gouget
d69268e77c
Documentation tweaks to make winapi_check happy.
...
Also specify the documented spec file entry.
2005-11-23 20:14:04 +01:00
Aric Stewart
ed0eba24f9
HttpEndRequest does not actually send an extra NULL byte at the end of
...
the request. Help from Rob Shearman on this one.
2005-11-22 16:18:48 +00:00
Aric Stewart
9e68c651d6
Fix some logic to allow HTTP_ADDREQ_FLAG_ADD to replace existing
...
headers. Also adding a test for some header adding flags.
2005-11-22 14:53:30 +00:00
Robert Shearman
dece43d880
Test the sizes of some of the parameters passed into the callback.
2005-11-22 11:59:16 +00:00
Robert Shearman
756f197945
Rename SendAsyncCallback to INTERNET_SendCallback.
2005-11-22 11:59:07 +00:00
Robert Shearman
b27457c91c
Fix an incorrect entry in the HTTP header field table causing broken
...
Location field parsing.
2005-11-22 11:58:50 +00:00
Aric Stewart
be918f48b6
Implement HttpSendRequestEx and HttpEndRequest. Restructure, breaking
...
some things out of HTTP_SendRequestW to avoid duplicate code.
2005-11-21 15:17:55 +00:00
Aric Stewart
526d3e51ee
Implement the use of NETCON_send for HTTP connections when in
...
InternetWriteFile.
2005-11-21 11:57:33 +00:00
Robert Shearman
f5af18f05f
- Improve callback to give context sensitive information about the
...
different statuses and print the thread ID that it was called from.
- Replace the busy waiting on the "goon" flag with an event.
- Replace hard coded numbers with more informative constants
throughout the InternetReadFile test.
- Add tests for InternetReadFileExA.
- Fix the error value from calling InternetReadFile with a NULL handle
as indicated by the test.
2005-11-16 11:21:41 +00: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
Robert Shearman
e87fe3a17f
Correct the size of a callback parameter.
...
Fix the declaration of INTERNET_WorkerThreadFunc.
2005-11-15 18:12:42 +00:00
Alexandre Julliard
3566fe60a8
Fixed Unicode buffer size bug in CreateUrlCacheEntryW.
2005-11-15 16:56:04 +00:00
Robert Shearman
79dc136a37
INTERNET_STATUS_HANDLE_CREATED notifications just send the handle, not
...
an INTERNET_ASYNC_RESULT structure.
The source handle in HTTP_Connect should be the parent's handle.
2005-11-15 12:01:59 +00:00
Robert Shearman
5b1fd2e58e
SSL doesn't need to use a different socket to unsecure communications.
2005-11-15 12:01:40 +00:00
Saulius Krasuckas
bc52612f77
Fix a test for InternetCreateUrlA as no Windows platform sets last
...
error here. Make InternetCreateUrlA pass the test.
2005-11-14 11:23:02 +00:00
Robert Shearman
01e91e5f6c
Implement InternetReadFileExA (based on a patch by Brian Gerst).
2005-11-12 19:10:56 +00:00
YunSong Hwang
58d6722e7a
Add Korean translations.
2005-11-11 10:55:09 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Mike Hearn
3ba70220d2
Update wininet version info.
2005-11-10 11:03:51 +00:00
Vincent Béron
522b39bb42
Unicodify InternetCheckConnection.
...
Use HeapAlloc'ed buffers where applicable.
2005-11-08 16:09:20 +00:00
Alexandre Julliard
dd281290e8
Authors: Marcus Meissner <marcus@jet.franken.de>, Walter Weiss <wjweiss@hotmail.com>
...
Added handling of more HTTP standard headers and binary search lists.
2005-11-01 18:06:54 +00:00
James Hawkins
1928ee8804
Implement InternetCreateUrlW and test cases.
2005-10-31 14:06:35 +00:00
James Hawkins
19ce8115a8
Correct parameter names for InternetSetFilePointer.
2005-10-28 10:08:44 +00:00
Vijay Kiran Kamuju
ab80e557d7
Add default implementation for max_conn_pre_*_server flag.
...
Add stubs for the above flags in InternetSetOption.
2005-10-27 18:28:59 +00:00
Jacek Caban
02708c6227
Make functions static.
2005-10-26 10:07:58 +00:00
Aric Stewart
4a38fb2b10
Move the peek_msg buffers for SSL connections into the
...
WININET_CONNECTION structure to prevent 2 threads from clobbering each
other's buffers.
2005-10-20 11:35:54 +00:00
Mike McCormack
403e58f5f4
Set the http port before figuring out whether we're using a proxy.
2005-10-19 19:07:08 +00:00
Aric Stewart
44cbdf2138
Use debugstr_a to prevent a buffer overflow when debugging.
2005-10-19 18:28:35 +00:00
Denis Lukianov
d664711cae
Use ICU_BROWSER_MODE in InternetCanonicalizeUrl.
2005-09-29 13:33:39 +00:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Vincent Béron
a0c185ee1b
Cast the result of strlen() to DWORD and print it via %ld to get rid
...
of warnings with gcc 3.2.
2005-09-29 10:33:20 +00:00
Alexander N. Sørnes
cd6e5bab8b
Added Norwegian translations.
2005-09-26 10:56:47 +00:00
Kimmo Myllyvirta
a7cdcfd995
Update Finnish resources.
2005-09-25 15:14:58 +00:00
Milko Krachounov
980f817737
Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
...
shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
setupapi, wininet, regedit, uninstaller, notepad, winecfg and
winhelp.
2005-09-19 17:00:58 +00:00
Alexandre Julliard
7c1925a0f3
Remove the 'L' suffix on a number of constants to avoid comparison
...
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Alexandre Julliard
c6b005ac69
Fixed some more traces to use the right printf format and avoid
...
typecasts.
2005-09-12 14:12:46 +00:00
Alexandre Julliard
4c34d9386c
Specify 64-bit integers as double instead of long long in spec files
...
so that we get the correct number of arguments.
2005-09-09 15:05:01 +00:00
Alexandre Julliard
20a1a203c6
Use a more portable scheme for storing the name of a critical
...
section.
2005-09-09 10:19:44 +00:00
9c1d0cfc09
Wrong flags were being tested for INTERNET_FLAG_NO_AUTO_REDIRECT.
2005-09-07 11:26:34 +00:00
Alexandre Julliard
cc4da88563
Explicitly import kernel32 in tests that use it.
2005-08-27 09:27:09 +00:00
James Hawkins
92ba28851a
Avoid heap corruption by not accessing old HeapReAlloc'ed pointer.
2005-08-24 09:44:59 +00:00
Saulius Krasuckas
69cf6a28f5
Correct failing test and transform it into a bunch of another tests.
2005-08-17 09:53:57 +00:00
Saulius Krasuckas
43e93117e3
Move repetitive code to two helper functions.
2005-08-16 15:56:42 +00:00
Francois Gouget
bcd56fe0e5
Assorted spelling fixes.
2005-08-12 18:22:06 +00:00
Alexandre Julliard
94defee579
Don't prefix the functions DllInstall and DllGetVersion with the dll
...
name so that the compiler can check the prototypes.
2005-08-08 17:43:51 +00:00
Robert Shearman
b1722b7ad7
As per MSDN, INTERNET_OPTION_CONNECTED_STATE should take a DWORD
...
instead of the INTERNET_CONNECTED_INFO structure.
2005-08-03 19:13:27 +00:00
Robert Shearman
d89705daf6
Fix return value of InternetQueryDataAvailable.
2005-07-15 09:56:34 +00:00
Mike McCormack
bda7ace2e9
Interlocked LONG* gcc warning fixes.
2005-07-13 11:59:15 +00:00
Mike McCormack
257c337c19
gcc 4.0 -Wpointer-sign fixes (Reg* functions).
2005-07-07 12:08:42 +00:00
Mike McCormack
b8fc783be2
Avoid warnings in generated tests by casting sizeof(x) to an int.
2005-07-03 11:23:30 +00:00
Alexandre Julliard
9c80ef3d85
Added missing LGPL header.
2005-06-30 20:49:27 +00:00
Robert Shearman
5cee3988bf
Add stubs for some InternetSetOption options.
2005-06-30 10:13:50 +00:00
Alexandre Julliard
aa0b9aac0d
Sort entry points alphabetically.
2005-06-22 18:38:23 +00:00
Maarten Lankhorst
e325f7ed82
Changed setting default port number from HTTP_Connect to
...
HttpOpenRequestW.
2005-06-21 20:02:34 +00:00
Maarten Lankhorst
6d6ca1e7c5
- Added new INTERNET_OPTION* defines.
...
- Fixed InternetSetOptionW unknown option handling, and added
INTERNET_OPTION_DISABLE_PASSPORT_AUTH.
2005-06-21 20:02:21 +00:00
Mike McCormack
9b95bb526d
Fix some warnings.
2005-06-13 19:05:42 +00:00
Mike Hearn
599f3e879e
- Don't return NULL for proxy details if there is no proxy.
...
- Remove stub message, it seems to be complete.
2005-06-05 19:19:43 +00:00
Uwe Bonnes
29db8816b2
Handle more Escape situations.
2005-05-24 11:43:35 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Troy Rollo
9d86716ef6
Create URL Cache if it does not already exist.
2005-05-04 10:36:43 +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
6aefbc0934
Strncpy elimination.
2005-04-18 15:36:20 +00:00
Peter Berg Larsen
6e3bcb5a54
Replace strncpy with memcpy or lstrcpyn.
2005-04-18 10:30:55 +00:00
Benjamin Cutler
8c37f4362b
Better handling of hInternet == NULL for INTERNET_OPTION_PROXY in
...
INET_QueryOptionHelper. MSDN says to return 'global proxy info' when
hInternet == NULL. Thanks to Juan Lang for helping with this.
2005-04-14 11:31:39 +00:00
Benjamin Cutler
c2053e1ded
Check for an invalid hInternet handle in INET_QueryOptionHelper for
...
INTERNET_OPTION_PROXY before attempting to use it.
2005-04-13 16:11:36 +00:00
Jason Edmeades
2f30d307df
Ensure A->W version of InternetCrackURL passes correct length values,
...
and associated tests.
2005-04-11 16:10:50 +00:00
Juan Lang
6d83105054
- set size required correctly for all supported options
...
- tidy up a few lines of indenting in INET_QueryOptionHelper
- implement querying INTERNET_OPTION_PROXY
2005-04-11 14:26:18 +00:00
José Manuel Ferrer Ortiz
4f50a2c0dc
Spanish translations updated.
2005-04-11 13:01:46 +00:00
Francois Gouget
6b10c324c5
Assorted spelling fixes.
2005-03-30 17:08:31 +00:00
Peter Berg Larsen
a667d536b9
Janitorial: Get rid of strncpy/strncpyW.
2005-03-29 19:49:21 +00:00
Peter Berg Larsen
e732fc023d
Janitorial: Get rid of strncpy/strncpyW.
2005-03-28 14:17:51 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Francois Gouget
93416cdaf7
Assorted spelling fixes.
2005-03-23 13:15:18 +00:00
Jakob Eriksson
461c830745
Eliminate HeapAlloc casts.
2005-03-22 18:26:06 +00:00
Troy Rollo
9c7932d475
Implement CreateUrlCacheEntryW and CommitUrlCacheEntryW. Replace the
...
existing 'A' versions with calls to the 'W' versions.
2005-03-21 12:33:17 +00:00
Vincent Béron
1e365f7791
Fixed some calling conventions.
2005-03-21 10:32:45 +00:00
Dmitry Timoshkov
75b93ff1aa
Match OVERLAPPED structure to the SDK definition.
2005-03-17 19:00:08 +00:00
Hans Leidekker
e82731a3c7
Add more tests and fix InternetTimeToSystemTimeW accordingly.
2005-03-17 18:55:41 +00:00
Jakob Eriksson
b9fddc05de
Test failed before on 98, NT4, 2000 and XP.
2005-03-16 20:17:31 +00:00
Robert Shearman
7707a765b7
- Fully delete custom headers on connection opening.
...
- Free unneeded memory on clearing of standard headers.
- Fix index sanity test in delete function.
2005-03-10 11:14:24 +00:00
Jon Griffiths
eb5bf7dd38
Documentation spelling fixes.
2005-02-25 14:07:56 +00:00
Alex Villacís Lasso
18bfe6a095
Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
...
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Marcelo Duarte
574c0edabb
Update the resources for Portuguese.
2005-02-14 11:12:30 +00:00
Hans Leidekker
6a8b67ca33
Stub implementations for DeleteUrlCacheContainer{A,W},
...
CreateCacheContainer{A,W}, FindFirstUrlCacheContainer{A,W},
FindNextUrlCacheContainer{A,W}.
Handle the case where the supplied buffer size is too small in
InternetQueryOption.
2005-02-08 13:43:09 +00:00
Steven Edwards
fbf3b25be3
Correct spec entry for FindFirstUrlCacheEntryEx.
2005-02-08 12:10:09 +00:00
David McCullough
10ff5e1e81
HTTP_HttpSendRequestW was getting invoked with a null verb, default to
...
the GET method.
2005-02-02 09:56:35 +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
Francois Gouget
da8b3dd7f2
Assorted spelling fixes.
2005-01-26 21:09:04 +00:00
Maxime Bellengé
e220907c71
Replace '\' with '/' in the URL in HTTP_HttpSendRequestW.
2005-01-25 16:43:17 +00:00
Hans Leidekker
e9856f166b
Implement and test InternetTime{From,To}SystemTime{A,W}.
...
Correct spelling in InternetCheckConnectionA.
2005-01-18 11:43:40 +00:00
Jonathan Ernst
8e927a6a74
Updated French resources.
2005-01-17 15:34:49 +00:00
Henning Gerhardt
038c5cbcbf
Update German resources.
2005-01-17 13:43:16 +00:00
Diego Pettenò
869a66a8fd
Get rid of DPRINTF.
2005-01-07 17:09:39 +00:00
Mike McCormack
4a0f999859
Use CreateEventW in preference to CreateEventA for unnamed events.
2005-01-07 15:40:09 +00:00
Lionel Ulmer
58b1e2a4e9
Fix 'SendAsyncCallback' when it's really asynchronous.
2005-01-04 20:38: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
Rein Klazes
3714a39867
Correct cases where arguments of ok() calls depend on the order in
...
which they are evaluated.
2004-12-27 17:26:37 +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
Lionel Ulmer
d792a6af7b
Added/improved TRACEing.
2004-12-23 11:18:29 +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
Steven Edwards
191a91d44a
MSVC porting fixes.
2004-12-20 18:50:33 +00:00
Eric Pouech
4056d7ef8c
Fixed some errors in function prototypes.
2004-12-13 21:19:01 +00:00
Eric Pouech
c164e069a8
Fixed array index overflow.
2004-12-13 12:01:58 +00:00
Mike McCormack
c72d956b90
Make sure to insert the proxy authentication header if necessary.
2004-12-06 11:40:57 +00:00
Eric Pouech
5c2a891c43
Made some functions and variables static.
2004-11-29 18:00:10 +00:00
Tom Wickline
5c38e1b561
Version resources cleanup.
2004-11-23 13:59:34 +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
Jakob Eriksson
2d54019bbd
Supposedly fix http test on Windows.
2004-10-28 21:01:04 +00:00
Vincent Béron
3875307d0c
Remove #ifdef HAVE_SYS_TYPES_H.
2004-10-08 20:48:44 +00:00
Robert Shearman
07519aa1d0
Don't define GWL_USERDATA, GWL_ID, GWL_HWNDPARENT, GWL_HINSTANCE and
...
GWL_WNDPROC when compiling the Wine source.
2004-09-23 22:54:58 +00:00
Robert Shearman
b72a682751
Use dynamically allocated heap allocated buffers in
...
HTTP_InterpretHTTPHeader to avoid buffer overflow on large headers.
2004-09-23 22:53:50 +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
890977a18d
Always replace whatever is already in the HTTP "Host" header.
2004-09-20 21:43:47 +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
Alexandre Julliard
60a8fcf4b0
Avoid using socklen_t.
2004-09-16 20:34:27 +00:00
Robert Shearman
0e74f851e8
Don't let applications add Connection header to request.
2004-09-14 19:38:59 +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
Robert Shearman
898baf674e
- Remove unused variable hIC.
...
- Remove check for HTTP signature in server reply.
- Fix stupid error with freeing the wrong buffer.
2004-09-13 19:17:47 +00:00
Uwe Bonnes
66af8b5f60
Strip dangling \r\n from HTTP_HttpSendRequest.
2004-09-10 21:11:22 +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
Francois Gouget
5512ae2685
Disable MSVC warning 4116 to avoid the 'unnamed type definition in
...
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Uwe Bonnes
5f289e766f
Check for more standard headers.
2004-09-06 20:27:04 +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
Alexandre Julliard
754e7aa788
Added configure check for socklen_t.
2004-09-03 18:30:28 +00:00
Robert Shearman
765b92f9ed
Don't use freed memory.
2004-08-26 18:22:43 +00:00
Francois Gouget
20b8b56d5f
Enable the disabled tests in tests.data or add a comment describing
...
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Huw Davies
174e6a5d28
Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif.
2004-08-24 18:33:01 +00:00
Robert Shearman
f625f4a071
Fix type of DeleteIE3Cache function.
2004-08-19 19:57:37 +00:00
Robert Shearman
af353c0305
Better TRACE's for some Internet* functions.
2004-08-19 19:02:17 +00:00
Stefan Leichter
ece5e478fe
Added stub for DeleteIE3Cache.
2004-08-19 01:05:13 +00:00
David Kredba
b45744c817
Added Czech resources.
2004-08-16 20:02:09 +00:00
Francois Gouget
0cc262c5bf
Fix compilation of the wininet generated tests with the Windows
...
headers.
2004-08-13 23:19:37 +00:00