Commit graph

46445 commits

Author SHA1 Message Date
Cameron Gutman e26e8e7106 [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
2011-05-30 17:27:53 +00:00
Kamil Hornicek 4e0877c6fb [WINED3D|DDRAW|D3D8|D3D9]
Sync to Wine 1.3.21

svn path=/trunk/; revision=52009
2011-05-30 15:27:19 +00:00
Rafal Harabien 6486187cdb [ROSTESTS]
- Declare functions with 0 arguments using VOID keyword. In C it matters
- Add imagehlp winetest to CMake build

svn path=/trunk/; revision=52006
2011-05-30 11:40:58 +00:00
Cameron Gutman 6c70b6dcd9 [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
2011-05-30 04:15:27 +00:00
Roel Messiant 9abb0c1c3b [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
2011-05-29 22:29:10 +00:00
Olaf Siejka 66b0ee485c 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
2011-05-29 21:43:37 +00:00
Cameron Gutman 944ccbbe33 [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
2011-05-29 16:44:34 +00:00
Eric Kohl 51945fb53c [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
2011-05-29 16:18:22 +00:00
Eric Kohl 188384e873 [UMPNPMGR]
Implement PNP_GetClassRegProp and fix a little bug in PNP_GetDeviceRegProp.

svn path=/trunk/; revision=51995
2011-05-29 15:58:49 +00:00
Matthias Kupfer 6d0de91d48 Edijs Kolesnikovics
<
terminedijs AT yahoo DOT com>

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

svn path=/trunk/; revision=51993
2011-05-29 12:55:07 +00:00
Amine Khaldi 374a063487 [CMAKE]
* Add missing dependency.

svn path=/trunk/; revision=51990
2011-05-29 09:55:23 +00:00
Eric Kohl 0a2651adde [UMPNPMGR]
- Implement PNP_SetClassRegProp.
- Fix a typo in the PNP_SetClassRegProp declaration in pnp.idl.

svn path=/trunk/; revision=51988
2011-05-28 22:15:38 +00:00
Amine Khaldi 4b796ad26c [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
2011-05-28 22:03:07 +00:00
Eric Kohl 971a0b7b63 [UMPNPMGR]
Add support for missing properties to PNP_SetDeviceRegProp and fix a property issue in PNP_GetDeviceRegProp.

svn path=/trunk/; revision=51982
2011-05-28 19:08:20 +00:00
Roel Messiant 91ed75b1f7 [NTOSKRNL]
- Don't treat the head of the tracking block list as a list entry.

svn path=/trunk/; revision=51981
2011-05-28 17:56:07 +00:00
Eric Kohl 21803c4ad1 [UMPNPMGR]
Add support for missing properties to PNP_GetDeviceRegProp and improve error handling.

svn path=/trunk/; revision=51980
2011-05-28 17:35:51 +00:00
Eric Kohl 9594c14d5f Add disk.inf to source file list.
svn path=/trunk/; revision=51978
2011-05-28 16:19:14 +00:00
Eric Kohl fb4188594e Add an .inf file for disk drives.
See issue #5111 for more details.

svn path=/trunk/; revision=51976
2011-05-28 16:12:28 +00:00
Cameron Gutman 2a77b92692 [UNPNPMGR]
- Simplify and fix a few bugs in the ClassGUID reading code

svn path=/trunk/; revision=51974
2011-05-28 13:42:06 +00:00
James Tabor e878e6c8fc [ScreenSaver]
- Fixed screen saver load and save plus the registry problems.

svn path=/trunk/; revision=51973
2011-05-28 11:39:36 +00:00
James Tabor 787984bc0f - No need to do extra work when the process starts.
svn path=/trunk/; revision=51972
2011-05-28 00:32:15 +00:00
James Tabor 90e1322075 [Win32k]
- Get screen saver running. Need more work on WinLogon register issues and problems.
- Miscellaneous changes and cleanups.

svn path=/trunk/; revision=51971
2011-05-27 23:18:57 +00:00
Cameron Gutman 6b5280da8a [PCIIDE/PCIIDEX]
- Also update cmake files

svn path=/trunk/; revision=51970
2011-05-27 22:53:39 +00:00
Cameron Gutman 4b24374764 [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
2011-05-27 22:35:05 +00:00
Cameron Gutman c963e3d148 [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
2011-05-27 22:27:37 +00:00
Cameron Gutman ceb022f8e1 [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
2011-05-27 22:06:43 +00:00
Cameron Gutman 3bff188bfc [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
2011-05-27 21:56:55 +00:00
Pierre Schweitzer 80d496143d [NTOSKRNL]
Fix struct size checking for debug remove locks.
Spotted by Roel

svn path=/trunk/; revision=51965
2011-05-27 21:21:36 +00:00
Cameron Gutman 5d2112a43b [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
2011-05-27 20:50:17 +00:00
Eric Kohl ccda38feca [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
2011-05-27 15:33:12 +00:00
Eric Kohl 94786cb21a [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
2011-05-27 15:07:43 +00:00
Matthias Kupfer bc57750cb9 patch by Igor Paliychuk <mansonigor at gmail dot com>:
- [TRANSLATIONS] update ukrainian locale

svn path=/trunk/; revision=51948
2011-05-27 08:18:33 +00:00
Cameron Gutman 6b41510d8b [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
2011-05-27 03:40:22 +00:00
Cameron Gutman 2b5e8a3588 [NTOSKRNL]
- Quick fix for the crash loading boot-time legacy drivers
- More device node flag state fixes coming soon

svn path=/trunk/; revision=51946
2011-05-27 02:11:05 +00:00
James Tabor 90e8da7f8a [Win32k|User32]
- Remove NtUserGetLastInputInfo.

svn path=/trunk/; revision=51945
2011-05-27 01:36:41 +00:00
Cameron Gutman bb403dcfbc [NTOSKRNL]
- Implement IoInvalidateDeviceState

svn path=/trunk/; revision=51944
2011-05-26 22:49:27 +00:00
Rafal Harabien 6a2050afbe [HAL]
- Use ExFreePoolWithTag instead of ExFreePool
- Add definitions of used tags

svn path=/trunk/; revision=51943
2011-05-26 22:22:37 +00:00
Cameron Gutman b24d89aee6 [NTOSKRNL]
- Implement the kernel backend of graceful device removal/ejection

svn path=/trunk/; revision=51942
2011-05-26 22:09:02 +00:00
Rafal Harabien 71f6457399 [WIN32K]
- Remove unused ROS specific NtGdiSetDIBits syscall

svn path=/trunk/; revision=51936
2011-05-26 21:25:57 +00:00
Eric Kohl 00aee505e3 [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
2011-05-26 21:20:06 +00:00
Rafal Harabien 1a05e28243 [FASTFAT]
- Use constant instead of magic number

svn path=/trunk/; revision=51933
2011-05-26 20:59:48 +00:00
Rafal Harabien 92bd6a6e6f [VERSION]
- Remove redundant file

svn path=/trunk/; revision=51932
2011-05-26 20:52:59 +00:00
Rafal Harabien ea760d80b9 [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
2011-05-26 20:39:52 +00:00
Cameron Gutman f8362347e4 [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
2011-05-26 20:39:15 +00:00
Rafal Harabien 2332dc3a16 [USETUP]
- Fix polish translation

svn path=/trunk/; revision=51929
2011-05-26 20:33:58 +00:00
Cameron Gutman 4363ff3a32 [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
2011-05-26 19:51:12 +00:00
Cameron Gutman 10959bf38e [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
2011-05-26 19:34:39 +00:00
Rafal Harabien 562fcac277 [TASKMGR]
- Simplify opening settings registry key

svn path=/trunk/; revision=51925
2011-05-26 18:19:17 +00:00
Eric Kohl c9726a9484 [SERVICES]
- Add database locks to ScmAutoShutdownServices, RCreateServiceW and REnumServicesStatusExW.
- Add experimental logging of failed service start (WIP).

svn path=/trunk/; revision=51921
2011-05-26 10:50:26 +00:00
Eric Kohl a53b8c7e19 [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
2011-05-25 22:14:40 +00:00