Huw Davies [Tue, 27 Jan 2009 17:13:28 +0000 (17:13 +0000)]
ole32: Add a helper function to return the file size and modify EnsureExists to use it.
Huw Davies [Tue, 27 Jan 2009 17:03:55 +0000 (17:03 +0000)]
ole32: Move functions around in file to avoid forward declarations.
Huw Davies [Tue, 27 Jan 2009 15:27:08 +0000 (15:27 +0000)]
ole32: Move private data structure out of header file.
Michael Stefaniuc [Wed, 28 Jan 2009 09:24:55 +0000 (10:24 +0100)]
setupapi: Remove superfluous pointer casts.
Michael Stefaniuc [Wed, 28 Jan 2009 09:25:22 +0000 (10:25 +0100)]
crypt32: Remove remaining superfluous pointer casts.
Michael Stefaniuc [Wed, 28 Jan 2009 09:24:42 +0000 (10:24 +0100)]
dinput: Remove superfluous pointer casts.
Marcus Meissner [Wed, 28 Jan 2009 08:43:43 +0000 (09:43 +0100)]
d3d9: Remove useless NULL check in stateblock test (Coverity).
Marcus Meissner [Wed, 28 Jan 2009 08:35:07 +0000 (09:35 +0100)]
riched20: rcUpdate cannot be NULL in ME_PaintContent (Coverity).
Dylan Smith [Wed, 28 Jan 2009 06:35:06 +0000 (01:35 -0500)]
richedit: Updated internal style flags on EM_SHOWSCROLLBAR.
The internal style flags are used to determine whether to show or hide
the scrollbar when ME_UpdateScrollBar is called. EM_SHOWSCROLLBAR seems
to update this state in native richedit controls.
Dylan Smith [Wed, 28 Jan 2009 06:35:02 +0000 (01:35 -0500)]
richedit: Suppress scrollbar if missing WS_[VH]SCROLL style.
If the scrollbar style isn't initially used, then the scrollbar should
be shown. Otherwise this can be a problem when the horizontal scrollbar
is shown for a single line richedit control, since it will cover all the
text (See bug 12088).
Dylan Smith [Wed, 28 Jan 2009 06:34:56 +0000 (01:34 -0500)]
richedit: Actually store end of line string for end paragraph runs.
Previously a count of the carraige returns and line feeds were stored
for end of paragraph runs, and a paragraph sign was stored as the actual
string. This was causing many special cases where the length of the
run needed to be determined differently if the run was or wasn't an
end of paragraph run.
There wasn't any use for storing the paragraph sign unless some drawing
code gets commented out to allow the end paragraphs to be shown,
therefore I changed the code to store the actual string that gets
retrieved by WM_GETTEXT.
Austin English [Wed, 28 Jan 2009 05:44:20 +0000 (23:44 -0600)]
kernel32: Add a stub for OpenProfileUserMapping.
Lei Zhang [Tue, 27 Jan 2009 23:49:30 +0000 (15:49 -0800)]
wineps.drv: Remove SelectBitmap stub implementation.
Michael Stefaniuc [Wed, 28 Jan 2009 00:07:25 +0000 (01:07 +0100)]
dsound: Use UlongToHandle to make the real payload a HWAVEIN/HWAVEOUT.
Fixes Win64 compiler warnings.
Michael Stefaniuc [Wed, 28 Jan 2009 00:06:57 +0000 (01:06 +0100)]
dsound: Fix mixup between HWAVEOUT and HWAVEIN.
The code path is taken when a valid wod isn't found. The loop thus
doesn't call waveInMessage() for each wid but retries the same wrong
wod.
Michael Stefaniuc [Wed, 28 Jan 2009 00:05:45 +0000 (01:05 +0100)]
wineesd.drv: Add missing return in function returning non-void.
Return value is analog to what the ALSA and OSS driver are doing.
Alasdair Sinclair [Tue, 27 Jan 2009 23:35:55 +0000 (23:35 +0000)]
kernel32/tests: Fix missing void in empty parameter list.
Alasdair Sinclair [Tue, 27 Jan 2009 23:35:48 +0000 (23:35 +0000)]
dwmapi: Fix missing void in empty parameter list.
Alasdair Sinclair [Tue, 27 Jan 2009 23:35:40 +0000 (23:35 +0000)]
ddraw/tests: Fix missing void in empty parameter list.
Alasdair Sinclair [Tue, 27 Jan 2009 23:35:31 +0000 (23:35 +0000)]
d3d9/tests: Fix missing void in empty parameter list.
Anders Jonsson [Tue, 27 Jan 2009 23:16:11 +0000 (00:16 +0100)]
wineconsole: Fix typos in Swedish resources.
Anders Jonsson [Tue, 27 Jan 2009 22:48:47 +0000 (23:48 +0100)]
view: Add Swedish translation.
Marcus Meissner [Mon, 26 Jan 2009 21:16:21 +0000 (22:16 +0100)]
d3d9: Initialize hr (Coverity).
Mikołaj Zalewski [Tue, 27 Jan 2009 20:30:40 +0000 (21:30 +0100)]
comctl32: toolbar: Make sure all TBUTTON_INFO fields are initialized when a button is added in the middle.
Juan Lang [Tue, 27 Jan 2009 17:01:06 +0000 (09:01 -0800)]
crypt32: Implement CryptFindCertificateKeyProvInfo.
Juan Lang [Tue, 27 Jan 2009 17:00:54 +0000 (09:00 -0800)]
include: Add definitions for CryptFindCertificateKeyProvInfo.
Juan Lang [Tue, 27 Jan 2009 17:00:40 +0000 (09:00 -0800)]
crypt32: Implement CertFindCertificateInStore for CERT_FIND_PUBLIC_KEY.
Juan Lang [Tue, 27 Jan 2009 17:00:25 +0000 (09:00 -0800)]
crypt32: Add stub for PFXImportCertStore.
Juan Lang [Tue, 27 Jan 2009 17:00:03 +0000 (09:00 -0800)]
crypt32: Implement PFXIsPFXBlob.
Juan Lang [Tue, 27 Jan 2009 16:55:45 +0000 (08:55 -0800)]
crypt32: Implement PFXExportCertStore on top of PFXExportCertStoreEx.
Juan Lang [Tue, 27 Jan 2009 16:55:30 +0000 (08:55 -0800)]
crypt32: Add stub for PFXExportCertStoreEx.
Juan Lang [Tue, 27 Jan 2009 16:55:15 +0000 (08:55 -0800)]
include: Add PFX definitions.
Juan Lang [Tue, 27 Jan 2009 16:54:58 +0000 (08:54 -0800)]
include: Add a few definitions.
Hans Leidekker [Tue, 27 Jan 2009 15:14:15 +0000 (16:14 +0100)]
wuapi: Add class factory for CLSID_AutomaticUpdates.
Alexandre Julliard [Tue, 27 Jan 2009 15:30:43 +0000 (16:30 +0100)]
gdi32: Don't hold the GDI lock while calling the GetObjectA/W methods for GDI objects.
Alexandre Julliard [Tue, 27 Jan 2009 15:26:35 +0000 (16:26 +0100)]
gdi32: Don't hold the GDI lock while calling the UnrealizeObject method for GDI objects.
Alexandre Julliard [Tue, 27 Jan 2009 15:19:37 +0000 (16:19 +0100)]
gdi32: Don't hold the GDI lock while calling the DeleteObject method for GDI objects.
Alexandre Julliard [Tue, 27 Jan 2009 15:15:47 +0000 (16:15 +0100)]
gdi32: Release the GDI lock when calling the DC DeleteObject function.
Frans Kool [Tue, 27 Jan 2009 12:59:58 +0000 (13:59 +0100)]
cryptdlg: Added Dutch translations.
Frans Kool [Tue, 27 Jan 2009 12:45:17 +0000 (13:45 +0100)]
crypt32: Added missing Dutch translation.
Michael Stefaniuc [Tue, 27 Jan 2009 14:38:32 +0000 (15:38 +0100)]
user32: Fix bogus "if (!x & y)" code.
The dde.c tests succeed on Windows and the DDE callback registered is
set to trigger on all messages it gets. Thus it looks like Windows
doesn't calls the callback in that case.
Alistair Leslie-Hughes [Mon, 26 Jan 2009 09:34:11 +0000 (20:34 +1100)]
shdocvw: Add IServiceProvider support.
Andrew Nguyen [Sun, 25 Jan 2009 07:04:25 +0000 (01:04 -0600)]
gdi32: Stub the NamedEscape function.
Florian Köberle [Sat, 24 Jan 2009 17:06:42 +0000 (18:06 +0100)]
user32: Unify handling of child and normal windows in getMinMaxInfo.
The code for the child windows works now for the standalone windows as well.
Florian Köberle [Sat, 24 Jan 2009 17:06:41 +0000 (18:06 +0100)]
user32: Fix maximized child windows.
Florian Köberle [Sat, 24 Jan 2009 17:06:40 +0000 (18:06 +0100)]
user32/tests: Improved an error message.
Florian Köberle [Sat, 24 Jan 2009 17:06:39 +0000 (18:06 +0100)]
user32: Fix thick child minTrack and size.
Florian Köberle [Sat, 24 Jan 2009 17:06:38 +0000 (18:06 +0100)]
user32: Fix maxPosition of thick child windows.
Florian Köberle [Sat, 24 Jan 2009 17:06:37 +0000 (18:06 +0100)]
user32/tests: Use AdjustWindowRectEx to calculate minTrack and maxPosition.
Nikolay Sivov [Tue, 27 Jan 2009 01:05:00 +0000 (04:05 +0300)]
quartz: Fix NULL pointer dereference (Coverity).
Alexandre Julliard [Tue, 27 Jan 2009 13:49:47 +0000 (14:49 +0100)]
kernel32/tests: Don't hardcode C drive for SetCurrentDirectory tests.
Also handle the case where TMP and TEMP are not defined.
Alexandre Julliard [Tue, 27 Jan 2009 13:38:23 +0000 (14:38 +0100)]
user32/tests: Accept DISP_CHANGE_RESTART also for tests expected to fail.
Hans Leidekker [Tue, 27 Jan 2009 10:58:49 +0000 (11:58 +0100)]
msvcrt: Add a test for _vsnwprintf.
Hans Leidekker [Tue, 27 Jan 2009 10:58:19 +0000 (11:58 +0100)]
msi: Add stub implementations of MsiSourceListClearSourceA/W.
Hans Leidekker [Tue, 27 Jan 2009 10:57:31 +0000 (11:57 +0100)]
schannel: Add stub implementations of SslEmptyCacheA/W.
Michael Stefaniuc [Tue, 27 Jan 2009 10:37:19 +0000 (11:37 +0100)]
localspl: Remove superfluous pointer casts.
Michael Stefaniuc [Tue, 27 Jan 2009 10:36:42 +0000 (11:36 +0100)]
gphoto.ds: Remove superfluous pointer casts.
Michael Stefaniuc [Tue, 27 Jan 2009 10:36:25 +0000 (11:36 +0100)]
dmsynth: Remove superfluous pointer casts.
Michael Stefaniuc [Tue, 27 Jan 2009 10:37:09 +0000 (11:37 +0100)]
ntprint: Remove superfluous pointer casts.
Michael Stefaniuc [Tue, 27 Jan 2009 10:36:33 +0000 (11:36 +0100)]
hlink: Remove superfluous pointer casts.
Michael Stefaniuc [Tue, 27 Jan 2009 10:36:14 +0000 (11:36 +0100)]
avifil32: Remove superfluous pointer casts.
Jeremy White [Mon, 26 Jan 2009 17:40:49 +0000 (11:40 -0600)]
twain_32: Add an initial test framework for twain_32.dll.
Paul Vriens [Tue, 27 Jan 2009 09:15:50 +0000 (10:15 +0100)]
quartz/tests: Fix test failures on Win95 by using A-functions.
Ge van Geldorp [Tue, 27 Jan 2009 01:17:58 +0000 (02:17 +0100)]
d3d8/tests: Make tests pass on a W2K8 VM.
Alexandre Julliard [Tue, 27 Jan 2009 10:27:45 +0000 (11:27 +0100)]
services: Add stub implementation for SERVICE_CONFIG_FAILURE_ACTIONS in ChangeServiceConfig2W.
Alexandre Julliard [Tue, 27 Jan 2009 10:22:06 +0000 (11:22 +0100)]
ntdll: Ignore spurious write faults for a write watch that has been reset already.
Dylan Smith [Tue, 27 Jan 2009 08:40:03 +0000 (03:40 -0500)]
riched32: Test EM_FINDTEXT searching for end of line characters.
EM_FINDTEXT should be able to find end of line characters, but currently
it doesn't.
Dylan Smith [Tue, 27 Jan 2009 08:39:23 +0000 (03:39 -0500)]
richedit: Removed redundant ME_FindItemAtOffset using ME_RunOfsFromCharOfs.
The two functions ME_FindItemAtOffset and ME_RunOfsFromCharOfs were almost
identically used, since ME_FindItemAtOffset was always used to find a run.
The only difference was how they returned the offset within the run for an
end of paragraph run.
For ME_FindItemAtOffset it would return the next run if it was in between \r
and \n. ME_RunOfsFromCharOfs would instead return an nOffset of 0 for end
paragraph runs. This subtle difference introduced bugs, so I decided to
avoid having special case in this function when creating this patch, and
instead let the caller handle this case.
Dylan Smith [Tue, 27 Jan 2009 08:39:17 +0000 (03:39 -0500)]
richedit: Handle starting in EOL sequence in EM_GETTEXTRANGE.
EM_GETTEXTRANGE allows the start character offset and end characters
offset to be used to specify the range of text to retrieve. If the
start offset is in the middle of an end of paragraph run (i.e. \r\n),
then it should only retrieve the characters after the specified
character offset.
Dylan Smith [Tue, 27 Jan 2009 08:39:10 +0000 (03:39 -0500)]
riched32: Test for EM_GETTEXTRANGE from middle of end of paragraph run.
EM_GETTEXTRANGE should be able to get part of the end of paragraph run,
for instance just the line feed in a carraige return line feed pair.
Dylan Smith [Tue, 27 Jan 2009 08:39:03 +0000 (03:39 -0500)]
richedit: Handle case for EM_LINELENGTH when offset is between \r\n.
I found that ME_FindItemAtOffset and ME_CursorFromCharOfs are used
almost identically, except for how they handle a character offset that
is between a carriage return and line feed. In this case
ME_CursorFromCharOfs sets the cursor's run offset to 0, but
ME_FindItemAtOffset instead returns the next run which is what was
causing ME_LINELENGTH to incorrectly return the length of the next
line.
Dylan Smith [Tue, 27 Jan 2009 08:38:56 +0000 (03:38 -0500)]
riched32: Test EM_LINELENGTH between carriage return & line feed.
Previously this wasn't properly tested for, since all the lines had
text of the same length, so it wasn't properly testing to see which
line length it was getting.
Dylan Smith [Tue, 27 Jan 2009 08:38:49 +0000 (03:38 -0500)]
richedit: End of line sequence limited to 2 carriage returns.
riched32.dll does preserve the carriage returns and line feeds unlike
later versions of the richedit control, however the tests previously
missed the fact that a sequence of carriage returns followed by a line
feed (e.g. \r\r\r\n) can actually cause multiple paragraph breaks.
Dylan Smith [Tue, 27 Jan 2009 08:38:43 +0000 (03:38 -0500)]
riched32: Modified tests to show paragraph break inconsistency.
Several carriage returns followed by a line break were being handled as
a single paragraph break, when actually native richedit controls may
count this as several line breaks.
Austin English [Tue, 27 Jan 2009 05:47:49 +0000 (23:47 -0600)]
configure: Fix <netinet/tcp_var.h> detection on OpenBSD.
Austin English [Tue, 27 Jan 2009 05:34:42 +0000 (23:34 -0600)]
configure: Fix <netinet/in_pcb.h> detection on OpenBSD.
Austin English [Tue, 27 Jan 2009 00:33:19 +0000 (18:33 -0600)]
tools/wine.inf: Add a placeholder for stdole2.tlb.
Rico Schüller [Mon, 26 Jan 2009 20:33:25 +0000 (21:33 +0100)]
d3dx9_40: Implement d3dx9_40 and forward the functions to d3dx9_36.
Rico Schüller [Mon, 26 Jan 2009 20:42:42 +0000 (21:42 +0100)]
d3dx9_39: Fix version information.
Rico Schüller [Mon, 26 Jan 2009 20:42:42 +0000 (21:42 +0100)]
d3dx9_38: Fix version information.
Marcus Meissner [Mon, 26 Jan 2009 20:52:39 +0000 (21:52 +0100)]
kernel32: Initialize events correctly.
Marcus Meissner [Mon, 26 Jan 2009 16:44:08 +0000 (17:44 +0100)]
shell32: Added missing fclose (Coverity).
Marcus Meissner [Mon, 26 Jan 2009 17:06:24 +0000 (18:06 +0100)]
ddrawex: Use stack ctx instead of uninitialized variable.
Austin English [Mon, 26 Jan 2009 17:37:04 +0000 (11:37 -0600)]
iphlpapi: Fix includes for NetBSD.
Ricardo Filipe [Sat, 24 Jan 2009 14:52:51 +0000 (14:52 +0000)]
setupapi: Add stub for SetupDiGetClassImageList.
Ricardo Filipe [Sat, 24 Jan 2009 14:40:01 +0000 (14:40 +0000)]
ntdll: Add stub for RtlCompressBuffer.
Juan Lang [Sun, 25 Jan 2009 01:48:21 +0000 (17:48 -0800)]
crypt32: Fix typo.
Juan Lang [Sun, 25 Jan 2009 00:41:04 +0000 (16:41 -0800)]
cryptui: Export all selected certificates when requested from the certificate manager, not just the first one.
Juan Lang [Sat, 24 Jan 2009 22:16:19 +0000 (14:16 -0800)]
cryptui: Set default export file name based on input in CryptUIWizExport.
Juan Lang [Sat, 24 Jan 2009 22:13:44 +0000 (14:13 -0800)]
cryptui: Move code for enabling the PFX export format to the correct dialog proc.
Juan Lang [Sat, 24 Jan 2009 22:11:24 +0000 (14:11 -0800)]
cryptui: Select export format based on input in CryptUIWizExport.
Juan Lang [Sat, 24 Jan 2009 21:58:46 +0000 (13:58 -0800)]
cryptui: Implement CryptUIWizExport for CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY.
Juan Lang [Sat, 24 Jan 2009 21:08:21 +0000 (13:08 -0800)]
crypt32: Close file when appropriate in CertSaveStore.
Juan Lang [Sat, 24 Jan 2009 21:07:02 +0000 (13:07 -0800)]
crypt32: Set save function in switch statement rather than with trinary conditional operator.
Juan Lang [Sat, 24 Jan 2009 20:54:53 +0000 (12:54 -0800)]
cryptui: Add support for exporting a serialized store from CryptUIWizExport.
Juan Lang [Sat, 24 Jan 2009 20:52:34 +0000 (12:52 -0800)]
include: Add missing type to union.
Juan Lang [Sat, 24 Jan 2009 20:02:35 +0000 (12:02 -0800)]
cryptui: Add error checking to CryptUIWizExport.
Juan Lang [Sat, 24 Jan 2009 19:46:56 +0000 (11:46 -0800)]
cryptui: Default to exporting in DER format.
Juan Lang [Sat, 24 Jan 2009 19:46:30 +0000 (11:46 -0800)]
cryptui: Always initialize export wizard's export options.
David Adam [Sun, 25 Jan 2009 12:29:33 +0000 (13:29 +0100)]
d3dx9_39: Implement this dll and forward the functions to d3dx9_36.