reactos.git
12 years ago[HIDCLASS]
Johannes Anderwald [Sun, 25 Dec 2011 23:07:50 +0000 (23:07 +0000)]
[HIDCLASS]
- Implement AddDevice routine

svn path=/branches/usb-bringup/; revision=54760

12 years ago[USB-BRINGUP]
Johannes Anderwald [Sun, 25 Dec 2011 20:21:34 +0000 (20:21 +0000)]
[USB-BRINGUP]
- add template for hidclass driver
- fix hidusb build

svn path=/branches/usb-bringup/; revision=54759

12 years ago- - rearrange hid stack
Johannes Anderwald [Sun, 25 Dec 2011 18:28:57 +0000 (18:28 +0000)]
- - rearrange hid stack

svn path=/branches/usb-bringup/; revision=54758

12 years ago- rearrange hid stack
Johannes Anderwald [Sun, 25 Dec 2011 18:25:18 +0000 (18:25 +0000)]
- rearrange hid stack

svn path=/branches/usb-bringup/; revision=54757

12 years ago- rearrange hid stack
Johannes Anderwald [Sun, 25 Dec 2011 18:23:22 +0000 (18:23 +0000)]
- rearrange hid stack

svn path=/branches/usb-bringup/; revision=54756

12 years ago- rearrange hid stack
Johannes Anderwald [Sun, 25 Dec 2011 18:17:07 +0000 (18:17 +0000)]
- rearrange hid stack

svn path=/branches/usb-bringup/; revision=54754

12 years ago- add directory for hid stack
Johannes Anderwald [Sun, 25 Dec 2011 18:16:35 +0000 (18:16 +0000)]
- add directory for hid stack

svn path=/branches/usb-bringup/; revision=54753

12 years ago[USB-BRINGUP]
Johannes Anderwald [Sun, 25 Dec 2011 17:09:09 +0000 (17:09 +0000)]
[USB-BRINGUP]
- Implement HidP_UsageListDifference, HidP_GetUsagesEx, HidP_UsageAndPageListDifference
- Fix api prototypes
- Fix HidP_GetUsages linking

svn path=/branches/usb-bringup/; revision=54752

12 years ago- Fix function declaration
Johannes Anderwald [Fri, 23 Dec 2011 15:21:28 +0000 (15:21 +0000)]
- Fix function declaration
- add missing constant

svn path=/branches/usb-bringup/; revision=54737

12 years ago[USBEHCI]
Johannes Anderwald [Fri, 23 Dec 2011 15:20:00 +0000 (15:20 +0000)]
[USBEHCI]
- Implement URB_FUNCTION_ISOCH_TRANSFER, URB_FUNCTION_CLASS_ENDPOINT, URB_FUNCTION_GET_DESCRIPTOR_FROM_INTERFACE

svn path=/branches/usb-bringup/; revision=54736

12 years ago[HID]
Johannes Anderwald [Thu, 13 Oct 2011 17:51:13 +0000 (17:51 +0000)]
[HID]
- Implement HidD_GetIndexedString, HidD_GetMsGenreDescriptor, HidD_GetConfiguration, HidD_SetConfiguration, HidP_GetUsagesEx

svn path=/branches/usb-bringup/; revision=54115

12 years ago[HIDUSB]
Johannes Anderwald [Tue, 30 Aug 2011 16:01:00 +0000 (16:01 +0000)]
[HIDUSB]
- Add stub hidusb driver
- Hidusb driver is reponsible to connect with the hidclass driver (not yet present) and connect hid framework with usb hid devices

svn path=/branches/usb-bringup/; revision=53500

12 years ago[DDK]
Johannes Anderwald [Tue, 30 Aug 2011 15:46:09 +0000 (15:46 +0000)]
[DDK]
- Add header for hid framework

svn path=/branches/usb-bringup/; revision=53499

12 years ago[USBSTOR]
Cameron Gutman [Fri, 3 Jun 2011 05:43:41 +0000 (05:43 +0000)]
[USBSTOR]
- Fix a typo so SRB_FUNCTION_RELEASE_DEVICE actually does what was intended

svn path=/branches/usb-bringup/; revision=52072

12 years ago[USBSTOR]
Cameron Gutman [Fri, 3 Jun 2011 05:38:27 +0000 (05:38 +0000)]
[USBSTOR]
- Don't leave DISPATCH_LEVEL while holding a spin lock acquired at DISPATCH_LEVEL
- Synchronize cancellation checking by acquiring the cancel spin lock

svn path=/branches/usb-bringup/; revision=52071

12 years ago[HIDPARSE]
Johannes Anderwald [Thu, 2 Jun 2011 19:13:51 +0000 (19:13 +0000)]
[HIDPARSE]
- Start of HID parser driver
- Contains currently only stubs

svn path=/branches/usb-bringup/; revision=52067

12 years ago[USBSTOR]
Johannes Anderwald [Thu, 2 Jun 2011 15:35:04 +0000 (15:35 +0000)]
[USBSTOR]
- Comment out getting usb device interface. It is currently unused and usbhub does not yet support it
- Forward pnp capabilities request to lower device object
- Fix compilation by Usurp

svn path=/branches/usb-bringup/; revision=52063

12 years ago[USB-BRINGUP]
Johannes Anderwald [Wed, 1 Jun 2011 12:01:55 +0000 (12:01 +0000)]
[USB-BRINGUP]
- Copy disk.inf from trunk
- Add upper layer filter partmgr when usb mass storage device is plugged in
- Usbstor now loads and starts up
- Currently stops at loading partmgr(not yet present)

svn path=/branches/usb-bringup/; revision=52039

12 years ago[USBSTOR]
Johannes Anderwald [Wed, 1 Jun 2011 11:31:34 +0000 (11:31 +0000)]
[USBSTOR]
- Remove superflous declaration
- Fix bug when quering for compatible ids
- Remove unused local variable

svn path=/branches/usb-bringup/; revision=52038

12 years ago[NTOS]
Johannes Anderwald [Wed, 1 Jun 2011 09:59:54 +0000 (09:59 +0000)]
[NTOS]
- Fix bug in PnpRegSzToString. The caller expects the result length to be the length of the string in bytes, not the string length
- Introduced in rev 46690

svn path=/trunk/; revision=52037

12 years ago[USBHUB_NEW]
Johannes Anderwald [Wed, 1 Jun 2011 08:31:33 +0000 (08:31 +0000)]
[USBHUB_NEW]
- Check if the port is usb 2.0 controller. In that case call the Usb2.0 initialize function
- Prevents crash when used with usbohci

svn path=/branches/usb-bringup/; revision=52036

12 years ago[USBHUB_NEW]
Johannes Anderwald [Wed, 1 Jun 2011 08:10:41 +0000 (08:10 +0000)]
[USBHUB_NEW]
- Fix compilation

svn path=/branches/usb-bringup/; revision=52035

12 years ago[NTOSKRNL]
Cameron Gutman [Wed, 1 Jun 2011 06:22:54 +0000 (06:22 +0000)]
[NTOSKRNL]
- Remove the device node when the device object is destroyed to prevent PnP manager from crashing when manipulating device nodes with device objects that no longer exist
- Move removal notifications into IopRemoveDevice and call it from IopPrepareDeviceForRemoval and IoRequestDeviceEject to manage all of the removal relations for each device removed

svn path=/trunk/; revision=52034

12 years ago[NTOSKRNL]
Cameron Gutman [Wed, 1 Jun 2011 01:06:35 +0000 (01:06 +0000)]
[NTOSKRNL]
- Fix a bug in device removal and ejection which caused the request to fail when EjectionRelations or RemovalRelations was not handled by a driver in the stack

svn path=/trunk/; revision=52033

12 years ago[INF]
Rafal Harabien [Tue, 31 May 2011 23:19:07 +0000 (23:19 +0000)]
[INF]
- Really add disk.inf. Forgotten in r51978

svn path=/trunk/; revision=52032

12 years ago[NTOSKRNL]
Cameron Gutman [Tue, 31 May 2011 23:04:59 +0000 (23:04 +0000)]
[NTOSKRNL]
- Remove an extra semicolon
- Dedicated to encoded

svn path=/trunk/; revision=52031

12 years ago[CMAKE]
Rafal Harabien [Tue, 31 May 2011 21:05:03 +0000 (21:05 +0000)]
[CMAKE]
- sys-stubs.S depends now on w32ksvc.h. Unfortunately CMake isn't smart enough to find it automatically

svn path=/trunk/; revision=52030

12 years ago[NTOSKRNL]
Cameron Gutman [Tue, 31 May 2011 19:34:08 +0000 (19:34 +0000)]
[NTOSKRNL]
- Implement IopRemoveDevice and IopStopDevice
- Do a graceful remove before installing new drivers (like Windows does)
- Debug log warnings abound (don't be alarmed ;)) because drivers aren't used to receiving IRP_MN_QUERY_REMOVE_DEVICE, IRP_MN_REMOVE_DEVICE and IRP_MN_QUERY_PNP_DEVICE_STATE from our (formly) crippled PnP manager

svn path=/trunk/; revision=52029

12 years ago[PCIIDEX]
Cameron Gutman [Tue, 31 May 2011 19:29:22 +0000 (19:29 +0000)]
[PCIIDEX]
- Handle IRP_MN_QUERY_REMOVE_DEVICE
- Handle IRP_MN_QUERY_PNP_DEVICE_STATE to report that we are not disableable to the PnP manager so we don't get removed during driver installation

svn path=/trunk/; revision=52028

12 years ago[NTOSKRNL]
Cameron Gutman [Tue, 31 May 2011 18:11:40 +0000 (18:11 +0000)]
[NTOSKRNL]
- Set the DNF_DISABLED flag if a driver returns with the HardwareDisabled flag set to true (but only BEFORE starting the device)
- Don't try to start a device with the DNF_DISABLED flag set
- Send IRP_MN_QUERY_CAPABILITIES (again) and IRP_MN_QUERY_PNP_DEVICE_STATE after the device has started
- Write the UINumber and Capabilities registry entries in IopQueryDeviceCapabilities so they will be updated after every IRP_MN_QUERY_CAPABILITIES is sent
- Set the DNUF_DONT_SHOW_IN_UI flag in response to the NoDisplayInUI flag set in DEVICE_CAPABILITIES or PNP_DEVICE_DONT_DISPLAY_IN_UI set after sending IRP_MN_QUERY_PNP_DEVICE_STATE
- Set DNUF_NBOT_DISABLEABLE if PNP_DEVICE_NOT_DISABLEABLE is set after sending IRP_MN_QUERY_PNP_DEVICE_STATE
- Remove duplicate code
- Fix sending GUID_DEVICE_ARRIVAL (patch by Eric Kohl)
- IRPs sent to PnP devices on enumeration and start are now completely compatible with Windows XP/2003/Vista

svn path=/trunk/; revision=52026

12 years ago[I8042PRT]
Cameron Gutman [Tue, 31 May 2011 18:02:49 +0000 (18:02 +0000)]
[I8042PRT]
- Don't ASSERT(FALSE) when receiving an unknown PNP IRP

svn path=/trunk/; revision=52025

12 years agofix build
Timo Kreuzer [Tue, 31 May 2011 17:50:55 +0000 (17:50 +0000)]
fix build

svn path=/trunk/; revision=52024

12 years ago[CRT]
Timo Kreuzer [Tue, 31 May 2011 17:29:49 +0000 (17:29 +0000)]
[CRT]
Rewrite _splitpath.
See issue #6244 for more details.

svn path=/trunk/; revision=52023

12 years ago[MSVCRT_APITEST]
Timo Kreuzer [Tue, 31 May 2011 17:26:30 +0000 (17:26 +0000)]
[MSVCRT_APITEST]
Add tests for splitpath

svn path=/trunk/; revision=52022

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 30 May 2011 22:27:28 +0000 (22:27 +0000)]
[NTOSKRNL]
- Implement IoTranslateBusAddress

svn path=/trunk/; revision=52019

12 years ago[USER32]
Rafal Harabien [Mon, 30 May 2011 21:34:10 +0000 (21:34 +0000)]
[USER32]
- Use DISPLAY_DEVICEW instead of assuming DISPLAY_DEVICE is in unicode

svn path=/trunk/; revision=52016

12 years ago[NTOSKRNL]
Rafal Harabien [Mon, 30 May 2011 21:26:33 +0000 (21:26 +0000)]
[NTOSKRNL]
- Declare function without arguments with VOID keyword
- Improve rbuild file

svn path=/trunk/; revision=52015

12 years ago[AFD]
Cameron Gutman [Mon, 30 May 2011 17:27:53 +0000 (17:27 +0000)]
[AFD]
- Launch a new listen IRP right after the current one completes instead of waiting until the current pending connection is accepted
- Reduces the chance of AFD missing two connection requests that are issued very close together and increases network performance by allowing our connection queue to do its job

svn path=/trunk/; revision=52013

12 years ago[WINED3D|DDRAW|D3D8|D3D9]
Kamil Hornicek [Mon, 30 May 2011 15:27:19 +0000 (15:27 +0000)]
[WINED3D|DDRAW|D3D8|D3D9]
Sync to Wine 1.3.21

svn path=/trunk/; revision=52009

12 years ago[ROSTESTS]
Rafal Harabien [Mon, 30 May 2011 11:40:58 +0000 (11:40 +0000)]
[ROSTESTS]
- Declare functions with 0 arguments using VOID keyword. In C it matters
- Add imagehlp winetest to CMake build

svn path=/trunk/; revision=52006

12 years ago[USBOHCI]
Johannes Anderwald [Mon, 30 May 2011 06:55:32 +0000 (06:55 +0000)]
[USBOHCI]
- More traces to fix isochronous problem
- Fix broken assert found by mjmartin

svn path=/branches/usb-bringup/; revision=52004

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 30 May 2011 04:15:27 +0000 (04:15 +0000)]
[NTOSKRNL]
- Implement sending GUID_TARGET_DEVICE_QUERY_REMOVE and GUID_TARGET_DEVICE_REMOVE_COMPLETE notifications
- Fix sending EventCategoryTargetDeviceChange notifications
- Remove some incorrect checks (IRP_MN_START_DEVICE CAN be called for a device that is already "started")
- Check the final status of the IRP_MN_START_DEVICE request sent after resource rebalancing and send IRP_MN_REMOVE_DEVICE if it fails

svn path=/trunk/; revision=52003

12 years ago[NTOSKRNL]
Roel Messiant [Sun, 29 May 2011 22:29:10 +0000 (22:29 +0000)]
[NTOSKRNL]
- Simplify remove lock tracking block list handling.
- Correct check for unlimited locking time being allowed.
- Eliminate use-after-free after removing a tracking block.

svn path=/trunk/; revision=52002

12 years agoConverting POLISH localisation strings to UTF-8. Part 3/4:
Olaf Siejka [Sun, 29 May 2011 21:43:37 +0000 (21:43 +0000)]
Converting POLISH localisation strings to UTF-8. Part 3/4:
- dll/win32 and dll/shellext converted
- currently, only shell32 is left, due to incoming change to new version, and kernel32 - need to research how it should be done.
Tested on rbuild/cmake

svn path=/trunk/; revision=52000

12 years ago[USBOHCI]
Johannes Anderwald [Sun, 29 May 2011 19:54:55 +0000 (19:54 +0000)]
[USBOHCI]
- Fix OHCI_ISO_TD structure. Fixes host system crashes in Windows XP
- Fix multiple bugs in isochronous transfer implementation
- Still not yet working, as the interrupt completion is not fired yet

svn path=/branches/usb-bringup/; revision=51998

12 years ago[NTOSKRNL]
Cameron Gutman [Sun, 29 May 2011 16:44:34 +0000 (16:44 +0000)]
[NTOSKRNL]
- Fix a reference leak which prevented driver objects passed to IoRegisterPlugPlayNotification from being able to unload after the notification was unregistered
- Fix a non-paged pool leak

svn path=/trunk/; revision=51997

12 years ago[SETUPAPI]
Eric Kohl [Sun, 29 May 2011 16:18:22 +0000 (16:18 +0000)]
[SETUPAPI]
- Add stubs for CM_Set_Class_Registry_PropertyA/W.
- Add support for missing properties to CM_Set_DevNode_Registry_Property_ExA/W.

svn path=/trunk/; revision=51996

12 years ago[UMPNPMGR]
Eric Kohl [Sun, 29 May 2011 15:58:49 +0000 (15:58 +0000)]
[UMPNPMGR]
Implement PNP_GetClassRegProp and fix a little bug in PNP_GetDeviceRegProp.

svn path=/trunk/; revision=51995

12 years agoEdijs Kolesnikovics
Matthias Kupfer [Sun, 29 May 2011 12:55:07 +0000 (12:55 +0000)]
Edijs Kolesnikovics
<
terminedijs AT yahoo DOT com>

- Show GPL licence from beginning
- See issue #6278 for details.

svn path=/trunk/; revision=51993

12 years ago[CMAKE]
Amine Khaldi [Sun, 29 May 2011 09:55:23 +0000 (09:55 +0000)]
[CMAKE]
* Add missing dependency.

svn path=/trunk/; revision=51990

12 years ago[UMPNPMGR]
Eric Kohl [Sat, 28 May 2011 22:15:38 +0000 (22:15 +0000)]
[UMPNPMGR]
- Implement PNP_SetClassRegProp.
- Fix a typo in the PNP_SetClassRegProp declaration in pnp.idl.

svn path=/trunk/; revision=51988

12 years ago[CMAKE]
Amine Khaldi [Sat, 28 May 2011 22:03:07 +0000 (22:03 +0000)]
[CMAKE]
* Improve reactos.cab creation a bit: create it using a custom command instead of a custom target.. marking it as output this way ensures a proper cleanup with make clean and co.

svn path=/trunk/; revision=51987

12 years ago[UMPNPMGR]
Eric Kohl [Sat, 28 May 2011 19:08:20 +0000 (19:08 +0000)]
[UMPNPMGR]
Add support for missing properties to PNP_SetDeviceRegProp and fix a property issue in PNP_GetDeviceRegProp.

svn path=/trunk/; revision=51982

12 years ago[NTOSKRNL]
Roel Messiant [Sat, 28 May 2011 17:56:07 +0000 (17:56 +0000)]
[NTOSKRNL]
- Don't treat the head of the tracking block list as a list entry.

svn path=/trunk/; revision=51981

12 years ago[UMPNPMGR]
Eric Kohl [Sat, 28 May 2011 17:35:51 +0000 (17:35 +0000)]
[UMPNPMGR]
Add support for missing properties to PNP_GetDeviceRegProp and improve error handling.

svn path=/trunk/; revision=51980

12 years agoAdd disk.inf to source file list.
Eric Kohl [Sat, 28 May 2011 16:19:14 +0000 (16:19 +0000)]
Add disk.inf to source file list.

svn path=/trunk/; revision=51978

12 years agoAdd an .inf file for disk drives.
Eric Kohl [Sat, 28 May 2011 16:12:28 +0000 (16:12 +0000)]
Add an .inf file for disk drives.
See issue #5111 for more details.

svn path=/trunk/; revision=51976

12 years ago[UNPNPMGR]
Cameron Gutman [Sat, 28 May 2011 13:42:06 +0000 (13:42 +0000)]
[UNPNPMGR]
- Simplify and fix a few bugs in the ClassGUID reading code

svn path=/trunk/; revision=51974

12 years ago[ScreenSaver]
James Tabor [Sat, 28 May 2011 11:39:36 +0000 (11:39 +0000)]
[ScreenSaver]
- Fixed screen saver load and save plus the registry problems.

svn path=/trunk/; revision=51973

12 years ago- No need to do extra work when the process starts.
James Tabor [Sat, 28 May 2011 00:32:15 +0000 (00:32 +0000)]
- No need to do extra work when the process starts.

svn path=/trunk/; revision=51972

12 years ago[Win32k]
James Tabor [Fri, 27 May 2011 23:18:57 +0000 (23:18 +0000)]
[Win32k]
- Get screen saver running. Need more work on WinLogon register issues and problems.
- Miscellaneous changes and cleanups.

svn path=/trunk/; revision=51971

12 years ago[PCIIDE/PCIIDEX]
Cameron Gutman [Fri, 27 May 2011 22:53:39 +0000 (22:53 +0000)]
[PCIIDE/PCIIDEX]
- Also update cmake files

svn path=/trunk/; revision=51970

12 years ago[USETUP]
Cameron Gutman [Fri, 27 May 2011 22:35:05 +0000 (22:35 +0000)]
[USETUP]
- Load other driver sections from txtsetup.sif
- Enable a debug print
[TXTSETUP]
- Add PnP entries for storage devices
[PCIIDE/PCIIDEX]
- Add to bootcd
- Both usetup's PnP manager and the user-mode PnP manager now recognize PCI IDE channels

svn path=/trunk/; revision=51969

12 years ago[HDC]
Cameron Gutman [Fri, 27 May 2011 22:27:37 +0000 (22:27 +0000)]
[HDC]
- PCIIDE should be installed for each PCI IDE controller and UNIATA should be installed for each IDE channel
- Remove an extra comma in the compatible adapters entries

svn path=/trunk/; revision=51968

12 years ago[PCIIDEX]
Cameron Gutman [Fri, 27 May 2011 22:06:43 +0000 (22:06 +0000)]
[PCIIDEX]
- Don't report raw device support to allow the IDE channel driver (uniata) to take over control of the enumerated devices
- Ideally the PnP manager should deal with a driver collision like this but it doesn't currently

svn path=/trunk/; revision=51967

12 years ago[NTOSKRNL]
Cameron Gutman [Fri, 27 May 2011 21:56:55 +0000 (21:56 +0000)]
[NTOSKRNL]
- Add a special case in IopLoadServiceModule for 1st stage setup when we have no service entries so we can still load drivers
- Fixes an old regression with 1st stage PnP which now can load drivers again

svn path=/trunk/; revision=51966

12 years ago[NTOSKRNL]
Pierre Schweitzer [Fri, 27 May 2011 21:21:36 +0000 (21:21 +0000)]
[NTOSKRNL]
Fix struct size checking for debug remove locks.
Spotted by Roel

svn path=/trunk/; revision=51965

12 years ago[UMPNPMGR]
Cameron Gutman [Fri, 27 May 2011 20:50:17 +0000 (20:50 +0000)]
[UMPNPMGR]
- Determine whether the device is really installed by reading the ClassGUID key instead of looking at the device flags
- Add a debug print for device installation (shouldn't be too spammy except and will be helpful for hotplugging)
[USETUP]
- Reenable the 1st stage PnP manager

svn path=/trunk/; revision=51963

12 years ago[MSPORTS]
Eric Kohl [Fri, 27 May 2011 15:33:12 +0000 (15:33 +0000)]
[MSPORTS]
- Implement a simple property sheet provider for serial ports. The property sheet does not show yet because the dialog resource is not found because a call to FindResourceW fails.

svn path=/trunk/; revision=51960

12 years ago[SETUPAPI]
Eric Kohl [Fri, 27 May 2011 15:07:43 +0000 (15:07 +0000)]
[SETUPAPI]
- SetupDiGetClassDevPropertySheetsW: Improve the way property sheet pages are added to a property sheet. This change enables us to retrieve the number of property sheet pages provided by a property sheet provider without leaking property sheets.

svn path=/trunk/; revision=51959

12 years ago[USBOHCI]
Johannes Anderwald [Fri, 27 May 2011 13:04:55 +0000 (13:04 +0000)]
[USBOHCI]
- Implement function to retrieve isochronous head endpoint descriptor
- Implement function to retrieve current frame number
- Set isochronous descriptor flag for head endpoint
- Implement retrieve device status for devices
- Implement retrieve class status from device
- Partly implement isochronous descriptor handling in usb queue
- Start implementing isochronous transfers in ISUBRequest
- Code currently not tested as the Virtual Machine with XP + ReactOS usbohci driver brings down the host system when starting the iso transfers. Ironically it crashes in MS usbohci driver

svn path=/branches/usb-bringup/; revision=51957

12 years agopatch by Igor Paliychuk <mansonigor at gmail dot com>:
Matthias Kupfer [Fri, 27 May 2011 08:18:33 +0000 (08:18 +0000)]
patch by Igor Paliychuk <mansonigor at gmail dot com>:
- [TRANSLATIONS] update ukrainian locale

svn path=/trunk/; revision=51948

12 years ago[USETUP]
Cameron Gutman [Fri, 27 May 2011 03:40:22 +0000 (03:40 +0000)]
[USETUP]
- Disable the 1st stage user-mode PnP manager because it is creating incomplete registry keys which is confusing the real user-mode PnP manager and preventing devices installed in 1st stage from appearing in device manager
- Fixes displaying PCI bus controllers in device manager
- I need to discuss with Herve what should be done with this code

svn path=/trunk/; revision=51947

12 years ago[NTOSKRNL]
Cameron Gutman [Fri, 27 May 2011 02:11:05 +0000 (02:11 +0000)]
[NTOSKRNL]
- Quick fix for the crash loading boot-time legacy drivers
- More device node flag state fixes coming soon

svn path=/trunk/; revision=51946

12 years ago[Win32k|User32]
James Tabor [Fri, 27 May 2011 01:36:41 +0000 (01:36 +0000)]
[Win32k|User32]
- Remove NtUserGetLastInputInfo.

svn path=/trunk/; revision=51945

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 26 May 2011 22:49:27 +0000 (22:49 +0000)]
[NTOSKRNL]
- Implement IoInvalidateDeviceState

svn path=/trunk/; revision=51944

12 years ago[HAL]
Rafal Harabien [Thu, 26 May 2011 22:22:37 +0000 (22:22 +0000)]
[HAL]
- Use ExFreePoolWithTag instead of ExFreePool
- Add definitions of used tags

svn path=/trunk/; revision=51943

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 26 May 2011 22:09:02 +0000 (22:09 +0000)]
[NTOSKRNL]
- Implement the kernel backend of graceful device removal/ejection

svn path=/trunk/; revision=51942

12 years ago[WIN32K]
Rafal Harabien [Thu, 26 May 2011 21:25:57 +0000 (21:25 +0000)]
[WIN32K]
- Remove unused ROS specific NtGdiSetDIBits syscall

svn path=/trunk/; revision=51936

12 years ago[MSPORTS]
Eric Kohl [Thu, 26 May 2011 21:20:06 +0000 (21:20 +0000)]
[MSPORTS]
- Try to read the PortName registry value and get the port number from the name.
- Determine the port number for parallel ports the same way we determine the port number for serial ports, except for the use of the com port database.

svn path=/trunk/; revision=51935

12 years ago[FASTFAT]
Rafal Harabien [Thu, 26 May 2011 20:59:48 +0000 (20:59 +0000)]
[FASTFAT]
- Use constant instead of magic number

svn path=/trunk/; revision=51933

12 years ago[VERSION]
Rafal Harabien [Thu, 26 May 2011 20:52:59 +0000 (20:52 +0000)]
[VERSION]
- Remove redundant file

svn path=/trunk/; revision=51932

12 years ago[BOOTDATA]
Rafal Harabien [Thu, 26 May 2011 20:39:52 +0000 (20:39 +0000)]
[BOOTDATA]
- Add Start Menu shell32 class to registry so LiveCD has it. It's needed for explorer-new.

[FREELDR]
- Fix rbuild file

svn path=/trunk/; revision=51931

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 26 May 2011 20:39:15 +0000 (20:39 +0000)]
[NTOSKRNL]
- Implement the kernel side of surprise device removal including sending the appropriate IRPs and notifying the user-mode PnP manager
- Fix the completely broken GUID_DEVICE_ARRIVAL notification (we were sending it for the parent not the children and we were sending regardless of whether any device had actually arrived)

svn path=/trunk/; revision=51930

12 years ago[USETUP]
Rafal Harabien [Thu, 26 May 2011 20:33:58 +0000 (20:33 +0000)]
[USETUP]
- Fix polish translation

svn path=/trunk/; revision=51929

12 years ago[PCI]
Cameron Gutman [Thu, 26 May 2011 19:51:12 +0000 (19:51 +0000)]
[PCI]
- Inform the PnP manager that we don't support stopping devices by failing the IRP_MN_QUERY_STOP_DEVICE IRP instead of the IRP_MN_STOP_DEVICE IRP (which is not allowed)

svn path=/trunk/; revision=51928

12 years ago[NDIS]
Cameron Gutman [Thu, 26 May 2011 19:34:39 +0000 (19:34 +0000)]
[NDIS]
- Fix handling of some PnP IRPs
- Handle IRP_MN_STOP_DEVICE as it travels down the stack not up
- Only complete the IRP_MN_QUERY_XXX_DEVICE IRPs if we fail them otherwise pass them down the device stack
- Handle IRP_MN_CANCEL_XXX_DEVICE as it travels back up the stack not on its way down
- Append our flags when handling IRP_MN_QUERY_PNP_DEVICE_STATE and pass it down the device stack

svn path=/trunk/; revision=51927

12 years ago[TASKMGR]
Rafal Harabien [Thu, 26 May 2011 18:19:17 +0000 (18:19 +0000)]
[TASKMGR]
- Simplify opening settings registry key

svn path=/trunk/; revision=51925

12 years ago[USBOHCI]
Johannes Anderwald [Thu, 26 May 2011 12:37:18 +0000 (12:37 +0000)]
[USBOHCI]
- Set up periodic threshold (90 %)
- Add function to retrieve interrupt endpoints
- Add function to retrieve specific descriptors from interface. These are used by HID devices such as mice / keyboards
- Add function to retrieve interrupt interval
- Enqueue all endpoint descriptors at the end of the associated queue
- Only notify hardware of insertion when it is an bulk / control request
- Scan interrupt endpoint list to find the completed transfer descriptor
- Add debugging function to print out linked endpoint descriptors
- Interrupt transfers are now implemented.
- Tested in Windows XP SP3 + Vbox 4.04 + Microsoft 5-Button Mouse. The HID mouse installs, initializes and starts up. Unfortunately the mouse does not work as expected yet

svn path=/branches/usb-bringup/; revision=51922

12 years ago[SERVICES]
Eric Kohl [Thu, 26 May 2011 10:50:26 +0000 (10:50 +0000)]
[SERVICES]
- Add database locks to ScmAutoShutdownServices, RCreateServiceW and REnumServicesStatusExW.
- Add experimental logging of failed service start (WIP).

svn path=/trunk/; revision=51921

12 years ago[USBOHCI]
Johannes Anderwald [Thu, 26 May 2011 02:15:11 +0000 (02:15 +0000)]
[USBOHCI]
- Remove dead code
- Silence traces
- Pass status & DoneHead as parameters to dpc routine
- Move IUSBRequest cleanup code into new function and use it for bulk / control transfer cleanup
- Fix bugs in AllocateEndpointDescriptor. It did not take the device address into account. It also did not respect the direction of the descriptor
- Implement support for bulk transfer requests
- Handle irp completion in CompletionCallback
- Tested in Windows XP SP3 + Vbox 4.04 + USB2.0 disabled + ReactOS usbstor + USB mass storage device
- OHCI Mass storage support is now also ready
- Next interrupt transfers

svn path=/branches/usb-bringup/; revision=51917

12 years ago[MSPORTS]
Eric Kohl [Wed, 25 May 2011 22:14:40 +0000 (22:14 +0000)]
[MSPORTS]
Store the PortName value in the registry.
Please note that SetupDiCreateDevRegKey and SetupDiOpenDevRegKey are broken because they do not open or create the 'Device Parameters' subkey of a device instance key but the device instance key itself.

svn path=/trunk/; revision=51916

12 years ago[LOGONUI]
Ged Murphy [Wed, 25 May 2011 18:53:04 +0000 (18:53 +0000)]
[LOGONUI]
Add gabriel's fixed bitmap and a more forgiving rbuild file

svn path=/trunk/; revision=51907

12 years ago[LOGONUI]
Ged Murphy [Wed, 25 May 2011 17:13:54 +0000 (17:13 +0000)]
[LOGONUI]
- Start to put together the logon / logoff user interface process
- It currently paints an exact pixel replica of WinXP's welcome screen in a logging off state
- Just a bit of fun at the moment, but will be part of the UI revamp we're all working towards.

svn path=/trunk/; revision=51906

12 years agouse application specific icon for small AND large icon instead of predefined one...
Matthias Kupfer [Wed, 25 May 2011 11:22:36 +0000 (11:22 +0000)]
use application specific icon for small AND large icon instead of predefined one (otherwise alt-tab shows default icon)

svn path=/trunk/; revision=51902

12 years ago[MSPORTS]
Eric Kohl [Wed, 25 May 2011 10:52:12 +0000 (10:52 +0000)]
[MSPORTS]
- Implement ComDBClaimNextFreePort and ComDBReleasePort.
- Add stubs for ComDBGetCurrentPortUsage and ComDBResizeDatabase.
- Do not keep the port bitmap in a buffer between calls but use a read-modify-write strategy instead.
- Replace pointer-based access to the port bitmap by index-based access.
- Use ComDBClaimNextFreePort in the serial port installer.
See issue #6272 for more details.

svn path=/trunk/; revision=51901

12 years ago[USBOHCI]
Johannes Anderwald [Wed, 25 May 2011 02:11:06 +0000 (02:11 +0000)]
[USBOHCI]
- Add glue code for supporting iso transfers
- Remove dead from Handle
- Remove broken asserts
- Add support for string descriptors
- Add support for class specific endpoint requests (Needs be ported to usbehci)
- Link to usbd driver
- Add support for retrieving string descriptor
- Rewrite configuration descriptor handling in IUSBDevice. New code is smaller, smarter and handles a lot more cases. Needs to be ported to usbehci
- Wrap usbdlib.h include in extern c macro, it has c linkage
- Control transfers should now work
- Need to implement support for isochronous / bulk / interrupt transfers until functional
- Tested with Bluetooth USB Stick (multi function, interrupt / bulk / control / isochronous) / USB Microphone (isochronous & control) in XP SP3

svn path=/branches/usb-bringup/; revision=51900

12 years ago[USBD]
Johannes Anderwald [Tue, 24 May 2011 23:03:35 +0000 (23:03 +0000)]
[USBD]
- Add missing export

svn path=/branches/usb-bringup/; revision=51899

12 years ago[NTOSKRNL]
Pierre Schweitzer [Tue, 24 May 2011 21:21:54 +0000 (21:21 +0000)]
[NTOSKRNL]
- Fix remove locks with debug block initialization in IoInitializeRemoveLockEx(). Before only their debug block was initialized, and not the lock itself...
- Implemented support remove locks debug blocks in IoAcquireRemoveLockEx(), IoReleaseRemoveLockEx() and IoReleaseRemoveLockAndWaitEx()
This will help debugging in storage stack and is required since partmgr is using them.

svn path=/trunk/; revision=51898

12 years ago[USBOHCI]
Johannes Anderwald [Tue, 24 May 2011 18:29:57 +0000 (18:29 +0000)]
[USBOHCI]
- Don't allocate buffer twice
- Cleanup endpoint / general transfer descriptors

svn path=/branches/usb-bringup/; revision=51892