reactos.git
14 years ago[TASKMGR]
Gregor Schneider [Sat, 10 Apr 2010 12:49:41 +0000 (12:49 +0000)]
[TASKMGR]
- Add routine to query process index from performance data
- Remove process page index caching, query the index using the new routine
- Fixes "ghost processes" in the task manager, which were shown due to data access with invalid indexes
- Some changes for improved performance: use local process id's where suitable, only start checking for new processes if the item performance data and listview counts differ
See issue #4661 for more details.

svn path=/trunk/; revision=46812

14 years agoEnable old access check code until the bug that keeps the device installer from worki...
Eric Kohl [Sat, 10 Apr 2010 11:44:57 +0000 (11:44 +0000)]
Enable old access check code until the bug that keeps the device installer from working has been fixed.

svn path=/trunk/; revision=46811

14 years ago[rbuild]
Giannis Adamopoulos [Sat, 10 Apr 2010 09:14:18 +0000 (09:14 +0000)]
[rbuild]
MSVC backend:
- Fix compilation when using paths with spaces
- Fix spec and pspec rules to generate correctly the def and stubs file
- Group auto-generated files together
- Rename some user macros to more appropriate names
- Some cleanup

svn path=/trunk/; revision=46809

14 years ago[NTOSKRNL]
Cameron Gutman [Sat, 10 Apr 2010 04:11:45 +0000 (04:11 +0000)]
[NTOSKRNL]
- Cache the next instance value in the the registry so we don't have to go searching for an unused instance number every time we add a new device

svn path=/trunk/; revision=46808

14 years ago[NTOSKRNL]
Cameron Gutman [Fri, 9 Apr 2010 21:11:32 +0000 (21:11 +0000)]
[NTOSKRNL]
- Create registry values for legacy drivers
- Handle raw devices properly
- Don't set DNF_STARTED before actually calling IopStartDevice
- Don't set DNF_STARTED for legacy drivers inside IopCreateDeviceNode
- Fixes missing entries in Device Manager for raw devices

svn path=/trunk/; revision=46798

14 years ago[NTOSKRNL]
Timo Kreuzer [Fri, 9 Apr 2010 21:10:13 +0000 (21:10 +0000)]
[NTOSKRNL]
Fix msvc versions of Ke386GetGlobalDescriptorTable and Ke386SetGlobalDescriptorTable. Patch by Jose Catena.

See issue #5071 for more details.

svn path=/trunk/; revision=46797

14 years ago[KS]
Johannes Anderwald [Fri, 9 Apr 2010 18:31:53 +0000 (18:31 +0000)]
[KS]
- Return status success from unimplemented IKsClock_DispatchClose
- Implement handling of KSPROPERTY_PIN_CONSTRAINEDDATARANGES property
- Forward unhandled irps to lower device object
- Fix asserts in KspHandleDataIntersection. The function is still a grotesk hack
- Simply handling of property requests by merging filter properties into filter descriptor
- Implement KsMethodHandler, KsMethodHandlerWithAllocator, KsFastMethodHandler
- Fix a bug in KsPinGetFirstCloneStreamPointer
- Implement handling of KSPROPSETID_Topology (KspTopologyHandler)

svn path=/trunk/; revision=46794

14 years agoasm.h: fix definition of HEX macro
Giannis Adamopoulos [Fri, 9 Apr 2010 11:14:56 +0000 (11:14 +0000)]
asm.h: fix definition of HEX macro

svn path=/trunk/; revision=46786

14 years ago[NTOSKRNL]
Cameron Gutman [Fri, 9 Apr 2010 01:10:34 +0000 (01:10 +0000)]
[NTOSKRNL]
- Write the assigned resources to the registry

svn path=/trunk/; revision=46784

14 years ago[TASKMGR] Remove temp debug output related to another problem
Gregor Schneider [Thu, 8 Apr 2010 22:21:17 +0000 (22:21 +0000)]
[TASKMGR] Remove temp debug output related to another problem

svn path=/trunk/; revision=46783

14 years ago[TASKMGR]
Gregor Schneider [Thu, 8 Apr 2010 22:10:45 +0000 (22:10 +0000)]
[TASKMGR]
- Don't try to query a performance index when switching from application to process tab
- Query a process index instead: "go to process" works now

svn path=/trunk/; revision=46782

14 years ago[SHELL32] Add missing format specifier, switch parameters as advertised
Gregor Schneider [Thu, 8 Apr 2010 21:25:02 +0000 (21:25 +0000)]
[SHELL32] Add missing format specifier, switch parameters as advertised

svn path=/trunk/; revision=46781

14 years ago[KS]
Johannes Anderwald [Thu, 8 Apr 2010 20:14:38 +0000 (20:14 +0000)]
[KS]
- Fix tons of bugs in KsMergeAutomationTable
- Implement removing instantiated filter from filter factory when filter is about to be closed
- Fix a memory corrupion bug in KspHandleDataIntersection

svn path=/trunk/; revision=46780

14 years ago[DRIVERS/GREEN]
Aleksey Bragin [Thu, 8 Apr 2010 09:39:24 +0000 (09:39 +0000)]
[DRIVERS/GREEN]
- Includes cleanup, fix NDK inclusion.

svn path=/trunk/; revision=46779

14 years ago[KS]
Johannes Anderwald [Thu, 8 Apr 2010 08:38:50 +0000 (08:38 +0000)]
[KS]
- Disable debugging traces

svn path=/trunk/; revision=46777

14 years ago[TXTSETUP.SIF]
Cameron Gutman [Thu, 8 Apr 2010 02:18:27 +0000 (02:18 +0000)]
[TXTSETUP.SIF]
- Add PnP information for isapnp
[REACTOS.DFF]
- Remove isapnp

svn path=/trunk/; revision=46776

14 years ago[ISAPNP]
Cameron Gutman [Wed, 7 Apr 2010 23:03:59 +0000 (23:03 +0000)]
[ISAPNP]
- Fix a typo

svn path=/trunk/; revision=46775

14 years ago[KS]
Johannes Anderwald [Wed, 7 Apr 2010 21:45:25 +0000 (21:45 +0000)]
[KS]
- Implement IKsDevice::GetAdapterObject, IKsDevice::ArbitrateAdapterChannel
- Store device interface guid in the symbolic link list entry, which is used by KsFilterFactoryUpdateCacheData
- Implement KsFilterFactoryUpdateCacheData, which is used to dynamically propagate format / medium changes to directshow components
- Move stream pointer preparation to an own function, which is called by KsPinGetLeadingEdgeStreamPointer / KsStreamPointerClone / KsStreamPointerAdvanceOffsets
- Fix locating correct offset in KsStreamPointerScheduleTimeout, KsStreamPointerCancelTimeout, KsStreamPointerGetNextClone
- Further BDA support is on hold until ReactOS supports s/g in hal

svn path=/trunk/; revision=46774

14 years ago[RAMDISK]
Cameron Gutman [Wed, 7 Apr 2010 21:04:41 +0000 (21:04 +0000)]
[RAMDISK]
- Remove another unnecessary hack

svn path=/trunk/; revision=46771

14 years ago[HAL]
Cameron Gutman [Wed, 7 Apr 2010 20:37:13 +0000 (20:37 +0000)]
[HAL]
- Remove an unnecessary hack now that PnP manager doesn't suck (as much ;))

svn path=/trunk/; revision=46770

14 years ago[INF]
Cameron Gutman [Wed, 7 Apr 2010 20:20:22 +0000 (20:20 +0000)]
[INF]
- Reenable isapnp

svn path=/trunk/; revision=46769

14 years ago[ISAPNP]
Cameron Gutman [Wed, 7 Apr 2010 20:19:29 +0000 (20:19 +0000)]
[ISAPNP]
- Rewrite the ISAPnP driver based off EtherBoot source
- TODO: Resource stuff

svn path=/trunk/; revision=46768

14 years ago[PCI]
Cameron Gutman [Wed, 7 Apr 2010 20:18:44 +0000 (20:18 +0000)]
[PCI]
- Fix a crash that occurs when a device is started which requires no resources

svn path=/trunk/; revision=46767

14 years ago[SHELL32]
Gregor Schneider [Wed, 7 Apr 2010 19:11:56 +0000 (19:11 +0000)]
[SHELL32]
- Change "open with" dialog type to allow aborting, add code to handle WM_DESTROY messages
- Change full blue selection color to standard background blue, set selection background non white correctly
- Adjust German resource fields to make texts fit
See issue #4226 for more details.

svn path=/trunk/; revision=46766

14 years ago[SHELL] Increase field width in German resources so the drive text can fit
Gregor Schneider [Wed, 7 Apr 2010 17:42:43 +0000 (17:42 +0000)]
[SHELL] Increase field width in German resources so the drive text can fit

svn path=/trunk/; revision=46765

14 years ago[SHELL32]
Gregor Schneider [Wed, 7 Apr 2010 17:41:38 +0000 (17:41 +0000)]
[SHELL32]
- Portuguese translation by Manuel Silva
See issue #1494 for more details.

svn path=/trunk/; revision=46764

14 years agoUpdate all rapps entries.
Daniel Reimer [Wed, 7 Apr 2010 14:35:04 +0000 (14:35 +0000)]
Update all rapps entries.

svn path=/trunk/; revision=46762

14 years ago[usb/usbehci]
Michael Martin [Wed, 7 Apr 2010 11:09:36 +0000 (11:09 +0000)]
[usb/usbehci]
- Instead of converting GUID to UNICODE_STRING and comparing, use IsEqualGUIDAligned. Thanks Ged.
- Remove a unneeded header.

svn path=/trunk/; revision=46761

14 years ago[usb/usbehci]
Michael Martin [Wed, 7 Apr 2010 10:25:36 +0000 (10:25 +0000)]
[usb/usbehci]
- Check the Interface GUID instead of only the version and size.
- Handle up to USB_BUS_INTERFACE_USBDI_V2 and USB_BUS_INTERFACE_HUB_V5. Driver gets further in win2k.
- Basic implementation of Direct Call Function CreateUsbDevice.
- Fix GetRootHubSymbolicName to return RootHub20.
- Change return status to not supported for functions not implemented yet.

svn path=/trunk/; revision=46760

14 years ago[Win32k|Gdi32]
James Tabor [Wed, 7 Apr 2010 00:46:16 +0000 (00:46 +0000)]
[Win32k|Gdi32]
- Enable font batch and fixed setting brush origion. Use the new delete object functions in win32k.

svn path=/trunk/; revision=46758

14 years ago[SHELL32]
Gregor Schneider [Tue, 6 Apr 2010 18:51:13 +0000 (18:51 +0000)]
[SHELL32]
- Updated Italian translation by Gabriel Ilardi
See issue #1494 for more details.

svn path=/trunk/; revision=46754

14 years ago[MSDVBNP]
Johannes Anderwald [Tue, 6 Apr 2010 15:47:15 +0000 (15:47 +0000)]
[MSDVBNP]
- Register BDA Filter components

svn path=/trunk/; revision=46751

14 years ago[MSDVBNP]
Johannes Anderwald [Tue, 6 Apr 2010 15:08:16 +0000 (15:08 +0000)]
[MSDVBNP]
- Dynamically register DVB network provider categories

svn path=/trunk/; revision=46750

14 years ago[KSPROXY]
Johannes Anderwald [Tue, 6 Apr 2010 14:32:35 +0000 (14:32 +0000)]
[KSPROXY]
- Implement sending multiple media samples to tv tuner at once in order to avoid the kernel irp queue running out

svn path=/trunk/; revision=46749

14 years ago[NTOS]
Johannes Anderwald [Tue, 6 Apr 2010 14:00:02 +0000 (14:00 +0000)]
[NTOS]
- Device interface strings are null terminated

svn path=/trunk/; revision=46748

14 years ago[DDK]
Michael Martin [Tue, 6 Apr 2010 13:23:33 +0000 (13:23 +0000)]
[DDK]
- A better fix for r46738. Patch by Amine Khaidi.

svn path=/trunk/; revision=46747

14 years agorevert r46742
Timo Kreuzer [Tue, 6 Apr 2010 00:20:53 +0000 (00:20 +0000)]
revert r46742

svn path=/trunk/; revision=46744

14 years agoCompile scsiport.c for freeldr only on x86 builds
Timo Kreuzer [Tue, 6 Apr 2010 00:19:48 +0000 (00:19 +0000)]
Compile scsiport.c for freeldr only on x86 builds

svn path=/trunk/; revision=46743

14 years agoremove scsiport from arm build
Timo Kreuzer [Tue, 6 Apr 2010 00:10:46 +0000 (00:10 +0000)]
remove scsiport from arm build

svn path=/trunk/; revision=46742

14 years ago- Add -fms-extensions for arm build
Timo Kreuzer [Tue, 6 Apr 2010 00:00:00 +0000 (00:00 +0000)]
- Add -fms-extensions for arm build
- Add _NT_TIB_KPCR to compensate for a missing NT_TIB (hackfix)
- add KERNEL_STACK_SIZE & co for arm
- Add missing KeGetCurrentThread prototype for arm
- define INTERLOCKED_RESULT for X86 only
- Add _CONTEXT and _EXCEPTION_RECORD forward declarations

svn path=/trunk/; revision=46741

14 years ago[INF]
Cameron Gutman [Mon, 5 Apr 2010 23:35:44 +0000 (23:35 +0000)]
[INF]
- Fix the class GUID so devices appear in the correct category in device manager
- Remove trailing spaces on some device descriptions
- Remove the "(UniATA)" at the end of some device descriptions

svn path=/trunk/; revision=46740

14 years ago[SHELL32]
Gregor Schneider [Mon, 5 Apr 2010 16:00:49 +0000 (16:00 +0000)]
[SHELL32]
- Updated polish translation by Olaf Siejka
See issue #1494 for more details.

svn path=/trunk/; revision=46739

14 years ago[DDK]
Michael Martin [Mon, 5 Apr 2010 12:56:09 +0000 (12:56 +0000)]
[DDK]
- Remove PUSB_DEVICE_HANDLE as its not used in this header. Its defined in hubbusif.

svn path=/trunk/; revision=46738

14 years agoFix typo in FDC.inf.
Daniel Reimer [Mon, 5 Apr 2010 12:55:00 +0000 (12:55 +0000)]
Fix typo in FDC.inf.

svn path=/trunk/; revision=46737

14 years ago[DDK]
Michael Martin [Mon, 5 Apr 2010 12:46:05 +0000 (12:46 +0000)]
[DDK]
- Add missing include.

svn path=/trunk/; revision=46736

14 years ago[usb/usbehci]
Michael Martin [Mon, 5 Apr 2010 12:23:30 +0000 (12:23 +0000)]
[usb/usbehci]
- Modify UsbDevice structure to hold all the device's configurations vice only the active one.
- Change code to handle new UsbDevice structure and data.
- Add missing Status assignment for IOCTLs get device handle and get hub count.
- When checking port status in deffered routine continue looping through the ports if the device is not high speed.
- Implement direct call functions InitializeUsbDevice, QueryDeviceInformation and GetControllerInformation.
- Fix incorrect return type for direct call function GetUSBDIVersion.
- Remove no longer needed structures from usbiffn.h as they are now in usbbusif.h and hubbusif.h.
- Code based on XEN PV Drivers by James Harper.

svn path=/trunk/; revision=46735

14 years ago[SHELL]
Gregor Schneider [Mon, 5 Apr 2010 09:51:49 +0000 (09:51 +0000)]
[SHELL]
- Updated Spanish translation by Javier Fernandéz
See issue #1494 for more details.

svn path=/trunk/; revision=46731

14 years ago[quartz]
Christoph von Wittich [Mon, 5 Apr 2010 09:44:43 +0000 (09:44 +0000)]
[quartz]
sync quartz to wine 1.1.42

svn path=/trunk/; revision=46730

14 years ago[qedit]
Christoph von Wittich [Mon, 5 Apr 2010 09:40:24 +0000 (09:40 +0000)]
[qedit]
sync qedit to wine 1.1.42

svn path=/trunk/; revision=46729

14 years ago[mscoree]
Christoph von Wittich [Mon, 5 Apr 2010 09:39:06 +0000 (09:39 +0000)]
[mscoree]
sync mscoree to wine 1.1.42

svn path=/trunk/; revision=46728

14 years ago[crypt32]
Christoph von Wittich [Mon, 5 Apr 2010 09:29:01 +0000 (09:29 +0000)]
[crypt32]
sync crypt32 to wine 1.1.42

svn path=/trunk/; revision=46727

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 4 Apr 2010 21:43:51 +0000 (21:43 +0000)]
[NTOSKRNL]
- Revert r46720 and fix the issue properly

svn path=/trunk/; revision=46724

14 years ago[KS]
Johannes Anderwald [Sun, 4 Apr 2010 21:27:07 +0000 (21:27 +0000)]
[KS]
- Add hack to IKsClock_DispatchDeviceIoControl
- Store device state before calling SetDeviceState
- Partly implement KsPinGetLeadingEdgeStreamPointer, KsStreamPointerDelete, KsStreamPointerClone, KsStreamPointerAdvanceOffsets
- Implement a worker routine to dispatch read/write stream requests for pin centric filters
- Tv tuner is now able to transfer MPEG2 TS to user mode, WIP, needs more testing

svn path=/trunk/; revision=46723

14 years ago[SHELL32]
Gregor Schneider [Sun, 4 Apr 2010 18:37:39 +0000 (18:37 +0000)]
[SHELL32]
- Add a confirmation dialog for logoff operation
- English and German translation included
See issue #1494 for more details.

svn path=/trunk/; revision=46722

14 years ago[FORMAT] - Bail out when detecting invalid root path, instead of asking to insert...
Gregor Schneider [Sun, 4 Apr 2010 18:24:28 +0000 (18:24 +0000)]
[FORMAT] - Bail out when detecting invalid root path, instead of asking to insert a disk
See issue #4067 for more details.

svn path=/trunk/; revision=46721

14 years ago- Move the code from my previous commit before signalling the user event
Cameron Gutman [Sun, 4 Apr 2010 18:22:54 +0000 (18:22 +0000)]
- Move the code from my previous commit before signalling the user event
- Sorry for the wasted commit number

svn path=/trunk/; revision=46720

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 4 Apr 2010 18:17:51 +0000 (18:17 +0000)]
[NTOSKRNL]
- Fix a case where we miss copying back the IO_STATUS_BLOCK into the UserIosb buffer
- Fixes the registry corruption caused when PnP wrote an invalid resource list (passed back via UserIosb->Information) to the registry
- Hopefully this also fixes a few other nasty bugs in other areas related to this issue

svn path=/trunk/; revision=46719

14 years ago[CMD]
Gregor Schneider [Sun, 4 Apr 2010 14:04:24 +0000 (14:04 +0000)]
[CMD]
- Don't prefix double quotation marks during file completion
See issue #4491 for more details.

svn path=/trunk/; revision=46718

14 years ago- Sync user32 and gdi32 winetests to Wine-1.1.42.
Aleksey Bragin [Sun, 4 Apr 2010 13:47:45 +0000 (13:47 +0000)]
- Sync user32 and gdi32 winetests to Wine-1.1.42.

svn path=/trunk/; revision=46717

14 years ago[UNIATA]
Aleksey Bragin [Sun, 4 Apr 2010 13:43:56 +0000 (13:43 +0000)]
[UNIATA]
- Adjust timings in WaitOnBaseBusy, WaitForDrq, WaitShortForDrq to match old atapi driver. Thanks Caemyr for testing and finding optimal values (which are slightly below the values used in this commit). The proper solution would be to implement adaptive delays scaling.
See issue #4995 for more details.

svn path=/trunk/; revision=46716

14 years ago[NTOSKRNL]
Eric Kohl [Sun, 4 Apr 2010 12:34:53 +0000 (12:34 +0000)]
[NTOSKRNL]
Ignore inherit only ACEs in a DACL.

svn path=/trunk/; revision=46714

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 4 Apr 2010 05:17:29 +0000 (05:17 +0000)]
[NTOSKRNL]
- Fix the type passed to ZwSetValueKey

svn path=/trunk/; revision=46712

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 4 Apr 2010 04:39:56 +0000 (04:39 +0000)]
[NTOSKRNL]
- Don't manually write a device description for detected devices
- Instead, let PnpRoot report it in response to IRP_MN_QUERY_DEVICE_TEXT

svn path=/trunk/; revision=46711

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 4 Apr 2010 02:59:31 +0000 (02:59 +0000)]
[NTOSKRNL]
- Remove an unused member from PNPROOT_DEVICE
- Don't build a bogus resource list if no resources are required
- Fixes a crash during resource arbitration because the created resource requirements list was malformed

svn path=/trunk/; revision=46710

14 years ago- Remove a leftover debug print
Cameron Gutman [Sun, 4 Apr 2010 01:34:33 +0000 (01:34 +0000)]
- Remove a leftover debug print

svn path=/trunk/; revision=46709

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 4 Apr 2010 01:18:41 +0000 (01:18 +0000)]
[NTOSKRNL]
- Revert part of r46707
- Remove a hack in PnpRoot that assembled a CM_RESOURCE_LIST from a CM_PARTIAL_RESOURCE_DESCRIPTOR but also corrupted proper resource lists (such as from detected devices in IoReportDetectedDevice)
- Add a simple resource arbiter that finds an unused resource in the range provided in the resource requirements list. It's not perfect but it's a start.
- Start enforcing resource conflicts
- Fix incorrect code that was writing a CM_PARTIAL_RESOURCE_DESCRIPTOR instead of a CM_RESOURCE_LIST (the hack above was compensating for this) which result in BootConfig being a REG_PARTIAL_RESOURCE_DESCRIPTOR type on certain devices and a REG_RESOURCE_LIST on others
- Fix a broken check for no partial resource descriptors

svn path=/trunk/; revision=46708

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 4 Apr 2010 00:33:19 +0000 (00:33 +0000)]
[NTOSKRNL]
- Pass IRPs down to the root PDO if we don't handle it
- Don't complain if we get an IRP that we don't expect. We are the parent bus driver for the device so we are responsible for completing those IRPs.

svn path=/trunk/; revision=46707

14 years ago[PCI]
Cameron Gutman [Sun, 4 Apr 2010 00:00:21 +0000 (00:00 +0000)]
[PCI]
- Handle IRP_MN_QUERY_DEVICE_RELATIONS for TargetDeviceRelation for PCI's child PDOs

svn path=/trunk/; revision=46706

14 years ago[Gdi32]
James Tabor [Sat, 3 Apr 2010 22:05:03 +0000 (22:05 +0000)]
[Gdi32]
- Adding batch support for ExtSelectClipRgn and update to the batch object structure.

svn path=/trunk/; revision=46705

14 years ago[NTOSKRNL]
Eric Kohl [Sat, 3 Apr 2010 21:21:52 +0000 (21:21 +0000)]
[NTOSKRNL]
- Check access rights according to the DACL. Granted rights are removed from the remaining rights variable.
- Return success only if there are no more remaining rights. Return failure otherwise.
- Remove outdated code.

svn path=/trunk/; revision=46703

14 years ago[NTOSKRNL/CONFIG]
Aleksey Bragin [Sat, 3 Apr 2010 20:22:32 +0000 (20:22 +0000)]
[NTOSKRNL/CONFIG]
- Flusher lock fixes: wrong kind of lock,total mess (and the wrong kind of lock). Properly fixed throughout cmapi.c, but still missing in many other places.
- Add support for detecting loading of an already loaded hive.
- Start adding calls to CmpReportNotify to support registry callbacks.
- Do work needed to flush notifications for a deleted node (but CmpFlushNotify not yet implemented).
- Add support for adding each newly loaded hive to the HiveList key in the registry (but CmpAddHiveToFileList not yet implemented).
- Add some ViewLock acquire/releases where needed.
- Load the key in a faster way (Ob vs Zw)
- Add checks everywhere for HvMarkCellDirty success. In future (when log/backup file is enabled), it can return FALSE (e.g. when we are out of space).
- Change logic in CmpDoFlushAll to only flush a hive if it won't shrink (in the future, flushing may lead to hive shrinkage for efficiency).
- Add SEH2 protection to all CmApis that may deal with user-mode data.
- Add HvTrackCellRef/HvReleaseCellRef for tracking cell references in scenarios where we might need many GetCell/ReleaseCell calls. For now stubbed to only work with up to 4 static references.
- Properly unlock/free in some failure paths in some of the CM APIs.
- Add some missing HvReleaseCell in paths where it was missing.
- Try to fix hack in enumerate key.
- Fix wrong usage of KeQuerySystemTime. It was called twice to save it in 2 different places. Instead, there should be only one call, and then duplicate the value across.
- Fix logic in CmpSetValueExistingData/Key.

Tested with winetests and .NET framework 1.1 installation which fully completes.

svn path=/trunk/; revision=46702

14 years ago[cmd] Emit line breaks DOS/Windows style (CRLF), instead of Linux style (LF only)
Gregor Schneider [Sat, 3 Apr 2010 17:24:10 +0000 (17:24 +0000)]
[cmd] Emit line breaks DOS/Windows style (CRLF), instead of Linux style (LF only)
See issue #4509 for more details.

svn path=/trunk/; revision=46700

14 years ago[taskmgr] Hide CPU graph options on single CPU systems
Gregor Schneider [Sat, 3 Apr 2010 17:23:27 +0000 (17:23 +0000)]
[taskmgr] Hide CPU graph options on single CPU systems
See issue #2144 for more details.

svn path=/trunk/; revision=46699

14 years ago[NTOSKRNL]
Eric Kohl [Sat, 3 Apr 2010 10:52:17 +0000 (10:52 +0000)]
[NTOSKRNL]
- Implement the calculation of access rights for the MAXIMUM_ALLOWED case.

svn path=/trunk/; revision=46695

14 years ago[NTOS]: Implement Configuration Manager routines for building a driver list, sorting...
Sir Richard [Sat, 3 Apr 2010 07:44:38 +0000 (07:44 +0000)]
[NTOS]: Implement Configuration Manager routines for building a driver list, sorting it, detecting circular dependencies and ordering, combining groups, tags, group orders and tag orders, etc. Replaces the "drvrlist" I/O interface currently in ReactOS.
[NTOS]: Use the new Cm interface in IopInitializeSystemDrivers to parse the ordered list of system drivers to load. Make it use ZwLoadDriver directly instead of having a hacked IopLoadDriver function.
[NTOS]: Drivers should not show up loading n times a reboot now (some drivers seemed to do this in the past when they failed to load).
[NTOS]: The system driver code could be further improved by checknig if the driver has already been loaded, or attempted and failed to load, but it is already much better now than in the past.
[PERF]: Boot-time improvement since the new system driver loading code uses low-level Cm interfaces (portability side-effect: can be shared with FreeLDR) instead of the complex parse-based object-manager-based system-calls.

svn path=/trunk/; revision=46693

14 years ago- Simplifying MakeInfoDC.
James Tabor [Fri, 2 Apr 2010 23:52:38 +0000 (23:52 +0000)]
- Simplifying MakeInfoDC.

svn path=/trunk/; revision=46692

14 years agoFix MP install.
Sylvain Petreolle [Fri, 2 Apr 2010 19:52:03 +0000 (19:52 +0000)]
Fix MP install.

svn path=/trunk/; revision=46691

14 years ago[NTOS]: Rewrite boot driver loading code (not the driver code itself) to use the...
Sir Richard [Fri, 2 Apr 2010 17:57:33 +0000 (17:57 +0000)]
[NTOS]: Rewrite boot driver loading code (not the driver code itself) to use the boot loader's BootDriverListHead, instead of parsing InOrderListHead and cherry-picking ".sys" files. This is the last incompatibility with Windows.
[NTOS]: Use group prioritiy, tag numbers, and tag priority to determine the correct loading order for boot drivers, instead of just parsing the linked list. Dependencies work now!
[NTOS]: Load any DLLs that are driver-dependent with MmCallDllInitialize. Previously, these .DLLS were ignored and drivers could lose dependencies.

svn path=/trunk/; revision=46690

14 years ago[NTOSKRNL]
Eric Kohl [Fri, 2 Apr 2010 17:46:24 +0000 (17:46 +0000)]
[NTOSKRNL]
- Add the check for ACESSS_SYSTEM_SECURITY.
- Keep the desired access rights that have not been granted yet in the variable RemainingAccess.
- Handle the MAXIMUM_ALLOWED case if the DACL is empty.

svn path=/trunk/; revision=46689

14 years ago[PSDK]
Johannes Anderwald [Fri, 2 Apr 2010 17:19:57 +0000 (17:19 +0000)]
[PSDK]
- Fix build

svn path=/trunk/; revision=46688

14 years ago[PCI]
Cameron Gutman [Fri, 2 Apr 2010 17:07:38 +0000 (17:07 +0000)]
[PCI]
- Fix the Vector value of the interrupt resource
- Actually set the device to use the interrupt that the PnP manager gave us

svn path=/trunk/; revision=46687

14 years ago[FREELOADER]
Cameron Gutman [Fri, 2 Apr 2010 17:05:39 +0000 (17:05 +0000)]
[FREELOADER]
- Fix the ShareDisposition value of COM port interrupts
- Fix the Vector value of the interrupt resources

svn path=/trunk/; revision=46686

14 years ago[KS]
Johannes Anderwald [Fri, 2 Apr 2010 16:38:48 +0000 (16:38 +0000)]
[KS]
- Instantiated pins use as the control mutex the mutex from the filter
- Fix KsAcquireControl & KsReleaseControl
- Fix handling of IRP_MN_QUERY_INTERFACE
- Filter centric ks filters expect an array of KSPROCESSPIN_INDEXENTRY. Allocate array when intializing filter / new pin factory is added
- Store result of pin intersection handler when result is STATUS_BUFFER_OVERFLOW
- Implement setting / retrieving of master clock
- Implement setting / retrieving pin state
- Partly implement setting pin data format
- Implement IKsReferenceClock interface
- Implement KsPinGetReferenceClockInterface
- Add sanity checks to KsGetPinFromIrp
- Partly implement handling IOCTL_KS_READ_STREAM / IOCTL_KS_WRITE_STREAM
- Supply filter property sets when an IOCTL_KS_PROPERTY request arrives
- Release again filter mutex when closing the pin
- Implement allocating a clock
- Tuner pin fails with STATUS_IO_DEVICE_ERROR when set to KSSTATE_RUN, needs more investigation

svn path=/trunk/; revision=46685

14 years ago[KSPROXY, MSDVBNP]
Johannes Anderwald [Fri, 2 Apr 2010 16:25:18 +0000 (16:25 +0000)]
[KSPROXY, MSDVBNP]
- Remove remaining DebugBreak
- Add debug traces

svn path=/trunk/; revision=46684

14 years ago[NTOSKRNL]
Eric Kohl [Fri, 2 Apr 2010 15:13:24 +0000 (15:13 +0000)]
[NTOSKRNL]
- Check the SeTakeOwnership privilege only if WRITE_OWNER access is desired.
- Move the check for token ownership from SepAccessCheck because this check grants access rights rather than checking them.

svn path=/trunk/; revision=46683

14 years ago[NTOS]
Johannes Anderwald [Fri, 2 Apr 2010 14:21:15 +0000 (14:21 +0000)]
[NTOS]
- Make sure SymbolicLink is null terminated

svn path=/trunk/; revision=46682

14 years ago[NTOS]
Johannes Anderwald [Fri, 2 Apr 2010 14:01:55 +0000 (14:01 +0000)]
[NTOS]
- Add support for reference strings in IoOpenDeviceInterfaceRegistryKey

svn path=/trunk/; revision=46681

14 years ago[MMIXER]
Johannes Anderwald [Fri, 2 Apr 2010 13:49:10 +0000 (13:49 +0000)]
[MMIXER]
- Copy device name when initializing WAVEINCAPS / WAVEOUTCAPS
- Fixes display wave device name in cpl / waveInGetDevCaps / waveOutGetDevCaps

svn path=/trunk/; revision=46680

14 years ago[Win32k]
James Tabor [Fri, 2 Apr 2010 11:53:14 +0000 (11:53 +0000)]
[Win32k]
- Implement MakeInfoDC and support functions. Dedicated to Timo.

svn path=/trunk/; revision=46679

14 years agoRemove svn:mergeinfo property from several files
Timo Kreuzer [Fri, 2 Apr 2010 11:35:58 +0000 (11:35 +0000)]
Remove svn:mergeinfo property from several files

svn path=/trunk/; revision=46677

14 years ago[NTOSKRNL]
Cameron Gutman [Fri, 2 Apr 2010 07:29:54 +0000 (07:29 +0000)]
[NTOSKRNL]
- Implement IoOpenDeviceInterfaceRegistryKey
- Dedicated to Janderwald

svn path=/trunk/; revision=46665

14 years ago[HALACPI]: Implement HalpQueryResources: We take the resource requirements, find...
Sir Richard [Fri, 2 Apr 2010 06:46:33 +0000 (06:46 +0000)]
[HALACPI]: Implement HalpQueryResources: We take the resource requirements, find the SCI requirement, and convert it into a resource. The ACPI HAL should now report its resoures once the PnP HAL driver model is enabled.

svn path=/trunk/; revision=46664

14 years ago[HALACPI]: Implement querying HALACPI resource requirements. If it exists, the SCI...
Sir Richard [Fri, 2 Apr 2010 06:28:43 +0000 (06:28 +0000)]
[HALACPI]: Implement querying HALACPI resource requirements. If it exists, the SCI Vector is added to the list as a requirement.

svn path=/trunk/; revision=46663

14 years ago- Forgot this file
Cameron Gutman [Fri, 2 Apr 2010 04:58:41 +0000 (04:58 +0000)]
- Forgot this file

svn path=/trunk/; revision=46661

14 years ago[usb/usbehci]
Michael Martin [Fri, 2 Apr 2010 04:49:01 +0000 (04:49 +0000)]
[usb/usbehci]
- Implement tracking port status and change status.
- When device has connected on port, set the port status. For now assume high speed device.
- Fix returning root hubs Status Change Endpoint for URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER.
- Implement USB_REQUEST_GET_STATUS for functions URB_FUNCTION_GET_STATUS_FROM_DEVICE and URB_FUNCTION_CLASS_OTHER. Implement USB_REQUEST_CLEAR_FEATURE and USB_REQUEST_SET_FEATURE.
- Implement IOCTL_INTERNAL_USB_GET_DEVICE_HANDLE to return the root hubs device handle, fix IOCTL_INTERNAL_USB_GET_HUB_COUNT to return 1 vice 0 as the root hub must be accounted for.
- Code based on XEN PV Drivers by James Harper.

svn path=/trunk/; revision=46660

14 years ago[NTOSKRNL]
Cameron Gutman [Fri, 2 Apr 2010 03:47:14 +0000 (03:47 +0000)]
[NTOSKRNL]
- Fix certain scenarios in which a device node can have a NULL instance path which causes registry corruption when we try to write registry keys for that device node
- Create the 'Control' subkey and add the ActiveService value inside it
- Fix a memory leak
- TODO: Fill AllocConfig and FilteredConfigVector

svn path=/trunk/; revision=46659

14 years ago- Fix the cmbatt.sys path
Cameron Gutman [Thu, 1 Apr 2010 22:28:35 +0000 (22:28 +0000)]
- Fix the cmbatt.sys path
- Add compbatt.sys

svn path=/trunk/; revision=46656

14 years ago[CMBATT]
Cameron Gutman [Thu, 1 Apr 2010 22:24:34 +0000 (22:24 +0000)]
[CMBATT]
- Remove my cmbatt driver and use lassy's cmbatt driver instead

svn path=/trunk/; revision=46655

14 years ago[NTOSKRNL]
Cameron Gutman [Thu, 1 Apr 2010 22:10:38 +0000 (22:10 +0000)]
[NTOSKRNL]
- Add 2 parameters to IopUpdateResourceMap to allows for updating different keys
- Implement IopDetectResourceConflict and IopCheckForResourceConflict but don't report the conflicts until we get a resource arbiter
- Halfplement IoReportResourceForDetection

svn path=/trunk/; revision=46654

14 years ago[HAL]: Whoever came up with this MINIHAL idea...
Sir Richard [Thu, 1 Apr 2010 20:54:12 +0000 (20:54 +0000)]
[HAL]: Whoever came up with this MINIHAL idea...

svn path=/trunk/; revision=46653