Commit Graph

502 Commits

Author SHA1 Message Date
Francois Gouget e27922ddf5 user32/tests: Add the trailing '\n' to a couple of ok() calls. 2008-03-05 12:18:05 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Alexandre Julliard e6a3d80828 user32: Store the window placement information directly in the main window structure. 2008-03-04 20:45:40 +01:00
Alexandre Julliard accfce21d3 user32: Fix a couple of message test failures. 2008-03-04 20:01:41 +01:00
Alexandre Julliard 8ac29dd4a8 user32/tests: Fix most message tests to pass on Vista. 2008-03-04 20:00:13 +01:00
Alexandre Julliard 28d2930074 user32: Reimplement LoadStringA to avoid memory allocations and to pass the tests. 2008-03-03 20:06:54 +01:00
Christopher Berner 4b130aa0b0 user32/tests: Conformance tests for LoadStringW and LoadStringA. 2008-03-03 20:06:22 +01:00
Alexandre Julliard 9ac7f20514 user32/tests: Skip tests instead of crashing if global hook cannot be set. 2008-03-03 17:51:42 +01:00
James Hawkins c29c740de0 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:10 +01:00
Divan Burger dab0c65fe4 user32: Correct the button sizes of the caption bar. 2008-02-29 20:29:19 +01:00
Alexandre Julliard bb27b37599 user32: Moved win.h to the user32 directory. 2008-02-29 17:21:04 +01:00
Alexandre Julliard d2b6087999 user32/tests: Flush events after showing/hiding a window to avoid z-order race conditions. 2008-02-28 19:56:38 +01:00
Alexandre Julliard c0e10d2b97 user32: Hide the icon title when hiding a window. 2008-02-28 17:01:30 +01:00
Alexandre Julliard 936ab3a644 user32: Moved the ShowWindow implementation from winex11 back to user32. 2008-02-28 17:01:30 +01:00
Alexandre Julliard 1642fbcbc2 user32: Moved the DCE support from winex11 back to user32.
Window and class DCEs are now allocated lazily.
2008-02-25 15:59:19 +01:00
Alexandre Julliard 4273a8ab86 user32: Simplify the window structure creation. Get rid of the unused clsStyle field. 2008-02-25 15:55:17 +01:00
Rob Shearman e154d3b29e user32: Fix the number of characters passed to GetClassNameW in ClassTest. 2008-02-25 13:31:52 +01:00
Stefan Leichter 684a5b4bab user32: Added stub for GetMouseMovePointsEx. 2008-02-25 13:27:49 +01:00
Stefan Leichter 0640dbb620 user32: Fix a test of GetMouseMovePointsEx. 2008-02-25 13:27:38 +01:00
Anatoly Lyutin a871830dd3 user32: Fix return value in ShowScrollBar according with test. 2008-02-25 13:26:52 +01:00
Anatoly Lyutin b6241e4ad8 user32: Added some tests for scrollbar. 2008-02-25 13:26:12 +01:00
Stefan Leichter ebbc1e781c user32: Fix a test of GetMouseMovePointsEx failing on platforms winxp and win2k3. 2008-02-22 11:53:19 +01:00
Huw Davies 503009cf37 user32: Add a test for CS_OWNDC windows that are created invisible. 2008-02-21 20:15:48 +01:00
Alexandre Julliard 55165f87cc user32: Pass the modified SetWindowPos flags to the set_window_pos server request. 2008-02-20 14:41:09 +01:00
Andrew Riedi 5b3f53baf9 user32: Test LoadImage() to load an icon as a cursor. 2008-02-20 12:36:06 +01:00
Dmitry Timoshkov 9f23c3f9d5 user32: Add a z-order test for owned popup windows. 2008-02-20 12:21:41 +01:00
Stefan Leichter 9b478283c5 user32: Add some tests for GetMouseMovePointsEx. 2008-02-19 20:24:12 +01:00
Peter Oberndorfer a73a0aa613 user32: Fix caption bar being drawn 1 pixel too high. 2008-02-19 20:20:34 +01:00
Alexandre Julliard 125793df0e winex11: Move the raising of windows on SetFocus to the X11 driver where it belongs. 2008-02-18 17:22:51 +01:00
Alexandre Julliard 8f15dd4d4e user32: Rewrite SWP_DoOwnedPopups to take into account topmost windows. 2008-02-18 15:00:38 +01:00
Maarten Lankhorst c6e61fbf89 user32: Fix a message test that would only pass on wine. 2008-02-18 14:11:17 +01:00
Marcus Meissner f09f03a723 user32: Handle error returns from ImmGetCompositionString. 2008-02-18 12:41:37 +01:00
Rob Shearman 386427e739 user32: Fix MonitorFromRect to cope with the absence of the MONITOR_DEFAULTTONEAREST flag.
Previously, the code would return any monitor found, regardless of 
whether it intersected the given rect or was the nearest monitor. This 
is fixed by adding a new flag that causes monitor_enum to only find the 
nearest monitor if MONITOR_DEFAULTTONEAREST is specified.

Also add a trace for MonitorFromWindow, since it is called in many 
places within user32 and so can't be traced using a relay trace.
2008-02-16 14:58:14 +01:00
Reece H. Dunn d9c2a91f8b user32: Improve the combo tests to check when the CBN_SELCHANGE notification is sent. 2008-02-15 11:35:09 +01:00
Rob Shearman 3d55b590b5 user32: Fix incorrect character count passed to GetWindowTextW in ICONTITLE_Paint. 2008-02-15 11:04:28 +01:00
Dmitry Timoshkov 3d421a4783 user32: Use custom window procs instead of DefWindowProcA/W in the IsWindowUnicode test. 2008-02-15 10:13:27 +01:00
Dmitry Timoshkov 066c60eb31 user32: Add a couple of tests for WS_EX_TOPMOST. 2008-02-12 23:34:08 +01:00
Francois Gouget 6922075e58 user32/tests: Add the trailing '\n' to ok() calls. 2008-02-11 19:56:10 +01:00
Reece H. Dunn 01af8501b9 user32: Make the listbox tests pass in directories other than dlls/user32/tests. 2008-02-08 13:13:16 +01:00
Johan Gardell ebe9b3c995 user32: Added support for SPI_SETMOUSESPEED in SystemParametersInfoW. 2008-02-08 11:02:16 +01:00
Alexandre Julliard 05c7174909 tests: Add a helper routine to wait for a child process and propagate its result correctly. 2008-02-07 12:56:00 +01:00
Lei Zhang 6c1cdc7186 user32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Andrew Riedi 58d2e3df39 user32: winex11.drv has support for color cursors now. 2008-02-07 11:59:52 +01:00
Andrew Riedi 7df3ed5f44 user32: Test destroying the cursor of a parent process. 2008-02-06 12:43:53 +01:00
Bang Jun-young 9fcebb0055 user32: Fix EndMenu() to match the PSDK. 2008-02-04 14:18:20 +01:00
Michael Stefaniuc 4715dbec24 user32: Remove duplicated get_hook_proc() function. 2008-02-04 12:36:11 +01:00
Francois Gouget 5caa63cae1 user32: Fix a typo in the StretchDIBits stub name. 2008-02-04 11:11:52 +01:00
Reece H. Dunn 37c56f8946 user32: Make the edit tests pass on Vista. 2008-01-25 12:30:18 +01:00
Reece H. Dunn d2900d42dd user32: Make the class tests pass on Vista. 2008-01-25 12:07:25 +01:00
Reece H. Dunn ad89ff0abf user32: Make the clipboard tests pass on Vista. 2008-01-25 12:07:21 +01:00
Alexandre Julliard d6f6745c9c user32: Moved the bulk of CreateWindow and SetWindowPos from the driver back into user32. 2008-01-24 11:23:09 +01:00
Alexandre Julliard 4a753f90cf user32: Menus should be top-most windows. 2008-01-23 21:42:46 +01:00
Dmitry Timoshkov e5e261f104 user32: Make MapVirtualKeyEx(MAPVK_VK_TO_CHAR) behave more like in Windows. 2008-01-23 20:39:19 +01:00
Paul Vriens 7aaaad2110 user32/tests: Run full test again on win95 and NT4. 2008-01-23 12:05:42 +01:00
Andrew Talbot 3dfaef3729 user32: Remove unneeded casts. 2008-01-22 11:27:51 +01:00
Andrew Talbot ba596d30ce user32: Remove unneeded casts. 2008-01-22 11:27:45 +01:00
Alexandre Julliard 390ae9cc28 winex11.drv: Fix handling of strange window sizes in CreateWindow, with tests. 2008-01-22 10:16:19 +01:00
Alexandre Julliard 30d84fcd77 user32,server: Set the initial window rectangles to 0,0-0,0. 2008-01-22 10:15:38 +01:00
Christopher Berner e59bf8c560 user32: Fixed off by one scroll bar pixels. 2008-01-16 18:04:01 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01:00
Alexandre Julliard 7687f78f71 user32: Don't inherit stdin/stdout handles in explorer. 2008-01-14 15:50:06 +01:00
Alistair Leslie-Hughes c3f4ad58a1 user32: Add SetProcessDPIAware stub. 2008-01-11 12:23:43 +01:00
Louis Lenders a467feae39 user32: Add stub for GetLayeredWindowAttributes. 2008-01-10 12:11:04 +01:00
Marcus Meissner 75de624377 winex11: Set last error on enumerating display settings. 2008-01-09 13:38:03 +01:00
Gerald Pfeifer 29b8c35bbf user32: Factor in EDIT_WM_EraseBkGnd(). 2008-01-08 13:55:18 +01:00
Peter Oberndorfer 76bbd02734 user32: Remove unused lpGrayMask array. 2008-01-07 12:19:04 +01:00
Rob Shearman 91971561c1 user32: Add a stub implementation of RegisterServicesProcess. 2008-01-02 13:20:12 +01:00
Andrew Talbot 8752c6d1a5 user32: Fix a spelling typo. 2007-12-31 17:41:37 +01:00
Gerald Pfeifer 2ea16a49e8 user32: Fix type of loop variable. 2007-12-31 17:29:39 +01:00
Michael Stefaniuc 872188c1d8 user32: Remove unneeded casts. 2007-12-31 16:45:53 +01:00
Dmitry Timoshkov e735e199ad user32: Reimplement IsHungAppWindow. 2007-12-28 11:43:57 +01:00
Reece H. Dunn 230ca207ca user32: Added the new Vista messages to spy. 2007-12-26 14:01:54 +01:00
Dmitry Timoshkov 78718a41c7 user32: Add a test for an invalid DEVMODE passed to ChangeDisplaySettings, make it pass under Wine. 2007-12-20 10:47:49 +01:00
Alex Villacís Lasso 4612b15fff user32: Fix regression in DlgDirList caused by modified LB_DIR return behavior, with tests. 2007-12-19 19:36:09 +01:00
Dmitry Timoshkov 0e799c6d7b user32: Set the edit text in a combobox only if combobox has strings. 2007-12-19 12:20:03 +01:00
Dmitry Timoshkov 9e3ab87a9c user32: Make sure to setup clipping before any painting is done. 2007-12-19 12:19:58 +01:00
Alexandre Julliard e94e942618 user32: Set the WSF_VISIBLE flag on the main window station. 2007-12-18 19:47:31 +01:00
Francois Gouget 69f83a6f9f user32/tests: Use GetProcAddress() on ChangeDisplaySettingsExA() because it is missing on Windows 95. 2007-12-18 12:32:55 +01:00
Dmitry Timoshkov aec7e91d53 user32: Always clip the button painting to the client rectangle. 2007-12-17 13:01:56 +01:00
Stefan Dösinger 5461d505d7 winex11: Activate the depth-bpp difference. 2007-12-17 12:25:50 +01:00
Alexandre Julliard 61bace5ba9 Revert "user32: Moved some 16-bit functions."
This partially reverts commit 6e9fea22f8.
16-bit and 32-bit clipboard handles aren't interchangeable.
2007-12-17 11:56:05 +01:00
Stefan Dösinger 5fa90ca910 user32: Add a test for EnumDisplaySettings vs GetDeviceCaps. 2007-12-14 14:06:45 +01:00
Stefan Dösinger 920506b230 user32: Add a test for WM_DISPLAYCHANGE. 2007-12-14 14:06:45 +01:00
Alexandre Julliard e533e50d59 user32: Print the RegisterHotKey fixme only once. 2007-12-13 14:33:35 +01:00
Andrew Riedi 00b5501524 user32: Test the initial state of the cursor. 2007-12-11 12:09:33 +01:00
Andrew Riedi d296c18587 user32: Improve test_DestroyCursor(). 2007-12-10 12:13:47 +01:00
Andrew Riedi 573fcad0b4 user32: Uncomment and explain a test in test_DestroyCursor(). 2007-12-10 12:13:30 +01:00
Alexandre Julliard 55348e5667 user32: Keep waiting for posted messages in peek_message after we get an ignored message. 2007-12-10 12:05:46 +01:00
Alexander Nicolaysen Sørnes 82d937de8f user32: A few more colour changes to match modern Windows.
Thanks to Bamm Gabriana for the info.
2007-12-07 17:07:05 +01:00
Francois Gouget 5f7a9cea38 Assorted spelling fixes. 2007-12-07 16:35:32 +01:00
Michael Stefaniuc 64b7359265 user32/tests: Pass HEAP_ZERO_MEMORY to HeapAlloc() instead of clearing the memory with a separate memset() call. 2007-12-07 14:52:45 +01:00
Alexandre Julliard d30b5742ed server: Implemented EnumWindowStations and EnumDesktops. 2007-12-05 16:45:32 +01:00
Dmitry Timoshkov 718e71300c user32: Make sure the desktop window is created before mode enumeration. 2007-12-04 18:40:54 +01:00
Andrew Riedi 3d08d32a42 user32: Add a FIXME for animated cursors. 2007-12-03 13:18:50 +01:00
Stefan Dösinger abf5240310 user32: Destroying the current cursor results in an error. 2007-11-30 14:01:34 +01:00
Gerald Pfeifer 2ff2d88510 user32: Reduce scope of variable in ICO_ExtractIconExW() and initialize it. 2007-11-29 15:35:09 +01:00
Divan Burger 1aff3528cf user32, wine.inf: Enable title bar gradients and match colours with win2k. 2007-11-28 13:41:06 +01:00
Gerald Pfeifer 56af18f223 user32: Fix variable type in SCROLL_HandleScrollEvent(). Remove useless check in SCROLL_SetScrollInfo(). 2007-11-26 13:54:44 +01:00
Andrew Talbot 1818d3a208 user32: Fix a typo. 2007-11-26 12:27:25 +01:00
Andrew Talbot f394970edb user32: Constify some variables. 2007-11-26 12:27:14 +01:00
Andrew Talbot 7a8eb4c599 user32: Constify some variables. 2007-11-21 13:23:50 +01:00
Divan Burger 113f573b25 user32: Change the desktop colour and pattern to match win2k. 2007-11-21 13:22:18 +01:00
Divan Burger 91d2b609c3 user32: Fix colours to match exactly with Windows 2000. 2007-11-21 13:22:14 +01:00
Alexander Nicolaysen Sørnes 1f8ba96128 user32: Change to modern Windows colours. 2007-11-20 16:59:20 +01:00
Francois Gouget 5f1416ef2b user32/tests: Add the trailing '\n' to an ok() call. 2007-11-20 16:44:53 +01:00
Andrew Talbot 49c0bd5dd5 user32: Constify some variables. 2007-11-20 12:29:00 +01:00
Michael Stefaniuc 3e8970602c dlls: Remove duplicate includes. 2007-11-19 13:54:46 +01:00
Andrew Talbot 0a7513328f user32: Constify a variable. 2007-11-15 11:10:15 +01:00
Alex Villacís Lasso 00bba190aa user32: Conformance tests for DlgDirList and DlgDirSelectEx. 2007-11-15 11:09:49 +01:00
Alex Villacís Lasso bee9fbfd43 user32: DlgDirList converts path specification to uppercase. 2007-11-15 11:09:32 +01:00
Alex Villacís Lasso 56958984dd user32: Conformance tests for LB_DIR on listboxes. 2007-11-14 13:10:47 +01:00
Alex Villacís Lasso c4a77bd510 user32: DlgDirSelect tacks on a period on filenames without ext. 2007-11-14 13:10:39 +01:00
Alex Villacís Lasso 08d945dadd user32: LB_DIR with standalone DDL_DRIVES implies DDL_EXCLUSIVE. 2007-11-14 13:04:54 +01:00
Alex Villacís Lasso 873799df24 user32: Fix returned value of LB_DIR. 2007-11-14 13:04:44 +01:00
Andrew Talbot b673b984f2 user32: Constify a variable. 2007-11-14 11:51:19 +01:00
Francois Gouget b0afca5704 user32/tests/msg: Don't mess up lParam as it is passed on to DefWindowProcA(). 2007-11-13 23:28:06 +01:00
Dan Kegel aaa93200ad user32: Implement return value for DdeClientTransaction for XTYP_EXECUTE. 2007-11-12 14:13:02 +01:00
Alexandre Julliard 6ff78347e2 user32: Remove a few traces that only duplicate the relay information. 2007-11-12 14:03:45 +01:00
Andrew Talbot 5f4f0fa04d user32: Constify some variables. 2007-11-12 11:41:32 +01:00
Alexandre Julliard 5fa4e85ad6 user32/tests: Fix access to an uninitialized variable. 2007-11-09 13:14:37 +01:00
Dmitry Timoshkov 5722660758 user32: Simplify some code. 2007-11-09 13:10:34 +01:00
Francois Gouget 2b6abd5f85 user32/tests: Skip some tests when DdeClientTransaction() returns NULL. This avoids some crashes on Win9x. 2007-11-09 13:06:43 +01:00
Andrew Talbot d98b83bed5 user32: Constify some variables. 2007-11-09 12:26:23 +01:00
Alex Villacís Lasso 188610e603 user32: Fix for failing tests of LB_GETTEXT on listbox on Win98. 2007-11-08 11:48:33 +01:00
Alex Villacís Lasso 5f603f823e user32: Fix LB_ITEMFROMPOINT tests for listbox control. 2007-11-08 11:48:26 +01:00
Alexandre Julliard 4f5c61ac7c user32: Removed unused NC_DrawGrayButton function. 2007-11-07 19:46:34 +01:00
Alexandre Julliard c57b5057db user32: Make all internal user32 functions and variables hidden. 2007-11-07 19:46:29 +01:00
Alexandre Julliard 2b77fed4cd user32: Fixed A<->W translations of CREATESTRUCTs that contain atoms. 2007-11-06 13:58:05 +01:00
Francois Gouget 7b00b60cf5 user32: Fix compilation on systems that don't support either nameless unions or nameless structs. 2007-11-05 15:06:31 +01:00
Alexandre Julliard a54a990b3b server: Allow to specify the class name instead of the atom to find a window. 2007-11-02 15:26:49 +01:00
Alexandre Julliard 1fc461f98b server: Allow to specify the class name instead of the atom to create a window. 2007-11-02 15:16:25 +01:00
Gerald Pfeifer c7adf5f4b2 user32: Don't check unsigned types for >= 0. 2007-11-02 12:36:55 +01:00
Alexandre Julliard 5c5e333284 user32/tests: Don't test the contents of uninitialized buffers. 2007-11-02 12:27:27 +01:00
Alexandre Julliard 8b42238b5b user32: Cache the window class name on the client side. 2007-11-02 11:57:35 +01:00
Alexandre Julliard 1ee62a8d72 user32: Properly handle integer atoms specified as strings in class names. 2007-11-02 11:42:53 +01:00
Alexandre Julliard b9b940fab9 server: Support using a name to destroy a window class too. 2007-11-01 15:28:30 +01:00
Alexandre Julliard 0762d98f7c server: Allow to send a name instead of an atom when creating a window class. 2007-11-01 13:02:01 +01:00
Alexandre Julliard bfe88a00f8 user32: Store the builtin class names in Unicode. 2007-11-01 12:55:00 +01:00
Dmitry Timoshkov 2712eb50b1 user32: Initialize more fields in the DEVMODE structure. 2007-11-01 12:41:30 +01:00
Alexandre Julliard c183a9e6e7 server: Added support for HWND_TOPMOST and HWND_NOTOPMOST. 2007-10-31 18:12:56 +01:00
Alexandre Julliard 86c8860d62 user32: SetParent should not make the window topmost. 2007-10-31 18:00:53 +01:00
Alexandre Julliard ebc6864953 user32: Don't allow changing the WS_EX_TOPMOST style with SetWindowLong. 2007-10-31 17:53:58 +01:00
Hwang YunSong(황윤성) 6aadc86297 user32: Updated Korean resource. 2007-10-31 14:09:25 +01:00
Alexandre Julliard e2b5227b65 user32: Fix a slightly incorrect assert. 2007-10-30 14:11:44 +01:00
Mikolaj Zalewski 585329ed13 user32: Better fix how to handle GetWindowLongPtr[AW](..., GWLP_WNDPROC) for builtin winprocs. 2007-10-30 14:08:50 +01:00
James Hawkins e6b658c4bf user32: Define WM_LBTRACKPOINT if it's not previously defined. 2007-10-26 14:03:47 +02:00
James Hawkins 0c22e54059 user32: Fix a test that now passes in Windows. 2007-10-26 14:03:47 +02:00
Lei Zhang 7c2263ddc4 user32: Do not send button click to dialog with disabled default button. 2007-10-25 13:52:09 +02:00
Alex Busenius ca625836de user32: Fix segfault when combobox contains a longer text than buffer_limit. 2007-10-22 16:30:53 +02:00