Commit graph

35125 commits

Author SHA1 Message Date
Stefan Dösinger
370b8299ab wined3d: Honor the texcoordindex when setting the texture matrix. 2008-07-24 11:56:02 +02:00
Stefan Dösinger
b554cdbb5a d3d: D3DDECLTYPE_UNUSED is not valid in vertex declarations. 2008-07-24 11:55:42 +02:00
Nikolay Sivov
b127647b96 gdiplus: Fix swapped got-expected in brush test. 2008-07-24 11:55:33 +02:00
H. Verbeet
d1c835f890 d3d9: Use color_match() in test_vshader_input(). 2008-07-24 11:55:27 +02:00
Piotr Caban
33e35025ec msxml3: Fix for accessing uninitialized memory. 2008-07-24 11:55:08 +02:00
Piotr Caban
68963c9fd0 msxml3/tests: Add test for parsing document with '\r' characters. 2008-07-24 11:55:01 +02:00
Piotr Caban
c545852013 msxml3/tests: Add test for parsing from IStream. 2008-07-24 11:54:20 +02:00
Piotr Caban
3d4ad645bd msxml3: Change ISAXXMLReader_characters implementation so it works correctly on files with '\r' characters. 2008-07-24 11:53:13 +02:00
Piotr Caban
bb849dc9c3 msxml3: Change ISAXXMLReader_getLine and ISAXXMLReader_getColumn functions. 2008-07-24 11:53:04 +02:00
Piotr Caban
fc825af3ee msxml3: Added support for more arguments in ISAXXMLReader_parse.
Parsing is not working when XMLDOMDocument is passed. It's because
IXMLDOMDocument_get_xml returns incomplete data.
2008-07-24 11:52:55 +02:00
Piotr Caban
194bae3b60 msxml3: Reorganize ISAXXMLReader_parse function. 2008-07-24 11:52:43 +02:00
Jacek Caban
2609e45c31 mshtml: Added IOmNavigator::get_appCodeName implementation. 2008-07-24 11:52:29 +02:00
Jacek Caban
e629e049db mshtml: Added IHTMLDocument2::[get|put]_title tests. 2008-07-24 11:52:21 +02:00
Jacek Caban
8e6dbe750a mshtml: Added IHTMLDocument2::get_title implementation.
Based on patch by Ivan Sinitsin.
2008-07-24 11:52:14 +02:00
Jacek Caban
80f33889ea mshtml: Added IHTMLDocument2::put_title implementation.
Based on patch by Ivan Sinitsin.
2008-07-24 11:52:09 +02:00
Hans Leidekker
e691de4a1a usp10: Use a valid string analysis when testing ScriptXtoCP and ScriptCPtoX. 2008-07-24 11:52:04 +02:00
Reece Dunn
2f445e4e4a crypt32/tests: Be more verbose on the failing base64 tests on Vista to help locate the failures. 2008-07-23 13:54:25 +02:00
Andrew Talbot
414cdc0475 advapi32: Sign-compare warnings fix. 2008-07-23 13:54:17 +02:00
Nicolas Le Cam
eb612fd4dc kernel32/tests: Fix a failing test in Vista. 2008-07-23 13:54:06 +02:00
Nicolas Le Cam
5cf418f521 comctl32/tests: Fix a test failure in multiple platforms. 2008-07-23 13:54:00 +02:00
Dan Kegel
6f164d504b winmm/tests: Test mciSendString with non-null return string buffer. 2008-07-23 13:53:56 +02:00
Aric Stewart
c6fd037d88 winex11: Add Japanese Mac keyboard layout as many of the vkey code are quite different. 2008-07-23 13:13:05 +02:00
Detlef Riekenberg
50840ec3be msxml3/tests: Fix failure and crash on win9x. 2008-07-23 13:06:22 +02:00
Alex Villacís Lasso
acfb6ea210 richedit: Do not read actual scrollbar state for scrollbar update, use internal state instead. 2008-07-23 13:05:27 +02:00
Alex Villacís Lasso
9d39754e93 richedit: Tests for WM_SIZE/scrollbar recursion bug, with todo_wine.
This is a minimal model of what happens in Corman Lisp 3.0 -
subclassed window class that unconditionally calls ShowScrollBar() to
force scrollbar visibility.
2008-07-23 13:04:56 +02:00
Alex Villacís Lasso
47871f69a1 richedit: More tests for visibility behavior of richedit scrollbars, with todo_wine.
Alternate method of forcing (in)visibility of scrollbars, with SetWindowLongA().
2008-07-23 13:04:41 +02:00
Alex Villacís Lasso
86e9e0720c richedit: Tests for visibility behavior of richedit scrollbars, with todo_wine.
Some applications have never heard of ES_DISABLENOSCROLL and attempt
to force scrollbars to be always shown (with ShowScrollBar() or
similar) when otherwise richedit would hide them. If richedit attempts
to wrestle control back, a recursive loop of requests can result if
app overrides WM_SIZE behavior. Apparently native never reads the
scrollbar state, and operates from some sort of internal state, so
that scrollbars can be modified externally without native trying to
wrestle back control. This is confirmed by attached tests. An
exception: EM_SCROLL will restore visibility to a scrollbar that was
forcibly hidden.
2008-07-23 13:04:30 +02:00
Aric Stewart
db726e4165 mlang: Correct and fill out Japanese locale information.
Implement Japanese auto detect, JIS and EUC encoding conversions to
Unicode and back. These conversions are not done in code pages but are
simple algorithms.
2008-07-23 12:41:16 +02:00
Adam Petaccia
70c747d9f7 gdiplus: Stub GdipGetFontCollectionFamilyList. 2008-07-23 12:37:32 +02:00
Adam Petaccia
6966c690b9 gdiplus: Stub GdipGetFontCollectionFamilyCount. 2008-07-23 12:37:21 +02:00
Adam Petaccia
01d607dceb gdiplus: Stub GdipPrivateAddFontFile. 2008-07-23 12:37:06 +02:00
Adam Petaccia
cfde278584 gdiplus: Stub GdipDeletePrivateFontCollection. 2008-07-23 12:36:48 +02:00
Adam Petaccia
8d06fb4f9f gdiplus: Stub GdipNewPrivateFontCollection. 2008-07-23 12:36:23 +02:00
Lei Zhang
9b4f17f630 gdi32: Glyph advances should be measured for unrotated characters. 2008-07-23 11:56:09 +02:00
Lei Zhang
78a1e07c93 gdi32: Add a test for font orientation. 2008-07-23 11:56:00 +02:00
Alexandre Julliard
d619640f1b shell32: Define a valid cursor for the control panel window. 2008-07-23 11:52:12 +02:00
Owen Rudge
1bca3c05f1 shell32: Remove existing painting methods from control panel. 2008-07-23 11:49:55 +02:00
Owen Rudge
6599f573ca shell32: Add About dialog to Control Panel. 2008-07-23 11:49:13 +02:00
Owen Rudge
9b2f6364ac shell32: Add code to process menu item selections. 2008-07-23 11:49:03 +02:00
Owen Rudge
95c6d1d864 shell32: Add menu bar to Control Panel. 2008-07-23 11:47:02 +02:00
Owen Rudge
08b1bdb8c0 shell32: Load Control Panel title from resources. 2008-07-23 11:46:44 +02:00
Ismael Barros
9d2a1e8adc dplayx: Basic implementation of dpwsockx.dll, needed by dplayx. 2008-07-23 11:44:32 +02:00
Ismael Barros
4a4e5f269d dplayx: Moved dplaysp.h to include/wine. 2008-07-23 11:40:53 +02:00
Alexandre Julliard
d96e3964b7 make_makefiles: Explicitly list the Wine headers that should be exported. 2008-07-23 11:40:43 +02:00
Dan Hipschman
d343f2baf7 ntdll: Implement RtlCreateTimer for kernel32's CreateTimerQueueTimer. 2008-07-23 11:24:03 +02:00
Roy Shea
dab039630c mstask: Implement ClassFactory, DllGetClassObject, and DllCanUnloadNow. 2008-07-23 11:23:55 +02:00
Nikolay Sivov
74dc990bbf gdiplus: Implemented GdipGetPathGradientRect with test. 2008-07-23 11:23:36 +02:00
H. Verbeet
ff870e0132 server: Calling ResumeThread() on a terminated thread is valid. 2008-07-23 11:21:47 +02:00
Mikołaj Zalewski
9a70306c53 comctl32: statusbar: Optimize STATUSBAR_RefreshPart. 2008-07-23 11:21:38 +02:00
Mikołaj Zalewski
72d4318c8c comctl32: statusbar: Test and fix SB_SETMINHEIGHT.
The minimal height should be saved so that it survives WM_SIZE or WM_SETFONT.
2008-07-23 11:21:18 +02:00
Mikołaj Zalewski
a289bab122 comctl32: toolbar: TB_SETBITMAPSIZE should not change a coordinate when passed -1 (with testcase). 2008-07-23 11:20:58 +02:00
Reece Dunn
787361d361 shell32: Don't crash if the shlexec tests fail to create an extension in the registry. 2008-07-23 11:20:41 +02:00
Alexandre Julliard
5530977fdb inetmib1: Check for failure of the iphlpapi functions instead of blindly trusting them. 2008-07-22 19:48:45 +02:00
Alexandre Julliard
70a9d70ba5 user32/tests: Make sure the bitmap info passed to CreateDIBSection contains a valid color table. 2008-07-22 17:56:12 +02:00
Alexandre Julliard
406f5b2545 user32: Fix MapWindowPoints behavior in the process that owns the desktop window. 2008-07-22 15:31:04 +02:00
Aric Stewart
75d44fe46d mlang: A very basic implementation of the IMLangLineBreakConsole interface and IMLangString interface. 2008-07-22 15:26:53 +02:00
Alexander Nicolaysen Sørnes
0b728a0bb0 dpnet: Register DirectPlay8ThreadPool object. 2008-07-22 15:26:07 +02:00
Gerald Pfeifer
ec351ad16f comctl32: datetime: Simplify by shedding off unused parameters. 2008-07-22 15:25:25 +02:00
Gerald Pfeifer
61de0f4118 avifil32: Make size parameter of AVIFILE_ReadBlock DWORD instead of LONG. 2008-07-22 15:25:13 +02:00
Nikolay Sivov
48e914b519 gdiplus: Implement GdipGetPathGradientBlend with basic tests. 2008-07-22 15:24:38 +02:00
Nikolay Sivov
01abb3d1dc gdiplus: implemeted GdipGetPathGradientBlendCount with test. 2008-07-22 15:24:29 +02:00
Owen Rudge
5e3786f8da shell32: Use wide functions when creating control panel. 2008-07-22 15:21:17 +02:00
Owen Rudge
4ae7a87e74 shell32: Remove "no control panels" found message. 2008-07-22 15:20:54 +02:00
Alexander Dorofeyev
e2ff077697 ddraw: Improve IDirect3DDevice7_Load implementation.
Copies palette and colorkey earlier in the helper function, before
copying image, also skips UpdateSurface when palette is missing. This
prevents unnecessary surface (re)loads in wined3d, and gets rid of
some wined3d palette error messages in Sacrifice.
2008-07-22 15:20:33 +02:00
Mikołaj Zalewski
60a1e20ba8 comctl32: Don't print ERRs for reflected messages. 2008-07-22 13:25:08 +02:00
Mikołaj Zalewski
f240b8f49e comctl32: statusbar: Change the height expression to one that seems to be the same as in Windows. 2008-07-22 13:24:43 +02:00
Dan Hipschman
20a1ca2bbf ntdll: Implement [Rtl]Create/DeleteTimerQueue[Ex]. 2008-07-22 13:24:21 +02:00
Dan Hipschman
09f4ca64e2 kernel32/tests: Check that timers are not NULL in timer queue tests. 2008-07-22 13:21:48 +02:00
Dan Hipschman
bf0f78b11a kernel32/tests: Add tests for Change/DeleteTimerQueueTimer. 2008-07-22 13:21:29 +02:00
Detlef Riekenberg
f8dea7ab2d kernel32/tests: Run the tests again on Win9x. 2008-07-22 13:21:12 +02:00
Dan Hipschman
ecd76fb77c kernel32: Add a stub for ChangeTimerQueueTimer. 2008-07-22 13:21:01 +02:00
Reece Dunn
115b7492be user32: Fixed building the tests with the Vista SDK. 2008-07-22 13:20:27 +02:00
Maarten Lankhorst
3376ba6113 quartz: Fix end of stream handling in avi splitter.
The last frame wouldn't always be sent, this fixes that.
2008-07-22 13:11:22 +02:00
James Hawkins
396eea6006 msi: Determine the source path based on the short/long file names bit of the Word Count summary property. 2008-07-22 13:10:56 +02:00
James Hawkins
ede4a3b598 msi: Set all folders' source paths to the root directory if the source type is compressed. 2008-07-22 13:10:45 +02:00
James Hawkins
7538f9ac19 msi: Use the newly added defines from the msidbSumInfoSourceType enumeration. 2008-07-22 13:10:38 +02:00
James Hawkins
36f282b0b1 msi: Test mixing short and long source paths when installing a file. 2008-07-22 13:10:31 +02:00
James Hawkins
64a9e0f750 msi: msidbFileAttributesVital has no effect on the installation of files. 2008-07-22 13:10:21 +02:00
James Hawkins
4e467ad729 msi: Halt the installation with an error if a source file is missing. 2008-07-22 13:10:12 +02:00
James Hawkins
27ce47a263 msi: Test getting the source path from a package with short file names. 2008-07-22 13:10:00 +02:00
James Hawkins
e806a285ef msi: Test getting the source path from a package with compressed files. 2008-07-22 13:09:51 +02:00
James Hawkins
45f9cb4d62 msi: Add more tests for MsiGetSourcePath. 2008-07-22 13:09:44 +02:00
Lei Zhang
ee60c49dd6 ntdll: Use our own implementation of atoi and atol. 2008-07-22 13:09:28 +02:00
Reece Dunn
960ae6fedb setupapi/tests: Use FIELD_OFFSET instead of offsetof. 2008-07-22 13:09:20 +02:00
Lei Zhang
c7ce692d13 ole32: Silence FIXME from CoGetContextToken stub. 2008-07-22 13:03:18 +02:00
Alex Villacís Lasso
43cf3b80af richedit: Shorten EM_AUTOURLDETECT tests.
EM_AUTOURLDETECT tests are taking too much time, so this patch tests
just one URL and one non-URL for all messages but WM_SETTEXT. Also,
remove one trace that spams the output needlessly.
2008-07-22 13:01:57 +02:00
Stefan Dösinger
eea2c95727 wined3d: Move set_tex_op(_nvrc) to their specific files. 2008-07-22 13:01:45 +02:00
Stefan Dösinger
212ff6ff57 wined3d: Remove some #ifdefs. 2008-07-22 13:01:22 +02:00
Stefan Dösinger
bfd1ac26e2 wined3d: Set WINED3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET. 2008-07-22 13:01:15 +02:00
Stefan Dösinger
448fee2879 wined3d: Whitespace fix. 2008-07-22 13:01:07 +02:00
Stefan Dösinger
d66c05ce1d wined3d: Fix a copy and paste bug.
This happened to work because most cards have the same amount of
pshader and vshader constants, but for some reason this doesn't hold
true on this macbook pro here, which lead to a crash due to heap
corruption
2008-07-22 13:00:58 +02:00
Stefan Dösinger
1219e3d4a7 wined3d: Use less strict pixel format matching if the match fails.
Some drivers(the open source ones most notably) cannot satisfy all
possible D3D formats. This doesn't mean we should fall back to the
emergency fallback instantly. Instead, try to loosen the requirements
step by step.
2008-07-22 13:00:47 +02:00
Huw Davies
80fe2faeb6 user32: Don't send the menu clicks if we can't retrieve the item rect. 2008-07-22 12:31:11 +02:00
Lei Zhang
7a27f8b665 gdiplus: Add tests for passing negative strides to GdipCreateBitmapFromScan0. 2008-07-21 15:26:23 +02:00
Roy Shea
4f392cea55 mstask: TaskScheduler stub with AddRef, QueryInterface, and Release. 2008-07-21 15:26:19 +02:00
Roy Shea
21fd0a0460 mstask: Generate C file with GUID definitions from mstask.idl. 2008-07-21 15:16:23 +02:00
Gerald Pfeifer
971a1e66f4 d3d9: Fix type of loop variable in stream_test() and texop_test(). 2008-07-21 15:06:35 +02:00
Gerald Pfeifer
f3a031f248 comctl32: Fix type of loop variable in HEADER_DeleteItem. 2008-07-21 15:06:05 +02:00
Gerald Pfeifer
9500e70def comctl32: header: Simplify by shedding off unused parameters. 2008-07-21 15:05:47 +02:00
Huw Davies
94a20f8b7e gdiplus: Remove incorrect test. 2008-07-21 15:05:05 +02:00
Huw Davies
bce23d7edb user32: Don't access pConv after it's been freed. 2008-07-21 15:05:01 +02:00
Alexandre Julliard
9c29dbd987 Avoid exporting common symbols since that's broken on Mac OS X. 2008-07-21 14:47:55 +02:00
Detlef Riekenberg
b4f2c50687 oleaut32/tests: Run more typelib tests on win9x. 2008-07-21 14:45:48 +02:00
Detlef Riekenberg
c81b2b2c74 oleaut32/tests: Fix tmarshal tests on win9x. 2008-07-21 14:45:45 +02:00
Reece Dunn
a7794bcb50 comctl32: Fixed the MRU tests on Vista. 2008-07-21 14:45:40 +02:00
Reece Dunn
de08ba8332 shell32/tests: Vista returns E_INVALIDARG if the path sent to SetPath is invalid. 2008-07-21 14:45:01 +02:00
Reece Dunn
4140801e2d oleaut32: Fix the vartype tests on Vista. 2008-07-21 14:44:53 +02:00
Reece Dunn
811a809b0a shell32: Make the tests build with the Vista SDK. 2008-07-21 14:44:43 +02:00
Reece Dunn
29c66b3a9e shell32: Do not use a fixed path in the shelllink tests. 2008-07-21 14:44:33 +02:00
Reece Dunn
0feda920ba uxtheme/tests: Use HRESULT_FROM_WIN32 to check the error codes, not LOWORD. 2008-07-21 14:44:27 +02:00
Mathias Kosch
9a7dc15979 advapi32: Fix RegGetValue when dwFlags includes RRF_RT_ANY. 2008-07-21 14:37:54 +02:00
Detlef Riekenberg
07eeb4e406 crypt32/tests: Make the msg tests usable on win9x (avoid crash). 2008-07-21 14:37:22 +02:00
Lei Zhang
ce552d4451 gdi32: CreateDIBitmap should check for SetDIBits failure. 2008-07-21 14:36:55 +02:00
Lei Zhang
e031ef4807 winex11: X11DRV_DIB_[GS]etImageBits should return 0 on failure. 2008-07-21 14:36:48 +02:00
Lei Zhang
4fe68a9e1e oleaut32: Check return values in several functions. 2008-07-21 14:36:39 +02:00
Vincent Povirk
a0249babcd ole32: Always return false when asked if NULL is the current clipboard. 2008-07-21 14:36:29 +02:00
Vincent Povirk
38c5185d2e ole32: Add tests for OleIsCurrentClipboard(NULL). 2008-07-21 14:36:21 +02:00
Maarten Lankhorst
271ee48301 quartz: Fix bugs that occur during connection. 2008-07-21 14:36:14 +02:00
Maarten Lankhorst
0f9356eb16 quartz: Fix handling of zero byte samples and endofstreams. 2008-07-21 14:36:04 +02:00
Kirill K. Smirnov
de3afabf08 shell32: Avoid usage of undefined xdg_results variable, since XDG_UserDirLookup() always corrupts it. 2008-07-21 14:35:56 +02:00
Dmitry Timoshkov
02631adc8a Revert "gdi32: Reselect objects into the DC only if scaling factors change.".
This reverts commit 3cbd9639da.
2008-07-21 13:00:48 +02:00
Dmitry Timoshkov
7976d993f5 gdi32: Relax the gm.gmCellIncX comparison. 2008-07-21 13:00:42 +02:00
Francois Gouget
bc5ce27947 Assorted spelling fixes. 2008-07-21 13:00:01 +02:00
Francois Gouget
32974e25a2 wintrust/tests: Fix compilation on systems that don't support nameless unions. 2008-07-21 12:57:42 +02:00
Luis Busquets
e42d932c85 d3dx9: Add a test for D3DXGetShaderVersion(). 2008-07-21 12:57:36 +02:00
Luis Busquets
fb70f818b7 d3dx9: Implement D3DXGetShaderVersion(). 2008-07-21 12:57:24 +02:00
Piotr Caban
0a8b284010 msxml3/tests: Added test for ISAXXMLReader_parse with SafeArray as argument. 2008-07-21 12:57:09 +02:00
Piotr Caban
75681ef314 msxml3: Added support for SafeArrays in ISAXXMLReader_parse. 2008-07-21 12:57:02 +02:00
Piotr Caban
bba7eb5825 msxml3: Add error handling. 2008-07-21 12:56:52 +02:00
Piotr Caban
918a46ce2c msxml3/tests: Added tests for ISAXXMLReader_putErrorHandler and ISAXXMLReader_getErrorHandler. 2008-07-21 12:56:44 +02:00
Piotr Caban
2cb215b51f msxml3: Do not invoke ISAXXMLReader_endDocument when parser was stopped. 2008-07-21 12:56:37 +02:00
Hans Leidekker
216d4c0834 wininet: Fix cookie buffer overflow.
Spotted by Yann Droneaud.
2008-07-21 12:22:05 +02:00
Hans Leidekker
572b0bab88 wininet: Move insertion of cookie header from HttpOpenRequest to HttpSendRequest.
Based on a patch by Yann Droneaud.
2008-07-21 12:21:58 +02:00
Hans Leidekker
b311cca552 wininet: Delete local file on error in FtpGetFile. 2008-07-21 12:21:40 +02:00
Hans Leidekker
a5c6455193 wininet: Make another test pass on IE6. 2008-07-21 12:21:33 +02:00
Hans Leidekker
e3e2622e41 wininet: Fix a memory leak. 2008-07-21 12:21:27 +02:00
Hans Leidekker
da5e4f16d8 setupapi: Fix two memory leaks in the test. 2008-07-21 12:21:20 +02:00
Hans Leidekker
42506c94f2 cabinet: Fix a memory leak. 2008-07-21 12:21:17 +02:00
Hans Leidekker
b72d636062 snmpapi: Fix a memory leak in the test. 2008-07-21 12:21:14 +02:00
Hans Leidekker
73d0e7fda3 dnsapi: Fix a number of memory leaks. 2008-07-21 12:21:11 +02:00
Jacek Caban
97e5728d7a hhctrl.ocx: Fixed ref count handling in IOleClientSiteImpl. 2008-07-21 12:21:04 +02:00
Jacek Caban
9f5748e6b4 wininet: Move remeining InternetQueryOption implementation to vtbl. 2008-07-21 12:19:12 +02:00
Jacek Caban
46f2628448 wininet: Moved InternetQueryOption(INTERNET_OPTION_PROXY) implementation to vtbl. 2008-07-21 12:18:57 +02:00
Jacek Caban
7426e7e055 wininet: Moved more InternetQueryOption implementation to vtbl. 2008-07-21 12:18:48 +02:00
Jacek Caban
13a95f1648 wininet: Move InternetQueryOption(INTERNET_OPTION_USER_AGENT) to vtbl. 2008-07-21 12:18:41 +02:00
Andrew Talbot
a7d06e7430 advpack: Fix sign-compare warnings. 2008-07-21 12:18:34 +02:00
Andrew Talbot
c230736bbe advpack: Remove a useless test. 2008-07-21 12:18:28 +02:00
Mikołaj Zalewski
9907387b7e oleaut32: Use custom file version in VERSIONINFO. 2008-07-21 12:18:21 +02:00
Mikołaj Zalewski
e016078fdf comctl32: Fix the file version string declaration. 2008-07-21 12:18:18 +02:00
Huw Davies
5798b95a51 winmm: Only fill in the MIXERLINEA struct if the call to mixerGetLineInfoW succeeds. 2008-07-18 13:41:19 +02:00
Zac Brown
b2be840e47 winhttp/tests: Add test for opening request. 2008-07-18 12:48:47 +02:00
Stefan Leichter
67201a145f rasapi32: RasEnumDevicesA test: initialize the input parameters before each call, make sure the return buffer is big enough. 2008-07-18 12:30:45 +02:00
Daniel Santos
b54b282a4f ws2_32: WSASendTo() should clear last error on success. 2008-07-18 12:30:31 +02:00
Stefan Dösinger
cafec08516 wined3d: Use the nofilter mipmap lookup for np2 textures.
This is cleaner than the if statements in the code. Also np2 textures
should in theory support linear filtering, but fglrx doesn't seem to
like it. This needs further investigation. So far we've never used
linear filtering on np2 textures, so there should not be a
regression. Furthermore I think shader support is more important than
filtering, since NP2 textures are mostly used for 1:1 copying to the
screen.
2008-07-18 11:41:21 +02:00
Stefan Dösinger
c088edeae7 wined3d: Use GL_ARB_texture_non_power_of_two emulation.
ATI cards prior to the radeon HD series did not have unconditional non
power of two support. So far we've used texture_rectangle for that, or
created a bigger power of two texture with padding. This had the
disadvantage that we had to correct the coordinates, which causes
extreme problems with shaders(doesn't work, pretty much).

Both the MacOS and the fglrx driver have support for
GL_ARB_texture_non_power_of_two, and run it on the hardware as long as
we stay within the texture_rectangle limitations. This allows us to
have conditional non power of two textures with normalized
coordinates. This patch adds an internal extension, and the code
creates a regular GL_TEXTURE_2D texture with NP2 size, but refuses
mipmapping, filtering and texture_rectangle incompatible
operations. This makes np2 textures work with shaders on fglrx and
macos.
2008-07-18 11:41:09 +02:00
Stefan Dösinger
a0cc79f0bf wined3d: Correct the D3DTOP_LERP parameter order. 2008-07-18 11:40:40 +02:00
Stefan Dösinger
5b846adffd wined3d: Fix the MULTIPLYADD parameter orders in atifs. 2008-07-18 11:40:33 +02:00
Stefan Dösinger
3a224fe289 d3d9: Unset the vertex shader in the compare_instructions test. 2008-07-18 11:40:26 +02:00
Stefan Dösinger
55ab14a4ed wined3d: Move an VBO support check to the state template. 2008-07-18 11:40:19 +02:00
Stefan Dösinger
dc203d36c9 wined3d: Remove more dead code.
The opengl extension mentioned in that code was never finished, and as
far as I know there is no way to make use of tangent data in the d3d
fixed function pipeline as well.
2008-07-18 11:40:12 +02:00
Stefan Dösinger
e5f42f91b6 wined3d: Remove GL_EXT_vertex_weighting stubs. 2008-07-18 11:40:00 +02:00
Stefan Dösinger
ebc77732c1 wined3d: Move the vertexblend support check to the template. 2008-07-18 11:39:44 +02:00
Stefan Dösinger
f981afd7d3 wined3d: Check for ATI_ENVMAP_BUMPMAP in the template.
Note that GL_ATI_envmap_bumpmap is not the same as
GL_ATI_fragment_shader. envmap_bumpmap is used together with the
regular opengl ffp pipeline and is not used (other than for
pixelformats) if GL_ATI_fragment_shader is used.
2008-07-18 11:39:38 +02:00
Stefan Dösinger
8bb11dad76 wined3d: Only register the np2 texture fixup if needed. 2008-07-18 11:39:18 +02:00
Dylan Smith
e86a1d623a richedit: Fixed regression that caused endless loop. 2008-07-18 11:32:38 +02:00
Mathias Kosch
f296f27e96 winex11: Fix typo in X11DRV_SetDIBits optimization. 2008-07-18 11:32:28 +02:00
James Hawkins
978a931781 kernel32: Don't get the profile string if the buffer length is zero. 2008-07-18 11:31:59 +02:00
Alexandre Julliard
97429b32f8 dbghelp: Always initialize section pointer in ImageDirectoryEntryToDataEx. 2008-07-18 11:16:02 +02:00
James Hawkins
4cacdc7dba msi: Initialize the update function pointer when creating the control. 2008-07-18 11:15:38 +02:00
Alexander Dorofeyev
bca80e1a64 quartz: Fix interface leak in FilterGraph2_Render. 2008-07-18 11:15:30 +02:00
Alexander Dorofeyev
1656f6b7cc quartz: Add missing VariantClear after GetFilterInfo calls. 2008-07-18 11:15:24 +02:00
Alexander Dorofeyev
1cd83afda3 quartz: Fix variant handling in GetFilterInfo.
Removes unnecessary and unsafe type assignment, adds a missing VariantClear.
2008-07-18 11:15:17 +02:00
Alexander Dorofeyev
7c5a4481b1 quartz/tests: Fix interface leaks in filtergraph test. 2008-07-18 11:15:08 +02:00
Alexander Dorofeyev
6645999337 quartz: Fix interface leak in FilterGraph2_RemoveFilter. 2008-07-18 11:15:01 +02:00
Alexander Dorofeyev
4afad0a413 quartz/tests: Fix interface leaks in aggregation test. 2008-07-18 11:14:52 +02:00
Alexander Dorofeyev
33c6eeb9e3 quartz/tests: Add filtermapper aggregation tests. 2008-07-18 11:13:33 +02:00
Alexander Dorofeyev
4bc76025ba quartz/tests: Test querying IFilterMapper2 from FilterGraph. 2008-07-18 11:13:24 +02:00
Alexander Dorofeyev
0bea470dfc quartz: Aggregate filtermapper in filtergraph. 2008-07-18 11:13:14 +02:00
Alexander Dorofeyev
d39ee67019 quartz: Make Filtermapper aggregatable. 2008-07-18 11:12:16 +02:00
Zac Brown
38f6dbc55a ntdll: Remove byte reversed U+3000 (CJK space) from being checked in RtlIsTextUnicode. 2008-07-18 11:12:07 +02:00
Michael Stefaniuc
5330f7171d msxml3: Remove redundant NULL check before HeapFree (Smatch). 2008-07-18 11:12:00 +02:00
H. Verbeet
c876c929a2 d3d9: Correct some shader comments. 2008-07-18 11:11:53 +02:00
H. Verbeet
0bebad66f7 d3d9: Replace color_near() with color_match(). 2008-07-18 11:11:49 +02:00
Alexandre Julliard
b4bc3f26a0 icmp: The import library is not needed. 2008-07-18 11:11:29 +02:00
Juan Lang
8c4953f05a iphlpapi: Partially implement IcmpSendEcho2 using IcmpSendEcho. 2008-07-18 11:10:57 +02:00
Juan Lang
65549c5e58 iphlpapi: Move Icmp* functions from icmp to iphlpapi. 2008-07-18 11:10:44 +02:00
Huw Davies
5aa90f375c gdiplus: Skip some tests if certain fonts are not installed. 2008-07-18 11:05:41 +02:00
Huw Davies
bf89330d14 user32: Don't read past the end of a global memory block. 2008-07-18 11:05:37 +02:00
Lei Zhang
b3f4091b47 user32: Clamp newly created windows to the minimum window size. 2008-07-17 13:31:40 +02:00
Lei Zhang
ffd66dc6ab user32: Add a test for SetWindowPos. 2008-07-17 13:31:39 +02:00
Dan Hipschman
fc325c7674 kernel32/tests: Add tests for timer queues. 2008-07-17 13:15:29 +02:00
Gal Topper
a675c0168d comdlg32: PrintDlgEx: Add support for RETURNDEFAULT. 2008-07-17 13:06:25 +02:00
Gal Topper
ef397a5607 comdlg32: PrintDlgEx: Change scope of strings for later reuse. 2008-07-17 13:05:32 +02:00
Piotr Caban
1547a9de47 msxml3/tests: Added more tests for ISAXXMLReader_parse and ISAXLocator. 2008-07-17 13:03:51 +02:00
Piotr Caban
3196f7801c msxml3: Added ISAXLocator_getSystemId. 2008-07-17 13:03:26 +02:00
Piotr Caban
60ca0a7b53 msxml3: Added ISAXLocator_getPublicId. 2008-07-17 13:03:20 +02:00
Piotr Caban
e47cbd1e5d msxml3: Added ISAXContentHandler_putDocumentLocator event. 2008-07-17 13:03:15 +02:00
Piotr Caban
40388631f8 msxml3: Added ISAXContentHandler_characters event. 2008-07-17 13:03:11 +02:00
Piotr Caban
669326344f msxml3: Added ISAXContentHandler_endElement event. 2008-07-17 13:03:04 +02:00
Piotr Caban
965a2ea5dd msxml3: Added ISAXContentHandler_startElement event. 2008-07-17 13:02:54 +02:00
Piotr Caban
c58b24b374 msxml3: Added ISAXContentHandler_endDocument event. 2008-07-17 13:02:46 +02:00
Piotr Caban
4cdcc02562 msxml3: Added ISAXLocator_getLineNumber and ISAXLocator_getColumnNumber partial implementation. 2008-07-17 13:02:39 +02:00
Piotr Caban
072383e05b msxml3: Added ISAXContentHandler_startDocument event. 2008-07-17 13:02:30 +02:00
Piotr Caban
51c952767c msxml3: Added partial implementation of ISAXXMLReader_parse. 2008-07-17 13:02:21 +02:00
Piotr Caban
d3e9ca7d0a msxml3: Added stub implementation of ISAXLocator. 2008-07-17 13:02:09 +02:00
Alexandre Julliard
17b436890b mstask: Add stubs for the duplicate stdcall entry points. 2008-07-17 13:01:40 +02:00
Aric Stewart
0d7d5ebf3b mlang: Stub implementation of IMLangFontLink2. 2008-07-17 12:30:00 +02:00
Aric Stewart
36a1ee762f mlang: Basic implementation of fnIMultiLanguage2_GetCodePageDescription. 2008-07-17 12:27:29 +02:00
Mikołaj Zalewski
9aee00e8fa comctl32: statusbar: WM_SETFONT should change the bar height. 2008-07-17 12:24:52 +02:00
Mikołaj Zalewski
f7cda904cd comctl32: statusbar: Don't issue a WM_PAINT during a WM_CREATE. 2008-07-17 12:24:45 +02:00
Stefan Dösinger
d247953687 wined3d: Test for multisampling in the template. 2008-07-17 11:45:00 +02:00
Stefan Dösinger
9c1b6581c6 wined3d: Move the point sprite support test into the template. 2008-07-17 11:44:54 +02:00
Stefan Dösinger
94e455343d wined3d: Split the psizemax state handler. 2008-07-17 11:44:48 +02:00
Stefan Dösinger
7740dda1da wined3d: Split the psizemin handler. 2008-07-17 11:44:42 +02:00
Stefan Dösinger
710b9a76b3 wined3d: Move the range fog support test to the template. 2008-07-17 11:44:34 +02:00
Stefan Dösinger
df4dcc34aa wined3d: Move a few extension checks into the state template. 2008-07-17 11:44:28 +02:00
Stefan Dösinger
3ee9de462e wined3d: Move an extension check into the state template. 2008-07-17 11:44:21 +02:00
Stefan Dösinger
ed49f9a848 wined3d: Coalesce the nvrc and nvts+nvrc state template. 2008-07-17 11:44:15 +02:00
Stefan Dösinger
35f33ef409 wined3d: Add extension information to the states.
This patch adds a new field to the state templates. If this extension
field is != 0, then the line is only applied to the final state table
if the extension is supported. Once a line is applied to the final
table, all further templates for this state from the same pipeline
part are ignored. This allows removing some extension checks from the
state handlers, which cleans them up and saves a few CPU cycles when
applying the states.
2008-07-17 11:44:08 +02:00
James Hawkins
3fb196fb57 kernel32: Return the default value if lpKeyName is empty. 2008-07-17 11:38:19 +02:00
James Hawkins
7e9df53f38 kernel32: Fix removing trailing spaces from lpDefault for GetPrivateProfileString. 2008-07-17 11:37:55 +02:00
James Hawkins
e5705eae84 kernel32: Add tests for GetPrivateProfileString. 2008-07-17 11:37:02 +02:00
James Hawkins
9dfd90fb98 fusion: The cases are tokens, not table indices. 2008-07-17 11:36:57 +02:00
H. Verbeet
f902b044d3 d3d9: Use color_match() in vshader_version_varying_test().
Also fixes the range on the test, 0x19 plus 1 equals 0x1a, and
0x003c0000 should've been 0x004c0000.
2008-07-17 11:36:51 +02:00
H. Verbeet
c72c70d609 wined3d: Store the texture in a local variable in sampler_texmatrix().
Slightly improves readability.
2008-07-17 11:36:42 +02:00
Juan Lang
5fff29cded crypt32: Reorganize root store creation code. 2008-07-17 11:36:31 +02:00
Jacek Caban
014b96ef15 msi: Added Session::Message implementation. 2008-07-17 11:36:22 +02:00
Alexander Dorofeyev
2be93ce6b0 ddraw/tests: Add tests for surface caps memory flags. 2008-07-17 11:21:48 +02:00
Alexander Dorofeyev
59fc5a75e0 ddraw: Force surfaces without memory flags to video memory on creation.
Also removes now redundant setting of vidmem flag on rendertargets, prevents 
adding vidmem flag when sysmem flag is present. Fixes missing textures in Forsaken.
2008-07-17 11:21:39 +02:00
Nikolay Sivov
3a1e2a304e gdiplus: Make GdipInvertMatrix test pass on native switching to matrix with determinant 16. 2008-07-17 11:21:13 +02:00
Nikolay Sivov
a53b9b95b8 gdiplus: Fix for GdipPathIterNextMarker to handle path without markers. Fix tests. 2008-07-17 11:20:45 +02:00
Nikolay Sivov
dcfbe58ef7 gdiplus: Fix GdipCreatePathIter to handle NULL as path. Fix tests. 2008-07-17 11:20:22 +02:00
Eric Pouech
6ef6f7167d richedit: Add an assert to point out what we're expecting. 2008-07-17 10:53:41 +02:00
Nikolay Sivov
d8a25fc26c gdiplus: Implemented GdipCreateBitmapFromResource. 2008-07-17 10:53:31 +02:00
Vincent Povirk
fd5b97bc4d wininet: Always respect Proxy-Connection: or Connection: if it exists. 2008-07-17 10:51:26 +02:00
Aric Stewart
11f09f3aa0 comctl32: rebar: Prevent unnecessary triggering of RBBIM_CHILDSIZE changes. 2008-07-17 10:51:18 +02:00
Aric Stewart
1c2ad72b47 comctl32: rebar: Record what changes and only redo the Layout if something of relevance changes. 2008-07-17 10:51:00 +02:00
Roy Shea
80ee225f23 mstask: Skeleton implementation of Task Scheduler Service. 2008-07-16 20:14:30 +02:00
Jon Griffiths
2da98052d9 mswsock: Implement 3 functions by calling through SIO_GET_EXTENSION_FUNCTION_POINTER. 2008-07-16 20:11:52 +02:00
Jon Griffiths
8e86162be5 msvcrt: Fix exponents in *printf family. 2008-07-16 20:10:28 +02:00
Gerald Pfeifer
a44771c925 ntdll/tests: Use NTSTATUS instead of DWORD for status variables. 2008-07-16 20:09:59 +02:00
Gerald Pfeifer
17f28f85d8 comctl32: rebar: Simplify by shedding off unused parameters. 2008-07-16 20:09:21 +02:00
James Hawkins
2a51df3b7a fusion: Handle DWORD-sized string indices when loading the assembly name. 2008-07-16 19:56:25 +02:00
James Hawkins
0edab123aa fusion: Add handling for alternate-sized table indices in the metadata. 2008-07-16 19:56:25 +02:00
James Hawkins
b2888e1e56 fusion: Add the CorTokenType and use those constants in the assembly code. 2008-07-16 19:56:25 +02:00
James Hawkins
8f985a338a fusion: The VersionLength member is not constant, so dynamically load the metadata header. 2008-07-16 19:56:25 +02:00
James Hawkins
378fde9acf fusion: Load the table row numbers before calculating the table offsets. 2008-07-16 19:56:24 +02:00
James Hawkins
8a7b76fefa fusion: Allow parsing the blob stream without a #. 2008-07-16 19:56:24 +02:00
Zhangrong Huang
c4ac69b755 msxml3: Add support for accessing CDATASection node. 2008-07-16 19:56:24 +02:00
Zhangrong Huang
89f1bfabe3 msxml3: Add support for accessing document node. 2008-07-16 19:56:24 +02:00
Mikołaj Zalewski
1e43f207cd comctl32: statusbar: WM_CREATE should not resize the window - it should happen in WM_SIZE. 2008-07-16 19:56:24 +02:00
Mikołaj Zalewski
0cb74db992 comctl32: statusbar: Rename NtfUnicode to bUnicode to make is more consistent with other controls, use NF_REQUERY in WM_CREATE. 2008-07-16 19:56:24 +02:00
Mikołaj Zalewski
7f97372a89 comctl32: statusbar: Window is always Unicode, CCM_SETUNICODEFORMAT should change the notify format. 2008-07-16 19:56:24 +02:00
Philip Nilsson
9528b1c63e wined3d: Enable filtering for D3DFMT_A4R4G4B4.
This patch enables texture filtering for textures using the A4R4G4B4
format, I can see no reason why it shouldn't be filtered (especially
considering X4R4G4B4 has it).
2008-07-16 19:56:24 +02:00
Dylan Smith
97d56caafe richedit: Fixed regression caused by destroying the caret.
The regression was caused by destroying the caret when it didn't need to
be shown in the richedit control, but this affected other controls.
2008-07-16 19:56:24 +02:00
Luis Busquets
9e2b04893c d3dx9: Add a test for D3DXGetShaderSize(). 2008-07-16 19:56:24 +02:00
Luis Busquets
9a93a49174 d3dx9: Implement D3DXGetShaderSize(). 2008-07-16 19:56:19 +02:00
Maarten Lankhorst
5299795a8d quartz: Fix wrong assignment of variable in parser. 2008-07-16 17:58:30 +02:00
Dan Hipschman
c70e6125bf kernel32/tests: Fix p_BindIoCompletionCallback declaration so it compiles with the MS compiler. 2008-07-16 17:54:59 +02:00
Rob Shearman
8af1dba5a9 rpcrt4: Fix the memory pointer passed into the conformant array marshaller in NdrComplexStructMarshall.
It needs to be the end of the memory used by the constant part of the
structure, which is returned by CompkexStructMarshall.
2008-07-16 17:54:48 +02:00
H. Verbeet
7f741f0414 wined3d: Use rev_tex_unit_map instead of assuming there's a 1:1 mapping between samplers and texture units. 2008-07-16 17:54:41 +02:00
H. Verbeet
be405c71c0 wined3d: Improve some shader traces.
Make it clear the traced values are hexadecimal.
2008-07-16 17:54:23 +02:00
Frans Kool
2860f48675 shell32: Fixed Dutch translations. 2008-07-16 17:53:37 +02:00
Juan Lang
88ac766f8b wintrust: Correct error slot for SoftpubLoadSignature. 2008-07-16 17:53:32 +02:00
Juan Lang
b871679922 wintrust: Execute WinVerifyTrust as a sequence of steps, and return the error code from the first failing step of the sequence. 2008-07-16 17:53:18 +02:00
Juan Lang
a3e601ecf0 wintrust: Add tests for WinVerifyTrust/WinVerifyTrustEx. 2008-07-16 17:53:07 +02:00
Juan Lang
1da4a29050 wintrust: Move provider function tests to their own function. 2008-07-16 17:52:45 +02:00
Kai Blin
84935f5ce0 secur32: Fix GetComputerObjectName tests for domain members.
At least for XP domain members, all EXTENDED_NAME_FORMATS apart from
NameSamCompatible return ERROR_ACCESS_DENIED. Given that the function
returns an error for all formats on non-members, just ignore
ERROR_ACCESS_DENIED as well.
2008-07-16 17:52:40 +02:00
Maarten Lankhorst
3ad7198961 quartz: Explicitly handle wave headers in avi splitter. 2008-07-16 17:52:31 +02:00
Maarten Lankhorst
f53f5ebd81 winemp3: Be more tolerant to what a valid mp3 header is. 2008-07-16 17:52:25 +02:00
Andrew Talbot
7f80d8e0c9 shell32: Remove unneeded address-of operators from array names. 2008-07-16 17:52:14 +02:00
Francois Gouget
6dd7f060a2 msxml3: Fix compilation on systems that don't support nameless unions. 2008-07-14 12:29:53 +02:00
Rob Shearman
7551b82cca rpcrt4: Implement RpcCancelThreadEx.
Implement RpcCancelThreadEx using existing code moved into a new
function, rpc_ccancel_thread.

Implement RpcCancelThread based on RpcCancelThreadEx with timeout of 0.
2008-07-14 12:29:46 +02:00
Piotr Caban
4799f06f20 msxml3: Fixed typo in create_bsc. 2008-07-14 12:27:55 +02:00
Dylan Smith
e3efa88c45 richedit: Cannot undo setting of default character format.
This also reverts commit 2b52dd8450:
wordpad: Empty the richedit undo buffer on creation.

The reverted commit I created to fix an issue that only applied to Wine,
but it just masked the issue which was in richedit controls.  The
default character format was set in two places while wordpad was
starting up, and caused wordpad to have two undo items at startup.
2008-07-14 12:22:44 +02:00
Dylan Smith
43ad427a15 richedit: Enforce the maximum font size.
Trying to set the font size to a value larger than 1638
in points (yHeightCharPtsMost) using EM_SETCHARFORMAT will cause it to be
set to actually set to the maximum.
2008-07-14 12:22:13 +02:00
Aurimas Fischer
88c25518d5 richedit: Spelling fixes. 2008-07-14 12:21:55 +02:00
Maarten Lankhorst
28d6203ca9 quartz: Fix reference leak in avi splitter on end of stream. 2008-07-14 12:21:40 +02:00
Maarten Lankhorst
0e9704b02d quartz: Only allocate 1 buffer in transform filter. 2008-07-14 12:21:33 +02:00
Maarten Lankhorst
cf1d2f5e42 quartz: Fix memory and sample leaks. 2008-07-14 12:21:26 +02:00
Maarten Lankhorst
36418d8ad1 quartz: Fix incorrect use of mtCurrent in transform filter. 2008-07-14 12:21:10 +02:00
James Hawkins
b04ae273de comctl32: Free the trackbar tics. 2008-07-14 11:51:13 +02:00
James Hawkins
83004cdd1e comctl32: Explicity set the number of tics before testing tic placement. 2008-07-14 11:51:07 +02:00
Andrew Talbot
a42a61eee1 ws2_32: Remove unneeded address-of operators from array names. 2008-07-14 11:50:48 +02:00
Andrew Talbot
015321910d wintrust: Remove unneeded address-of operators from array names. 2008-07-14 11:50:45 +02:00
Andrew Talbot
6a26bccb8e wininet: Remove unneeded address-of operators from array names. 2008-07-14 11:50:41 +02:00
Andrew Talbot
9b5d26ed8b winex11.drv: Remove unneeded address-of operators from array names. 2008-07-14 11:50:37 +02:00
Andrew Talbot
1fd750cf31 winejoystick.drv: Remove unneeded address-of operator from array name. 2008-07-14 11:50:33 +02:00
Andrew Talbot
9c6b1fee38 winedos: Remove unneeded address-of operators from array names. 2008-07-14 11:50:25 +02:00
Andrew Talbot
0064976d54 wined3d: Remove unneeded address-of operators from array names. 2008-07-14 11:50:22 +02:00
Andrew Talbot
afc95d4ac3 user32: Remove unneeded address-of operators from array names. 2008-07-14 11:50:19 +02:00
Andrew Talbot
dd0a22420a shlwapi: Remove unneeded address-of operator from array name. 2008-07-14 11:50:15 +02:00
Andrew Talbot
ce2184e2f1 setupapi: Remove unneeded address-of operator from array name. 2008-07-14 11:50:12 +02:00
Andrew Talbot
ab6efdd1e4 rpcrt4: Remove unneeded address-of operator from array name. 2008-07-14 11:50:08 +02:00
Jacek Caban
1c1f8e206f mshtml: Added IHTMLElement2::getElementsByTagName tests. 2008-07-14 11:48:54 +02:00
Jacek Caban
952a54cbd9 mshtml: Added IHTMLElement2::getElementsByTagName implementation. 2008-07-14 11:48:48 +02:00
Jacek Caban
1de0055cc0 mshtml: Allow timers to be cleaned during processing. 2008-07-14 11:48:41 +02:00
Alexandre Julliard
8e8d63933b msxml3: Fix compile without xml headers. 2008-07-14 11:48:37 +02:00
Rob Shearman
09f343b135 rpcrt4: Ignore the return value of functions when unmarshalling a pickled procedure. 2008-07-14 11:48:25 +02:00
Rob Shearman
2b0ad6e6e7 rpcrt4: Implement MesDecodeBufferHandleCreate and MesEncodeFixedBufferHandleCreate. 2008-07-14 11:48:16 +02:00