Thomas Faber [Sun, 16 Oct 2011 09:33:22 +0000 (09:33 +0000)]
[CMAKE]
- Do not exclude itss, msxml3 and qmgr from MSVC build, as they build just fine
svn path=/trunk/; revision=54157
Timo Kreuzer [Sun, 16 Oct 2011 09:15:19 +0000 (09:15 +0000)]
[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
Thomas Faber [Sun, 16 Oct 2011 07:57:59 +0000 (07:57 +0000)]
[TRANSLATION]
- Fix some German formal addressing
svn path=/trunk/; revision=54155
Thomas Faber [Sun, 16 Oct 2011 07:27:33 +0000 (07:27 +0000)]
[SYSDM]
- 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
James Tabor [Sat, 15 Oct 2011 21:35:40 +0000 (21:35 +0000)]
[Win32k]
- Fix timer resolution to match what windows uses. Now pass wine test_timers_no_wnd.
svn path=/trunk/; revision=54153
Timo Kreuzer [Sat, 15 Oct 2011 21:29:11 +0000 (21:29 +0000)]
[registry]
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
Timo Kreuzer [Sat, 15 Oct 2011 21:22:19 +0000 (21:22 +0000)]
[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
James Tabor [Sat, 15 Oct 2011 21:01:24 +0000 (21:01 +0000)]
[Win32k]
- Fix timer resolution for once a millisecond. Now pass wine test_timers_no_wnd.
svn path=/trunk/; revision=54150
Timo Kreuzer [Sat, 15 Oct 2011 19:54:51 +0000 (19:54 +0000)]
[PSDK]
- 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
Rafal Harabien [Sat, 15 Oct 2011 18:45:48 +0000 (18:45 +0000)]
- Fix build
svn path=/trunk/; revision=54148
Rafal Harabien [Sat, 15 Oct 2011 18:41:45 +0000 (18:41 +0000)]
[NTOSKRNL] - Don't exit from NtWaitForMultipleObjects with kernel lock held
svn path=/trunk/; revision=54147
Amine Khaldi [Sat, 15 Oct 2011 13:50:26 +0000 (13:50 +0000)]
[WINE/WS2_32]
* 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
Timo Kreuzer [Sat, 15 Oct 2011 13:42:43 +0000 (13:42 +0000)]
[ISOBTRT]
call it 13h with es set to 0, instead of the transfer buffer segment, that we loaded it with. Fixes KVM boot.
svn path=/trunk/; revision=54145
Amine Khaldi [Sat, 15 Oct 2011 13:17:52 +0000 (13:17 +0000)]
[KERNEL32/LIBWINE/USP10]
* 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
Amine Khaldi [Sat, 15 Oct 2011 12:39:23 +0000 (12:39 +0000)]
[UNICODE]
* Update unicode tool to wine 1.3.29. By Samuel Serapion.
See issue #6537 for more details.
svn path=/trunk/; revision=54143
James Tabor [Sat, 15 Oct 2011 00:38:23 +0000 (00:38 +0000)]
[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
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
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
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
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
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
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
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
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
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
Timo Kreuzer [Fri, 14 Oct 2011 08:50:13 +0000 (08:50 +0000)]
[CRT]
Fix rbuild...
svn path=/trunk/; revision=54132
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
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
James Tabor [Fri, 14 Oct 2011 02:44:48 +0000 (02:44 +0000)]
- Fix timers.
svn path=/trunk/; revision=54129
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
Rafal Harabien [Thu, 13 Oct 2011 22:26:00 +0000 (22:26 +0000)]
[CSRSS] - Remove DbgBreakPoint
svn path=/trunk/; revision=54127
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
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
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
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
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
Amine Khaldi [Thu, 13 Oct 2011 21:48:10 +0000 (21:48 +0000)]
[RTL]
* Fix unix build.
svn path=/trunk/; revision=54121
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
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
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
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
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
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
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
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
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
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
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
Kamil Hornicek [Thu, 13 Oct 2011 13:38:22 +0000 (13:38 +0000)]
fix build
svn path=/trunk/; revision=54108
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
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
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
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
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
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
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
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
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
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
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
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
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
Amine Khaldi [Wed, 12 Oct 2011 12:24:19 +0000 (12:24 +0000)]
* Improve some includes.
svn path=/trunk/; revision=54094
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
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
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
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
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
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
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
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
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
Amine Khaldi [Tue, 11 Oct 2011 18:52:28 +0000 (18:52 +0000)]
[CMAKE]
* Fix a typo.
svn path=/trunk/; revision=54084
Amine Khaldi [Tue, 11 Oct 2011 18:43:34 +0000 (18:43 +0000)]
[FREELDR]
* Comment out some unused variables.
svn path=/trunk/; revision=54083
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
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
Timo Kreuzer [Tue, 11 Oct 2011 16:09:34 +0000 (16:09 +0000)]
[ntdll_apitests]
Fix rbuild build
svn path=/trunk/; revision=54080
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
Amine Khaldi [Tue, 11 Oct 2011 14:36:41 +0000 (14:36 +0000)]
[NDIS]
* Fix NdisMWanIndicateReceiveComplete params.
svn path=/trunk/; revision=54078
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
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
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
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
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
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
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
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
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
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
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
Rafal Harabien [Sun, 9 Oct 2011 20:41:09 +0000 (20:41 +0000)]
[WIN32K] - Formatting... No code change.
svn path=/trunk/; revision=54066
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
Rafal Harabien [Sun, 9 Oct 2011 20:17:33 +0000 (20:17 +0000)]
- Fix build
svn path=/trunk/; revision=54064
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
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
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
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
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
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
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