reactos.git
12 years ago[NTOSKRNL]
Stefan Ginsberg [Sat, 18 Feb 2012 13:39:08 +0000 (13:39 +0000)]
[NTOSKRNL]
KdInitSystem may be called after system set up if /CRASHDEBUG is enabled and a bugcheck or NMI occurs. With the INIT discard/delete now implemented, and KdInitSystem marked for INIT, this would have resulted in a crash...during a system crash, if /CRASHDEBUG had been enabled. Fun.

svn path=/trunk/; revision=55680

12 years ago[USBOHCI]
Johannes Anderwald [Sat, 18 Feb 2012 12:28:20 +0000 (12:28 +0000)]
[USBOHCI]
- Fix regressions which resulted in hang after reseting device
- Introduced in revision 55662
- Tested in VBox + Mass Storage Device

svn path=/trunk/; revision=55679

12 years ago[ADVAPI32]
Thomas Faber [Sat, 18 Feb 2012 12:00:50 +0000 (12:00 +0000)]
[ADVAPI32]
- Fix buffer overflow in LookupAccountSidA
See issue #6752 for more details.

svn path=/trunk/; revision=55678

12 years ago[CSRSRV]: Port CsrCallServerFromServer (and hackplement a reactos-compatible implemem...
Alex Ionescu [Sat, 18 Feb 2012 01:27:50 +0000 (01:27 +0000)]
[CSRSRV]: Port CsrCallServerFromServer (and hackplement a reactos-compatible implememntation) from CSRSRV2.
[CSRSRV/CSRSRV2]: Fix CsrLockProcessByPid -- it was skipping the root process itself, so requests coming from a CSRSS-hosted DLL would fail (which is exactly what server-to-server depends on).
[NTDLL]: Enable support for server-to-server calls!
Server-to-server calls work now, and one of the multiple mapping hacks is gone. User32 and kernel32 still need a bit of fixes to get rid of the other hacks, though. Also, Perf++.

svn path=/trunk/; revision=55677

12 years ago[NTOSKRNL]: And finally, the third part of Richard's patch, cleaned up and ready...
Alex Ionescu [Fri, 17 Feb 2012 22:57:32 +0000 (22:57 +0000)]
[NTOSKRNL]: And finally, the third part of Richard's patch, cleaned up and ready to go. This cleans up the INIT and SCN_MEM_DISCARDABLE sections from all drivers and the kernel. Reduces RAM usage by another 350KB on my test box.

svn path=/trunk/; revision=55676

12 years ago[FREELDR]
Timo Kreuzer [Fri, 17 Feb 2012 17:22:14 +0000 (17:22 +0000)]
[FREELDR]
- Fix heap code for 64 bit (before someone asks: the reason to use ULONG_PTR instead of ULONG is warning free code without casts)

svn path=/trunk/; revision=55675

12 years ago[NTOSKRNL/ARM3]
Jérôme Gardou [Fri, 17 Feb 2012 16:14:12 +0000 (16:14 +0000)]
[NTOSKRNL/ARM3]
 - remove useless code : Page Directories Entries are backed by ARM3 managed pages

svn path=/trunk/; revision=55674

12 years ago[KERNEL32]
Johannes Anderwald [Fri, 17 Feb 2012 16:11:40 +0000 (16:11 +0000)]
[KERNEL32]
- Fix error status of GetQueuedCompletionStatus, which should set the error to WAIT_TIMEOUT
- Fixes 4 failing winetests
- Patch by Samuel Serapion (samcharly_hotmail_com)

See issue #6907 for more details.

svn path=/trunk/; revision=55673

12 years ago[CMAKE]
Jérôme Gardou [Fri, 17 Feb 2012 15:54:05 +0000 (15:54 +0000)]
[CMAKE]
 - use quotes in reactos.dff for every platform.
Paths beginning with '.' are no longer seen as directives

svn path=/trunk/; revision=55672

12 years ago[WIN32K]
Timo Kreuzer [Fri, 17 Feb 2012 15:51:13 +0000 (15:51 +0000)]
[WIN32K]
Fix another bug in NtGdiSelectBitmap, where selecting the same bitmap a second time, would release the bitmap

svn path=/trunk/; revision=55671

12 years ago[ROSAUTOTEST]
Kamil Hornicek [Fri, 17 Feb 2012 12:31:32 +0000 (12:31 +0000)]
[ROSAUTOTEST]
If the last chunk of the string sent to StringOut isn't a whole line and forcePrint is set to false, send back what's left after processing. The caller is then responsible for prepending that string next time it calls StringOut. Should fix the rest of debug log corruptions.

svn path=/trunk/; revision=55670

12 years ago[CDROM_NEW]
Johannes Anderwald [Fri, 17 Feb 2012 12:07:17 +0000 (12:07 +0000)]
[CDROM_NEW]
- Misc build fixes for mingw and msvc with cmake

svn path=/trunk/; revision=55669

12 years ago[CABMAN]
Thomas Faber [Fri, 17 Feb 2012 08:26:33 +0000 (08:26 +0000)]
[CABMAN]
- Fix MSVC build

svn path=/trunk/; revision=55668

12 years ago[NTOSKRNL]: This second part of Richard's patch implements MmFreeLoaderBlock, which...
Alex Ionescu [Fri, 17 Feb 2012 07:23:27 +0000 (07:23 +0000)]
[NTOSKRNL]: This second part of Richard's patch implements MmFreeLoaderBlock, which results in 932KB less RAM being used on my 3rd stage test after first boot. It deletes the boot registry, NLS, and heap data.

svn path=/trunk/; revision=55667

12 years ago[NTOSKRNL]: This is kind of embarssing, but after doing a local grep for some of...
Alex Ionescu [Fri, 17 Feb 2012 07:07:47 +0000 (07:07 +0000)]
[NTOSKRNL]: This is kind of embarssing, but after doing a local grep for some of cgutman and zekflop's changes (respectively the patch that had added MmDeleteProcessPageDirectory, and the mshtml fix patch), I fell upon a .patch file. It included 3 memory-leak-fixing patches from richard that had been sent to me during his last days -- which, had I paid attention, would've fixed the MSHTML bug and the memory leaks months ago! I've tried my best to now re-integrate a portion of the patch (the other two portions deal with freeing the loader block, and freeing .INIT sections, and I will commit them later) with the current state of trunk. Some things that patch did, no longer seem to work, and I've commented where appropriate. But in general it does seem to dereference/delete some PTEs that had been left behind before (such as deleted TEBs, and deleted VA mappings). It no longer seems to be able to delete the root PDE nor the shared data page however (this worked in the original patch's timeframe). Zekflop, tkreuzer, please take a look. I hope this will set us on a better path!

svn path=/trunk/; revision=55666

12 years ago[WIN32CSR/CSRSRV]: Make the outdated CSR_PLUGIN architecture as close to the CSR_SERV...
Alex Ionescu [Fri, 17 Feb 2012 05:15:13 +0000 (05:15 +0000)]
[WIN32CSR/CSRSRV]: Make the outdated CSR_PLUGIN architecture as close to the CSR_SERVER_DLL architecture as possible for easier migration later. Main changes are return values/number of parameters, importing csrsrv functions instead of using a manual export table, and other similar small changes. Also, add win32csr.dll to the registry command-line for CSRSS, but still load it hard-coded for now.

svn path=/trunk/; revision=55665

12 years ago[CLASS2]
Cameron Gutman [Fri, 17 Feb 2012 04:34:10 +0000 (04:34 +0000)]
[CLASS2]
- Clear the DO_DEVICE_INITIALIZING flag on the new device objects

svn path=/trunk/; revision=55664

12 years ago[CLASS2]
Cameron Gutman [Fri, 17 Feb 2012 04:21:51 +0000 (04:21 +0000)]
[CLASS2]
- Store the registry path passed in ScsiClassInitialize to pass in ScsiClassAddDevice

svn path=/trunk/; revision=55663

12 years ago[USBOHCI]
Cameron Gutman [Fri, 17 Feb 2012 03:45:46 +0000 (03:45 +0000)]
[USBOHCI]
- Remove massive hacks from our port reset code
- We now wait for the reset complete interrupt instead of stalling 10ms and continuing
- Don't wait for a port to stabilize unless there's actually a device connected
[USBEHCI]
- Fix very long delay between setting the reset bit and clearing it
- Wait for the port to come back enabled before finishing the reset
- Don't wait for a port to stabilize unless there's actually a device connected

svn path=/trunk/; revision=55662

12 years ago[USBSTOR]
Johannes Anderwald [Fri, 17 Feb 2012 03:44:56 +0000 (03:44 +0000)]
[USBSTOR]
- Only send read format capacity when the device type is zero (direct access device)
- Add fixme
[INF]
- Fix issue
- USB CDROM installation now starts

svn path=/trunk/; revision=55661

12 years ago[USBSTOR]
Johannes Anderwald [Fri, 17 Feb 2012 03:04:32 +0000 (03:04 +0000)]
[USBSTOR]
- Fix build

svn path=/trunk/; revision=55660

12 years ago[USBSTOR]
Johannes Anderwald [Fri, 17 Feb 2012 03:02:14 +0000 (03:02 +0000)]
[USBSTOR]
- Implement timer routine which checks for hung srbs, not yet activated
- Stop timer when the device is stopped
- Implement function to check if the attached device is a floppy device
- Implement function to send read format capacity request
- Implement missing hardware id / device id support for floppy
- Add retry count parameter for debugging purposes
- Tested in VBox + VmWare + RH

svn path=/trunk/; revision=55659

12 years ago[WIN32CSR]: link with CSRSRV in rbuild too.
Alex Ionescu [Fri, 17 Feb 2012 01:27:20 +0000 (01:27 +0000)]
[WIN32CSR]: link with CSRSRV in rbuild too.

svn path=/trunk/; revision=55658

12 years ago[CSRSRV]: Add a future hack.
Alex Ionescu [Fri, 17 Feb 2012 01:23:25 +0000 (01:23 +0000)]
[CSRSRV]: Add a future hack.

svn path=/trunk/; revision=55657

12 years ago[WIN32CSR]: Link with CSRSRV.
Alex Ionescu [Fri, 17 Feb 2012 01:22:19 +0000 (01:22 +0000)]
[WIN32CSR]: Link with CSRSRV.

svn path=/trunk/; revision=55656

12 years ago[CSRSRV2]: formatting fix.
Alex Ionescu [Fri, 17 Feb 2012 01:21:35 +0000 (01:21 +0000)]
[CSRSRV2]: formatting fix.

svn path=/trunk/; revision=55655

12 years ago[NTOSKRNL]
Cameron Gutman [Fri, 17 Feb 2012 00:21:50 +0000 (00:21 +0000)]
[NTOSKRNL]
- Don't enumerate the root bus via the firmware mapper because HAL no longer sucks and it will do it properly for us

svn path=/trunk/; revision=55654

12 years ago[USBEHCI]
Johannes Anderwald [Thu, 16 Feb 2012 23:19:27 +0000 (23:19 +0000)]
[USBEHCI]
- Fix a few 64-bit issues

svn path=/trunk/; revision=55653

12 years ago[HAL]
Cameron Gutman [Thu, 16 Feb 2012 23:08:05 +0000 (23:08 +0000)]
[HAL]
- Don't send a bogus bus number (-1) to the PCI driver because then it tries to scan that bus and obviously doesn't find anything
- Legacy HAL can now enumerate boot critical PCI devices (like the USB controller) and build the device stack for USB boot
[HIVESYS]
- Missed this spot where usbhub is installed for an external hub causing a crash

svn path=/trunk/; revision=55652

12 years ago{MOUNTMGR]
Timo Kreuzer [Thu, 16 Feb 2012 22:03:33 +0000 (22:03 +0000)]
{MOUNTMGR]
- Use portable KeXxxSpinLock, instead of fastcall variants
- Fix usage of uninitialized variable
- Fix typos in assignments
- Fix several integer size bugs
- Fix uninitialied variables (and those gcc couldn't identify as initialized)
- Fix MSVC warnings

svn path=/trunk/; revision=55651

12 years ago[CSRSRV]: Call the fake BaseSrv Init function during Server DLL load, not during...
Alex Ionescu [Thu, 16 Feb 2012 21:46:59 +0000 (21:46 +0000)]
[CSRSRV]: Call the fake BaseSrv Init function during Server DLL load, not during SharedSection load, to be closer to where it should be.
[CSRSRV]: Enable some disabled code-paths and fix some locking patterns to be closer to what the code should look/be like. Correct ref count management is one of the things where regressions could show up later, so trying to nail these down now.

svn path=/trunk/; revision=55650

12 years ago[CSRSRV]: Hackfix "LPC Failed" errors.
Alex Ionescu [Thu, 16 Feb 2012 20:17:10 +0000 (20:17 +0000)]
[CSRSRV]: Hackfix "LPC Failed" errors.

svn path=/trunk/; revision=55649

12 years ago[CSRSRV]: Make CSRSRV "load" its own DLL as it should. This lets it support CSRSRV...
Alex Ionescu [Thu, 16 Feb 2012 20:08:34 +0000 (20:08 +0000)]
[CSRSRV]: Make CSRSRV "load" its own DLL as it should. This lets it support CSRSRV native APIs from NTDLL (which we don't send yet).

svn path=/trunk/; revision=55648

12 years ago[NTDLL/INCLUDE]: Rename the CSRSRV API Numbers not to conflict with the actual functions.
Alex Ionescu [Thu, 16 Feb 2012 19:53:47 +0000 (19:53 +0000)]
[NTDLL/INCLUDE]: Rename the CSRSRV API Numbers not to conflict with the actual functions.
[CSRSRV]: Import server.c from CSRSRV2, and move the existing CsrSrv functions we had from wapi.c to server.c (with the reactOS-specific hacks we had). The other CsrSrv* functions are not yet used.

svn path=/trunk/; revision=55647

12 years ago[CSRSRV2]: Bug fixes.
Alex Ionescu [Thu, 16 Feb 2012 19:15:00 +0000 (19:15 +0000)]
[CSRSRV2]: Bug fixes.

svn path=/trunk/; revision=55646

12 years ago[NTOSKRNL/MM]
Jérôme Gardou [Thu, 16 Feb 2012 17:24:15 +0000 (17:24 +0000)]
[NTOSKRNL/MM]
  - First drop of a new implementation of NtAllocateVirtualMemory.
Very incomplete, don't hesitate to drop in and complete it.
For now, only MEM_RESERVE is kind of supported, as well as MEM_RESERVE|MEM_COMMIT

svn path=/trunk/; revision=55645

12 years ago[NTOSKRNL]
Jérôme Gardou [Thu, 16 Feb 2012 17:24:01 +0000 (17:24 +0000)]
[NTOSKRNL]
 - One can't only use MEM_COMMIT for reserving memory

svn path=/trunk/; revision=55644

12 years ago[NTOSKRNL/MM]
Jérôme Gardou [Thu, 16 Feb 2012 17:22:54 +0000 (17:22 +0000)]
[NTOSKRNL/MM]
  - fix returned value in case of failure in MiFindEmptyAddressRangeDownTree

svn path=/trunk/; revision=55643

12 years ago[CABMAN]
Pierre Schweitzer [Thu, 16 Feb 2012 17:21:10 +0000 (17:21 +0000)]
[CABMAN]
Get rid of MAX_PATH

svn path=/trunk/; revision=55642

12 years ago[CABMAN]
Pierre Schweitzer [Thu, 16 Feb 2012 17:13:38 +0000 (17:13 +0000)]
[CABMAN]
Attempt to fix 2.
MAX_PATH shouldn't be defined/used any longer

svn path=/trunk/; revision=55641

12 years ago[CABMAN]
Pierre Schweitzer [Thu, 16 Feb 2012 17:02:28 +0000 (17:02 +0000)]
[CABMAN]
Fix Windows build

svn path=/trunk/; revision=55640

12 years ago[CABMAN]
Pierre Schweitzer [Thu, 16 Feb 2012 16:50:16 +0000 (16:50 +0000)]
[CABMAN]
Ensure line reading buffer is big enough to hold complete paths.
Remove a magic value usage accordingly.

svn path=/trunk/; revision=55639

12 years ago[CSRSRV]: Improve ClientConnectionThread a bit to make it look a bit more like CSRSRV...
Alex Ionescu [Thu, 16 Feb 2012 16:40:15 +0000 (16:40 +0000)]
[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

12 years ago[CSRSRV]: Move the CsrSv* APIs to session.c where they belong. Also enable most of...
Alex Ionescu [Thu, 16 Feb 2012 16:21:48 +0000 (16:21 +0000)]
[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

12 years ago[WIN32K]
Timo Kreuzer [Thu, 16 Feb 2012 16:05:25 +0000 (16:05 +0000)]
[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

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