Commit Graph

9961 Commits

Author SHA1 Message Date
Mike McCormack 895d1b7160 Output EMR_POLYGON16 records when possible. 2004-12-21 14:49:19 +00:00
Crestez Leonard f4205ad71f Check for malformed source rect in DIB_DirectDrawSurfact_BltFast, and
return DDERR_INVALID_RECT.
2004-12-21 14:47:35 +00:00
Dmitry Timoshkov 2b98f3255f Fully initialize NEWTEXTMETRICEXW structure for bitmap fonts. 2004-12-21 14:45:38 +00:00
Michael Stefaniuc 7cb43c9dbe Do not check for non NULL pointer before HeepFree'ing it. It's
redundant.
2004-12-21 14:42:35 +00:00
Jakob Eriksson 8c6a442b1a There may be no default MAPI malloc installed. 2004-12-21 14:40:19 +00:00
Rein Klazes c0b189b3b6 You can make an invisible window the active window. 2004-12-21 14:36:32 +00:00
Michael Jung a3b97e051a Respect the sDescription parameter in CryptSignHash and
CryptVerifySignature.
2004-12-21 14:34:18 +00:00
Francois Gouget 6fb1a20020 Assorted spelling fixes. 2004-12-20 19:27:06 +00:00
Robert Reif 2d8e75dab5 A driver does not have to support all formats. 2004-12-20 19:08:18 +00:00
Jon Griffiths 32454a81a5 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-20 19:00:11 +00:00
Jacek Caban 51077d1e86 - Added test of BindToStorage.
- Added some declarations to urlmon.idl.
2004-12-20 18:58:04 +00:00
Michael Jung e9cb2e6d5f ixed calculation of buffer size in CRYPT_ANSIToUnicode and
CRYPT_UnicodeToANSI.
2004-12-20 18:52:41 +00:00
Steven Edwards 191a91d44a MSVC porting fixes. 2004-12-20 18:50:33 +00:00
Robert Reif 6ca75f8bb7 Return actual result on error. 2004-12-20 17:09:12 +00:00
Christian Costa 3bb7f70f6b Enable creation of the RGB device. 2004-12-20 17:08:41 +00:00
Christian Costa 5182f707f5 Fixed MediaSample passing. This is the upstream filter that releases
it.
Set ppMediaType to NULL when returning S_FALSE in
IMediaSample_GetMediaType (required by native Quartz dll).
Added support for 32-bit depth source in video renderer.
2004-12-20 17:07:17 +00:00
Bill Medland 405abd5b06 Fully initialise the structure to prevent ill-defined behaviour. 2004-12-20 17:05:44 +00:00
Hans Leidekker c1cd989450 Stub implementations for all documented functions. 2004-12-20 17:04:11 +00:00
Michael Jung 74f458fcdf Respect sDescription parameter in CPSignHash and CPVerifySignature. 2004-12-20 17:03:01 +00:00
Robert Shearman 10411d5fe5 - Make the month calendar child window auto-size instead of using a
hard coded 200px.
- Use SetFocus when the control is clicked on to get the correct
  behaviour when another control clicked on.
- Force the WS_EX_CLIENTEDGE style, instead of emulating it.
2004-12-20 17:00:46 +00:00
Rein Klazes b681cd1818 - make sure that tests marked as todo_wine and actually succeed under
wine will be counted as failures
- remove todo_wine from a bunch of tests
- log the line numbers of the actual tests, not those of a helper
  function.
2004-12-20 16:59:26 +00:00
Ulrich Czekalla e05dcc2975 Add partial handler for WM_PRINTCLIENT. 2004-12-20 16:55:57 +00:00
Rémi Assailly 853f79bdad - removed unused tagPALETTEOBJ and tagWINDOWPOS
- tagBITMAPOBJ is declared twice, removed one.
2004-12-17 19:35:16 +00:00
Alexandre Julliard 758b2887e9 Remove some no longer needed AW functions. 2004-12-17 19:20:07 +00:00
Alexandre Julliard ddd2486e98 Expand the COPYTEST macro to avoid trouble with 64-bit types. 2004-12-17 19:13:24 +00:00
Jon Griffiths 49e13df700 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-17 19:09:29 +00:00
Raphael Junqueira 66cae0d2a8 Fixed build problem with GL_VERSION_1_2. 2004-12-17 19:07:44 +00:00
Vincent Béron a29d82239e Better detect a dll's Windows version. 2004-12-17 19:06:30 +00:00
Rein Klazes 71e322b29f ShellExecuteEx, ExtractIconEx, SHFileOperation, SHGetFileInfo,
SHGetPathFromIDList spec entries always refer to the Ansi
version. Problem found by Paul Vriens.
2004-12-17 19:05:46 +00:00
Robert Reif 7b53f635f7 Return flag for DRVM_MAPPER_PREFERRED_GET. 2004-12-17 19:04:28 +00:00
Andreas Mohr 08383277cb Fixed a typo. 2004-12-17 19:01:22 +00:00
Andreas Mohr 35583201e8 GetTempPath*() uses DWORD parameters instead of UINT. 2004-12-17 19:00:09 +00:00
Huw Davies dcb25230e0 Fix comment to reflect reality and indeed the code. 2004-12-17 18:56:49 +00:00
Robert Shearman 6b85523c59 Implement SS_CENTERIMAGE for static control. 2004-12-17 18:53:32 +00:00
Robert Shearman 1e92f4a3c7 - Add code for hot tracking.
- Draw hot items with underline and with highlight colour with
  TVS_TRACKSELECT style.
- Set cursor to hand cursor with TVS_TRACKSELECT style.
- Make sure uInternalStatus is consistent with actual scrollbar state
  by forcing scrollbars off in WM_CREATE handler.
2004-12-17 18:52:04 +00:00
Robert Shearman 1d2bdf5ab9 - Implement WM_ENABLE handler to update cached control style when the
control is disabled.
- Move background drawing into WM_ERASEBKGND handler and draw the
  background differently when disabled.
- Change WM_PAINT handler to draw text with transparent background and
  with the correct colour for the style.
- Initialize selected field to -1 instead of 0 so that the control
  notices when field 0 is selected.
2004-12-17 18:50:11 +00:00
Dmitry Timoshkov 99fda0a1de Add a mouse input test case, make the test pass under Wine. 2004-12-17 18:49:24 +00:00
Ivan Leo Puoti 3b1a7a7a23 Better EXE version check in VERSION_GetLinkedDllVersion. 2004-12-16 14:48:43 +00:00
Alexandre Julliard 77dd4f5b0a Added a few functions that are now implemented. 2004-12-16 14:43:54 +00:00
Jon Griffiths f82272c92f Remove unneeded headers to reduce unneeded rebuilds. 2004-12-16 14:35:55 +00:00
Juan Lang e0399f6c10 In Netbios(),
- set ncb_retcode and ncb_cmd_cplt for NCB_ADDNAME
- always make sure adapters have been enumerated.
2004-12-16 14:34:47 +00:00
Stefan Leichter 6ab1bc9696 Fixed tests of GetFileVersionInfoSizeA for win2k3. 2004-12-16 14:34:18 +00:00
Aric Stewart 3d5c00e104 Let negative number be parsed correctly. Needed for accessing actions
with sequences such as -1.
2004-12-16 14:33:56 +00:00
Vitaly Lipatov 671267a177 Add ScreenX, ScreenY, ColorBits installer properties. 2004-12-16 14:31:59 +00:00
Vitaly Lipatov 5c4116bc66 Add description for MsiGetMode, MSIRUNMODE constants. 2004-12-16 14:29:25 +00:00
Christian Costa 1d90e4312f Many fixes to the system clock implementation.
Ensure there is a clock before doing any AddRef or Release in the AVI
splitter.
Improved tests a bit.
Misc fixes and traces clean-up.
2004-12-16 14:25:15 +00:00
Ge van Geldorp b4bb1c931c Allocate correct amount of memory. 2004-12-16 14:23:16 +00:00
Jon Griffiths 873cd009d0 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-15 10:54:44 +00:00
Alexandre Julliard 81e0fffba2 It makes no sense to export the dll entry point as stub. 2004-12-15 10:52:57 +00:00
Stefan Leichter 64b4d5a40f Fixed tests of GetAcceptLanguagesA for win98. 2004-12-15 10:50:21 +00:00
Jon Griffiths 1f79d57d3a Use the A version of calls when passing ASCII strings. 2004-12-15 10:50:01 +00:00
Jon Griffiths 25a3ff6a1a Include shlwapi.h to get prototypes, and correct 2 wrong ones. 2004-12-15 10:48:51 +00:00
Jon Griffiths 7b188952a5 Documentation fixes. 2004-12-15 10:48:18 +00:00
Rein Klazes 5dc91e6c08 A starting process must obey the STARTF_USESTDHANDLES flag and use the
standard io handles from the StartupInfo structure, even if it is
starting a new console.
2004-12-15 10:47:23 +00:00
Dmitry Timoshkov da10a46ca7 Add Russian translations. 2004-12-15 10:44:00 +00:00
Alexandre Julliard d5088668de Generate stub entries on the fly for missing entry points instead of
returning a deadbeef pointer.
2004-12-14 20:03:23 +00:00
Ken Belleau c7471d11ef Implemented EnumCalendarInfo(A/W/ExA/ExW). 2004-12-14 19:59:43 +00:00
Robert Shearman 9fdd91fdc4 - Add documentation to several functions.
- Coding style changes according to the style Mike and I have agreed
  upon for COM related files.
2004-12-14 15:31:05 +00:00
Robert Shearman 2fa9a0a6fd Remove unneeded includes and the unused COMPOBJ_hInstance32 variable. 2004-12-14 15:28:58 +00:00
James Hawkins ce4a4ef981 Minor documentation addition. 2004-12-14 15:27:05 +00:00
James Hawkins 7f34c04067 Cleanup some documentation. 2004-12-14 15:26:04 +00:00
Robert Shearman 40b4f7f6e6 Use OBJREF on the wire for generic marshaling functions. 2004-12-14 15:14:40 +00:00
Juan Lang 7b44be79df Implement _popen and _pclose, and use debugstr_a to avoid a crash
tracing long command lines.
2004-12-14 15:13:54 +00:00
Juan Lang 8c0ccdcb68 Use debugstr_a to avoid crash tracing long command line. 2004-12-14 15:13:05 +00:00
Juan Lang 9b6c0eff37 - make file functions (mostly) thread-safe
- update a couple traces
2004-12-14 11:59:43 +00:00
Jason Edmeades c4de952eb5 Add Clear, Present and EndScene support and fix a bug in the drawing
code.
2004-12-14 11:54:27 +00:00
Robert Reif 3e2af5d04f Fix a typo that didn't allow pcm to mulaw conversions. 2004-12-14 11:45:11 +00:00
Robert Shearman 67942791e2 Implement RPC_E_DISCONNECTED in proxies. 2004-12-14 11:44:11 +00:00
Francois Gouget eb3f078c75 Add trailing '\n's to ok() calls. 2004-12-14 11:41:24 +00:00
Michael Stefaniuc 1493433e38 Missing HeapFree's + 1 LocalFree (found by smatch). 2004-12-14 11:38:50 +00:00
Robert Shearman 398a595377 Fixed incorrect unsigned test. 2004-12-14 11:35:12 +00:00
Eric Pouech 4056d7ef8c Fixed some errors in function prototypes. 2004-12-13 21:19:01 +00:00
Robert Shearman 7572b125b5 Implement NtQueryTimer. 2004-12-13 21:10:58 +00:00
Jason Edmeades 2003c7ab11 Add {G,S}etRenderState and {G,S}etTextureStageState support, and
ensure the stateblock is fully populated at device startup.
2004-12-13 13:35:38 +00:00
Robert Reif 20f8397321 Make the PCM conversion routines of msacm produce identical results to
the native dll.
Allow any PCM to PCM conversion, not just advertised ones.
2004-12-13 13:31:36 +00:00
Hans Leidekker 97b7e0dec7 Fix compilation with GCC 4. 2004-12-13 13:30:49 +00:00
Michael Jung 96ebad1a0d Implemented CPSignHash and CPVerifySignature.
Added tests for CPVerifySignature.
Fixed minor bugs in implglue.c.
2004-12-13 13:24:48 +00:00
Hans Leidekker 3e60f767ef Test and implement SetColorProfileElement.
Document more functions.
2004-12-13 13:23:17 +00:00
Juan Lang 76d8779c6f - use Heap functions rather than libc for mem allocation
- document a bunch of functions
2004-12-13 13:21:39 +00:00
Gerald Pfeifer 53b71e464a Use proper type for fourth parameter to VerQueryValueW(). 2004-12-13 13:20:36 +00:00
Christian Costa 6a8ae41c9d Handle device class in DX8 enumeration (found by Robert Reif).
Fixed remaining DX8 device types.
Factorized a bit GetCapabilities for keyboard and mouse.
2004-12-13 13:17:03 +00:00
Huw Davies dc27c04ebf Fix always false test. Spotted by Eric Pouech. 2004-12-13 13:14:36 +00:00
Eric Pouech eefb72c826 Fixed copy&paste error. 2004-12-13 12:04:14 +00:00
Eric Pouech c164e069a8 Fixed array index overflow. 2004-12-13 12:01:58 +00:00
Jon Griffiths d6139af2da Implement the remaining MRU functions, fix a couple of differences
from native comctl32, add tests of MRU behaviour and documentation.
2004-12-10 15:31:38 +00:00
Rein Klazes 03d9cf286e - implement __pioinfo, __badioinfo and _adjust_fdiv
- remove all stubs of data item from the spec file, those actually may
  hide problems.
2004-12-10 15:28:25 +00:00
Michael Stefaniuc 9fe94da2aa Add missing HeapFree's (found by smatch). 2004-12-10 15:24:52 +00:00
Alexandre Julliard 25b6493aee Added some sanity checks on window dimensions. 2004-12-09 16:58:00 +00:00
Alexandre Julliard 50c1a6b959 Fixed read_directory_getdents for large directories (found by Rein
Klazes).
2004-12-09 16:54:20 +00:00
Alexander Yaworsky e849a56673 Check service database name in OpenSCManager(). 2004-12-09 16:52:10 +00:00
Juan Lang 1e23777ae5 - implement _dup, _dup2, and _pipe
- make max file descriptors 2048 to match MS
- increase max file streams to match
2004-12-09 16:51:26 +00:00
Alexandre Julliard ebe3c529b1 Janitorial: C booleans must not be compared against TRUE. 2004-12-09 14:07:59 +00:00
Alexandre Julliard 4a9b22b2c3 Merged system metrics support into sysparams.c, and moved that file to
the dlls/user directory.
2004-12-09 13:48:56 +00:00
James Hawkins f238cd88e8 Properly implement DllCanUnloadNow ref counting. 2004-12-09 13:46:47 +00:00
José Manuel Ferrer Ortiz 7a03fd6763 Added some Spanish translations. 2004-12-09 13:44:20 +00:00
Alexandre Julliard 94ee1ebd6c Remove a few no longer needed 16-bit exports from gdi32. 2004-12-09 11:51:21 +00:00
Alexandre Julliard 65af698536 Use an escape mechanism similar to the x11drv one to set the DC
origin.
2004-12-09 11:45:16 +00:00
Jason Edmeades f738c146e2 Add {G,S}etIndices, {G,S}Viewport and enable the basic drawing
functionality into wined3d and call from d3d9.
2004-12-09 11:42:34 +00:00
Klemens Friedl 586930973d More Windows-like About dialog. 2004-12-09 11:39:31 +00:00
Walt Ogburn eca0a25634 Added some tests for win-format metafiles. 2004-12-09 11:37:59 +00:00
Christian Costa be82f977ce Initialize the hkey member when creating the propery bag object. 2004-12-09 11:37:09 +00:00
Huw Davies 033276b687 Remove the remaining dependencies on internal structures from Invoke. 2004-12-09 11:36:27 +00:00
Alexandre Julliard 86b95b8c6d Revert previous change since it causes a crash in desktop mode. 2004-12-08 19:45:05 +00:00
Rein Klazes bcb3490d3c GetUpdateRect can be called with a NULL rect. 2004-12-08 19:43:45 +00:00
Mike McCormack 42d55786b9 Stub implementation for GetLastInputInfo. 2004-12-08 19:41:36 +00:00
Thomas Weidenmüller a1f3756daa Free allocated font handles when control is destroyed. 2004-12-08 19:36:23 +00:00
Christian Costa ce70daf3ec Allocate the proper size for the SystemClock object. 2004-12-08 19:33:09 +00:00
Huw Davies 3dc64fc541 GetTypeAttr should deep copy the typedesc. 2004-12-08 19:32:28 +00:00
Alexandre Julliard 6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Robert Shearman 2c3de6db24 - Make the wine_marshal_id structure more like the DCOM OBJREF
structure, by replacing the process id field by apartment id (OXID),
  changing the users of the process id field to use the new field and
  renaming the objectid field to oid.
- Fix StdMarshalImpl_UnmarshalInterface to invalidate and release its
  stub when doing a same apartment marshal.
2004-12-08 17:49:30 +00:00
Huw Davies 7a6c099921 Fix return value of GetVarIndexOfMemId. 2004-12-08 17:48:16 +00:00
Alexandre Julliard d646c7ed32 Moved some more 16-bit USER functions to the corresponding 16-bit
files.
2004-12-08 14:15:24 +00:00
Alexandre Julliard 56ef1fec30 Moved palette functions to user_main.c and removed
windows/painting.c.
2004-12-08 14:12:09 +00:00
Gerald Pfeifer cd2b2bd99a Avoid a warning on FreeBSD. 2004-12-08 14:09:37 +00:00
Mike McCormack 0128a849b1 Stub implementations for Lsa(Store/Retrieve)PrivateData. 2004-12-08 14:02:26 +00:00
Alexander Yaworsky 9087fb2000 Notify StartService when service control dispatcher has been
started. Otherwise StartService terminates service process.
2004-12-08 14:01:26 +00:00
Robert Shearman cd0970eb24 Make the DECIMAL_SETZERO macro take a DECIMAL instead of a DECIMAL* as
in the Microsoft headers and fix up the only caller.
2004-12-08 13:59:52 +00:00
Ge van Geldorp c24ca67f58 Match PSDK definitions for LPCWAVEFORMATEX. 2004-12-08 13:57:55 +00:00
Stefan Leichter 77928370a5 Fixed tests of GetAcceptLanguagesA for win9x/ME. 2004-12-08 13:52:02 +00:00
Juan Lang e520346265 Convert some registry calls from A to W. 2004-12-08 13:49:36 +00:00
Jacek Caban 7af955a198 - Implemented CreateAsyncBindCtx.
- Added test.
2004-12-08 13:46:01 +00:00
Michael Jung 0e9f423b17 Fixed linking issues. 2004-12-08 13:44:41 +00:00
Dmitry Timoshkov a6429d6065 Indicate that support for HCBT_SYSCOMMAND hooks is implemented. 2004-12-08 13:38:25 +00:00
Alexandre Julliard 4bfeb2840a Added a bunch of tests for various behaviors of RedrawWindow. 2004-12-07 17:34:19 +00:00
Alexandre Julliard 5defa49979 Moved update region handling to the server. 2004-12-07 17:31:53 +00:00
Juan Lang b100339e2f Flush file in fputc when character is '\n'. 2004-12-07 17:05:08 +00:00
Mike Hearn 36aee71988 Rename the STUBMGR thread to more accurately reflect its purpose. 2004-12-07 17:01:40 +00:00
Huw Davies 23ded07e63 Remove Invoke's dependence on the internal TLBFuncDesc structure.
Fix memory leaks in some failure cases.
2004-12-07 16:59:40 +00:00
Robert Shearman ee6982eeae Implement handle tables and add tests for them. 2004-12-07 14:47:13 +00:00
Hans Leidekker 8360a3a87e Move ICC profile handling into its own file.
Test GetColorProfileFromHandle and SetColorProfileHeader.
Test and partially implement {G,S}etStandardColorSpaceProfile{A,W}.
Improve existing tests and fix any bugs they revealed.
2004-12-07 14:42:47 +00:00
Robert Shearman e7110f0982 Clean up devenum and properly implement DllCanUnloadNow ref counting. 2004-12-07 14:37:11 +00:00
Alexandre Julliard 5f1ef6d09b Fixed compile error. 2004-12-07 14:31:53 +00:00
Jason Edmeades 819b0e1190 Add BaseTexture class support, call from d3d9. 2004-12-07 14:29:12 +00:00
Filip Navara 0e6c60076f - Don't use DrawEdge with NULL device context, it's invalid call and
sets last error.
- Tooltip icons must be destroyed with DestroyIcon and not with
  DeleteObject.
- Rebar cursors must be destroyed with DestroyCursor and not with
  DeleteObject.
2004-12-07 14:27:43 +00:00
Alexander Yaworsky e2b9000b84 Implemented RegisterServiceCtrlHandler, ControlService. 2004-12-07 14:24:58 +00:00
Tomas Vanek 342451b2dd Fixed no memory condition test in IDirectSoundImpl_Create. 2004-12-07 14:23:46 +00:00
Juan Lang a4d4d1979b Use W calls rather than A in CreatePipe. 2004-12-07 14:23:03 +00:00
Christian Costa d3fb100c36 Fixed enumeration of joysticks in DX8.
Fixed some traces.
2004-12-07 14:19:29 +00:00
Huw Davies 367d16931e GetFuncIndexOfMemId should respect invkind and return
TYPE_E_ELEMENTNOTFOUND if the function cannot be found.
2004-12-07 14:18:29 +00:00
Alexandre Julliard b4e495574b Authors: Eric Pouech <pouech-eric@wanadoo.fr>, Filip Navara <xnavara@volny.cz>
32 bit low level drivers now use a Unicode interface (used to be ANSI):
- Send the *_GETDEVCAPS messages in unicode format from the
  *GetDevCapsW function and call the *GetDevCapsW from their respective
  Ansi versions.
- Modify all low level drivers to correctly process the *_GETDEVCAPS
  messages as unicode.
- *_GETDEVCAPS messages are now mapped from/to unicode for 16 bit code.
- Removed all SoundBlaster naming oldies.
Better use of some unicode functions (instead of Ansi) in winmm.
2004-12-06 20:55:25 +00:00
Eric Pouech 294835a839 Another round of const correctness fixes. 2004-12-06 20:43:55 +00:00
Ivan Leo Puoti 01035f172d Register the IME class when imm32.dll is loaded. 2004-12-06 20:39:07 +00:00
Stefan Leichter 2d136f0de9 Fix missing imports on NT4. 2004-12-06 20:38:24 +00:00
Robert Reif d7292751e0 Return the actual device interface name.
Fixes some memory leaks.
2004-12-06 20:37:00 +00:00
Jean-Michel Dault ee2f10d51d Added another Canadian keyboard layout. 2004-12-06 17:06:20 +00:00
Alexandre Julliard 1d38462e52 Fixed a leak in getsockname.
Replaced malloc by HeapAlloc.
2004-12-06 16:52:36 +00:00
Alexandre Julliard da41f988a8 Use a direct getdents syscall on Linux to avoid relying on
implementation details of seekdir/telldir.
2004-12-06 16:48:16 +00:00
Dmitry Timoshkov 12f49fb9b1 ShowWindow activates only a being maximized child window, add a couple
of message tests for MDI child activation.
2004-12-06 16:38:19 +00:00
Dmitry Timoshkov 627260f89e Avoid crashes in ddraw.dll when loading it without x11drv, for
instance from wineprefixcreate in a text mode console.
2004-12-06 16:21:27 +00:00
Mike McCormack d921d161c4 Stub implementation for SetupDiOpenDeviceInterface. 2004-12-06 16:19:15 +00:00