Commit Graph

491 Commits

Author SHA1 Message Date
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Dan Kegel 95fbd7f46b urlmon: Fix unlikely free of uninitialized pointer. 2008-01-14 13:11:10 +01:00
Jacek Caban bc35dda746 urlmon: Added more tests. 2007-12-31 16:49:38 +01:00
Jacek Caban 85f472b37d urlmon: Added BindToObject implementation. 2007-12-31 16:49:32 +01:00
Jacek Caban a16ae2e8f2 urlmon: Call AddRef in EnumFORMATETC::QueryInterface. 2007-12-31 16:49:16 +01:00
Jacek Caban 91087d6229 urlmon: Added "CBinding Context" bind option support. 2007-12-31 16:49:11 +01:00
Jacek Caban e3c47c88fd urlmon: Binding_Create clean up. 2007-12-31 16:49:06 +01:00
Jacek Caban 91938977e9 urlmon: Better error handling. 2007-12-31 16:49:00 +01:00
Jacek Caban 2f34d0093c urlmon: Better implementation of bind stopping. 2007-12-31 16:48:56 +01:00
Jacek Caban ed1c7f8135 urlmon: Make start_binding more generic. 2007-12-31 16:48:48 +01:00
Jacek Caban 785e98173f urlmon: Added ibind argument handling in CreateAsyncBindCtx. 2007-12-31 16:48:45 +01:00
Jacek Caban 1ca205525c urlmon: Use BindProtocol in Binding object. 2007-12-31 16:48:31 +01:00
Jacek Caban 48017908ad urlmon: Added more binding tests. 2007-12-31 16:21:24 +01:00
Jacek Caban da6dbedbe9 urlmon: Release protocol sink in Terminate. 2007-12-31 16:21:15 +01:00
Jacek Caban 2afdc8f591 urlmon: More ReportProgress implementation. 2007-12-31 16:21:11 +01:00
Jacek Caban 2e62330c67 urlmon: Move setting protocol_sink to separated function. 2007-12-31 16:21:08 +01:00
Jacek Caban 3c985a442a urlmon: Rename BindProtocol's IInternetProtocolSink methods.
Binding's implementation uses the same names, what makes reading logs
harder.
2007-12-28 11:29:57 +01:00
Jacek Caban 8f09522357 urlmon: Use heap_alloc_zero to allocate BindProtocol. 2007-12-28 11:29:48 +01:00
Jacek Caban f4ded1c2a5 urlmon: Added mime filters tests. 2007-12-28 11:29:44 +01:00
Jacek Caban 8a669c9a19 urlmon: Added [Un]RegisterMimeFilter implementation. 2007-12-28 11:29:39 +01:00
Jacek Caban 96be709c2e urlmon: RegisterNameSpace clean up. 2007-12-28 11:29:33 +01:00
Jacek Caban 6b6eb8c436 urlmon: Added CoInternetQueryInfo tests. 2007-12-28 11:29:27 +01:00
Jacek Caban 7d223172c5 urlmon: Added CoInternetQueryInfo implementation. 2007-12-28 11:29:22 +01:00
Jacek Caban d067fabd38 urlmon: Fixed BindToObject tests. 2007-12-24 16:34:23 +01:00
Jacek Caban 1148d4f13f urlmon: Added more binding tests. 2007-12-24 16:34:17 +01:00
Jacek Caban 19bca90710 urlmon: Added more BindProtocol::ReportProgress implementation. 2007-12-24 16:27:56 +01:00
Jacek Caban 4883c8aba6 urlmon: Added BindProtocol::[Un]LockRequest. 2007-12-24 16:27:52 +01:00
Jacek Caban f189e7a060 urlmon: Added BindProtocol::Continue implementation. 2007-12-24 16:27:47 +01:00
Jacek Caban a6eb0780be urlmon: Added BindProtocol::Switch implementation. 2007-12-24 16:27:43 +01:00
Jacek Caban a9765337f8 urlmon: Added IServiceProvider implementation to BindProtocol object. 2007-12-24 16:27:38 +01:00
Jacek Caban 7cd13e17ad urlmon: Added BindProtocol::GetBindString implementation. 2007-12-24 16:27:33 +01:00
Jacek Caban 0d869d539f urlmon: Fixed protocol tests. 2007-12-24 16:27:27 +01:00
Jacek Caban 7d093afc66 urlmon: Use flag to store protocol lock state. 2007-12-17 11:49:25 +01:00
Jacek Caban 7a2a6f4e0d urlmon: Includes clean up. 2007-12-14 12:24:51 +01:00
Jacek Caban 353bcf923f urlmon: Fixed handling MIME type in Binding object. 2007-12-14 12:24:43 +01:00
Alistair Leslie-Hughes 7f033ea065 urlmon: Fix memory leaks. 2007-12-10 12:35:55 +01:00
Michael Stefaniuc 2ad6cc19b7 urlmon: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-11-30 12:43:42 +01:00
Alistair Leslie-Hughes 9c6fca1ff7 urlmon: The callback parameter can be null, check pointer before using. 2007-11-28 13:40:29 +01:00
Jacek Caban 03218d6d2c urlmon: Wrap heap functions. 2007-11-26 12:35:28 +01:00
Rob Shearman 862aaaba58 urlmon: Fix a reference count leak in RegisterBindStatusCallback. 2007-11-20 12:28:59 +01:00
Misha Koshelev 57f36261fa urlmon: Fix PROTOCOLDATA message passing in IInternetProtocolSink interface of Binding. 2007-11-12 12:53:45 +01:00
Misha Koshelev 0a158e7aa3 urlmon: Release IInternetProtocolSink and BindInfo on request handle closure, not on first handle closure. 2007-11-12 12:53:37 +01:00
Andrew Talbot 509760922a urlmon: Constify some variables. 2007-11-08 12:18:30 +01:00
Jacek Caban 48d393bdfe urlmon: Added https protocol class factory stub implementation. 2007-11-05 14:19:59 +01:00
Rob Shearman cfb349c4f2 urlmon: Add tests for BindToObject for URL monikers based on the existing tests for BindToStorage. 2007-10-29 12:02:40 +01:00
Jacek Caban fe04ba0aab urlmon: Use QueryInterface in get_callback. 2007-10-26 14:04:08 +02:00
Jacek Caban c98ca177a8 urlmon: Fixed tests on IE7. 2007-10-26 14:03:46 +02:00
Jacek Caban f4f0c8fbcd urlmon: Added emulated http tests. 2007-10-26 14:03:46 +02:00
Jacek Caban f9545ad94f urlmon: Added application/postscript MIME filter. 2007-10-23 18:18:28 +02:00
Jacek Caban 58e8b19d0b urlmon: Added audio/wav MIME filter. 2007-10-23 18:18:28 +02:00
Jacek Caban ec565fbfd9 urlmon: Added text/richtext MIME filter. 2007-10-23 18:18:28 +02:00
Rob Shearman a3ad394f9c urlmon: Add a stub for GetClassFileOrMime. 2007-10-22 14:54:39 +02:00
Rob Shearman cfeaa3e682 urlmon: Fix the MIME type reported by the HTTP protocol when the Content-Type headers contains charset data too. 2007-10-22 13:52:38 +02:00
Misha Koshelev 5a96cc146c urlmon: Increment/decrement reference count when internet handles are created/destroyed. 2007-10-12 11:07:29 +02:00
Andrew Talbot dbf995a8b4 urlmon: Fix some memory leaks. 2007-10-10 11:56:51 +02:00
Jacek Caban 5c57c838b2 urlmon: Fixed test on IE7. 2007-10-09 17:52:46 +02:00
Jacek Caban 8f6f252ee8 urlmon: Get rid of no longer needed IHttpNegotiate wrapper. 2007-10-02 11:42:39 +02:00
Jacek Caban b090ec13f3 urlmon: Added more RegiterBindStatusCallback tests. 2007-10-02 11:42:34 +02:00
Jacek Caban ef01bdb18a urlmon: Added more strict QueryInterface tests. 2007-10-02 11:42:27 +02:00
Jacek Caban b285d562b3 urlmon: Wrap callback in RegisterBindStatusCallback. 2007-10-02 11:42:22 +02:00
Jacek Caban c89551a1c5 urlmon: Added FIXME about unsupported pmkToLeft to BindToStorage. 2007-09-10 16:15:28 +02:00
Stefan Leichter ba026b1634 urlmon: Remove 'recursive registry key delete' function. 2007-08-20 11:56:18 +02:00
Misha Koshelev 5a11a1201f urlmon: Call IInternetProtocolSink_Release and ReleaseStgMedium in HttpProtocol where native does. 2007-08-16 11:52:56 +02:00
Misha Koshelev c8ab2a947c urlmon: Call IInternetProtocolSink_AddRef in HttpProtocol where native does (but just once). 2007-08-16 11:52:34 +02:00
Misha Koshelev 4f405b228d urlmon: Fix timing issue with FLAG_REQUEST_COMPLETE and InternetQueryDataAvailable in HttpProtocol_Continue. 2007-08-14 12:25:26 +02:00
Jacek Caban 83a83880cd urlmon: Wrap IBindCtx in CreateAsyncBindCtxEx. 2007-08-13 11:37:45 +02:00
Misha Koshelev 369273e991 urlmon/tests: Call CHECK_CALLED(OnProgress_SENDINGREQUEST) for FILE_TEST since we SET_EXPECT it. 2007-08-09 13:53:32 +02:00
Misha Koshelev 42dea36e5a urlmon: Do not use BindToStorage_hack for INTERNET_SCHEME_HTTP. 2007-08-09 13:53:25 +02:00
Misha Koshelev a893bb32d6 urlmon/tests: Fix clipformat test. 2007-08-09 13:53:16 +02:00
Rob Shearman 086a91facf urlmon: Check some of the input parameters to URLOpenStreamA/W & URLOpenBlockingStreamA/W for NULL.
Add tests for these.
2007-08-08 15:32:04 +02:00
Rob Shearman a5da813f5a urlmon: Add tests for URLOpenStreamW and URLOpenBlockingStreamW. 2007-08-08 15:32:04 +02:00
Rob Shearman 9debcb8f49 urlmon: Implement URLOpenBlockingStreamA/W and URLOpenStreamA/W. 2007-08-08 15:32:04 +02:00
Rob Shearman 25b2bff9bf urlmon: The pcbRead parameter for IInternetProtocol::Read is optional, so fix the protocol implementation to check for this. 2007-08-08 15:32:04 +02:00
Rob Shearman 9105b64a77 urlmon: Implement stubs for URLOpenBlockingStreamA/W and URLOpenStreamA/W. 2007-08-08 15:32:04 +02:00
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