reactos.git
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

14 years ago[HAL]: Move all HAL-specific names to halacpi.c and halpcat.c. This includes the...
Sir Richard [Thu, 1 Apr 2010 20:46:55 +0000 (20:46 +0000)]
[HAL]: Move all HAL-specific names to halacpi.c and halpcat.c. This includes the PnP Device Name (e_isa_up vs acpipic_up", the HAL Name, and whether or not the firmware mapper should be disabled (tells I/O Manager to skip legacy detection).
[HAL]: Implement HalpReportUsage! On ACPI, all is implemented, on PC/AT, we don't yet parse the ROM blocks in the registry (but does FreeLDR even put them in?), and I don't think we'll ever enable 16-bit port decoding since FreeLDR never detects ISA vs EISA machines (so we always run as ISA).
[HAL]: Fill out the "????" entries in HalpDefaultIoSpace... more typical Alex "I copied something without knowing what it meant"-magic.

svn path=/trunk/; revision=46652

14 years ago[HAL]: HalpActiveProcessors is KAFFINITY, not LONG. Also, MP HAL lacked it.
Sir Richard [Thu, 1 Apr 2010 20:42:43 +0000 (20:42 +0000)]
[HAL]: HalpActiveProcessors is KAFFINITY, not LONG. Also, MP HAL lacked it.

svn path=/trunk/; revision=46651

14 years ago[HAL]: Fucken' A, I knew I'd forget one.
Sir Richard [Thu, 1 Apr 2010 20:41:46 +0000 (20:41 +0000)]
[HAL]: Fucken' A, I knew I'd forget one.

svn path=/trunk/; revision=46650

14 years ago[HAL]: Smarter .rbuild separation so that ACPI and PC/AT hal don't rebuild the generi...
Sir Richard [Thu, 1 Apr 2010 20:41:04 +0000 (20:41 +0000)]
[HAL]: Smarter .rbuild separation so that ACPI and PC/AT hal don't rebuild the generic library twice. Now generic stays generic, and generic_pcat/acpi are add-on libaries just like generic_up and generic_mp.

svn path=/trunk/; revision=46649

14 years ago[DEVENUM]
Johannes Anderwald [Thu, 1 Apr 2010 19:48:49 +0000 (19:48 +0000)]
[DEVENUM]
- Extend device enumerator to support class enumerators of device interfaces

svn path=/trunk/; revision=46648

14 years ago[HAL]: Split HalReportResouceUsage into per-platform function, since PC/AT HAL and...
Sir Richard [Thu, 1 Apr 2010 19:42:07 +0000 (19:42 +0000)]
[HAL]: Split HalReportResouceUsage into per-platform function, since PC/AT HAL and ACPI HAL have different requirements. As a bonus, the ACPI HAL now identifies itself as ACPI Compatible, instead of using the "PC Compatible" moniker.
[HAL]: Implement HalpGetNMICrashFlag so you can do NMI crashes now.
[HAL]: Implement basic HalpRegistryPciDebuggingDeviceInfo for the day someone implements the Kd routines.
[HAL]: HalpInitializePciBus needs to be different between "Bus Handler HALs" (non-ACPI/embedded) and "Non-Bus Handler HALs" (ACPI/x64). On ACPI, all we do is setup the raw PCI Stubs and NMI crashing. PC/AT will need more involved code.

svn path=/trunk/; revision=46647

14 years ago[MSDVBNP]
Johannes Anderwald [Thu, 1 Apr 2010 19:20:12 +0000 (19:20 +0000)]
[MSDVBNP]
- Remove DebugBreak
- Implement IPin::Connect, IPin::ReceiveConnection, IPin::Disconnect, IPin::ConnectedTo
- Remove spaces
- DVBT Network Provider can now connect tv tuner in ReactOS

svn path=/trunk/; revision=46646

14 years ago[PCI]: New PCI driver, for the future. Needed for embedded support (ARM/etc) and...
Sir Richard [Thu, 1 Apr 2010 19:07:40 +0000 (19:07 +0000)]
[PCI]: New PCI driver, for the future. Needed for embedded support (ARM/etc) and anything other than your 3 emulators and neighboor's custom-made-to-barely-boot-your-OS machine.

svn path=/trunk/; revision=46645

14 years ago[NTOSKRNL]
Cameron Gutman [Thu, 1 Apr 2010 18:17:25 +0000 (18:17 +0000)]
[NTOSKRNL]
- Store the device's assigned resources (raw and translated) in the RESOURCEMAP key
- Implement IopUpdateResourceMap which is responsible for updating the key with new resource information and setting the DNF_RESOURCE_ASSIGNED flag
- Fix IoGetDeviceProperty which was returning incorrect information for DevicePropertyPhysicalDeviceObjectName
- Take a look at HKLM\Hardware\ResourceMap\PnP Manager\PnpManager and see the beautiful resource lists ;)
- NOTE: Regedit has a bug so the "\Device\" prefix is hidden but you will see that it is there if you look with explorer's NT object viewer

svn path=/trunk/; revision=46644

14 years ago[KS]
Johannes Anderwald [Thu, 1 Apr 2010 17:22:21 +0000 (17:22 +0000)]
[KS]
- Partly implement pin property handling by using supplied pin descriptor properties
- Dynamically allocate connection format and put in pin's object bag
- Remove bogus assert as pins don't have to provide a PinDispatchCreate function
- Tuner device filter and capture device filter now successfully connect and instantiate corresponding input / output pins

svn path=/trunk/; revision=46643

14 years ago[BDASUP]
Johannes Anderwald [Thu, 1 Apr 2010 17:18:13 +0000 (17:18 +0000)]
[BDASUP]
- Register an empty filter descriptor as pins, nodes, connections will be added later dynamically
- Fixes the duplicate input / output pins visible with graphedt
- Add the filter automation table to the object bag so it gets deleted when filter factory is destroyed

svn path=/trunk/; revision=46642

14 years ago[KS]
Johannes Anderwald [Thu, 1 Apr 2010 14:53:16 +0000 (14:53 +0000)]
[KS]
- Refactor & bugfix handling of KSPROPERTY_PIN_INTERFACES
- Refactor & bugfix IKsFilter_fnAddProcessPin for filter centric pins
- Fix handling of filter pin property sets
- Copy filter pin templates when filter is initialized.
- Pins are now able to instantiated but processing is pin requests is not yet implemented

svn path=/trunk/; revision=46640

14 years ago[NTOSKRNL]
Cameron Gutman [Thu, 1 Apr 2010 06:58:32 +0000 (06:58 +0000)]
[NTOSKRNL]
- Change PnpRootCreateDevice's ServiceName parameter to be a full service name so it can be used by IoReportDetectedDevice (for reporting devices without the "LEGACY_" prefix) and change all of its callers accordingly
- Remove the broken implementation of IoReportDetectedDevice and replace it with a fully working implementation
- There is still a bug that it creates a new device instance every boot, but unlike the previous code, at least it creates one ;-)

svn path=/trunk/; revision=46639

14 years ago[HAL]
Timo Kreuzer [Thu, 1 Apr 2010 04:19:12 +0000 (04:19 +0000)]
[HAL]
Try to fix build

svn path=/trunk/; revision=46636

14 years ago[KS]
Johannes Anderwald [Thu, 1 Apr 2010 03:14:45 +0000 (03:14 +0000)]
[KS]
- Fix a bad cast in KsGetDevice which led to a crash
- Store IKsFilter in create item storage which is needed later by the pin property handler
- There is no need to copy the existing pin factories, just add pin factories which are added dynamically
- Handle possible null values for node types & names
- Put allocated objects into object bags which can be released later automatically
- Fix access IKsFilterFactory interface in IKsFilterFactory_Create
- graphedt can now 'open' tv tuner and enumerate pins / communication / interface. Code required for devenum not yet commited

svn path=/trunk/; revision=46634

14 years ago[BDASUP]
Johannes Anderwald [Thu, 1 Apr 2010 02:35:37 +0000 (02:35 +0000)]
[BDASUP]
- Allocate KSFILTER_DESCRIPTOR before passing to KsCreateFilterFactory
- Allocate KSPIN_DESCRIPTOR_EX before passing to KsFilterCreatePinFactory
- Use stored BDA_FILTER_TEMPLATE when caller doesnt pass any

svn path=/trunk/; revision=46632

14 years ago[PSDK]
Johannes Anderwald [Thu, 1 Apr 2010 00:41:09 +0000 (00:41 +0000)]
[PSDK]
- Fix _KSNODE_DESCRIPTOR definition

svn path=/trunk/; revision=46631

14 years ago[NTORKRNL]
Eric Kohl [Wed, 31 Mar 2010 21:02:38 +0000 (21:02 +0000)]
[NTORKRNL]
SepAccessCheck: Deny access if the DACL is is empty (but not NULL).

svn path=/trunk/; revision=46629

14 years ago[HALACPI]: Begin rough implementation of the Hal ACPI PnP Driver. Will probably need...
Sir Richard [Wed, 31 Mar 2010 20:58:42 +0000 (20:58 +0000)]
[HALACPI]: Begin rough implementation of the Hal ACPI PnP Driver. Will probably need some changes to the ReactOS PnP Manager to work properly (it is not initialized yet).
[HAL]: Implement helper registry routine.
[HAL]: Implement function to set ACPI mode the "Windows way", which is to enable/disable the firmware mapper. PnP Manager should probably check this in the future.

svn path=/trunk/; revision=46628

14 years ago[NDK]: Add missing Io functions.
Sir Richard [Wed, 31 Mar 2010 20:54:22 +0000 (20:54 +0000)]
[NDK]: Add missing Io functions.

svn path=/trunk/; revision=46627

14 years ago[NTOSKRNL]
Eric Kohl [Wed, 31 Mar 2010 19:53:19 +0000 (19:53 +0000)]
[NTOSKRNL]
- Move subject context locking to SeAccessCheck because NtAccessCheck already locks it.
- Do not use the captured security descriptor in NtAccessCheck yet, because SeCaptureSecurityDescriptor seems to create broken SDs.

svn path=/trunk/; revision=46626

14 years ago[KS]
Johannes Anderwald [Wed, 31 Mar 2010 17:33:49 +0000 (17:33 +0000)]
[KS]
- Enable registered device interfaces when device successfully initializes
- Fix totally broken KsFilterFactorySetDeviceClassesState implementation

svn path=/trunk/; revision=46625

14 years ago[PSDK]
Johannes Anderwald [Wed, 31 Mar 2010 17:13:41 +0000 (17:13 +0000)]
[PSDK]
- Add KsFilterFactorySetDeviceClassesState prototype

svn path=/trunk/; revision=46624

14 years ago[KS]
Johannes Anderwald [Wed, 31 Mar 2010 16:12:02 +0000 (16:12 +0000)]
[KS]
- Fix a malicous bug in KsAddItemToObjectBag which caused inifite loops while iterating through object bags
- Use a different mutex than the device mutex for object bags
- Initialize device / object bag mutex when initializing the device
- Initialize object bag lists when initializing the device
- Set device / system power state before calling device Add's routine
- Check if object driver extension has already been allocated in KsInitializeDevice
- Hack KsFilterFactoryUpdateCacheData to return STATUS_SUCCESS
- PinnacleSys PCTV DVB-T tv tuner now successfully initializes and registers its device interfaces

svn path=/trunk/; revision=46623