Francois Gouget
988be5dd8f
urlmon: Fix compilation on systems that don't support nameless unions.
2007-08-08 15:32:03 +02:00
Misha Koshelev
59b2365c7d
urlmon/tests: Add test for binding to a URL from which a very short response is received.
2007-08-08 15:32:00 +02:00
Misha Koshelev
84cf17c3e9
urlmon/tests: Keep track of download state in tests.
2007-08-07 12:42:00 +02:00
Misha Koshelev
ed2cf42b51
urlmon/tests: Add tests for synchronous vs asynchronous binding.
2007-08-07 12:41:54 +02:00
Misha Koshelev
97e999565d
urlmon: Add support for synchronous binding.
2007-08-07 12:41:44 +02:00
Misha Koshelev
e54a48f96c
urlmon/tests: Declare the bind flags as a global variable in url tests.
2007-08-07 12:41:25 +02:00
Misha Koshelev
ea37fa998c
urlmon/tests: Fix todo_wine's to show the IServiceProvider interface is not queried on wine from CreateAsyncBindCtx.
2007-08-06 14:02:56 +02:00
Misha Koshelev
b2beeea5b2
urlmon: Send BINDSTATUS_DOWNLOADINGDATA if we do not send BEGINDOWNLOADDATA or ENDDOWNLOADDATA.
2007-08-03 13:35:53 +02:00
Misha Koshelev
b2558480c2
urlmon: Call IBindStatusCallback_OnStopBinding only if this actually is the last ReportData.
2007-08-03 13:35:46 +02:00
Misha Koshelev
99989f8241
Revert "urlmon: Use BSCF_ values passed to report_data to keep track of download state."
...
This reverts commit 978f6b98c9
.
2007-08-03 13:35:35 +02:00
Misha Koshelev
aa12574d09
Revert "urlmon: Report BINDSTATUS_DOWNLOADINGDATA on BSCF_INTERMEDIATEDATANOTIFICATION."
...
This reverts commit b3a660a69c
.
2007-08-03 13:35:19 +02:00
Misha Koshelev
cb8a0dd70d
urlmon: Do not fill stream buffer on every report_data, native doesn't.
2007-08-02 12:44:21 +02:00
Misha Koshelev
55409b2e04
urlmon: Report total data read in this bind operation to OnDataAvailable, not the size of the available buffer.
2007-08-02 12:44:15 +02:00
Misha Koshelev
b3a660a69c
urlmon: Report BINDSTATUS_DOWNLOADINGDATA on BSCF_INTERMEDIATEDATANOTIFICATION.
2007-08-02 12:44:10 +02:00
Misha Koshelev
978f6b98c9
urlmon: Use BSCF_ values passed to report_data to keep track of download state.
2007-08-02 12:44:03 +02:00
Misha Koshelev
a63419bc2c
urlmon: Set the queue tail to the new task when pushing a task onto the tail of the queue.
2007-08-02 12:43:21 +02:00
Misha Koshelev
0a9dfa0d27
urlmon/tests: Make http protocol tests refractory to timing issues.
2007-07-27 12:25:05 +02:00
Misha Koshelev
9f31fb2fd4
urlmon/tests: Rename received_data event to more general name event_complete.
2007-07-27 12:24:50 +02:00
Misha Koshelev
c4f1adb7cc
urlmon/tests: Don't proceed with POST operation (that will fail) if we run out of memory.
2007-07-26 12:34:07 +02:00
Misha Koshelev
d5fedcdab0
urlmon/tests: Fix http protocol tests with absence of BINDF_FROMURLMON to properly expect ReportData.
2007-07-26 12:33:58 +02:00
Misha Koshelev
a8aa3fb546
urlmon: Don't free structures that are used by asynchronous HttpSendRequest until we are sure they won't be used.
2007-07-26 12:33:49 +02:00
Jacek Caban
262db80776
urlmon: Change some gotos to return.
2007-07-26 11:51:11 +02:00
Misha Koshelev
0c0285118e
urlmon/tests: Release two objects that should be released but are not.
2007-07-24 12:32:57 +02:00
Misha Koshelev
752334c561
urlmon: Release IInternetProtocolInfo returned from get_protocol_info when finished with it.
2007-07-24 12:32:52 +02:00
Misha Koshelev
f5ed5a7f48
urlmon: LockModule in create_binding_protocol as we ReleaseModule when the object is released.
2007-07-24 12:32:47 +02:00
Misha Koshelev
414ddfa671
urlmon: If we are using an internal protocol ClassFactory, call its AddRef as the caller must Release the object.
2007-07-24 12:32:42 +02:00
Misha Koshelev
7cc8b279fb
urlmon: Wrap IHttpNegotiate2 interface exposed by IBindStatusCallback as done by native.
2007-07-24 12:19:19 +02:00
Misha Koshelev
8f78c71cb6
urlmon/tests: Add tests for calls to IHttpNegotiate interfaces as exposed by IBindStatusCallback.
...
Add more tests for specific arguments passed to IHttpNegotiate and IHttpNegotiate2. Note that
for OnResponse pszAdditionalHeaders is NULL when called directly from IInternetProtocol (for
example as seen in our protocol tests) but non-NULL when these interfaces are exposed by
IBindStatusCallback as seen here. Tests conform on Win98 and Winxp.
2007-07-24 12:19:08 +02:00
Misha Koshelev
89bda10960
urlmon/tests: Add tests for calls to IBindStatusCallback_QueryInterface.
2007-07-24 12:18:52 +02:00
Misha Koshelev
2b4c52014e
urlmon: Add a reference to the IUnknown for Release of STGMEDIUM to account for extra call to ReleaseBindInfo.
2007-07-24 12:18:30 +02:00
Misha Koshelev
40b94b733b
urlmon: ReleaseBindInfo in FileProtocol.
2007-07-24 12:18:24 +02:00
Misha Koshelev
03ac3b5e95
urlmon: Don't ignore bytes read from IInternetProtocol_Read if hres is not S_OK (e.g., E_PENDING).
...
Bytes can still be read with E_PENDING returned if the whole request could not be satisfied, don't
ignore those.
2007-07-24 12:18:15 +02:00
Misha Koshelev
9bcb9c16ec
urlmon: Fix timing issue with FLAG_REQUEST_COMPLETE and InternetQueryDataAvailable in HttpProtocol.
2007-07-24 12:17:58 +02:00
Misha Koshelev
a58da4c49a
urlmon: Add support for non-GET requests (e.g., POST) in HttpProtocol.
2007-07-23 11:57:56 +02:00
Misha Koshelev
609d91fb0c
urlmon: Actually send the additional headers returned by IHttpNegotiate::BeginningTransaction.
2007-07-23 11:57:50 +02:00
Misha Koshelev
2a4e41878d
urlmon: Call HttpOpenRequest with INTERNET_FLAG_KEEP_CONNECTION, INTERNET_FLAG_NO_CACHE_WRITE if appropriate.
2007-07-23 11:57:35 +02:00
Misha Koshelev
e9312fbc92
urlmon/tests: Add test for BINDVERB_POST in http_protocol.
2007-07-23 11:57:23 +02:00
Misha Koshelev
4e205947e7
urlmon/tests: Add tests for HttpProtocol behavior when it is called without the BINDF_FROMURLMON flag.
2007-07-19 11:59:27 +02:00
Misha Koshelev
b6aea93891
urlmon: Implement HttpProtocol::Terminate.
2007-07-19 11:59:15 +02:00
Misha Koshelev
043f71b576
urlmon: Fix HttpProtocol behavior when it is called without the BINDF_FROMURLMON flag.
2007-07-19 11:59:04 +02:00
Misha Koshelev
0878627071
urlmon/tests: Fix http_protocol tests to succeed when called more than once.
2007-07-19 11:58:57 +02:00
Misha Koshelev
e2726effe2
urlmon/tests: Fix http_protocol tests to succeed on Win98.
2007-07-19 11:58:39 +02:00
Misha Koshelev
c2534d0cd6
urlmon: Use InternetCloseHandle instead of CloseHandle.
2007-07-19 11:58:30 +02:00
Misha Koshelev
442ec6acdd
urlmon: Remove FLAG_CALLED_SWITCH, which is now redundant.
2007-07-19 11:58:24 +02:00
Misha Koshelev
fc48d6da73
urlmon: Fix HttpProtocol behavior when InternetQueryDataAvailable returns ERROR_IO_PENDING.
2007-07-16 14:59:11 +02:00
Misha Koshelev
11ccc0f79e
urlmon: Make HttpProtocol conform with native wininet on wine.
2007-07-12 13:00:24 +02:00
Misha Koshelev
213bfd2777
urlmon: Fix HttpProtocol_Start and strndupW to work properly with native wininet.
2007-07-12 12:59:44 +02:00
Misha Koshelev
dab80a8d9f
urlmon: Implement HttpProtocol.
2007-07-11 12:42:14 +02:00
Misha Koshelev
82569d9d0a
urlmon/tests: Add tests for ObtainUserAgentString.
2007-07-10 13:37:13 +02:00
Misha Koshelev
e4282a59dd
urlmon: Improve ObtainUserAgentString conformance to native.
2007-07-10 13:37:09 +02:00
Misha Koshelev
64054b005c
urlmon/tests: Make http protocol mime type test pass on native.
2007-07-09 12:16:23 +02:00
Jacek Caban
daca693f30
urlmon: Don't pass query part of URL to CreateUrlCacheEntryW.
2007-06-06 13:40:05 +02:00
Jacek Caban
172a35c442
urlmon: There is no need to make slash conversion in BindToStorage as URL is already canonized in the constructor.
2007-05-29 14:13:13 +02:00
Francois Gouget
c85b74d63e
In the PSDK HRESULT_FROM_WIN32() is now an inline function, and it is __HRESULT_FROM_WIN32() which is a macro.
2007-05-29 13:17:46 +02:00
Rob Shearman
d82c456e5f
urlmon: The persisted version of URL monikers should be size of URL
...
including nul-terminating character (4-bytes), followed by the URL
string including nul-terminating character.
2007-05-24 11:35:08 +02:00
Rob Shearman
d76a15a36d
urlmon: Fix a typo in URLMonikerImpl_Save.
...
The data in This->URLName should be written out, not the pointer
followed by garbage.
2007-05-24 11:34:56 +02:00
Hans Leidekker
691b0a3d68
urlmon: Add an implementation for CreateURLMonikerEx based on existing code for CreateURLMoniker.
2007-04-23 14:06:13 +02:00
Rob Shearman
fd8868bac4
urlmon: Fix a reference count leak that would keep the module alive when it shouldn't.
2007-04-02 11:34:32 +02:00
Jan Zerebecki
cfd121072c
urlmon: Add DebugInfo to critical sections.
2007-03-12 13:40:06 +01:00
Jacek Caban
74d49757c7
urlmon: Fix FindMimeFromData tests on IE7.
2007-03-02 11:39:36 +01:00
Jacek Caban
d31969b5e6
urlmon: Check if protocol object implements IInternetProtocolInfo interface.
2007-02-23 11:24:01 +01:00
Jacek Caban
102ae714c7
urlmon: Added mk protocol handling test.
2007-02-12 14:14:01 +01:00
Jacek Caban
c5280fcc00
urlmon: Added test of handlong its protocol.
2007-02-12 14:13:54 +01:00
Jacek Caban
c374936472
urlmon: Depend on Read result in report_data.
2007-02-12 14:13:48 +01:00
Jacek Caban
f66b99db83
urlmon: Store download state in Binding object.
2007-02-12 14:13:43 +01:00
Jacek Caban
6299859ee7
urlmon: Fix continue_call handling.
2007-02-08 11:56:59 +01:00
Jacek Caban
88f76cc29e
urlmon: Call OnProgress directly in report_data.
2007-02-08 11:56:51 +01:00
Jacek Caban
4613567d32
urlmon: Added ReportProgress(BINDSTATUS_DIRECTBIND) implementation.
2007-02-08 11:56:46 +01:00
Jacek Caban
f799192b3e
urlmon: Fix ReportResult on async protocols.
2007-02-08 11:56:33 +01:00
Jacek Caban
2eb2d74052
urlmon: Use queue for whole ReportData implementation.
2007-02-07 21:44:51 +01:00
Jacek Caban
16bf14d129
urlmon: Added ReportProgress(BINDSTATUS_BEGINDOWNLOADDATA) implementation.
2007-02-07 21:44:44 +01:00
Jacek Caban
4e4b589079
urlmon: Use custom task structs.
2007-02-07 21:44:38 +01:00
Jacek Caban
079e3822bc
urlmon: Use proc instead of enum in task queue.
2007-02-07 21:44:30 +01:00
Jacek Caban
e8d2b54309
urlmon: Unlock protocol only if it was locked.
2007-02-07 21:44:18 +01:00
Jacek Caban
451a8a6dd0
urlmon: Set BINDF_NEEDFILE flag for all not urlmon protocols.
2007-02-07 21:44:13 +01:00
Paul Vriens
f5035577fb
urlmon: Cast-qual warning fixes.
2007-02-07 11:03:50 +01:00
Paul Vriens
bb6e47af6c
urlmon: Cast-qual warning fix.
2007-02-07 11:03:44 +01:00
Jacek Caban
e39a96c5fb
urlmon: Fix zone tests.
2007-02-06 22:07:16 +01:00
Jan Zerebecki
ea6ee42c71
urlmon: Remove redundant const.
2007-02-06 13:20:03 +01:00
Jacek Caban
1ba20d3b8b
urlmon: Code clean up.
2007-02-05 12:24:16 +01:00
Jacek Caban
76b821bdd7
urlmon: Call AddRef in CoInternetGetSession.
2007-02-05 12:24:12 +01:00
Jan Zerebecki
85410f2ac1
urlmon: Fix type of an empty string to avoid warning.
2007-01-25 11:06:08 +01:00
Jacek Caban
fed5d9e1ff
urlmon: Added BindProtocol's IInternetPriority implementation.
2007-01-24 12:32:47 +01:00
Jacek Caban
61f646f2c1
urlmon: Added CreateBinding test.
2007-01-24 12:01:02 +01:00
Jacek Caban
60df6e06a5
urlmon: Added beginning BindProtocol implementation.
2007-01-24 12:00:54 +01:00
Jacek Caban
87de64227a
urlmon: Return CLSID from get_protocol_handler.
2007-01-24 12:00:46 +01:00
Jacek Caban
6c13f391da
urlmon: Added IInternetProtocolSink interface to BindProtocol.
2007-01-24 12:00:37 +01:00
Jacek Caban
6bbd8c7f6e
urlmon: Added IInternetPriority interface to BindProtocol.
2007-01-24 11:59:50 +01:00
Jacek Caban
e40f814be0
urlmon: Added IInternetSession::CreateBinding beginning implementation.
2007-01-24 11:59:34 +01:00
Francois Gouget
b0bde6b87c
Assorted spelling fixes.
2007-01-18 12:56:52 +01:00
Jacek Caban
6ea7a445ce
urlmon: Added mk protocol implementation.
2007-01-15 12:22:51 +01:00
Jacek Caban
76ce82374e
urlmon: Added mk protocol stub implementation.
2007-01-12 20:40:54 +01:00
Jacek Caban
243549c5b2
urlmon: Code clean up.
2007-01-12 20:40:27 +01:00
Francois Gouget
f96ddb27ac
urlmon/tests: Replace some '#if 0's with 'if (0)'s.
...
Fix the code so it compiles without warnings.
2007-01-08 12:08:08 +01:00
Francois Gouget
4dc5c7aede
urlmon: Print GetLastError() in decimal with '%u'.
2007-01-05 18:24:17 +01:00
Jacek Caban
f89edb19af
urlmon: Remove failing tests.
2006-12-27 13:02:23 +01:00
Alexandre Julliard
f92ef1c543
makedep: Add support for magic comments in .rc files so we can generate proper dependencies for them.
2006-12-26 15:02:03 +01:00
Jacek Caban
bb52f14d59
urlmon: Use pluggable protocol in CoInternetCompareUrl.
2006-12-13 16:04:48 +01:00
Jacek Caban
35e0e994ce
urlmon: Added application/x-msdownload mime filter.
2006-12-13 16:04:48 +01:00
Jacek Caban
8afd947f15
urlmon: Added application/pdf mime filter.
2006-12-07 11:24:22 +01:00
Jacek Caban
edf73245fe
urlmon: Added application/java mime filter.
2006-12-07 11:24:16 +01:00
Jacek Caban
d5c6f6ec25
urlmon: Added application/x-zip-compressed filter.
2006-12-07 11:24:07 +01:00
Jacek Caban
3d767fcb55
urlmon: Added application/x-gzip-compression filter.
2006-12-07 11:24:01 +01:00
Dmitry Timoshkov
8b72102bd7
urlmon: Make some data const.
2006-11-29 12:44:16 +01:00
Andrew Talbot
60cafb5e95
urlmon: Cast-qual warnings fix.
2006-11-17 12:45:35 +01:00
Francois Gouget
43b52ebb8e
urlmon/tests: Fix compilation with the PSDK headers.
2006-11-07 15:29:29 +01:00
Jacek Caban
ee5a440030
urlmon: Update winehq.org IP.
2006-10-30 11:17:17 +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
Jacek Caban
53f68ae3e6
urlmon: Added video/mpeg mime filter.
2006-10-24 11:43:25 +02:00
Jacek Caban
3515dbc37c
urlmon: Code clean up.
2006-10-24 11:43:18 +02:00
Jacek Caban
84253b011d
urlmon: Added video/avi mime filter implementation.
2006-10-24 11:43:01 +02:00
Jacek Caban
b9b812da70
urlmon: Added image/tiff mime filter.
2006-10-23 12:29:08 +02:00
Alexandre Julliard
d3d3aba3a3
urlmon: Create a message window for each binding to make sure they are cleaned up properly.
2006-10-16 11:32:17 +02:00
Michael Stefaniuc
15765dd953
The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility.
2006-10-16 10:53:04 +02:00
Ge van Geldorp
d642e11438
winapi_test: Regenerate tests.
...
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02:00
Jacek Caban
009996e7e3
urlmon: Win64 printf format warning fixes.
2006-10-07 18:05:23 +02:00
Jacek Caban
7e340f8f62
urlmon: Win64 printf format warning fixes.
2006-10-06 12:47:59 +02:00
Francois Gouget
82babbee0b
Add missing '\n's to Wine traces.
2006-10-05 17:46:48 +02:00
Francois Gouget
398245b640
urlmon: Fix spelling of the 'origin' parameter in the *Protocol_Seek() functions.
2006-10-03 15:56:26 +02:00
Francois Gouget
dc0cfe7729
urlmon: Fix the case of the BINDINFO.cbstgmedData field. Fixes the htmldoc test compilation on Windows.
2006-09-29 17:53:23 +02:00
Francois Gouget
87045eb0c5
Fix rpcndr.h so it takes CONST_VTABLE into account.
...
Define CONST_VTABLE in the tests that need it. This fixes many Visual C++ warnings.
2006-09-29 17:52:27 +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
7f5b4a4602
urlmon/tests: Don't fail the tests if the network is unreachable.
2006-09-21 11:45:32 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +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
Robert Shearman
4582a2bb8e
urlmon: Delay-load cabinet.dll as native urlmon doesn't import it.
2006-08-04 20:27:04 +02:00
Jacek Caban
5674260b6d
urlmon: Use CoInternetParseUrl in URLMonikerImpl_Construct.
2006-07-31 10:49:32 +02:00
Jacek Caban
a04ffc3795
urlmon: Don't use freed string in TRACE.
2006-07-24 12:57:33 +02:00
Jacek Caban
e8617b9f1a
urlmon: Added PARSE_CANONICALIZE implementation in CoInternetParseUrl.
2006-07-20 12:11:43 +02:00
Jacek Caban
d85110a317
urlmon: Fix handle leak.
2006-07-18 11:16:20 +02:00
Jacek Caban
aaef326017
urlmon: Register zone and security manager.
2006-07-17 13:53:18 +02:00
Jacek Caban
ec26cd2704
urlmon: Added UrlMkGetSessionOption implementation.
2006-07-17 13:53:00 +02:00
Jacek Caban
919871523a
urlmon: Use URL_FILE_USE_PATHURL flag to combine urls.
2006-07-17 13:52:56 +02:00
James Hawkins
e2bf4ff164
urlmon: Implement URLDownloadToCacheFileW.
2006-07-12 21:13:16 +02:00
Andrew Talbot
24e4acf728
urlmon: Write-strings warnings fix.
2006-07-12 13:21:30 +02:00
Alexandre Julliard
eb8a40c368
libs: Merged libwine_unicode into libwine.
...
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Jacek Caban
101c18537a
urlmon: Always verify mime using FindMimeFromData.
2006-07-11 12:04:19 +02:00
Alexandre Julliard
77dc0d9be5
.gitignore: Added wildcards to ignore generated resource files.
2006-07-10 21:39:00 +02:00
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
5258e061dc
make_dlls: Ignore generated import libraries from the top-level .gitignore.
2006-07-10 20:55:58 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Jacek Caban
6004183e51
urlmon: Register protocol handlers in DllMain.
2006-07-10 11:48:27 +02:00
Jacek Caban
57bcaf4d31
urlmon: Use non heap based objects for class factories.
2006-07-10 11:48:18 +02:00
Jacek Caban
6ce4833479
urlmon: Added image/x-png mime filter.
2006-07-07 14:30:35 +02:00
Jacek Caban
682944ad2d
urlmon: Added image/bmp filter.
2006-07-07 14:30:35 +02:00
Jacek Caban
32405d635f
urlmon: Added image/gif filter.
2006-07-07 14:30:35 +02:00
Jacek Caban
1fd9f3edfa
urlmon: Added more test of FindMimeFromData.
2006-07-07 14:30:35 +02:00
Jacek Caban
ae9e41c639
urlmon: Fix handling of proposed mime.
2006-07-07 14:30:35 +02:00
Jacek Caban
b5fa092756
urlmon: Added image/pjpeg mime filter.
2006-07-07 14:30:34 +02:00
Paul Vriens
8f143f190c
Use the return value of register_key_guid.
2006-06-30 21:08:07 +02:00
Jacek Caban
0a109b38c3
urlmon: Call Binding_CloseCacheDownload after Binding_FinishedDownload.
2006-06-20 20:38:51 +02:00
Alexandre Julliard
744528578d
urlmon/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:51 +02:00
Jacek Caban
e4211f4358
urlmon: Use task queue to handle OnDataAvailable call.
2006-06-03 11:43:26 +02:00
Jacek Caban
67b51130f5
urlmon: Added OnResponse implementation.
2006-06-03 11:43:18 +02:00
Jacek Caban
349b93ae57
urlmon: Remove no longer needed binding value in task_t.
2006-06-01 11:10:48 +02:00
Jacek Caban
e6fc0c5dc2
urlmon: Use task queue for cross thread calls in on_progress.
2006-06-01 11:09:23 +02:00
Jacek Caban
08685417ab
urlmon: Use task queue in Switch implementation.
2006-06-01 11:09:07 +02:00
Jacek Caban
99cb95394a
urlmon: Added task queue architecture and use it for OnProgress calls from Continue call.
2006-06-01 11:08:51 +02:00
Jacek Caban
89d9287af6
urlmon: Make suse that every OnProgress call is in an apartment thread.
2006-06-01 11:08:29 +02:00
Jacek Caban
db24fff13e
urlmon: Use FindMimeFromData to determine MIME type.
2006-05-31 15:48:16 +02:00
Jacek Caban
796cf1713d
urlmon: Added text/html filter.
2006-05-31 11:46:31 +02:00
Jacek Caban
c73c3362c6
urlmon: Use filters mechanism in FindMimeFromData.
2006-05-31 11:45:37 +02:00
Jacek Caban
1c50743296
urlmon: Improve debug traces.
2006-05-28 18:13:56 +02:00
Jacek Caban
4797edf4bc
urlmon: Store STGMEDIUM in Binding object and set its pUnkForRelease.
2006-05-28 18:13:45 +02:00
Jacek Caban
21621b2856
urlmon: Return IClassFactory in get_protocol_handler and fix get_protocol.
2006-05-28 18:13:14 +02:00
Jacek Caban
bcd6e9f33b
urlmon: Fix implementation of ReleaseBindInfo.
2006-05-25 20:28:31 +02:00
Jacek Caban
27b5c54f56
urlmon: Better pending read handling.
2006-05-25 20:28:23 +02:00
Jacek Caban
8b69bf72da
urlmon: Added Switch implementation.
2006-05-25 20:28:11 +02:00
Jacek Caban
675fd219ad
urlmon: Added handling BINDDSTATUS_FINDINGSOURCE and BINDSTATUS_CONNECTING in ReportProgress.
2006-05-25 20:27:55 +02:00
Jacek Caban
10acd23b2c
urlmon: Call OnProgress in apartment thread.
2006-05-25 20:22:16 +02:00
Jacek Caban
cef354a216
urlmon: Return MK_S_ASYNCHRONOUS if bindindg is asynchronous.
2006-05-25 20:19:55 +02:00
Jacek Caban
6155a67782
urlmon: Added ReportResult implementation.
2006-05-25 20:19:33 +02:00
Jacek Caban
225333d79b
urlmon: Added GetRootSecurityId and BeginningTransaction implementation.
2006-05-25 20:19:23 +02:00
Jacek Caban
d523eda742
urlmon: Added registering name space test.
2006-05-25 10:38:33 +02:00
Jacek Caban
9c9838d9e8
urlmon: Use registered protocols.
2006-05-25 10:38:22 +02:00
Jacek Caban
9fb647ef00
urlmon: Added [Un]RegisterNamespace implementation.
2006-05-25 10:37:51 +02:00
Alexandre Julliard
9ca8a86914
Link against libwine_unicode everywhere we use Unicode functions.
2006-05-24 18:05:40 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Jacek Caban
735c434376
urlmon: Fix tests.
2006-05-15 11:48:21 +02:00
Robert Shearman
74407105d2
Check the return value from register_key_guid in all the DLL registering code.
2006-05-10 19:38:04 +02:00
Michael Stefaniuc
a87520036f
janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
...
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Francois Gouget
9a722d0afd
Fix compatibility with native advpack dlls.
...
Most native advpack dlls in circulation don't have RegInstallA. So
mshtml and urlmon should do a GetProcAddress() on 'RegInstall'
instead.
2006-03-06 17:51:19 +01:00
Francois Gouget
be6d891f0d
advpack: Prepare the unicodification of advpack.dll.
...
All functions that manipulate strings should have an Ansi and a
Unicode variant.
Forward the unqualified dll entry points to the Ansi variant for
backward compatibility.
We're not allowed to use unqualified entry points in Wine, so change
RegInstall() calls to RegInstallA().
Update win32.api.
2006-02-27 15:57:33 +01:00
Dmitry Timoshkov
57a579ffcd
Make more arrays const.
2006-01-24 14:00:32 +01:00
Jacek Caban
ab6adcb077
urlmon: Reimplement CoInternetCombineUrl to use pluggable protocol.
2006-01-11 20:57:23 +01:00
Jacek Caban
0d57265a16
urlmon: Use CoInternetCombineUrl in URLMonikerImpl_Construct.
2006-01-11 20:55:51 +01:00
Jacek Caban
fdc130f753
urlmon: Fix ref counting.
2006-01-09 17:20:04 +01:00
Jacek Caban
99306db99e
urlmon: Pass FORMATETC to OnDataAvailable.
2006-01-09 17:19:49 +01:00
Jacek Caban
762e2696df
urlmon: Added implementation of protocol stream.
2006-01-09 17:18:06 +01:00
Rolf Kalbermatter
d1b375f7e6
urlmon: Fix a LARGE_INTEGER truncation.
2006-01-06 13:03:50 +01:00
Jacek Caban
b235d7953c
urlmon: Added implementation of QueryService and stub implementation
...
of IHttpNegotiate2 interface.
2006-01-05 13:42:43 +01:00
Jacek Caban
6744b9b468
urlmon: Query service provider for IInternetProtocol.
2006-01-05 13:42:32 +01:00
Jacek Caban
089435d43b
urlmon: Code clean up.
2006-01-05 12:18:06 +01:00
Jacek Caban
c448968bfa
urlmon: Added GetBindInfoString implementation.
2006-01-05 12:17:59 +01:00
Jacek Caban
37263f573a
urlmon: Added http protocol tests (currently failing in Wine).
2005-12-31 13:32:40 +01:00
Jacek Caban
3a04ff6836
urlmon: Removed not used code.
2005-12-31 13:19:32 +01:00
Jacek Caban
fb042eb122
urlmon: Added GetSecurityId implementation.
2005-12-26 13:27:25 +01:00
Jacek Caban
0cceb3386f
urlmon: Use pluggable protocol for file protocol.
2005-12-26 13:27:10 +01:00
Rolf Kalbermatter
81c446ef5d
urlmon: Implement BindAsyncMoniker function.
2005-12-26 12:59:42 +01:00
Jacek Caban
7b4d59c5a0
urlmon: URL with two slashes is valid.
2005-12-26 12:59:31 +01:00
Jacek Caban
ed7aa80765
urlmon: Added handling of BINDF_FROMURLMON in file protocol.
2005-12-19 09:57:25 +01:00
Jacek Caban
7458d74169
urlmon: Added some tests and fixes of file protocol.
2005-12-19 09:52:30 +01:00
Jacek Caban
90c70f755b
urlmon: Fix BindToStorage test.
2005-12-16 12:40:39 +01:00
Thomas Weidenmueller
ac459e7ea0
urlmon: Correctly fix IStream::Read.
...
Don't dereference a possible NULL pointer.
2005-12-12 11:49:29 +01:00
Thomas Weidenmueller
38bfd5e635
urlmon: Fix call to ReadFile.
...
The BytesRead parameter passed to ReadFile may never be NULL.
2005-12-09 11:22:59 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Alexandre Julliard
dfc8305918
Don't crash if BindToStorage fails.
2005-11-15 16:54:13 +00:00
Jacek Caban
0dcf2a4589
Beginning of true BindToStorage implementation.
2005-11-14 15:12:43 +00:00
Jacek Caban
9630d155c2
Added get_protocol_iface internal function and use it in
...
get_protocol_info.
2005-11-14 12:28:18 +00:00
Jacek Caban
d73904713f
Move BindToStorage hack to the separated function.
2005-11-14 11:22:01 +00:00
Vincent Béron
ea25ff6d5d
Correct argument count for URLDownloadToCacheFile{A,W}.
2005-11-11 10:54:26 +00:00
Jacek Caban
6affb1f132
Added URLDownloadToCacheFile[AW] stub.
2005-11-10 11:04:21 +00:00
Jacek Caban
bf5155b606
Added IInternetPriority implementation to FileProtocol.
2005-11-09 10:58:02 +00:00
Jacek Caban
8c4ead4d27
Added implementation of IInternetPriority in HttpProtocol.
2005-11-09 10:28:26 +00:00
Jacek Caban
eb68aa7317
Report BINDSTATUS_SENDINGREQUEST in FileProtocol::Start.
2005-10-29 10:28:47 +00:00
Jacek Caban
a18d3faef8
Added GetZoneActionPolicy implementation.
2005-09-30 10:34:10 +00:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Jacek Caban
7f8614bbd4
Register zones.
2005-09-29 10:30:14 +00:00
Jacek Caban
c292c84b8d
Added MapUrlToZone implementation.
2005-09-29 10:30:04 +00:00
Jacek Caban
976dd6c075
- Added IHttpNegotiate2 interface.
...
- Update BINDSTRING and IInternetSession.
2005-09-19 14:29:16 +00:00
Jacek Caban
67e2759553
More tests of URLMoniker.
2005-09-16 18:46:29 +00:00
Alexandre Julliard
91861e44e7
Fixed a compiler warning.
2005-09-15 18:55:37 +00:00
Jacek Caban
91d6288e35
Added CoInternetGetSession implementation.
2005-09-15 18:47:13 +00:00
Jacek Caban
c54f013787
Added http and ftp protocol stub implementation.
2005-09-14 15:38:26 +00:00
Jacek Caban
097750cf95
Added MIME type checking to FileProtocol::Start.
2005-09-14 10:29:56 +00:00
Jacek Caban
0bc9e7d41c
Added PARSE_SECURITY_DOMAIN action implementation.
2005-09-13 14:30:15 +00:00
Jacek Caban
db62ddec4d
Register ZoneMap.
2005-09-12 22:01:47 +00:00
Jacek Caban
fa1a986093
Rewrote FindMimeFromData to pass tests.
2005-09-12 20:12:40 +00:00
Jacek Caban
dc420fe6c3
Encode URL in file protocol.
2005-09-12 11:11:11 +00:00
Jacek Caban
fecc5f21a7
Fix protocol test.
2005-09-12 11:10:22 +00:00
Jacek Caban
9dc4921e2f
Added urlmon.inf as dependency of rsrc.res.
2005-09-12 11:08:00 +00:00
Jacek Caban
b3084d55e4
Added PARSE_SECURITY_URL action implementation.
2005-09-12 10:10:52 +00:00
Jacek Caban
110cfa3428
Move protocol's CLSIDs to urlmon.idl.
2005-09-09 09:09:22 +00:00
Jacek Caban
ebcb86d10d
Added PARSE_PATH_FROM_URL action implementation.
2005-09-09 09:08:56 +00:00
Stefan Leichter
fa34635ce9
Added version resource to urlmon.dll.
2005-09-09 09:08:41 +00:00
Jacek Caban
2312fdeba4
Added ReleaseBindInfo implementation.
2005-09-08 11:01:46 +00:00
Jacek Caban
5d7f7f56be
Added CoInternetParseUrl implementation.
2005-09-07 11:27:34 +00:00
Jacek Caban
bac6e12c05
- Added IInternetSecurityManager::[SG]etSecuritySite implementation.
...
- Forward IInternetSecurityManager calls to custom manager.
2005-09-07 09:23:18 +00:00
Jacek Caban
0d4f07ba22
Added file protocol implementation.
2005-09-06 09:27:04 +00:00
Jacek Caban
74138a028f
Added RegisterFormatEnumerator and RevokeFormatEnumerator
...
implementation.
2005-09-03 15:03:06 +00:00
Jacek Caban
8d0f45f792
Added CreateAsyncBindCtxEx implementation.
2005-09-03 09:36:12 +00:00
Jacek Caban
1aad8088e5
Added CreateFormatEnumerator implementation.
2005-09-02 12:17:29 +00:00
Alexandre Julliard
cc4da88563
Explicitly import kernel32 in tests that use it.
2005-08-27 09:27:09 +00:00
Alexandre Julliard
d37f0abf07
Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
...
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Francois Gouget
65f2082108
Add missing WINAPI to MSXML_DllGetClassObject().
...
Standardize the DllGetClassObject() prototypes so they match the MSDN
definition.
2005-08-08 15:04:53 +00:00
Felix Nawothnig
802b17c8f5
Fix misuse of UrlCombineW.
2005-07-18 09:08:16 +00:00
Mike McCormack
bda7ace2e9
Interlocked LONG* gcc warning fixes.
2005-07-13 11:59:15 +00:00
Uwe Bonnes
901e7c6650
URLMonikerImpl_BindToStorage: Don't use a HeapAllocated pointer for
...
other purposes.
2005-07-11 10:23:10 +00:00
Uwe Bonnes
bc005b148d
URLMonikerImpl_BindToStorage: Escape special characters.
2005-07-10 17:47:03 +00:00
Jacek Caban
1a182a7629
Register protocols.
2005-07-05 14:06:43 +00:00
Mike McCormack
058e38af72
Fix -Wpointer-sign warnings.
2005-07-03 12:05:03 +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
Jacek Caban
608bdc6025
Fix handling of pmkContext in CreateURLMoniker.
2005-07-03 11:20:28 +00:00
Jacek Caban
132bc714fb
Better module locking.
2005-07-02 10:49:56 +00:00
Stefan Huehner
ffe53258aa
Fix some -Wstrict-prototypes warnings.
2005-06-27 09:57:28 +00:00
Stefan Huehner
863a4b1488
Fix some more -Wstrict-prototypes warnings.
2005-06-21 20:53:13 +00:00
Maarten Lankhorst
da38b66ace
Improved ObtainUserAgentString stub.
2005-06-21 09:44:47 +00:00
Stefan Huehner
03cc8c4181
Remove some -Wstrict-prototypes warnings.
2005-06-17 10:11:37 +00:00
Alexandre Julliard
c2d5b444b3
Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
...
can be used in all the test.
2005-06-13 12:10:54 +00:00
Mike McCormack
8d9471db99
Declare functions and correct prototypes.
2005-06-10 19:29:16 +00:00
Dmitry Timoshkov
eba47f1dfe
Make remaining OLE interface vtables const.
2005-06-06 19:50:35 +00:00
Mike McCormack
fb3f17ab00
Stub implementation for GetSoftwareUpdateInfo.
2005-05-25 09:54:15 +00:00
Mike McCormack
3889d950bc
Add the missing interface method PromptAction to
...
IInternetZoneManager.
2005-05-24 12:30:35 +00:00
Jacek Caban
3be034e9b1
Separated IBinding and IMoniker interfaces.
2005-05-23 09:53:21 +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
Francois Gouget
8054f6c5ad
Update win32.api to match the current sources.
...
Declare CoGetClassObjectFromURL() in urlmon.h.
2005-05-06 14:32:48 +00:00
Christian Costa
4598cde6f5
Added stub implementation for CoGetClassObjectFromURL.
2005-05-05 09:50:57 +00:00
Troy Rollo
833c946234
Correct bug truncating downloaded files to 4096 bytes.
2005-05-05 09:50:46 +00:00
Troy Rollo
caf6fa9531
Implement URLMonikerImpl_BindToStorage.
2005-05-04 10:36:54 +00:00
Mike McCormack
80a6696054
Add stub for FaultInIEFeature.
2005-04-11 12:58:58 +00:00
Francois Gouget
219e76fd06
Add a comment explaining why CDLGetLongPathName[AW] and
...
IsJITInProgress have hardcoded ordinals.
2005-03-08 16:23:52 +00:00
James Hawkins
bbc081e834
Properly implement DllCanUnloadNow ref counting.
2005-02-03 19:38:37 +00:00
James Hawkins
79ecb0d783
- Use only stored result of Interlocked* in AddRef/Release.
...
- Expand TRACEs to display the ref count.
2005-01-12 19:52:38 +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
Jacek Caban
51077d1e86
- Added test of BindToStorage.
...
- Added some declarations to urlmon.idl.
2004-12-20 18:58:04 +00:00
Jacek Caban
7af955a198
- Implemented CreateAsyncBindCtx.
...
- Added test.
2004-12-08 13:46:01 +00:00
Jacek Caban
d9ce4cd628
- Added stub implementation of IInternetZoneManager interface.
...
- Added implementation of CoInternetCreateZoneManager function.
- Added stub implementation of UrlMkGetSessionOption and corrected
declaration of UrlMkSetSessionOption.
- Code cleanup.
2004-11-30 21:14:21 +00:00
Francois Gouget
486d020c1b
Don't define COBJMACROS in objbase.h.
...
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Huw Davies
076b5b706f
Stub implementation of IInternetSecurityManager.
...
Add a classfactory.
Fix calling convention of CoInternetCreateSecurityManager.
2004-09-28 19:18:52 +00:00
Joris Huizer
34cffce6f9
Ref count increment/decrement cleanup.
2004-09-24 01:16:53 +00:00
Hans Leidekker
719a789792
Fix signed/unsigned comparison warnings.
2004-09-22 02:46:38 +00:00
James Hawkins
ba5fe46f8c
Added stub for IsValidURL.
2004-09-09 19:17:57 +00:00
Francois Gouget
7e848dc47e
Test some more urlmon types.
2004-09-07 19:33:36 +00:00
Alexandre Julliard
39a696a166
Removed some uses of the non-standard ICOM_THIS macro.
2004-09-06 20:34:29 +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
Alexandre Julliard
f714b39762
Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
...
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard
936198ce45
Moved ICOM_THIS_MULTI definition out of objbase.h and into the files
...
that use it.
2004-08-13 00:44:22 +00:00
Alexandre Julliard
48c4bb3c31
Get rid of the non-standard ICOM_VTABLE macro.
2004-08-12 23:00:51 +00:00
Francois Gouget
bf72af30d0
Modify widl to put the C COM macros inside an #ifdef COBJMACROS block
...
as is done in the Windows headers.
Add #define COBJMACROS where needed in Wine.
Fixes the compilation of the oleaut32/tests/olefont.c and
urlmon/tests/url.c conformance tests with the Windows headers.
2004-08-11 19:43:45 +00:00
Mike McCormack
5995596a9a
Added a few stub implementations.
2004-07-12 23:48:39 +00:00
Patrik Stridvall
2f339b2523
Added the IInternetSession interface.
2004-05-17 20:51:02 +00:00
Kevin Koltzau
57f7a2c181
Implemented IsAsyncMoniker.
2004-05-07 03:49:19 +00:00
Kevin Koltzau
f0b47e2631
Implemented CoInternetCombineUrl and CoInternetCompareUrl.
2004-05-05 01:32:00 +00:00
Francois Gouget
cfc3943c5f
Make our ascii strings static const.
...
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Alexandre Julliard
a11b2bbafb
Updated the auto-generated tests.
2004-05-04 00:41:11 +00:00
Kevin Koltzau
3d5205ef5f
Handle context in CreateURLMoniker.
2004-05-03 20:07:03 +00:00
Francois Gouget
8fc374d8b4
Make Unicode strings 'static const'.
2004-04-20 02:14:00 +00:00
Francois Gouget
ebf0eb3138
Make static Unicode strings const.
2004-04-20 00:34:52 +00:00