reactos.git
12 years ago[USBEHCI]
Johannes Anderwald [Thu, 16 Feb 2012 14:52:57 +0000 (14:52 +0000)]
[USBEHCI]
- Fix build

svn path=/trunk/; revision=55635

12 years ago[USBEHCI]
Johannes Anderwald [Thu, 16 Feb 2012 14:49:59 +0000 (14:49 +0000)]
[USBEHCI]
- Abort pipe when performing sync reset request
- add assert to check for bogus interface descriptors
- use endpoint max packet size when available
- flip data toggle after each transfer
- remove dead code
- use maximum of 4 pages or rest current buffer size when performing a bulk requests
- use nak reload count 3
- perform 1 transaction per frame

svn path=/trunk/; revision=55634

12 years ago[RTL]
Timo Kreuzer [Thu, 16 Feb 2012 14:37:53 +0000 (14:37 +0000)]
[RTL]
Fix a bug I introduced in r55527

svn path=/trunk/; revision=55633

12 years ago[CMAKE]
Jérôme Gardou [Thu, 16 Feb 2012 13:03:29 +0000 (13:03 +0000)]
[CMAKE]
  - use relative paths for reactos.dff generation.
May fix Pierre's issue, but a deeper fix is needed.

svn path=/trunk/; revision=55632

12 years ago[NTOSKRNL/MM]
Jérôme Gardou [Thu, 16 Feb 2012 11:16:10 +0000 (11:16 +0000)]
[NTOSKRNL/MM]
  - use ARM3 allocation for PDE pages.
There is now one table for system PDEs, and their pages are not leaked anymore.
Also fix bug 5857 (aka mshtml bug).
Only for x86 now. Timo, I think you should do it for amd64 as well.
Thanks for your patience, go back to testing now.
A huge congrats to Cameron and Thomas, without them I wouldn't even have dared touching this code.

svn path=/trunk/; revision=55631

12 years ago[CSRSRV]
Sylvain Petreolle [Thu, 16 Feb 2012 09:13:20 +0000 (09:13 +0000)]
[CSRSRV]
Fix rbuild file.

svn path=/trunk/; revision=55630

12 years ago[EXPLORER-NEW]
Dmitry Gorbachev [Thu, 16 Feb 2012 07:42:28 +0000 (07:42 +0000)]
[EXPLORER-NEW]
Do not define GUID which is already defined in PSDK.

svn path=/trunk/; revision=55629

12 years ago[WIN32K]
Dmitry Gorbachev [Thu, 16 Feb 2012 07:37:27 +0000 (07:37 +0000)]
[WIN32K]
Use local labels in the inline asm code to avoid a clash when building with link-time code generation.

[PSEH]
Do not push memory operands with ESP as the base register (can happen when compiling with some GCC options), load arguments into registers.

Fix formatting.

svn path=/trunk/; revision=55628

12 years agoAdd include paths
Dmitry Gorbachev [Thu, 16 Feb 2012 07:28:53 +0000 (07:28 +0000)]
Add include paths

svn path=/trunk/; revision=55627

12 years ago[CSRSRV]: Port the CsrWait* and CsrSession* APIs from CSRSRV2. Not yet used, so no...
Alex Ionescu [Thu, 16 Feb 2012 06:57:27 +0000 (06:57 +0000)]
[CSRSRV]: Port the CsrWait* and CsrSession* APIs from CSRSRV2. Not yet used, so no real functional change. Fixup a few structures where needed. Initalize session support during CSRSRV initialization. We have a pretty good hybrid now, some few more changes here and there and we can perhaps start having the beginnings our own "basesrv.dll",

svn path=/trunk/; revision=55626

12 years ago[CSRSRV]: Move the newly ported process APIs to procsup.c where they belong more...
Alex Ionescu [Thu, 16 Feb 2012 06:45:25 +0000 (06:45 +0000)]
[CSRSRV]: Move the newly ported process APIs to procsup.c where they belong more. No functional change.

svn path=/trunk/; revision=55625

12 years ago[CSRSRV]: Port the alloc/dealloc/insert/remove CsrProcess management functions from...
Alex Ionescu [Thu, 16 Feb 2012 03:41:18 +0000 (03:41 +0000)]
[CSRSRV]: Port the alloc/dealloc/insert/remove CsrProcess management functions from CSRSRV2. There is no longer a hash table being used but instead a linked list just like in real CSRSRV(2 for us). This brings us closer to the CSRSRV2 model and makes some of the older ported code cleaner too.

svn path=/trunk/; revision=55624

12 years ago[CSRSRV2]: Formatting fix.
Alex Ionescu [Thu, 16 Feb 2012 03:38:21 +0000 (03:38 +0000)]
[CSRSRV2]: Formatting fix.

svn path=/trunk/; revision=55623

12 years ago[CSRSRV]: Fix \Local symbolic link. Thanks to vicmarcal (and the new awesome testman).
Alex Ionescu [Thu, 16 Feb 2012 01:27:11 +0000 (01:27 +0000)]
[CSRSRV]: Fix \Local symbolic link. Thanks to vicmarcal (and the new awesome testman).

svn path=/trunk/; revision=55622

12 years ago[ROSAUTOTEST]
Kamil Hornicek [Thu, 16 Feb 2012 00:52:20 +0000 (00:52 +0000)]
[ROSAUTOTEST]
Some bug fixing.

svn path=/trunk/; revision=55621

12 years ago[CSRSRV]: Add a new linked list for console processes, as ListLink is used for all...
Alex Ionescu [Wed, 15 Feb 2012 22:15:33 +0000 (22:15 +0000)]
[CSRSRV]: Add a new linked list for console processes, as ListLink is used for all CSR_PROCESSes.

svn path=/trunk/; revision=55620

12 years ago[COMDLG32]
Timo Kreuzer [Wed, 15 Feb 2012 21:57:13 +0000 (21:57 +0000)]
[COMDLG32]
Really fix msvc build

svn path=/trunk/; revision=55619

12 years ago[ROSAUTOTEST]
Kamil Hornicek [Wed, 15 Feb 2012 21:18:13 +0000 (21:18 +0000)]
[ROSAUTOTEST]
Try to print whole lines so the output from tests doesn't get mixed with debug output from other reactos components.

svn path=/trunk/; revision=55618

12 years ago[CSRSRV/WIN32CSR]: No code change, but rename CSRSS_PROCESS_DATA to CSR_PROCESS and...
Alex Ionescu [Wed, 15 Feb 2012 20:29:08 +0000 (20:29 +0000)]
[CSRSRV/WIN32CSR]: No code change, but rename CSRSS_PROCESS_DATA to CSR_PROCESS and all the right fields -- put ReactOS-specific fields at the end. Do all the right renames needed for compilation. No functionality change.

svn path=/trunk/; revision=55617

12 years ago- Fix MSVC build
Rafal Harabien [Wed, 15 Feb 2012 20:25:35 +0000 (20:25 +0000)]
- Fix MSVC build

svn path=/trunk/; revision=55616

12 years ago[CSRSRV]: Remove the CSRAPI Heap and just use the CSR Heap. In the future there will...
Alex Ionescu [Wed, 15 Feb 2012 19:53:31 +0000 (19:53 +0000)]
[CSRSRV]: Remove the CSRAPI Heap and just use the CSR Heap. In the future there will be separate DLLs each with their own heap, but now it's all one DLL.
[CSRSRV]: Port CsrSbApiRequestThread, CsrSbApiHandleConnectionRequest and all the Sb* APIs from CSRSRV2. Comment out parts that can't work yet.
[CSRSRV]; Port CsrSbApiPortInitialize, CsrSetProcessSecurity, CsrCreateLocalSystemSD, and almost all of CsrServerInitialization. Initialization is almost identical to CSRSRV2 now.
[CSRSRV]: Kill "Complete" routine support, nobody was using this.

svn path=/trunk/; revision=55615

12 years ago[CSRSRV2]: Fix some bugs.
Alex Ionescu [Wed, 15 Feb 2012 19:47:28 +0000 (19:47 +0000)]
[CSRSRV2]: Fix some bugs.

svn path=/trunk/; revision=55614

12 years ago- Fix MSVC build
Rafal Harabien [Wed, 15 Feb 2012 17:39:18 +0000 (17:39 +0000)]
- Fix MSVC build

svn path=/trunk/; revision=55613

12 years ago[COMDLG32]
Rafal Harabien [Wed, 15 Feb 2012 17:35:24 +0000 (17:35 +0000)]
[COMDLG32]
- Sync to Wine 1.3.37

svn path=/trunk/; revision=55612

12 years ago[COMDLG32]
Rafal Harabien [Wed, 15 Feb 2012 17:33:15 +0000 (17:33 +0000)]
[COMDLG32]
- Sync to Wine 1.3.37

svn path=/trunk/; revision=55611

12 years ago[CSRSRV]: Merge some initialization code from CSRSRV, including CsrParseServerCommand...
Alex Ionescu [Wed, 15 Feb 2012 16:11:12 +0000 (16:11 +0000)]
[CSRSRV]: Merge some initialization code from CSRSRV, including CsrParseServerCommandLine and  CsrCreateSessionObjectDirectory. CsrSrvCreateSharedSection is now called correctly based on registry/command-line settings. Remove legacy functions that are no longer needed as a result.
[CSRSRV]: Flatten out the initialization code instead of a table of initialization functions.
[CSRSRV]: Make BasepFakeStaticServerData (our fake BaseSrv.DLL that's static inside CSRSRV for now) also create the BaseNamedObject Directory, along with the right ACLs and symbolic links, as well as the \Restricted sub-directory. Remove legacy function that was doing this before.

svn path=/trunk/; revision=55610

12 years ago[FREELDR]
Timo Kreuzer [Wed, 15 Feb 2012 16:03:01 +0000 (16:03 +0000)]
[FREELDR]
Silence some heap debug prints

svn path=/trunk/; revision=55609

12 years ago[CSRSRV2]: Fix GetDosDevicesProtection.
Alex Ionescu [Wed, 15 Feb 2012 15:06:53 +0000 (15:06 +0000)]
[CSRSRV2]: Fix GetDosDevicesProtection.

svn path=/trunk/; revision=55608

12 years ago[CSRSRV]: Update CsrAddStaticServerthread and CsrDestroyThread based on code from...
Alex Ionescu [Wed, 15 Feb 2012 15:05:35 +0000 (15:05 +0000)]
[CSRSRV]: Update CsrAddStaticServerthread and CsrDestroyThread based on code from CSRSRV2. Main change is that ProtectHandle/UnProtectHandle is now called.

svn path=/trunk/; revision=55607

12 years ago[CSRSRV2]: Formatting and a few bug fixes.
Alex Ionescu [Wed, 15 Feb 2012 15:03:42 +0000 (15:03 +0000)]
[CSRSRV2]: Formatting and a few bug fixes.

svn path=/trunk/; revision=55606

12 years ago[NTOSKRNL]
Rafal Harabien [Wed, 15 Feb 2012 13:24:39 +0000 (13:24 +0000)]
[NTOSKRNL]
- Null-terminate command before copying it to LastCommand buffer.

svn path=/trunk/; revision=55605

12 years ago[SHELL32]
Rafal Harabien [Wed, 15 Feb 2012 12:43:00 +0000 (12:43 +0000)]
[SHELL32]
- Partially revert r54068. "My Video" is not a typo but name of registry value, which match Win2k3.
See issue #6568 for more details.

svn path=/trunk/; revision=55604

12 years ago[NTOSKRNL]: Implement NtSetInformationObject(ObjectSessionInformation).
Alex Ionescu [Wed, 15 Feb 2012 06:48:39 +0000 (06:48 +0000)]
[NTOSKRNL]: Implement NtSetInformationObject(ObjectSessionInformation).
[NTOSKRNL]: Implement NtQueryInformationProcess(ProcessLUIDDeviceMapsEnabled).

svn path=/trunk/; revision=55603

12 years ago[USBSTOR]
Johannes Anderwald [Wed, 15 Feb 2012 03:55:11 +0000 (03:55 +0000)]
[USBSTOR]
- Fix build

svn path=/trunk/; revision=55602

12 years ago[USBSTOR]
Johannes Anderwald [Wed, 15 Feb 2012 03:52:37 +0000 (03:52 +0000)]
[USBSTOR]
- Rewrite error handling
- Check if CSW is valid
- Check if the error handling was already started
- Reset device if required
- Error handling was completely broken and did not follow the reset procedure as defined in USB Mass Storage Specification Bulk Only Section 5.3.4
- Mass storage device now longer hang when receiving the read capacity request and ReactOS assigns a symbolic link
- Mass storage devices not yet fully working

svn path=/trunk/; revision=55601

12 years ago[SMSS2]
Thomas Faber [Tue, 14 Feb 2012 23:06:28 +0000 (23:06 +0000)]
[SMSS2]
- Do not print an uninitialized string

svn path=/trunk/; revision=55600

12 years ago[FREELDR]
Timo Kreuzer [Tue, 14 Feb 2012 22:08:34 +0000 (22:08 +0000)]
[FREELDR]
Add a hack to zero out heap allocations in the hope it fixes strange behavour

svn path=/trunk/; revision=55599

12 years ago[FREELDR]
Timo Kreuzer [Tue, 14 Feb 2012 21:56:39 +0000 (21:56 +0000)]
[FREELDR]
Add code to check for heap buffer overwrites

svn path=/trunk/; revision=55598

12 years ago[FREELDR]
Timo Kreuzer [Tue, 14 Feb 2012 19:48:04 +0000 (19:48 +0000)]
[FREELDR]
Fix a bug in the new heap code and re-enable it. The previous problems seem to be gone. Thanks to Amine for testing.

svn path=/trunk/; revision=55597

12 years ago[NTOSKRNL]
Cameron Gutman [Tue, 14 Feb 2012 19:32:56 +0000 (19:32 +0000)]
[NTOSKRNL]
- Change screen debug background to black for improved readability as per Johannes' request

svn path=/trunk/; revision=55596

12 years ago[USBEHCI]
Johannes Anderwald [Tue, 14 Feb 2012 19:10:34 +0000 (19:10 +0000)]
[USBEHCI]
- Remove bogus assert
- Store full configuration descriptor
- skip intermediate descriptors until the requested descriptor is found while parsing the configuration descriptor
- simplify CUSBDevice::GetConfigurationDescriptors
- check if an interface descriptor has endpoint descriptors

svn path=/trunk/; revision=55595

12 years ago[USBEHCI] [USBOHCI]
Johannes Anderwald [Tue, 14 Feb 2012 19:04:23 +0000 (19:04 +0000)]
[USBEHCI] [USBOHCI]
- Do not queue a work item twice

svn path=/trunk/; revision=55594

12 years ago[COMCTL32]
Rafal Harabien [Tue, 14 Feb 2012 14:17:18 +0000 (14:17 +0000)]
[COMCTL32]
- If no control or one of wizard buttons has focus in PROPSHEET_SetWizButtons, set focus to default wizard button. Tested in Win2k3. Worse fix was already in diff but wasn't applied.

svn path=/trunk/; revision=55593

12 years ago[ROSAPPS]
Sylvain Petreolle [Tue, 14 Feb 2012 14:03:05 +0000 (14:03 +0000)]
[ROSAPPS]
Add cmdutils apps to build.

svn path=/trunk/; revision=55592

12 years ago[USBSTOR]
Johannes Anderwald [Tue, 14 Feb 2012 08:57:22 +0000 (08:57 +0000)]
[USBSTOR]
- Display errors when csw fails

svn path=/trunk/; revision=55591

12 years ago[CSRSS]: Remove unneeded initialization code, and move Win32k.sys related initailizat...
Alex Ionescu [Tue, 14 Feb 2012 08:23:01 +0000 (08:23 +0000)]
[CSRSS]: Remove unneeded initialization code, and move Win32k.sys related initailization to win32csr. Note that the "VDM IVT" stuff should move to videoprt's handler for IRP_MJ_CREATE, and opening the "\\DISPLAY1" needs to go in Win32k.sys (under NtUserInitialize I think).
[BOOT REGISTRY]: Cleanup subsystem entries to match Windows.

svn path=/trunk/; revision=55590

12 years ago[SMSS2/SMSS]: Nuke SMSS. SMSS2 is now in full control.
Alex Ionescu [Tue, 14 Feb 2012 06:06:39 +0000 (06:06 +0000)]
[SMSS2/SMSS]: Nuke SMSS. SMSS2 is now in full control.

svn path=/trunk/; revision=55589

12 years ago[USB]
Cameron Gutman [Tue, 14 Feb 2012 04:15:57 +0000 (04:15 +0000)]
[USB]
- Disable support for external USB hubs until they are properly supported

svn path=/trunk/; revision=55588

12 years agoBuild fix.
Alex Ionescu [Tue, 14 Feb 2012 01:38:35 +0000 (01:38 +0000)]
Build fix.

svn path=/trunk/; revision=55587

12 years ago[COMCTL32]
Rafal Harabien [Tue, 14 Feb 2012 00:58:59 +0000 (00:58 +0000)]
[COMCTL32]
- Draw shadow if item has focus but isn't selected

svn path=/trunk/; revision=55586

12 years ago[CSRSRV2/CSRSS2]: Make multiple fixes to, bring up to speed, and finish implementatio...
Alex Ionescu [Tue, 14 Feb 2012 00:57:32 +0000 (00:57 +0000)]
[CSRSRV2/CSRSS2]: Make multiple fixes to, bring up to speed, and finish implementation of the CSRSS/CSRSRV that has been laying around in trunk since forever. Not yet tested if it actually works yet, but it should now build and be much closer to fully functional. Of course, the trick is to figure out how to get it to co-exist with the current CSRSS/win32csr.

svn path=/trunk/; revision=55585

12 years ago[SMLIB]: Implement SmSessionComplete.
Alex Ionescu [Tue, 14 Feb 2012 00:54:32 +0000 (00:54 +0000)]
[SMLIB]: Implement SmSessionComplete.

svn path=/trunk/; revision=55584

12 years ago[COMCTL32]
Rafal Harabien [Mon, 13 Feb 2012 20:52:20 +0000 (20:52 +0000)]
[COMCTL32]
- Add support for LVS_EX_TRANSPARENTSHADOWTEXT style
[SHELL32]
- Add drop shadows support for desktop
- Set proper label color based on background color when drop shadows is disabled
- Update desktop colors when WM_SYSCOLORCHANGE or WM_SETTINGCHANGE msg is received
[BOOTDATA]
- Enable drop shadows by default (this option was hardcoded to 1 before)
[DESK]
- Send WM_SETTINGCHANGE with wParam = 0 when applying changes
[EXPLORER]
- Broadcast WM_SETTINGCHANGE message to shell view window

svn path=/trunk/; revision=55583

12 years ago[NTOSKRNL]
Jérôme Gardou [Mon, 13 Feb 2012 19:09:10 +0000 (19:09 +0000)]
[NTOSKRNL]
 - Use proper macro for getting PDE from PTE.

svn path=/trunk/; revision=55582

12 years ago- Really fix MSVC build...
Rafal Harabien [Mon, 13 Feb 2012 17:44:56 +0000 (17:44 +0000)]
- Really fix MSVC build...

svn path=/trunk/; revision=55581

12 years ago- Fix MSVC build
Rafal Harabien [Mon, 13 Feb 2012 17:37:27 +0000 (17:37 +0000)]
- Fix MSVC build

svn path=/trunk/; revision=55580

12 years ago- Fix MSVC build (patch by Thomas Fabber reverted by me in previous commit)
Rafal Harabien [Mon, 13 Feb 2012 17:04:52 +0000 (17:04 +0000)]
- Fix MSVC build (patch by Thomas Fabber reverted by me in previous commit)

svn path=/trunk/; revision=55579

12 years ago[COMCTL32]
Rafal Harabien [Mon, 13 Feb 2012 16:53:00 +0000 (16:53 +0000)]
[COMCTL32]
- Add DrawShadowText implementation

svn path=/trunk/; revision=55578

12 years ago- Fix rbuild build
Rafal Harabien [Mon, 13 Feb 2012 16:44:27 +0000 (16:44 +0000)]
- Fix rbuild build

svn path=/trunk/; revision=55577

12 years ago[COMCTL32]
Rafal Harabien [Mon, 13 Feb 2012 16:34:02 +0000 (16:34 +0000)]
[COMCTL32]
- Sync to Wine 1.3.37

svn path=/trunk/; revision=55576

12 years ago[RTL]
Timo Kreuzer [Mon, 13 Feb 2012 14:35:26 +0000 (14:35 +0000)]
[RTL]
Add missing parameter checks to RtlAreBitsClear and RtlAreBitsSet

svn path=/trunk/; revision=55575

12 years ago[USBOHCI]
Johannes Anderwald [Mon, 13 Feb 2012 13:39:20 +0000 (13:39 +0000)]
[USBOHCI]
- Set endpoint direction indicator for control transfers
- Mask Version bits when printing out version
- Implement function for dumping endpoint descriptor
- Implement retrieving pid direction from setup packet
- Flip the pid direction for the status descriptor when data is transferred
- Return packet size 8 when using the control pipe
- OHCI control transfer hang is gone
- OHCI control should now work and attached HID devices finish initialization

svn path=/trunk/; revision=55574

12 years ago[USBHUB]
Johannes Anderwald [Mon, 13 Feb 2012 11:45:34 +0000 (11:45 +0000)]
[USBHUB]
- Remove some hardcoded constants

svn path=/trunk/; revision=55573

12 years ago[HIDUSB]
Johannes Anderwald [Mon, 13 Feb 2012 11:12:58 +0000 (11:12 +0000)]
[HIDUSB]
- Retrieve protocol after configuration has been selected
- Fixes HID regression
See issue #6886 for more details.

svn path=/trunk/; revision=55572

12 years ago[HIDUSB]
Johannes Anderwald [Sun, 12 Feb 2012 22:17:50 +0000 (22:17 +0000)]
[HIDUSB]
- Check if boot procol is supported
- Don't assert on boot protocol active
See issue #6886 for more details.

svn path=/trunk/; revision=55571

12 years ago[BLUE]
Cameron Gutman [Sun, 12 Feb 2012 21:16:34 +0000 (21:16 +0000)]
[BLUE]
- Fix code designed to avoid touching the hardware if it is already owned
[KDIO]
- Take ownership of the display if we're debugging to screen
[TXTSETUP.SIF]
- Add an example entry of DbgOsLoadOptions for debugging 1st stage to screen
- 1st stage setup can now be debugged completely to screen with a modified txtsetup.sif (comment 1st DbgOsLoadOptions and uncomment 2nd)

svn path=/trunk/; revision=55570

12 years ago[USBDRV]
Cameron Gutman [Sun, 12 Feb 2012 18:34:05 +0000 (18:34 +0000)]
[USBDRV]
- Terminate the NT4 USB driver

svn path=/trunk/; revision=55569

12 years ago[USB]
Cameron Gutman [Sun, 12 Feb 2012 18:28:52 +0000 (18:28 +0000)]
[USB]
- Merge r55564 and r55567 from usb-bringup-trunk
- USB development should now be done in trunk exclusively (UHCI implementation may be an exception)

svn path=/trunk/; revision=55568

12 years agoAnschluß is no German!
Daniel Reimer [Sun, 12 Feb 2012 16:12:33 +0000 (16:12 +0000)]
Anschluß is no German!
Changing to Anschluss

svn path=/trunk/; revision=55565

12 years ago[WIN32K]
Kamil Hornicek [Sun, 12 Feb 2012 14:40:25 +0000 (14:40 +0000)]
[WIN32K]
Fix a potential memory leak. Spotted by Samuel Serapion.

svn path=/trunk/; revision=55562

12 years ago[XCOPY]
Amine Khaldi [Sun, 12 Feb 2012 13:33:30 +0000 (13:33 +0000)]
[XCOPY]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55560

12 years ago[WIN32K]
Rafal Harabien [Sun, 12 Feb 2012 12:23:54 +0000 (12:23 +0000)]
[WIN32K]
- GetFocus returns NULL if calling thread is not a foreground thread

svn path=/trunk/; revision=55559

12 years ago[WIN32K]
Rafal Harabien [Sun, 12 Feb 2012 11:02:00 +0000 (11:02 +0000)]
[WIN32K]
- Clip test vertically in ExtTextOut when ETO_CLIPPED is used

svn path=/trunk/; revision=55558

12 years ago[DISK_NEW]
Amine Khaldi [Sun, 12 Feb 2012 10:23:27 +0000 (10:23 +0000)]
[DISK_NEW]
* Fix msvc build.

svn path=/trunk/; revision=55557

12 years ago[win32k]
Giannis Adamopoulos [Sun, 12 Feb 2012 10:13:16 +0000 (10:13 +0000)]
[win32k]
- Initilize ExDesktopObjectType->TypeInfo.ValidAccessMask and ExWindowStationObjectType->TypeInfo.ValidAccessMask to let win32k use access checks to desktop and window station objects
- When opening a desktop and window station during THREADINFO initialization, give full access to the objects

svn path=/trunk/; revision=55556

12 years ago[USB]
Cameron Gutman [Sun, 12 Feb 2012 04:59:51 +0000 (04:59 +0000)]
[USB]
- We proudly merge the first charge of the usb-bringup branch. We do want to stress hardware support is still under heavy development and testing in real hardware is experimental
- Merge the Human Interface Device Stack(HID) which is used for mice / keyboards and other devices which use the USB interface, consisting of hidusb, hidparse, hidclass, mouhid, kbdhid
- Merge the composite driver, supports USB composite devices, laid out in usbccgp
- Merge the generic hub driver, which supports the USB root hub and in future USB hubs. Driver is usbhub
- Merge the Open Host Controller Interface driver (ohci)
- Merge the Enhanced Host Controller Interface driver (ehci)
- Merge the many fixes in other areas of ReactOS needed for USB to work (ntoskrnl, pci, inf, umpnpmgr, usetup)
- Special thanks goes the Haiku team, whose excellent code has provided a great base for the development of the new ReactOS USB / HID stack
- The development of the USB stack has shown the great potential when ReactOS developers team up together to achieve a common goal. The involved developers are here, listed alphabetically:

Alex Ionescu
Amine Khaldi
Cameron Gutman
Johannes Anderwald
Michel Martin
Thomas Faber
Thomas Lotz(Haiku)

Let's start the ReactOS revolution

svn path=/trunk/; revision=55555

12 years ago[BUILD]
Cameron Gutman [Sun, 12 Feb 2012 03:48:54 +0000 (03:48 +0000)]
[BUILD]
- Add rbuild files
- Fix dumb dependencies in cmake files
[DEBUG]
- Kill more debugging

svn path=/branches/usb-bringup-trunk/; revision=55554

12 years ago[HIDCLASS][HIDPARSE][HIDUSB][KBDHID][MOUHID][USBCCGP][USBD][USBEHCI][USBOHCI][USBHUB...
Cameron Gutman [Sun, 12 Feb 2012 02:53:34 +0000 (02:53 +0000)]
[HIDCLASS][HIDPARSE][HIDUSB][KBDHID][MOUHID][USBCCGP][USBD][USBEHCI][USBOHCI][USBHUB][USBSTOR]
- Massive debug spam reduction

svn path=/branches/usb-bringup-trunk/; revision=55553

12 years ago[USBEHCI]
Johannes Anderwald [Sun, 12 Feb 2012 00:49:18 +0000 (00:49 +0000)]
[USBEHCI]
- Enable async park mode when available
- Use correct type for the pipe handle
- Implement  URB_FUNCTION_GET_STATUS_FROM_INTERFACE,  URB_FUNCTION_GET_STATUS_FROM_ENDPOINT
- Verify that there is buffer provided in SubmitSetupPacket
[KBDCLASS]
- Forward requests to lower device

svn path=/branches/usb-bringup-trunk/; revision=55552

12 years ago[FREELDR]
Timo Kreuzer [Sun, 12 Feb 2012 00:01:01 +0000 (00:01 +0000)]
[FREELDR]
Revert to using the old heap code, as it broke 2nd stage on some systems

svn path=/trunk/; revision=55551

12 years ago[win32k]
Giannis Adamopoulos [Sat, 11 Feb 2012 22:17:46 +0000 (22:17 +0000)]
[win32k]
- In reactos when an application tries to use a desktop or window station object we never check if it should have access to the object. However the only exception to this is NtUserGetObjectInformation. Since desktops and windows stations are a mess, NtUserGetObjectInformation always fails. Ironically windows do such access checks everywhere except NtUserGetObjectInformation. Fix NtUserGetObjectInformation by removing access checks
- Note: access checks for every other place will be fixed soon

svn path=/trunk/; revision=55550

12 years ago[win32k]
Giannis Adamopoulos [Sat, 11 Feb 2012 22:09:01 +0000 (22:09 +0000)]
[win32k]
- Update pti->pClientInfo->hKL when pti->KeyboardLayout changes
- Fixes assertion after activating a second keyboard layout

svn path=/trunk/; revision=55549

12 years ago[USBSTOR]
Johannes Anderwald [Sat, 11 Feb 2012 19:26:18 +0000 (19:26 +0000)]
[USBSTOR]
- Implement retrieving endpoint halted status
- Fix multiple bugs which leaded to crashes (wrong device object passed). Usbstor now successfully restarts requests after handling the errors
- Implement mass storage reset, not yet used
- Add checks in CSW completion

svn path=/branches/usb-bringup-trunk/; revision=55548

12 years ago* Fix MSVC build.
Amine Khaldi [Sat, 11 Feb 2012 16:59:10 +0000 (16:59 +0000)]
* Fix MSVC build.

svn path=/trunk/; revision=55547

12 years ago[NTDLL]
Rafal Harabien [Sat, 11 Feb 2012 15:30:50 +0000 (15:30 +0000)]
[NTDLL]
- Fix uninitialized variable usage causing first chance exceptions during SMSS2 loading on livecd

svn path=/trunk/; revision=55546

12 years ago* Sync up to trunk r55544.
Amine Khaldi [Sat, 11 Feb 2012 11:27:29 +0000 (11:27 +0000)]
* Sync up to trunk r55544.

svn path=/branches/usb-bringup-trunk/; revision=55545

12 years ago[PSDK]
Amine Khaldi [Sat, 11 Feb 2012 10:34:28 +0000 (10:34 +0000)]
[PSDK]
* ntdddisk.h: Import a recent fix from trunk.

svn path=/branches/usb-bringup-trunk/; revision=55544

12 years ago[PSDK]
Amine Khaldi [Sat, 11 Feb 2012 10:32:22 +0000 (10:32 +0000)]
[PSDK]
* ntdddisk.h: Improve some definitions and add some missing ones.

svn path=/trunk/; revision=55543

12 years ago[PCI]
Cameron Gutman [Sat, 11 Feb 2012 06:56:10 +0000 (06:56 +0000)]
[PCI]
- Add forgotten line

svn path=/branches/usb-bringup-trunk/; revision=55542

12 years ago[ACPI]
Cameron Gutman [Sat, 11 Feb 2012 06:25:16 +0000 (06:25 +0000)]
[ACPI]
- Fix incorrect maximum bound for resource requirements
- Handle PCI buses manually
[HAL]
- Don't hang if the IRP_MN_QUERY_INTERFACE is received
[INF]
- Misc fixes

svn path=/branches/usb-bringup-trunk/; revision=55541

12 years ago[PCI]
Cameron Gutman [Sat, 11 Feb 2012 05:47:56 +0000 (05:47 +0000)]
[PCI]
- Set device command flags when starting the PCI device PDO

svn path=/branches/usb-bringup-trunk/; revision=55540

12 years ago[PCIX]
Cameron Gutman [Sat, 11 Feb 2012 05:15:25 +0000 (05:15 +0000)]
[PCIX]
- Ignore invalid extended capabilities pointer
- Don't hang on unimplemented IRPs that we actually use

svn path=/branches/usb-bringup-trunk/; revision=55539

12 years ago[NTOSKRNL]
Cameron Gutman [Sat, 11 Feb 2012 04:14:41 +0000 (04:14 +0000)]
[NTOSKRNL]
- Call HalAdjustResourceList to fixup the requirements list before building the resource list

svn path=/branches/usb-bringup-trunk/; revision=55538

12 years ago[NTOSKRNL]
Cameron Gutman [Sat, 11 Feb 2012 03:54:10 +0000 (03:54 +0000)]
[NTOSKRNL]
- Implement IopFixupResourceListWithRequirements to replace IopCreateResourceListFromRequirements
- This functions fills in gaps between required resources and currently allocated resources in the resource list
- It also implements support for alternate requirement descriptors which IopCreateResourceListFromRequirements ignored
- Fix a critical bug in requirement processing that could result in the kernel allocating resources outside the devices requested range
- Now the PnP manager will actually claim resources that the device reports that it needs but it does not currently have

svn path=/branches/usb-bringup-trunk/; revision=55537

12 years ago[USBEHCI]
Johannes Anderwald [Sat, 11 Feb 2012 02:10:20 +0000 (02:10 +0000)]
[USBEHCI]
- Store configuration index in the setup packet
- Perform retrieving the configuration request before storing the configuration details. Perform the same action for the select interface request
- EHCI now supports selecting configuration & interface on devices with more than one configuration (previously only one configuration was supported)
- Code has not yet been tested, as no available usb device has such feature

svn path=/branches/usb-bringup-trunk/; revision=55536

12 years ago[HAL]
Cameron Gutman [Sat, 11 Feb 2012 01:11:47 +0000 (01:11 +0000)]
[HAL]
- Print a message when a PCI device requires an interrupt but has none assigned

svn path=/branches/usb-bringup-trunk/; revision=55535

12 years agoAlexandre Julliard : Draw the mask with SRCCOPY in DrawIcon when the image isn't...
James Tabor [Sat, 11 Feb 2012 01:09:41 +0000 (01:09 +0000)]
Alexandre Julliard : Draw the mask with SRCCOPY in DrawIcon when the image isn't being drawn.

svn path=/trunk/; revision=55534

12 years agoDmitry Timoshkov : user32: RealChildWindowFromPoint should skip invisible windows.
James Tabor [Sat, 11 Feb 2012 00:44:16 +0000 (00:44 +0000)]
Dmitry Timoshkov : user32: RealChildWindowFromPoint should skip invisible windows.

svn path=/trunk/; revision=55533

12 years ago[IPHLPAPI]
Cameron Gutman [Fri, 10 Feb 2012 22:16:03 +0000 (22:16 +0000)]
[IPHLPAPI]
- Forward ICMP function calls to icmp.dll (for XP and higher)

svn path=/trunk/; revision=55532

12 years ago[USBSTOR]
Johannes Anderwald [Fri, 10 Feb 2012 21:42:42 +0000 (21:42 +0000)]
[USBSTOR]
- Read Capacity cmd length is 10 bytes

svn path=/branches/usb-bringup-trunk/; revision=55531