Commit Graph

92 Commits

Author SHA1 Message Date
Jacek Caban 67d2fdc34a urlmon: Added IWinInetHttpInfo support to Binding object. 2009-03-30 15:09:39 +02:00
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