Commit graph

50213 commits

Author SHA1 Message Date
Alex Ionescu aef22ce5a7 [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
2012-02-15 16:11:12 +00:00
Timo Kreuzer c81baaf1d3 [FREELDR]
Silence some heap debug prints

svn path=/trunk/; revision=55609
2012-02-15 16:03:01 +00:00
Alex Ionescu 3658dda143 [CSRSRV2]: Fix GetDosDevicesProtection.
svn path=/trunk/; revision=55608
2012-02-15 15:06:53 +00:00
Alex Ionescu 7428341ac4 [CSRSRV]: Update CsrAddStaticServerthread and CsrDestroyThread based on code from CSRSRV2. Main change is that ProtectHandle/UnProtectHandle is now called.
svn path=/trunk/; revision=55607
2012-02-15 15:05:35 +00:00
Alex Ionescu 393487dbd2 [CSRSRV2]: Formatting and a few bug fixes.
svn path=/trunk/; revision=55606
2012-02-15 15:03:42 +00:00
Rafal Harabien c6bc27e78c [NTOSKRNL]
- Null-terminate command before copying it to LastCommand buffer.

svn path=/trunk/; revision=55605
2012-02-15 13:24:39 +00:00
Rafal Harabien 126b25c4bb [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
2012-02-15 12:43:00 +00:00
Alex Ionescu a371650c63 [NTOSKRNL]: Implement NtSetInformationObject(ObjectSessionInformation).
[NTOSKRNL]: Implement NtQueryInformationProcess(ProcessLUIDDeviceMapsEnabled).

svn path=/trunk/; revision=55603
2012-02-15 06:48:39 +00:00
Johannes Anderwald 95bb53eb1a [USBSTOR]
- Fix build

svn path=/trunk/; revision=55602
2012-02-15 03:55:11 +00:00
Johannes Anderwald 58df973ed5 [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
2012-02-15 03:52:37 +00:00
Thomas Faber 377558ac5a [SMSS2]
- Do not print an uninitialized string

svn path=/trunk/; revision=55600
2012-02-14 23:06:28 +00:00
Timo Kreuzer 8c702c171c [FREELDR]
Add a hack to zero out heap allocations in the hope it fixes strange behavour

svn path=/trunk/; revision=55599
2012-02-14 22:08:34 +00:00
Timo Kreuzer 32d2f0f41c [FREELDR]
Add code to check for heap buffer overwrites

svn path=/trunk/; revision=55598
2012-02-14 21:56:39 +00:00
Timo Kreuzer ff85135725 [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
2012-02-14 19:48:04 +00:00
Cameron Gutman f1886c94fc [NTOSKRNL]
- Change screen debug background to black for improved readability as per Johannes' request

svn path=/trunk/; revision=55596
2012-02-14 19:32:56 +00:00
Johannes Anderwald 56eadc580a [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
2012-02-14 19:10:34 +00:00
Johannes Anderwald 65666555ca [USBEHCI] [USBOHCI]
- Do not queue a work item twice 

svn path=/trunk/; revision=55594
2012-02-14 19:04:23 +00:00
Rafal Harabien 5ca21de331 [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
2012-02-14 14:17:18 +00:00
Sylvain Petreolle 3a2974ab60 [ROSAPPS]
Add cmdutils apps to build.

svn path=/trunk/; revision=55592
2012-02-14 14:03:05 +00:00
Johannes Anderwald daa3a4d63f [USBSTOR]
- Display errors when csw fails

svn path=/trunk/; revision=55591
2012-02-14 08:57:22 +00:00
Alex Ionescu bc5bf60461 [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
2012-02-14 08:23:01 +00:00
Alex Ionescu 9829c56509 [SMSS2/SMSS]: Nuke SMSS. SMSS2 is now in full control.
svn path=/trunk/; revision=55589
2012-02-14 06:06:39 +00:00
Cameron Gutman 4780c28aa1 [USB]
- Disable support for external USB hubs until they are properly supported

svn path=/trunk/; revision=55588
2012-02-14 04:15:57 +00:00
Alex Ionescu 9cd61471e9 Build fix.
svn path=/trunk/; revision=55587
2012-02-14 01:38:35 +00:00
Rafal Harabien 138580f9c6 [COMCTL32]
- Draw shadow if item has focus but isn't selected

svn path=/trunk/; revision=55586
2012-02-14 00:58:59 +00:00
Alex Ionescu b5303c046f [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
2012-02-14 00:57:32 +00:00
Alex Ionescu 9e265ba699 [SMLIB]: Implement SmSessionComplete.
svn path=/trunk/; revision=55584
2012-02-14 00:54:32 +00:00
Rafal Harabien 0674ee0915 [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
2012-02-13 20:52:20 +00:00
Jérôme Gardou b4b1d63a78 [NTOSKRNL]
- Use proper macro for getting PDE from PTE.

svn path=/trunk/; revision=55582
2012-02-13 19:09:10 +00:00
Rafal Harabien 283c4ef464 - Really fix MSVC build...
svn path=/trunk/; revision=55581
2012-02-13 17:44:56 +00:00
Rafal Harabien 0fd800f47b - Fix MSVC build
svn path=/trunk/; revision=55580
2012-02-13 17:37:27 +00:00
Rafal Harabien edd9177562 - Fix MSVC build (patch by Thomas Fabber reverted by me in previous commit)
svn path=/trunk/; revision=55579
2012-02-13 17:04:52 +00:00
Rafal Harabien 4cf1b4adda [COMCTL32]
- Add DrawShadowText implementation

svn path=/trunk/; revision=55578
2012-02-13 16:53:00 +00:00
Rafal Harabien b226050aa4 - Fix rbuild build
svn path=/trunk/; revision=55577
2012-02-13 16:44:27 +00:00
Rafal Harabien b6aeea23cf [COMCTL32]
- Sync to Wine 1.3.37

svn path=/trunk/; revision=55576
2012-02-13 16:34:02 +00:00
Timo Kreuzer 7a0cab18d0 [RTL]
Add missing parameter checks to RtlAreBitsClear and RtlAreBitsSet

svn path=/trunk/; revision=55575
2012-02-13 14:35:26 +00:00
Johannes Anderwald 6c35ffefb5 [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
2012-02-13 13:39:20 +00:00
Johannes Anderwald 6fe02c8f47 [USBHUB]
- Remove some hardcoded constants

svn path=/trunk/; revision=55573
2012-02-13 11:45:34 +00:00
Johannes Anderwald a4870d538f [HIDUSB]
- Retrieve protocol after configuration has been selected
- Fixes HID regression
See issue #6886 for more details.

svn path=/trunk/; revision=55572
2012-02-13 11:12:58 +00:00
Johannes Anderwald 32157dc192 [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
2012-02-12 22:17:50 +00:00
Cameron Gutman 8b553a4ba7 [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
2012-02-12 21:16:34 +00:00
Cameron Gutman 65beefbcd8 [USBDRV]
- Terminate the NT4 USB driver

svn path=/trunk/; revision=55569
2012-02-12 18:34:05 +00:00
Cameron Gutman 98d609d403 [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
2012-02-12 18:28:52 +00:00
Daniel Reimer b0a26de757 Anschluß is no German!
Changing to Anschluss

svn path=/trunk/; revision=55565
2012-02-12 16:12:33 +00:00
Kamil Hornicek 47862c0956 [WIN32K]
Fix a potential memory leak. Spotted by Samuel Serapion.

svn path=/trunk/; revision=55562
2012-02-12 14:40:25 +00:00
Amine Khaldi 97524f1807 [XCOPY]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55560
2012-02-12 13:33:30 +00:00
Rafal Harabien 7147c51e0d [WIN32K]
- GetFocus returns NULL if calling thread is not a foreground thread

svn path=/trunk/; revision=55559
2012-02-12 12:23:54 +00:00
Rafal Harabien 65d63893a7 [WIN32K]
- Clip test vertically in ExtTextOut when ETO_CLIPPED is used

svn path=/trunk/; revision=55558
2012-02-12 11:02:00 +00:00
Amine Khaldi cf9ae4daf8 [DISK_NEW]
* Fix msvc build.

svn path=/trunk/; revision=55557
2012-02-12 10:23:27 +00:00
Giannis Adamopoulos fb671e96e8 [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
2012-02-12 10:13:16 +00:00