Commit graph

50288 commits

Author SHA1 Message Date
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
Cameron Gutman
022f4b2ce5 [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
2012-02-12 04:59:51 +00:00
Cameron Gutman
8141780521 [BUILD]
- Add rbuild files
- Fix dumb dependencies in cmake files
[DEBUG]
- Kill more debugging

svn path=/branches/usb-bringup-trunk/; revision=55554
2012-02-12 03:48:54 +00:00
Cameron Gutman
50daddc967 [HIDCLASS][HIDPARSE][HIDUSB][KBDHID][MOUHID][USBCCGP][USBD][USBEHCI][USBOHCI][USBHUB][USBSTOR]
- Massive debug spam reduction

svn path=/branches/usb-bringup-trunk/; revision=55553
2012-02-12 02:53:34 +00:00
Johannes Anderwald
68c1c7661e [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
2012-02-12 00:49:18 +00:00
Timo Kreuzer
b3c15e9acd [FREELDR]
Revert to using the old heap code, as it broke 2nd stage on some systems

svn path=/trunk/; revision=55551
2012-02-12 00:01:01 +00:00
Giannis Adamopoulos
bf9a2b9964 [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
2012-02-11 22:17:46 +00:00
Giannis Adamopoulos
9c80eb0d00 [win32k]
- Update pti->pClientInfo->hKL when pti->KeyboardLayout changes
- Fixes assertion after activating a second keyboard layout

svn path=/trunk/; revision=55549
2012-02-11 22:09:01 +00:00
Johannes Anderwald
2a06585e89 [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
2012-02-11 19:26:18 +00:00
Amine Khaldi
4ff2062ccb * Fix MSVC build.
svn path=/trunk/; revision=55547
2012-02-11 16:59:10 +00:00
Rafal Harabien
038a7c87d1 [NTDLL]
- Fix uninitialized variable usage causing first chance exceptions during SMSS2 loading on livecd

svn path=/trunk/; revision=55546
2012-02-11 15:30:50 +00:00
Amine Khaldi
a070e2aaf2 * Sync up to trunk r55544.
svn path=/branches/usb-bringup-trunk/; revision=55545
2012-02-11 11:27:29 +00:00
Amine Khaldi
c6574346df [PSDK]
* ntdddisk.h: Import a recent fix from trunk.

svn path=/branches/usb-bringup-trunk/; revision=55544
2012-02-11 10:34:28 +00:00
Amine Khaldi
b9193d4c1b [PSDK]
* ntdddisk.h: Improve some definitions and add some missing ones.

svn path=/trunk/; revision=55543
2012-02-11 10:32:22 +00:00
Cameron Gutman
812ea7c71a [PCI]
- Add forgotten line

svn path=/branches/usb-bringup-trunk/; revision=55542
2012-02-11 06:56:10 +00:00
Cameron Gutman
f896aeba5e [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
2012-02-11 06:25:16 +00:00
Cameron Gutman
ec01d86009 [PCI]
- Set device command flags when starting the PCI device PDO

svn path=/branches/usb-bringup-trunk/; revision=55540
2012-02-11 05:47:56 +00:00
Cameron Gutman
66246c5c2d [PCIX]
- Ignore invalid extended capabilities pointer
- Don't hang on unimplemented IRPs that we actually use

svn path=/branches/usb-bringup-trunk/; revision=55539
2012-02-11 05:15:25 +00:00
Cameron Gutman
a8c87a2245 [NTOSKRNL]
- Call HalAdjustResourceList to fixup the requirements list before building the resource list

svn path=/branches/usb-bringup-trunk/; revision=55538
2012-02-11 04:14:41 +00:00
Cameron Gutman
1bff183ee1 [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
2012-02-11 03:54:10 +00:00
Johannes Anderwald
6ced7570a0 [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
2012-02-11 02:10:20 +00:00
Cameron Gutman
f61b43a5c1 [HAL]
- Print a message when a PCI device requires an interrupt but has none assigned

svn path=/branches/usb-bringup-trunk/; revision=55535
2012-02-11 01:11:47 +00:00
James Tabor
338cb3493d Alexandre Julliard : Draw the mask with SRCCOPY in DrawIcon when the image isn't being drawn.
svn path=/trunk/; revision=55534
2012-02-11 01:09:41 +00:00
James Tabor
e1f18f1b3b Dmitry Timoshkov : user32: RealChildWindowFromPoint should skip invisible windows.
svn path=/trunk/; revision=55533
2012-02-11 00:44:16 +00:00
Cameron Gutman
4664ff43e2 [IPHLPAPI]
- Forward ICMP function calls to icmp.dll (for XP and higher)

svn path=/trunk/; revision=55532
2012-02-10 22:16:03 +00:00
Johannes Anderwald
3a5a6bf017 [USBSTOR]
- Read Capacity cmd length is 10 bytes

svn path=/branches/usb-bringup-trunk/; revision=55531
2012-02-10 21:42:42 +00:00