Commit graph

50447 commits

Author SHA1 Message Date
Jérôme Gardou
aff775994d [NTOSKRNL]
- One can't only use MEM_COMMIT for reserving memory

svn path=/trunk/; revision=55644
2012-02-16 17:24:01 +00:00
Jérôme Gardou
8c58f02839 [NTOSKRNL/MM]
- fix returned value in case of failure in MiFindEmptyAddressRangeDownTree

svn path=/trunk/; revision=55643
2012-02-16 17:22:54 +00:00
Pierre Schweitzer
0dd7e4f27f [CABMAN]
Get rid of MAX_PATH

svn path=/trunk/; revision=55642
2012-02-16 17:21:10 +00:00
Pierre Schweitzer
cc6395f4b1 [CABMAN]
Attempt to fix 2.
MAX_PATH shouldn't be defined/used any longer

svn path=/trunk/; revision=55641
2012-02-16 17:13:38 +00:00
Pierre Schweitzer
50bb4a925e [CABMAN]
Fix Windows build

svn path=/trunk/; revision=55640
2012-02-16 17:02:28 +00:00
Pierre Schweitzer
59dc941721 [CABMAN]
Ensure line reading buffer is big enough to hold complete paths.
Remove a magic value usage accordingly.

svn path=/trunk/; revision=55639
2012-02-16 16:50:16 +00:00
Alex Ionescu
d2af91632d [CSRSRV]: Improve ClientConnectionThread a bit to make it look a bit more like CSRSRV2 and add some extra functionality.
[CSRSRV]: Port from CSRSRV2 and use CsrApiPortInitialize instead of CsrpCreateListenPort. This will set appropriate SDs and also wait for all threads to be ready.

svn path=/trunk/; revision=55638
2012-02-16 16:40:15 +00:00
Alex Ionescu
a6998d5930 [CSRSRV]: Move the CsrSv* APIs to session.c where they belong. Also enable most of the code in CsrSbCreateSession now since it works, minus one hack needed since we don't have a real BaseSrv yet.
svn path=/trunk/; revision=55637
2012-02-16 16:21:48 +00:00
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