Commit Graph

141 Commits

Author SHA1 Message Date
Jacek Caban b105b084a2 urlmon: Ignore report_data call if binding is stopped. 2009-03-02 12:03:27 +01:00
Jacek Caban d4ce90e688 urlmon: Ignore ReportProgress(BINDSTATUS_ACCEPTRANGES) calls. 2009-01-13 15:29:01 +01:00
Andrew Talbot c7284efa13 urlmon: Sign-compare warnings fix. 2008-11-14 11:02:15 +01:00
Andrew Talbot dbe7718e2b urlmon: Assign to structs instead of using memcpy. 2008-03-19 11:21:46 +01:00
Jacek Caban be1e2080b3 urlmon: 0x800c0008 is INET_E_DOWNLOAD_FAILURE. 2008-02-22 12:09:37 +01:00
Jacek Caban f7371871df urlmon: Correctly handle creating object failure. 2008-02-22 12:09:31 +01:00
Jacek Caban 374007985a urlmon: E_PENGING returned by Start is not an error. 2008-02-18 12:56:53 +01:00
Jacek Caban ac61b90f87 urlmon: Fixed ref count leak. 2008-02-06 22:12:31 +01:00
Jacek Caban 2b3c115ad1 urlmon: Added support for binding to IID_IUnknown storage (cache file). 2008-02-04 13:17:00 +01:00
Jacek Caban 458d27fa46 urlmon: Added BINDSTATUS_CACHEFILENAMEAVAILABLE support. 2008-02-04 13:16:54 +01:00
Jacek Caban e9189df9a6 urlmon: Don't create stgmed_obj for binding to object. 2008-02-04 13:16:49 +01:00
Jacek Caban 4985ca0e1c urlmon: Abstract ProtocolStream object. 2008-02-04 13:16:43 +01:00
Jacek Caban 6b854ff480 urlmon: Separate buffer from stream object. 2008-02-04 13:16:35 +01:00
Jacek Caban bf5487bfc1 urlmon: Return better error results. 2008-02-04 13:15:42 +01:00
Jacek Caban 85f472b37d urlmon: Added BindToObject implementation. 2007-12-31 16:49:32 +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 1ca205525c urlmon: Use BindProtocol in Binding object. 2007-12-31 16:48:31 +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
Michael Stefaniuc 2ad6cc19b7 urlmon: Rename the wrappers around HeapAlloc() &Co to use the new standard naming. 2007-11-30 12:43:42 +01:00
Jacek Caban 03218d6d2c urlmon: Wrap heap functions. 2007-11-26 12:35:28 +01:00
Misha Koshelev 57f36261fa urlmon: Fix PROTOCOLDATA message passing in IInternetProtocolSink interface of Binding. 2007-11-12 12:53:45 +01:00
Jacek Caban fe04ba0aab urlmon: Use QueryInterface in get_callback. 2007-10-26 14:04:08 +02:00
Jacek Caban 8f6f252ee8 urlmon: Get rid of no longer needed IHttpNegotiate wrapper. 2007-10-02 11:42:39 +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
Misha Koshelev 97e999565d urlmon: Add support for synchronous binding. 2007-08-07 12:41:44 +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 7cc8b279fb urlmon: Wrap IHttpNegotiate2 interface exposed by IBindStatusCallback as done by native. 2007-07-24 12:19:19 +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 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
Jan Zerebecki cfd121072c urlmon: Add DebugInfo to critical sections. 2007-03-12 13:40:06 +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
Jacek Caban 87de64227a urlmon: Return CLSID from get_protocol_handler. 2007-01-24 12:00:46 +01:00
Dmitry Timoshkov 8b72102bd7 urlmon: Make some data const. 2006-11-29 12:44:16 +01: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
Jacek Caban 7e340f8f62 urlmon: Win64 printf format warning fixes. 2006-10-06 12:47:59 +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
Jacek Caban 101c18537a urlmon: Always verify mime using FindMimeFromData. 2006-07-11 12:04:19 +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 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 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 9c9838d9e8 urlmon: Use registered protocols. 2006-05-25 10:38:22 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02: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
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 c448968bfa urlmon: Added GetBindInfoString implementation. 2006-01-05 12:17:59 +01:00
Jacek Caban 0cceb3386f urlmon: Use pluggable protocol for file protocol. 2005-12-26 13:27:10 +01:00
Jacek Caban 90c70f755b urlmon: Fix BindToStorage test. 2005-12-16 12:40:39 +01:00
Jacek Caban 0dcf2a4589 Beginning of true BindToStorage implementation. 2005-11-14 15:12:43 +00:00