- 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
- Differentiate between incomplete and complete NCEs with regard to the timeout
- Change the IP timer to fire only once each second
- Remove unneeded completion functions
svn path=/trunk/; revision=54171
- 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
- Do not transmit fragments recursively since it can cause a kernel stack overflow with large packets
- Big thanks to hto for his work on this bug which has eluded me since last year
See issue #5796 for more details.
svn path=/trunk/; revision=54169
- 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
- Prevent corruption of the search context list using a combination of references and broader spin lock usage
- Fixes bug 6506
svn path=/trunk/; revision=54167
- 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
- Reapply the ConvertThreadToFiberEx changes from r52804, they were lost in r52805. Confirmed by Alex.
See issue #6394 for more details.
svn path=/trunk/; revision=54162
- 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
- Increase size of the homepage link control to correctly show the complete focus rectangle. Patch by Elton Chung (elton328 at gmail dot com)
See issue #5038 for more details.
svn path=/trunk/; revision=54154
Mark the VBE driver as VgaCompatible. This is an outrageous lie, but it lets us use 3rd party drivers, like VBoxVideo, while VBE is installed. Consider this a hack, which is to be fixed bei either making vbemp really vga compatible or by fixing whatever keeps the VBoxVideo from replacing vbemp.
svn path=/trunk/; revision=54152
- 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
- don't define _cdecl and __cdecl to nothing on MSVC builds.
- define cdecl and CDECL to nothing
- add #pragma once
- this file is full of hacks
svn path=/trunk/; revision=54149
* Sync config.h with recent Wine and remove some now unneeded defines. By Samuel Serapion.
See issue #6174 for more details.
svn path=/trunk/; revision=54146
* Move the wctype table from kernel32 to libwine in preparations for implementing crt locale support. By Samuel Serapion.
See issue #6538 for more details.
svn path=/trunk/; revision=54144
- 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
- Get rid of RETURN macro in input functions
- Don't check functions parameters when USER lock is held
- Improve formatting
svn path=/trunk/; revision=54141
Fix the confusion between mode index 12 and video mode 12h introduced more than six years ago. ReactOS should now boot again when VGA is selected in the 1st stage.
svn path=/trunk/; revision=54139
* Fix a copy-paste error in EngBitBlt() and improve DIB_32BPP_ColorFill() behaviour in case when input rectangle is invalid (RECTL structure fields are signed, so "jle" instruction should be used instead of "jbe").
* Patch by Igor Sudarikov <4seev3 at gmail [dot] com>
See issue #4423 for more details.
svn path=/trunk/; revision=54138
Remove an old hack, that caused an inconsistency between the display's device object name and the name of its symbolic link / registry key. The hack isn't needed anymore, because win32k now loads the next device if one isn't available. Fixes VBoxVideo being loaded together with framebuf.dll instead of VBoxDisp.dll and now the mouse pointer integration works completely.
svn path=/trunk/; revision=54135
- Keyboard state is update when msg is peeked from queue (not posted) and before virtual keys are simplified. Fixes 2 user32:input winetests.
svn path=/trunk/; revision=54134
- Since some display drivers don't do as they should - return the drisplay driver name in the DEVMODE's dmDisplayName field - but return the miniport driver name, fix that name when creating the mode list. This fixes loading of VBox driver, when it is installed properly, which needs to be fixed as well.
svn path=/trunk/; revision=54133
- Remove _fltused from alldiv_asm.s / mscmain.c and use fltused.c instead.
- Remove amd64/alldiv.S
- Implement amd64 ceil, ceilf with sse
[NTOSKNRL]
- Fix amd64 exports
[ASM]
- Fix amd64 asm files to conform to the new syntax
svn path=/trunk/; revision=54131
- Remove outdated comments
- Make Raw Input Thread CSRSS thread too
Thanks to Smiley and ThFabba for investigating TEB issue
svn path=/trunk/; revision=54128
- Added Print Screen support in previous comit accidentally...
- Fix build and warning about global object being removed
svn path=/trunk/; revision=54126
- Fix and simplify retrieving the current process window station. All processes that enter win32k have a window station (including csrss)
svn path=/trunk/; revision=54124
- Enable usbdrv.sys in 1st stage setup and the system hive
- USB keyboards and mice work now (file bugs if you have problems)
svn path=/trunk/; revision=54123