Nicolas Le Cam
321b2f00f3
user32/tests: Fix VK_RMENU input tests on localized Windows.
2009-05-04 12:52:07 +02:00
Rein Klazes
3e7f226985
user32/tests: Fix a test in edit.c that was not testing what it was supposed to test.
2009-05-01 13:14:11 +02:00
Rein Klazes
a240254d36
user32/tests: Show that vertical and horizontal window scroll bar info is not created independently.
2009-04-30 13:57:12 +02:00
Dmitry Timoshkov
d2ecb11941
user32: Add the tests for LB_DELETESTRING, make them pass under Wine.
2009-04-29 13:07:52 +02:00
Alexandre Julliard
5515b022ba
user32/tests: Don't try to unpack or free invalid handles.
2009-04-24 13:40:42 +02:00
Alexandre Julliard
b5346a8ce3
user32: Fix the DDE service formatting for 64-bit.
2009-04-24 13:40:42 +02:00
Alexandre Julliard
095c38e7c4
user32/tests: Fix a couple of dimension checks on W2k3 and Vista.
2009-04-24 12:18:02 +02:00
Michael Stefaniuc
69680296ee
user32/tests: Don't use the long type.
2009-04-22 13:13:51 +02:00
Alexandre Julliard
ffe30a5c65
user32/tests: Fix a few sysparams tests on various Windows versions.
2009-04-22 12:55:38 +02:00
Huw Davies
2ec629afd9
user32/tests: Fix tests on win9x.
2009-04-21 13:26:25 +02:00
Francois Gouget
5ef481922f
Assorted spelling fixes.
2009-04-20 15:25:26 +02:00
Huw Davies
0b6d74c428
winex11.drv: Fix typo so that emf -> mfpict synthesis works.
2009-04-20 14:13:46 +02:00
Huw Davies
0d4451a85d
winex11.drv: Fix ordering of synthesized text formats.
2009-04-20 14:13:40 +02:00
Rein Klazes
dbfbce975d
user32: When repainting a static control with SS_BITMAP style, do not erase the background if there is no valid bitmap to paint.
2009-04-16 12:37:47 -05:00
Hans Leidekker
ed70c76add
user32: By default, return all zeroes in the first half of the keyboard layout name.
2009-04-14 15:25:52 -05:00
Alexandre Julliard
287d22eba3
user32/tests: Fix a couple of test failures on Windows.
2009-04-10 20:45:08 +02:00
Patrick Gauthier
9096368b6a
user32: Handle magic font size 0x7fff in dialog templates correctly.
2009-04-10 11:33:46 +02:00
Rein Klazes
89a170ffa1
user32/tests: Avoid a few unneeded test failures in sysparams.c.
2009-04-08 11:37:58 +02:00
Rein Klazes
e861d8be43
user32: Fix for the ending of menu tracking in the default handler of WM_CANCELMODE message with test.
2009-04-03 13:25:31 +02:00
Rein Klazes
8ac8957a36
user32: In COMBO_WindowPosChanging() do not change the height of the the dropped rectangle, if the new height is too small.
2009-04-03 13:01:14 +02:00
Rein Klazes
ebbf99abce
user32/tests: In sysparams fix another case where a test changes a users desktop setting.
...
Made several tests pass on NT4 (no SP), Vista and Win2k8.
2009-04-02 16:28:30 +02:00
Nikolay Sivov
a2b7aafdae
user32: Implemented GetWindowRgnBox with some tests.
2009-04-02 15:09:55 +02:00
Rein Klazes
5396fbf97d
user32/tests: Show that a submenu is still functional after calling DestroyMenu().
2009-03-27 15:51:25 +01:00
Patrick Gauthier
08c0ddec80
user32/tests: Check effect of magic font height value 0x7fff in dialog template.
2009-03-25 12:43:46 +01:00
Rein Klazes
d75b0cdc98
user32: In MENU_SuspendPopup() make sure the right message is removed.
2009-03-25 12:39:10 +01:00
Rein Klazes
3aec62dcf6
user32/tests: In sysparams.c disable some Get/Set border tests for now. These may permanently change desktop settings of the testers.
2009-03-23 13:23:46 +01:00
Alexandre Julliard
10350c19a0
user32/tests: Print a more useful line number in check_class and check_instance tests.
2009-03-13 11:30:15 +01:00
Alexandre Julliard
0caa310c37
user32/tests: Add optional restore sequence for Vista.
2009-03-13 11:29:53 +01:00
Alexandre Julliard
28582dbf6c
user32/tests: Skip shift+button test if we don't receive the event.
2009-03-11 13:03:32 +01:00
Alexandre Julliard
943ae1f5a6
user32/tests: SetForegroundWindow sometimes fails on Win98.
2009-03-11 13:03:32 +01:00
Nikolay Sivov
2948ec6a70
user32: Button should get captured when highlighted with VK_SPACE.
2009-03-10 14:51:57 +01:00
Alexandre Julliard
925c1c4ed2
user32/tests: Fix some message sequences for Vista and Win9x.
2009-03-09 17:54:16 +01:00
Alexandre Julliard
60ed3428da
user32/tests: Avoid snprintf, it's broken on Mingw.
2009-03-09 17:52:08 +01:00
Rein Klazes
366334c2fa
user32: Check for invalid menu handle passed to TrackPopupMenu and TrackPopupMenuEx.
2009-03-06 12:49:04 +01:00
Alexandre Julliard
411c229654
user32/tests: Add more optional messages for Vista and Win9x.
2009-03-06 12:38:34 +01:00
Alexandre Julliard
6eccf2a3fa
user32/tests: Skip menu test if sending input failed. Use VK_MENU instead of VK_LMENU.
2009-03-05 16:16:24 +01:00
Alexandre Julliard
903b52e723
user32/tests: Mark a couple of painting messages as optional.
2009-03-05 16:16:24 +01:00
Nikolay Sivov
258d953a3f
user32: Use 1 unit caret width for Edit control.
2009-03-05 12:48:08 +01:00
Nikolay Sivov
032356ec37
user32: Disable scroll bar control window when both buttons disabled.
2009-03-05 12:48:05 +01:00
Alexandre Julliard
d62c05f720
user32: Make mouse.drv into a stand-alone 16-bit module.
2009-03-04 14:32:56 +01:00
Alexandre Julliard
c2e52469fe
user32: Make keyboard.drv into a stand-alone 16-bit module.
2009-03-04 14:30:37 +01:00
Alexandre Julliard
02ada6e477
user32: Make display.drv into a stand-alone 16-bit module.
2009-03-04 14:28:32 +01:00
Alexandre Julliard
114da7c46b
user32/tests: Add some more optional messages.
2009-03-03 13:20:49 +01:00
Alexandre Julliard
e256e988c5
user32/tests: Fix a couple of failing menu tests.
2009-03-03 13:20:34 +01:00
Alexandre Julliard
d387cf3251
user32: Use MAKEWPARAM instead of MAKELONG for menu messages.
2009-03-03 13:20:21 +01:00
Rein Klazes
5c130c813a
user32: MENU_TrackMenu, called from TrackPopupMenu(), should send WM_ENTERIDLE message with the menu window handle as lparam with test.
2009-03-02 15:06:57 +01:00
Paul Vriens
66bd3d428f
user32/tests: Fix some test failures on Win98/WinME.
2009-03-02 14:51:50 +01:00
Michael Stefaniuc
214b40b109
user32: Remove superfluous pointer casts.
2009-03-02 12:11:38 +01:00
Rein Klazes
471e949cff
user32: In SetMenuInfo() implement the MIM_APPLYTOSUBMENUS. Also set last error if called with invalid parameters with tests.
2009-02-27 14:16:23 +01:00
Alexandre Julliard
af0029925b
user32/tests: Fix some message sequences for Win9x.
2009-02-26 15:13:25 +01:00
Alexandre Julliard
affd20d9c8
user32/tests: Fix some input tests on Win9x and NT4.
2009-02-25 23:30:13 +01:00
Alexandre Julliard
33d4c7c514
user32/tests: Add some more optional messages.
2009-02-25 12:37:07 +01:00
Alexandre Julliard
0db3d3cd2e
user32/tests: Fix a few more input test failures on Windows.
2009-02-25 12:37:06 +01:00
Rein Klazes
bdb770e10e
user32: Refine the size calculations for menu items with HBMMENU_POPUP magic bitmaps with some conformance tests.
2009-02-25 12:36:51 +01:00
Alexandre Julliard
6c8e3a8539
user32: Move a few 16-bit user functions to user16.c where they belong.
2009-02-24 17:36:50 +01:00
Alexandre Julliard
f728c19a73
user32/tests: Add a couple of optional messages.
2009-02-24 16:57:28 +01:00
Alexandre Julliard
5771166aa7
user32/tests: Skip more input tests if we can't queue keyboard input.
...
Fix some tests on Win9x.
2009-02-24 16:57:28 +01:00
Francois Gouget
8b28508d2b
user32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-23 12:21:21 +01:00
Aurimas Fischer
f322cc3d1f
user32: Add Lithuanian translation.
2009-02-23 12:19:54 +01:00
Austin English
f1ea9f6e79
user32: Add a missing HeapFree.
2009-02-23 12:19:38 +01:00
Alexandre Julliard
fadc8afc79
user32/tests: Print all the unexpected messages we received. Fix a couple of sequences.
2009-02-21 12:57:23 +01:00
Alexandre Julliard
2e2b1512a9
user32/tests: Add some optional keystrokes for AltGr key.
2009-02-21 12:56:52 +01:00
Alexandre Julliard
9120ce53f1
user32/tests: Remove an unreliable pixel test.
2009-02-20 18:46:05 +01:00
Alexandre Julliard
07d9d1fc1f
user32/tests: Skip some message tests if we fail to queue events.
2009-02-20 18:46:05 +01:00
Alexandre Julliard
9783f67625
user32/tests: Skip some input tests if we fail to queue keyboard events.
2009-02-20 18:46:05 +01:00
Rein Klazes
0c6e37bb04
user32: Implement support for HBMENU_POPUP_* magic menu bitmaps and use them to decorate the system menu.
2009-02-20 18:46:03 +01:00
Rein Klazes
14f0e8ba4b
user32/resources: Remove the "switch to... <Ctrl+Esc>" item from the system menu.
2009-02-20 11:09:46 +01:00
Alexandre Julliard
cd77c75619
user32/tests: Try harder to make the window receive keystrokes.
2009-02-19 15:57:46 +01:00
Alexandre Julliard
efdf8f9878
user32/tests: Ignore SPI_ICONVERTICALSPACING notifications. Don't reset mouse buttons if setting failed.
2009-02-18 16:45:44 +01:00
Rein Klazes
d69340cd6b
user32: Do not handle WM_ENDSESSION in DefWindowProc() with test.
2009-02-18 13:12:41 +01:00
Alexandre Julliard
f9e405692f
user32/tests: Skip message tests if queuing keyboard events doesn't work.
2009-02-17 14:58:45 +01:00
Alexandre Julliard
0aef71f8df
user32/tests: Test for failure to change system parameters even if getting them succeeded.
2009-02-17 14:58:34 +01:00
Alexandre Julliard
2b87a5dbc2
user32: Make sure to not corrupt last error in the message spy.
2009-02-16 16:01:37 +01:00
Alexandre Julliard
cc46d242e0
user32/tests: Fix some checks of the key value in accelerators.
2009-02-16 11:53:06 +01:00
Alexandre Julliard
d00ad7f197
user32/tests: Skip some tests if SetForegroundWindow doesn't behave correctly.
2009-02-16 11:52:38 +01:00
Alexandre Julliard
fa212d5127
user32/tests: Add a couple of optional message, mark as todo a test that now fails consistently on Wine.
2009-02-16 11:52:17 +01:00
Alexandre Julliard
a069ee48d5
user32/tests: Another fix for lack of color cursor support.
2009-02-16 11:51:44 +01:00
Alexandre Julliard
09761ee96f
user32/tests: Cope with lack of support for color cursors.
2009-02-13 13:12:12 +01:00
Alexandre Julliard
96e7da5c55
user32/tests: GetClassInfo doesn't set last error reliably, remove test.
2009-02-13 13:10:44 +01:00
Alexandre Julliard
2d155031cc
user32/tests: Skip tests if we fail to inject mouse or keyboard events.
2009-02-13 13:03:26 +01:00
Alexandre Julliard
4fc6dbd86d
user32/tests: Fix more message tests on XP and Vista.
2009-02-13 13:02:08 +01:00
Alexandre Julliard
5c54e24f90
user32/tests: Better handling of the *.* wildcard in the listbox test.
2009-02-13 13:01:12 +01:00
Alexandre Julliard
583a30c665
user32/tests: Print the wrong accelerator values in the resource test.
2009-02-13 13:00:54 +01:00
Alexandre Julliard
0cc91abf8f
user32/tests: Add some more optional messages we get on Windows.
2009-02-12 17:53:35 +01:00
Alexandre Julliard
bd36ca6e79
user32/tests: Fix Z-order tests in the presence of owned popups.
...
Also fix a couple of other failures on Windows.
2009-02-12 17:53:35 +01:00
Alexandre Julliard
b03175e126
user32/tests: Try to fix some more failures in the message test.
2009-02-11 15:56:03 +01:00
Alexandre Julliard
a5162b62e7
user32/tests: Fix some window test failures on various Windows platforms.
2009-02-09 14:37:23 +01:00
Francois Gouget
53f9b31afd
user32: LookupIconIdFromDirectory16() is unused so remove it.
2009-02-09 13:16:19 +01:00
Francois Gouget
07b7da77d4
user32: Make EditWndProcW() static, fix its documentation.
2009-02-09 13:14:03 +01:00
Francois Gouget
9e7b55675d
user32: Reorder some functions to avoid forward declarations in edit.c.
2009-02-09 13:13:55 +01:00
Francois Gouget
0e9695d9c8
user32: Remove unneeded forward declarations in edit.c.
2009-02-09 13:13:42 +01:00
Michael Stefaniuc
e89386a59e
user32/tests: Remove superfluous pointer casts.
...
The (MENUITEMINFO)->dwTypeData is really a string ... the joys of the
Hungarian notation.
2009-02-05 13:15:32 +01:00
Ulrich Czekalla
209820c428
user32: Don't scale draw text margin params by character width units.
...
Values passed in DRAWTEXTPARAMS are already in average character width
units.
2009-02-03 12:39:59 +01:00
Alexandre Julliard
7c1e8a9c52
user32/tests: Add a few optional messages for Win2K3.
2009-01-29 22:09:11 +01:00
Alasdair Sinclair
c2c564db9d
user32/tests: Fix missing void in empty parameter list.
2009-01-29 12:19:51 +01:00
Michael Stefaniuc
56b3341f8e
user32: Fix bogus "if (!x & y)" code.
...
The dde.c tests succeed on Windows and the DDE callback registered is
set to trigger on all messages it gets. Thus it looks like Windows
doesn't calls the callback in that case.
2009-01-27 16:05:04 +01:00
Florian Köberle
640d2e029a
user32: Unify handling of child and normal windows in getMinMaxInfo.
...
The code for the child windows works now for the standalone windows as well.
2009-01-27 15:20:01 +01:00
Florian Köberle
8afc5fe6d5
user32: Fix maximized child windows.
2009-01-27 15:18:56 +01:00
Florian Köberle
4cfb1e6952
user32/tests: Improved an error message.
2009-01-27 15:18:28 +01:00
Florian Köberle
a50deff4be
user32: Fix thick child minTrack and size.
2009-01-27 15:18:10 +01:00
Florian Köberle
ce119daf3e
user32: Fix maxPosition of thick child windows.
2009-01-27 15:18:00 +01:00
Florian Köberle
dc1a7113b5
user32/tests: Use AdjustWindowRectEx to calculate minTrack and maxPosition.
2009-01-27 15:17:51 +01:00
Alexandre Julliard
e55a691ded
user32/tests: Accept DISP_CHANGE_RESTART also for tests expected to fail.
2009-01-27 14:38:23 +01:00
Alexandre Julliard
7d657ed8f4
user32: Make sure the submenu is valid in MENU_HideSubPopups.
2009-01-26 15:09:07 +01:00
Alexandre Julliard
f12c5bfca3
user32: Use a finally handler to make sure capture is always released when exiting the menu loop.
2009-01-26 15:08:49 +01:00
Jeff Latimer
c743f9d0bd
user32: DdeCreateStringHandle checks for an invalid instance Id and sets lastError for instances on that thread.
2009-01-26 14:29:44 +01:00
Jeff Latimer
77e0e9cccc
user32/tests: Add tests for invalid instance passed to DdeCreateStringHandle.
...
Similar the DdeCreateDataHandle, DdeCreateStringHandle behaves the same
way. If an invalid instance Id is passed then lastError is set for all
instances of that thread.
2009-01-26 14:29:39 +01:00
Paul Vriens
fd3c7be0e0
user32: Allocate buffer on heap.
2009-01-26 14:24:29 +01:00
Alexandre Julliard
7cbe285416
user32/tests: Make the traces less verbose in the window test.
2009-01-25 17:29:32 +01:00
Alexandre Julliard
4909fe493b
user32/tests: Ignore some more messages.
2009-01-25 17:29:05 +01:00
Alexandre Julliard
4bec383d9f
user32/tests: Fix various failures in the monitor test.
2009-01-25 17:28:39 +01:00
Florian Köberle
4487f85e58
user32: Removed code without effect.
2009-01-23 15:39:44 +01:00
Florian Köberle
8784702d1f
user32: Fixed max size of child with exStyle WS_EX_DGLMODALFRAME.
2009-01-23 15:39:39 +01:00
Florian Köberle
aaddefff53
user32: Refactor of WINPOS_GetMinMaxInfo.
...
Moved and duplicated the code below the "if child" statement into the
if and else block.
2009-01-23 15:38:52 +01:00
Alexandre Julliard
c83b4e230c
user32/tests: Don't try to do hook tests if we can't set hooks.
2009-01-23 13:14:05 +01:00
Alexandre Julliard
00b851d864
user32/tests: Make the DC test window top-most. Ignore an extra WM_MOUSEMOVE.
2009-01-23 13:13:54 +01:00
Jeff Latimer
c5bc4b2c9a
user32: Check the instance id on DdeCreateDataHandle and retire a couple of todos.
2009-01-22 15:28:24 +01:00
Alexandre Julliard
e280bf6644
user32/tests: Don't display window info for hooks that don't contain a window.
...
Ignore some more registered messages.
Fix some other failures on Win2k.
2009-01-22 15:28:05 +01:00
Alexandre Julliard
d3078e0bac
user32/tests: Ignore WM_IME_SELECT message. Skip mouse hovering test if the mouse isn't where we want.
2009-01-22 13:11:38 +01:00
Florian Köberle
72e6fe9431
user32/tests: Extended test about thick child windows.
2009-01-21 13:27:08 +01:00
Florian Köberle
7b8b17dd42
user32/tests: Fixed error message.
2009-01-21 13:27:05 +01:00
Jeff Latimer
be14da009a
user32: Pass pConv to WDML_Global2DataHandle so that it can be correcly passed to DdeCreateDataHandle.
2009-01-21 13:04:45 +01:00
Ge van Geldorp
33a6e66bef
user32/tests: Prevent buffer overflow.
2009-01-21 10:24:39 +01:00
Alexandre Julliard
d8375e2137
user32/tests: Fix some more message test failures on Windows.
2009-01-20 14:02:02 +01:00
Alexandre Julliard
7d585678be
user32/tests: Fix some more msg test failures and improve message sequence tracing.
2009-01-19 13:36:25 +01:00
Jeff Latimer
be027eeb28
user32/tests: Resend: Fix test to work on Vista.
2009-01-19 13:36:24 +01:00
Ge van Geldorp
df0168d8eb
user32/tests: Save iSmCaptionWidth for later testing.
2009-01-19 13:36:24 +01:00
Jeff Latimer
f4ca7d2d1a
user32/tests: Clarify the msgs to differentiate Unicode and ASCII in tests.
2009-01-16 13:25:32 +01:00
Alexandre Julliard
7551797bc4
user32/tests: Fix some more failures in the message test.
2009-01-16 12:33:07 +01:00
Alexandre Julliard
1608cb99b5
user32/tests: Add support for testing only some bits of wparam or lparam. Make some more messages optional.
2009-01-15 15:43:58 +01:00
Alexandre Julliard
078689adb0
user32/tests: Print the failure position in the message sequence.
2009-01-15 14:45:53 +01:00
Alexandre Julliard
0ffd26ab17
user32: Use the message_data_t union when receiving a message.
2009-01-15 12:50:59 +01:00
Jeff Latimer
1f5b2f7e0c
user32/tests: Add tests for DdeGetData Ascii interface.
2009-01-14 15:22:51 +01:00
Jeff Latimer
56784f60c1
user32: Check for NULL pData in DdeClientTransAction expecting to be passed a handle.
2009-01-14 14:59:34 +01:00
Alexandre Julliard
c6144893b6
user32/tests: Fix the layered window tests for some Vista versions.
2009-01-13 17:33:08 +01:00
Alexandre Julliard
41e6d71757
user32/tests: Comment out the menu size tests, there's no consistent behavior to test for.
2009-01-13 17:33:08 +01:00
Ge van Geldorp
444f4a7fbc
user32/tests: keybd_event can send HCBT_KEYSKIPPED notifications.
2009-01-13 16:39:37 +01:00
Michael Stefaniuc
e202baabd5
user32/tests: Do not cast the (IDC|IDI|RT)_* defines to LPSTR.
2009-01-13 15:26:11 +01:00
Alexandre Julliard
7d9b745391
user32/tests: Only display failing message sequences instead of every single message.
2009-01-12 21:51:01 +01:00
Alexandre Julliard
a26857da31
user32/tests: Centralize the tracing of the received messages in the msg.c test.
2009-01-12 21:03:57 +01:00
Rob Shearman
ea00dc4b49
user32: Free allocated memory in USER_unload_driver.
2009-01-12 13:07:07 +01:00
Alexandre Julliard
9c6494a417
user32: The PackDDElParam return value is sign-extended on 64-bit.
2009-01-10 21:06:49 +01:00
Alexandre Julliard
9cc75a5b50
user32: Winproc handles do not get sign-extended on 64-bit.
2009-01-10 21:06:32 +01:00
Alexandre Julliard
d1613f60c2
user32: Fix pointer cast warnings on 64-bit.
2009-01-08 17:28:04 +01:00
Alexandre Julliard
d852ac0b1f
user32/tests: Fix some integer to pointer conversion warnings.
2009-01-08 13:18:01 +01:00
Alexandre Julliard
0128b10a3c
user32: Avoid a pointer cast in a trace.
2009-01-08 13:13:05 +01:00
Alexandre Julliard
a0abde333b
user32/tests: Fix some integer to pointer conversion warnings.
2009-01-08 13:11:49 +01:00
Francois Gouget
581e390115
winapi_test: The tests don't support WIN64 yet so disable them there.
2009-01-08 12:47:22 +01:00
Francois Gouget
411f5d22c0
winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong.
2009-01-08 12:46:39 +01:00
Francois Gouget
9f62c9b7a8
winapi_test: Fix TEST_FIELD() so it correctly tests the field size.
2009-01-08 12:44:49 +01:00