Commit Graph

50809 Commits

Author SHA1 Message Date
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
Jacek Caban cbeeac0ebf mshtml.idl: Added IHTMLStyle2 interface declaration. 2008-10-06 12:51:23 +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
Andrew Nguyen f55a2a4eb5 wine.inf: Add entry for fake wintab32.dll. 2008-10-02 10:41:54 -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
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