Commit Graph

10599 Commits

Author SHA1 Message Date
Dmitry Timoshkov 16875ac3b2 - Pass original wParam to CallNextHookEx.
- Avoid playing games with focus in a newly created thread, that leads
  to all kinds of misbehaviours and failures in window activation
  under Windows.
2005-02-23 12:44:06 +00:00
Robert Reif 3cab60997f Fix tests for win9x and old versions of DirectX. 2005-02-23 12:43:38 +00:00
Michael Stefaniuc a740045064 Stub for CryptCATAdminReleaseContext. 2005-02-23 12:43:12 +00:00
Jeremy White 920ef0fbc9 When we get down to the last fragment or two in our output to the DSP,
we should use the SND_DSP_POST ioctl to let the sound card know to
flush those fragments.  This allows us to precisely know when the
buffer is empty, and fixes another set of winmm tests.
2005-02-23 12:43:04 +00:00
Jeremy White 1b685779a4 When testing the WAVE_MAPPER device, it seems inappropriate (to me) to
demand WAVE_FORMAT_DIRECT; this fixes another slew of tests.
2005-02-23 12:42:43 +00:00
Jeremy White 15ec2780ef When we are converting from one sample rate to another, we do have to
adjust when calculating TIME_SAMPLES.
2005-02-23 12:42:32 +00:00
Jason Edmeades ddd1c1d0a1 Take into account additional requested spacing on break characters. 2005-02-23 12:42:17 +00:00
Jason Edmeades 1c8eea8b74 Enable parsing of vendor strings not matching the expected template. 2005-02-23 12:42:04 +00:00
Maxime Bellengé f28afa1047 Correctly displays the text with ellipsis when there is not enough
room in a header item and an image from an imagelist is displayed on
the right of the text.
2005-02-23 12:41:43 +00:00
José Manuel Ferrer Ortiz f151e9b174 Added MSI Spanish resources. 2005-02-23 12:41:09 +00:00
Alexandre Julliard 548c973457 Allow the client rectangle to be of arbitrary size and dimensions,
regardless of the window rectangle.
2005-02-22 19:41:43 +00:00
TANABE Hiroshi 6585373611 Added Multibyte character set support in GetGlyphOutlineA. 2005-02-22 19:37:18 +00:00
Huw Davies 8e34fa62ff Don't hold the GDI lock when calling DC_GetDCUpdate. 2005-02-22 19:34:33 +00:00
Hans Leidekker 7eba925a4d Forward MD5{Final,Init,Update} to advapi32. 2005-02-22 19:34:15 +00:00
Ivan Leo Puoti d3edafe1e2 Replace GetCurrentProcess() with NtCurrentProcess() in ntdll. 2005-02-22 19:33:50 +00:00
Mike McCormack 09b8264f1d Make sure strings are null terminated. 2005-02-22 19:31:45 +00:00
Martijn Vernooij 2c2db4b486 Scroll instead of repainting when expanding/collapsing trees.
Don't repaint on hover if 'hot tracking' isn't on.
2005-02-22 19:31:01 +00:00
Jacek Caban 73a35a29b9 Added implementation of LockServer. 2005-02-22 19:30:24 +00:00
Huw Davies beea69c820 The typelib cache should take the typelib resource index into
account.
2005-02-22 19:30:16 +00:00
Alexandre Julliard 9b0b45563b Cosmetic fixes. 2005-02-22 16:02:58 +00:00
Mike McCormack 3b2019badb Make lstr* functions inline inside Wine. 2005-02-22 15:50:13 +00:00
Mike McCormack 0d735ac9be - handle IFileSystemBindData in IShellFolder::ParseDisplayName
- convert IShellFolder::ParseDisplayName to use Unicode
2005-02-22 15:47:21 +00:00
Aric Stewart 78a04e39db Update the installed state for components during CostFinalize. Laying
groundwork to be able to start processing uninstall logic as well.
2005-02-22 15:47:00 +00:00
Rein Klazes dfa4354134 DefWindowProc's WM_NCCALC handler must not subtract space for
scrollbars if there is not enough space for it anyway. With tests to
confirm the behavior.
2005-02-22 15:46:36 +00:00
Stefan Leichter 2d133baa3b Make user32_crosstest.exe loadable on NT 3.51. 2005-02-22 15:43:54 +00:00
Alexandre Julliard fa5c982698 DispatchMessage needs to repaint the non-client area if the WM_PAINT
handler didn't do it.
2005-02-22 14:58:52 +00:00
Jason Edmeades e4c2d6ba8c Make RegisterClassExA check that reserved bytes is a valid value.
Tests to confirm this behaviour.
2005-02-22 14:56:28 +00:00
Justin Chevrier dd99a50f37 Point KEYBOARDPREF and SCREENREADER to registry keys and values that
match native.
2005-02-22 14:54:47 +00:00
Jon Griffiths 743fb99a9f Use variant macros instead of accessing the union directly. 2005-02-22 14:54:01 +00:00
Steven Edwards 5f8797f1fd Correct typo. 2005-02-22 14:53:05 +00:00
Jon Griffiths 69e7d31cec Fix race in IMAPIProp_Release(), -W fixes. 2005-02-22 14:51:03 +00:00
Mike McCormack 3d9ba61478 Cleanup, create unicode versions of _ILCreateFromPath,
_ILCreateGuidFromStr, and _ILCreateFromFindData.
2005-02-22 14:50:35 +00:00
Christian Costa 19b78a0e21 Fixed ACM Wrapper. 2005-02-22 14:50:16 +00:00
Darryl Dixon aef6fe3122 Added support for NZDT (New Zealand Daylight Time) to TZ_INFO. 2005-02-22 14:49:59 +00:00
Hans Leidekker 11d70d73ce Add IsDestinationReachableW. 2005-02-22 14:49:43 +00:00
Hans Leidekker b49d92d84e Implementation stub for QueueUserWorkItem. 2005-02-21 21:02:12 +00:00
Mike McCormack a6a91a440b Implement and test IPropertySetStorage. 2005-02-21 20:58:09 +00:00
Lionel Ulmer 2f2546040d Implement 'W' variants of Process32First / Next APIs 2005-02-21 20:57:34 +00:00
Alex Villacís Lasso 2eacfecd25 Implemented GetGlyphOutline16. 2005-02-21 20:43:59 +00:00
Justin Chevrier 564aceddca - Implement SPI_{GET,SET}POWEROFFACTIVE and SPI_SETLOWPOWERACTIVE.
- Corrected SPI_GETLOWPOWERACTIVE to use an index (instead of its SPI
  value) to avoid an out of bounds condition.
- Created unit tests for SPI_{GET,SET}POWEROFFACTIVE and
  SPI_{GET,SET)SETLOWPOWERACTIVE.
2005-02-21 20:40:44 +00:00
Lauri Tulmin 914c138e24 Horizontal scrollbar is hidden when edit control is emptied. 2005-02-21 20:39:52 +00:00
Maxime Bellengé 33c7e15f77 Take into account the new size of a column when the header size
change.
2005-02-21 20:38:31 +00:00
Christian Costa 56c701df3f Improved AVIDec.
Added 2 new callback functions to the transform template and moved all
of them into a funcs table.
2005-02-21 20:37:45 +00:00
James Hawkins d5e2b7c843 Add RegOpenKey, RegCloseKey tests. 2005-02-21 20:37:26 +00:00
Marcelo Duarte 5cb9507ec1 Use "MS Shell Dlg" everywhere except for Japanese. 2005-02-21 18:38:36 +00:00
Hans Leidekker a5e361e6b8 - Add support for color transform handles.
- Implement CreateColorTransform{A,W}, CreateMultiProfileTransform,
  DeleteColorTransform.
- Don't depend on lcms for the implementation of
  IsColorProfileTagPresent.
2005-02-21 18:38:15 +00:00
Hans Leidekker 2294e30dd4 - Revert wrong -noname markup for Drag*, DoEnvironmentSubst and
SHGetNewLinkInfo{A,W}.
- Also mark stub exports -noname when they are exported by ordinal
  only on win98/2k.
- Implementation level stubs for SheChangeDirA, SheGetDirA,
  SHHelpShortcuts_RunDLL{A,W}.
- New spec file stubs for Control_RunDLLAsUserW,
  FixupOptionalComponents, OCInstall, SHChangeNotifySuspendResume,
  SHCreateProcessAsUserW, SHExtractIconsW,
  SHInvokePrinterCommand{A,W}, SHIsFileAvailableOffline,
  SHLoadNonloadedIconOverlayIdentifiers, SHPathPrepareForWrite{A,W},
  ShellExec_RunDLL{,A,W}, SHGetIconOverlayIndex{A,W}.
2005-02-21 18:37:33 +00:00
Mike McCormack 59ce35aba8 Remove tabs and make formatting consistent. 2005-02-21 18:36:47 +00:00
Vincent Béron 06d7cae4d7 Add a stub for OleLoadPicturePath(). 2005-02-21 18:36:06 +00:00
Mike Hearn 4d49d8ca36 Avoid infinite loop when doing a typelib marshalled
IUnknown::QueryInterface by only doing an extra QI if requested IID is
not equal to marshalled IID.
2005-02-21 18:35:07 +00:00
Mike Hearn 80380eaa32 Allow loading of builtin typelibs. 2005-02-21 18:34:41 +00:00
Maxime Bellengé 7462a8f53f Fix SetItem so that items don't get wrongly re-ordered. 2005-02-21 18:34:17 +00:00
Hans Leidekker 1e33acaa43 Stub implementations for AbortPrinter, AddPortEx{A,W},
AddPrinterConnection{A,W}, ConnectToPrinterDlg,
DeletePrinterConnection{A,W}, EnumForms{A,W}, EnumPrinterData{A,W],
ExtDeviceMode, Find{Close,First,Next}PrinterChangeNotification,
FreePrinterNotifyInfo, ScheduleJob.
2005-02-21 18:33:55 +00:00
Dmitry Timoshkov 600086372a Take Shift key state into account while processing an accelerator.
Add a couple of test cases.
2005-02-21 18:33:27 +00:00
Maxime Bellengé 64a429671a Reverse the order for deleting the items in resetcontent to correctly
empty a comboboxex.
2005-02-21 18:31:02 +00:00
Juan Lang 9ebbd3e514 Fix NtQueryPerformanceCounter parameter checking. Spotted by Alex
Woods.
2005-02-21 18:27:58 +00:00
Robert Shearman 4390d003f4 - Better tracing.
- Small cleanup of creation functions.
2005-02-18 20:13:23 +00:00
Hans Leidekker c6806cd204 Mark exports -noname when they are exported by ordinal only on
win98/2k.
2005-02-18 20:13:01 +00:00
Robert Shearman 95288f9148 - Move marshaling state machine into stub manager from ifstub.
- Add additional needed states for table-weak marshaling, as shown by
  tests.
- Protect external reference count from underflows/overflows.
2005-02-18 20:03:23 +00:00
Dmitry Timoshkov 53ccd49c58 - Always unlink children before sending WM_NCDESTROY message.
- Fix order of WM_DESTROY messages for the children's recursion.
- DestroyWindow should hide only visible windows.
- Add a test case for the above fixes.
2005-02-18 20:01:41 +00:00
Ulrich Czekalla 43b5576998 Duplicate Windows behaviour and use SendMessage for the SC_CLOSE
system command instead of PostMessage.
2005-02-18 20:00:57 +00:00
Aric Stewart 7e7b8cf4ef Fixed problems with my code for finding the PackageCode. 2005-02-18 20:00:34 +00:00
Christian Costa 87844214ab Fixed offsets calculations. 2005-02-18 12:53:26 +00:00
Robert Reif 99faf74774 Fix capture test to pass on windows 98 when no sound card present or
device already in use.
2005-02-18 12:52:14 +00:00
Robert Reif e3566d8260 Fix timer tests to pass on windows 98. 2005-02-18 12:51:54 +00:00
Robert Reif 2b30370796 Fix block align test. 2005-02-18 12:51:43 +00:00
Alex Villacís Lasso c2292eefb5 Implement OleFontImpl_QueryTextMetrics. 2005-02-18 12:51:23 +00:00
Gunnar Dalsnes 1b7e736334 When getting current directory on a drive different from the working
drive, _getdcwd incorrectly passed "X:\" (X = any drive) as path to
GetFullPathName. "X:" (without the backslash) is the correct thing to
use.
2005-02-18 12:51:00 +00:00
Vitaly Lipatov 926a86323d Rename SCROLL_GetScrollBarInfo to SCROLL_GetInternalInfo and make
allocation of a new info structure optional.
Add some descriptions.
2005-02-17 12:03:33 +00:00
Dmitry Timoshkov 9074f257e0 Convert winemenubuilder to unicode. 2005-02-17 11:51:44 +00:00
David Smith 3ab57cfe4d Fix for ICInfo() in msvideo when it is used to ask for a codec by
index.
2005-02-17 11:51:01 +00:00
Jakob Eriksson e026ef742e Apparently NT4 can also return ERROR_ENVVAR_NOT_FOUND. 2005-02-17 11:50:36 +00:00
Joris Huizer e889f71269 - renamed file_operation_delete and to shfileops_delete
- renamed file_operation_checkFlags to shfileops_check_flags
- added helper function shfileops_do_operation()
- added helper function shfileops_get_parent_attr()
- added helper function shfileops_get_parent_attr2()
- various cleanups in SHFileOperationW using these functions
2005-02-17 11:50:25 +00:00
Alex Villacís Lasso 18bfe6a095 Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Jonathan Ernst a37a4f6ce6 Add French resources. 2005-02-16 21:10:02 +00:00
Mike McCormack 0b1b703fdd Move product, feature and component enumeration functions to
registry.c.
2005-02-16 17:52:53 +00:00
James Hawkins 993fbb94e0 Fix improper type-conversions. 2005-02-16 17:52:35 +00:00
Rein Klazes 8417d41a24 Calling ValidateRect or ValidateRgn on a windows also validates the
children. Add a test to show the behavior.
2005-02-16 17:52:01 +00:00
Ulrich Czekalla 7df337514b Implement ES_CENTER and ES_RIGHT alignment styles. 2005-02-16 16:28:34 +00:00
Huw Davies 084e596a95 SetPath("") should return S_OK.
SetPath("nonexistent_path") should return S_FALSE.
2005-02-16 16:27:42 +00:00
Thomas Weidenmueller e2f07fb444 Forward to user32 when appropriate. 2005-02-16 16:27:01 +00:00
Robert Reif c50038542a Some block align cleanups. 2005-02-16 16:26:13 +00:00
Mike McCormack 3988d9c53b Add a border to the edit control, add some more controls. 2005-02-16 16:25:36 +00:00
Mike McCormack 9bef4830a5 Fix up the summary information code a little. 2005-02-16 16:25:09 +00:00
Aric Stewart 2e24400cc9 Stubs for MsiUseFeature. 2005-02-16 16:24:38 +00:00
Robert Reif b8d6b310f9 Fixed invalid buffer size by rounding up to next multiple of
nBlockAlign.
Added test to verify buffer rounding behavior.
2005-02-16 16:09:02 +00:00
Lauri Tulmin 373dc8909f Make minimized windows stay minimized. 2005-02-16 16:08:18 +00:00
Mike McCormack 10e5c9e834 Remove const declaration from non-const function. 2005-02-16 16:07:11 +00:00
Mike McCormack e2df8814ea Allow MsiViewExecute to be called twice on the same query. 2005-02-16 16:06:05 +00:00
Mike McCormack 64623067c3 Implement MsiDatabaseGetPrimaryKeys. 2005-02-16 16:05:11 +00:00
Mike McCormack fa5cbb5a0f MsiGetComponentPath should allow null pointers for pcchBuf and
lpPathBuf.
2005-02-16 16:04:36 +00:00
Dmitry Timoshkov 39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Robert Shearman 2d2a39cc42 - Use I_RpcGetBuffer, instead of our own buffer routines to fix an
occasional test crash caused by heap corruption.
- Zero the memory block passed to RpcServerRegisterIfEx so we don't
  pass garbage in some of the fields we don't fill in.
- Return the correct error code from create_server and fix two handle
  leaks.
- TODO update.
2005-02-15 21:48:09 +00:00
Uwe Bonnes dc16331c75 Use local buffer in RtlUpcaseUnicodeStringToCountedOemString, if
appropriate.
2005-02-15 20:48:38 +00:00
Ivan Leo Puoti 54d42573b1 Move Rtl*Registry* structs, defines and prototypes to winternl.h.
Fix two function declarations.
2005-02-15 20:47:24 +00:00
Henning Gerhardt d0cc21f45f Add/updated German resources. 2005-02-15 20:46:19 +00:00
Mike McCormack af882e0e41 Reindent some code to improve readability. 2005-02-15 20:45:53 +00:00
Robert Shearman b24193c344 - Add a stub implementation of RpcImpersonateClient.
- More tracing, particularly on error paths.
2005-02-15 20:45:37 +00:00
Paul van Schayck 1973138190 Only stop writing a volume label if we found a non writable fat
partition.
2005-02-15 15:47:58 +00:00
Robert Shearman 3b59fa8fce The Global Interface Table should do table-strong marshaling instead
of normal marshaling so that an interface can be retrieved more than
one time.
2005-02-15 15:47:44 +00:00