Commit Graph

22881 Commits

Author SHA1 Message Date
Eric Pouech fa9be99568 dbghelp: MiniDumpWriteDump called from exception handler.
- MiniDumpWriteDump was unable to provide stack information for the current
  thread, hence did produce unusable minidump when a programs generates the
  minidump from its own exception handler.
- We now support this if the current thread calls MiniDumpWriteDump from an
  exception handler and provides the exception information.
2007-02-20 20:31:01 +01:00
Francois Gouget 93494f2ac0 Assorted spelling fixes. 2007-02-20 20:30:51 +01:00
Francois Gouget eb2bf541f2 wininet/tests: Tell the user which ftp server we're using for the tests so he can try to connect to it manually in case of trouble. 2007-02-20 20:29:51 +01:00
Francois Gouget f410bbf098 wininet/tests: Dynamically load some functions so the test runs on Windows 98. 2007-02-20 20:29:46 +01:00
Francois Gouget da64fe5d56 wininet: Move a bunch of misplaced API documentation. 2007-02-20 20:29:38 +01:00
Francois Gouget f5c6a71a65 ole32: Better match the PSDK types and fix the winapi_check warnings. 2007-02-20 20:29:10 +01:00
Hans Leidekker 7a039ebbf1 setupapi: Always return an empty list from SetupDiGetClassDevs. 2007-02-20 20:27:13 +01:00
Hans Leidekker 939e8e4ce2 setupapi: Implement SetupCopyOEMInf{A,W}. 2007-02-20 20:27:09 +01:00
Hans Leidekker 0e59ff2592 userenv: Implement ExpandEnvironmentStringsForUser{A,W}. 2007-02-20 20:23:58 +01:00
Rob Shearman e79b8b8fcd oleaut32: Re-arrange the position of functions and vtables in olefont.c to avoid forward-declarations. 2007-02-20 20:23:30 +01:00
Rob Shearman 4c40b3974c oleaut32: Fix IFont::AddRefHFont and IFont::ReleaseRefHFont.
The tests show that there is a global cache that keeps references to 
HFONTs that is released when all IFont objects are released.
(Based on a patch by Benjamin Arai.)
2007-02-20 20:23:24 +01:00
Christian Costa 0b43e9b552 winealsa: Recognize alsa application ports as generic midi ports. 2007-02-20 20:11:09 +01:00
Thomas Weidenmueller 254b97732b comctl32: Implement LM_GETIDEALSIZE for the syslink control. 2007-02-20 20:10:53 +01:00
Dmitry Timoshkov 8c5d169a20 user32: Add a test for DefDlgProc(WM_SETFOCUS), make the test pass under Wine. 2007-02-20 12:24:09 +01:00
Dmitry Timoshkov 14478b8ba2 gdi32: Move get_glyph_indices near its caller test_font_charset. 2007-02-20 12:24:00 +01:00
Chris Robinson 4284c504ab quartz: Initialize a pointer to NULL for the case of no enumerated filters. 2007-02-20 12:02:15 +01:00
Chris Robinson 7d597264dc quartz: Add IMediaPosition interface and stubs. 2007-02-20 12:01:54 +01:00
Chris Robinson 31407d2659 quartz: Better handle error conditions when connections fail. 2007-02-20 12:01:33 +01:00
Detlef Riekenberg d364b0e7f8 localspl/tests: Add tests for XcvDataPort_ConfigureLPTPortCommandOK. 2007-02-20 12:01:15 +01:00
Detlef Riekenberg 00cee045c0 localspl: Implement ConfigureLPTPortCommandOK for XcvDataPort. 2007-02-20 12:00:55 +01:00
Detlef Riekenberg 27b34d84d8 localspl/tests: Add tests for XcvDataPort_GetTransmissionRetryTimeout. 2007-02-20 12:00:50 +01:00
Detlef Riekenberg 339a556efc localspl: Implement GetTransmissionRetryTimeout for XcvDataPort. 2007-02-20 11:52:51 +01:00
Andrew Talbot b8e73ace1c msvfw32: Constify a variable. 2007-02-20 11:52:13 +01:00
Andrew Talbot 01e338805c netapi32: Constify a variable. 2007-02-20 11:51:45 +01:00
Stefan Dösinger a9d681c3ad wined3d: With FVFs only one stream is used. 2007-02-20 11:50:26 +01:00
Stefan Dösinger 59ae2a56fb wined3d: Use VBOs for index buffers. 2007-02-20 11:50:10 +01:00
Stefan Dösinger ecfd4cb0e4 wined3d: Move the scissor rectangle to the state table. 2007-02-20 11:49:53 +01:00
Stefan Dösinger bbcf98209c wined3d: No bounds checking is done on sampler / texture numbers. 2007-02-20 11:49:42 +01:00
Stefan Dösinger 1f1d0cda22 wined3d: Misc comment updates. 2007-02-20 11:47:57 +01:00
Stefan Dösinger 27113156d9 wined3d: Remove IWineD3DDevice::EnumDisplayModes. 2007-02-20 11:47:46 +01:00
Stefan Dösinger 7676462a3d wined3d: Fix d3d8/9 style palettes. 2007-02-20 11:46:20 +01:00
Stefan Dösinger 4a93eb840a wined3d: Remove stream flags from GetStreamSource. 2007-02-20 11:46:06 +01:00
Stefan Dösinger ef68e32b03 wined3d/d3d8: Move todo about sw vp usage to d3d8. 2007-02-20 11:45:56 +01:00
Stefan Dösinger 401110538a wined3d: Check volume texture creation errors.
Volumetexture::Release checks for NULL pointers, so releasing a partially 
created texture works.
2007-02-20 11:45:42 +01:00
Mikołaj Zalewski 3f5458dc95 comctl32: rebar: Store the oldSize as a local variable. 2007-02-20 11:43:47 +01:00
Mikołaj Zalewski a268538e0e comctl32: rebar: Store the coordinates of infoPtr->calcSize swapped for CCS_VERT. 2007-02-20 11:43:36 +01:00
Mikołaj Zalewski ffbf61ae55 comctl32: rebar: Test and fix the WM_SIZE handler and REBAR_ForceResize. 2007-02-20 11:43:13 +01:00
Mikołaj Zalewski f0a7a74666 comctl32: rebar: Rewrite the layout code. 2007-02-20 11:40:19 +01:00
Paul Vriens 8316b93386 wininet/ftp.c: Fix some returned error codes. 2007-02-20 11:40:09 +01:00
Rob Shearman ea8ccb2590 kernel32: Don't run the CreateRemoteThread tests if the child process isn't mapped at the same address as the parent process. 2007-02-20 11:39:23 +01:00
Rob Shearman 3047ea9e78 ole32: Make an error message more useful by printing the returned error code. 2007-02-20 11:39:18 +01:00
Hans Leidekker 316383dd49 wininet: Don't discard the extra info part of a URL in InternetOpenUrl. 2007-02-20 11:39:00 +01:00
Stefan Dösinger e90635f5b6 kernel32: Add a CheckRemoteDebuggerPresent stub. 2007-02-19 13:11:08 +01:00
Stefan Dösinger 5e37345b30 wined3d: Activate a different context if the active render target is destroyed. 2007-02-19 13:10:51 +01:00
Stefan Dösinger 762e227994 wined3d: Only scream about unsupported vertex blending when it is used. 2007-02-19 13:10:24 +01:00
Stefan Dösinger 06f2829b92 wined3d: Pretend to support event queries. 2007-02-19 13:10:10 +01:00
Stefan Dösinger cd3bc1d17d ddraw: Test and fix IDirectDrawSurfaceX::GetDDInterface. 2007-02-19 13:09:30 +01:00
Stefan Dösinger 1036ca0df6 ddraw: Creating surfaces with old interfaces doesn't addref. 2007-02-19 13:09:18 +01:00
Stefan Dösinger 68e7ed2c90 ddraw: Fix a leak in a test. 2007-02-19 13:09:04 +01:00
Stefan Dösinger ae91cfe380 ddraw: SetClipper refcounting fix. 2007-02-19 13:08:55 +01:00
Stefan Dösinger 266fc77cf0 wined3d: Lighting is calculated for vertices without normals.
It still should be disabled for transformed vertices though.
2007-02-19 13:08:35 +01:00
Stefan Dösinger 03bc11fa16 wined3d: Visual test framework. 2007-02-19 13:07:44 +01:00
Stefan Dösinger 5916fdd560 wined3d: Remove an outdated TODO comment.
BltFast takes care of activating the correct context nowadays.
2007-02-19 13:02:19 +01:00
Chris Robinson c5ae1fc7d8 quartz: Return proper error codes from GraphBuilder_RenderFile. 2007-02-19 12:42:53 +01:00
Chris Robinson 763fc7cf3a quartz: Make sure the splitter has output plugins before trying to render them. 2007-02-19 12:42:46 +01:00
Chris Robinson e3061405ca quartz: Check for the proper ID when querying for the IBasicAudio interface. 2007-02-19 12:42:39 +01:00
Chris Robinson a512b9abb5 quartz: Don't use uninitialized memory in ACMWrapper. 2007-02-19 12:42:33 +01:00
Hans Leidekker 78e0f23b68 msxml3: Stub out some more getters and setters of IXMLDOMDocument. 2007-02-19 12:41:51 +01:00
Hans Leidekker ae1fde0343 netapi32: Add a stub implementation for NetShareDel. Improve the stub for NetUserGetLocalGroups. 2007-02-19 12:41:46 +01:00
Hans Leidekker 4270d13b18 snmpapi: Add a missing memcpy. 2007-02-19 12:40:24 +01:00
Hans Leidekker df2c8a2551 usp10: Implement ScriptGetLogicalWidths. 2007-02-19 12:40:19 +01:00
Hans Leidekker 275dbeb74e setupapi: Add stub implementations for SetupDiGetINFClass and SetupSetSourceList. 2007-02-19 12:40:15 +01:00
Hans Leidekker c56eafcb80 kernel32: Add a stub implementation for FindFirstVolumeMountPoint{A, W}. 2007-02-19 12:40:09 +01:00
Chris Robinson 7605dc0d74 quartz: Stop and free the dsound buffer when needed. 2007-02-19 12:39:59 +01:00
Marcus Meissner 3b5b23311c shell32/tests: Fixed potential overflow. 2007-02-19 12:39:37 +01:00
Marcus Meissner e37ff84eff dbghelp: Return when not finding the name. 2007-02-19 12:37:37 +01:00
Marcus Meissner abe1ede385 comctl32: Fixed new header test. 2007-02-19 12:37:19 +01:00
Marcus Meissner f4d7b4444c winex11.drv: Small fixes. 2007-02-19 12:36:33 +01:00
Vitaly Lipatov c9d78fc520 winspool: Constify some parameters in some functions. 2007-02-19 12:36:21 +01:00
Roderick Colenbrander 3e63a9f123 opengl32: Add new extensions. 2007-02-19 12:35:56 +01:00
Rob Shearman 4ef2442608 comctl32: Don't free user32 objects with a gdi32 function in imagelist test.
Use DestroyIcon for releasing the resources associated with created icons.
2007-02-19 12:33:19 +01:00
Kanit Therdsteerasukdi 9928c494f9 comctl32: datetime: Initial tests for date and time picker. 2007-02-19 12:32:58 +01:00
Paul Vriens 5b04d3d67d wininet/ftp.c: Fix some returned error codes. 2007-02-19 12:04:42 +01:00
Andrew Talbot bb7bc013b3 msg711.acm: Constify some variables. 2007-02-19 12:04:19 +01:00
Andrew Talbot 5346ba392d msi: Constify some variables. 2007-02-19 12:04:12 +01:00
Andrew Talbot 4bd4e5d39f msadp32.acm: Constify some variables. 2007-02-19 12:04:00 +01:00
Andrew Talbot d076f55e81 mciseq: Constify a variable. 2007-02-19 12:03:54 +01:00
Chris Peterson e0983d4c20 comctl32: treeview: New conformance tests for TreeView controls. 2007-02-16 13:19:24 +01:00
Hwang YunSong(황윤성) da33d1b926 shell32: Updated Korean resource. 2007-02-16 13:14:34 +01:00
Damjan Jovanovic 2705d78876 msvcrt: Fix fstat's handling of pipes and char devices.
For pipes/char devices, st_dev and st_rdev should be the fd, st_nlink
is always 1, and st_mode is S_IFIFO and S_IFCHR respectively.
Added tests to prove the new behaviour right.
2007-02-16 13:13:37 +01:00
Rob Shearman fc5b795f7c kernel32: Fix the GetComputerName* functions to not write to the buffer at all if there is not enough space.
Add tests for the GetComputerName* functions that show this issue.

Fix an off-by-one error in setting the size when there is not enough space.

Remove the exception handlers for GetComputerNameW,
GetComputerNameExA/W, since testing on XP SP2 shows that access
violations are not caught and these are not present on Win9x, which
does have an exception handler.
2007-02-16 13:13:17 +01:00
Rob Shearman c9b9847dce server: Track the impersonation level of tokens. 2007-02-16 13:09:55 +01:00
Farshad Agah 5d7fe33ef9 comctl32: Added monthcal test cases. 2007-02-16 12:35:32 +01:00
Dmitry Timoshkov 0457b0c346 gdi32: CreateBitmapIndirect should ignore the provided bm.bmWidthBytes. 2007-02-16 12:35:25 +01:00
Francois Gouget f9975b004d comctl32/tests: Add missing '\n's to ok() calls. 2007-02-16 12:35:15 +01:00
H. Verbeet 78e50b78a6 wined3d: Remove the d3d9.h include from wined3d_private.h. 2007-02-16 12:31:28 +01:00
H. Verbeet dc5b08cc76 wined3d: Get rid of any remaining d3d9 stuff in directx.c. 2007-02-16 12:31:21 +01:00
H. Verbeet bd5488cda9 wined3d: Add WINED3DCREATE flags and use them. 2007-02-16 12:31:11 +01:00
H. Verbeet a4bc52a89c wined3d: Fix WINED3DPRESENT_PARAMETERS and use it instead of D3DPRESENT_PARAMETERS. 2007-02-16 12:31:03 +01:00
Peter Oberndorfer a30bc5808e ntdll: Add a vectored exception handling test to the existing RtlRaiseException test.
Show that context changes in vectored handler also affect stack handlers.
Show that vectored handlers also get the changed context.Eip value.
2007-02-16 12:30:54 +01:00
Alexandre Julliard 6ede7a1130 gdi32/tests: Create a window for justification tests that generate output
instead of painting over the desktop.
2007-02-15 19:41:34 +01:00
Rob Shearman 795b40187e advapi32: Add tests for token impersonation levels and what operations are allowed at each level. 2007-02-15 19:16:52 +01:00
Rob Shearman 4ea7535497 advapi32: Add some more tests for AccessCheck that determine what
token impersonation levels it accepts and to show that it doesn't
accept primary tokens.
2007-02-15 19:15:42 +01:00
Rob Shearman 3f8215d214 dbghelp: nread can be NULL for read_mem and read_mem64. 2007-02-15 19:15:35 +01:00
Stefan Dösinger d74712690c d3d8: Set WINED3DPRESENT_PARAMETERS.MultiSampleQuality to a valid pointer. 2007-02-15 17:22:35 +01:00
Stefan Dösinger 1f32d6235e wined3d: Convert the full surface for now.
Until we have proper subrectangle handling for offscreen surfaces,
surface conversion has to use the real surface sizes, and not the size
of the opengl subrectangle that it is going to upload. Due to the
power of 2 limitations the gl height may be bigger than the real
surface height. If that is not the case, the uploading function will
pick the correct parts from the converted surface data.
2007-02-15 17:22:27 +01:00
Stefan Dösinger 20a07693b5 wined3d: Read offscreen render targets upside down when blitting them to a texture. 2007-02-15 17:22:06 +01:00
Stefan Dösinger a41ba013b6 wined3d: Test for supported queries.
This test contains a table of known supported / known unsupported
queries. In theory wined3d could just report the queries it supports,
but applications may make some assumtions regarding supported /
unsupported queries and stop working if they find a query unexpectadely
supported or unsupported. It also tests what is supposed to happen if an
unsupported query is created.
2007-02-15 17:21:58 +01:00
Stefan Dösinger 2f96220b3e 6/10: WineD3D: rsq and rcp instructions may need a default swizzle in arb.
ARB shaders need a swizzle for the RSQ and RCP instructions, while d3d
shaders do not. The DirectX sdk says that the x component is used if
no swizzle is given.
2007-02-15 17:21:27 +01:00
Stefan Dösinger 8e84127aed wined3d: Restore the display mode when releasing a swapchain. 2007-02-15 16:56:02 +01:00
Stefan Dösinger 3b3e865366 ddraw: Handle mipmapped mag filters by ignoring the mipmap parameter. 2007-02-15 16:55:52 +01:00
Stefan Dösinger c3d3dcec81 ddraw: Handle mipmapped TEXTUREMIN render states. 2007-02-15 16:55:45 +01:00
Stefan Dösinger 19baae3159 wined3d: Remove empty texture stage applying loop. 2007-02-15 16:55:38 +01:00
Stefan Dösinger 7c40f9aaa2 ddraw: Forward D3DRS_TEXTUREADDRESS* and D3DTSS_ADDRESS* to sampler states. 2007-02-15 16:55:33 +01:00
Dmitry Timoshkov 8295d9040b gdi32: Skip the SYMBOL_CHARSET test if Symbol or Wingdings is not installed. 2007-02-15 16:55:23 +01:00
Dmitry Timoshkov 64e1ce40aa gdi32: Fix a typo in the memcmp call. 2007-02-15 15:42:54 +01:00
H. Verbeet 75ebf29e1b wined3d: Get rid of any remaining d3d9 stuff in surface.c and surface_gdi.c. 2007-02-15 14:21:11 +01:00
H. Verbeet 1a07d3142c wined3d: Get rid of any remaining d3d9 stuff in stateblock.c. 2007-02-15 14:21:03 +01:00
H. Verbeet a2fde7d912 wined3d: Get rid of any remaining d3d9 stuff in state.c. 2007-02-15 14:20:56 +01:00
H. Verbeet 618dc7da1f wined3d: Use WINED3DISSUE_BEGIN / WINED3DISSUE_END rather than D3DISSUE_BEGIN / D3DISSUE_END. 2007-02-15 14:20:46 +01:00
H. Verbeet e8419403ee wined3d: Add the WINED3DSPD_IUNKNOWN flag and use it. 2007-02-15 14:20:38 +01:00
H. Verbeet 176a2a19c3 wined3d: Use WINED3DRTYPE_SURFACE rather than D3DRTYPE_SURFACE. 2007-02-15 14:20:28 +01:00
H. Verbeet e01f242a2a wined3d: Add WINED3DVS20 & WINED3DVS20CAPS flags and use them. 2007-02-15 14:20:19 +01:00
H. Verbeet 594f7fd882 wined3d: Add WINED3DPS20 & WINED3DPS20CAPS flags and use them. 2007-02-15 14:20:12 +01:00
H. Verbeet db8da81e67 wined3d: Add WINED3DDTCAPS flags and use them. 2007-02-15 14:20:01 +01:00
H. Verbeet da354c6dfa wined3d: Add WINED3DLINECAPS flags and use them. 2007-02-15 14:19:52 +01:00
Dmitry Timoshkov 79909e7e5a comctl32: Change internal imagelist bitmap storage in the way applications with pre-compiled imagelists expect it. 2007-02-15 14:19:32 +01:00
Vitaliy Margolen 78a28e6043 advapi32: Add more tests for DuplicateHandle security. 2007-02-15 14:19:29 +01:00
Vitaliy Margolen b0e9d7e0b5 ntdll/server: Implement NtSetSecurityObject. With tests. 2007-02-15 14:19:24 +01:00
Pedro Araujo Chaves Jr 2051bcccca gdi32: Fix for GetTextExtentExPointW() and ExtTextOutW(). 2007-02-15 13:27:24 +01:00
H. Verbeet 5c398c571f wined3d: Add WINED3DPTADDRESSCAPS flags and use them. 2007-02-15 11:43:59 +01:00
H. Verbeet a58b156264 wined3d: Add WINED3DPCMPCAPS flags and use them. 2007-02-15 11:43:53 +01:00
H. Verbeet fd8e0f1589 wined3d: Add WINED3DPMISCCAPS flags and use them. 2007-02-15 11:43:46 +01:00
H. Verbeet 748fd83ebd wined3d: Add WINED3DPBLENDCAPS flags and use them. 2007-02-15 11:43:37 +01:00
H. Verbeet 8fdd88b42c wined3d: Add WINED3DSTENCILCAPS flags and use them. 2007-02-15 11:43:29 +01:00
H. Verbeet ea683407af wined3d: Add WINED3DTEXOPCAPS flags and use them. 2007-02-15 11:43:22 +01:00
Stefan Dösinger 1282b43302 wined3d: Restore blitting environment after modifying it. 2007-02-15 11:41:05 +01:00
Stefan Dösinger b3f96f4327 wined3d: alphaop fixes for color keying. 2007-02-15 11:40:57 +01:00
Stefan Dösinger d4c4e5d167 wined3d: Enable color keying only for surfaces without an alpha channel. 2007-02-15 11:40:44 +01:00
Stefan Dösinger 8b8e30b1e1 ddraw, wined3d: Color keying tests and fixes. 2007-02-15 11:37:00 +01:00
Stefan Dösinger ccd2772e28 wined3d: Accelerated blits from and to offscreen render targets. 2007-02-15 11:36:39 +01:00
Stefan Dösinger de036ff68e wined3d: Convert and load U8V8 surfaces as rgb.
GL_INDEX is definitly not the way to load U8V8 surfaces
2007-02-15 11:36:28 +01:00
Stefan Dösinger 99576ea24e wined3d: Implement texbem in arb, improve it in glsl. 2007-02-15 11:36:14 +01:00
Stefan Dösinger 49a49fcfec wined3d: Load one bump mapping environment matrix into pixel shaders if needed. 2007-02-15 11:36:01 +01:00
Stefan Dösinger efbd6d6332 wined3d: Give the bump env matrices their own states. 2007-02-15 11:35:52 +01:00
Dmitry Timoshkov 37591409b2 gdi32: Revert 1440eb5a35 and add the test showing that the change was wrong. 2007-02-15 11:21:53 +01:00
Jason Green 2aa8463a94 riched20: If outside of the richedit window, return earlier.
Prevents a crash when selecting text outside of a richedit control box.
2007-02-15 11:21:45 +01:00
H. Verbeet 34e74ffc2a wined3d: Use WINED3D_OK rather than D3D_OK. 2007-02-15 11:15:50 +01:00
H. Verbeet 3e77ffc563 wined3d: Use WINED3DPRESENT_BACK_BUFFER_MAX rather than D3DPRESENT_BACK_BUFFER_MAX. 2007-02-15 11:15:41 +01:00
H. Verbeet d4d165afd8 wined3d: Use WINED3DUSAGE rather than D3DUSAGE. 2007-02-15 11:15:33 +01:00
H. Verbeet 498f9c507a wined3d: Use WINED3DSTREAMSOURCE_INSTANCEDATA rather than D3DSTREAMSOURCE_INSTANCEDATA. 2007-02-15 11:15:25 +01:00
Detlef Riekenberg 055d8d4611 winspool: Do not access NULL when HeapAlloc failed. 2007-02-15 11:14:58 +01:00
Louis Lenders ba7207cbc0 user32: Fix error return values in DialogBoxParam + simple test. 2007-02-15 11:14:53 +01:00
Steven Stein ee3ac7a8fb msi: ValidateProductID action stub. 2007-02-14 22:17:41 +01:00
Steven Stein 378928f2df msi: Added "Default" control condition to msi_dialog_set_control_condition. 2007-02-14 22:17:36 +01:00
Ivan Sinitsin a4ff5c550b comdlg32: Set the right background color of the dialog window "Choose color". 2007-02-14 22:17:29 +01:00
Misha Koshelev 28b68dad8e shell32/tests: Test creating shell links for commands on path. 2007-02-14 21:45:56 +01:00
Misha Koshelev 67cd59b892 shell32: Properly create shell links for commands on path. 2007-02-14 21:45:50 +01:00
Aric Stewart 1b6d127aee user32: Scroll window fix.
Fix the case where the scrolling amount exceeds the window but still
falls within the clipping rect. This generates an additional update
region that needs to be invalidated.
2007-02-14 21:45:36 +01:00
Keith Stevens ec57871f4f comctl32: Add trackbar tests. 2007-02-14 21:38:32 +01:00