Commit Graph

50728 Commits

Author SHA1 Message Date
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
Lei Zhang 86a4e99c04 regedit: Check return values, don't request unneeded value which always fails. 2008-10-02 10:29:06 -05:00
Lei Zhang 4389066754 regedit: Use W version of TreeView_GetItem. 2008-10-02 10:29:00 -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
Dmitry Timoshkov 47ecb4882f wine.inf: Correct the Pacific SA Standard Time entry. 2008-10-02 10:28:27 -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 55a28dd364 include: Generate error codes with correct type in urlmon.idl.
Use the _HRESULT_TYPEDEF_ macro to ensure that the error codes get the
correct type.
2008-10-01 11:44:34 -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 d82e36fa4a include: Wrap uses of u_* types in ws2tcpip.h with WS() macro. 2008-10-01 11:42:55 -05:00
Rob Shearman fd4a894103 include: Define DD_OK to S_OK instead of 0.
Add define for DD_FALSE.
2008-10-01 11:42:44 -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
Jacek Caban a9c4d2b18e jscript: Don't clear uninitialized variable. 2008-10-01 11:39:26 -05:00
Jacek Caban 50a84b4545 jscript: Allocate variables when entering execution context. 2008-10-01 11:39:18 -05:00
Jacek Caban 131d0b9f1b jscript: Optimize GetDispID usage. 2008-10-01 11:39:13 -05:00