Commit graph

50239 commits

Author SHA1 Message Date
Timo Kreuzer
7816af6cb9 [WIN32K]
- Modify NtGdiSelectBitmap to correctly handle the case of pdc->dclevel.pSurface == 0
- Small code improvement without functional change for rtlstr functions

svn path=/trunk/; revision=55636
2012-02-16 16:05:25 +00:00
Johannes Anderwald
a49c373b0c [USBEHCI]
- Fix build

svn path=/trunk/; revision=55635
2012-02-16 14:52:57 +00:00
Johannes Anderwald
df5cd2fcac [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
2012-02-16 14:49:59 +00:00
Timo Kreuzer
bd3f5b9708 [RTL]
Fix a bug I introduced in r55527

svn path=/trunk/; revision=55633
2012-02-16 14:37:53 +00:00
Jérôme Gardou
1a194db4e7 [CMAKE]
- use relative paths for reactos.dff generation.
May fix Pierre's issue, but a deeper fix is needed.

svn path=/trunk/; revision=55632
2012-02-16 13:03:29 +00:00
Jérôme Gardou
af5540c434 [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
2012-02-16 11:16:10 +00:00
Sylvain Petreolle
ebc25c8702 [CSRSRV]
Fix rbuild file.

svn path=/trunk/; revision=55630
2012-02-16 09:13:20 +00:00
Dmitry Gorbachev
9bb411c33c [EXPLORER-NEW]
Do not define GUID which is already defined in PSDK.

svn path=/trunk/; revision=55629
2012-02-16 07:42:28 +00:00
Dmitry Gorbachev
426717cc3c [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
2012-02-16 07:37:27 +00:00
Dmitry Gorbachev
84d86eb242 Add include paths
svn path=/trunk/; revision=55627
2012-02-16 07:28:53 +00:00
Alex Ionescu
8bd17c0446 [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
2012-02-16 06:57:27 +00:00
Alex Ionescu
0f20fb2587 [CSRSRV]: Move the newly ported process APIs to procsup.c where they belong more. No functional change.
svn path=/trunk/; revision=55625
2012-02-16 06:45:25 +00:00
Alex Ionescu
51bc2e4f04 [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
2012-02-16 03:41:18 +00:00
Alex Ionescu
8a5a44161a [CSRSRV2]: Formatting fix.
svn path=/trunk/; revision=55623
2012-02-16 03:38:21 +00:00
Alex Ionescu
77c513ac1e [CSRSRV]: Fix \Local symbolic link. Thanks to vicmarcal (and the new awesome testman).
svn path=/trunk/; revision=55622
2012-02-16 01:27:11 +00:00
Kamil Hornicek
a7b1c97a33 [ROSAUTOTEST]
Some bug fixing.

svn path=/trunk/; revision=55621
2012-02-16 00:52:20 +00:00
Alex Ionescu
891ac6118d [CSRSRV]: Add a new linked list for console processes, as ListLink is used for all CSR_PROCESSes.
svn path=/trunk/; revision=55620
2012-02-15 22:15:33 +00:00
Timo Kreuzer
28178ca5e9 [COMDLG32]
Really fix msvc build

svn path=/trunk/; revision=55619
2012-02-15 21:57:13 +00:00
Kamil Hornicek
032a2af1fb [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
2012-02-15 21:18:13 +00:00
Alex Ionescu
4b16693aed [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
2012-02-15 20:29:08 +00:00
Rafal Harabien
14471474b7 - Fix MSVC build
svn path=/trunk/; revision=55616
2012-02-15 20:25:35 +00:00
Alex Ionescu
f43c33aa00 [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
2012-02-15 19:53:31 +00:00
Alex Ionescu
beedafd586 [CSRSRV2]: Fix some bugs.
svn path=/trunk/; revision=55614
2012-02-15 19:47:28 +00:00
Rafal Harabien
38df4fd23c - Fix MSVC build
svn path=/trunk/; revision=55613
2012-02-15 17:39:18 +00:00
Rafal Harabien
d4cc49dd21 [COMDLG32]
- Sync to Wine 1.3.37

svn path=/trunk/; revision=55612
2012-02-15 17:35:24 +00:00
Rafal Harabien
b9f8ea2889 [COMDLG32]
- Sync to Wine 1.3.37

svn path=/trunk/; revision=55611
2012-02-15 17:33:15 +00:00
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