Commit Graph
2796 Commits
Author SHA1 Message Date
James Tabor eb9eb149da [Win32k|User32]
- Fix regressions, running RegEdit. Adding more support for scroll bar controls. Pass all but 7 tests including the two wine todos.

svn path=/trunk/; revision=54556
2011-12-01 12:42:05 +00:00
James Tabor c156702b26 [Win32k|User32]
- Fix scrollbar class support. Sync ports from wine. Added the window scroll structure to the class. Pass all but 15 tests, two are wine todos lines 304 and 343.

svn path=/trunk/; revision=54555
2011-12-01 03:20:02 +00:00
Dmitry Gorbachev 267dcf71eb [SOLITAIRE]
Change "Ok/Cancel" to "Yes/No". Lee Schroeder (=spaceseel=AT=gmail=DOT=com=), bug #6606.

[CPL][WIN32K]
Fix indentation, comments, debug messages. 
Lioncash (=mathew1800=AT=gmail=DOT=com=), bug #6562, bug #6621.

svn path=/trunk/; revision=54535
2011-11-29 14:55:58 +00:00
James Tabor 0155bc51c8 - fix GetNCHitEx, restore track mouse buttons in test system.
svn path=/trunk/; revision=54518
2011-11-28 06:37:45 +00:00
James Tabor 355e8279a6 - Fix GetNCHitEx rects.
svn path=/trunk/; revision=54510
2011-11-27 13:29:15 +00:00
James Tabor 1b23396e60 [Win32k]
- Create Monitor from rect. This will be used for window placement support.

svn path=/trunk/; revision=54508
2011-11-27 12:47:43 +00:00
Amine Khaldi 4f7abdba44 [WIN32K]
* Comment out some unused but set variables.
* Check for NtDeviceIoControlFile returned status and warn on failure.

svn path=/trunk/; revision=54491
2011-11-24 12:38:26 +00:00
Giannis Adamopoulos c1a19714f6 [win32k]
- Fix a typo in NtUserSetClipboardData that tried to print a struct as a pointer (cid 15051)
- Clean up clipboard.c a bit. note: this cleanup "fixes" cid 14599 and 14598, but even though they are false positives, this cleanup was needed
- Add missing break in NtUserQueryWindow (cid 13486)

svn path=/trunk/; revision=54483
2011-11-23 19:52:06 +00:00
Rafal Harabien 397bb2c11e - Partially revert r54475 to check if it fixes KVM
svn path=/trunk/; revision=54476
2011-11-22 20:11:55 +00:00
Rafal Harabien 2e5bcdab25 [WIN32CSR]
- Fix process reference leak in case of GuiConsoleOpenUserRegistryPathPerProcessId failing to open registry key. Fixes console processes in LiveCD being ghosts.

svn path=/trunk/; revision=54475
2011-11-22 18:49:40 +00:00
Rafal Harabien 21ac81fe72 [KERNEL32/WIN32CSR] - Use ShowCmd from STARTUPINFO when creating console window
svn path=/trunk/; revision=54456
2011-11-20 14:35:41 +00:00
James Tabor afe0f6cd2b [Win32k|User32]
- Correct more types.

svn path=/trunk/; revision=54397
2011-11-16 16:35:50 +00:00
James Tabor 37fe8c8eff [Win32k|User32]
- Fix broadcast message, pass all wine tests. Code consolidation next round.

svn path=/trunk/; revision=54376
2011-11-14 15:20:48 +00:00
Alex Ionescu c461e96188 [WIN32CSR/CSRSS]: Implement the Sound Sentry CSRSS API. Obviously won't work until a real winsrv.dll exists (and its job will be to call NtUserSoundSentry in win32k.sys).
svn path=/trunk/; revision=54357
2011-11-12 08:16:33 +00:00
James Tabor 98c56da01a [Win32k]
- Reposition IntCallWndProc/Ret so it call when sending to client.

svn path=/trunk/; revision=54294
2011-11-05 06:01:05 +00:00
James Tabor 2db8caa0e5 - Fix build.
svn path=/trunk/; revision=54289
2011-11-04 13:21:13 +00:00
James Tabor bc031d7389 [Win32k|User32]
- Move control color support to Win32k.

svn path=/trunk/; revision=54288
2011-11-04 13:16:48 +00:00
Jérôme Gardou daf8019f6c [WIN32K]
- Allocate lokkaside lists from non paged pool.
- Add allocation failure check.

svn path=/trunk/; revision=54277
2011-10-30 18:37:30 +00:00
James Tabor 12f502c35b [Win32k]
- don't hangup on the user while in send message.

svn path=/trunk/; revision=54275
2011-10-30 15:44:31 +00:00
James Tabor ee477c63ed - Fix crash in cursoricon test.
svn path=/trunk/; revision=54253
2011-10-25 02:14:38 +00:00
Rafal Harabien 1f46cba81b [WIN32K] - SystemParametersInfo does not support SPIF_UPDATEINIFILE for SPI_SETDEFAULTINPUTLANG
svn path=/trunk/; revision=54228
2011-10-21 21:47:16 +00:00
Rafal Harabien 9e2f17bd8e [WIN32K]
- Mouse code cleanup
- Support MOUSEEVENTF_VIRTUALDESK flag in MOUSEINPUT properly
- Support MOUSE_VIRTUAL_DESKTOP flag in MOUSE_INPUT_DATA properly
- Do not ignore MK_SHIFT and MK_CONTROL flags in some mouse messages

svn path=/trunk/; revision=54227
2011-10-21 21:23:51 +00:00
Rafal Harabien 5d67b60839 [WIN32K] - Implement SPI_GETDEFAULTINPUTLANG.
svn path=/trunk/; revision=54225
2011-10-21 15:18:04 +00:00
Rafal Harabien af5cf6965c [WIN32K]
- Don't set every loaded layout as default. Instead implement SPI_SETDEFAULTINPUTLANG. Fixes some minor problems with wrong layout loaded.
- Fix removing hotkey not associated with window (fixes winetest).

svn path=/trunk/; revision=54223
2011-10-21 14:54:22 +00:00
James Tabor a87d86ea1a [Win32k]
- Fix path support, now all wine path tests pass.
- Need a PolyDraw test for non-path functions! The non-path code was synced ported, but still failed 16 path tests, then path was moved out. Purged missing patches from the last trunk freeze, tested with the program Area.
- Sync Information:
  Evan Stade <[email protected]> : Improved PolyDraw in path closed case. Added PATH_PolyDraw.

svn path=/trunk/; revision=54210
2011-10-20 12:02:15 +00:00
James Tabor 6bbe25388c [Win32k]
- Fix crash in PATH_ExtTextOut. See bug 6587.
- Sync Information:
  Huw Davies <[email protected]> : Add support for ETO_PDY and improve world transform support.
  Massimo Del Fedele <[email protected]> : Fix PATH_add_outline when mapping mode != MM_TEXT. PATH_ExtTextOut remove incorrect shift to DC origin. Correctly handle space char on Path_ExtTextOut().
  Dmitry Timoshkov <[email protected]> : The MAT2 parameter of GetGlyphOutline is mandatory.





svn path=/trunk/; revision=54209
2011-10-19 23:50:54 +00:00
Rafal Harabien 3e3de2a6b0 - Fix build
svn path=/trunk/; revision=54205
2011-10-19 20:08:25 +00:00
Rafal Harabien db62557f8c [WIN32K|USER32]
- Make keyboard layouts code more compatible
- Layouts and kbd files are user objects
- Preloaded layouts are added by Winlogon, not win32k
- Support Keyboard Layout substitutes in registry

svn path=/trunk/; revision=54203
2011-10-19 20:03:50 +00:00
Rafal Harabien f00c31f3ff [WIN32K] - Don't define things from PSDK in source code
svn path=/trunk/; revision=54202
2011-10-19 19:25:45 +00:00
Rafal Harabien 51a410c228 [WIN32K]
- Don't use exclusive lock when shared is enough
- Don't declare functions in source code

svn path=/trunk/; revision=54198
2011-10-19 16:00:46 +00:00
Rafal Harabien c9134c871b [WIN32K]
- Simplify monitors code
- fix few minor bugs (ie. not updating last error)
- Make monitor object more compatible to windows

svn path=/trunk/; revision=54197
2011-10-19 15:40:17 +00:00
James Tabor 963dfffc01 - Move mouse history to mouse.c and it is not effected by the hook bypass.
svn path=/trunk/; revision=54196
2011-10-19 01:07:19 +00:00
Rafal Harabien 4ba68ec5ab [WIN32K]
- Add missing locks in monitors API
- Set proper last error when allocation fails

svn path=/trunk/; revision=54195
2011-10-18 23:01:29 +00:00
Timo Kreuzer 8dba8e4af8 [WIN32K]
Copy the BITMAPINFO to a safe kernel mode buffer, before accessing it. Fixes bug 6587.

svn path=/trunk/; revision=54188
2011-10-18 13:13:37 +00:00
Giannis Adamopoulos 144e71d4b2 [win32k]
-Force all top level windows to update the size and position of their non client area when SPI_SETNONCLIENTMETRICS is used
-Should fix changing the non client metrics like caption height for open windows (before this we needed to close and reopen existing windows to let them be painted properly)

svn path=/trunk/; revision=54186
2011-10-18 10:54:13 +00:00
Giannis Adamopoulos 049399ec77 [win32k]
- Do not send message WM_NCCALCSIZE asynchronously because we need its return value from the receiver. Should fix resizing or moving the non-client area of windows

svn path=/trunk/; revision=54185
2011-10-18 10:48:03 +00:00
James Tabor 2c56678681 - Remove Fixme.
svn path=/trunk/; revision=54175
2011-10-17 05:22:33 +00:00
James Tabor c20327df7c [Win32k]
- Fix TME. Not complete. These changes will allow theme highlighting to work.
- Passes wine test_TrackMouseEvent.
- Adamopoulos TME tests are proving to be difficult in locking down thread issues. On a slow system in CMD not redirected the test passes all but 15. Slow systems in CMD redirected to a output file or on real hardware in CMD not redirected, the results vary from 15 when the CMD buffer is full to 35 when it is not. When isolating each test, it passes. The QS bit issue will be handled later.

svn path=/trunk/; revision=54172
2011-10-17 02:07:24 +00:00
James Tabor 97eddfb464 [Win32k]
- Fix timer resolution so it will run every 10 ms +/-1ms. This is the default setting when the user provides less than 10 ms for the period to wait for the timer event. Pass wine test_timers_no_wnd.

svn path=/trunk/; revision=54170
2011-10-17 01:33:55 +00:00
Olaf Siejka 9e9b67bc8f [TRANSLATION]
- Romanian translation of userenv, winmm, ntvdm, and win32csr (bug no. 6580) and inf (bug no. 6577) by Stefan Fulea (minor corrections by me);
- Polish translation update/cleanup of inf by me;
- Spanish inetcpl translation (bug no. 6472) and French subst translation (bug no. 6166) by Jason Genie;

svn path=/trunk/; revision=54168
2011-10-16 23:39:00 +00:00
Rafal Harabien 49793fea10 [WIN32K]
- Remove ReadRegistryValue in kbdlayout.c as we already implement RegQueryValue for reading from registry in W32k. This function additionally checks value type.
- Rename KBL to KL based on Techwiki
- HKCU\Keyboard Layout\Preload value is REG_SZ (not REG_EXPAND_SZ)
- NtUserLoadKeyboardLayoutEx should set last error if flags are invalid
- Minor keyboard layout code cleanup

svn path=/trunk/; revision=54163
2011-10-16 15:39:07 +00:00
Rafal Harabien 1a1bb9dde4 - Fix MSVC build based on ThFabba suggestion
svn path=/trunk/; revision=54161
2011-10-16 14:59:29 +00:00
Rafal Harabien 1a70d9f223 [WIN32K] - Formating... No code changes.
svn path=/trunk/; revision=54160
2011-10-16 12:26:22 +00:00
Rafal Harabien 7ab2968d8e [WIN32K]
- Merge KeyboardInput thread and MouseInputThread into Raw Input Thread (RIT)

svn path=/trunk/; revision=54159
2011-10-16 11:39:47 +00:00
Timo Kreuzer 7dae81f20e [WIN32K]
- Fix insertion of the GRAPHICS_DEVICE into the global list. Fixes mode enumeration when the 2nd adapter is used.
- Remove a hack.

svn path=/trunk/; revision=54156
2011-10-16 09:15:19 +00:00
Thomas Faber d11dc6f620 [TRANSLATION]
- Fix some German formal addressing

svn path=/trunk/; revision=54155
2011-10-16 07:57:59 +00:00
James Tabor c537b5111e [Win32k]
- Fix timer resolution to match what windows uses. Now pass wine test_timers_no_wnd.

svn path=/trunk/; revision=54153
2011-10-15 21:35:40 +00:00
Timo Kreuzer de06265192 [WIN32K]
- Fix a bug when iterating through the DEVMODE list
- Handle VgaCompatible flag differently, by reading this value from the registry for every installed driver.
- Priorize non-vga compatible devices over vga compatible, unless /BASEVIDEO is requested
- Fall back to vga compatible driver when no other is present

svn path=/trunk/; revision=54151
2011-10-15 21:22:19 +00:00
James Tabor 1d1913a81e [Win32k]
- Fix timer resolution for once a millisecond. Now pass wine test_timers_no_wnd.

svn path=/trunk/; revision=54150
2011-10-15 21:01:24 +00:00
James Tabor df27194993 [Win32k]
- Properly set the timer event id's to match tests and add one more bit for track.
- Restore TME user API (now in mouse.c) and Hover Timer, these are not the Droids you are looking for.
- Restore TME cancellation point in co_MsqInsertMouseMessage and duplicate the the same in co_IntProcessMouseMessage. First thing, pDesk->spwndTrack is never NULL. The Theme TME patch code was setting the wrong QS bit and sending to the wrong queue instead of the pDesk->spwndTrack queue. Surprising this was working at all.
- Tested with Themes, passes wine test_TrackMouseEvent and fixes bug (6257 <-- !).
Notes:
  It's all in the sequencing. Locate cancellation points, tracking mouse moves and set the hit test and track window. When the window message queue does not match the current thread, check it again and restore the mouse hover window if it is the same window as the track window and the hover bit set. Track cancellation points and clear the bits at the same time. Not when in WM_MOUSEMOVE. Guess when posting or sending to another thread? co_MsqInsertMouseMessage?

svn path=/trunk/; revision=54142
2011-10-15 00:38:23 +00:00