Commit Graph

316 Commits

Author SHA1 Message Date
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
Ge van Geldorp 399901e054 Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
with PSDK.
2004-01-23 01:51:33 +00:00
Kirill Smelkov 12b36ecb4a Added CreateAsyncBindCtx and IsAsyncMoniker stubs. 2003-12-13 00:03:30 +00:00
Alexandre Julliard b83789fdc3 Updated some of the generated tests. 2003-10-24 04:45:35 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Francois Gouget ae50013017 Fix the case of product and company names. 2003-09-08 19:38:45 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 20698b22df Make the DllRegisterServer, DllRegisterServerEx, DllUnregisterServer,
DllGetClassObject and DllCanUnloadNow functions private (suggested by
Jon Griffiths).
2003-07-30 03:48:55 +00:00
Steven Edwards 7076515386 Add ntdll to list of imports for urlmon. 2003-07-24 00:04:08 +00:00
Alexandre Julliard efe812554e Authors: Mike McCormack <mike@codeweavers.com>, Lionel Ulmer <lionel.ulmer@free.fr>
Implement URLDownloadToFileA/W.
2003-07-15 20:47:17 +00:00
Dmitry Timoshkov 4e1ef0c114 For all DLLs with defined DllMain and which do not require
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Francois Gouget 39e2a19bc8 Add a stub for CompareSecurityIds (new in WinXP). 2003-06-13 16:29:36 +00:00
Dmitry Timoshkov 2d55e0484c Fix some problems found while compiling and linking Wine under
Cygwin.
2003-03-31 23:58:27 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Jon Griffiths cd4234aa49 Documentation updates. 2003-03-18 18:35:48 +00:00
Alexandre Julliard a9c51cb60b Replaced forwards by normal function declarations. 2003-03-17 00:17:00 +00:00
Robert Shearman bda22de541 - Add some stubs.
- Implement kernel32.FatalExit.
2003-01-13 20:44:13 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Dimitrie O. Paun cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +00:00
Greg Turner 55b2bf1d89 - port cabextract to wine
- implement cabinet.dll.Extract, urlmon.dll.Extract
- add SP6a registry key to winedefault.reg
2002-12-19 21:16:56 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Patrik Stridvall 9398d9c129 Updated the generated tests. 2002-11-12 01:13:10 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00
Patrik Stridvall 65f4436566 Fixed some issues found by winapi_check. 2002-10-02 01:24:27 +00:00
Chris Morgan a8b3216670 Added stubs for HttpEndRequestA/W, InternetReadFileExA/W,
SetUrlCacheEntryGroup, CreateUrlCacheGroup, DeleteUrlCacheGroup.
2002-09-27 22:05:23 +00:00
Patrik Stridvall d97f7cdecb Fixed some issues found by winapi_check. 2002-08-17 00:21:53 +00:00
Huw D M Davies 6b97f5eef8 Very hacked implementation of url monikers. 2002-08-13 18:20:24 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard 140e7222e0 Removed more code at Hidenori's request. 2002-05-05 19:40:57 +00:00
Alexandre Julliard 9a8e6e98c5 Added some shdocvw ordinals and stubs.
Fixed a few winapi_check issues.
2002-04-27 00:16:25 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Hidenori Takeshima b54389b3ed Added some stubs. 2002-04-08 22:45:34 +00:00
Michael Cardenas cc7c1c0b93 Added some stubs. 2002-03-21 01:25:42 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Eric Kohl eba84bb564 Added Extract stub. 2002-01-29 18:03:36 +00:00
Gerard Patel d83dfd0173 Trivial fixes for shlwapi and Internet routines. 2001-12-24 20:24:36 +00:00
Malte Starostik 19337c7e18 CreateURLMoniker takes a LPCWSTR, not a LPWSTR. 2001-10-08 20:27:01 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall 8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Malte Starostik 251f30ac3c Implemented some very basic functionality. 2001-05-31 21:38:38 +00:00
David Elliott ea186796eb Remove libXXXX.so.1.0 lines from .cvsignore files. 2000-11-30 19:57:34 +00:00
Patrik Stridvall 1ed5577522 Don't include windows.h internally. 2000-11-30 01:31:28 +00:00
Alexandre Julliard 27939f00fd Start using import tables for dlls that can already support it. 2000-11-12 03:50:10 +00:00
Alexandre Julliard eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Lawson Whitney 552c5b2869 Stubs for UrlMkSetSessionOption, SHLWAPI_132, SHGetInverseCMAP.
Redirected forward of shlwapi.54 to gdi32.CreateICW.
2000-11-01 01:46:24 +00:00
Alexandre Julliard 6953d6756c For dlls, derive SPEC_SRCS from MODULE and ALTNAMES. 2000-06-20 20:24:14 +00:00
Alexandre Julliard 01e819ad9f Simplified wrc flags handling. 2000-06-08 04:52:11 +00:00
Patrik Stridvall 7980a50cb7 Fixed issues found by winapi_check. 2000-06-07 02:15:39 +00:00
Patrik Stridvall c77ff5ef67 Fixed issues reported by winapi_check. 2000-04-29 14:26:13 +00:00
Patrik Stridvall 55ef9a5a68 Fixed issues found by winapi_check. 2000-04-24 18:03:54 +00:00
Alexandre Julliard 84eb8334da Added some missing import directives. 2000-04-19 16:54:02 +00:00
Alexandre Julliard 819fa8ce38 Merged urlmon.dll and wininet.dll from the Corel tree (implementation
by Ulrich Czekalla <ulrichc@corel.ca>)
2000-04-11 20:07:00 +00:00