reactos.git
12 years ago[WININET_WINETEST]
Cameron Gutman [Sun, 5 Jun 2011 23:17:36 +0000 (23:17 +0000)]
[WININET_WINETEST]
- Update to wine 1.3.21

svn path=/trunk/; revision=52109

12 years ago- Add forgotten language files
Cameron Gutman [Sun, 5 Jun 2011 23:13:47 +0000 (23:13 +0000)]
- Add forgotten language files

svn path=/trunk/; revision=52108

12 years ago[WININET]
Cameron Gutman [Sun, 5 Jun 2011 23:11:41 +0000 (23:11 +0000)]
[WININET]
- Sync to wine 1.3.21
[PSDK]
- Update headers from sync

svn path=/trunk/; revision=52107

12 years ago[WINHTTP_WINETEST]
Cameron Gutman [Sun, 5 Jun 2011 21:41:14 +0000 (21:41 +0000)]
[WINHTTP_WINETEST]
- Sync to wine 1.3.21

svn path=/trunk/; revision=52106

12 years ago[WINHTTP]
Cameron Gutman [Sun, 5 Jun 2011 21:39:34 +0000 (21:39 +0000)]
[WINHTTP]
- Sync to wine 1.3.21

svn path=/trunk/; revision=52105

12 years ago[URLMON_WINETEST]
Cameron Gutman [Sun, 5 Jun 2011 21:35:31 +0000 (21:35 +0000)]
[URLMON_WINETEST]
- Sync to wine 1.3.21

svn path=/trunk/; revision=52104

12 years ago[URLMON]
Cameron Gutman [Sun, 5 Jun 2011 21:29:41 +0000 (21:29 +0000)]
[URLMON]
- Sync to wine 1.3.21

svn path=/trunk/; revision=52103

12 years ago[CMAKE]
Amine Khaldi [Sun, 5 Jun 2011 21:24:00 +0000 (21:24 +0000)]
[CMAKE]
* Use our oldnames library instead of libcoldname.

svn path=/trunk/; revision=52102

12 years ago[CMAKE]
Amine Khaldi [Sun, 5 Jun 2011 21:04:31 +0000 (21:04 +0000)]
[CMAKE]
* Temporarily add libcoldname.a

svn path=/trunk/; revision=52101

12 years ago[CRT/INTRINSICS]
Amine Khaldi [Sun, 5 Jun 2011 20:59:09 +0000 (20:59 +0000)]
[CRT/INTRINSICS]
Timo Kreuzer:
* Change inline assembly constraint from "r" to "q". "r" means any kind of register, including *si and *di, these cannot be used for 8bit operations on x86, only x64 has sil, dil registers. But gcc is stupid and doesn't get that if we don't tell it explicitly, by using "q", which will only allow a, b, c, d registers. Fixes an assembler error messages that can occur under certain circumstances.

svn path=/trunk/; revision=52100

12 years ago[CMAKE]
Amine Khaldi [Sun, 5 Jun 2011 20:57:13 +0000 (20:57 +0000)]
[CMAKE]
* chkstk is already part of msvcrtex. Just update it.

svn path=/trunk/; revision=52099

12 years ago[FREELDR]: Some ARM architectures do not necessarily have CS0_BASE at 0x00000000...
Sir Richard [Sun, 5 Jun 2011 20:48:34 +0000 (20:48 +0000)]
[FREELDR]: Some ARM architectures do not necessarily have CS0_BASE at 0x00000000, for example, most Ti OMAP Platforms have DDR at 0x80000000. The current FreeLDR algorithms would build FreeLDR "page entries" for every page from 0 to 0x7FFF0000 and mark it as unusable, then build the actual valid entries from 0x80000000 -> end of RAM, thus resulting in large memory consumption (and in the bloat of the PFN database later once NTOS loads) and boot time. Therefore, the algorithm is changed to start the PFN database at the lowest valid RAM page described by the Firemware descriptors, and entries therefore will be offset. This means a 128MB embedded system no longer appears to have 2048+128MB of RAM worth of PFN entries.
NOTE: Windows does not do this, opting instead to force manufacturers/use pull-up resistors/reconfigure the ARM Bus to map RAM at 0x00000000. For wider portability, I believe it makes more sense to simply do this "trick" in the boot loader.

svn path=/trunk/; revision=52098

12 years ago[WSOCK32]
Cameron Gutman [Sun, 5 Jun 2011 20:40:57 +0000 (20:40 +0000)]
[WSOCK32]
- Fix the spec file
- Fixes FF regression

svn path=/trunk/; revision=52097

12 years ago[CMAKE]
Amine Khaldi [Sun, 5 Jun 2011 19:44:33 +0000 (19:44 +0000)]
[CMAKE]
* Fix msvcrtex unix build.

svn path=/trunk/; revision=52096

12 years ago[CMAKE]
Amine Khaldi [Sun, 5 Jun 2011 18:56:29 +0000 (18:56 +0000)]
[CMAKE]
* Link msvcrtex to chkstk.

svn path=/trunk/; revision=52095

12 years ago[CMAKE]
Amine Khaldi [Sun, 5 Jun 2011 18:42:09 +0000 (18:42 +0000)]
[CMAKE]
* Add chkstk library and link crt against it.
* Add chkstk_ms.s to libcntpr source files.

svn path=/trunk/; revision=52094

12 years ago[CMAKE]
Amine Khaldi [Sun, 5 Jun 2011 18:00:09 +0000 (18:00 +0000)]
[CMAKE]
* Fix cab creation on unix.

svn path=/trunk/; revision=52093

12 years ago[AFD]
Cameron Gutman [Sun, 5 Jun 2011 17:08:37 +0000 (17:08 +0000)]
[AFD]
- Create an empty TRANSPORT_ADDRESS for the local address when doing an implicit bind so TCP/IP can choose its own local port and address instead of trying to bind the remote address and port
- Fixes another critical networking bug

svn path=/trunk/; revision=52092

12 years ago[WIN32K]
Timo Kreuzer [Sun, 5 Jun 2011 16:00:24 +0000 (16:00 +0000)]
[WIN32K]
Add some more debug output in case of a failed ASSERT

svn path=/trunk/; revision=52091

12 years ago[CMAKE]
Timo Kreuzer [Sun, 5 Jun 2011 14:51:31 +0000 (14:51 +0000)]
[CMAKE]
Fix build with msvc

svn path=/trunk/; revision=52090

12 years ago[MSPORTS]
Eric Kohl [Sun, 5 Jun 2011 13:26:43 +0000 (13:26 +0000)]
[MSPORTS]
Add missing definitions.

svn path=/trunk/; revision=52089

12 years agofix build?
Kamil Hornicek [Sun, 5 Jun 2011 12:50:02 +0000 (12:50 +0000)]
fix build?

svn path=/trunk/; revision=52088

12 years ago[MSPORTS]
Eric Kohl [Sun, 5 Jun 2011 12:20:52 +0000 (12:20 +0000)]
[MSPORTS]
Implement ComDBGetCurrentPortUsage.

svn path=/trunk/; revision=52087

12 years ago[IP/TCPIP]
Cameron Gutman [Sun, 5 Jun 2011 02:16:45 +0000 (02:16 +0000)]
[IP/TCPIP]
- Add a Next member to CONNECTION_ENDPOINT to allow multiple connections to be associated with a single address file while not overwriting pointers, dereferencing other people's connection objects, and causing horrific amounts of memory corruption
- Add several sanity checks to prevent this from happening again
- Don't try dereference address files and connection endpoints in the free functions; there should be none associated since r52083 (sanity checks ensure this)
- Don't hold an extra reference to the address file when creating a listener; this reference is implicit
- This should greatly increase reliability of activities that open lots of sockets such as web browsing and running servers on ROS
- This also fixes most issues of not releasing a server port when the listener is closed

svn path=/trunk/; revision=52086

12 years ago[MSPORTS]
Eric Kohl [Sat, 4 Jun 2011 21:07:28 +0000 (21:07 +0000)]
[MSPORTS]
Protect the COM database from concurrent access.

svn path=/trunk/; revision=52084

12 years ago[AFD]
Cameron Gutman [Sat, 4 Jun 2011 20:31:05 +0000 (20:31 +0000)]
[AFD]
- Disassociate the connection from the address file before closing them

svn path=/trunk/; revision=52083

12 years ago[DDK/XDK]
Timo Kreuzer [Sat, 4 Jun 2011 16:59:09 +0000 (16:59 +0000)]
[DDK/XDK]
Merge some changes to wdm.h back to xdk

svn path=/trunk/; revision=52080

12 years ago[NTOSKRNL/DDK]
Timo Kreuzer [Sat, 4 Jun 2011 15:42:32 +0000 (15:42 +0000)]
[NTOSKRNL/DDK]
- add definition for KeMemoryBarrierWithoutFence
- add x64 version of KeMemoryBarrier and some related defines
- Use KeMemoryBarrierWithoutFence in spinlocks as suggested by Alex

svn path=/trunk/; revision=52079

12 years ago[NTOSKRNL/HAL]
Timo Kreuzer [Sat, 4 Jun 2011 12:33:54 +0000 (12:33 +0000)]
[NTOSKRNL/HAL]
- Add explicit memory barriers to KxAcquireSpinLock, KxReleaseSpinLock inline functions and KeTryToAcquireQueuedSpinLock, KeTryToAcquireQueuedSpinLockRaiseToSynch in the UP case. This will prevent the compiler from reordering memory access instructions across the boundaries of these functions, even when being inlined.
- Use the inline functions in x64 spinlock functions, too

svn path=/trunk/; revision=52078

12 years ago[INF]
Eric Kohl [Sat, 4 Jun 2011 08:03:51 +0000 (08:03 +0000)]
[INF]
- Add an .inf file to register the unknown device class.

svn path=/trunk/; revision=52077

12 years ago[NTOSKRNL]
Olaf Siejka [Fri, 3 Jun 2011 13:34:29 +0000 (13:34 +0000)]
[NTOSKRNL]
Hackfix to r52065:
- Comment out call to IopDecrementDeviceObjectRef in IopLoadFileSystemDriver, on Pierre's request. Needs more research. Should fix boot and testcd ASSERT in 2nd stage.

svn path=/trunk/; revision=52075

12 years ago- Fix boot.
Gabriel Ilardi [Fri, 3 Jun 2011 10:58:26 +0000 (10:58 +0000)]
- Fix boot.

svn path=/trunk/; revision=52074

12 years ago[NTOSKRNL]
Pierre Schweitzer [Fri, 3 Jun 2011 08:43:05 +0000 (08:43 +0000)]
[NTOSKRNL]
Fixes to r52065:
- Acquire resources within a critical region
- Simplified IoEnumerateRegisteredFiltersList and made its behaviour match the one described in MSDN: http://msdn.microsoft.com/en-us/library/ff548348%28v=vs.85%29.aspx
This was brought to you by Alex Ionescu.

svn path=/trunk/; revision=52073

12 years ago- Fix build
Cameron Gutman [Fri, 3 Jun 2011 00:31:14 +0000 (00:31 +0000)]
- Fix build

svn path=/trunk/; revision=52070

12 years ago[WSOCK32]
Jérôme Gardou [Fri, 3 Jun 2011 00:29:36 +0000 (00:29 +0000)]
[WSOCK32]
remove useless def file
rbuild : use spec file
cmake : do not use two def files, it's... pointless.

svn path=/trunk/; revision=52069

12 years ago[FDC]
Cameron Gutman [Fri, 3 Jun 2011 00:20:01 +0000 (00:20 +0000)]
[FDC]
- Remove old fdc code

svn path=/trunk/; revision=52068

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 2 Jun 2011 18:23:30 +0000 (18:23 +0000)]
[NTOSKRNL]
- Fix a bug in device removal which resulted in an IRP_MN_CANCEL_REMOVE_DEVICE request not being sent if the initial IRP_MN_QUERY_REMOVE_DEVICE failed

svn path=/trunk/; revision=52066

12 years ago[NTOSKRNL]
Pierre Schweitzer [Thu, 2 Jun 2011 17:43:44 +0000 (17:43 +0000)]
[NTOSKRNL]
- renamed Io volumes global to match Windows names (in case of debug)
- renamed IopDereferenceVpb() to IopDereferenceVpbAndFree(), IopReferenceVpbForVerify() to IopReferenceVerifyVpb(), IopInitializeVpbForMount() to IopMountInitializeVpb(), IopLoadFileSystem() to IopLoadFileSystemDriver()
- implemented IopDecrementDeviceObjectHandleCount(), IopInterlockedIncrementUlong(), IopInterlockedDecrementUlong(), IopNotifyAlreadyRegisteredFileSystems() and IoEnumerateRegisteredFiltersList()
- halfplemented IopDecrementDeviceObjectRef()
- implemented check for already registrered notification in IoRegisterFsRegistrationChange()
- implemented sending notifications for already registered drivers to registrant in IoRegisterFsRegistrationChange()
- implemented VPB freeing in IopDereferenceVpbAndFree()
- acquire Io volumes lists once and forever for system shutdown, instead of keeping acquiring and releasing
- reference device object in IopShutdownBaseFileSystems() before sending it the shutdown IRP. To ensure to keep it valid till the end
- added a FS driver registration operations counter
- use this counter to handle failed mounts
- fixed: release locks before calling driver for mounting and reacquire them after
- fixed check for boot partition failure (and associated bugcheck): check we are in boot phase 0 or 1
- simplified lock process by using only one lock (ie removed mutex). Also use only critical region where needed
- fixed: ensure that locks are properly released when quitting a function
- fixed wrong return in IopCreateVpb()
- minor fixes around

svn path=/trunk/; revision=52065

12 years ago[NTOSKRNL]
Rafal Harabien [Thu, 2 Jun 2011 15:59:57 +0000 (15:59 +0000)]
[NTOSKRNL]
- Reset KdbNumberOfRowsPrinted and KdbNumberOfColsPrinted before reading new command in kernel debugger so if previous command printed nearly full page, new command won't show "Press q to abort" message before processing

svn path=/trunk/; revision=52064

12 years ago[SETUPAPI]
Eric Kohl [Thu, 2 Jun 2011 14:42:15 +0000 (14:42 +0000)]
[SETUPAPI]
Add missing properties for SetupDiGetDeviceRegistryProperty and SetupDiSetDeviceRegistryProperty.

svn path=/trunk/; revision=52062

12 years ago[CMAKE]
Jérôme Gardou [Thu, 2 Jun 2011 12:55:09 +0000 (12:55 +0000)]
[CMAKE]
"According to gcc doc, if header.h is precompiled, the output should be named "header.h.gch" and not anything else."
Knowing it was the first step before actually doing it :-/

svn path=/trunk/; revision=52061

12 years agorevert unwanted change
Jérôme Gardou [Thu, 2 Jun 2011 12:29:11 +0000 (12:29 +0000)]
revert unwanted change

svn path=/trunk/; revision=52060

12 years ago[CMAKE]
Jérôme Gardou [Thu, 2 Jun 2011 12:20:30 +0000 (12:20 +0000)]
[CMAKE]
no need to call target_link_libraries if there is nothing to link

svn path=/trunk/; revision=52059

12 years ago[CMAKE]
Jérôme Gardou [Thu, 2 Jun 2011 12:18:22 +0000 (12:18 +0000)]
[CMAKE]
  fix pch support, with proper dependancies.
  Use cmake built-in functions instead of doing weird "magic" with tabs and spaces.
  According to gcc doc, if header.h is precompiled, the output should be named "header.h.gch" and not anything else.

svn path=/trunk/; revision=52058

12 years ago[CMAKE]
Amine Khaldi [Thu, 2 Jun 2011 10:54:56 +0000 (10:54 +0000)]
[CMAKE]
* I left setting CMAKE_AR out of the condition. Fix this.

svn path=/trunk/; revision=52056

12 years ago[FDC]
Cameron Gutman [Thu, 2 Jun 2011 06:24:25 +0000 (06:24 +0000)]
[FDC]
- Implement fdc.sys (still needs work but fairly complete)
[TXTSETUP.SIF]
- Load fdc.sys for floppy controllers
[FDC.INF]
- Install fdc.sys for floppy controllers

svn path=/trunk/; revision=52055

12 years ago[NTOSKRNL]
Cameron Gutman [Thu, 2 Jun 2011 06:07:08 +0000 (06:07 +0000)]
[NTOSKRNL]
- Comment out sending remove to devices before driver installation because there are still some bugs causing crashes

svn path=/trunk/; revision=52054

12 years ago[CMAKE]
Amine Khaldi [Wed, 1 Jun 2011 22:18:48 +0000 (22:18 +0000)]
[CMAKE]
Merge r52051 and r52052 from cmake branch:
* Improve static libs creation in *nix. Dedicated to arty.
* Add a missing dependency.

svn path=/trunk/; revision=52053

12 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 1 Jun 2011 20:36:40 +0000 (20:36 +0000)]
[NTOSKRNL]
Merge r52027 from cmake branch:
* Several improvements to debug symbols handling.
* A new (killer/awesome/...etc) feature has been introduced to kdbg: argument values support. Now backtraces contain not only usermode and kernelmode addresses translated, but also the argument values passed to the functions along the trace.
* Brought to you by the Arty.
* works only with cmake builds

svn path=/trunk/; revision=52050

12 years ago[CMAKE]
Jérôme Gardou [Wed, 1 Jun 2011 19:45:03 +0000 (19:45 +0000)]
[CMAKE]
 - clean up wine directx build file.
Wine removed COM from wind3d

svn path=/trunk/; revision=52049

12 years ago[UMPNPMGR]
Cameron Gutman [Wed, 1 Jun 2011 19:44:03 +0000 (19:44 +0000)]
[UMPNPMGR]
- Handle more GUIDs

svn path=/trunk/; revision=52048

12 years ago[CMD]
Timo Kreuzer [Wed, 1 Jun 2011 19:33:20 +0000 (19:33 +0000)]
[CMD]
replace FILE IO with Memory IO functions for batch files
Patch by HansH (hans at atbas dot org)

See issue #5807 for more details.

svn path=/trunk/; revision=52047

12 years ago[NTOSKRNL]
Cameron Gutman [Wed, 1 Jun 2011 19:32:12 +0000 (19:32 +0000)]
[NTOSKRNL]
- Massive rework of device removal
- IRP_MN_QUERY_REMOVE_DEVICE is sent to all devices that will be removed in response to a removal/ejection
- If any of the IRP_MN_QUERY_REMOVE_DEVICE requests fail, all devices which received a IRP_MN_QUERY_REMOVE_DEVICE will receive IRP_MN_CANCEL_REMOVE_DEVICE
- If everything approves the remove request, IRP_MN_REMOVE_DEVICE will be sent to children, ejection and/or removal relations, and finally the device itself
- Handle removal relations for all devices not just 1st level devices
- Remove child devices before removing the parent
- Move GUID_DEVICE_REMOVE_PENDING and GUID_DEVICE_REMOVAL_VETOED notifications to IopQueryRemoveDevice
- Implement IopCancelRemoveDevice which sends IRP_MN_CANCEL_REMOVE_DEVICE to the driver stack and sends GUID_TARGET_DEVICE_REMOVE_CANCELLED to any drivers waiting on target device change
- Use the IopRemoveDevice function to remove devices instead of calling IopQueryRemoveDevice and IopSendRemoveDevice manually so removal and/or ejection relations and children are processed
- IRPs and PnP notifications sent upon device removal (surprise and safe) should now be compatible with XP/Vista/7

svn path=/trunk/; revision=52046

12 years ago[APITESTS]
Rafal Harabien [Wed, 1 Jun 2011 18:20:51 +0000 (18:20 +0000)]
[APITESTS]
- Add more Rectangle function tests
- Improve ScrollDC tests

svn path=/trunk/; revision=52045

12 years ago[NTOSKRNL]
Rafal Harabien [Wed, 1 Jun 2011 18:16:52 +0000 (18:16 +0000)]
[NTOSKRNL]
- Bugcheck if ExFreePoolWithTag is called with wrong tag

svn path=/trunk/; revision=52044

12 years ago[NTOSKRNL]
Rafal Harabien [Wed, 1 Jun 2011 13:39:36 +0000 (13:39 +0000)]
[NTOSKRNL]
- Use tags when allocation and freeing memory and define them in tag.h
- Fix some wrongly used tags when freeing
- Our new memory manager doesn't check tags when ExFreePoolWithTag is used. It will be fixed after testing

svn path=/trunk/; revision=52043

12 years ago[NTOSKRNL]
Rafal Harabien [Wed, 1 Jun 2011 13:16:49 +0000 (13:16 +0000)]
[NTOSKRNL]
- Acquire spinlock when accessing SymbolFileListHead

svn path=/trunk/; revision=52041

12 years ago[CRT]
Timo Kreuzer [Wed, 1 Jun 2011 12:08:02 +0000 (12:08 +0000)]
[CRT]
in _flsbuf, always reset _cnt to 0 and don't allocate/use a buffer when _IONBUF is set. Fixes a regression in msvcrt_winetest file.

See issue #5829 for more details.

svn path=/trunk/; revision=52040

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[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[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[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