Paul Vriens
a1131786e4
kernel32/tests: Add some skips to fix failures on WinMe.
2008-10-06 15:31:04 +02:00
Dmitry Timoshkov
0d1470575d
gdi32: Allow a rounding error in the text justification test.
2008-10-06 15:30:40 +02:00
Dmitry Timoshkov
c8d5730610
gdi32: Add a test for a font being selected into 2 DCs with different transformations.
2008-10-06 15:30:36 +02:00
Dmitry Timoshkov
0467d4e4c6
gdi32: Make test_font_metrics require the font being selected into the DC.
2008-10-06 15:30:31 +02:00
Michael Karcher
9d65ec2702
msxml3: Parameter validation for IXMLDOMNode::replaceChild and tests.
2008-10-06 14:19:37 +02:00
Michael Karcher
3bdf45534b
msxml3: Simplify IXMLDOMNode::removeChild.
2008-10-06 14:19:23 +02:00
Michael Karcher
30351482e8
msxml3: Fail a bit earlier on removeChild(...,NULL,...).
2008-10-06 14:19:11 +02:00
Michael Karcher
75606f3583
msxml3: removeChild can only delete direct children.
2008-10-06 14:19:04 +02:00
Michael Karcher
d1c8083b93
msxml3/tests: Clean up test_removeChild.
...
Rename variables to help the reader following the xml traversal. While doing
that, I encountered a possible typo, as node_list2 was never used after being
acquired. This version now really tries to delete a grandchild and expects
a failure.
2008-10-06 14:18:55 +02:00
Aric Stewart
2cc258f6c9
winealsa: Don't dereference a potentially NULL value in the WARN statement (Coverity 93).
2008-10-06 14:18:32 +02:00
Kirill K. Smirnov
a03cc957e1
oleaut32: Add tests for metafiles, make them pass under Wine.
2008-10-06 14:15:01 +02:00
Eric Pouech
096991428f
msvcrt: Implemented wcsncpy_s.
2008-10-06 14:11:53 +02:00
Aric Stewart
6d652ddc4f
x11drv: ime: In the update functions if we get a null string with a len report this and fix len to be 0 (Coverity 656 and 655).
2008-10-06 14:11:24 +02:00
Aric Stewart
ea08576820
version: Check for out of memory in VerInstallFileA/W conversion (Coverity 635).
2008-10-06 14:11:04 +02:00
Paul Vriens
32af90d53a
kernel32/tests: Fix some failures on win9x.
2008-10-06 13:55:15 +02:00
Paul Vriens
cc57b863b5
kernel32/tests: Fix the remaining errors on win95.
2008-10-06 13:55:12 +02:00
Dylan Smith
1d21d24a51
richedit: Show arrow cursor over scrollbar.
2008-10-06 13:54:49 +02:00
Dylan Smith
936191887e
user32: Converted rcScrollBar to screen coordinates.
2008-10-06 13:54:44 +02:00
Marcus Meissner
49c1f1f464
advapi32: Check for NULL ptr.
2008-10-06 13:54:09 +02:00
Dylan Smith
4785c2fa2d
richedit: ES_AUTOHSCROLL window style disables word wrapping.
2008-10-06 13:52:25 +02:00
Aric Stewart
39b2c1eb50
ole32: Handle GetMenuItemCount returning -1 by changing UINT to INT (Coverity 228).
2008-10-06 13:51:06 +02:00
Alistair Leslie-Hughes
4b6cc6e3fd
gdiplus: Stub GdipRecordMetafileFileName and GdipRecordMetafileFileNameI.
2008-10-06 13:49:47 +02:00
Dylan Smith
bdf181b4d3
richedit: Use RTF reader for text starting with {\urtf.
2008-10-06 13:49:12 +02:00
Andrew Talbot
44be6c7cbf
gdi32: Sign-compare warnings fix.
2008-10-06 13:48:53 +02:00
Dmitry Timoshkov
53160b600f
user32: Print the expected and received rectangles.
2008-10-06 13:48:14 +02:00
Paul Vriens
4bf5c5f8a2
gdi32/tests: Fix a few failures on win9x.
2008-10-06 13:09:05 +02:00
Marcus Meissner
e4198d473c
gdiplus: Also handle 32bpp bitmaps.
2008-10-06 13:08:58 +02:00
Maarten Lankhorst
717df5b297
winealsa.drv: Don't hang on last few bytes not played.
...
Fixes winmm:wave test hanging.
2008-10-06 13:08:50 +02:00
Maarten Lankhorst
a4a9d50dd9
dsound: Fix volume and panning for primary buffer.
...
Fixes failing dsound tests in wine.
2008-10-06 13:08:46 +02:00
Rob Shearman
7ffaafb265
wininet: Fix behaviour of InternetTimeFromSystemTimeA/W when dealing with invalid parameters.
2008-10-06 13:07:56 +02:00
Rob Shearman
2584323ff9
wininet: Add tests for passing invalid parameters into InternetTimeFromSystemTimeA/W.
2008-10-06 13:07:49 +02:00
Rob Shearman
ab849ee297
wininet: Fix GetUrlCacheEntryInfoA/W when a NULL lpCacheEntryInfo parameter is passed in.
2008-10-06 13:07:43 +02:00
Rob Shearman
d929cdef97
wininet: Return error codes explicitly from URLCache functions instead of returning a BOOL and storing the error code in the last error value.
...
This makes the code more efficient and allows errors from functions to
be ignored without side-effects.
2008-10-06 13:07:36 +02:00
Rob Shearman
0f236745a9
d3d8/9: Use WINED3D_OK instead of D3D_OK in vertexshader.c.
2008-10-06 13:07:02 +02:00
Rob Shearman
87175c61f5
Add configure check for dirent.h and readdir.
2008-10-06 13:06:57 +02:00
Henri Verbeet
c5fbf98ed2
wined3d: Enable lights on the correct swapchain.
2008-10-06 13:06:44 +02:00
Dylan Smith
e6c3a2beee
richedit: Unsigned cast char to avoid EOF equality.
2008-10-06 13:06:38 +02:00
Dylan Smith
930f8f5af6
richedit: Removed invalid assertion.
...
The assertion was not valid, because it neglected to take into account
the situation where a line break is forced with a MERF_ENDROW run
(caused by \line control word or pressing Shift-Enter). This means
that spaces can cause a line wrap after a forced line break as well as
after a paragraph break, so we cannot assert that it is the first row
in the paragraph.
2008-10-06 13:06:24 +02:00
Dylan Smith
af47ac09d5
richedit: Avoided testing for undocumented behaviour causing test to fail.
...
The test for EM_GETLINE was testing to make sure the null terminating
character was written at the end of the text as long as the buffer was
long enough, and also tested to make sure that no other bytes were
written after this null terminating character. This is consistent with
Windows 2000 and up, but not for previous versions of Windows.
2008-10-06 13:06:13 +02:00
Dylan Smith
0589b61848
richedit: Swapped the expected and destination buffers in a test.
2008-10-06 13:06:04 +02:00
James Hawkins
62c544cf4f
msi: Implement the DROP TABLE sql command.
2008-10-06 13:05:52 +02:00
Jacek Caban
68525652a1
jscript: Added possibility to run test scripts from file.
...
With this patch it's possible to test scripts by running
wine jscript_test.exe.so run <file_name>
Although it's not what Wine tests are for, it proved to be very useful
for me.
2008-10-06 13:05:27 +02:00
Jacek Caban
31b3071552
jscript: Fixed backslash handling in regular expressions.
2008-10-06 13:04:45 +02:00
Jacek Caban
383de2d79a
jscript: Fixed conflict in Block statement that caused problems with empty blocks.
2008-10-06 13:04:42 +02:00
Jacek Caban
47b842bff7
jscript: Don't initialize variables without initialiser to undefined in variable_list_eval.
2008-10-06 13:04:39 +02:00
Huw Davies
ec73ad29e0
ole32: Remove an unneeded WINAPI and remove some useless comments.
2008-10-06 12:51:53 +02:00
Jacek Caban
56d1e9ec86
mshtml: Added IHTMLElement2::get_currentStyle implementation.
2008-10-06 12:51:47 +02:00
Jacek Caban
3203524bb5
mshtml: Added IHTMLStyle2 to IDispatchEx support.
2008-10-06 12:51:31 +02:00
Jacek Caban
239f7f70e7
mshtml: Added IHTMStyle2 stub implementation.
2008-10-06 12:51:27 +02:00
Jeff Zaroyko
82f77cc17a
msvcrt: Avoid a NULL pointer deref in ctime.
2008-10-02 11:24:01 -05:00
John Klehm
b77f0a1672
wintab32: Handle negative output context range for y-axe.
2008-10-02 11:23:57 -05:00
John Klehm
bf1f0568d0
wintab32: Improve tracing of LOGCONTEXT struct.
2008-10-02 10:43:32 -05:00
Andrey Turkin
a8790e55fd
dwmapi: Add a few stub implementations.
2008-10-02 10:43:08 -05:00
Piotr Caban
2a55b8d8e7
msxml: Fix implementation of ISAXContentHandler_characters.
2008-10-02 10:42:32 -05:00
Piotr Caban
c7fc926552
msxml: Partial implementation of ISAXXMLReader_putProperty.
2008-10-02 10:42:27 -05:00
Paul Vriens
d0dfd9d784
comctl32/tests: Don't crash on some win9x boxes.
2008-10-02 10:41:26 -05:00
Dylan Smith
5157798836
richedit: Print hex string for strcmp test failing on Windows 95, 98 & NT4.
2008-10-02 10:41:02 -05:00
Dmitry Timoshkov
9aaa24091f
winex11.drv: Add support for _NET_WORKAREA.
2008-10-02 10:40:13 -05:00
Alexandre Julliard
1e344db7a6
inetcomm: Add missing license header.
2008-10-02 10:30:55 -05:00
Aric Stewart
a7e48d7d98
user32/tests: GetMenuItemCount returns INT so check for -1 (Coverity 542).
2008-10-02 10:30:42 -05:00
Aric Stewart
6aa6fc8a46
user32/tests: GetMenuItemCount returns an INT which can be -1 (Coverity 543).
2008-10-02 10:30:33 -05:00
Aric Stewart
52b2b5b7b0
mlang: Correct use of uninitialized rfcstr value (Coverity 796).
2008-10-02 10:29:52 -05:00
Rob Shearman
f55afa8a59
wininet: Move internet time tests from http.c to internet.c.
2008-10-02 10:29:31 -05:00
Rob Shearman
fa066c74e3
wininet: Fix behaviour of InternetTimeFromSystemTimeA/W when a buffer that is too small is passed in.
2008-10-02 10:29:19 -05:00
Rob Shearman
ef0e3792bb
wininet: Add tests for InternetTimeFromSystemTimeW with insufficient buffer.
2008-10-02 10:29:15 -05:00
Rob Shearman
5910626aa2
oleaut32: Make the code in copy_to_variant and copy_from_variant more portable.
...
The typeof keyword isn't available on all compilers so avoid it if at
all possible.
2008-10-02 10:29:11 -05:00
Jeff Zaroyko
8595ffadd9
hhctrl.ocx: Always set WS_OVERLAPPEDWINDOW.
2008-10-02 10:28:53 -05:00
Juan Lang
0f43beaa7b
wintrust: Implement OpenPersonalTrustDBDialog.
2008-10-02 10:28:45 -05:00
Dmitry Timoshkov
b31d7dbe8e
gdi32: Do not skip the font metrics update after the DC transform change.
2008-10-02 10:28:36 -05:00
Huw Davies
c74de4a1ce
rpcrt4: Actually set an unmarshalled object ptr to NULL when a NULL pointer id is received.
2008-10-02 10:28:19 -05:00
Aric Stewart
99c23ccf35
mlang/tests: windows 2008's version of mlang E_FAILs when you pass in a rgelt in IEnumCodePage::Next.
2008-10-01 13:50:37 -05:00
Aric Stewart
4e8dcf89e9
mlang/tests: Skip testing a codepage returning the buggy, legacy unicodeFEFF charset (only appears to exist on windows 2008).
2008-10-01 13:50:21 -05:00
Aric Stewart
c209245f17
mlang/tests: GetLastError may not be set if Japanese conversions fail with S_FAIL so do not require that to skip the Japanese tests.
2008-10-01 13:47:59 -05:00
Aric Stewart
86de5c2546
mlang/tests: Some versions of native mlang return E_FAIL when source string is NULL and a source length is supplied.
2008-10-01 13:47:35 -05:00
Aric Stewart
b91783c341
mlang/tests: IMultiLanguage2_GetRfc1766FromLcid can return S_FALSE on partial name matching so deal with this properly.
2008-10-01 13:47:13 -05:00
Aric Stewart
d63eccc602
imm32: ImmConfigureIME should return 0 when the type is IME_CONFIG_REGISTERWORD and the data is NULL.
2008-10-01 13:46:08 -05:00
Rob Shearman
573abdca4a
wininet: Make WININET_AllocHandle 64-bit safe by using the correct type in the sizeof expression.
2008-10-01 11:44:25 -05:00
Rob Shearman
2fb89a4e36
quartz: Fix placement of WINAPI attribute in fnFoundSeek typedef.
...
MSVC requires that calling conventions appear inside the brackets.
2008-10-01 11:44:07 -05:00
Rob Shearman
e7ecfe28a1
quartz: Don't use strlenW in array size declaration.
...
Use ARRAYSIZE() on the constant string arrays instead.
2008-10-01 11:44:02 -05:00
Rob Shearman
2c37baba0a
winedos: Compare HRESULT value explicitly against S_OK instead of using an implicit != 0 comparison.
2008-10-01 11:43:34 -05:00
Rob Shearman
d31ce9ae37
wininet: Compare HRESULT values explicitly against S_OK instead of using an implicit != 0 comparison.
2008-10-01 11:43:30 -05:00
Rob Shearman
ee2281d370
urlmon: Compare HRESULT value explicitly against S_OK instead of using an implicit != 0 comparison.
2008-10-01 11:43:25 -05:00
Rob Shearman
a14d34b2f6
winhttp: Fix compilation with MinGW/MSVC.
2008-10-01 11:43:19 -05:00
Rob Shearman
79ad9cbcdd
cabinet: Check buffer size before copying in NONEfdi_decomp.
...
Check that the data will fit into the fixed sized buffer CAB(outbuf)
and return an error if not before copying.
2008-10-01 11:42:36 -05:00
Alistair Leslie-Hughes
2b5a59c092
msxml3: Correct cast.
2008-10-01 11:42:23 -05:00
James Hawkins
23d899d8ab
comctl32: Only log system messages.
2008-10-01 11:41:59 -05:00
James Hawkins
3e8a63d5fa
comctl32: Fix several test failures in win2k.
2008-10-01 11:41:54 -05:00
James Hawkins
e1111a5bef
comctl32: Only log system messages.
2008-10-01 11:41:45 -05:00
James Hawkins
48e6e584d3
msi: Fix a test that fails in win95.
2008-10-01 11:41:34 -05:00
James Hawkins
4749ee2662
msi: Forward MsiDatabaseMergeA to MsiDatabaseMergeW.
2008-10-01 11:41:29 -05:00
James Hawkins
525865447e
msi: Add a stub implementation of MsiDatabaseMerge.
2008-10-01 11:41:23 -05:00
Dylan Smith
c2bab443fa
richedit: Made sure table row gap/offset is copied on append row.
2008-10-01 11:41:01 -05:00
Dylan Smith
a3ac5ef094
richedit: Fixed a bug preventing streaming out nested table properties.
2008-10-01 11:40:52 -05:00
Dylan Smith
3af4419688
richedit: Added code to stream out table border properties.
...
This code was simply missing, since the table border properties are
already stored and displayed.
2008-10-01 11:40:34 -05:00
Dylan Smith
ee5342e432
richedit: Prevent assertion failure when streaming out nested tables.
...
The table properties are streamed out at the start of the table for
non-nested tables, and at the end of the table for nested tables. The
assertion caught the fact that I didn't get the start of the table row
for nested tables before trying to stream out the properties.
The call to ME_GetTableRowStart will handle both of these cases by
getting the table row start paragraph and asserting that it is found.
This call was also the reason for removing the const qualifier on one
of the parameters.
2008-10-01 11:40:20 -05:00
Dylan Smith
fac8e957c5
richedit: Prevent font or colour buffer overflow on stream out.
...
Static sized buffers are used for storing the colours and fonts, so
there needs to be a check to prevent these buffer from overflowing.
2008-10-01 11:40:04 -05:00
Dylan Smith
3df78710a9
richedit: Make sure border properties are saved for undo/redo.
...
Previously the paragraph and cell border properties were lost when
deleting the text, then undoing the deletion. This would cause tables
to lose the colour and width of the table border.
2008-10-01 11:39:56 -05:00
Jacek Caban
9c248189f7
jscript: Added delete expression for EXPRVAL_IDREF implementation.
2008-10-01 11:39:47 -05:00
Jacek Caban
65a207466d
jscript: Added IDispatchEx::GeleteMemberByDispID implementation.
2008-10-01 11:39:42 -05:00
Jacek Caban
84d8cddcae
jscript: Added Date constructor object implementation.
2008-10-01 11:39:37 -05:00