Commit graph

48616 commits

Author SHA1 Message Date
Timo Kreuzer
2381ccd2f0 [NTOSKRNL]
Handle some ros specific codes in KD64 version of KdSystemDebugControl (tab-k, ...)

svn path=/trunk/; revision=54087
2011-10-11 21:29:13 +00:00
Amine Khaldi
8620ccc0da [SHELL32]
* Igor Paliychuk: Convert shell32 resources to utf-8.
See issue #6379 for more details.

svn path=/trunk/; revision=54086
2011-10-11 20:13:47 +00:00
Giannis Adamopoulos
9adbc29775 [win32k]
- do not use RETURN macro in keyboard functions

svn path=/trunk/; revision=54085
2011-10-11 19:22:07 +00:00
Amine Khaldi
daa8000263 [CMAKE]
* Fix a typo.

svn path=/trunk/; revision=54084
2011-10-11 18:52:28 +00:00
Amine Khaldi
c5f4c39fe9 [FREELDR]
* Comment out some unused variables.

svn path=/trunk/; revision=54083
2011-10-11 18:43:34 +00:00
Amine Khaldi
26a4093349 [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
2011-10-11 18:31:35 +00:00
Timo Kreuzer
f3a426e89f [NTOSKRNL]
Implement SystemTimeAdjustmentInformation case in NtSetSystemInformation. This silences the annoying messages caused by VBoxService

svn path=/trunk/; revision=54081
2011-10-11 16:11:59 +00:00
Timo Kreuzer
072e367a5d [ntdll_apitests]
Fix rbuild build

svn path=/trunk/; revision=54080
2011-10-11 16:09:34 +00:00
Timo Kreuzer
802e11b708 [ntdll_apitests]
Add tests for NtQuery/SetSystemInformation

svn path=/trunk/; revision=54079
2011-10-11 15:29:25 +00:00
Amine Khaldi
dae5e3c843 [NDIS]
* Fix NdisMWanIndicateReceiveComplete params.

svn path=/trunk/; revision=54078
2011-10-11 14:36:41 +00:00
James Tabor
d118a53f82 - Fix applications that depend on KF_DLGMODE flag.
- Added the Alt-Tab intercept for win32k.

svn path=/trunk/; revision=54077
2011-10-11 03:48:47 +00:00
Timo Kreuzer
d5a6da4ea8 [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
2011-10-10 22:12:39 +00:00
Amine Khaldi
8605da369f [SHELL32]
* Improve the registration. By Johannes Anderwald.

svn path=/trunk/; revision=54075
2011-10-10 18:17:25 +00:00
Giannis Adamopoulos
f795eac952 [win32k]
- revert last commit as these headers are really broken 

svn path=/trunk/; revision=54074
2011-10-10 16:11:49 +00:00
Giannis Adamopoulos
6b9fdd4057 [win32k]
- move some includes to pch.h

svn path=/trunk/; revision=54073
2011-10-10 15:48:37 +00:00
Kamil Hornicek
48afa1dc33 [CDFS]
Fix a buffer overrun that was corrupting the FCB.
See issue #4086 for more details.

svn path=/trunk/; revision=54072
2011-10-10 13:37:19 +00:00
Thomas Faber
756c9d6dc2 [KERNEL32]
- Properly copy image name in TH32CreateSnapshotSectionInitialize. Fixes truncated file names in kernel32:toolhelp test

svn path=/trunk/; revision=54071
2011-10-10 12:14:12 +00:00
James Tabor
d458a31a34 - Fix get atom name so seh will not lock it up.
svn path=/trunk/; revision=54070
2011-10-10 04:49:53 +00:00
Thomas Faber
24e4f7e73d [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
2011-10-10 00:17:02 +00:00
Amine Khaldi
d38c1a938a [SHELL32]
* Mark some functions as static.
* Fix a typo in My_VideoW.

svn path=/trunk/; revision=54068
2011-10-09 23:19:35 +00:00
Rafal Harabien
2cce447ebb [WIN32K] - Fix translating syskeys to characters. Fixes user32:input winetest.
svn path=/trunk/; revision=54067
2011-10-09 20:56:57 +00:00
Rafal Harabien
b63c511bbf [WIN32K] - Formatting... No code change.
svn path=/trunk/; revision=54066
2011-10-09 20:41:09 +00:00
Rafal Harabien
28e930a691 [WIN32K] - Rename xxxDoHotKeyStuff to co_UserProcessHotKeys on smiley request
svn path=/trunk/; revision=54065
2011-10-09 20:27:08 +00:00
Rafal Harabien
bc0f7d3b4f - Fix build
svn path=/trunk/; revision=54064
2011-10-09 20:17:33 +00:00
Rafal Harabien
2a799f8ad8 [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
2011-10-09 20:12:12 +00:00
Timo Kreuzer
0386650c63 [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
2011-10-09 16:26:19 +00:00
Rafal Harabien
975d94d909 [RTL] - Make sure RtlInitUnicodeString(Ex) don't set odd length. Fixes ntdll:rtlstr winetest.
svn path=/trunk/; revision=54061
2011-10-09 09:55:40 +00:00
Rafal Harabien
34c8ab588c [USER32_APITEST] Fix GetSystemMetrics test output which was interpret by testman as crash.
svn path=/trunk/; revision=54060
2011-10-09 09:41:49 +00:00
Eric Kohl
458a6cc78b [SETUPAPI]
- SetupDiCreateDeviceInfoW: return the proper error code. Fixes a winetest.
- Implements parts of SetupDiRegisterDeviceInfo.

svn path=/trunk/; revision=54059
2011-10-09 00:39:30 +00:00
Rafal Harabien
8b395029ee [WIN32K]
- Rename gKeyStateTable to gafAsyncKeyState: it's a proper name
- Fix accelerators regression

svn path=/trunk/; revision=54058
2011-10-08 23:33:26 +00:00
Aleksey Bragin
79d4c34950 [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
2011-10-08 22:33:56 +00:00
Amine Khaldi
af2aafbc94 [SHELL32]
* Sync brsfolder.cpp with Wine.
* Reduce the scope of some variables.

svn path=/trunk/; revision=54056
2011-10-08 17:33:21 +00:00
Amine Khaldi
41fe0a5043 [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
2011-10-08 16:47:57 +00:00
Timo Kreuzer
0fa1475dfd [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
2011-10-08 13:50:14 +00:00
Amine Khaldi
56e0a450bd [SHELL32]
* Use the previous registration mechanism. Fixes several shell32 regressions.
* Dedicated to Claudiu Mihail and Johannes Anderwald.

svn path=/trunk/; revision=54053
2011-10-08 13:19:45 +00:00
James Tabor
0e07cb488c - Add register class name proc.
svn path=/trunk/; revision=54052
2011-10-08 02:18:04 +00:00
Rafal Harabien
dfb39c9849 [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
2011-10-07 20:23:24 +00:00
Rafal Harabien
71f55db0d5 [NTOSKRNL] - Fix a copy-pasta. Fixes hand in 2nd stage.
svn path=/trunk/; revision=54050
2011-10-07 19:31:47 +00:00
Timo Kreuzer
2165832424 [SMSS]
Remove a hack for MSVC.

svn path=/trunk/; revision=54049
2011-10-07 18:25:41 +00:00
Rafal Harabien
3e65380ea6 [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
2011-10-07 16:18:52 +00:00
Rafal Harabien
b2b0280779 [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
2011-10-07 16:13:03 +00:00
Timo Kreuzer
2d9f70c370 [CMAKE]
Remove duplicate base address

svn path=/trunk/; revision=54046
2011-10-07 14:41:47 +00:00
Timo Kreuzer
ef30424435 [RTL]
Silence a debugprint

svn path=/trunk/; revision=54045
2011-10-07 14:31:00 +00:00
James Tabor
52690510da [Win32k]
- Implement get atom name for user32.


svn path=/trunk/; revision=54044
2011-10-07 13:56:25 +00:00
Giannis Adamopoulos
67a1cadac9 [win32k]
- SetActiveWindow should call SetWindowPos without SWP_NOACTIVATE parameter

svn path=/trunk/; revision=54043
2011-10-07 10:10:23 +00:00
Cameron Gutman
89107a6e11 [KBDCLASS/MOUCLASS]
- Better fix for the race condition

svn path=/trunk/; revision=54042
2011-10-07 05:52:52 +00:00
Cameron Gutman
8b969e61ec [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
2011-10-07 05:23:16 +00:00
Cameron Gutman
bfafe61483 [NTOSKRNL]
- Fix symbolic link creation with a reference string
- Audio devices start successfully again (sound still seems to be regressed however)

svn path=/trunk/; revision=54040
2011-10-07 03:13:58 +00:00
James Tabor
fe79fcb3b4 - Add new CreateWindowEx flags.
svn path=/trunk/; revision=54039
2011-10-07 01:18:29 +00:00
Thomas Faber
79a2a27b57 [SETUPAPI]
- Implement a FIXME in SetupDiOpenDeviceInfoW

svn path=/trunk/; revision=54038
2011-10-06 22:34:45 +00:00