Commit Graph

308 Commits

Author SHA1 Message Date
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
Francois Gouget 6a6c85c6d8 Make Unicode const strings static so they are not copied to the stack
each time we enter the function.
2004-04-19 20:12:14 +00:00
Vincent Béron 0a5e2c5c5e More complete implementation of Dll(Un)RegisterServer in urlmon, based
on the work of John K. Hohm for other dlls.
2004-04-19 03:00:27 +00:00
Kevin Koltzau 01fefd636e Implemented IsEqual. 2004-03-31 19:58:09 +00:00
Kevin Koltzau 10a3fd3c3a Implement loading and saving to a stream, and a few other basic
functions.
2004-03-29 21:39:44 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Kevin Koltzau 3ff08570c6 Implement FindMimeFromData. 2004-03-22 21:14:39 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Alexandre Julliard 20b4585e3c Only link against libdxguid where necessary. 2004-01-27 00:11:16 +00:00
Francois Gouget 7494b5b980 Add trailing '\n's to ok() calls.
Check whether _MSC_VER is defined.
2004-01-23 02:11:12 +00:00