reactos.git
13 years ago[ntoskrnl/po]
Michael Martin [Thu, 9 Sep 2010 09:22:49 +0000 (09:22 +0000)]
[ntoskrnl/po]
- Fix typo.

svn path=/trunk/; revision=48725

13 years ago[ntoskrnl/po]
Michael Martin [Wed, 8 Sep 2010 21:30:40 +0000 (21:30 +0000)]
[ntoskrnl/po]
- When an IRP is freed in a Completion routine the return Status is STATUS_MORE_PROCESSING_REQUIRED to let IoCompleteRequest know not to do anything further with the IRP.

svn path=/trunk/; revision=48724

13 years ago[SCSIPORT]
Eric Kohl [Wed, 8 Sep 2010 10:39:37 +0000 (10:39 +0000)]
[SCSIPORT]
Implement RequestTimerCall-Notification. This is used by uniata.

svn path=/trunk/; revision=48723

13 years ago[USETUP]
Eric Kohl [Tue, 7 Sep 2010 15:21:06 +0000 (15:21 +0000)]
[USETUP]
Allocate a drive layout buffer that is large enough to keep a primary partition table (4 partition entries) plus 26 logical drives (2 partition entries each). Total 56 partition entries. This should be enough for everybody until we support GPT partition tables. ;-)
See issue #5270 for more details.

svn path=/trunk/; revision=48722

13 years agoImprovements to NtAdjustPrivilegesToken part 4 (last one):
Eric Kohl [Tue, 7 Sep 2010 15:08:29 +0000 (15:08 +0000)]
Improvements to NtAdjustPrivilegesToken part 4 (last one):
- SEH-protect all code that writes to PreviousState as it cannot be captured.
- Add a missing ObDereferenceObject and SeReleaseLuidAndAttributesArray.

svn path=/trunk/; revision=48721

13 years ago[usb/usbhub]
Michael Martin [Tue, 7 Sep 2010 11:44:03 +0000 (11:44 +0000)]
[usb/usbhub]
- Add function for dumping the Device and Configuration Descriptors.
- Implement WaitForUsbDeviceArrivalNotification, used to send a URB transaction to the Status Change Endpoint of the RootHubs pdo. The RootHubs pdo will queue this request until a new usb device connects.
- Call above function at the end of UsbhubFdoQueryBusRelations, which will be called by the pnp manager after the hub driver creates a new child device.
- Change the URB to be allocated from the pool at IRP_MN_START_DEVICE.
- Call QueryRootHub with the RootHub Pdo and not the hub drivers DeviceObject.
- Implement selecting a configuration for the RootHub.

svn path=/trunk/; revision=48719

13 years ago[USETUP]
Michael Martin [Tue, 7 Sep 2010 09:40:53 +0000 (09:40 +0000)]
[USETUP]
- Translation updates by Pierre Schweitzer.

svn path=/trunk/; revision=48718

13 years agoImprovements to NtAdjustPrivilegesToken part 3:
Eric Kohl [Tue, 7 Sep 2010 09:32:30 +0000 (09:32 +0000)]
Improvements to NtAdjustPrivilegesToken part 3:
- Simplify the privilege modification code.

svn path=/trunk/; revision=48717

13 years ago[GDI32]: Don't destroy the heap when calling GetSystemPaletteEntries. Note to whoever...
Sir Richard [Tue, 7 Sep 2010 07:50:51 +0000 (07:50 +0000)]
[GDI32]: Don't destroy the heap when calling GetSystemPaletteEntries. Note to whoever wrote "//make this work": (&array[x]) is defintely not equal to (&array + x). This is why we don't use pointers-to-arrays, among other reasons.
[GDI32]: Reformat GetSystemPaletteEntries away from grotesque 5-space identation (who does that?).
[GDI32]: Optimize GetSystemPaletteEntries by not zeroing over fields that get overwritten anyway.
[GDI32]: Simplify loop control, remove not-needed local variable in GetSystemPaletteEntries.

svn path=/trunk/; revision=48716

13 years ago[PSDK]: Get rid of unused variable.
Sir Richard [Tue, 7 Sep 2010 05:22:13 +0000 (05:22 +0000)]
[PSDK]: Get rid of unused variable.

svn path=/trunk/; revision=48715

13 years ago[FREELOADER]
Cameron Gutman [Tue, 7 Sep 2010 01:31:24 +0000 (01:31 +0000)]
[FREELOADER]
- Don't zero the target of an uninitialized pointer
- Thanks to arty for finding the issue

svn path=/trunk/; revision=48713

13 years ago[WIN32K]: Fix large amount of set-but-unused variables. Most of these seemed to be...
Sir Richard [Mon, 6 Sep 2010 23:55:53 +0000 (23:55 +0000)]
[WIN32K]: Fix large amount of set-but-unused variables. Most of these seemed to be old/unfinished code, however in IntGdiPaintRgn an actual bug seems to have been found.
[WIN32K]: Make IntGdiPaintRgn return the status of the operation, not always TRUE.

svn path=/trunk/; revision=48712

13 years ago[USETUP]
Timo Kreuzer [Mon, 6 Sep 2010 17:02:47 +0000 (17:02 +0000)]
[USETUP]
- When creating fresh partitions, set the HiddenSectors mamber. Fixes fat32 installation.

svn path=/trunk/; revision=48711

13 years agoImprovements to NtAdjustPrivilegesToken part 2:
Eric Kohl [Mon, 6 Sep 2010 15:26:12 +0000 (15:26 +0000)]
Improvements to NtAdjustPrivilegesToken part 2:
- Check for invalid parameter combinations.
- Count privileges that will be changed before changing them.
- Return required buffer size.
- Fail if the provided buffer is too small.
See issue #5497 for more details.

svn path=/trunk/; revision=48710

13 years agoTranslated new boot loader options and fixed a typo.
Eric Kohl [Mon, 6 Sep 2010 10:24:50 +0000 (10:24 +0000)]
Translated new boot loader options and fixed a typo.

svn path=/trunk/; revision=48709

13 years agofdc.inf: Fix a typo in the class guid.
Eric Kohl [Mon, 6 Sep 2010 09:53:36 +0000 (09:53 +0000)]
fdc.inf: Fix a typo in the class guid.
hdc.inf: Add missing manufacturer string.

svn path=/trunk/; revision=48708

13 years agoNtAdjustPrivilegesToken: Probe and capture parameters before use.
Eric Kohl [Mon, 6 Sep 2010 09:51:46 +0000 (09:51 +0000)]
NtAdjustPrivilegesToken: Probe and capture parameters before use.

See issue #5497 for more details.

svn path=/trunk/; revision=48707

13 years ago[USETUP]
Timo Kreuzer [Mon, 6 Sep 2010 01:46:06 +0000 (01:46 +0000)]
[USETUP]
The VBR (volume boot sector) contains a structure called BPB (bios parameter block) that describes the disk and the partition. The HiddenSectors member contains the number of the first sector of the partition. This is used by the VBR code to load the secondary sector containing additional boot code that is located at secor 14 relative to the partition start. Previously we were copying the BPB (plus additionally the OemName, which makes no sense) from the old VBR. Now Linux is a bit lame and doesn't put the correct value into the HiddenSectors field. Instead it sets it to the number of sectors per track which seems to be the default value. When now the linux partition manager decides to do a non standard partitioning, aligning the partition to 0x800, then the VBR fails to load it's 2nd sector. Fix this by correcting the value in the BPB with the value from the partition info.

See issue #2733 for more details.

svn path=/trunk/; revision=48706

13 years ago[usb/usbhub]
Michael Martin [Sun, 5 Sep 2010 19:00:37 +0000 (19:00 +0000)]
[usb/usbhub]
- Start rewrite of usbhub driver using the old and dead usbhub driver in trunk.
- Implement QueryRootHub for sending USB request to miniport driver.
- Implement new IRP_MN_START_DEVICE.
Get the roothubs PDO and FDO and forward the start device down to start the PDO.
Get USBDI and HUB interfaces. Set all ports as returned by DCI GetExtendedHubInformation to powered and reset.
- Temporary add some usb specific defines until header is fixed.
- Fix Formatting.

svn path=/trunk/; revision=48705

13 years ago[usb/usbehci]
Michael Martin [Sun, 5 Sep 2010 18:43:17 +0000 (18:43 +0000)]
[usb/usbehci]
- Fix flags settings for PortStatus and PortChange so that the correct flags are set when hub driver sets/requests them.
- Use FastMutex to protect access to async queue and frame list.
- For USB CONFIG DESC, Check the output buffer size before attempting to write all configuration descriptors.
- Fix a bug that caused bmRequestType to be incorret value when requesting configuration and string descriptors.
- Modify some debugging to make it easier to see debug messages from usbhub driver.

svn path=/trunk/; revision=48704

13 years ago[USETUP]
Cameron Gutman [Sun, 5 Sep 2010 17:09:18 +0000 (17:09 +0000)]
[USETUP]
- Add the option to write only the VBR so FreeLoader can easily be chain loaded by GRUB or another boot loader
- Dedicated to James Tabor :)

svn path=/trunk/; revision=48703

13 years ago[FREELDR]
Amine Khaldi [Sun, 5 Sep 2010 16:31:06 +0000 (16:31 +0000)]
[FREELDR]
- Update fathelp.S to reflect Timo's recent changes in trunk.

svn path=/branches/cmake-bringup/; revision=48702

13 years agoUpdate the GAS compatible fathelp.S file to reflect the latest changes to the origina...
Timo Kreuzer [Sun, 5 Sep 2010 16:03:08 +0000 (16:03 +0000)]
Update the GAS compatible fathelp.S file to reflect the latest changes to the original file (freeldr PE conversion). This version is tested and works.

svn path=/trunk/; revision=48701

13 years ago[USETUP]
Cameron Gutman [Sat, 4 Sep 2010 20:56:19 +0000 (20:56 +0000)]
[USETUP]
- Remove code that was corrupting disk data and causing setup to fail in rare cases
- Write the MBR in all cases (Windows setup behavior too)
- We can overwrite GRUB and LILO now but we still can't boot because we have trouble reading the partition table if it was made in Linux

svn path=/trunk/; revision=48700

13 years ago[CMAKE]
Amine Khaldi [Sat, 4 Sep 2010 16:59:33 +0000 (16:59 +0000)]
[CMAKE]
- Mark nci_output and nci_folders as lists.

svn path=/branches/cmake-bringup/; revision=48699

13 years ago[CMAKE]
Amine Khaldi [Sat, 4 Sep 2010 16:12:21 +0000 (16:12 +0000)]
[CMAKE]
- Mark nci output as generated.

svn path=/branches/cmake-bringup/; revision=48698

13 years ago[CMAKE]
Amine Khaldi [Sat, 4 Sep 2010 14:14:45 +0000 (14:14 +0000)]
[CMAKE]
- Add floppy to build.

svn path=/branches/cmake-bringup/; revision=48697

13 years ago[CMAKE]
Amine Khaldi [Sat, 4 Sep 2010 13:43:01 +0000 (13:43 +0000)]
[CMAKE]
- Add fastfat and isapnp to build.

svn path=/branches/cmake-bringup/; revision=48696

13 years ago[CMAKE]
Amine Khaldi [Sat, 4 Sep 2010 13:36:49 +0000 (13:36 +0000)]
[CMAKE]
- Add cdrom, class2, disk and ramdisk to build.

svn path=/branches/cmake-bringup/; revision=48695

13 years ago[CMAKE]
Amine Khaldi [Sat, 4 Sep 2010 13:16:29 +0000 (13:16 +0000)]
[CMAKE]
- Add buslogic to build.
- Fix a typo.

svn path=/branches/cmake-bringup/; revision=48694

13 years ago[CMAKE]
Amine Khaldi [Sat, 4 Sep 2010 12:57:01 +0000 (12:57 +0000)]
[CMAKE]
- Add atapi, blue, cdfs and uniata to build.

svn path=/branches/cmake-bringup/; revision=48693

13 years ago[NTOS]: Remove useless variables in kernel code that were set, but never actually...
Sir Richard [Sat, 4 Sep 2010 08:17:17 +0000 (08:17 +0000)]
[NTOS]: Remove useless variables in kernel code that were set, but never actually used (dead code, tests, copy/pasters). If a variable was set but not used because of missing/#if'ed out code, a note was added instead.
[NTOS]: In the process, fix bugs in the Event dispatcher code that used Win32 EVENT_TYPE instead of NT KOBJECTS enumeration.
[NTOS]: Fix a bug in ObpInsertHandleCount, where the object access check was being done with the previous mode, instead of honoring the probe mode, which is defined by OBJ_FORCE_ACCESS_CHECK.
[NTOS]: Fix a bug in a section function which was always returning STATUS_SUCCESS, now it returns the result of the previous Status = function assignment. If this isn't desired, then don't check for the Status anymore.
[NTOS]: Note that MDL code does not support SkipBytes argument. If it is used, MDL could be invalid.
[NTOS]: Add checks for VerifierAllocation and set it when needed (WIP).
[NTOS]: Clarify what _WORKING_LINKER_ is, and the legal risks in continuing to use a linker that builds non-Microsoft drivers when used with headers whose EULA specify that they can only be used for Microsoft drivers.

svn path=/trunk/; revision=48692

13 years ago[CMAKE]
Amine Khaldi [Fri, 3 Sep 2010 14:33:39 +0000 (14:33 +0000)]
[CMAKE]
- Add battc, acpica and acpi to build.

svn path=/branches/cmake-bringup/; revision=48691

13 years ago[CMAKE]
Amine Khaldi [Fri, 3 Sep 2010 00:03:00 +0000 (00:03 +0000)]
[CMAKE]
- Improve gendib build.
- Add gendib generated source files.
- Add win32k to build. Dedicated to Timo ;)

svn path=/branches/cmake-bringup/; revision=48690

13 years ago[CMAKE]
Amine Khaldi [Thu, 2 Sep 2010 22:38:36 +0000 (22:38 +0000)]
[CMAKE]
- Add ftfd driver to build.

svn path=/branches/cmake-bringup/; revision=48689

13 years ago[FREELDR]
Amine Khaldi [Thu, 2 Sep 2010 21:00:02 +0000 (21:00 +0000)]
[FREELDR]
- Use fathelp.S from r43775 (amd64 branch by timo)
[CMAKE]
- Improve hal, ntoskrnl and freeldr/setupldr build.

svn path=/branches/cmake-bringup/; revision=48688

13 years ago[FREELDR]
Amine Khaldi [Thu, 2 Sep 2010 17:39:45 +0000 (17:39 +0000)]
[FREELDR]
- Convert fat12/16 boot sector helper code to gas syntax. Brought to you by the Arty.
[CMAKE]
- Add freeldr and setupldr to build.

svn path=/branches/cmake-bringup/; revision=48687

13 years ago[OSKITTCP]
Cameron Gutman [Thu, 2 Sep 2010 04:18:17 +0000 (04:18 +0000)]
[OSKITTCP]
- Check for a shutdown connection that we missed a few times
- Remove some junk and stop playing with flags behind oskit's back
- Fix an invalid parameter check
- Enable a check to ensure that accept doesn't get called for a socket that isn't listening
- Use the queue manipulation function instead of manually changing the queue
- Signal that we accepted/connected a socket
[IP]
- Set the network mask and destination address in TCPGetInterfaceData

svn path=/trunk/; revision=48686

13 years ago[PSDK]
Aleksey Bragin [Wed, 1 Sep 2010 13:40:35 +0000 (13:40 +0000)]
[PSDK]
- Add BS_TYPEMASK definition.

svn path=/trunk/; revision=48678

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 23:48:26 +0000 (23:48 +0000)]
[CMAKE]
- Add mini_hal to build.

svn path=/branches/cmake-bringup/; revision=48672

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 21:24:12 +0000 (21:24 +0000)]
[CMAKE]
- libcntpr needs buildno.h

svn path=/branches/cmake-bringup/; revision=48671

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 18:40:19 +0000 (18:40 +0000)]
[CMAKE]
- Add boot sectors to build.

svn path=/branches/cmake-bringup/; revision=48669

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 17:55:28 +0000 (17:55 +0000)]
[CMAKE]
- Add scsiport to build.

svn path=/branches/cmake-bringup/; revision=48668

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 16:30:02 +0000 (16:30 +0000)]
[CMAKE]
- Add bootvid, kddll, kdcom, nmidebug and null drivers to build.

svn path=/branches/cmake-bringup/; revision=48666

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 14:05:07 +0000 (14:05 +0000)]
[CMAKE]
- Add input drivers (i8042prt, kbdclass, mouclass and sermouse) to build.

svn path=/branches/cmake-bringup/; revision=48664

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 13:25:10 +0000 (13:25 +0000)]
[CMAKE]
- Improve handling buildno.h

svn path=/branches/cmake-bringup/; revision=48663

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 11:11:11 +0000 (11:11 +0000)]
[CMAKE]
- Add placeholders for the remaining dlls.

svn path=/branches/cmake-bringup/; revision=48662

13 years ago[CMAKE]
Amine Khaldi [Tue, 31 Aug 2010 10:34:15 +0000 (10:34 +0000)]
[CMAKE]
- Add beep driver to build.

svn path=/branches/cmake-bringup/; revision=48661

13 years ago[CMAKE]
Amine Khaldi [Mon, 30 Aug 2010 14:31:44 +0000 (14:31 +0000)]
[CMAKE]
- Add ze kirnel to build.

svn path=/branches/cmake-bringup/; revision=48659

13 years ago[CMAKE]
Amine Khaldi [Mon, 30 Aug 2010 14:30:09 +0000 (14:30 +0000)]
[CMAKE]
- Improve rossym lib.

svn path=/branches/cmake-bringup/; revision=48658

13 years ago[CRT]
Amine Khaldi [Mon, 30 Aug 2010 13:48:40 +0000 (13:48 +0000)]
[CRT]
- Fix __MINGW_MSC_PREREQ logic.

svn path=/trunk/; revision=48657

13 years ago[CMAKE]
Amine Khaldi [Mon, 30 Aug 2010 13:00:41 +0000 (13:00 +0000)]
[CMAKE]
- Improve pseh.

svn path=/branches/cmake-bringup/; revision=48656

13 years ago[CMAKE]
Amine Khaldi [Mon, 30 Aug 2010 12:37:44 +0000 (12:37 +0000)]
[CMAKE]
- Improve rtl.

svn path=/branches/cmake-bringup/; revision=48655

13 years agoPatch by Pierre Schweitzer.
Michael Martin [Mon, 30 Aug 2010 11:51:17 +0000 (11:51 +0000)]
Patch by Pierre Schweitzer.
[CDFS]
- Several fixes for directory information query.
- Fixed a null access memory under certain circumstances.
- Added support for media ejection.
[FASTFAT]
- Fixed calls to CcMapData(), CcPinRead().
- Fixed an endless loop in FCB management under certain circumstances.
[NTOSKRNL]
- Fixed wrong prototype for IopParseDevice().

svn path=/trunk/; revision=48654

13 years ago[CMAKE]
Amine Khaldi [Sun, 29 Aug 2010 21:32:32 +0000 (21:32 +0000)]
[CMAKE]
- Improve ntdll.

svn path=/branches/cmake-bringup/; revision=48652

13 years ago[NTOS]: Add an extra layer of protection for freed nonpaged pool: write a 4-byte...
Sir Richard [Sun, 29 Aug 2010 19:32:25 +0000 (19:32 +0000)]
[NTOS]: Add an extra layer of protection for freed nonpaged pool: write a 4-byte signature on freed blocks, and assert its valid on checked builds. Use a slightly less egocentric ASCII value than on Windows (name of the developer who wrote the first memory manager).

svn path=/trunk/; revision=48651

13 years ago[NTOS]: Missed a bunch of codepaths, protected pool "should" work now.
Sir Richard [Sun, 29 Aug 2010 19:27:58 +0000 (19:27 +0000)]
[NTOS]: Missed a bunch of codepaths, protected pool "should" work now.

svn path=/trunk/; revision=48650

13 years ago[NTOS]: Add DRIVER_CAUGHT_MODIFYING_FREED_POOL bugcheck code.
Sir Richard [Sun, 29 Aug 2010 19:13:08 +0000 (19:13 +0000)]
[NTOS]: Add DRIVER_CAUGHT_MODIFYING_FREED_POOL bugcheck code.
[NTOS]: Add support for protected freed nonpaged pool. This is controlled through MmProtectFreedNonPagedPool, which is initialized based on a registry value (see cmdata.c). This is not "Special Pool", but a useful debugging feature Windows implements that we now have too, since I noticed a lot of mj's work was with freed pool access.
NB. It's 3AM and I have not tested this, it should be off in trunk by default, you'll need to try turning it on and testing it. Hope it helps.
--This line, and those low, will be ignored--

M    ntoskrnl/mm/ARM3/pagfault.c
M    ntoskrnl/mm/ARM3/pool.c
M    include/reactos/mc/bugcodes.mc

svn path=/trunk/; revision=48649

13 years ago[ACPI]
Cameron Gutman [Sun, 29 Aug 2010 18:40:33 +0000 (18:40 +0000)]
[ACPI]
- Read and report ACPI_RESOURCE_TYPE_FIXED_MEMORY32

svn path=/trunk/; revision=48648

13 years ago[CMAKE]
Amine Khaldi [Sun, 29 Aug 2010 18:32:17 +0000 (18:32 +0000)]
[CMAKE]
- Improve kernel32.

svn path=/branches/cmake-bringup/; revision=48647

13 years ago[cdfs]
Michael Martin [Sun, 29 Aug 2010 17:46:18 +0000 (17:46 +0000)]
[cdfs]
- Working with Pierre Schweitzer for yet another NonPaged Pool corruption fix. When copying VolumeLabel the VolumeLabelLength is in Unicode, so theres no need to mulitply it by size of WCHAR.

svn path=/trunk/; revision=48646

13 years ago[CMAKE]
Amine Khaldi [Sun, 29 Aug 2010 17:30:24 +0000 (17:30 +0000)]
[CMAKE]
- Add hal (yes, hal) to build.

svn path=/branches/cmake-bringup/; revision=48645

13 years ago[CMAKE]
Amine Khaldi [Sun, 29 Aug 2010 14:13:38 +0000 (14:13 +0000)]
[CMAKE]
- Add samsrv, sccbase, schannel, sensapi, serialui, shdoclc, shfolder, shlwapi, slbcsp, smdll, sndblst, snmpapi, spoolss, srclient, sxs, t2embed, tapi32, tapiui, traffic, updspapi, url, usp10 and uxtheme to build.
- Add mlang, mpr, and shell32 import libs.
- Fix shdoclc and shlwapi translations (patches will be sent upstream).
- Improve mmebuddy.

svn path=/branches/cmake-bringup/; revision=48644

13 years ago[CMAKE]
Amine Khaldi [Sun, 29 Aug 2010 11:07:31 +0000 (11:07 +0000)]
[CMAKE]
- Rewrite crt and libcntpr targets, with support for other than i386.
- Bring-in logf.c from trunk.

svn path=/branches/cmake-bringup/; revision=48643

13 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 29 Aug 2010 08:35:54 +0000 (08:35 +0000)]
[NTOSKRNL]
Modified version of r48640:
- update the NodeHint to the root node when deleting a node
- remove this code from MmCleanProcessAddressSpace

svn path=/trunk/; revision=48642

13 years ago[ntoskrnl]
Michael Martin [Sun, 29 Aug 2010 07:18:47 +0000 (07:18 +0000)]
[ntoskrnl]
- Revert 48640, as it was incorrect.

svn path=/trunk/; revision=48641

13 years ago[ntoskrnl]
Michael Martin [Sun, 29 Aug 2010 07:00:52 +0000 (07:00 +0000)]
[ntoskrnl]
- When a node is removed, check the NodeHint of the table to see if it matches the one being removed. If so update the NodeHint to the PreviousNode. FIxes VAD corruption messages.

svn path=/trunk/; revision=48640

13 years ago- Disable ACPI again
Cameron Gutman [Sun, 29 Aug 2010 03:51:21 +0000 (03:51 +0000)]
- Disable ACPI again

svn path=/trunk/; revision=48639

13 years ago[NTOSKRNL]
Cameron Gutman [Sun, 29 Aug 2010 03:48:59 +0000 (03:48 +0000)]
[NTOSKRNL]
- Fix a regression in ACPI function from r48581
- Enable ACPI for testing purposes (will be disabled next commit)

svn path=/trunk/; revision=48638

13 years ago[TCPIP]
Cameron Gutman [Sun, 29 Aug 2010 02:29:10 +0000 (02:29 +0000)]
[TCPIP]
- Don't allocate pool if there is nothing in the route table
- Fixes bug 5493

svn path=/trunk/; revision=48637

13 years ago[win32k]
Michael Martin [Sat, 28 Aug 2010 23:55:27 +0000 (23:55 +0000)]
[win32k]
- Mouse messages can be sent before the desktop is initialized. Check for this and return false if its not. FIxes assert when moving mouse before desktop is up.

svn path=/trunk/; revision=48636

13 years ago[input/i8042prt]
Michael Martin [Sat, 28 Aug 2010 23:23:43 +0000 (23:23 +0000)]
[input/i8042prt]
- Fix a check when queuing the mouse packet. Check that the buffer size (MouseInBuffer) is not greater or equal to MouseDataQueueSize. Fixes a NonPagedPool corruption that occurs when the mouse is moved before the desktop window is up and running.

svn path=/trunk/; revision=48635

13 years ago[CMAKE]
Amine Khaldi [Sat, 28 Aug 2010 17:41:06 +0000 (17:41 +0000)]
[CMAKE]
- Include crt headers when compiling RC files.

svn path=/branches/cmake-bringup/; revision=48634

13 years ago[CMAKE]
Amine Khaldi [Sat, 28 Aug 2010 13:20:03 +0000 (13:20 +0000)]
[CMAKE]
- Add mscoree, msg711.acm, msgina, msgsm32.acm, msimg32, msnet32, mssign32, mssip32, msvcrt20, msvcrt40, msvfw32, msvidc32, mswsock, nddeapi, netapi32, newdev, ntdsapi, ntlanman, ntprint, olecli32, oledlg, olesvr32, olethk32, pidgen, powrprof, printui, query, rasapi32, rasdlg, rasman, resutils and samlib to build.

svn path=/branches/cmake-bringup/; revision=48633

13 years ago[ntoskrnl/ps]
Michael Martin [Sat, 28 Aug 2010 00:26:02 +0000 (00:26 +0000)]
[ntoskrnl/ps]
- When deleting a Process remove the Process from the MmProcessList. Fixes random NonPaged Pool corruptions.  Thanks aicom for assistance.

svn path=/trunk/; revision=48632

13 years ago[ntoskrnl/ps]
Michael Martin [Fri, 27 Aug 2010 22:18:10 +0000 (22:18 +0000)]
[ntoskrnl/ps]
- Acquire and Release RundownProtection on the Parent Pocess not the newly created Pcess when setting the SectionObject.

svn path=/trunk/; revision=48631

13 years ago[WIN32K]
Timo Kreuzer [Fri, 27 Aug 2010 10:57:54 +0000 (10:57 +0000)]
[WIN32K]
- Rework EngSetPointerShape, to first allocate the neccessary surfaces, before deleting the old ones. Also check in IntShowMousePointer if a saving surface is present. This way a failure to allocate a surface will not result in a crash, but keep the old mouse pointer.

See issue #5402 for more details.

svn path=/trunk/; revision=48630

13 years ago[USER32]
Timo Kreuzer [Fri, 27 Aug 2010 10:20:25 +0000 (10:20 +0000)]
[USER32]
- Revert r47238 as requested by Giannis: "this commit breaks any program that wants to subclass mdi client windows"

svn path=/trunk/; revision=48629

13 years ago[OSKITTCP]
Cameron Gutman [Fri, 27 Aug 2010 04:46:04 +0000 (04:46 +0000)]
[OSKITTCP]
- Only tell the caller how much we sent/received if it completed successfully
- Set SO_DONTROUTE on accepted sockets too
- Disable the core routing code
- Make our MSS calculation much better by sharing the existing code

svn path=/trunk/; revision=48628

13 years agoFix building on newer Linux systems (particularly Fedora 13)
Colin Finck [Thu, 26 Aug 2010 18:33:46 +0000 (18:33 +0000)]
Fix building on newer Linux systems (particularly Fedora 13)
Thanks to James, Sylvain and ErVito for testing!

See http://reactos.org/pipermail/ros-dev/2010-August/013338.html for more details

svn path=/trunk/; revision=48627

13 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 26 Aug 2010 15:25:33 +0000 (15:25 +0000)]
[NTOSKRNL]
- Fix to PpSetCustomTargetEvent(), not to make caller wait forever in case it provided an event it waits for
- Patch by Pierre Schweitzer

svn path=/trunk/; revision=48626

13 years agoFix build
Timo Kreuzer [Thu, 26 Aug 2010 02:48:03 +0000 (02:48 +0000)]
Fix build

svn path=/trunk/; revision=48625

13 years ago[OSKITTCP]
Cameron Gutman [Thu, 26 Aug 2010 02:29:38 +0000 (02:29 +0000)]
[OSKITTCP]
- Prevent multiple wakeups for the same event which caused nasty problems for the SEL_FIN event because we dereferenced our connection context 3 times which not only caused the connection endpoint to be freed while holding its spin lock but made the reference count negative
[TCPIP]
- Disassociate the address file from the connection endpoint before dereferencing/closing it to avoid a double dereference of the address file (not as harmful in this case as in the connection endpoint case)
[IP]
- Dereference the connection endpoint again if it was associated with an address file as the connection endpoint to fix a reference leak

svn path=/trunk/; revision=48624

13 years ago[NTDLL_APITEST]
Timo Kreuzer [Thu, 26 Aug 2010 02:29:19 +0000 (02:29 +0000)]
[NTDLL_APITEST]
- Add a test for RtlInitializeBitMap.

svn path=/trunk/; revision=48623

13 years agodelete old Zwcontinue test
Timo Kreuzer [Wed, 25 Aug 2010 10:15:34 +0000 (10:15 +0000)]
delete old Zwcontinue test

svn path=/trunk/; revision=48622

13 years ago[ROSTESTS]
Timo Kreuzer [Wed, 25 Aug 2010 10:15:01 +0000 (10:15 +0000)]
[ROSTESTS]
- Add wine style ntdll_apitest and move test for ZwContinue there

svn path=/trunk/; revision=48621

13 years agoAdd missing files
Timo Kreuzer [Wed, 25 Aug 2010 08:50:10 +0000 (08:50 +0000)]
Add missing files

svn path=/trunk/; revision=48620

13 years ago[APITESTS]
Timo Kreuzer [Wed, 25 Aug 2010 08:48:55 +0000 (08:48 +0000)]
[APITESTS]
Convert dciman32api, user32api and wa2_32 into wine style tests

svn path=/trunk/; revision=48619

13 years ago[FASTFAT]
Timo Kreuzer [Wed, 25 Aug 2010 08:29:52 +0000 (08:29 +0000)]
[FASTFAT]
- "Fix for a stupid mistake"
- patch by Pierre Schweitzer

svn path=/trunk/; revision=48618

13 years agoConvert gdi32api into wine style test
Timo Kreuzer [Tue, 24 Aug 2010 13:54:10 +0000 (13:54 +0000)]
Convert gdi32api into wine style test

svn path=/trunk/; revision=48617

13 years agoFix copy paste error in file header
Timo Kreuzer [Tue, 24 Aug 2010 05:27:39 +0000 (05:27 +0000)]
Fix copy paste error in file header

svn path=/trunk/; revision=48616

13 years ago[REGTESTS]
Timo Kreuzer [Tue, 24 Aug 2010 05:20:16 +0000 (05:20 +0000)]
[REGTESTS]
Add bugs_regtest. This can be used to create testcases / regression tests for already fixed bugs. I added a first test for bug 3481

svn path=/trunk/; revision=48615

13 years ago[WINGDI.H]
Timo Kreuzer [Tue, 24 Aug 2010 05:19:31 +0000 (05:19 +0000)]
[WINGDI.H]
Add missing GetCharWidthI, GetTextExtentExPointI, GetTextExtentPointI

svn path=/trunk/; revision=48614

13 years ago[CMAKE]
Amine Khaldi [Mon, 23 Aug 2010 22:23:02 +0000 (22:23 +0000)]
[CMAKE]
- Add mciseq, mciwave, mmdrv, modemui, mpr, mprapi, msadp32.acm, msafd and mscms to build.
- Fixed mpr resource files (should be submitted upstream).

svn path=/branches/cmake-bringup/; revision=48613

13 years ago- Revert the change from REG_SZ to REG_MULTI_SZ because it turns out that Windows...
Cameron Gutman [Mon, 23 Aug 2010 21:11:01 +0000 (21:11 +0000)]
- Revert the change from REG_SZ to REG_MULTI_SZ because it turns out that Windows does it this same way (research fail?)

svn path=/trunk/; revision=48611

13 years ago[CMAKE]
Amine Khaldi [Mon, 23 Aug 2010 15:23:35 +0000 (15:23 +0000)]
[CMAKE]
- Update user32 now that we have a target named imm32.

svn path=/branches/cmake-bringup/; revision=48609

13 years ago[CMAKE]
Amine Khaldi [Mon, 23 Aug 2010 14:40:47 +0000 (14:40 +0000)]
[CMAKE]
- Add fmifs, fusion, getuname, hid, httpapi, iccvid, icmp, imaadp32.acm, imagehlp, imm32, initpki, iphlpapi, itircl, loadperf, lpk, lz32, mapi32, mciavi32, mcicda and mciqtz32 to build.

svn path=/branches/cmake-bringup/; revision=48608

13 years ago[CMAKE]
Amine Khaldi [Mon, 23 Aug 2010 14:34:34 +0000 (14:34 +0000)]
[CMAKE]
- Temporarily add libdbghelp.a and libdhcpcsvc.a

svn path=/branches/cmake-bringup/; revision=48607

13 years ago[NTOSKRNL]
Timo Kreuzer [Mon, 23 Aug 2010 03:00:03 +0000 (03:00 +0000)]
[NTOSKRNL]
- Rewrite MiFindEmptyAddressRangeDownTree. The old implementation's "most awesome loop" duplicated both the initialization and the interation steps. It was also overcomplicated. The new implementation additionally returns the parent for the following table insertion, so this doesnt need to be done in an extra search. The return value is changed from NTSTATUS to TABLE_SEARCH_RESULT
- Modify MiInsertNode to accept a parent and TABLE_SEARCH_RESULT instead of searching for a free location.
- Modify MiCreatePebOrTeb to make use of the new features
- Handle failed allocation of the PEB/TEB
- Fixes a failed assertion that Olaf got
- I tested this code quite some time and no problems were found

svn path=/trunk/; revision=48606

13 years ago[WIN32K]
Timo Kreuzer [Mon, 23 Aug 2010 01:41:56 +0000 (01:41 +0000)]
[WIN32K]
Seperate DC_vSetLayout from NtGdiSetLayout and save the old value before setting the new one.

svn path=/trunk/; revision=48605