Dmitry Timoshkov
9b1ea63bf9
user32: Make GetMenuItemInfo tests pass under Wine.
...
- Change menu item search algorithm to recurse into a submenu first.
- Fallback to a found submenu if nothing else was found.
2006-01-23 11:59:21 +01:00
Detlef Riekenberg
191d62e7f9
user/tests: Added \n to a few ok() calls.
2006-01-20 16:16:43 +01:00
Jason Edmeades
14889a618d
user: Tests for when the menu is incorrect because of duplication of a
...
menu id and an hMenu.
2006-01-19 11:56:20 +01:00
Robert Shearman
a40ce39340
user: Fix WM_QUIT message ordering from PostQuitMessage.
...
Added a new server call as PostQuitMessage should set a flag in the
message queue to return the WM_QUIT message when there are no other
pending messages, rather than posting a message to the thread queue as
it does at the moment.
2006-01-17 13:14:31 +01:00
Michael Kaufmann
37c68b47f4
user: The LoadImage resource string may be a numeric string.
2006-01-10 12:07:32 +01:00
Rein Klazes
079912c679
user32: Prevent a crash in GetMenuStringA caused by calling strlenW on
...
a NULL pointer, with a test.
2006-01-09 17:13:44 +01:00
Rein Klazes
b34868dffa
user32: Separate menu bitmaps and strings.
...
Store bitmaps and bitmaps always in separate fields in the internal
menu structure. Get rid of a lot of assumptions in the code that the
menu can have strings only when it is not some other type and that
bitmaps come in two flavors.
Add a lot of conformance tests, including some submitted by Jason
Edmeades.
2006-01-03 13:23:28 +01:00
Vitaliy Margolen
9561d6e29c
gdi: Device name returned from EnumDisplayDevices is valid for CreateDC.
2006-01-03 12:05:54 +01:00
Alexandre Julliard
0e6b4c43de
user/tests: Remove todo_wine from a few tests that (usually) succeed.
2005-12-22 17:15:54 +01:00
Dmitry Timoshkov
b61b82011e
user32/tests: Add a PeekMessage test.
2005-12-22 13:58:11 +01:00
Rein Klazes
d076748e22
user: Fix hrgn leaks in win.c test.
2005-12-19 17:43:34 +01:00
Lauri Tulmin
86f45494b6
user32: Don't truncate text when creating edit control.
2005-12-19 09:53:19 +01:00
Rein Klazes
3df678a5af
x11drv: Do not use the scroll rectangle for clipping in ScrollDC.
...
With a conformance test.
2005-12-19 09:53:04 +01:00
Dmitry Timoshkov
8d9fb6331e
x11drv: ScrollDC should not clip output if a clipping rect is not specified.
...
Add a ScrollDC test with NULL clipping rect.
Add another set of ScrollDC tests written by Rein Klazes.
2005-12-17 12:24:37 +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
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
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
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
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
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
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Francois Gouget
2adb302a99
Add trailing '\n's to ok() and TRACE() calls.
2005-11-10 11:17:38 +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
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
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
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
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
Vitaliy Margolen
546bc6a681
Fix a number of tests failing on windows.
2005-10-19 19:06:35 +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
Marcus Meissner
d3463d169b
ReleaseCapture should return TRUE.
2005-10-03 11:06:14 +00:00
Jason Edmeades
8248d0ae87
Always return MA_ACTIVATE for WM_MOUSEACTIVATE in DefWindowProc.
2005-09-29 13:36:14 +00:00
Dmitry Timoshkov
6de4574fb0
Explicitly ignore WM_GETICON message in the message tests.
2005-09-28 18:11:10 +00:00