Dylan Smith
a051a23119
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).
2009-01-28 12:11:44 +01:00
Dylan Smith
5d74f58382
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.
2009-01-28 12:11:36 +01:00
Austin English
eb877e4421
kernel32: Add a stub for OpenProfileUserMapping.
2009-01-28 12:11:22 +01:00
Lei Zhang
271e3bbad4
wineps.drv: Remove SelectBitmap stub implementation.
2009-01-28 12:11:14 +01:00
Michael Stefaniuc
0ae74c2a9b
dsound: Use UlongToHandle to make the real payload a HWAVEIN/HWAVEOUT.
...
Fixes Win64 compiler warnings.
2009-01-28 12:11:07 +01:00
Michael Stefaniuc
7ab165a590
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.
2009-01-28 12:11:04 +01:00
Michael Stefaniuc
0b872e65b2
wineesd.drv: Add missing return in function returning non-void.
...
Return value is analog to what the ALSA and OSS driver are doing.
2009-01-28 12:11:01 +01:00
Alasdair Sinclair
116886cf0a
kernel32/tests: Fix missing void in empty parameter list.
2009-01-28 12:10:55 +01:00
Alasdair Sinclair
d7804483ae
dwmapi: Fix missing void in empty parameter list.
2009-01-28 12:10:52 +01:00
Alasdair Sinclair
8a46be6cee
ddraw/tests: Fix missing void in empty parameter list.
2009-01-28 12:10:49 +01:00
Alasdair Sinclair
f95b0209ab
d3d9/tests: Fix missing void in empty parameter list.
2009-01-28 12:10:47 +01:00
Marcus Meissner
ace65a527f
d3d9: Initialize hr (Coverity).
2009-01-28 12:10:28 +01:00
Mikołaj Zalewski
d31828b500
comctl32: toolbar: Make sure all TBUTTON_INFO fields are initialized when a button is added in the middle.
2009-01-28 12:09:51 +01:00
Juan Lang
1352f6d316
crypt32: Implement CryptFindCertificateKeyProvInfo.
2009-01-28 12:09:22 +01:00
Juan Lang
bf0406cf3a
crypt32: Implement CertFindCertificateInStore for CERT_FIND_PUBLIC_KEY.
2009-01-28 12:08:49 +01:00
Juan Lang
3ae5e99cba
crypt32: Add stub for PFXImportCertStore.
2009-01-28 12:08:42 +01:00
Juan Lang
2ffc042ebf
crypt32: Implement PFXIsPFXBlob.
2009-01-28 12:08:35 +01:00
Juan Lang
7127985641
crypt32: Implement PFXExportCertStore on top of PFXExportCertStoreEx.
2009-01-28 12:08:23 +01:00
Juan Lang
6e32746f6e
crypt32: Add stub for PFXExportCertStoreEx.
2009-01-28 12:08:15 +01:00
Hans Leidekker
ecb5bdf901
wuapi: Add class factory for CLSID_AutomaticUpdates.
2009-01-28 12:07:48 +01:00
Alexandre Julliard
68d19b9552
gdi32: Don't hold the GDI lock while calling the GetObjectA/W methods for GDI objects.
2009-01-27 16:30:43 +01:00
Alexandre Julliard
9ff44b815b
gdi32: Don't hold the GDI lock while calling the UnrealizeObject method for GDI objects.
2009-01-27 16:26:35 +01:00
Alexandre Julliard
f03871094c
gdi32: Don't hold the GDI lock while calling the DeleteObject method for GDI objects.
2009-01-27 16:19:37 +01:00
Alexandre Julliard
b4255d295d
gdi32: Release the GDI lock when calling the DC DeleteObject function.
2009-01-27 16:15:47 +01:00
Frans Kool
8f829034f3
cryptdlg: Added Dutch translations.
2009-01-27 16:05:22 +01:00
Frans Kool
70eea24a62
crypt32: Added missing Dutch translation.
2009-01-27 16:05:14 +01:00
Michael Stefaniuc
56b3341f8e
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.
2009-01-27 16:05:04 +01:00
Alistair Leslie-Hughes
58292e8a65
shdocvw: Add IServiceProvider support.
2009-01-27 16:04:56 +01:00
Andrew Nguyen
e670b01f39
gdi32: Stub the NamedEscape function.
2009-01-27 15:22:40 +01:00
Florian Köberle
640d2e029a
user32: Unify handling of child and normal windows in getMinMaxInfo.
...
The code for the child windows works now for the standalone windows as well.
2009-01-27 15:20:01 +01:00
Florian Köberle
8afc5fe6d5
user32: Fix maximized child windows.
2009-01-27 15:18:56 +01:00
Florian Köberle
4cfb1e6952
user32/tests: Improved an error message.
2009-01-27 15:18:28 +01:00
Florian Köberle
a50deff4be
user32: Fix thick child minTrack and size.
2009-01-27 15:18:10 +01:00
Florian Köberle
ce119daf3e
user32: Fix maxPosition of thick child windows.
2009-01-27 15:18:00 +01:00
Florian Köberle
dc1a7113b5
user32/tests: Use AdjustWindowRectEx to calculate minTrack and maxPosition.
2009-01-27 15:17:51 +01:00
Nikolay Sivov
5ea119a3d0
quartz: Fix NULL pointer dereference (Coverity).
2009-01-27 14:57:41 +01:00
Alexandre Julliard
a79868e09d
kernel32/tests: Don't hardcode C drive for SetCurrentDirectory tests.
...
Also handle the case where TMP and TEMP are not defined.
2009-01-27 14:55:30 +01:00
Alexandre Julliard
e55a691ded
user32/tests: Accept DISP_CHANGE_RESTART also for tests expected to fail.
2009-01-27 14:38:23 +01:00
Hans Leidekker
120120e37e
msvcrt: Add a test for _vsnwprintf.
2009-01-27 14:27:03 +01:00
Hans Leidekker
8fec17b5ad
msi: Add stub implementations of MsiSourceListClearSourceA/W.
2009-01-27 14:27:00 +01:00
Hans Leidekker
7bfa0d2c7f
schannel: Add stub implementations of SslEmptyCacheA/W.
2009-01-27 14:26:58 +01:00
Michael Stefaniuc
56f5769364
localspl: Remove superfluous pointer casts.
2009-01-27 14:26:55 +01:00
Michael Stefaniuc
2c5da7de49
gphoto.ds: Remove superfluous pointer casts.
2009-01-27 14:26:53 +01:00
Michael Stefaniuc
5435320059
dmsynth: Remove superfluous pointer casts.
2009-01-27 14:26:50 +01:00
Michael Stefaniuc
921b81c772
ntprint: Remove superfluous pointer casts.
2009-01-27 14:26:48 +01:00
Michael Stefaniuc
b4d65f595e
hlink: Remove superfluous pointer casts.
2009-01-27 14:26:46 +01:00
Michael Stefaniuc
905ff8fdaa
avifil32: Remove superfluous pointer casts.
2009-01-27 14:26:43 +01:00
Jeremy White
499603c360
twain_32: Add an initial test framework for twain_32.dll.
2009-01-27 12:04:07 +01:00
Paul Vriens
b4d246ba8f
quartz/tests: Fix test failures on Win95 by using A-functions.
2009-01-27 11:30:09 +01:00
Ge van Geldorp
ae79b02ca6
d3d8/tests: Make tests pass on a W2K8 VM.
2009-01-27 11:30:03 +01:00
Alexandre Julliard
5e7f7db923
ntdll: Ignore spurious write faults for a write watch that has been reset already.
2009-01-27 11:22:06 +01:00
Dylan Smith
8ec60e9775
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.
2009-01-27 11:21:38 +01:00
Dylan Smith
61308257f2
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.
2009-01-27 11:21:33 +01:00
Dylan Smith
61f189cec8
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.
2009-01-27 11:21:16 +01:00
Dylan Smith
5bf9e73dd0
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.
2009-01-27 11:21:07 +01:00
Dylan Smith
c94e78a572
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.
2009-01-27 11:20:59 +01:00
Dylan Smith
83ff6a5c5d
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.
2009-01-27 11:20:49 +01:00
Dylan Smith
0832737427
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.
2009-01-27 11:20:37 +01:00
Dylan Smith
29ddbce288
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.
2009-01-27 11:20:15 +01:00
Rico Schüller
c97d3d7162
d3dx9_40: Implement d3dx9_40 and forward the functions to d3dx9_36.
2009-01-27 11:10:29 +01:00
Rico Schüller
d5366eed92
d3dx9_39: Fix version information.
2009-01-27 11:09:47 +01:00
Rico Schüller
bb7d245137
d3dx9_38: Fix version information.
2009-01-27 11:09:41 +01:00
Marcus Meissner
e1d9a793be
kernel32: Initialize events correctly.
2009-01-27 11:09:24 +01:00
Marcus Meissner
ea4c70a1bd
shell32: Added missing fclose (Coverity).
2009-01-27 11:09:13 +01:00
Marcus Meissner
294382269d
ddrawex: Use stack ctx instead of uninitialized variable.
2009-01-27 11:09:08 +01:00
Austin English
507f6710ba
iphlpapi: Fix includes for NetBSD.
2009-01-27 11:08:58 +01:00
Ricardo Filipe
4efd105fb3
setupapi: Add stub for SetupDiGetClassImageList.
2009-01-27 11:08:37 +01:00
Ricardo Filipe
63a5cec8cd
ntdll: Add stub for RtlCompressBuffer.
2009-01-27 11:08:33 +01:00
Juan Lang
4de59850d5
crypt32: Fix typo.
2009-01-27 11:08:16 +01:00
Juan Lang
157709d7a2
cryptui: Export all selected certificates when requested from the certificate manager, not just the first one.
2009-01-27 11:08:11 +01:00
Juan Lang
56b38801b1
cryptui: Set default export file name based on input in CryptUIWizExport.
2009-01-27 11:08:03 +01:00
Juan Lang
b2fefc0ffd
cryptui: Move code for enabling the PFX export format to the correct dialog proc.
2009-01-27 11:07:45 +01:00
Juan Lang
214045988f
cryptui: Select export format based on input in CryptUIWizExport.
2009-01-27 11:07:38 +01:00
Juan Lang
15a8ea6a51
cryptui: Implement CryptUIWizExport for CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY.
2009-01-27 11:07:12 +01:00
Juan Lang
befce84f4c
crypt32: Close file when appropriate in CertSaveStore.
2009-01-27 11:06:58 +01:00
Juan Lang
6917fdd3a8
crypt32: Set save function in switch statement rather than with trinary conditional operator.
2009-01-27 11:06:44 +01:00
Juan Lang
a7096f9636
cryptui: Add support for exporting a serialized store from CryptUIWizExport.
2009-01-27 11:04:30 +01:00
Juan Lang
4ae62fba22
cryptui: Add error checking to CryptUIWizExport.
2009-01-27 11:03:51 +01:00
Juan Lang
1165146188
cryptui: Default to exporting in DER format.
2009-01-27 11:03:45 +01:00
Juan Lang
53955c57fe
cryptui: Always initialize export wizard's export options.
2009-01-27 11:03:39 +01:00
David Adam
5775edd805
d3dx9_39: Implement this dll and forward the functions to d3dx9_36.
2009-01-26 16:35:08 +01:00
David Adam
1c5b536d8a
d3dx9_38: Implement the dll and forward the functions to d3dx9_36.
2009-01-26 16:34:41 +01:00
Aric Stewart
f55151a33a
rasdlg: Initial stub dll.
2009-01-26 16:27:01 +01:00
Ge van Geldorp
ee3a743e6c
kernel32/tests: "none" debugger test needs user interaction.
2009-01-26 16:08:30 +01:00
Marcus Meissner
76b08f3aa7
msi: Initialize row (Coverity).
2009-01-26 16:08:25 +01:00
James Hawkins
99e7287ed7
advpack: Don't test properties of a file if it can't be created.
2009-01-26 16:08:02 +01:00
James Hawkins
a072f85b9f
advapi32: Skip tests if the default provider cannot be removed.
2009-01-26 16:07:56 +01:00
James Hawkins
8322bd78e8
advpack: Skip tests for broken functions.
2009-01-26 16:07:48 +01:00
Ge van Geldorp
115805f12e
setupapi/tests: Make tests pass on Vista and W2K8.
2009-01-26 16:07:44 +01:00
Ge van Geldorp
b7ac6cb01d
uxtheme/tests: Adjust error test for W2K8.
2009-01-26 16:07:40 +01:00
Ge van Geldorp
f7a34db378
ole32/tests: Some Windows versions need the class to be registered.
2009-01-26 16:06:02 +01:00
Andrey Turkin
b1df9d11b1
dwmapi: Add DwmEnableMMCSS stub.
2009-01-26 16:05:53 +01:00
Andrew Talbot
e2fa299029
winedos: Declare some functions static.
2009-01-26 16:05:46 +01:00
Andrew Talbot
2705a96add
winealsa.drv: Declare a function static.
2009-01-26 16:05:42 +01:00
Nikolay Sivov
f4f5ee152d
mshtml/tests: Fix interface release (Coverity).
2009-01-26 15:49:06 +01:00
Nikolay Sivov
2fbe8d23eb
msi: Fix potential NULL pointer dereference in ILockBytes_Release (Coverity).
2009-01-26 15:49:01 +01:00
Nikolay Sivov
9598a50916
msi: Fix NULL dereference in MsiQueryComponentStateW (Coverity).
2009-01-26 15:48:57 +01:00
Andrew Talbot
f34e733c2c
setupapi: Declare a function static.
2009-01-26 15:48:51 +01:00
Andrew Talbot
247b7c5a83
secur32: Declare a function static.
2009-01-26 15:48:48 +01:00
Paul Vriens
cdabde7a04
inetcomm: Wrap a few traces in debugstr_a() (Coverity).
2009-01-26 15:13:37 +01:00
Huw Davies
0806d811ed
comdlg32: Set the correct error code if there is no default printer.
2009-01-26 15:13:32 +01:00
Francois Gouget
1f601015cd
d3d8: Make some device_parent_*() functions static.
2009-01-26 15:13:29 +01:00
Francois Gouget
96e81f0698
ddraw: Make some device_parent_*() functions static.
2009-01-26 15:13:26 +01:00
Francois Gouget
191eeef0e4
d3d10core: Make some device_parent_*() functions static.
2009-01-26 15:13:24 +01:00
Francois Gouget
8be5798e3f
quartz: Make the IMemInputPin functions static.
2009-01-26 15:13:09 +01:00
Alexandre Julliard
95cf00f30b
winex11: Flush the display after releasing the capture to make sure it happens right away.
2009-01-26 15:12:55 +01:00
Alexandre Julliard
9876c5433f
rpcrt4: Don't align the buffer pointer in ComplexStructMemorySize for alignment formats.
2009-01-26 15:12:07 +01:00
Alexandre Julliard
3939cb5c82
gdi32: Avoid some pointer casts.
2009-01-26 15:09:18 +01:00
Alexandre Julliard
7d657ed8f4
user32: Make sure the submenu is valid in MENU_HideSubPopups.
2009-01-26 15:09:07 +01:00
Alexandre Julliard
f12c5bfca3
user32: Use a finally handler to make sure capture is always released when exiting the menu loop.
2009-01-26 15:08:49 +01:00
Alasdair Sinclair
4475045fe1
comctl32: Fix missing void in empty parameter list.
2009-01-26 15:07:30 +01:00
Alasdair Sinclair
4f0e6885d0
comctl32/tests: Fix missing void in empty parameter list.
2009-01-26 15:07:26 +01:00
Alasdair Sinclair
d2915c0f99
advapi32/tests: Fix missing void in empty parameter list.
2009-01-26 15:07:22 +01:00
Andrew Nguyen
cb6ddfc75b
winmm: Make the return behavior of waveOutPrepareHeader consistent for 16-bit and 32-bit.
2009-01-26 15:07:07 +01:00
Henri Verbeet
7742fe283a
d3d10core: Add a small test for CreateRenderTargetView().
2009-01-26 14:57:22 +01:00
Henri Verbeet
2953d81463
d3d10core: Handle a NULL view desc in CreateRenderTargetView().
2009-01-26 14:57:18 +01:00
Henri Verbeet
9c1abc908a
d3d10core: Implement ID3D10Buffer::GetType().
2009-01-26 14:57:13 +01:00
Henri Verbeet
04e4abf677
d3d10core: Implement ID3D10Texture2D::GetType().
2009-01-26 14:57:08 +01:00
Henri Verbeet
1fa7fea8a0
d3d10core: Implement ID3D10Texture2D::GetDesc().
2009-01-26 14:57:02 +01:00
Vincent Pelletier
e5abaf9f97
dinput: Clamp lMagnitude to -10000..10000 range.
2009-01-26 14:52:28 +01:00
Vincent Pelletier
15a33ab209
dinput: Fix gain-related bugs.
2009-01-26 14:52:01 +01:00
Michael Stefaniuc
667a1ed5be
gdi32: Remove superfluous pointer casts.
2009-01-26 14:31:13 +01:00
Michael Stefaniuc
07a7c1f822
itss: Remove some superfluous pointer casts.
2009-01-26 14:31:10 +01:00
Michael Stefaniuc
4eaaa913f8
crypt32: Remove some more superfluous pointer casts.
2009-01-26 14:31:08 +01:00
Michael Stefaniuc
6a5dda7143
msxml3: Remove superfluous pointer casts.
2009-01-26 14:31:05 +01:00
Hans Leidekker
bd9c265cc2
setupapi: Implement SetupInstallFileExA/W.
2009-01-26 14:31:01 +01:00
Rob Shearman
2ec1e4a393
rpcrt4: Fix buffer overflow in UUID tests.
2009-01-26 14:30:47 +01:00
Reece Dunn
7fcc9629f8
comctl32: Don't generate a fixme message for the TBSTYLE_EX_DOUBLEBUFFER extended style.
2009-01-26 14:30:41 +01:00
Nikolay Sivov
c3e2cb00d5
msi: Remove redundant pointer check (Coverity).
2009-01-26 14:30:34 +01:00
David Adam
62b8b9a8fd
ddraw/tests: Add a few tests for ComputeShereVisibility.
2009-01-26 14:30:17 +01:00
Andrew Talbot
8838dcb4ce
shell32: Declare some functions static.
2009-01-26 14:29:59 +01:00
Ricardo Filipe
f4eb36531f
ntdll: Add stub for RtlGetCompressionWorkSpaceSize.
2009-01-26 14:29:51 +01:00
Jeff Latimer
c743f9d0bd
user32: DdeCreateStringHandle checks for an invalid instance Id and sets lastError for instances on that thread.
2009-01-26 14:29:44 +01:00
Jeff Latimer
77e0e9cccc
user32/tests: Add tests for invalid instance passed to DdeCreateStringHandle.
...
Similar the DdeCreateDataHandle, DdeCreateStringHandle behaves the same
way. If an invalid instance Id is passed then lastError is set for all
instances of that thread.
2009-01-26 14:29:39 +01:00
Vincent Povirk
3184dc9125
gdiplus: Do not call delete_element(NULL).
2009-01-26 14:29:22 +01:00
Juan Lang
01c24c641c
cryptui: Call CryptUIWizExport when asked to.
2009-01-26 14:28:20 +01:00
Juan Lang
8e5f9d57fc
cryptui: Fix a typo.
2009-01-26 14:28:16 +01:00
Juan Lang
56215060dc
cryptui: Implement CryptUIWizExport for the no UI case.
2009-01-26 14:28:10 +01:00
Juan Lang
40905e42ac
cryptui: Use a public type rather than a private one for export options in the export wizard.
2009-01-26 14:28:04 +01:00
Juan Lang
71e944e37a
cryptui: Implement saving from the export wizard.
2009-01-26 14:27:55 +01:00
Juan Lang
5d92e2d20f
cryptui: Show details of export on finish page of export wizard.
2009-01-26 14:27:47 +01:00
Juan Lang
4e9cbb2807
cryptui: Implement browsing for a filename in the export wizard.
2009-01-26 14:27:38 +01:00
Juan Lang
298f7c53f8
cryptui: Validate filename in export wizard.
2009-01-26 14:27:25 +01:00
Juan Lang
8b2792d1c1
cryptui: Enable/disable checkboxes in the format page of the export wizard depending on selection.
2009-01-26 14:27:14 +01:00
Juan Lang
7f9c8fa92f
cryptui: Disable the PFX export format in the export wizard unless the source has a private key.
2009-01-26 14:27:03 +01:00
Juan Lang
245e22fb94
cryptui: Remember format and format options when leaving the format page of the export wizard.
2009-01-26 14:26:27 +01:00
Juan Lang
c417c9b9c2
cryptui: Skip the format page of the export wizard if the format is implied.
2009-01-26 14:26:13 +01:00
Juan Lang
0cac6977e6
cryptui: Add a do-nothing export wizard.
2009-01-26 14:26:03 +01:00
Juan Lang
787b4bcd52
cryptui: Add stub for CryptUIWizExport.
2009-01-26 14:25:10 +01:00
Paul Vriens
fd3c7be0e0
user32: Allocate buffer on heap.
2009-01-26 14:24:29 +01:00