Commit Graph

42103 Commits

Author SHA1 Message Date
Nikolay Sivov db60f69cba comctl32/tab: Handle state mask in TCM_[G,S]ETITEM. 2009-03-26 11:56:05 +01:00
Nikolay Sivov 751732e694 comctl32/tab: Draw tab button properly on TCIS_BUTTONPRESSED state. 2009-03-26 11:55:56 +01:00
Michael Stefaniuc 289dca2e0e d3dxof: Remove redundant NULL check before HeapFree (Smatch). 2009-03-26 11:51:11 +01:00
Michael Stefaniuc 6fa69c3f2b msi: Remove redundant NULL check before msi_free (Smatch). 2009-03-26 11:51:08 +01:00
Christian Costa 8469689a71 amstream: Implement IAMMultiMediaStreamImpl_GetFilterGraph. 2009-03-26 11:51:03 +01:00
Andrew Talbot 46c8ab351a winedos: Initializations fix. 2009-03-26 11:50:58 +01:00
Huw Davies eaf4492c70 rpcrt4: Dynamically allocate the buffer if the fixed size one isn't large enough. Don't return an inappropriate error if we fail to get the status text, it's only used for diagnostics. 2009-03-26 11:50:50 +01:00
Alexandre Julliard 7e22055ee1 wininet/tests: Fix another instance of changed behavior on winehq.org. 2009-03-25 22:57:32 +01:00
Huw Davies b75caee2ab ole32/tests: Tests for the 'Ole Private Data' clipboard format. 2009-03-25 15:43:36 +01:00
Huw Davies 3383db6107 ole32: Move the code to set the clipboard formats to a separate function. 2009-03-25 15:43:27 +01:00
Rob Shearman 5f6ae94ad0 rpcrt4: Implement RPC over HTTP support.
CodeWeavers did this work for supporting the optional HTTP connection
method of Outlook 2003/2007 (must be running with Windows versions set
to XP or higher to see this option).

This was written before Microsoft publicly released a specification
for the RPC over HTTP protocol and so was developed by examining
traffic flowing between a Windows client and an IIS server.
2009-03-25 15:20:52 +01:00
Rob Shearman 834c5b4275 rpcrt4: Implement stubless asynchronous NDR interpreter.
CodeWeavers did this work for supporting Outlook 2007.
2009-03-25 15:20:44 +01:00
Hans Leidekker 9c6e6efa32 msi: Detect privately installed assemblies.
Another fix for the office 2007 sp1 installer.
2009-03-25 15:02:45 +01:00
Hans Leidekker c2221f325f msi: Add some tests for MsiQueryFeatureState.
These tests confirm that a feature is reported as advertised if only
one of its components is missing.
2009-03-25 15:02:37 +01:00
Alexandre Julliard 79cd9183e8 kernel32: Revert incorrect part of commit 7c3529f1cc. 2009-03-25 14:19:02 +01:00
Aric Stewart df1203342c advapi32: Stub TreeResetNamedSecurityInfo for the IE8 installer. 2009-03-25 13:30:42 +01:00
Patrick Gauthier 08c0ddec80 user32/tests: Check effect of magic font height value 0x7fff in dialog template. 2009-03-25 12:43:46 +01:00
Aric Stewart 28bc76b5d3 msi: Verify the existence of fusion.dll before reporting the .Net version.
Fixes an issue with .Net 3.0 where it does not install a new
fusion.dll but does add a key to the registery. The fact that a new
dll is not installed has been verified on windows.
2009-03-25 12:39:27 +01:00
Rein Klazes d75b0cdc98 user32: In MENU_SuspendPopup() make sure the right message is removed. 2009-03-25 12:39:10 +01:00
Roman Mindalev 9925785eef ntdll: Move search for assemblyIdentity element. 2009-03-25 12:25:21 +01:00
Roman Mindalev cbd935eff4 ntdll: Free memory for type field of an assembly_identity. 2009-03-25 12:22:25 +01:00
Roman Mindalev b653679e6a ntdll: Check for arch and name fields in assembly_identity structure. 2009-03-25 12:22:17 +01:00
Ricardo Filipe 13f1988720 comdlg32: Send CDN_INCLUDEITEM notification for each object in an Open/Save dialog. 2009-03-25 12:18:47 +01:00
Kusanagi Kouichi bcdf8f6edd winex11.drv: Make import/export functions static. 2009-03-25 12:17:56 +01:00
Ken Thomases 31fd8dd763 dbghelp: Include Mach-O modules in minidumps. 2009-03-25 12:17:51 +01:00
Ken Thomases 3a96219d57 dbghelp/stabs: For Mach-O, line numbers use absolute address, not offset.
So, compute the offset by subtracting the function address.
2009-03-25 12:17:42 +01:00
Ken Thomases feedbb1630 dbghelp: Recognize .dylib files as Mach-O modules. 2009-03-25 12:17:36 +01:00
Ken Thomases d7466e0c4e dbghelp: Add support for debugging Mach-O modules. 2009-03-25 12:17:29 +01:00
Aric Stewart db37679b4e msctf: Hook up the DocumentMgr to be able to forward ITfThreadMgrEventSink events to sinks advised to the ThreadMgr. 2009-03-25 12:04:55 +01:00
Aric Stewart 1f21795f93 msctf: Add ITfThreadMgrEventSink to ThreadMgr. 2009-03-25 12:04:49 +01:00
Aric Stewart f723e4ca08 msctf: ThreadMgr sink framework. 2009-03-25 12:04:24 +01:00
Alexandre Julliard 8d2ce074bb wininet/tests: Fix the http tests for the new winehq.org behavior. 2009-03-25 11:55:17 +01:00
Henri Verbeet 25b60e168a wined3d: Do the ffp_valid check before even trying to use the element. 2009-03-25 11:12:55 +01:00
Henri Verbeet 4469fbd43d wined3d: Don't use rtInternal for surfaces that are on a swapchain.
These surfaces won't be attached to an FBO anyway, so avoid the cost of a
potential format conversion when blitting from a non-RT surface. This is
mostly an issue for ddraw applications with 16 bit render targets.
2009-03-25 11:12:49 +01:00
Henri Verbeet 899df56ebe wined3d: Add a more convenient way to check if a surface is on a swapchain.
This won't help if we actually need the swapchain, of course.
2009-03-25 11:12:40 +01:00
Henri Verbeet 42e31a4242 wined3d: Fix a few sign compare warnings. 2009-03-25 11:12:30 +01:00
Henri Verbeet 59c5962828 wined3d: Make the texunit field in struct stb_const_desc unsigned. 2009-03-25 11:12:13 +01:00
Henri Verbeet 771fe7fd8a wined3d: Implement WINED3DTSS_TCI_SPHEREMAP. 2009-03-25 11:12:07 +01:00
Henri Verbeet 3234a4af2d wined3d: Reduce the number of checkGLcall's in tex_coordindex() a bit. 2009-03-25 11:12:02 +01:00
Henri Verbeet 61cd872fa7 wined3d: Print a FIXME in tex_coordindex() when NV_TEXGEN_REFLECTION isn't supported. 2009-03-25 11:11:57 +01:00
Henri Verbeet f63313fe3e wined3d: Fix the indentation in tex_coordindex().
The indentation here is pretty horrible. Also removes a couple of fairly
useless comments.
2009-03-25 11:11:32 +01:00
Henri Verbeet 8255dde127 wined3d: Print a warning when the stage isn't mapped to a valid texture unit in tex_coordindex(). 2009-03-25 11:11:24 +01:00
Francois Gouget 1192c9995c wineesd.drv: Remove esd_host as it is unused.
It is unlikely to ever be used too. The default behavior is to connect 
to the server specified by $ESPEAKER or to the local one which suits us 
just fine.
2009-03-25 11:09:42 +01:00
Michael Stefaniuc 4114cea302 gdi32: Use "%p" to TRACE() pointers. 2009-03-25 11:09:19 +01:00
Michael Stefaniuc 4b53e2b6cc setupapi: Update the Romanian translation. 2009-03-25 11:09:13 +01:00
Christian Costa 30140d0186 d3dxof: Remove limitation on data buffer size. 2009-03-25 11:09:05 +01:00
Andrew Talbot 60507cc651 ntdll: Remove superfluous semicolon. 2009-03-25 11:08:19 +01:00
Austin English dca3117f03 twain32: Fix a compiler warning on PC-BSD. 2009-03-25 11:08:05 +01:00
Paul Vriens 7e7e27f7ff comctl32/tests: Fix a crash on W2K and below. 2009-03-25 11:06:19 +01:00
Paul Vriens b0da2a2e48 winspool.drv/tests: Fix a test failure on NT4 and below. 2009-03-25 11:06:12 +01:00
Alexandre Julliard b91cf321ea avifil32: Make avifile.dll into a stand-alone 16-bit module. 2009-03-24 16:56:58 +01:00
Alexandre Julliard 36a41abb9f wineps.drv: Set the line join and cap styles based on the selected pen. 2009-03-24 15:24:06 +01:00
Lei Zhang 25c2e283d8 oleaut32: Fix some corner cases in VarBstrCmp. 2009-03-24 14:07:50 +01:00
Vincent Povirk 68dba4eff3 gdiplus: Support line gradient brushes in GdipFillPath. 2009-03-24 13:57:39 +01:00
Kirill K. Smirnov e66e489417 mciavi32: Fix typo. 2009-03-24 13:54:18 +01:00
Hans Leidekker a01ba78546 winspool: Support special environment value "all" in EnumPrinterDrivers.
A custom action in the sp1 installer passes this value.
2009-03-24 13:32:55 +01:00
Hans Leidekker 86af876987 msi: Only apply a transform when its language id matches the system language id.
Fix for office 2007 sp1 installer.
2009-03-24 13:32:11 +01:00
Hans Leidekker b8965ee7c9 msi: Don't initialize COM for custom action threads. 2009-03-24 13:31:59 +01:00
Hans Leidekker c844582177 msi: Add stub implementations of MsiSourceListClearAllExA/W. 2009-03-24 13:31:36 +01:00
Hans Leidekker 7590a3f335 msi: Implement MsiReinstallProductA/W. 2009-03-24 13:31:24 +01:00
Hans Leidekker 201e291e5d msi: Add stub implementations of MsiDeterminePatchSequenceA/W. 2009-03-24 13:31:12 +01:00
Rob Shearman cdf509d71f rpcrt4: Fix crash when calling RpcServerUseProtseq for ncacn_np and ncalrpc.
Add tests for these protocol sequences and for ncacn_ip_tcp.
2009-03-24 13:12:11 +01:00
Rob Shearman 1c89dacf9c services: svcctl_GetServiceDisplayNameW and svcctl_GetServiceKeyNameW should have string attribute on output buffer.
They also should not have two parameters for specifying the size of the buffer.

The buffer size should also not include in the nul-terminating character.
2009-03-24 13:11:41 +01:00
Rob Shearman b9587e69e4 advapi32: Trace the contents of the in parameter to GetServiceKeyNameW, not the out parameter. 2009-03-24 13:11:09 +01:00
Michael Stefaniuc 6789fa8544 msi: Add the Romanian translation. 2009-03-24 13:00:02 +01:00
Paul Vriens e96fb0fa50 riched20/tests: Fix and extend EM_FORMATRANGE tests. 2009-03-24 12:58:26 +01:00
Henri Verbeet 8e12ad4fae shdocvw: Add a stub ITaskbarList implementation.
Based on a patch by Louis Lenders. Although MSDN claims this should be in
shell32, it really is in shdocvw.
2009-03-24 12:58:17 +01:00
Henri Verbeet afc5744e70 wined3d: Pass format_desc to set_shader().
This should be the last unnecessary getFormatDescEntry() call.
2009-03-24 12:57:45 +01:00
Henri Verbeet dd1f0d9c48 wined3d: Pass format_desc to getColorBits() and getDepthStencilBits(). 2009-03-24 12:57:38 +01:00
Henri Verbeet a02d801888 wined3d: Pass format_desc to the Check*Capability() function.
Rather than looking it up all the time.
2009-03-24 12:57:31 +01:00
Henri Verbeet b7744f8158 wined3d: Remove the bytesPerPixel field from IWineD3DSurfaceImpl and IWineD3DVolumeImpl.
We can use the information from format_desc instead.
2009-03-24 12:57:21 +01:00
Henri Verbeet a56a143461 wined3d: Set the byte count for WINED3DFMT_UNKNOWN to 0.
As far as I can tell nothing depends on this being 1, and there's some code
that checks for WINED3DFMT_UNKNOWN and uses 0 for the byte count in that case.
2009-03-24 12:57:12 +01:00
Henri Verbeet c0cefb3501 d3d8: Cleanup the vertexshader handling code a bit. 2009-03-24 12:56:50 +01:00
Henri Verbeet 4131135a9f d3d8: Cleanup the pixelshader handling code a bit.
This mostly just reduces the nesting to something more sane.
2009-03-24 12:56:33 +01:00
Henri Verbeet 3f559f26d6 d3d8: Properly handle unsetting the pixelshader in SetPixelShader(). 2009-03-24 12:56:25 +01:00
Henri Verbeet 8ce2506aa8 wined3d: Try to make Coverity shut up (CID 863, 905).
Comparing gl_shaders against NULL after potentially dereferencing it a few
lines earlier probably confuses Coverity. Checking num_gl_shaders instead
should avoid this.
2009-03-24 12:56:19 +01:00
Nikolay Sivov bdd1206ca5 comctl32/listview: Some tests for LVM_GETSUBITEMRECT. 2009-03-24 12:43:05 +01:00
Nikolay Sivov 85c03a5a31 comctl32/ipaddress: Store current IP address text as a window text for IP Address control. 2009-03-24 12:42:56 +01:00
Nikolay Sivov b7d7d58978 comctl32/trackbar: Fix reverting to default value for TBM_SETPAGESIZE with lParam = -1. 2009-03-24 12:42:19 +01:00
Nikolay Sivov 92b0ad98e1 comctl32/tab: Implement TCM_[G,S]ETEXTENDEDSTYLE and TCS_EX_FLATSEPARATORS style. 2009-03-24 12:40:15 +01:00
Nikolay Sivov b896b92061 comctl32/tab: Fix button background filling on TCS_BUTTONS. 2009-03-24 12:39:17 +01:00
Nikolay Sivov 4585148547 comctl32/tab: Implement TCM_REMOVEIMAGE. 2009-03-24 12:38:37 +01:00
James Hawkins 87847b47cd kernel32: Don't try to load an empty initialization file. 2009-03-24 11:37:01 +01:00
James Hawkins 7c3529f1cc kernel32: Handle writing empty sections and keys in WritePrivateProfileString. 2009-03-24 11:36:52 +01:00
James Hawkins f1308f9b40 kernel32: Set last error to ERROR_FILE_NOT_FOUND if lpAppName is NULL. 2009-03-24 11:36:03 +01:00
James Hawkins 287b07fddc kernel32: Add tests for WritePrivateProfileString. 2009-03-24 11:35:52 +01:00
Andrew Talbot 92bfdeb591 wineps.drv: Remove order-of-evaluation dependencies. 2009-03-24 11:35:42 +01:00
Andrew Talbot 2024592b41 winex11.drv: Remove order-of-evaluation dependencies. 2009-03-24 11:35:39 +01:00
Andrew Talbot d2e4bcf531 shell32: Remove uninitialized and superfluous struct. 2009-03-24 10:28:28 +01:00
Jacek Caban 781faa1b9d urlmon: Fixed handling NULL URLName in GetDisplatName implementation. 2009-03-24 10:28:20 +01:00
Jacek Caban a5b2075ef1 urlmon: Added StdURLMoniker implementation. 2009-03-24 10:28:15 +01:00
Jacek Caban 53b1a310fe urlmon: Return IAsyncMoniker from QueryInterface. 2009-03-24 10:28:09 +01:00
Jacek Caban 050c349678 urlmon: Code clean up. 2009-03-24 10:28:05 +01:00
Kai Blin 3fbf3f66db quartz/tests: If CoCreateInstance() fails, it's safe to return, as no cleanup is needed. 2009-03-24 10:28:01 +01:00
Ricardo Filipe 1999008b89 setupapi: Remove invalid check for < MAX_PATH and don't copy to NULL PathBuffer (Coverity 888). 2009-03-24 10:27:45 +01:00
Dylan Smith 78a7ea5a39 richedit: Properly handle lack of semicolon after font name in rtf.
This was partially handled by ungetting the end group token (i.e. '}')
so that it was read again at the proper place.  Unfortunately there is a
read hook that maintains a stackTop variable, which is decremented when
receiving this end group token.  Therefore stackTop would get
decremented twice, and the rich text file would end prematurely.

This is fixed by incrementing the stackTop variable to compensate for it
being decremented twice.
2009-03-24 10:27:34 +01:00
Alexandre Julliard b4d4625890 w32skrnl: Make w32sys.dll into a stand-alone 16-bit module. 2009-03-24 09:42:02 +01:00
Alexandre Julliard 2a745fecd2 w32skrnl: Make win32s16.dll into a stand-alone 16-bit module. 2009-03-24 09:38:01 +01:00
Alexandre Julliard 9bf9eb0941 winnls32: Make winnls.dll into a stand-alone 16-bit module. 2009-03-24 09:31:03 +01:00
Alexandre Julliard b0530a5fbd winmm: Make sound.drv into a stand-alone 16-bit module. 2009-03-23 20:35:00 +01:00
Alexandre Julliard e475ef89fd rasapi32: Make rasapi16.dll into a stand-alone 16-bit module. 2009-03-23 20:34:34 +01:00
Alexandre Julliard 2b67a23fb0 twain_32: Make twain.dll into a stand-alone 16-bit module. 2009-03-23 20:34:02 +01:00
Alexandre Julliard a2ae7dd06c wnaspi32: Make winaspi.dll into a stand-alone 16-bit module. 2009-03-23 20:33:34 +01:00
Alexandre Julliard d540fa2a28 wintab32: Make wintab.dll into a stand-alone 16-bit module. 2009-03-23 20:33:00 +01:00
Alexandre Julliard 1b937cac74 imm32: Make imm.dll into a stand-alone 16-bit module. 2009-03-23 20:32:19 +01:00
Alexandre Julliard 9a19d8afa6 ctl3d32: Make ctl3d.dll and ctl3dv2.dll into stand-alone 16-bit modules. 2009-03-23 20:31:01 +01:00
Andrew Nguyen e1a1ae5e1b ddraw/tests: Skip some cooperative level tests on NT4/Win95.
The DirectX SDK reports that cooperative level flags
DDSCL_SETDEVICEWINDOW and DDSCL_SETFOCUSWINDOW are only
available on Windows 98 and higher.
2009-03-23 18:21:06 +01:00
Andrew Nguyen 626a13fd57 tapi32: Stub lineGetIDW. 2009-03-23 18:21:06 +01:00
Andrew Nguyen 9ef447be92 tapi32: Stub lineMakeCallW. 2009-03-23 18:21:06 +01:00
Andrew Nguyen af38006ad1 tapi32: Stub lineGetDevCapsW. 2009-03-23 18:21:06 +01:00
James Hawkins 0b74259f9d twain_32: Fix the use of an uninitialized variable (Coverity 908). 2009-03-23 16:31:28 +01:00
Huw Davies ef4b6b8749 ole32: Store the ole clipboard window's HWND in the DataObject clipboard format. 2009-03-23 15:52:18 +01:00
Huw Davies e77ab142e4 ole32: Register DataObject clipboard format. 2009-03-23 15:52:18 +01:00
Huw Davies c0fbbe7d91 ole32: Use IsEqualIID rather than memcmp. 2009-03-23 15:52:18 +01:00
Huw Davies 319d0ddca6 ole32: Simplify QueryInterface. 2009-03-23 15:52:18 +01:00
Huw Davies d72181381e ole32: pFmt isn't exposed to the client, so simplify its allocation. 2009-03-23 15:52:18 +01:00
Huw Davies 8beb83866f ole32: Rearrange functions to eliminate forward declarations. 2009-03-23 15:52:18 +01:00
Huw Davies 96bd8c5a7d ole32: Add a helper function to retrieve the implementation ptr. 2009-03-23 15:52:18 +01:00
Huw Davies e7ffa2aeb5 ole32: Don't allocate the ole clipboard object in global memory - we're not going to directly expose it to other processes. 2009-03-23 15:52:18 +01:00
Huw Davies e6eeb3aa17 ole32: Remove unused static variable. 2009-03-23 15:52:18 +01:00
James Hawkins 5e62686a0f msi: Handle a NULL and empty szPackagePath in MsiInstallProduct (Coverity 181). 2009-03-23 15:52:18 +01:00
James Hawkins fb8db0ac13 msi: Don't try to release a NULL record, with tests (Coverity 536). 2009-03-23 15:52:17 +01:00
James Hawkins baf86bd5bb msi: MsiCollectUserInfo cannot be called from a custom action (Coverity 565, 566). 2009-03-23 15:52:17 +01:00
James Hawkins cb958cd773 msi: Test and handle the case where the SourceList key does not exist and the PackageName value does not exist in MsiGetProductInfo. 2009-03-23 15:52:17 +01:00
James Hawkins dc50773c28 msi: Factor out the MsiEnumPatchesEx tests and test the NULL szUserSid and an szUserSid that is different from the current user. 2009-03-23 15:52:17 +01:00
James Hawkins c965d839f9 msi: Allow the enumeration of other users' patches. 2009-03-23 15:52:17 +01:00
James Hawkins f7c615b188 msi: Enumerate the current user's patches if szUserSid is NULL. 2009-03-23 15:52:17 +01:00
James Hawkins 3956bb5b0e msi: Fix a typo (Coverity 910). 2009-03-23 15:52:17 +01:00
Michael Stefaniuc fccdccc378 msi: Update the German translation. 2009-03-23 15:52:17 +01:00
Michael Stefaniuc b4cb8562ae msi: Convert the German translation to UTF8 encoding. 2009-03-23 15:52:17 +01:00
Robert Reif c2d6ce85d0 dsound: Fix uninitialized variable.
I missed one case when converting over to static GUIDs in a previous patch.
Pointed out by Andrew Talbot.
2009-03-23 15:26:43 +01:00
Aric Stewart 39600d9d2e msi: Reorder the condition operators so that longer strings are matched first.
This allows ~<< to be properly matched.
2009-03-23 15:26:02 +01:00
Vitaliy Margolen 694219d4a6 shell32: Fix number of returned arguments from CommandLineToArgvW with empty string. 2009-03-23 15:25:50 +01:00
Rob Shearman ae5770d366 rpcrt4: Fix a memory leak in union unmarshall functions by never passing fMustAlloc=TRUE into union_arm_unmarshall. 2009-03-23 14:54:29 +01:00
Rob Shearman 1c8c45d0f6 rpcrt4: Implement NdrRangeUnmarshall for enum types. 2009-03-23 14:54:15 +01:00
Rob Shearman 7208067492 rpcrt4: Simplify some code in RpcServerInqBindings by changing while loops into for loops. 2009-03-23 14:54:07 +01:00
Rob Shearman 5e1d10d423 rpcrt4: Free the resources associated with server protocol sequences on DLL unload. 2009-03-23 14:54:01 +01:00
Henri Verbeet 27a6bb5f08 d3d10core: Only destroy the device when it doesn't have any references left. 2009-03-23 14:08:03 +01:00
Henri Verbeet 775ea907a3 d3d8: Fix locking. 2009-03-23 14:08:03 +01:00
Henri Verbeet 72b5378758 d3d8: Get rid of resource.c. 2009-03-23 14:08:03 +01:00
Henri Verbeet 7c0931b7c2 d3d8: Get rid of basetexture.c. 2009-03-23 14:08:03 +01:00
Henri Verbeet fd3d769a12 d3d9: Fix locking.
It appears there are some calls to wined3d missing critical sections.
2009-03-23 14:08:03 +01:00
Henri Verbeet 435b528e83 d3d9: Get rid of resource.c. 2009-03-23 14:08:02 +01:00
Henri Verbeet 82dd5bc2a1 d3d9: Get rid of basetexture.c. 2009-03-23 14:08:02 +01:00
Henri Verbeet 1f4e7b27ed wined3d: Set the currently active context to NULL when it's destroyed.
This should make us crash when trying to use the "currently active" context
after it has been destroyed, rather than messing around with freed memory.
2009-03-23 14:08:02 +01:00
Henri Verbeet 89721c2173 wined3d: Compare the actual formats. 2009-03-23 14:08:02 +01:00
Henri Verbeet 24a4503d61 wined3d: Unload resources on Uninit3D().
This should prevent destroying GL objects without a GL context. Eg. when a ddraw
surface has a GL texture and is released after a call to Uninit3D().
2009-03-23 14:07:48 +01:00
Dylan Smith caca486029 richedit: Add bounds checks for EM_GETTEXTRANGE with tests.
Wine was not doing bounds checks for EM_GETTEXTRANGE, which was causing
a crash in Bug 17822.  The added tests would cause a crash without the
added bounds checks in the richedit code.

The bounds checks I put in HandleMessage, since ME_GetTextRange is also
called for ME_GETSELTEXT which should not have bounds checks, since it
uses the selection range.

When the ME_GETTEXTRANGE message returns 0, no text is copied, not even
the NULL terminating charter.  This differs from EM_GETSELTEXT which
will copy the NULL terminating character when no text is selected.  This
behaviour is consistent with native richedit controls.
2009-03-23 13:26:28 +01:00
Roderick Colenbrander 4544efc972 wined3d: Add a classic WGL pixel format backend as not all OpenGL implementations support WGL_ARB_pixel_format.
This should help for instance VirtualBox.
2009-03-23 13:25:50 +01:00
Roderick Colenbrander 9181ddcd16 wined3d: Add WGL_ARB_pixel_format detection.
Right now we assume that the extension is there but this isn't always
the case. The next patch in this series will add a
non-WGL_ARB_pixel_format codepath to help VirtualBox and others.
2009-03-23 13:25:17 +01:00
Nicolas Le Cam da2e044125 schannel/tests: Fix test on Win2k. 2009-03-23 13:24:47 +01:00
Nicolas Le Cam 5fc199263e shell32/tests: Fix a test on Win2k platform and above. 2009-03-23 13:24:21 +01:00
Paul Vriens ad5e68e8a1 urlmon/tests: Fix a test failure on Vista and higher. 2009-03-23 13:24:03 +01:00
Rein Klazes 3aec62dcf6 user32/tests: In sysparams.c disable some Get/Set border tests for now. These may permanently change desktop settings of the testers. 2009-03-23 13:23:46 +01:00
Aric Stewart 6979c4142f propsys: Stub for PSUnregisterPropertySchema.
Needed for IE8 install.
2009-03-23 13:22:22 +01:00
Hwang YunSong(황윤성) d496a49084 mshtml: Updated Korean resource. 2009-03-23 13:21:28 +01:00
Aric Stewart 8044c11ecf kernel32: Report unixfs instead of ntfs for unknown filesystem type.
This avoids programs such as the .Net2.0 installer trying to do ntfs
specific functions on the disk.
2009-03-23 12:41:36 +01:00
Michael Stefaniuc 58f2a01e23 ddraw/tests: Use ULONG instead of unsigned long. 2009-03-23 12:41:21 +01:00
Michael Stefaniuc 2df012a01a d3d9/tests: Use LONG instead of long. 2009-03-23 12:41:14 +01:00
Michael Stefaniuc d4c2a387c8 d3d8/tests: Use ULONG instead of unsigned long. 2009-03-23 12:41:08 +01:00
Michael Stefaniuc b8e1b138bc d3dxof/tests: Use ULONG instead of unsigned long. 2009-03-23 12:41:05 +01:00
Michael Stefaniuc 4de7ac858b advapi32/tests: Don't use "long" for variable types. 2009-03-23 12:40:56 +01:00
Michael Stefaniuc d2f6f56873 ntdll: Remove superfluous pointer casts. 2009-03-23 12:40:53 +01:00
Aurimas Fischer 54b3fda09a mshtml: Update Lithuanian translation. 2009-03-23 12:40:32 +01:00
William Waghorn 1debd88ce3 imaadp32: Refuse unknown destination format.
ADPCM_FormatSuggest must report NOTPOSSIBLE if the destination format
is not supported.
2009-03-23 12:37:40 +01:00
William Waghorn 461a428fe6 msadp32: Refuse unknown destination format.
ADPCM_FormatSuggest must report NOTPOSSIBLE if the destination format
is not supported.
2009-03-23 12:37:37 +01:00
Michael Stefaniuc 5b6be96a18 mshtml: Update the German translation. 2009-03-23 12:36:55 +01:00
Michael Stefaniuc 16425006c6 mshtml: Convert the German translation to UTF8. 2009-03-23 12:36:51 +01:00
Michael Stefaniuc 5eabd089e3 mshtml: Update the Romanian translation. 2009-03-23 12:36:21 +01:00
Paul Vriens 5974ad1200 ddraw/tests: Fix a test failure on VMware and some native boxes. 2009-03-13 14:55:47 +01:00
Paul Vriens 27f52727e4 ddraw/tests: Fix two test failures on W2K/VMware. 2009-03-13 14:53:02 +01:00
Paul Vriens 3668edcdf4 gdi32/tests: Fix some test failures on Win9x. 2009-03-13 14:52:52 +01:00
Hans Leidekker ba50d15060 msi: Set concurrency model to multi-threaded for custom action threads.
A custom action in the office 2007 sp1 installer fails right after calling
CoInitializeEx(NULL, COINIT_MULTITHREADED). This is because our code calls
CoInitialize(NULL) first, which sets a different concurrency model, and a
subsequent call with a different model will return RPC_E_CHANGED_MODE.

Ergo, we should set the model to multi-threaded too.
2009-03-13 14:52:48 +01:00
Piotr Caban 3bc7bdab88 mshtml: Added IHTMLWindow2_confirm implementation. 2009-03-13 14:12:49 +01:00
Piotr Caban 147cf1da55 mshtml: Added HTMLWindow2_prompt implementation. 2009-03-13 14:12:35 +01:00
Stefano Guidoni 3a54e89ff8 msacm32: acmFormatEnum: Implement ACM_FORMATENUMF_SUGGEST. 2009-03-13 13:26:14 +01:00
Detlef Riekenberg e1413faeb7 localspl: Return 0 for the local computer. 2009-03-13 13:21:08 +01:00
Aric Stewart 79859cb3ac dinput: OS/X joystick: Sort buttons based on usage as some controllers report the buttons out of order.
Makes the xbox 360 controller button mapping more logical.
2009-03-13 13:21:07 +01:00
Hans Leidekker 4da865f324 msi: Handle ADVERTISE overrides. 2009-03-13 13:21:07 +01:00
Hans Leidekker 804d66039d msi: Correct spec entry for MsiGetProductInfoA/W. 2009-03-13 13:21:07 +01:00
Alexandre Julliard c4c2d9807a winedos: Don't create an import library. 2009-03-13 12:00:02 +01:00
Alexandre Julliard 50c7473882 vwin32.vxd: Load winedos dynamically. 2009-03-13 11:59:48 +01:00
Alexandre Julliard bc553a09ca ifsmgr.vxd: Load winedos dynamically. 2009-03-13 11:59:42 +01:00
Alexandre Julliard 75be87dd75 ntdll: Move the copy_context function into the respective CPU-specific files. 2009-03-13 11:31:25 +01:00
Alexandre Julliard 10350c19a0 user32/tests: Print a more useful line number in check_class and check_instance tests. 2009-03-13 11:30:15 +01:00
Alexandre Julliard 0caa310c37 user32/tests: Add optional restore sequence for Vista. 2009-03-13 11:29:53 +01:00
Henri Verbeet 2dc7fc2916 wined3d: Remove the format field from IWineD3DResourceClass. 2009-03-13 11:29:19 +01:00
Henri Verbeet a56e3a102b wined3d: Only return a pointer to struct GlPixelFormatDesc from getFormatDescEntry(). 2009-03-13 11:29:10 +01:00
Henri Verbeet 53bf5c2658 wined3d: Add fields from StaticPixelFormatDesc to struct GlPixelFormatDesc.
The idea here is that we should lookup format information in struct
GlPixelFormatDesc, while StaticPixelFormatDesc and GlPixelFormatDescTemplate
will only be used to build the table.
2009-03-13 11:29:01 +01:00
Henri Verbeet fbfc7c9742 wined3d: Remove the width and height fields from IWineD3DTextureImpl. 2009-03-13 11:28:55 +01:00
Henri Verbeet a3657c164d wined3d: Remove some redundant fields from struct glDescriptor. 2009-03-13 11:28:50 +01:00
Henri Verbeet a139683a60 wined3d: Eliminate the heightscale field from IWineD3DSurfaceImpl. 2009-03-13 11:28:45 +01:00
Henri Verbeet e56a4cb799 wined3d: Also change the resource's format desc in IWineD3DBaseSurfaceImpl_SetFormat(). 2009-03-13 11:28:40 +01:00
Henri Verbeet 24100cd026 d3d8: Release the d3d8 shader once we're done with it in IDirect3DDevice8Impl_GetPixelShader(). 2009-03-13 11:28:35 +01:00
Nikolay Sivov b7f0dd64da comctl32: LVN_ITEMCHANGED notification should be sent for each item when group selected for ~LVS_OWNERDATA. 2009-03-13 11:28:31 +01:00
Michael Stefaniuc efbb4ebf3e widl: Output "LONG" instead of "long" for a 32bit integer.
long is always 32bit in IDL files but that's not true in C.
2009-03-13 11:15:21 +01:00
Paul Vriens d11e14d77f crypt32/tests: Fix some test failures on older NT4 boxes. 2009-03-13 10:07:23 +01:00
Paul Vriens 190ffe58b2 crypt32/tests: Fix some crashes on older NT4 boxes. 2009-03-13 10:07:17 +01:00
Paul Vriens 1bf308eaa7 crypt32/tests: Fix some test failures on Win9x. 2009-03-13 10:07:05 +01:00
Paul Vriens dde935f0bf gdi32/tests: Fix two test failures on Win9x. 2009-03-12 15:39:51 +01:00
Paul Vriens 78402cfa7a fusion/tests: Fix some test failures on Win98. 2009-03-12 15:39:38 +01:00
Paul Vriens 0a3509255e shell32/tests: Fix a test failure on W2K and earlier. 2009-03-12 14:29:56 +01:00
Paul Vriens 7a8000d4e8 msi/tests: Fix a test for systems with %TEMP% being less than 2 levels deep. 2009-03-12 14:29:56 +01:00
Hans Leidekker 40cfbaf023 msi: Fix handling of REINSTALL overrides.
We were forcing features with a REINSTALL override to be reinstalled
locally, which is only correct if the original install state is local.

This causes problems with the office 2007 sp1 installer, which applies
a REINSTALL override to an advertised feature.
2009-03-12 14:29:56 +01:00
Francois Gouget a2de9de262 mshtml: Fix typos in the French translation. 2009-03-12 14:29:56 +01:00
Francois Gouget 40363a223c dinput: Add a trailing '\n' to ERR() messages.
Also convert a 'smart' quote to a regular quote.
2009-03-12 14:29:56 +01:00
Alexandre Julliard ca5d2eabdc winspool.drv: Make sure the DEVMODE structure is fully initialized. 2009-03-12 14:29:17 +01:00
Ken Thomases df0f32bbd9 dbghelp: Increase file read buffer size for calc_crc32. 2009-03-12 14:29:14 +01:00
Ken Thomases 637827a2d0 dbghelp: Extract calc_crc32 function into a separate file. 2009-03-12 14:29:03 +01:00
Ken Thomases b8f6a68d6f dbghelp: Rename some things to be less ELF-centric. 2009-03-12 13:09:56 +01:00
Ken Thomases 985f0ea18f dbghelp/stabs: Track line numbers pending for an upcoming function.
On Darwin, line numbers usually precede the associated function.
2009-03-12 13:09:56 +01:00
Ken Thomases 65d929079c dbghelp/stabs: Allow pending list to include line numbers as well as variables.
On Darwin, line numbers usually precede the associated function.
2009-03-12 13:09:56 +01:00
Ken Thomases a1ac32822a dbghelp/stabs: Extract growing of pending_block's buffer to pending_make_room(). 2009-03-12 13:09:56 +01:00
Ken Thomases 615fff293a dbghelp: Teach stabs_parse about other kinds of Mach-O symbol definitions. 2009-03-12 13:09:56 +01:00
Ken Thomases 3db11b98b7 dbghelp: Let stabs_parse call back for real (non-debug) symbol definitions. 2009-03-12 13:09:55 +01:00
Ken Thomases 82a3f8fcb2 dbghelp/stabs: Decode the Stabs type more carefully. 2009-03-12 13:09:55 +01:00
Ken Thomases 1ecd634c4b dbghelp/stabs: Ignore the N_OSO type used on Darwin. 2009-03-12 13:09:55 +01:00
Ken Thomases 1f4ddbaed9 dbghelp/stabs: Translate additional register codes. 2009-03-12 13:09:55 +01:00
Henri Verbeet e3bcc7544c wined3d: Remove the shader_color_fixup field from IWineD3DBaseTextureClass.
This is redundant now.
2009-03-12 13:09:55 +01:00
Henri Verbeet 1dcf222ab2 wined3d: Get rid of some calls to getFormatDescEntry().
Use the format description stored in the resource instead.
2009-03-12 13:09:55 +01:00
Henri Verbeet 38178541b0 wined3d: Store a pointer to the format description in the resource.
The goal is to eventually use a pointer to the format description in most
places where we currently use WINED3DFORMAT. IWineD3DSurfaceImpl for example
has copies of several fields from the format description, but also needs to
lookup the format description itself in several places.
2009-03-12 13:09:55 +01:00
Henri Verbeet 81075d2db3 wined3d: Remove a redundant check.
This is redundant now, InitAdapters() will only be called once for each
IWineD3DImpl object, as pointed out by Allan Tong.
2009-03-12 13:09:55 +01:00
Henri Verbeet e4ea7976a5 wined3d: Remove an unused field. 2009-03-12 13:09:55 +01:00
Henri Verbeet 2219749ae9 wined3d: Explicitly pass the texUnitMap to shader_glsl_load_vsamplers() and shader_glsl_load_psamplers().
The general idea here is to reduce dependencies on the entire stateblock, and
pass the real dependencies explicitly. This should make it clearer what
context a shader really needs.
2009-03-12 13:09:55 +01:00
Alexandre Julliard c1b411e321 setupapi: Check for NULL module to avoid an exception in RtlImageNtHeader.
This allows creating a wineprefix on 64-bit, where exception handling
doesn't quite work yet.
2009-03-12 13:09:55 +01:00
Alexandre Julliard 85f8f30a65 rpcrt4: Use RpcMsg->Buffer instead of BufferStart since the latter isn't always set. 2009-03-12 13:09:54 +01:00
Michael Stefaniuc cb133a12d0 mshtml: Change long to LONG in mshtml.idl (remaining stuff). 2009-03-12 13:09:54 +01:00
Michael Stefaniuc 491ae71e52 mshtml: Change long to LONG in mshtml.idl (HTML*Element stuff). 2009-03-12 13:09:54 +01:00
Michael Stefaniuc 165f691ca8 mshtml: Change long to LONG in mshtml.idl (htmlwindow.c part). 2009-03-12 13:09:54 +01:00
Michael Stefaniuc b14c0056dd qedit: Change long to LONG in qedit.idl. 2009-03-12 13:09:54 +01:00
Michael Stefaniuc 7ef5f44bb5 include: Change long to LONG in axextend.idl. 2009-03-12 13:09:54 +01:00
Michael Stefaniuc 8e64efeeec d3d9/tests: Fix some ok() strings in the fog test. 2009-03-12 13:09:54 +01:00
Michael Stefaniuc a242d601cc d3d9/tests: Limit the back buffer to 800x600 in the scissor size test. 2009-03-12 13:09:54 +01:00
Christian Costa df48d6f578 d3dxof: Use offsets to reference data instead of pointers so data buffer can be resized. 2009-03-12 13:09:53 +01:00
Paul Vriens fd77bc5f10 crypt32/tests: Fix a test failure on Win9x. 2009-03-12 13:09:53 +01:00
Paul Vriens d5e9c3cf92 ddraw/tests: Fix some test failures on W2K/VMware. 2009-03-12 13:09:53 +01:00
Jacek Caban 0700f281ce mshtml: Don't use unicode constants for HTML IDs (code clean up). 2009-03-12 13:09:53 +01:00
Aric Stewart 6bbec8e660 dinput: OS/X joystick: Check usage page to avoid odd non-button elements found on the 360 controller. 2009-03-12 13:09:53 +01:00
Jeremy White 4b92f6c966 twain_32: Revise internal documentation and one test slightly to bring into line with TWAIN 1.8 requirements. 2009-03-12 13:09:53 +01:00
Jeremy White 33ea7d0801 sane.ds: Add support for DG_IMAGE/DAT_IMAGELAYOUT/GET and SET. Enables Acrobat to use custom scan sizes. 2009-03-12 13:09:53 +01:00
Alexandre Julliard d5a4a6635e oleaut32: Make ole2disp.dll into a stand-alone 16-bit module. 2009-03-12 13:09:53 +01:00
Alexandre Julliard 8a7089570d oleaut32: Make typelib.dll into a stand-alone 16-bit module. 2009-03-12 13:09:52 +01:00
Alexandre Julliard 7b6dd2c9f8 ole32: Get rid of WINE_StringFromCLSID and A->W conversions. 2009-03-12 13:09:52 +01:00
Alexandre Julliard 6b40f64e18 ole32: Make compobj.dll into a stand-alone 16-bit module. 2009-03-12 13:09:31 +01:00
Alexandre Julliard 2e1b309fba ole32: Make ole2.dll into a stand-alone 16-bit module. 2009-03-11 17:05:20 +01:00
Alexandre Julliard f7fe2edadd ole32: Make storage.dll into a stand-alone 16-bit module. 2009-03-11 17:03:10 +01:00
Alexandre Julliard 7511d67447 ole32: Make ole2nls.dll into a stand-alone 16-bit module. 2009-03-11 16:53:06 +01:00
Alexandre Julliard dc81065d44 ole32: Make ole2thk.dll into a stand-alone 16-bit module. 2009-03-11 16:51:09 +01:00
Alexandre Julliard b4bbe0c4a0 ole32: Make ole2prox.dll into a stand-alone 16-bit module. 2009-03-11 16:51:09 +01:00
Alexandre Julliard ea6382623e ole32: Make ole2conv.dll into a stand-alone 16-bit module. 2009-03-11 16:51:09 +01:00