Commit Graph

9628 Commits

Author SHA1 Message Date
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
Dimitrie O. Paun 2bccfc4aa9 Rename STATUSWINDOWINFO to STATUS_INFO, for consistency with other
controls. Fix some prototypes. Always pass infoPtr around.
2004-10-27 21:16:17 +00:00
Dimitrie O. Paun bc88300968 Minor cleanups. 2004-10-27 21:16:03 +00:00
Dimitrie O. Paun 5873eb501e Use Unicode functions where possible. 2004-10-27 21:15:53 +00:00
Mike McCormack c9148373e5 Add stub implementations for LaunchINFSection(Ex). 2004-10-27 21:15:34 +00:00
Michael Jung 2f2f3a1d13 CryptCreateHash: Set returned hash handle to zero in case of failure. 2004-10-27 21:15:10 +00:00
Ge van Geldorp b3f2c53155 Use only one .res file. 2004-10-27 00:47:53 +00:00
Kevin Koltzau 92ec21bd2b Add stretching support to AlphaBlend. 2004-10-27 00:43:50 +00:00
Robert Reif 0e3c524f4c Split up audio.c into three separate .c files:
audio.c: OSS functions and waveIn and waveOut driver functions.
dscapture.c: direct sound capture driver implementation.
dsrender.c: direct sound renderer driver implementation.
2004-10-26 22:04:55 +00:00
Mike McCormack d581777c88 Add some tests for time conversion functions. 2004-10-26 22:03:11 +00:00
Dimitrie O. Paun e89adaa84c Move the hwnd self into the listbox LB_DESCR struct.
Use proper types/names in all cases.
Fix some bad indentation.
2004-10-26 22:03:00 +00:00
Robert Reif 01d55a404b win 9x doesn't always support waveOutGetDevCapsW so don't generate an
error for MMSYSERR_NOTSUPPORTED.
Play one second of silence for each sound card when not in interactive
mode.
2004-10-26 21:18:27 +00:00
Dmitry Timoshkov e898c53f2c Make button return exactly the same dialog codes as Windows does.
Add a test case.
2004-10-26 21:18:10 +00:00
Juan Lang 217bd082c6 Update shell32's version to WinXP level. 2004-10-26 21:17:50 +00:00
Robert Reif 50e67ce558 VerifyCertification is not always implemented. 2004-10-26 21:17:37 +00:00
Alexandre Julliard bf88644cee Convert CommConfigDialog to Unicode. 2004-10-26 00:25:58 +00:00
Thorsten Kani d93d3d5ada Use address of tab_item.extra when building drawitemstruct. 2004-10-26 00:22:31 +00:00
Juan Lang 535679aec7 Fix CSIDL_CONTROLS and CSIDL_PRINTERS PIDL types, and update tests now
that they pass.
2004-10-26 00:17:31 +00:00
Mike McCormack 568a91dfd1 SERIALUI: convert to Unicode. 2004-10-26 00:16:39 +00:00
Rein Klazes 4cf122d2aa Correctly use the return value of GetTimeZoneInformation. 2004-10-26 00:11:43 +00:00
Dimitrie O. Paun 63fe9d4490 Implement proper GWL_STYLE handling, proper reaction to style changes.
Merge {{Inc,Dec}rement,Reset{Up,Down}}Field into one method. Fix a
bunch of bugs in the process.  Implement DTM_[GS]ETMCFONT. Indentation
fixes, cleanups.
2004-10-26 00:11:31 +00:00