Commit Graph

9592 Commits

Author SHA1 Message Date
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
Juan Lang 4a6a898e2d Avoid copying invalid data on error. 2004-10-25 21:53:18 +00:00
Dimitrie O. Paun 438ac9d56f Use proper types/names in all cases. Fix some indentation. 2004-10-25 21:49:30 +00:00
Rein Klazes 4ca34c4b2f Correctly use the returned value from GetTimeZoneInformation. 2004-10-25 21:48:57 +00:00
Dmitry Timoshkov c41d0c9a4b - Remove bogus use of nStatCounter and hOleAut32 in CoSetState.
- Remove a comment about protecting per thread data by a critical section.
2004-10-25 21:48:44 +00:00
Dimitrie O. Paun 186b4b6843 Use only Unicode functions, it makes it easier to see we are fully
Unicode compliant.
2004-10-25 21:47:57 +00:00
Eric Pouech 4bb5d3ab3e - fixed the way length of msvcrt runtime info is passed
- always return a NULL runtime info buffer in child if parent's
  runtime info is NULL
- fixed typo in startupinfo size
2004-10-25 21:47:23 +00:00
Robert Reif c67bfb2895 Don't consider no driver a test failure. 2004-10-25 21:46:12 +00:00
Robert Reif 0a16d361e2 Don't consider a device in use a failure. 2004-10-25 21:45:51 +00:00
Sami Aario c2dcecc362 Check the return value of the SHGetDesktopFolder call. 2004-10-25 21:45:36 +00:00
Robert Shearman e0f1444d4e - Don't fill in any more information than native does for notifications.
- Store hit code in a signed integer so that we can see whether it is
  less than zero.
2004-10-25 21:45:14 +00:00
Robert Shearman acfd725df4 - Don't leak memory when an app sends TTM_SETTITLE twice.
- An lParam of 0 indicates that the title should be removed.
2004-10-25 21:44:50 +00:00
Juan Lang 352a00b635 Use shell32 to get the user profile dir. 2004-10-25 21:44:01 +00:00
Juan Lang 531be0b887 Update comment for LsaOpenPolicy. 2004-10-25 21:43:47 +00:00
Francois Gouget 3bb5b093e8 Assorted spelling fixes. 2004-10-22 22:27:51 +00:00
Alexandre Julliard 32457b4f5a Converted more of the (Un)RegisterTypeLib code to Unicode.
Factored out some common routines.
2004-10-22 22:09:09 +00:00
Aric Stewart d906ef03ff Don't reregister ProgIds over and over, also write out the main key
before trying to register the Parent. This avoids loops if a ProgId
has itself as a parent or there is a loop in dependencies.
2004-10-22 22:06:31 +00:00
Stefan Leichter 80c1addb1c Fixed GetModuleBaseNameA tests for WinXP. 2004-10-22 22:04:56 +00:00
Mike McCormack 56fc9bfade Use Unicode functions in RegisterTypeLib. 2004-10-22 20:29:34 +00:00
Alexandre Julliard d3c0cb77d9 VK_0-9 and VK_A-Z are not defined in the Windows headers, removed them
(spotted by Francois Gouget).
2004-10-22 20:29:10 +00:00
Alexandre Julliard 2d2e2e1e55 Avoid copying invalid data on error. 2004-10-22 20:26:23 +00:00
Francois Gouget a1779c1e33 Fix the function pointer declarations so MSVC likes them.
CSIDL_PROFILES is not defined in the Windows SDK.
snprintf and strcasecmp don't exist on Windows. Replace them with
wnsprintfA and lstrcmpiA respectively.
2004-10-22 20:25:46 +00:00
Francois Gouget b2e8b36e50 Flesh out the icm.h header (add COLORMATCHSETUP & co) so it is
necessary to first include winuser.h like on Windows.
2004-10-22 19:56:51 +00:00
Francois Gouget 40692f2aa4 There is no point making '--register' functions stdcall so just
implement them as cdecl.
2004-10-22 19:55:14 +00:00
Stefan Leichter 97f4a203b2 Fixed GetAcceptLanguagesA tests for WinXP. 2004-10-22 19:54:28 +00:00
Rein Klazes 149f70b369 Correct the calculation of the year for the 31'st of December of 2000
and every 400 years after that. Add a test used to find this bug.
2004-10-22 19:54:17 +00:00
Mike McCormack 43149f490c Add a test for creating empty shelllink files. 2004-10-22 19:52:33 +00:00
Dimitrie O. Paun 6898ccbe65 Audit the Date Time Control. Unicodification.
Type safe functions (pass infoPtr and type safe values around).
Some cleanup and indentation fixes.
2004-10-22 19:52:08 +00:00
Robert Reif b50347d452 Don't consider a bad format an error unless the capabilities say it
should be supported.
Don't consider a device already in use an error.
2004-10-22 19:51:54 +00:00
Rolf Kalbermatter eb883577e4 - SHCreateDirectory should create intermediate directories if
necessary.
- Remove extra boolean parameter in SHNotifyMoveFile as it is not
  used.
- Use in SHFileOperation the function SHNotifyCreateDirectory instead
  of SHCreateDirectoryEx as it does not anymore what is needed here.
- Fix several unsigned/signed mismatch warnings.
2004-10-21 22:29:42 +00:00
Uwe Bonnes 194bac7781 Monthcal_SetRange: Set proper value for min date. 2004-10-21 22:28:12 +00:00
Francois Gouget 85ae255f96 Fix some issues reported by winapi_check:
Add mscat.h and wintrust.h; update wincrypt.h.
Fix the CryptCATAdminAcquireContext() and WinVerifyTrust() prototypes
so they use the proper types.
Update the wintrust section of win32.api.
2004-10-21 21:00:29 +00:00
Robert Shearman a4b013c9f2 Always remove WS_BORDER style from ComboBoxEx control. 2004-10-21 20:59:38 +00:00
Ge van Geldorp 9b399da426 - Don't double-quote an already double-quoted argument.
- Properly increment the fmt pointer.
2004-10-21 20:59:25 +00:00
Jason Edmeades 447d5ed048 Implement the beginnings of the stateblock class, and a first method
to use it.
2004-10-21 20:59:12 +00:00
Thorsten Kani c0a142ccee Don't add extra OFFSET_X/Y to the calculation of rcBitmap.top/left,
just use GetSystemMetrics.
2004-10-21 20:58:43 +00:00
Robert Reif d4c9f92c65 Trailing white space cleanup.
Add IClassFactory->CreateInstance aggregation checks.
IID_IDirectSoundCapture and IID_IDirectSoundCapture8 are same so
remove redundant check.
Allocate capture buffer for hw driver if necessary.
2004-10-21 20:57:26 +00:00