Author: amunger
Date: Tue Jun 13 07:46:22 2006
New Revision: 22338
URL: http://svn.reactos.ru/svn/reactos?rev=22338&view=rev
Log:
Remove packet size assert.
Recent qemu slirp changes cause us to hit this assert. I could not find any evidence of the qemu changes causing linux or windows problems, so I removed the assert. Testing has yielded no issues with the assert removed. I'm leaving it in trunk for now, until it can be looked at closer.
Modified:
branches/ros-branch-0_3_0/reactos/drivers/network/tcpip/datalink/lan.c
Modified: branches/ros-branch-0_3_0/reactos/drivers/network/tcpip/datalink/lan.c
URL: http://svn.reactos.ru/svn/reactos/branches/ros-branch-0_3_0/reactos/drivers…
==============================================================================
--- branches/ros-branch-0_3_0/reactos/drivers/network/tcpip/datalink/lan.c (original)
+++ branches/ros-branch-0_3_0/reactos/drivers/network/tcpip/datalink/lan.c Tue Jun 13 07:46:22 2006
@@ -487,8 +487,6 @@
{
if (NdisStatus == NDIS_STATUS_SUCCESS)
{
- ASSERT(PacketSize <= Adapter->MTU);
-
NdisTransferData(&NdisStatus, Adapter->NdisHandle,
MacReceiveContext, 0, PacketSize,
NdisPacket, &BytesTransferred);
Author: amunger
Date: Tue Jun 13 07:42:03 2006
New Revision: 22337
URL: http://svn.reactos.ru/svn/reactos?rev=22337&view=rev
Log:
Merge 21896, per hpoussin.
Modified:
branches/ros-branch-0_3_0/reactos/boot/bootdata/hivesys.inf
Modified: branches/ros-branch-0_3_0/reactos/boot/bootdata/hivesys.inf
URL: http://svn.reactos.ru/svn/reactos/branches/ros-branch-0_3_0/reactos/boot/bo…
==============================================================================
--- branches/ros-branch-0_3_0/reactos/boot/bootdata/hivesys.inf (original)
+++ branches/ros-branch-0_3_0/reactos/boot/bootdata/hivesys.inf Tue Jun 13 07:42:03 2006
@@ -36,6 +36,9 @@
HKLM,"SYSTEM\CurrentControlSet\Control\IDConfigDB",,0x00000012
HKLM,"SYSTEM\CurrentControlSet\Control\IDConfigDB","CurrentConfig",0x00010001,0x00000000
HKLM,"SYSTEM\CurrentControlSet\Control\IDConfigDB\Hardware Profiles\0000","FriendlyName",0x00000000,"New Hardware Profile"
+; The following line is only here to prevent the "New hardware wizard" to display a window for "Unknown device".
+; This device comes from Root plug and play bus (ntoskrnl/io/pnproot.c) and this one should never appear
+HKLM,"SYSTEM\CurrentControlSet\Enum\Root\LEGACY_UNKNOWN\0000","ConfigFlags",0x00010001,0x00000040
; Keyboard Layouts
HKLM,"SYSTEM\CurrentControlSet\Control\KeyboardLayouts\00000406","Layout File",0x00000000,"kbdda.dll"
@@ -352,6 +355,7 @@
; Service groups
HKLM,"SYSTEM\CurrentControlSet\Control\ServiceGroupOrder","List",0x00010000, \
"Boot Bus Extender", \
+ "System Bus Extender", \
"SCSI Port", \
"SCSI Miniport", \
"Primary Disk", \
@@ -379,6 +383,7 @@
; Group order, the first DWORD is the count of entries,
; the following dwords are the tag entries for the load order.
HKLM,"SYSTEM\CurrentControlSet\Control\GroupOrderList","Boot Bus Extender", 0x00000001, \
+ 0x02, 0x00, 0x00, 0x00, \
0x01, 0x00, 0x00, 0x00, \
0x02, 0x00, 0x00, 0x00
HKLM,"SYSTEM\CurrentControlSet\Control\GroupOrderList","SCSI Miniport", 0x00000001, \
@@ -468,6 +473,7 @@
HKLM,"SYSTEM\CurrentControlSet\Services\ACPI","ImagePath",0x00020000,"system32\drivers\acpi.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\ACPI","Start",0x00010001,0x00000000
HKLM,"SYSTEM\CurrentControlSet\Services\ACPI","Type",0x00010001,0x00000001
+HKLM,"SYSTEM\CurrentControlSet\Services\ACPI","Tag",0x00010001,0x00000001
; Beep device driver
HKLM,"SYSTEM\CurrentControlSet\Services\Beep","ErrorControl",0x00010001,0x00000000
@@ -554,13 +560,6 @@
HKLM,"SYSTEM\CurrentControlSet\Services\Fs_Rec","ImagePath",0x00020000,"system32\drivers\fs_rec.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\Fs_Rec","Start",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\Fs_Rec","Type",0x00010001,0x00000008
-
-; IDE driver (deprecated)
-;HKLM,"SYSTEM\CurrentControlSet\Services\Ide","ErrorControl",0x00010001,0x00000000
-;HKLM,"SYSTEM\CurrentControlSet\Services\Ide","Group",0x00000000,"Primary Disk"
-;HKLM,"SYSTEM\CurrentControlSet\Services\Ide","ImagePath",0x00020000,"system32\drivers\ide.sys"
-;HKLM,"SYSTEM\CurrentControlSet\Services\Ide","Start",0x00010001,0x00000004
-;HKLM,"SYSTEM\CurrentControlSet\Services\Ide","Type",0x00010001,0x00000001
; i8042 port driver
HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt","ErrorControl",0x00010001,0x00000000
@@ -642,6 +641,7 @@
HKLM,"SYSTEM\CurrentControlSet\Services\PCI","ImagePath",0x00020000,"system32\drivers\pci.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\PCI","Start",0x00010001,0x00000000
HKLM,"SYSTEM\CurrentControlSet\Services\PCI","Type",0x00010001,0x00000001
+HKLM,"SYSTEM\CurrentControlSet\Services\PCI","Tag",0x00010001,0x00000002
; ACPI bus
HKLM,"SYSTEM\CurrentControlSet\Enum\Root\*PNP0C08\0000","HardwareID",0x00010000,"*PNP0C08"
Author: amunger
Date: Tue Jun 13 07:35:48 2006
New Revision: 22335
URL: http://svn.reactos.ru/svn/reactos?rev=22335&view=rev
Log:
Merge 22283 to 0.3.0
Modified:
branches/ros-branch-0_3_0/reactos/subsystems/win32/csrss/win32csr/conio.c
Modified: branches/ros-branch-0_3_0/reactos/subsystems/win32/csrss/win32csr/conio.c
URL: http://svn.reactos.ru/svn/reactos/branches/ros-branch-0_3_0/reactos/subsyst…
==============================================================================
--- branches/ros-branch-0_3_0/reactos/subsystems/win32/csrss/win32csr/conio.c (original)
+++ branches/ros-branch-0_3_0/reactos/subsystems/win32/csrss/win32csr/conio.c Tue Jun 13 07:35:48 2006
@@ -613,13 +613,14 @@
i -= 2; /* if we already have something to return, just back it up by 2 */
}
else
- { /* otherwise, return STATUS_NOTIFY_CLEANUP to tell client to back up its buffer */
+ {
+ /* otherwise, we will treat the backspace just like any other char and let the client decide what to do */
Console->WaitingChars--;
ConioUnlockConsole(Console);
HeapFree(Win32CsrApiHeap, 0, Input);
- Request->Data.ReadConsoleRequest.NrCharactersRead = 0;
- Request->Status = STATUS_NOTIFY_CLEANUP;
- return STATUS_NOTIFY_CLEANUP;
+ Request->Data.ReadConsoleRequest.NrCharactersRead++;
+ Buffer[i] = Input->InputEvent.Event.KeyEvent.uChar.AsciiChar;
+ return Request->Status;
}
Request->Data.ReadConsoleRequest.nCharsCanBeDeleted--;
Input->Echoed = TRUE; /* mark as echoed so we don't echo it below */
Author: turner
Date: Tue Jun 13 04:26:08 2006
New Revision: 22334
URL: http://svn.reactos.ru/svn/reactos?rev=22334&view=rev
Log:
* When comparing two strings, you do not need to check what comes after them.
* You do not need to look for the next space in the "command" to run on if success, that will be handled later on, and causes it to skip over to much if it done in both spots
Modified:
trunk/reactos/base/shell/cmd/if.c
Modified: trunk/reactos/base/shell/cmd/if.c
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/base/shell/cmd/if.c?rev=223…
==============================================================================
--- trunk/reactos/base/shell/cmd/if.c (original)
+++ trunk/reactos/base/shell/cmd/if.c Tue Jun 13 04:26:08 2006
@@ -177,15 +177,13 @@
while (_istspace (*pp)) /* Skip subsequent spaces */
pp++;
- /* are the two sides equal, and does the second end in the same place? */
- if ( !_tcsncmp(param,pp,p1len) && _tcschr(_T(" ("),pp[p1len]) )
+ /* are the two sides equal*/
+ if ( !_tcsncmp(param,pp,p1len))
x_flag ^= X_EXEC;
pp += p1len;
if ( x_flag )
{
- while (*pp && !_istspace (*pp)) /* Find first space, */
- pp++;
x_flag |= X_EMPTY;
}
}