Commit Graph

9648 Commits

Author SHA1 Message Date
Christian Costa 8db6b0a514 Implemented IGraphBuilder methods: Connect, Render, RenderFile &
AddSourceFilter.
Fixed filter name generation in IGraphBuilder::AddFilter.
2004-11-19 18:17:27 +00:00
Robert Shearman 18988663c2 - Use more specific error codes than E_FAIL, where possible.
- Move vtable to end, give it the const modifier, and remove unneeded
  function declarations.
2004-11-19 18:14:47 +00:00
James Hawkins 2515ff77fc Added beginnings of RegQueryValueEx tests. 2004-11-19 18:13:30 +00:00
Huw Davies a90a60866c Fallback to some sensible default values when underlining and striking
out bitmap fonts.
Rotate the strikeout line if the escapement is non-zero.
2004-11-19 18:10:47 +00:00
Zach Gorman 4b5a5868f1 Add the DT_NOPREFIX flag when calling DrawText() for single-line
listview controls.
2004-11-19 18:09:29 +00:00
Hans Leidekker d5fc2b25c9 Add version information. 2004-11-19 18:06:41 +00:00
Christian Costa 0948ed709e Fixed colorkey conversion.
Handle null surface pointer when creating surface.
2004-11-19 18:05:15 +00:00
Mike McCormack fa4036eb79 Use interlocked functions for thread safety. 2004-11-19 18:03:56 +00:00
Christian Costa c0b772dc51 Fixed IEnumPinsImpl_Next. 2004-11-19 18:03:19 +00:00
Eric Pouech 954a612c49 - implement SymUnDName and UndecorateSymbolName on top of
msvcrt.__unDName
- implement SYMOPT_UNDNAME support
2004-11-19 18:02:47 +00:00
Christian Costa 1d428e6a41 Mapped AVIStreamOpenFromFile to AVIStreamOpenFromFileA. 2004-11-19 17:58:18 +00:00
Robert Reif aab3aa05b6 Remove trailing white space introduced in previous patch.
Fixed IDirectSoundCaptureBuffer_Stop to allow another Start to
succeed.
Removed OSS centric buffer recreation hack when doing hardware
acceleration.
Cleaned up error reporting and tracing.
2004-11-19 17:56:56 +00:00
James Hawkins 0bd19bb11d Make four shreg tests pass on XP. 2004-11-19 17:56:08 +00:00
Christian Costa 1252259f6d Added stub for SetQueryNetSessionCount. 2004-11-19 17:55:28 +00:00
Robert Shearman b1e361a93e Pass the address of the handle rather than just the handle to fix a
crash with IE.
2004-11-19 17:54:48 +00:00
Christian Costa 5102cb53af Fixed some forwards. 2004-11-19 17:53:47 +00:00
Mike McCormack 674e237231 Improve the CertStore code a little. 2004-11-10 01:31:50 +00:00
Jason Edmeades d80247ef67 - Stub SetServiceObjectSecurity to pretend to work (return true).
- Change QueryServiceObjectSecurity so it initializes the ACL with a
  null DACL, and return as though it worked.
- Changed QueryServiceStatus to tell if the service is running by the
  presence of some named shared storage - copied from StartService when
  it checks to see if its already running.
2004-11-10 01:31:39 +00:00
James Hawkins 0fec65d6a7 Use SHDeleteKey to remove leftover keys from the shreg tests. 2004-11-10 01:30:59 +00:00
Robert Shearman b98b7dd65d - Set cache bitmap dimensions correctly when a 0x0 image list is used.
- Optimize WM_STYLECHANGED handler to only redraw when a CCS_* style
  is changed, like native.
2004-11-10 01:30:47 +00:00
Michael Jung 5f06380b40 CPAcquireContext: Set last error to ERROR_SUCCESS in case of success. 2004-11-10 01:30:20 +00:00
Hamish 630273d34a Fix for async writes to comm ports. 2004-11-09 20:12:18 +00:00
Stefan Leichter 092c965444 Fixed tests of GetAcceptLanguagesA for platfoms 98,ME,NT4. 2004-11-09 20:11:18 +00:00
Stefan Leichter 79cf64681e Fixed GetFileVersionInfoSizeA tests on NT4 platform. 2004-11-09 20:11:07 +00:00
Robert Reif b46a106ab1 Remove redundant GUID check. 2004-11-09 20:10:46 +00:00
Dmitry Timoshkov 47361da574 - do not move updown control and buddy if an alignment was not requested
- in UDM_SETACCEL handler do not forget to update number of accelerators
- update arrows info in WM_LBUTTONDOWN as well as in WM_MOUSEMOVE
- use accelerators in WM_LBUTTONDOWN handler
2004-11-09 20:03:47 +00:00
Kevin Koltzau 33676ad347 Implementation of GetThemeBackgroundExtent.
Partial implementation of GetThemeBackgroundRegion.
Correct a few comments.
2004-11-09 20:03:25 +00:00
Kevin Koltzau 0e6408c408 Change AlphaBlend to use destination dimensions rather then source. 2004-11-09 20:02:57 +00:00
Kevin Koltzau 399842b136 Fix crash when no theme is set and application ignores errors. 2004-11-09 20:02:39 +00:00
Walt Ogburn e5013299e0 In OlePictureImpl_Load, always use DIB_RGB_COLORS because no indexed
palette has been defined.
2004-11-09 20:02:25 +00:00
Robert Shearman a9b1aa28b3 - bNtfUnicode is a dup' of bUnicode so remove it and fix the few
places where it was used.
- Remove a load of useless NULL infoPtr checks.
- Hardcode the default padding like native instead of using a wacky formula.
- Replace some tabs with spaces and remove NMHDR casts.
2004-11-08 22:17:02 +00:00
William Poetra Yoga H a8b5d29f5f Give the first menu item of a popup menu a distance of 1 pixel to the
top border.
2004-11-08 22:12:42 +00:00
Eric Pouech a2d24c8a4a Now that name undecoration works, fix the type info. 2004-11-08 22:11:05 +00:00
Eric Pouech 98f94544ac Implemented __unDName and __unDNameEx functions. 2004-11-08 22:10:43 +00:00
Vitaliy Margolen d1e44d0763 - return "want all keys" for WM_GETDLGCODE when multi-line
- single-line edit control does not want all messages
- additional style combinations are possible for both multi-line and
  single-line edit controls
- tests to confirm it
2004-11-08 22:10:05 +00:00
Dmitry Timoshkov 00176e33b3 Dimensions of month calendar control should not depend on the client
window size.
2004-11-08 20:27:02 +00:00
Hans Leidekker 4b0f17c893 Add version information. 2004-11-08 20:26:45 +00:00
Eric Pouech dc43edff39 - fixed loading stabs from PE modules compiled with MingW
- enhance some loading logic between ELF/PE DLL pairs
- removed unused indirect memory access function
- get rid of some GCC generated symbols
2004-11-08 20:26:22 +00:00
Walt Ogburn 0bec4b7024 Turn ISO_Left_Tab back into a tab character if needed. 2004-11-08 20:25:37 +00:00
William Poetra Yoga H 30c5be395e Use COLOR_MENUBAR (instead of COLOR_GRADIENTINACTIVECAPTION) as the
upper limit in GetSysColor() validation.
2004-11-08 20:24:50 +00:00
William Poetra Yoga H cb2595932c Fix the button edge color, by using the BF_SOFT border style for
buttons.
2004-11-08 20:24:26 +00:00
Alexandre Julliard fac7a5ab8b Free the memory view before we unload a builtin dll to avoid a race
condition.
2004-11-06 03:54:23 +00:00
Rein Klazes dceae02d73 - RtlTimeFieldsToTime should not normalize the time fields
structure. Instead return error when it is given an unormalized
  date.
- Use better algorithms for RtlTimeToTimeFields and
  RtlTimeFieldsToTime. RtlTimeToTimeFields is about 3 times faster.
- Add tests for RtlTimeFieldsToTime.
- SystemTimeToFileTime must fail if RtlTimeFieldsToTime fails. Users
  of SystemTimeToFileTime must do likewise.
- Remove a todo_wine from SystemTimeToFileTime tests.
- Since msvcrt.mktime must accept unnormalized dates, it cannot use
  SystemTimeToFileTime and do the calculations itself.
- Add some tests for mktime accepting unnormalized dates.
2004-11-06 03:53:53 +00:00
Mike Hearn 45eba51461 Support assigning font objects to other font objects. 2004-11-06 03:49:18 +00:00
Robert Shearman 8d28e0314c Remove unnecessary WNDPROC casts. 2004-11-06 03:49:03 +00:00
Gerald Pfeifer 6d653ab02a Fix format string in WSAAddressToStringA(). 2004-11-06 03:47:01 +00:00
Robert Shearman 75314f474f Implement TBN_RESTORE notification. 2004-11-06 03:45:38 +00:00
Michael Jung 64dce8a579 Implemented a substantial part of rsaenh.dll. 2004-11-04 21:15:32 +00:00
Dmitry Timoshkov 65051ec8e2 Add unix locale to code page mapping for ISO-8859-16. 2004-11-04 21:06:03 +00:00
Hans Leidekker 19def5f7af Implement WSAAddressToString{A,W}.
Add tests for WSAAddressToString{A,W} and WSAStringToAddress{A,W}.
Add TRACEs to WSAStringToAddress{A,W}.
2004-11-04 21:05:48 +00:00
Aric Stewart 11f341cff1 Implemented InternetGetConnectedStateExA. 2004-11-04 21:05:03 +00:00
Aneurin Price 97cc28ff0f - Move printf tests from scanf.c to printf.c (and fix one on the
way).
- Add some more.
2004-11-04 21:03:30 +00:00
Aric Stewart 990ea44e98 Implementation of PathCleanupSpec. 2004-11-04 04:54:08 +00:00
Juan Lang 0fca5acba8 - implement LookupPrivilegeName
- correct LookupPrivilegeValue (had a buffer overrun and sometimes
  returned incorrect LUIDs for well-known values)
- make AllocateLocallyUniqueId less obviously incorrect
- add a bunch of test cases
2004-11-04 04:52:17 +00:00
Robert Shearman 84eaaa168f Fix broken thread start routines. 2004-11-03 22:18:44 +00:00
Tony Lambregts 2dec525020 Fix up init_fp test for freopen. 2004-11-03 22:17:05 +00:00
Aric Stewart 1282d7ad44 Handle 3 more custom action types 2004-11-03 22:16:53 +00:00
Jakob Eriksson 2a798e5f31 AllocateAndInitializeSid does not work on Win98. 2004-11-03 22:14:55 +00:00
Hans Leidekker dca6bdf5c4 Improve {Uninstall,Install}ColorProfile{A,W}.
Better tests for these functions.
2004-11-03 22:14:25 +00:00
Robert Reif 53e5799949 Don't consider a MMSYSERR_NOTSUPPORTED failure a test failure. 2004-11-03 22:13:44 +00:00
Jeremy White 8099c2b9fd Tune the behavior of Sleep() and Waitxxx() to more closely resemble
Windows behavior.  The key is to yield in a Sleep and in any Wait that
times out.
2004-11-02 19:32:03 +00:00
Jeremy White e078899218 The Sleep(0) in this loop is incorrect, and should be removed. This
fixes iTunes and a game reported by che.
2004-11-02 19:26:22 +00:00
Huw Davies 6c1e2480e8 Scale the patterns so that they're rendered at 300dpi.
Create the image dictionary once, rather than every time the PaintProc
is called - should speed printing up somewhat.
2004-11-02 19:25:51 +00:00
Stefan Dösinger 418f82b76f Added WSAAddressToStringA/W stubs. 2004-11-02 19:25:34 +00:00
Vitaly Lipatov 4c801af496 Added MSK timezone info. 2004-11-02 19:25:05 +00:00
Hans Leidekker b67b3c56af Make sure we match output of Win2k protocol enumeration functions. 2004-11-02 19:24:46 +00:00
Michael Jung 82297525b2 Added CET timezone info. 2004-11-02 05:28:01 +00:00
Michael Kaufmann 0dd2910eba - Extended support for BITMAPCOREINFO / BITMAPCOREHEADER structures.
- Always calculate the location of the color table.
- CreateCompatibleBitmap: Create a DIB section if necessary.
- Added some tests.
2004-11-02 05:23:49 +00:00
Fabrice Ménard 7ce764669e Check the type of error returned by SHCreateDirectoryExW. 2004-11-02 05:22:39 +00:00
Roger Olson 3078222105 Add Pacific Standard Time (PST) to TZ_INFO. 2004-11-02 05:22:01 +00:00
Mike McCormack bb66e8a1cf Download the Mozilla Active X control on demand. 2004-11-01 23:22:14 +00:00
Hans Leidekker bec06ad777 Fill WSAPROTOCOL_INFO structures instead of PROTOCOL_INFO structures.
Implement WSCEnumProtocols().
Add some tests.
2004-11-01 23:18:47 +00:00
Dmitry Timoshkov d3eb0550f5 Convert NativeFont control to unicode, use hbrBackground as in native. 2004-11-01 21:08:10 +00:00
Dmitry Timoshkov 5656ca0d6c Add simple implementation of advpack.DoInfInstall. 2004-11-01 21:07:53 +00:00
Dmitry Timoshkov 99a6afcd6c Do not retrieve infoPtr twice in ToolbarWindowProc entry. 2004-11-01 21:07:43 +00:00
Michael Jung 6b12414fc8 CryptGetUserKey: Set return key handle to zero in case of failure. 2004-11-01 21:07:24 +00:00
Dimitrie O. Paun f07f08cfe6 Send notification messages in the format dictated by
infoPtr->notifyFormat.
2004-11-01 21:07:11 +00:00
Stefan Leichter ddae31893d Set the correct last error in EnumUILanguagesA, with tests. 2004-11-01 21:06:28 +00:00
Alexandre Julliard bcb1f8fe05 Get rid of the WIN_NEEDS_BEGINPAINT flag, Windows will happily loop
forever too if WM_PAINT is not handled properly.
2004-10-30 02:13:48 +00:00
Ivan Leo Puoti bc5ffc212b Remove DS_SYSMODAL from msgbox resource. 2004-10-30 02:11:50 +00:00
Francois Gouget 65f1958249 Add support for REG_EXPAND_SZ in set_registry_variables().
Fix processing of environment variables that are too big (>1024
characters): they should be truncated, not ignored.
2004-10-30 02:11:33 +00:00
Francois Gouget f7478816d4 #ifdef out the tests if compiling with the Platform SDK headers since
they are missing TIME_FIELDS.
2004-10-30 02:10:38 +00:00
Francois Gouget 5c033dad79 MIDL_STUB_MESSAGE.UniquePtrCount has been renamed in the latest SDK so
ignore it.
2004-10-30 02:10:22 +00:00
Ulrich Czekalla 601d466674 Add stubs for EnumPrintProcessorsAW. 2004-10-29 21:27:38 +00:00
Rein Klazes cfeef723d2 - Simplify the calculation in TIME_DaylightCompareDate;
- Expand the number of applicable test cases.
2004-10-29 21:27:18 +00:00
Dmitry Timoshkov dd138e3176 Clean up user32/input.c test, remove the wrong assumption that a
window always receives input focus upon creation.
2004-10-29 21:27:04 +00:00
Torbjörn Andersson 09a2eab38d Fixed size check in GetDeviceData. 2004-10-28 21:01:44 +00:00
Jakob Eriksson 2d54019bbd Supposedly fix http test on Windows. 2004-10-28 21:01:04 +00:00
Rein Klazes 073329fa1b In VOLUME_ReadFATSuperblock:
- do not test on the JMP instruction: most boot blocks have that
- test instead on the "FAT" strings first, before the size
  calculation
- do some parameter checking to prevent arithmetic errors
- use meaningful names instead of block offsets
(based on a rejected patch from Vincent Béron).
2004-10-28 21:00:36 +00:00
Rolf Kalbermatter e50a27de04 Use SHCreateDirectoryEx function instead of doing explicit recursive
directory creation.
2004-10-28 20:58:51 +00:00
Rolf Kalbermatter a2ebf8b356 Add test for SHCreateDirectoryEx function.
Fixed some typos.
2004-10-28 20:58:38 +00:00
Alexandre Julliard 7d716db7e7 Use correct type instead of void* in item linked list. 2004-10-27 21:37:02 +00:00
Fabrice Ménard 8818ded2dc Some French translations added. 2004-10-27 21:36:17 +00:00
Rein Klazes d694a376c7 - Reordered some code from the existing helper _GetTimeZoneBias to
make it more general useful (and changed the helper names to
  TIME_xyz).
- Make GetTimeZoneInformation return the correct zone id constants.
- Changed some "const LPX_Y_Z" declarations to "const X_Y_Z *".
2004-10-27 21:19:22 +00:00
Rolf Kalbermatter 87fb440e71 Fix bad memory allocation for unicode buffer. 2004-10-27 21:18:35 +00:00
Stefan Leichter 4408b91174 Fixed GetAcceptLanguagesA tests for Win98. 2004-10-27 21:18:21 +00:00
Dmitry Timoshkov 1945e6b7ba Flush pending messages before testing painting message sequences. 2004-10-27 21:18:01 +00:00
Rein Klazes 2fc0f991d8 In MSVCRT_localtime() return tm_isdst = 0 when there are no daylight
time changes in the local time zone.
2004-10-27 21:17:44 +00:00
Juan Lang c639af64be _SHExpandEnvironmentStrings should return input string if no % found
to expand, and should call ExpandEnvironmentStringsW if it doesn't
handle an environment variable directly.  Based on a patch from Dan
Kegel.
2004-10-27 21:17:30 +00:00
Dimitrie O. Paun c1996e9aeb Use typesafe signature where possible. 2004-10-27 21:16:27 +00:00