reactos.git
12 years ago[WIN32K]
Rafal Harabien [Fri, 14 Oct 2011 19:01:35 +0000 (19:01 +0000)]
[WIN32K]
- 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

12 years ago[WIN32K] - Move mouse specific input processing from input.c to mouse.c
Rafal Harabien [Fri, 14 Oct 2011 18:41:06 +0000 (18:41 +0000)]
[WIN32K] - Move mouse specific input processing from input.c to mouse.c

svn path=/trunk/; revision=54140

12 years ago[VGAMP]
Kamil Hornicek [Fri, 14 Oct 2011 18:09:30 +0000 (18:09 +0000)]
[VGAMP]
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

12 years ago[WIN32K]
Amine Khaldi [Fri, 14 Oct 2011 18:03:07 +0000 (18:03 +0000)]
[WIN32K]
* 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

12 years ago[WIN32K] - Fix sending WM_SYSKEYUP for ALT. Fixes rest of user32:input winetest ...
Rafal Harabien [Fri, 14 Oct 2011 17:59:16 +0000 (17:59 +0000)]
[WIN32K] - Fix sending WM_SYSKEYUP for ALT. Fixes rest of user32:input winetest (6). It's finally green!

svn path=/trunk/; revision=54137

12 years ago[CMD]
Amine Khaldi [Fri, 14 Oct 2011 17:50:16 +0000 (17:50 +0000)]
[CMD]
* Reduce the scope of some variables.

svn path=/trunk/; revision=54136

12 years ago[VIDEOPRT]
Timo Kreuzer [Fri, 14 Oct 2011 14:50:22 +0000 (14:50 +0000)]
[VIDEOPRT]
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

12 years ago[WIN32K]
Rafal Harabien [Fri, 14 Oct 2011 14:21:51 +0000 (14:21 +0000)]
[WIN32K]
- 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

12 years ago[WIN32K]
Timo Kreuzer [Fri, 14 Oct 2011 13:41:03 +0000 (13:41 +0000)]
[WIN32K]
- 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

12 years ago[CRT]
Timo Kreuzer [Fri, 14 Oct 2011 08:50:13 +0000 (08:50 +0000)]
[CRT]
Fix rbuild...

svn path=/trunk/; revision=54132

12 years ago[CRT]
Timo Kreuzer [Fri, 14 Oct 2011 08:33:22 +0000 (08:33 +0000)]
[CRT]
- 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

12 years ago[UNIATA]
Dmitry Gorbachev [Fri, 14 Oct 2011 05:33:49 +0000 (05:33 +0000)]
[UNIATA]
Nathan Lineback <~lineback~AT~toastytech~DOT~com~>:
- Apply the Linux fix to UniATA. Bug #6500.

svn path=/trunk/; revision=54130

12 years ago- Fix timers.
James Tabor [Fri, 14 Oct 2011 02:44:48 +0000 (02:44 +0000)]
- Fix timers.

svn path=/trunk/; revision=54129

12 years ago[WIN32K/CSRSS]
Rafal Harabien [Thu, 13 Oct 2011 22:38:58 +0000 (22:38 +0000)]
[WIN32K/CSRSS]
- Remove outdated comments
- Make Raw Input Thread CSRSS thread too
Thanks to Smiley and ThFabba for investigating TEB issue

svn path=/trunk/; revision=54128

12 years ago[CSRSS] - Remove DbgBreakPoint
Rafal Harabien [Thu, 13 Oct 2011 22:26:00 +0000 (22:26 +0000)]
[CSRSS] - Remove DbgBreakPoint

svn path=/trunk/; revision=54127

12 years ago[WIN32K]
Rafal Harabien [Thu, 13 Oct 2011 22:24:02 +0000 (22:24 +0000)]
[WIN32K]
- Added Print Screen support in previous comit accidentally...
- Fix build and warning about global object being removed

svn path=/trunk/; revision=54126

12 years ago[WIN32K/CSRSS]
Rafal Harabien [Thu, 13 Oct 2011 22:22:49 +0000 (22:22 +0000)]
[WIN32K/CSRSS]
- Spawn keyboard and mouse input threads in csrss user-mode process so they are valid Win32 threads and have TEB

svn path=/trunk/; revision=54125

12 years ago[win32k]
Giannis Adamopoulos [Thu, 13 Oct 2011 22:16:58 +0000 (22:16 +0000)]
[win32k]
- 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

12 years ago[BOOTDATA]
Cameron Gutman [Thu, 13 Oct 2011 22:16:52 +0000 (22:16 +0000)]
[BOOTDATA]
- 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

12 years ago[USBDRV]
Cameron Gutman [Thu, 13 Oct 2011 22:07:31 +0000 (22:07 +0000)]
[USBDRV]
- Rename usbdriver to usbdrv (Freeloader can't load files that aren't 8.3 - needs looking into)
- Include usbdrv in build

svn path=/trunk/; revision=54122

12 years ago[RTL]
Amine Khaldi [Thu, 13 Oct 2011 21:48:10 +0000 (21:48 +0000)]
[RTL]
* Fix unix build.

svn path=/trunk/; revision=54121

12 years ago[KBDCLASS]
Cameron Gutman [Thu, 13 Oct 2011 21:38:07 +0000 (21:38 +0000)]
[KBDCLASS]
- Add a small hack to bind all keyboard port devices to the same keyboard class device when no default setting is present (circumvents win32k not supporting multiple keyboard class FDOs)

svn path=/trunk/; revision=54120

12 years ago[TRANSLATION]
Olaf Siejka [Thu, 13 Oct 2011 21:32:37 +0000 (21:32 +0000)]
[TRANSLATION]
- serialui, setupapi, shimgvw and tapiui romanian translation, patch by Stefan Fulea;
See issue #6558 for more details.

svn path=/trunk/; revision=54119

12 years ago[WIN32K] - Add more clipboard internal functions for use by Print Screen support
Rafal Harabien [Thu, 13 Oct 2011 20:49:03 +0000 (20:49 +0000)]
[WIN32K] - Add more clipboard internal functions for use by Print Screen support

svn path=/trunk/; revision=54118

12 years ago[WINED3D]
Kamil Hornicek [Thu, 13 Oct 2011 19:57:31 +0000 (19:57 +0000)]
[WINED3D]
Finally recognize Mesa's GDI driver as HW_VENDOR_SOFTWARE. This commit was blessed by the Wine team.

svn path=/trunk/; revision=54117

12 years ago[RTL]
Aleksey Bragin [Thu, 13 Oct 2011 18:15:50 +0000 (18:15 +0000)]
[RTL]
- Fix two bugs revealed by the newly added test in r54114.
 * Original length of the passed string should be used when checking for out-of-buffer access in the loop
 * PathChars should be updated if a DOS device name was found in the given string.
See issue #6390 for more details.

svn path=/trunk/; revision=54116

12 years ago- Add a new RtlIsDosPathName_Ustr test which shows a flaw in the existing implementation.
Aleksey Bragin [Thu, 13 Oct 2011 17:42:19 +0000 (17:42 +0000)]
- Add a new RtlIsDosPathName_Ustr test which shows a flaw in the existing implementation.

svn path=/trunk/; revision=54114

12 years ago[EXPLORER] - If Start Menu is open, WIN key hides it
Rafal Harabien [Thu, 13 Oct 2011 15:50:24 +0000 (15:50 +0000)]
[EXPLORER] - If Start Menu is open, WIN key hides it

svn path=/trunk/; revision=54113

12 years ago[ASM]
Timo Kreuzer [Thu, 13 Oct 2011 15:16:29 +0000 (15:16 +0000)]
[ASM]
Improve .proc / .endproc syntax, so that the full symbolic name is passed, which allows to create fastcall symbols. Remove the need to pass the function name to .endp

svn path=/trunk/; revision=54112

12 years ago[GDI32_WINETEST]
Kamil Hornicek [Thu, 13 Oct 2011 14:11:50 +0000 (14:11 +0000)]
[GDI32_WINETEST]
Bail out of compare_emf_bits earlier. This way we only record one skipped test, but it allows us to actually complete the metafile tests. Restore formatting to its previous glory.

svn path=/trunk/; revision=54111

12 years ago[NOTEPAD] - Characters in ANSI windows are fixed so finally mark notepad as unicode
Rafal Harabien [Thu, 13 Oct 2011 14:02:21 +0000 (14:02 +0000)]
[NOTEPAD] - Characters in ANSI windows are fixed so finally mark notepad as unicode

svn path=/trunk/; revision=54110

12 years ago[USER32|WIN32K]
Rafal Harabien [Thu, 13 Oct 2011 14:01:01 +0000 (14:01 +0000)]
[USER32|WIN32K]
- Convert wParam in WM_*CHAR messages to ANSI in GetMessageA instead of win32k. Fixes wrong characters used in cmake notepad which is ANSI.

svn path=/trunk/; revision=54109

12 years agofix build
Kamil Hornicek [Thu, 13 Oct 2011 13:38:22 +0000 (13:38 +0000)]
fix build

svn path=/trunk/; revision=54108

12 years ago[WIN32K]
Rafal Harabien [Thu, 13 Oct 2011 13:23:57 +0000 (13:23 +0000)]
[WIN32K]
- Right ALT on some keyboard sends LCONTROL and RALT key events
- Shift has never extended bit in key messages
- Fixes about 32 user32:input winetest
- Don't allow to register hotkeys with special keys combinations (eg. WIN key)
- Set last error in RegisterHotKey if hotkey is already registered

svn path=/trunk/; revision=54107

12 years ago[GDI32_APITEST]
Timo Kreuzer [Thu, 13 Oct 2011 12:52:25 +0000 (12:52 +0000)]
[GDI32_APITEST]
- Add tests for CreateDIBitmap
- more tests for AddFontResource, GetPixel, SetSysColors

svn path=/trunk/; revision=54106

12 years ago[SYSSETUP]
Kamil Hornicek [Thu, 13 Oct 2011 12:38:24 +0000 (12:38 +0000)]
[SYSSETUP]
Allow creating of shortcuts with icon indexes != 0.
[EXPLORER]
Shuffle the resources a bit so icons with indexes 0 and 1 match those in windows explorer.
See issue #6544 for more details.

svn path=/trunk/; revision=54105

12 years ago[Win32k]
James Tabor [Thu, 13 Oct 2011 11:57:38 +0000 (11:57 +0000)]
[Win32k]
- Restore global class operations.
[ComCtl32]
- Use local class since this has higher priority over all global classes.
[Themes]
- Tested with XP Luna and two others. Rune and another Luna.

svn path=/trunk/; revision=54104

12 years ago[GDI32]
Kamil Hornicek [Wed, 12 Oct 2011 23:07:22 +0000 (23:07 +0000)]
[GDI32]
Partial winesync to reduce code duplication and fix a crash in gdi32 font winetest.

svn path=/trunk/; revision=54103

12 years ago[Rtl]
James Tabor [Wed, 12 Oct 2011 22:48:01 +0000 (22:48 +0000)]
[Rtl]
- Replace RtlQueryInformationActiveActivationContext and set it based on wine.

svn path=/trunk/; revision=54102

12 years ago[Win32k]
James Tabor [Wed, 12 Oct 2011 22:46:07 +0000 (22:46 +0000)]
[Win32k]
- Support Active SxS for the window structures.

svn path=/trunk/; revision=54101

12 years ago[SHELL32]
Kamil Hornicek [Wed, 12 Oct 2011 21:54:10 +0000 (21:54 +0000)]
[SHELL32]
Use COPYRIGHT_YEAR in the Authors dialog.
See issue #6496 for more details.

svn path=/trunk/; revision=54100

12 years agoone .rbuild file ought to be enough for anybody
Kamil Hornicek [Wed, 12 Oct 2011 21:33:48 +0000 (21:33 +0000)]
one .rbuild file ought to be enough for anybody

svn path=/trunk/; revision=54099

12 years ago[DESK]
Rafal Harabien [Wed, 12 Oct 2011 21:30:50 +0000 (21:30 +0000)]
[DESK]
- Fix duplicated entries in screensaver selector. Patch by Carlo Bramix <carlo dot bramix at libero dot it>.
See issue #6533 for more details.

svn path=/trunk/; revision=54098

12 years ago[RTL]
Timo Kreuzer [Wed, 12 Oct 2011 21:11:02 +0000 (21:11 +0000)]
[RTL]
On x86 builds use the asm versions of the byte swap functions. This is neccessary for RtlUlonglongByteswap, because the function breaks the calling convention on Windows, not cleaning up the stack. Make the asm compatible to ML and improve it a bit. Investigated by Thomas Faber.

svn path=/trunk/; revision=54097

12 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 12 Oct 2011 19:26:45 +0000 (19:26 +0000)]
[NTOSKRNL]
Do not use image base addresses above MmHighestUserAddress in MmMapViewOfSection, because it would first succeed when checking for conflicting memory areas, and thus not try to find a better address, but later fail in MmMapViewOfSegment, which cannot create a memory area in system space (only possible with MmKernelAddressSpace / PsIdleProcess).
See issue #5680 for more details.

svn path=/trunk/; revision=54096

12 years ago[SERVICES]
Timo Kreuzer [Wed, 12 Oct 2011 14:26:01 +0000 (14:26 +0000)]
[SERVICES]
- Do not keep the process handle of a started process open
- when sending a STOP command to a process failed, then succeed and mark the process as stopped.
Fixes ghost processes, when terminating a service with taskmgr and allows to restart services that got terminated or possibly crashed.

svn path=/trunk/; revision=54095

12 years ago* Improve some includes.
Amine Khaldi [Wed, 12 Oct 2011 12:24:19 +0000 (12:24 +0000)]
* Improve some includes.

svn path=/trunk/; revision=54094

12 years ago[RTL]
Thomas Faber [Wed, 12 Oct 2011 11:58:46 +0000 (11:58 +0000)]
[RTL]
- Handle a NULL buffer in RtlIpv4AddressToStringA as Windows does. Fixes crash in ntdll:rtl test
[CRT]
- Fail on qsort with 0 size. Fixes hang in ntdll:string test

svn path=/trunk/; revision=54093

12 years ago[STLPORT]
Thomas Faber [Wed, 12 Oct 2011 11:49:25 +0000 (11:49 +0000)]
[STLPORT]
- Revert r54088
[GLU32]
- Do not use stlport headers with MSVC, as they are broken. Should really fix MSVC build

svn path=/trunk/; revision=54092

12 years ago[RTL]
Thomas Faber [Wed, 12 Oct 2011 11:36:52 +0000 (11:36 +0000)]
[RTL]
- Rewrite RtlFindCharInUnicodeString. Fixes timeout in ntdll:rtlstr test.

svn path=/trunk/; revision=54091

12 years ago[KMTESTS/RTL]
Thomas Faber [Wed, 12 Oct 2011 11:25:34 +0000 (11:25 +0000)]
[KMTESTS/RTL]
- Add a test for RtlFindCharInUnicodeString

svn path=/trunk/; revision=54090

12 years ago[RPCRT4_WINETEST]
Thomas Faber [Wed, 12 Oct 2011 11:02:41 +0000 (11:02 +0000)]
[RPCRT4_WINETEST]
- Sync to Wine 1.3.30. Fixes crash in rpcrt4:rpc test
See issue #5778 for more details.

svn path=/trunk/; revision=54089

12 years ago[STLPORT]
Thomas Faber [Wed, 12 Oct 2011 09:05:23 +0000 (09:05 +0000)]
[STLPORT]
- Do not define min() or max() when standard headers are included. Should fix MSVC build

svn path=/trunk/; revision=54088

12 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 11 Oct 2011 21:29:13 +0000 (21:29 +0000)]
[NTOSKRNL]
Handle some ros specific codes in KD64 version of KdSystemDebugControl (tab-k, ...)

svn path=/trunk/; revision=54087

12 years ago[SHELL32]
Amine Khaldi [Tue, 11 Oct 2011 20:13:47 +0000 (20:13 +0000)]
[SHELL32]
* Igor Paliychuk: Convert shell32 resources to utf-8.
See issue #6379 for more details.

svn path=/trunk/; revision=54086

12 years ago[win32k]
Giannis Adamopoulos [Tue, 11 Oct 2011 19:22:07 +0000 (19:22 +0000)]
[win32k]
- do not use RETURN macro in keyboard functions

svn path=/trunk/; revision=54085

12 years ago[CMAKE]
Amine Khaldi [Tue, 11 Oct 2011 18:52:28 +0000 (18:52 +0000)]
[CMAKE]
* Fix a typo.

svn path=/trunk/; revision=54084

12 years ago[FREELDR]
Amine Khaldi [Tue, 11 Oct 2011 18:43:34 +0000 (18:43 +0000)]
[FREELDR]
* Comment out some unused variables.

svn path=/trunk/; revision=54083

12 years ago[CMAKE]
Amine Khaldi [Tue, 11 Oct 2011 18:31:35 +0000 (18:31 +0000)]
[CMAKE]
* Use the gcc toolchain-provided STL.
* Use STLport only on MSVC builds.
[KSPROXY]
* Set imagebase, properly set its entry point, use set_cpp() instead of hardcoded definition/includes and add no exceptions/rtti gcc flags.
[GLU32]
* Use set_cpp() instead of the hardcoded target_link_libraries().
[PORTCLS]
* Use set_module_type() with proper entry point, instead of expanded macro calls, and get rid of hardcoded target_link_libraries().

* Commit Dedicated to Olaf Siejka (Caemyr).

svn path=/trunk/; revision=54082

12 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 11 Oct 2011 16:11:59 +0000 (16:11 +0000)]
[NTOSKRNL]
Implement SystemTimeAdjustmentInformation case in NtSetSystemInformation. This silences the annoying messages caused by VBoxService

svn path=/trunk/; revision=54081

12 years ago[ntdll_apitests]
Timo Kreuzer [Tue, 11 Oct 2011 16:09:34 +0000 (16:09 +0000)]
[ntdll_apitests]
Fix rbuild build

svn path=/trunk/; revision=54080

12 years ago[ntdll_apitests]
Timo Kreuzer [Tue, 11 Oct 2011 15:29:25 +0000 (15:29 +0000)]
[ntdll_apitests]
Add tests for NtQuery/SetSystemInformation

svn path=/trunk/; revision=54079

12 years ago[NDIS]
Amine Khaldi [Tue, 11 Oct 2011 14:36:41 +0000 (14:36 +0000)]
[NDIS]
* Fix NdisMWanIndicateReceiveComplete params.

svn path=/trunk/; revision=54078

12 years ago- Fix applications that depend on KF_DLGMODE flag.
James Tabor [Tue, 11 Oct 2011 03:48:47 +0000 (03:48 +0000)]
- Fix applications that depend on KF_DLGMODE flag.
- Added the Alt-Tab intercept for win32k.

svn path=/trunk/; revision=54077

12 years ago[EXPLORER]
Timo Kreuzer [Mon, 10 Oct 2011 22:12:39 +0000 (22:12 +0000)]
[EXPLORER]
Implement support for hotkeys for run, show desktop and logoff
currently it also causes the startmenu to open, like with win-E, but this is a different bug

See issue #1512 for more details.

svn path=/trunk/; revision=54076

12 years ago[SHELL32]
Amine Khaldi [Mon, 10 Oct 2011 18:17:25 +0000 (18:17 +0000)]
[SHELL32]
* Improve the registration. By Johannes Anderwald.

svn path=/trunk/; revision=54075

12 years ago[win32k]
Giannis Adamopoulos [Mon, 10 Oct 2011 16:11:49 +0000 (16:11 +0000)]
[win32k]
- revert last commit as these headers are really broken

svn path=/trunk/; revision=54074

12 years ago[win32k]
Giannis Adamopoulos [Mon, 10 Oct 2011 15:48:37 +0000 (15:48 +0000)]
[win32k]
- move some includes to pch.h

svn path=/trunk/; revision=54073

12 years ago[CDFS]
Kamil Hornicek [Mon, 10 Oct 2011 13:37:19 +0000 (13:37 +0000)]
[CDFS]
Fix a buffer overrun that was corrupting the FCB.
See issue #4086 for more details.

svn path=/trunk/; revision=54072

12 years ago[KERNEL32]
Thomas Faber [Mon, 10 Oct 2011 12:14:12 +0000 (12:14 +0000)]
[KERNEL32]
- Properly copy image name in TH32CreateSnapshotSectionInitialize. Fixes truncated file names in kernel32:toolhelp test

svn path=/trunk/; revision=54071

12 years ago- Fix get atom name so seh will not lock it up.
James Tabor [Mon, 10 Oct 2011 04:49:53 +0000 (04:49 +0000)]
- Fix get atom name so seh will not lock it up.

svn path=/trunk/; revision=54070

12 years ago[ADVAPI32]
Thomas Faber [Mon, 10 Oct 2011 00:17:02 +0000 (00:17 +0000)]
[ADVAPI32]
- Hackfix RtlGenRandom to be slightly less dependent on the current time, while staying very un-random.
- Should fix services problems (no joke) due to non-unique RPC UUIDs
See issue #6542 for more details.

svn path=/trunk/; revision=54069

12 years ago[SHELL32]
Amine Khaldi [Sun, 9 Oct 2011 23:19:35 +0000 (23:19 +0000)]
[SHELL32]
* Mark some functions as static.
* Fix a typo in My_VideoW.

svn path=/trunk/; revision=54068

12 years ago[WIN32K] - Fix translating syskeys to characters. Fixes user32:input winetest.
Rafal Harabien [Sun, 9 Oct 2011 20:56:57 +0000 (20:56 +0000)]
[WIN32K] - Fix translating syskeys to characters. Fixes user32:input winetest.

svn path=/trunk/; revision=54067

12 years ago[WIN32K] - Formatting... No code change.
Rafal Harabien [Sun, 9 Oct 2011 20:41:09 +0000 (20:41 +0000)]
[WIN32K] - Formatting... No code change.

svn path=/trunk/; revision=54066

12 years ago[WIN32K] - Rename xxxDoHotKeyStuff to co_UserProcessHotKeys on smiley request
Rafal Harabien [Sun, 9 Oct 2011 20:27:08 +0000 (20:27 +0000)]
[WIN32K] - Rename xxxDoHotKeyStuff to co_UserProcessHotKeys on smiley request

svn path=/trunk/; revision=54065

12 years ago- Fix build
Rafal Harabien [Sun, 9 Oct 2011 20:17:33 +0000 (20:17 +0000)]
- Fix build

svn path=/trunk/; revision=54064

12 years ago[WIN32K]
Rafal Harabien [Sun, 9 Oct 2011 20:12:12 +0000 (20:12 +0000)]
[WIN32K]
- Use 64 byte bitmap for keystate instead of 256 elements array (like Windows)
- Fix GetAsyncKeyState lowest bit meaning. See MSDN
- Call low level keyboard hook before setting async key state for keys which distinguish between left and right hand. Fixes user32:GetKeyState apitest failure
- Improve IsHotKey and delete GetHotKey function to avoid code duplication
- Support WIN key in hotkeys code instead of keyboard.c

svn path=/trunk/; revision=54063

12 years ago[FREELDR]
Timo Kreuzer [Sun, 9 Oct 2011 16:26:19 +0000 (16:26 +0000)]
[FREELDR]
set CF, ZF and SF based on REGS structure, when doing int's. Fixes slowness during 2nd stage boot in QEMU. Dedicated to Samuel.

svn path=/trunk/; revision=54062

12 years ago[RTL] - Make sure RtlInitUnicodeString(Ex) don't set odd length. Fixes ntdll:rtlstr...
Rafal Harabien [Sun, 9 Oct 2011 09:55:40 +0000 (09:55 +0000)]
[RTL] - Make sure RtlInitUnicodeString(Ex) don't set odd length. Fixes ntdll:rtlstr winetest.

svn path=/trunk/; revision=54061

12 years ago[USER32_APITEST] Fix GetSystemMetrics test output which was interpret by testman...
Rafal Harabien [Sun, 9 Oct 2011 09:41:49 +0000 (09:41 +0000)]
[USER32_APITEST] Fix GetSystemMetrics test output which was interpret by testman as crash.

svn path=/trunk/; revision=54060

12 years ago[SETUPAPI]
Eric Kohl [Sun, 9 Oct 2011 00:39:30 +0000 (00:39 +0000)]
[SETUPAPI]
- SetupDiCreateDeviceInfoW: return the proper error code. Fixes a winetest.
- Implements parts of SetupDiRegisterDeviceInfo.

svn path=/trunk/; revision=54059

12 years ago[WIN32K]
Rafal Harabien [Sat, 8 Oct 2011 23:33:26 +0000 (23:33 +0000)]
[WIN32K]
- Rename gKeyStateTable to gafAsyncKeyState: it's a proper name
- Fix accelerators regression

svn path=/trunk/; revision=54058

12 years ago[LDR]
Aleksey Bragin [Sat, 8 Oct 2011 22:33:56 +0000 (22:33 +0000)]
[LDR]
- Implement proper security cookie initialization code (same algorithm as in sdk/crt, however using as much data directly available as possible).
- Don't initialize security cookie as a 32bit value when 16bit security cookie was requested. This fixes msi-related crashes (or any other executables which has 16bit security cookie set).
See issue #6341 for more details.

svn path=/trunk/; revision=54057

12 years ago[SHELL32]
Amine Khaldi [Sat, 8 Oct 2011 17:33:21 +0000 (17:33 +0000)]
[SHELL32]
* Sync brsfolder.cpp with Wine.
* Reduce the scope of some variables.

svn path=/trunk/; revision=54056

12 years ago[CMAKE]
Amine Khaldi [Sat, 8 Oct 2011 16:47:57 +0000 (16:47 +0000)]
[CMAKE]
* Temporarily go back to using the ret^H^H^H previous way of using debug info. Build will, for example, be slower, take double the disk space it needs right now, but...
* Introduce __ROS_DWARF__ for the meaning __ROS_CMAKE__ implied previously.

svn path=/trunk/; revision=54055

12 years ago[RTL]
Timo Kreuzer [Sat, 8 Oct 2011 13:50:14 +0000 (13:50 +0000)]
[RTL]
- Fix possible integer overflow in RtlpInitializeHeapSegment
- Simplify loop in RtlIsDosDeviceName_Ustr
- Make MonthLengths an array of UCHARs instead of ints
- Remove pointless loops in RtlTimeToTimeFields
- Fix MSVC warnings

svn path=/trunk/; revision=54054

12 years ago[SHELL32]
Amine Khaldi [Sat, 8 Oct 2011 13:19:45 +0000 (13:19 +0000)]
[SHELL32]
* Use the previous registration mechanism. Fixes several shell32 regressions.
* Dedicated to Claudiu Mihail and Johannes Anderwald.

svn path=/trunk/; revision=54053

12 years ago- Add register class name proc.
James Tabor [Sat, 8 Oct 2011 02:18:04 +0000 (02:18 +0000)]
- Add register class name proc.

svn path=/trunk/; revision=54052

12 years ago[WIN32K]
Rafal Harabien [Fri, 7 Oct 2011 20:23:24 +0000 (20:23 +0000)]
[WIN32K]
- Do not call UserSetCursor in MsqCleanupMessageQueue because it uses current thread queue instead of queue in cleanup (they can be different).
See issue #6530 for more details.

svn path=/trunk/; revision=54051

12 years ago[NTOSKRNL] - Fix a copy-pasta. Fixes hand in 2nd stage.
Rafal Harabien [Fri, 7 Oct 2011 19:31:47 +0000 (19:31 +0000)]
[NTOSKRNL] - Fix a copy-pasta. Fixes hand in 2nd stage.

svn path=/trunk/; revision=54050

12 years ago[SMSS]
Timo Kreuzer [Fri, 7 Oct 2011 18:25:41 +0000 (18:25 +0000)]
[SMSS]
Remove a hack for MSVC.

svn path=/trunk/; revision=54049

12 years ago[NTOSKRNL]
Rafal Harabien [Fri, 7 Oct 2011 16:18:52 +0000 (16:18 +0000)]
[NTOSKRNL]
- Rename KTHREAD.DispatchHeader to Header
- Remove KeInitializeDispatcherHeader and initialize dispatcher headers depending on object type. Fixes all ntos:KeEvent and KeTimer kmtests.

svn path=/trunk/; revision=54048

12 years ago[KMTESTS\NTOS_KE] - Add KeTimer test stub which tests only KeInitializeTimerEx (Note...
Rafal Harabien [Fri, 7 Oct 2011 16:13:03 +0000 (16:13 +0000)]
[KMTESTS\NTOS_KE] - Add KeTimer test stub which tests only KeInitializeTimerEx (Note: this function initializes more fields of dispatch header than KeInitializeEvent).

svn path=/trunk/; revision=54047

12 years ago[CMAKE]
Timo Kreuzer [Fri, 7 Oct 2011 14:41:47 +0000 (14:41 +0000)]
[CMAKE]
Remove duplicate base address

svn path=/trunk/; revision=54046

12 years ago[RTL]
Timo Kreuzer [Fri, 7 Oct 2011 14:31:00 +0000 (14:31 +0000)]
[RTL]
Silence a debugprint

svn path=/trunk/; revision=54045

12 years ago[Win32k]
James Tabor [Fri, 7 Oct 2011 13:56:25 +0000 (13:56 +0000)]
[Win32k]
- Implement get atom name for user32.

svn path=/trunk/; revision=54044

12 years ago[win32k]
Giannis Adamopoulos [Fri, 7 Oct 2011 10:10:23 +0000 (10:10 +0000)]
[win32k]
- SetActiveWindow should call SetWindowPos without SWP_NOACTIVATE parameter

svn path=/trunk/; revision=54043

12 years ago[KBDCLASS/MOUCLASS]
Cameron Gutman [Fri, 7 Oct 2011 05:52:52 +0000 (05:52 +0000)]
[KBDCLASS/MOUCLASS]
- Better fix for the race condition

svn path=/trunk/; revision=54042

12 years ago[KBDCLASS/MOUCLASS]
Cameron Gutman [Fri, 7 Oct 2011 05:23:16 +0000 (05:23 +0000)]
[KBDCLASS/MOUCLASS]
- Fix a race condition in IRP queuing that can cause an assertion to fail in the cancellation routine

svn path=/trunk/; revision=54041