Commit Graph

34934 Commits

Author SHA1 Message Date
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