Commit Graph

14894 Commits

Author SHA1 Message Date
Robert Shearman f431353058 ole: Fix crash in RpcChannelBuffer_SendReceive.
Initialise apt to NULL since ipid_to_apt_stubbuffer no longer does
this for us.
2006-01-12 11:53:32 +01:00
Robert Shearman 9ac3b28354 ole: Use strict prototypes for some test functions. 2006-01-12 11:53:19 +01:00
Saulius Krasuckas 6aa3d8a443 mscms: Null ID can make GetStandardColorSpaceProfile*() succeed. 2006-01-12 11:53:12 +01:00
Jacek Caban 11a0c8cd39 shlwapi: UrlCanonicalize: fix URL_DONT_SIMPLIFY.
- URL_DONT_SIMPLIFY should change '/' <-> '\'
- Better '/' / '\' handling
2006-01-11 21:15:31 +01:00
Huw Davies 50c64c04df msxml: Implement createNode, appendChild and insertAfter. 2006-01-11 21:15:12 +01:00
Mike McCormack 848f67e13e msi: Make the MSI SelectionTree control do something useful. 2006-01-11 21:12:06 +01:00
Alexandre Julliard 9eae2d714d ntdll: Round up the mapping size in map_file_into_view when setting
the protection bytes.
2006-01-11 20:59:07 +01:00
Juan Lang 79575a8aff crypt32: Fix a test that fails on Windows. 2006-01-11 20:57:41 +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
Aric Stewart 4bc3b16b44 msvcrt: Modify dir test to create its own directory to ensure the
directory exists for the test. Using the temp dir as the root.
2006-01-11 20:55:38 +01:00
Phil Krylov 2eb59ee2b0 riched20: Added \n to trace output. 2006-01-11 20:55:18 +01:00
Marcus Meissner cf173911a3 ole: ITypeInfo::Invoke stack overwrite fix.
Have enough stack space up to even VT_VARIANTs, fixes a stack
corruption.
2006-01-11 20:55:07 +01:00
Huw Davies bce90cfb85 msxml: Fix for selectNodes when the node has no children. 2006-01-11 20:54:32 +01:00
James Hawkins 213d8a0f2f cabinet: Remove no longer used code from cabextract.c. 2006-01-11 20:54:10 +01:00
Alexandre Julliard 2654be08d5 ntdll: Handle NtSetContextThread on the client side (as far as
possible) when setting the context of the current thread.
2006-01-11 20:20:32 +01:00
Martin Fuchs 7114f8c3bd shell32: Fix folder icon index when read from registry.
Change "DWORD dwNr" into "int icon_idx" at several places.
2006-01-11 12:33:24 +01:00
Alex Villacís Lasso 6d88d5ad5c winealsa: Ensure that copy_format() will not write past end of
referenced WAVEFORMATPCMEX structure.
2006-01-11 12:33:05 +01:00
Eric Pouech 329ab98940 ntdll: Implemented ntdll.NtSetInformationThread(ThreadAffinityMask).
Reimplemented kernel32.SetThreadAffinityMask on top of it.
2006-01-11 12:32:19 +01:00
James Hawkins 1ca3a4afe3 advpack: Implement ExtractFiles. 2006-01-11 12:13:03 +01:00
James Hawkins 362aa36d09 cabinet: Add documentation for FDITruncateCabinet. 2006-01-11 12:12:54 +01:00
Robert Reif 54cf8ea1ac dsound: Add primary buffer change tests.
Add tests to figure out whether Windows can change the primary buffer
capabilities after setting the buffer format. Based on a patch by Alex
Villacís Lasso.
2006-01-11 12:12:46 +01:00
Mike McCormack 891df89ee7 msi: Remove the font when setting a control's text. 2006-01-11 12:12:16 +01:00
Rob Shearman 823ba55aca comctl32: Test the painting behaviour of the progress bar control.
Test the painting behaviour of the progress bar control when the
PBM_SETPOS message is sent to it, with respect to whether the
background is erased and what part of the control is redrawn.
2006-01-11 12:12:06 +01:00
Mike McCormack ab4438e24d comctl32: Invalidate the entire progress bar any time it changes. 2006-01-11 12:11:46 +01:00
Saulius Krasuckas dc2cdf13a4 mscms: Set the last error code to an unusual value. 2006-01-11 12:10:56 +01:00
Ulrich Czekalla 55f7f8b999 commdlg: If provided use and update hDevMode in the PAGESETUPDLG struct.
Update the dmDefaultSourcea return value inside hDevMode.
2006-01-11 12:10:33 +01:00
Huw Davies 586ed7d458 opengl: Use indirect contexts if the surface is a pixmap. 2006-01-11 12:10:04 +01:00
Robert Shearman 6e6d24e959 ole: Implement IEnumSTATDATA for the Ole Advise Holder.
Implement IEnumSTATDATA for the Ole Advise Holder and use it to
implement the Send* functions.
2006-01-11 12:09:32 +01:00
Robert Shearman 781970f001 ole: Initialise hrref so as not to display garbage in the trace. 2006-01-11 12:09:17 +01:00
Robert Shearman 92ad2958ac ole: Remove some duplicated code. 2006-01-11 12:09:11 +01:00
Rein Klazes fe57d73249 hhctrl.ocx: Report commands in HtmlHelp that are not handled at all. 2006-01-10 20:41:23 +01:00
Phil Krylov 6818762a6e riched20: Reduced screen flicker by using proper update region invalidation. 2006-01-10 20:41:23 +01:00
Vitaliy Margolen 1406010d3c kernel: Remove no longer used debug channel. 2006-01-10 20:41:23 +01:00
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
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
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
Jacek Caban 762e2696df urlmon: Added implementation of protocol stream. 2006-01-09 17:18:06 +01:00
Robert Shearman 811fb7614c Call DisableThreadLibraryCalls for DLLs that don't need thread
creation/destruction notifications.
2006-01-09 17:17:37 +01:00
YunSong Hwang dc8c6bb90b shell32: Update the Korean translation. 2006-01-09 17:17:20 +01:00
Alexander N. Sørnes 22ce9a6653 shell32: Updated Norwegian Bokmål resources. 2006-01-09 17:17:09 +01:00
Hans Leidekker c0a223be60 usp10: Improve stubs.
Improve stubs for ScriptGetProperties and ScriptItemize.
Add stub for ScriptFreeCache.
2006-01-09 17:16:57 +01:00
Mike McCormack 3066397bab kernel: Trying to lock an empty global memory block gives an ERROR_DISCARDED. 2006-01-09 17:16:32 +01:00
Mike McCormack c83a5930b1 user32: Update the list of things to fix in the Combo control. 2006-01-09 17:16:14 +01:00
Rein Klazes 079912c679 user32: Prevent a crash in GetMenuStringA caused by calling strlenW on
a NULL pointer, with a test.
2006-01-09 17:13:44 +01:00
Phil Krylov 194eeaab7d riched20: Fixed calculation of left indent and first indent paragraph
properties.
2006-01-09 17:12:51 +01:00
Phil Krylov 74aa295f55 riched20: Simplified logic in ME_StrRelPos(). 2006-01-09 17:12:34 +01:00
Aric Stewart 3022ade359 msvcrt: Add a regression test for _fullpath. 2006-01-06 21:46:09 +01:00
Aric Stewart e09a6c8080 msvcrt: Reworked _fullpath.
Investigation with native msvcrt revealed that it is a wrapper for
GetFullPathName and the current implementation was crashing with older
mozilla installs if the path passed in was uninitialized.
2006-01-06 21:45:26 +01:00
Alexandre Julliard 0f81ac3506 ole: Remove a no longer needed smbfs hack. 2006-01-06 21:19:05 +01:00
Raimonds Praude 860d682c2b user32: Limit text in the edit field of a combo box. 2006-01-06 21:16:52 +01:00
Marcus Meissner b49a1de179 gdi: Filter GETSCALINGFACTOR and SETABORTDOC proc in metafile
Escapes.
2006-01-06 21:16:37 +01:00
Robert Shearman d2bdbd4ea5 ole: Remove the no longer used _copy_arg function. 2006-01-06 21:16:21 +01:00
Robert Shearman 8cf5373f60 ole: ITypeInfo::Invoke rewrite.
Re-implement ITypeInfo::Invoke on top of DispCallFunc and
VariantChangeType instead of _invoke and _copy_arg.
2006-01-06 21:15:48 +01:00
Robert Shearman 95312fcb63 ole: Remove "stub" from TRACEs of functions that aren't stubs. 2006-01-06 21:08:09 +01:00