Author: ekohl
Date: Mon Nov 17 13:07:03 2008
New Revision: 37416
URL: http://svn.reactos.org/svn/reactos?rev=37416&view=rev
Log:
Sync to wine-1.1.1:
- Alexandre Julliard <julliard(a)winehq.org> Thu, 26 Jun 2008
widl: [default] is an allowed attribute for union fields.
(Note: This patch was already applied before in order not to break ReactOS.)
- Alexandre Julliard <julliard(a)winehq.org> Tue, 1 Jul 2008
widl: Add some support for unencapsulated unions that need a conformance descriptor.
- Rob Shearman <robertshearman(a)gmail.com> Tue, 1 Jul 2008
widl: Increment the buffer offset by 8 for embedded pointers inside varying arrays in varying structures.
The 8 bytes are for the variance and offset and are added just before the array, as seen in the marshalling code in rpcrt4. No offset needs to be added for non-varying structures since the buffer mark is set after the conformance in marshalled or unmarshalled.
- Rob Shearman <robertshearman(a)gmail.com> Tue, 1 Jul 2008
widl: Check that the structure has been defined in check_remoting_args.
- Dan Hipschman <dsh(a)linux.ucla.edu> Tue, 1 Jul 2008
widl: Implement type redefinition checks.
This allows widl to catch type redefinitions and report an error, like MIDL. However, this does a better job than MIDL since it also reports the location of the originial definition, like GCC.
- Dan Hipschman <dsh(a)linux.ucla.edu> Tue, 1 Jul 2008
widl: Factor a small part of the grammar.
- Rob Shearman <robertshearman(a)gmail.com> Thu, 3 Jul 2008
widl: Consolidate top-level parameter conformance/variance expression writing into a separate function.
Descend through as many pointer types as necessary to find the fundamental type and determine whether it needs a top-level parameter conformance/variance expression to be written. Add support for writing top-level parameter conformance/variance expressions for non-encapsulated unions.
- Rob Shearman <robertshearman(a)gmail.com> Fri, 4 Jul 2008
widl: Rename find_type_helper, find_type and find_type2 to find_type, find_type_error and find_type_error2 respectively.
- Rob Shearman <robertshearman(a)gmail.com> Fri, 4 Jul 2008
widl: Remove some unnecessary calls to duptype.
- Alexandre Julliard <julliard(a)winehq.org> Mon, 7 Jul 2008
widl: Fix a couple of uninitialized variable compiler warnings.
- Alexandre Julliard <julliard(a)winehq.org> Mon, 7 Jul 2008
Add noinput directive to all lex files to avoid a compiler warning.
Note: Two patches are missing because they implement code to generate MIDL-incompatible SEH support code. Unfortunately I think it is almost time to fork WIDL because later patches implement even more incompatibilities. :-(
Modified:
trunk/reactos/media/doc/README.WINE
trunk/reactos/tools/widl/parser.l
trunk/reactos/tools/widl/parser.tab.c
trunk/reactos/tools/widl/parser.tab.h
trunk/reactos/tools/widl/parser.y
trunk/reactos/tools/widl/parser.yy.c
trunk/reactos/tools/widl/typegen.c
trunk/reactos/tools/widl/typelib.c
trunk/reactos/tools/widl/widltypes.h
[This mail would be too long, it was shortened to contain the URLs only.]
Modified: trunk/reactos/media/doc/README.WINE
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
Modified: trunk/reactos/tools/widl/parser.l
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/parser.l?rev=37…
Modified: trunk/reactos/tools/widl/parser.tab.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/parser.tab.c?re…
Modified: trunk/reactos/tools/widl/parser.tab.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/parser.tab.h?re…
Modified: trunk/reactos/tools/widl/parser.y
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/parser.y?rev=37…
Modified: trunk/reactos/tools/widl/parser.yy.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/parser.yy.c?rev…
Modified: trunk/reactos/tools/widl/typegen.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/typegen.c?rev=3…
Modified: trunk/reactos/tools/widl/typelib.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/typelib.c?rev=3…
Modified: trunk/reactos/tools/widl/widltypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/widltypes.h?rev…
Author: fireball
Date: Mon Nov 17 10:09:31 2008
New Revision: 37409
URL: http://svn.reactos.org/svn/reactos?rev=37409&view=rev
Log:
- Target device to mount may not have VPB, the driver should get the VPB passed in parameters.
- Set target device's VPB to this value. This should not really be done, however our driver heavily depends on target device having this VPB. I don't see any side effects.
- With these changes, Windows 2003 is able to boot up to desktop and cleanly shutdown using this driver.
Modified:
trunk/reactos/drivers/filesystems/fastfat/fsctl.c
Modified: trunk/reactos/drivers/filesystems/fastfat/fsctl.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/fsctl.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/fsctl.c [iso-8859-1] Mon Nov 17 10:09:31 2008
@@ -372,6 +372,7 @@
PVFATFCB VolumeFcb = NULL;
PVFATCCB Ccb = NULL;
PDEVICE_OBJECT DeviceToMount;
+ PVPB Vpb;
UNICODE_STRING NameU = RTL_CONSTANT_STRING(L"\\$$Fat$$");
UNICODE_STRING VolumeNameU = RTL_CONSTANT_STRING(L"\\$$Volume$$");
ULONG HashTableSize;
@@ -389,6 +390,7 @@
}
DeviceToMount = IrpContext->Stack->Parameters.MountVolume.DeviceObject;
+ Vpb = IrpContext->Stack->Parameters.MountVolume.Vpb;
Status = VfatHasFileSystem (DeviceToMount, &RecognizedFS, &FatInfo);
if (!NT_SUCCESS(Status))
@@ -438,7 +440,9 @@
DeviceExt->HashTableSize = HashTableSize;
/* use same vpb as device disk */
- DeviceObject->Vpb = DeviceToMount->Vpb;
+ DeviceObject->Vpb = Vpb;
+ DeviceToMount->Vpb = Vpb;
+
Status = VfatMountDevice(DeviceExt, DeviceToMount);
if (!NT_SUCCESS(Status))
{