Commit graph

48587 commits

Author SHA1 Message Date
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
Thomas Faber 9bcb3b3a2e [SETUPAPI]
- Do not fail in SetupDiInstallDevice if the inf file already exists. Fixes VirtualBox 4.1.x additions
See issue #6522 for more details.

svn path=/trunk/; revision=54037
2011-10-06 22:33:06 +00:00
Thomas Faber d604269b40 [SETUPAPI]
- Correctly interpret the result of compare_files in SetupCopyOEMInfW. Prevents random failures

svn path=/trunk/; revision=54036
2011-10-06 22:31:29 +00:00
Cameron Gutman d974e84e77 [HALACPI]
- Work around a race condition related to devices reported before the I/O subsystem is fully up
- Fixes bug #6271

svn path=/trunk/; revision=54035
2011-10-06 21:50:07 +00:00
Pierre Schweitzer c91f9ef382 [REGEXPL]
Fix memory leaks
Fix broken if condition
Use delete[] operator for allocations made with new[] operator
Properly check for failed allocations by not throwing exception

svn path=/trunk/; revision=54034
2011-10-06 21:36:10 +00:00
Pierre Schweitzer 7e02fbd0dd [PEDUMP]
Fix memory & resource leaks

svn path=/trunk/; revision=54033
2011-10-06 20:45:06 +00:00
Pierre Schweitzer ae16f78ede [MAN]
Fix memory leaks

svn path=/trunk/; revision=54032
2011-10-06 20:35:52 +00:00
Pierre Schweitzer c89df83f91 [FRAGINATOR]
Use vector<>::empty() instead of vector<>::size() to check for vector emptyness

svn path=/trunk/; revision=54031
2011-10-06 20:24:19 +00:00
Pierre Schweitzer cc5d780806 [COMP]
Fix resource leak


svn path=/trunk/; revision=54030
2011-10-06 20:13:54 +00:00
Dmitry Gorbachev d2a93ea6d9 [NTOSKRNL]
Fix dbg output.

svn path=/trunk/; revision=54029
2011-10-06 19:59:27 +00:00
Dmitry Gorbachev 9fc97e9f95 [HAL]
Do not write past the end of buffer.

svn path=/trunk/; revision=54028
2011-10-06 19:59:20 +00:00
Rafal Harabien 59730dc09c [NTOSKRNL] - Set special value in Next ptr when Ex(f)InterlockedPopEntryList is called on checked build. Fixes all ntos:ExSingleList kmtests.
svn path=/trunk/; revision=54027
2011-10-06 19:53:51 +00:00
Rafal Harabien dea1bad044 [NTOSKRNL]
- Save special values in F/Blink when Ex(f)InterlockedRemoveHeadList is called on checked build. Fixes all ntos:ExDoubleList kmtests

svn path=/trunk/; revision=54026
2011-10-06 19:39:37 +00:00
Giannis Adamopoulos 1a2f1828f4 [user32_apitest]
- Add a couple of tests for the messages sent when changing the z-oder of windows with DeferWindowPos (this test ignores owners z-order)

svn path=/trunk/; revision=54025
2011-10-06 14:19:04 +00:00
Timo Kreuzer 41d37ba9a2 [WIN32K]
use GreCreateBitmapEx in IntSetDIBits as well to handle RLE images. Fixes bug 6388

svn path=/trunk/; revision=54024
2011-10-06 13:38:45 +00:00
Giannis Adamopoulos 1e41f9ec85 [user32_apitest]
- remove all previous SetActiveWindow tests as they were completely wrong. This is because changing the z-order of the owner windows is done by SetWindowPos as tested in the same test suite. However SetActiveWindow calls SetWindowPos without SWP_NOOWNERZORDER parameter which leads to changing the zorder of owner windows 

svn path=/trunk/; revision=54023
2011-10-06 13:06:52 +00:00
Giannis Adamopoulos 59b0d94ae2 [user32_apitest]
- Add some more tests for SetWindowPos with or without SWP_NOOWNERZORDER. This clears the misunderstanding on changing owner window z-order once and for all

svn path=/trunk/; revision=54022
2011-10-06 12:46:21 +00:00
Amine Khaldi da997a7c0e [SPEC2DEF]
* Support thiscall and float specifiers. By Samuel Serapion.
See issue #6539 for more details.

svn path=/trunk/; revision=54021
2011-10-06 11:10:54 +00:00
Timo Kreuzer 1c23f7c0ef [WIN32K]
Remove a debug breakpoint that was not supposed to be comitted.

svn path=/trunk/; revision=54020
2011-10-06 11:02:44 +00:00
Timo Kreuzer 6d6eced5da [WIN32K]
Fix handling of RLE compressed bitmaps in NtGdiStretchDIBitsInternal, by using similar code as in NtGdiSetDIBitsToDeviceInternal calling GreCreateBitmapEx instead of NtGdiCreateDIBitmapInternal.
Fixes bug 6168.

svn path=/trunk/; revision=54019
2011-10-06 10:56:58 +00:00
Aleksey Bragin cf694ce4ea [RTL]
- Post-r52687 implementation of RtlIsDosDeviceName_U is more advanced than pre-r52687 one and covers more corner cases which may not be tested by existing winetests.
- Thus bring back the post-r52687 and also introduce fixes for the following bugs in it:
* Incorrect extension/space-at-the-end truncation
* Incorrect encoding of returned offset/length pair
* Incorrect condition for for-loop exit
* Incorrect calculation of the return length in case of COMx/AUX devices (it should not include the terminating 0 character)
- After those trivial fixes (mostly oneliners and typos), the function works as expected and passes all ntdll_winetest path tests. Sorry for any inconviniences!

svn path=/trunk/; revision=54018
2011-10-05 22:20:30 +00:00
Cameron Gutman a26bd506cc [NETSHELL]
- Fix a typo
- Intel PRO/1000 shows a link speed of 1 Gbps now

svn path=/trunk/; revision=54017
2011-10-05 20:58:54 +00:00
Cameron Gutman 3b4a9ade09 [HAL]
- Implement support for scatter/gather DMA
- Tested with Intel's NDIS 5.1 PRO/1000 driver (but more testing would be helpful to weed out bugs)
[NDIS]
- Report NDIS 5.1 now since S/G DMA is supported
- Stop warning when S/G DMA is used

svn path=/trunk/; revision=54016
2011-10-05 20:36:20 +00:00
Thomas Faber 36f0a82476 [SETUPAPI]
- Fix installation failure of services without a load order group

svn path=/trunk/; revision=54015
2011-10-05 19:15:08 +00:00
Rafal Harabien b59b756955 [WIN32K] - Don't send unicode characters in WM_CHAR to ascii windows
svn path=/trunk/; revision=54014
2011-10-05 19:11:00 +00:00
Rafal Harabien 6b2108b368 [KBDGR] - 1, 4, 5 keys should support CAPSLOCK.
See issue #5296 for more details.

svn path=/trunk/; revision=54013
2011-10-05 18:11:21 +00:00
Amine Khaldi 68cfb4ea83 [SOL/SPIDER]
* Reduce the scope of some variables.

svn path=/trunk/; revision=54012
2011-10-05 17:54:07 +00:00
Rafal Harabien 8347800656 [WIN32K]
- Fix AltGr keys sending WM_SYSCHAR* messages
- Improve debug messages

svn path=/trunk/; revision=54011
2011-10-05 15:48:39 +00:00
Giannis Adamopoulos 080c9a5b1e [user32_apitest]
- Add some message tests for DeferWindowPos

svn path=/trunk/; revision=54010
2011-10-05 14:44:45 +00:00
Rafal Harabien 9909d74da7 - Fix build
svn path=/trunk/; revision=54009
2011-10-05 14:17:21 +00:00