Commit Graph

22937 Commits

Author SHA1 Message Date
Eric Pouech c0be0032de dbghelp: Implemented EnumDirTreeW. 2007-02-22 12:22:05 +01:00
Eric Pouech 8b861202ba dbghelp: Implemented SymMatchFileNameW. 2007-02-22 12:21:40 +01:00
Eric Pouech d707fe5ac3 dbghelp: Added module_get_type_by_name in Unicode form and keep the ANSI form for compatibility. 2007-02-22 12:21:14 +01:00
Eric Pouech 46684a9fb6 dbghelp: Moved ELF module loading interfaces to Unicode.
The core the code remains ANSI, as all the information is stored as ANSI.
2007-02-22 12:20:03 +01:00
Eric Pouech 6a859fb0e6 dbghelp: Move PE module loading to Unicode. 2007-02-22 11:41:15 +01:00
Eric Pouech bcc1913354 dbghelp: Implemented FindExecutableImage[W]. 2007-02-22 11:39:52 +01:00
Eric Pouech 43dffcd05d dbghelp: Now storing module information in Unicode form. 2007-02-22 11:39:08 +01:00
Eric Pouech 6efc061992 dbghelp: .gnu_link support: rewrote helper functions for better later unicodification. 2007-02-22 11:35:21 +01:00
Eric Pouech c75fb89a64 dbghelp: Prepare module loading functions to be switched to Unicode module storage. 2007-02-22 11:34:20 +01:00
Eric Pouech 50de2e2e4a dbghelp: Make the module info functions ready for the Unicode move. 2007-02-22 11:33:06 +01:00
Eric Pouech fcd3972fa8 dbghelp: Rewrote the loaded modules enumeration so that Unicode version is the core. 2007-02-22 11:32:05 +01:00
Eric Pouech aac77c98a2 dbghelp: Added an ANSI copy of the module name (useful for next patches). 2007-02-22 11:28:53 +01:00
Eric Pouech 33c8ffc301 dbghelp: Added helper to define the module's name. 2007-02-22 11:28:13 +01:00
Aric Stewart a0ad8f38c7 shell32: IShellLink::GetIDList fix.
IShellLink::GetIDList when it fails to generate a PIDL must set ppidl
to NULL or some applications think it contains valid data.
2007-02-22 11:27:18 +01:00
Aric Stewart aecbb11e40 comctl32: Implement LVM_SETUNICODEFORMAT. 2007-02-22 11:27:01 +01:00
Andrew Talbot 3399c81302 serialui: Constify a variable. 2007-02-22 11:26:55 +01:00
Paul Vriens 63806a94b5 wininet/tests: Add a few more tests. 2007-02-22 11:26:51 +01:00
Maarten Lankhorst cda92aeba9 winealsa: Fix typo. 2007-02-22 11:26:45 +01:00
Maarten Lankhorst c38bcb96d7 dsound: Use an inline for ring buffer pointer difference calculation. 2007-02-22 11:26:42 +01:00
Maarten Lankhorst 0036298a14 dsound: Add some comments from earlier patch that makes code a little better understandable. 2007-02-22 11:25:35 +01:00
Rob Shearman a5317eb846 kernel32: Fix an off-by-one error in GetComputerNameExA/W.
The dns_* functions expect the input buffer to have space for size 
characters plus the nul terminating character.
2007-02-21 19:50:57 +01:00
Rob Shearman ba590a185a wininet: Fix the case of partial SSL reads from the peek buffer.
Don't return FALSE for a partial read. Fall through to SSL_read and use 
the logic for partial reads there instead of having separate logic and 
recursively calling NETCON_recv. Based on a patch by Michael Moss.
2007-02-21 19:49:50 +01:00
Rob Shearman 272d7ab46a dbghelp: ImageName is usually blank, so print LoadedImageName in elf_load_debug_info_map. 2007-02-21 19:49:43 +01:00
Rob Shearman d342d1413c server: Add get_token_impersonation_level server call for retrieving the impersonation level from a token.
Add tests for GetTokenInformation(TokenImpersonationLevel).
2007-02-21 19:49:37 +01:00
Rob Shearman 6a76a0ac7a server: Check object's security when creating handles.
Don't check object's security when duplicating a handle of the same or 
lower access rights. Based on a patch by Vitaliy Margolen.
2007-02-21 19:49:02 +01:00
Rob Shearman ca6fe3fbf2 rpcrt4: Fix a memory leak in I_RpcSendReceive caused by I_RpcReceive overwriting pMsg->Buffer.
(Reported by Huw Davies.)
2007-02-21 19:48:51 +01:00
Rob Shearman b491d926d5 rpcrt4: Add documentation for the I_Rpc* RPC message functions. 2007-02-21 19:48:44 +01:00
Ken Thomases 44c2db175b winex11.drv: Pass correct coords into X11DRV_InternalFloodFill.
The (x,y) should be relative to the XImage, not the drawable.  The (xOrg,yOrg)
is what should be relative to the drawable.  This fixes a crash when XGetPixel
tried to access memory outside the XImage's buffer.
2007-02-21 19:48:39 +01:00
Huw Davies d5664881e5 oleaut32: Fix a TypeAttr leak. 2007-02-21 19:48:33 +01:00
Francois Gouget 56da1eeadc wininet/tests: Fix some tests so they succeed on Windows 98. 2007-02-21 19:48:25 +01:00
Andrew Talbot 138a88321b odbc32: Constify some variables. 2007-02-21 19:48:22 +01:00
Lei Zhang b29c99c59a comctl32: Move up-down msg seq test functions into msg.c. 2007-02-21 17:45:38 +01:00
Dmitry Timoshkov ac3646cc08 winex11.drv: Clients should pass only KeyPress events to XmbLookupString. 2007-02-21 15:21:14 +01:00
Alexandre Julliard 89faee0194 server: Added support for the PM_QS_* flags in PeekMessage. 2007-02-21 15:21:05 +01:00
Stefan Dösinger 953940aada wined3d: Make sure volumes have memory allocated. 2007-02-21 11:00:08 +01:00
Stefan Dösinger a72b561947 wined3d: Do not use glMapBuffer in ProcessVertices. 2007-02-21 10:59:55 +01:00
Stefan Dösinger 2a90bc2c7a wined3d: Remove dead code from drawprim.c. 2007-02-21 10:57:50 +01:00
Stefan Dösinger ca04a9de34 wined3d: Use CopyRect / EqualRect. 2007-02-21 10:57:28 +01:00
Stefan Dösinger efc03f0a34 wined3d: Index buffer fixes. 2007-02-21 10:57:08 +01:00
Stefan Dösinger 6d66347cf9 wined3d: Clean up sampler usage in UpdateSurface.
UpdateSurface has to modify one gl texture unit to bind the texture to
load.  To restore the correct properties for drawing gl texture unit 0
is activated and dirtified.
2007-02-21 10:56:47 +01:00
Stefan Dösinger e935600ebc wined3d: IWineD3DDevice::Clear fixes.
Fix the use of the scissor test in Clear. The rectangle is only set if
a clearing rectangle is used, otherwise the scissor test is disabled
(the pixel ownsership test should take care of the window
boarders). To get the scissor test back to the value the app set up
Clear dirtifies the state(s).
2007-02-21 10:56:36 +01:00
Stefan Dösinger dd93e1fb7f wined3d: Floating point shader constant setting.
Test how shader constant limits are checked in Set*ShaderConstantF.
The vertex shader tests it based on the limits reported in the caps,
the pixel shader tests tries to find the limit manually because I
could not find a cap structure member specifying the pixel shader
constant limit.

Set*ShaderConstantF returns an error as soon as start or start + count
are bigger than the constant limit.
2007-02-21 10:56:01 +01:00
Stefan Dösinger 76b7cac7af wined3d: Light parameter fixes. 2007-02-21 10:55:31 +01:00
Stefan Dösinger fb1469c47d wined3d: Do not print the fixed / unfixed vertices warning with shaders. 2007-02-21 10:55:14 +01:00
Dmitry Timoshkov 1936fd99ee user32: Add a CreateIcon test, make it pass under Wine. 2007-02-21 10:55:06 +01:00
Dmitry Timoshkov e35db3408b user32: Add traces to the cursor APIs. 2007-02-21 10:55:01 +01:00
Aric Stewart 1840f5e192 imm32: Implement stubs for ImmGetImeMenuItemsA and ImmGetImeMenuItemsW. 2007-02-21 10:54:20 +01:00
Paul Vriens 8bc9bc2e29 wininet/ftp.c: Fix some typos. 2007-02-21 10:54:14 +01:00
Marcus Meissner 74bb551081 shlwapi: Fix size passed to MultiByteToWideChar. 2007-02-21 10:54:07 +01:00
Chris Robinson ac647156d8 quartz: Implement IUnknown methods for IMediaPosition. 2007-02-21 10:53:59 +01:00
Chris Robinson 5a8ee37191 quartz: Don't release filters when they connect. 2007-02-21 10:53:54 +01:00
James Hawkins 0746b9076d msi: Cleanup the dialog event subscriptions when destroying the dialog. 2007-02-21 10:53:49 +01:00
Jacek Caban 0197c2c292 shdocvw: Fix module ref counting. 2007-02-20 20:52:46 +01:00
Detlef Riekenberg d7e88ff996 kernel32: Display correct parameters in comm traces. 2007-02-20 20:52:41 +01:00
Detlef Riekenberg 8163e504bc localspl: Implement SetDefaultCommConfig for XcvDataPort. 2007-02-20 20:31:14 +01:00
Detlef Riekenberg 87947fce7f localspl: Implement GetDefaultCommConfig for XcvDataPort. 2007-02-20 20:31:07 +01:00
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