Commit Graph

62 Commits

Author SHA1 Message Date
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