Commit Graph

1190 Commits

Author SHA1 Message Date
Alexandre Julliard db7920bb44 We no longer need to handle EXCEPTION_PRIV_INSTRUCTION on page faults. 2005-12-16 16:37:12 +01:00
Rein Klazes 13b9923165 user32: Implement saving and fix reading of nonclient metrics.
With conformance tests.
2005-12-16 12:38:06 +01:00
Rein Klazes 105450db4a user: Read/save minimized metrics from/to registry. 2005-12-14 12:27:39 +01:00
Aric Stewart c50fbab47f user: GetClipboardFormatNameA fix.
In the W->A translation make sure we have characters to translate
before doing the WideCharToMultiByte with -1.
2005-12-14 10:49:54 +01:00
Eric Pouech 28442721fd Const correctness fixes. 2005-12-12 11:55:49 +01:00
Vincent Béron 834385cad4 Add some missing includes which contain used prototypes. 2005-12-09 11:51:17 +01:00
Alexandre Julliard ef4dfd4b7a user: Fixed copy/paste bug in CURSORICON_GetResIconEntry. 2005-12-05 20:41:24 +01:00
Dmitry Timoshkov b43afeef89 Add a test for LB_SELITEMRANGE, make it pass under Wine. 2005-12-01 11:12:34 +01:00
Dmitry Timoshkov 7d86789758 Add a test for RedrawWindow with an empty region/rectangle, make it
pass under Wine.
2005-11-30 19:46:00 +01:00
Vitaliy Margolen 93b63566a5 ShowWindows(SW_SHOWMAXIMIZED) should ignore WS_MAXIMIZE window
state. Change tests accordingly.
2005-11-30 12:43:50 +01:00
Vitaliy Margolen b78784c3f2 New maximized visible window should be shown with
ShowWindow(SW_SHOW).
2005-11-30 12:37:47 +01:00
Vitaliy Margolen aae7632409 CreateWindow should not activate invisible minimized or maximized
windows.
Add several tests to show the correct behavior.
2005-11-30 12:32:22 +01:00
Vitaliy Margolen e95464a5cb EnumChildWindows should return result from the callback. 2005-11-29 10:40:58 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Dmitry Timoshkov b9212e2aba set_menu_item_text handles converting an empty menu item to a
separator on its own, give it a chance to do its work in the
MIIM_FTYPE case.
2005-11-28 11:53:20 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 6d442aeb34 Assorted spelling fixes. 2005-11-23 20:14:43 +01:00
Alexandre Julliard cc01e8ff05 Preserve 16-byte stack alignment in the various assembly
functions. Needed for MacOSX.
2005-11-23 19:55:06 +01:00
Rein Klazes 168e0db02c Make test_SPI_SETBORDER less likely to permanently change visual
settings:
- use smaller border widths values for testing;
- provide a work around for a Windows XP feature that made the tests
  change the caption width.
2005-11-23 15:19:04 +01:00
Rein Klazes 6154b46bef GetSystemMetrics fixes with corresponding tests. 2005-11-22 14:56:11 +00:00
Dmitry Timoshkov 7bde557d8a Choose what window styles to dump (WS_GROUP/WS_TABSTOP vs.
WS_MINIMIZEBOX/WS_MAXIMIZEBOX) based on the WS_CHILD style set.
2005-11-21 15:18:32 +00:00
Vitaliy Margolen 83ef91ce2d Replace inherit flag with object attributes in winstation and desktop
create & open. Use OBJ_OPENIF flag to create winstation & desktop.
2005-11-21 12:05:38 +00:00
Kieran Clancy 925a38d9ad Fix vertical text alignment in static controls. 2005-11-18 15:04:25 +00:00
Dmitry Timoshkov d3ccaaa54f Add another test for Z order of child windows. 2005-11-18 12:07:19 +00:00
Detlef Riekenberg 88dcf83495 Made test loadable on win95 again (EnumDisplayDevicesA not present). 2005-11-17 11:04:01 +00:00
Dmitry Timoshkov 2ca23be50f Add a test for some edit control behaviours, make it pass under Wine. 2005-11-16 11:22:54 +00:00
Dmitry Timoshkov 0f7ef4bd8d Do not change focus if the being activated window is no longer
active.
2005-11-15 16:53:26 +00:00
Alexandre Julliard 80b997a2cc Added support for the QS_ALLPOSTMESSAGE flag. 2005-11-14 15:17:09 +00:00
Rein Klazes 8f3b9d506b Fix SysparametersInfoA( SPI_SETICONMETRICS), the A<->W conversion was
rather broken.
Make the SPI_{G|S}ETICONMETRICS functions more consistent with those
for SPI_ICON{HORIZONTAL|VERTICAL}SPACING, SPI_{G|S}ICONTITLEWRAP and
SPI_{G|S}ICONTITLELOGFONT.
Accordingly extend the corresponding tests.
2005-11-14 15:12:14 +00:00
Dmitry Timoshkov 0940654da7 Fix message tests to run cleanly on Windows XP SP1. 2005-11-14 11:24:06 +00:00
Dmitry Timoshkov 6b379c8c2c Convert some ERRs to WARNs in the DDE client code when appropriate. 2005-11-11 10:53:44 +00:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Francois Gouget f4c0524ec6 Assorted spelling and case fixes. 2005-11-10 11:39:07 +00:00
Francois Gouget 2adb302a99 Add trailing '\n's to ok() and TRACE() calls. 2005-11-10 11:17:38 +00:00
Christian Costa 24a3ae0601 If a color bitmap is provided, store bitmap information from it
instead of the mask bitmap one.
2005-11-09 10:57:57 +00:00
Alexandre Julliard 68b8a4ab69 Don't call SetWindowPos in ShowWindow if a parent window is not
visible, only toggle the WS_VISIBLE flag.
2005-11-09 10:35:48 +00:00
Markus Amsler 86b6749208 Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements
2005-11-09 10:33:40 +00:00
Rein Klazes 7e6b325929 Re-enable SPI_{GET,SET}BORDER tests and fix the bugs that caused them
to be disabled.
Add tests that show that the border value manipulated by
SPI_{GET,SET}BORDER is completely the same as with
SPI_{GET,SET}NONCLIENTMETRICS.
Fix a few signed/unsigned warnings in unrelated tests from the same
source file.
Made the tests pass on wine.
2005-11-08 19:58:37 +00:00
Michael Kaufmann e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Rein Klazes 53b1d05164 Make SystemParametersInfoA( SPI_SETNONCLIENTMETRICS, ...) work by
adding the needed non client metrics A->W conversions.
2005-11-07 16:39:21 +00:00
Christian Costa 93047e275e When creating black & white cursor icon, handle special case where
hbmColor is null and hbmMask specify a bitmap having twice the height
and formatted so the upper half is the icon AND bitmask and the lower
one is the OR bitmask.
2005-11-07 11:07:43 +00:00
Michael Kaufmann 4770d57a09 Scroll bar: Keep the caret blinking during scroll operations (only
handle WM_SYSTIMER messages that belong to the scroll bar).
2005-11-03 09:51:42 +00:00
Michael Kaufmann 8eaca69b39 ScrollWindowEx: Don't move the caret of child windows and hide it only
if it's in the source or in the destination rectangle.
2005-11-01 09:53:59 +00:00
Alexandre Julliard bc30574383 Default to the null driver instead of dying if the specified display
driver couldn't be loaded.
2005-10-31 15:54:55 +00:00
Dmitry Timoshkov 2dc8067408 Add the tests for behaviour of [In]validateRect and [In]validateRgn
with hwnd set to 0, make them pass under Wine.
2005-10-31 15:45:16 +00:00
Michael Kaufmann aa97e9164e Handle the left and right arrow keys. 2005-10-30 19:05:42 +00:00
Saulius Krasuckas d599020853 Don't pass CreateThread() with a NULL pointer to TID as Win9x does not
create a thread then.
2005-10-28 10:41:48 +00:00
Dmitry Timoshkov 26b40c296f Add some missing USER definitions, add a couple of FIXMEs for not
implemented features.
2005-10-27 18:28:23 +00:00
Vitaliy Margolen 1e16caf55d Add test for undocumented 0x4D message sent on F1. 2005-10-27 12:31:04 +00:00
Mike McCormack d2232bf88c Add a currently failing test case for menus. 2005-10-27 10:19:01 +00:00
Michael Jung 31c9033023 - Try LoadLibrary/LoadImage to extract icons from wine's built-in dlls
if SearchPath fails to find the requested file in
  PrivateExtractIcons.
- Some unit tests for PrivateExtractIcons.
2005-10-26 12:05:59 +00:00
Vitaliy Margolen 453e16d329 Silently ignore WM_PAINT in msg tests. 2005-10-26 10:11:52 +00:00
Rein Klazes 16a5c4fbca Fixed a lot of bugs in TEXT_TabbedTextOut. With the test cases used to
find them.
2005-10-26 10:04:21 +00:00
Richard Cohen b26ae86b58 Handle NULL string lparam when translating messages A->W. 2005-10-21 15:43:09 +00:00
Vitaliy Margolen 247ab64d38 Restore focus to the current control without selecting text. 2005-10-20 11:36:55 +00:00
Vitaliy Margolen 546bc6a681 Fix a number of tests failing on windows. 2005-10-19 19:06:35 +00:00
Markus Gömmel c2d38ceee8 Misplacement of checkboxes with empty label fixed. 2005-10-19 18:30:14 +00:00
Krzysztof Foltman 73045050b3 Fix CB_GETLBTEXT ANSI-Unicode calls when return value is an error
code.
2005-10-19 18:29:36 +00:00
Vitaliy Margolen cfbd78d659 Return 0 length line as 0 length line for EM_GETLINE. 2005-10-18 12:01:38 +00:00
Frank Richter 7686aa86e6 When doing A->W WM_GETTEXTLENGTH, use WM_GETTEXT behind the scenes to
obtain an exact length.
2005-10-18 10:45:18 +00:00
Vitaliy Margolen 40c3bd6f1b Fix one test failing on all windows versions. 2005-10-17 09:23:11 +00:00
Stefan Leichter 18517ca56f Make user test loadable on NT4. 2005-10-11 20:27:27 +00:00
Alexandre Julliard 8777c62d77 In DIALOG_FixChildrenOnChangeFocus make sure the button is a push
button before making it the default.
2005-10-08 10:36:10 +00:00
Vitaliy Margolen e135a52294 Use GetSystemMetrics instead of hardcoding drag width & height. 2005-10-03 18:48:36 +00:00
Marcus Meissner d3463d169b ReleaseCapture should return TRUE. 2005-10-03 11:06:14 +00:00
Stefan Leichter 02dce5900e Added stub for UnregisterDeviceNotification. 2005-10-03 10:17:05 +00:00
Jason Edmeades 8248d0ae87 Always return MA_ACTIVATE for WM_MOUSEACTIVATE in DefWindowProc. 2005-09-29 13:36:14 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Dmitry Timoshkov 6de4574fb0 Explicitly ignore WM_GETICON message in the message tests. 2005-09-28 18:11:10 +00:00
Dmitry Timoshkov 9c559cf385 Make DrawMenuBar and SetMenu tests pass under Wine. 2005-09-28 15:13:10 +00:00
Huw Davies 1d34b3a99c EnumDisplayDevices and GetMonitorInfo should return the same device
name for the primary device.
Make both EnumDisplayDevicesA and GetMonitorInfoA call their unicode
counterparts.
Update prototype of EnumDisplayDevices.
Add some tests.
2005-09-28 10:17:13 +00:00
Alexandre Julliard e96faaa4c8 Added a test to confirm the behavior of GetRandomRgn. 2005-09-26 16:46:31 +00:00
Alexander N. Sørnes cd6e5bab8b Added Norwegian translations. 2005-09-26 10:56:47 +00:00
Francois Gouget baab789ce8 Replace the 'if (!cond) ; else code' construct with the standard 'do {
code } while (0)' construct combined with a regular 'if'.
2005-09-26 09:57:38 +00:00
Dmitry Timoshkov 6300ce1a99 Calling DdeUninitialize hangs DDE test on XP SP1, so remove that call,
and add a comment explaining it.
2005-09-26 09:55:25 +00:00
Alexandre Julliard 9f859692f9 Replace DPRINTF by TRACE in a few places. 2005-09-25 15:23:21 +00:00
Kimmo Myllyvirta a7cdcfd995 Update Finnish resources. 2005-09-25 15:14:58 +00:00
Alexandre Julliard 0ec0f048e6 Removed unused debug channels. 2005-09-22 10:44:40 +00:00
Alexandre Julliard 9f1c6de1ef We are no longer generating .spec.c files. 2005-09-21 14:42:52 +00:00
Alexandre Julliard 5cb97d833a Generate 16-bit spec files as assembly code too. 2005-09-21 14:23:54 +00:00
Mike McCormack c818a4e662 Fix "empty body in an if/else-statement" warnings. 2005-09-21 09:46:28 +00:00
Alexandre Julliard c61f11eadf Added a magic number to the WDML_CONV structure to fix some failing
tests.
2005-09-20 11:39:19 +00:00
Milko Krachounov 980f817737 Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
setupapi, wininet, regedit, uninstaller, notepad, winecfg and
winhelp.
2005-09-19 17:00:58 +00:00
Kimmo Myllyvirta 4d0f076092 If HKCU\Software\Wine does not yet exist, create it as non-volatile
key, instead of volatile.
2005-09-18 11:11:49 +00:00
Robert Shearman 4db3769e70 GetDesktopWindow can now potentially create a thread, so we shouldn't
call this function from DllMain otherwise it is possible to cause a
deadlock.
2005-09-17 14:28:44 +00:00
Alexandre Julliard 127127fd3b Timeout 0 means infinite wait for SendMessageTimeout.
Remove the message from the receiver queue if it times out before
being received.
2005-09-13 14:46:46 +00:00
Alexandre Julliard ba41fe20bc Fixed a few more pointer to integer typecast issues for 64-bit
platforms.
2005-09-12 21:22:32 +00:00
Alexandre Julliard 5a49e40149 SendMessageTimeout takes a DWORD_PTR not a DWORD. 2005-09-12 20:43:32 +00:00
Alexandre Julliard 5224f74be5 Make the non-client message handling functions return an LRESULT. 2005-09-12 20:30:12 +00:00
Alexandre Julliard e1646dd215 Use MAKEINTRESOURCE instead of casts where appropriate. 2005-09-12 20:29:16 +00:00
Alexandre Julliard 556a129afa Avoid truncating the item data to 32 bits in LB_SETITEMDATA. 2005-09-12 15:36:39 +00:00
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard c6b005ac69 Fixed some more traces to use the right printf format and avoid
typecasts.
2005-09-12 14:12:46 +00:00
Alexandre Julliard 5c37785881 Use Get/SetWindowLongPtr when accessing pointers in the window extra
bytes.
2005-09-12 12:20:38 +00:00
Alexandre Julliard 92167f6021 Use Get/SetClassLongPtr to access the module handle. 2005-09-12 12:06:26 +00:00
Alexandre Julliard 2c1b3c6a1d The item user data has to be a ULONG_PTR. 2005-09-12 11:24:23 +00:00
Alexandre Julliard f8ee161a1b Fixed some traces to use the right printf format and avoid typecasts. 2005-09-12 10:30:05 +00:00
Dmitry Timoshkov 7647cffbdf Add a test for ShowWindow(SW_SHOWMAXIMIZED) called for a not visible
overlapped window, which shows that WM_SHOWWINDOW is not sent in that
case and that it should activate a window and bring it to top.
2005-09-12 10:09:40 +00:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +00:00
Alexandre Julliard 4c34d9386c Specify 64-bit integers as double instead of long long in spec files
so that we get the correct number of arguments.
2005-09-09 15:05:01 +00:00