Commit Graph

24609 Commits

Author SHA1 Message Date
Robert Shearman cd2fafb775 ole: Defer apartment window creation until the first object is marshalled. 2006-01-10 20:41:23 +01:00
Robert Shearman fcba783fc7 ole: Add an accessor function for an apartment's window. 2006-01-10 20:41:22 +01:00
Robert Shearman d175f154ba ole: Report and clean up after PostMessage failures. 2006-01-10 20:41:22 +01:00
Robert Shearman a02cb3ebd6 ole: Pass a channel into IRpcStubBuffer::Invoke.
Create a server channel and store this in the ifstub.
Rename ipid_to_apt_and_stubbuffer to ipid_get_dispatch_params and make
the function return an HRESULT.
Return the channel for the ifstub in ipid_get_dispatch_params.
2006-01-10 20:41:22 +01:00
Robert Shearman 8e5b36147d ole: Reduce the access rights required by start_local_service. 2006-01-10 20:41:22 +01:00
Robert Shearman c46386ff5c ole: Return the last error if we couldn't open the requested service.
Fix the ok/failed message.
2006-01-10 20:41:22 +01:00
James Hawkins 4e31bf6863 advpack: Add initial tests for ExtractFiles.
- Use FCI to create a test cabinet file.
- Add initial tests for ExtractFiles.
2006-01-10 20:41:22 +01:00
Robert Shearman b330bd7ae9 rpcrt4: Remove the unused RPCRT4_GetPSFactory function. 2006-01-10 19:59:48 +01:00
Robert Shearman e298538459 rpcrt4: Don't release the interface pointer on failure.
Don't release the interface pointer on failure since we are not the
ones that allocated it. It is the caller's responsability to call
NdrInterfacePointerFree, where the freeing is supposed to happen.
2006-01-10 19:59:26 +01:00
Robert Shearman cb7aa0306e kernel32: Return an error when unlocking a global with a zero lock count.
Rename GLOBAL_LOCK_MAX to the public GMEM_LOCKCOUNT.
2006-01-10 19:59:15 +01:00
Saulius Krasuckas ab113d7e59 mscms: Enumerate registered standard colorspace profiles. 2006-01-10 19:59:02 +01:00
Huw Davies a48bb7b3de msxml: It's valid to release an empty document. 2006-01-10 19:58:42 +01:00
Phil Krylov 1b9fc2a170 comctl32: Fix emitting of NM_CUSTOMDRAW header notifications.
Emit NM_CUSTOMDRAW header notifications for all headers, not only
ownerdrawn. Allow to change item text and background colors in an
application's NM_CUSTOMDRAW handler.
2006-01-10 19:58:24 +01:00
Phil Krylov f5ebb75f08 riched20: Allow NUL characters. 2006-01-10 19:58:00 +01:00
Robert Shearman f61878b1d5 kernel: Remove wine/server.h include from files where it is no longer needed. 2006-01-10 18:09:28 +01:00
Alexandre Julliard 90e3865929 ntdll: NtRaiseException doesn't need to be a register function.
Moved common code between NtRaiseException and RtlRaiseException to a
separate raise_exception function.
2006-01-10 17:51:22 +01:00
Alexandre Julliard 8b84808bed kernel: Don't send a debugger event in UnhandledExceptionFilter,
leave that to the standard ntdll exception handling.
2006-01-10 17:44:39 +01:00
Alexandre Julliard 52bce47b14 kernel: Implement FT_Exit directly in assembly to avoid the overhead
of register functions.
2006-01-10 17:43:05 +01:00
James Hawkins ca0246fbde cabinet: Add initial tests for Extract. 2006-01-10 12:14:47 +01:00
James Hawkins 54565b72fd cabinet: Implement Extract on top of FDI. 2006-01-10 12:13:07 +01:00
Rein Klazes 43694d9582 winedos: Open files with write access on read only media.
If the CreateFile in INT21_CreateFile fails with ERROR_WRITE_PROTECT,
retry without write access.
2006-01-10 12:12:46 +01:00
Phil Krylov d82af6f711 riched20: Speed up text insertion.
Optimized reading large texts into RichEdit to be an O(n) order
algorythm instead of O(n^2) by removing extraneous conversions of
character offsets to run offsets.
2006-01-10 12:10:49 +01:00
Mike McCormack a8b71c2727 advapi32: If we can't connect to a service's pipe, name the service in
the error message.
2006-01-10 12:10:34 +01:00
Mike McCormack f69d7bf0f3 msi: Count the number of columns requested and allocate that many,
as columns may be select more than once in from a table.
2006-01-10 12:10:19 +01:00
Mike McCormack aa81e4fa68 msi: Don't crash if there's no script present when we try execute one. 2006-01-10 12:09:19 +01:00
Mike McCormack 1acf032a99 msi: Fixed the prototype of MsiDatabaseIsTablePersistent.
Implemented MsiDatabaseIsTablePersistentA via the W function.
2006-01-10 12:09:11 +01:00
Troy Rollo b7652d89db user: Fix return type of EnableMenuItem. 2006-01-10 12:08:48 +01:00
Troy Rollo e80a85a33b shell32: Fix bug in renaming files in the file dialogs when UNIX paths
are being used.
2006-01-10 12:08:28 +01:00
Troy Rollo c03b21e9ca Fix GetModuleFileNameEx definition. 2006-01-10 12:08:12 +01:00
Michael Kaufmann 7ff2a68459 user: Improve the ownerdraw support of the static control. 2006-01-10 12:07:57 +01:00
Michael Kaufmann 37c68b47f4 user: The LoadImage resource string may be a numeric string. 2006-01-10 12:07:32 +01:00
Kaj Kaloinen ee9b656edc shlwapi: Add Finnish translation. 2006-01-10 12:07:07 +01:00
Phil Krylov b2d289fa23 comctl32: Call UpdateWindow() after changing statusbar text. 2006-01-10 12:06:44 +01:00
James Hawkins 325c19cfc5 advpack: Add documentation for ExtractFiles. 2006-01-09 20:26:10 +01:00
James Hawkins 18d6f6944b cabinet: Clean up the documentation for Extract. 2006-01-09 20:24:21 +01:00
James Hawkins 6213c452bb cabinet: Add the two flags used by Extract to cabinet.h. 2006-01-09 20:24:10 +01:00
James Hawkins e073fbdce9 cabinet: Define the flags member of the EXTRACTdest structure. 2006-01-09 20:23:34 +01:00
James Hawkins f9859a88d3 cabinet: Fix the second parameter name of Extract. 2006-01-09 20:23:26 +01:00
James Hawkins d57c20ac95 cabinet: Store the cab file handle before extracting files so we can
close the cab file even if no files are extracted.
2006-01-09 20:23:15 +01:00
Saulius Krasuckas 82dc96e579 include: Add missing color space constants. 2006-01-09 18:42:00 +01:00
Phil Krylov a05bfbfb86 comctl32: Fix rebar autosize behaviour.
Allow autoresizing rebar by PostMessage(hwndRebar, WM_SIZE, 0, 0) like
native does, taking as few rows as possible and using the parent
window client area size for the other dimension (width for horizontal
rebars or height for vertical ones).
2006-01-09 18:41:45 +01:00
Phil Krylov a2f883484f user: Fix dropdown combo creation when there is no space for an edit control. 2006-01-09 18:41:33 +01:00
Robert Shearman b75db2d9de ole: Join the MTA if necessary when executing an RPC call.
Join the MTA if necessary when executing an RPC call to ensure that it
is executing with a valid apartment and won't fail for certain COM
calls.
2006-01-09 18:41:19 +01:00
Robert Shearman 1eda42ccac ole: Prefer services over servers.
Attempt to start as a local service before attempting to start as a
local server for the CLSCTX_LOCAL_SERVER case.
2006-01-09 18:40:42 +01:00
Robert Shearman e0605afdf6 ole: Add some tests for CLSIDFromString. 2006-01-09 18:40:27 +01:00
Robert Shearman cc4669cc5f ole: Remove __CLSIDFromStringA.
Move the ANSI implementation of CLSIDFromString to ole16.c and change
CLSIDFromString to only deal with Unicode strings.
2006-01-09 18:40:17 +01:00
Robert Shearman 1926b6da63 rpcrt4: Improve ReadVariance.
Extend ReadVariance to read the offset as well as the actual count,
since these always come in pairs.
Handle the variance not being present in ReadVariance and always call
it from the unmarshalling functions to simplify the code there and
also to fix a bug where the format pointer wasn't advanced properly
for complex arrays (introduced in the previous patch when implementing
variance).
2006-01-09 17:21:01 +01:00
Robert Shearman 2e875d5d35 rpcrt4: Validate complex array format string.
Verify that the format string being passed into the complex array
functions is a complex array one.
2006-01-09 17:20:19 +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