ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
April 2013
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
14 participants
265 discussions
Start a n
N
ew thread
[tkreuzer] 58846: [NTOSKRNL/AMD64] - Add more required feature bits - Initialize the PAT MSR - Enable NX in EFER MSR
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Wed Apr 24 20:28:45 2013 New Revision: 58846 URL:
http://svn.reactos.org/svn/reactos?rev=58846&view=rev
Log: [NTOSKRNL/AMD64] - Add more required feature bits - Initialize the PAT MSR - Enable NX in EFER MSR Modified: trunk/reactos/ntoskrnl/ke/amd64/kiinit.c Modified: trunk/reactos/ntoskrnl/ke/amd64/kiinit.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/amd64/kiinit.c…
============================================================================== --- trunk/reactos/ntoskrnl/ke/amd64/kiinit.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/ke/amd64/kiinit.c [iso-8859-1] Wed Apr 24 20:28:45 2013 @@ -14,7 +14,8 @@ #include <debug.h> #define REQUIRED_FEATURE_BITS (KF_RDTSC|KF_CR4|KF_CMPXCHG8B|KF_XMMI|KF_XMMI64| \ - KF_NX_BIT) + KF_LARGE_PAGE|KF_FAST_SYSCALL|KF_GLOBAL_PAGE| \ + KF_CMOV|KF_PAT|KF_MMX|KF_FXSR|KF_NX_BIT) /* GLOBALS *******************************************************************/ @@ -162,6 +163,7 @@ NTAPI KiInitializeCpu(PKIPCR Pcr) { + ULONG64 Pat; ULONG FeatureBits; /* Initialize gs */ @@ -215,14 +217,19 @@ __writemsr(MSR_LSTAR, (ULONG64)KiSystemCallEntry64); __writemsr(MSR_CSTAR, (ULONG64)KiSystemCallEntry32); - __writemsr(MSR_STAR, ((ULONG64)KGDT64_R0_CODE << 32) | - ((ULONG64)(KGDT64_R3_CMCODE|RPL_MASK) << 48)); + __writemsr(MSR_STAR, ((ULONG64)KGDT64_R0_CODE << 32) | + ((ULONG64)(KGDT64_R3_CMCODE|RPL_MASK) << 48)); /* Set the flags to be cleared when doing a syscall */ __writemsr(MSR_SYSCALL_MASK, EFLAGS_IF_MASK | EFLAGS_TF | EFLAGS_DF); - /* Enable syscall instruction */ - __writemsr(MSR_EFER, __readmsr(MSR_EFER) | MSR_SCE); + /* Enable syscall instruction and no-execute support */ + __writemsr(MSR_EFER, __readmsr(MSR_EFER) | MSR_SCE | MSR_NXE); + + /* Initialize the PAT */ + Pat = (PAT_WB << 0) | (PAT_WC << 8) | (PAT_UCM << 16) | (PAT_UC << 24) | + (PAT_WB << 32) | (PAT_WC << 40) | (PAT_UCM << 48) | (PAT_UC << 56); + __writemsr(MSR_PAT, Pat); } VOID
11 years, 8 months
1
0
0
0
[gadamopoulos] 58845: [videoprt] - Improve some debug messages
by gadamopoulos@svn.reactos.org
Author: gadamopoulos Date: Wed Apr 24 17:51:44 2013 New Revision: 58845 URL:
http://svn.reactos.org/svn/reactos?rev=58845&view=rev
Log: [videoprt] - Improve some debug messages Modified: trunk/reactos/win32ss/drivers/videoprt/timer.c trunk/reactos/win32ss/drivers/videoprt/videoprt.c trunk/reactos/win32ss/user/ntuser/display.c Modified: trunk/reactos/win32ss/drivers/videoprt/timer.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/videoprt/t…
============================================================================== --- trunk/reactos/win32ss/drivers/videoprt/timer.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/drivers/videoprt/timer.c [iso-8859-1] Wed Apr 24 17:51:44 2013 @@ -57,7 +57,7 @@ if (!NT_SUCCESS(Status)) { - WARN_(VIDEOPRT, "IoInitializeTimer failed with status 0x%08x\n", Status); + ERR_(VIDEOPRT, "IoInitializeTimer failed with status 0x%08x\n", Status); return FALSE; } } Modified: trunk/reactos/win32ss/drivers/videoprt/videoprt.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/drivers/videoprt/v…
============================================================================== --- trunk/reactos/win32ss/drivers/videoprt/videoprt.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/drivers/videoprt/videoprt.c [iso-8859-1] Wed Apr 24 17:51:44 2013 @@ -442,7 +442,7 @@ } else { - WARN_(VIDEOPRT, "HwFindAdapter call failed with error 0x%X\n", Status); + ERR_(VIDEOPRT, "HwFindAdapter call failed with error 0x%X\n", Status); RtlFreeUnicodeString(&DeviceExtension->RegistryPath); if (DeviceExtension->NextDeviceObject) IoDetachDevice(DeviceExtension->NextDeviceObject); @@ -465,7 +465,7 @@ if (Status != NO_ERROR) { - WARN_(VIDEOPRT, "HwFindAdapter call failed with error 0x%X\n", Status); + ERR_(VIDEOPRT, "HwFindAdapter call failed with error 0x%X\n", Status); RtlFreeUnicodeString(&DeviceExtension->RegistryPath); if (DeviceExtension->NextDeviceObject) IoDetachDevice(DeviceExtension->NextDeviceObject); @@ -532,7 +532,7 @@ IoDetachDevice(DeviceExtension->NextDeviceObject); RtlFreeUnicodeString(&DeviceExtension->RegistryPath); IoDeleteDevice(DeviceObject); - WARN_(VIDEOPRT, "STATUS_INSUFFICIENT_RESOURCES\n"); + ERR_(VIDEOPRT, "IntVideoPortSetupTimer failed\n"); return STATUS_INSUFFICIENT_RESOURCES; } @@ -591,6 +591,7 @@ if (HwInitializationData->HwInitDataSize > sizeof(VIDEO_HW_INITIALIZATION_DATA)) { + ERR_(VIDEOPRT, "Invalid HwInitializationData\n"); return STATUS_REVISION_MISMATCH; } @@ -598,6 +599,7 @@ HwInitializationData->HwInitialize == NULL || HwInitializationData->HwStartIO == NULL) { + ERR_(VIDEOPRT, "Invalid HwInitializationData\n"); return STATUS_INVALID_PARAMETER; } @@ -621,7 +623,7 @@ break; default: - WARN_(VIDEOPRT, "Invalid HwInitializationData size.\n"); + ERR_(VIDEOPRT, "Invalid HwInitializationData size.\n"); return STATUS_UNSUCCESSFUL; } @@ -677,6 +679,7 @@ if (!NT_SUCCESS(Status)) { + ERR_(VIDEOPRT, "IoAllocateDriverObjectExtension failed 0x%x\n", Status); return Status; } @@ -744,13 +747,18 @@ } Status = IntVideoPortCreateAdapterDeviceObject(DriverObject, DriverExtension, NULL, &DeviceObject); - INFO_(VIDEOPRT, "IntVideoPortCreateAdapterDeviceObject returned 0x%x\n", Status); if (!NT_SUCCESS(Status)) + { + ERR_(VIDEOPRT, "IntVideoPortCreateAdapterDeviceObject returned 0x%x\n", Status); return Status; + } + Status = IntVideoPortFindAdapter(DriverObject, DriverExtension, DeviceObject); - INFO_(VIDEOPRT, "IntVideoPortFindAdapter returned 0x%x\n", Status); if (NT_SUCCESS(Status)) VideoPortDeviceNumber++; + else + ERR_(VIDEOPRT, "IntVideoPortFindAdapter returned 0x%x\n", Status); + return Status; } else Modified: trunk/reactos/win32ss/user/ntuser/display.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/displa…
============================================================================== --- trunk/reactos/win32ss/user/ntuser/display.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/ntuser/display.c [iso-8859-1] Wed Apr 24 17:51:44 2013 @@ -187,7 +187,7 @@ Status = RegOpenKey(KEY_VIDEO, &hkey); if (!NT_SUCCESS(Status)) { - ERR("Could not open device registry key!\n"); + ERR("Could not open HARDWARE\\DEVICEMAP\\VIDEO registry key:0x%lx\n", Status); return Status; }
11 years, 8 months
1
0
0
0
[pschweitzer] 58844: [NTOSKRNL] Really implement support for DOS_QM in FsRtlIs*InExpression() Should fix some tests
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Wed Apr 24 16:59:23 2013 New Revision: 58844 URL:
http://svn.reactos.org/svn/reactos?rev=58844&view=rev
Log: [NTOSKRNL] Really implement support for DOS_QM in FsRtlIs*InExpression() Should fix some tests Modified: trunk/reactos/ntoskrnl/fsrtl/dbcsname.c trunk/reactos/ntoskrnl/fsrtl/name.c Modified: trunk/reactos/ntoskrnl/fsrtl/dbcsname.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/dbcsname.c?…
============================================================================== --- trunk/reactos/ntoskrnl/fsrtl/dbcsname.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/fsrtl/dbcsname.c [iso-8859-1] Wed Apr 24 16:59:23 2013 @@ -184,7 +184,7 @@ ExpressionPosition++; } /* Check cases that eat one char */ - else if ((Expression->Buffer[ExpressionPosition] == '?') || (Expression->Buffer[ExpressionPosition] == ANSI_DOS_QM)) + else if (Expression->Buffer[ExpressionPosition] == '?') { NamePosition++; ExpressionPosition++; @@ -311,6 +311,36 @@ break; } } + /* Check DOS_QM */ + else if (Expression->Buffer[ExpressionPosition] == ANSI_DOS_QM) + { + /* Check whether we are upon a dot */ + MatchingChars = 0; + while (MatchingChars < NamePosition) + { + if (Name->Buffer[MatchingChars] == '.') + { + break; + } + MatchingChars++; + } + + /* If not, we match a single char */ + if (MatchingChars == NamePosition && Name->Buffer[NamePosition] != '.') + { + NamePosition++; + ExpressionPosition++; + } + else + { + /* If we are, we just go through QMs */ + while (ExpressionPosition < Expression->Length && + Expression->Buffer[ExpressionPosition] == ANSI_DOS_QM) + { + ExpressionPosition++; + } + } + } /* If nothing match, try to backtrack */ else if (StarFound >= 0) { Modified: trunk/reactos/ntoskrnl/fsrtl/name.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/name.c?rev=…
============================================================================== --- trunk/reactos/ntoskrnl/fsrtl/name.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/fsrtl/name.c [iso-8859-1] Wed Apr 24 16:59:23 2013 @@ -113,7 +113,7 @@ ExpressionPosition++; } /* Check cases that eat one char */ - else if (Expression->Buffer[ExpressionPosition] == L'?' || (Expression->Buffer[ExpressionPosition] == DOS_QM)) + else if (Expression->Buffer[ExpressionPosition] == L'?') { NamePosition++; ExpressionPosition++; @@ -240,6 +240,36 @@ else { break; + } + } + /* Check DOS_QM */ + else if (Expression->Buffer[ExpressionPosition] == DOS_QM) + { + /* Check whether we are upon a dot */ + MatchingChars = 0; + while (MatchingChars < NamePosition) + { + if (Name->Buffer[MatchingChars] == L'.') + { + break; + } + MatchingChars++; + } + + /* If not, we match a single char */ + if (MatchingChars == NamePosition && Name->Buffer[NamePosition] != L'.') + { + NamePosition++; + ExpressionPosition++; + } + else + { + /* If we are, we just go through QMs */ + while (ExpressionPosition < Expression->Length / sizeof(WCHAR) && + Expression->Buffer[ExpressionPosition] == DOS_QM) + { + ExpressionPosition++; + } } } /* If nothing match, try to backtrack */
11 years, 8 months
1
0
0
0
[spetreolle] 58843: [SYSSETUP] Register ieframe during 2nd stage.
by spetreolle@svn.reactos.org
Author: spetreolle Date: Wed Apr 24 16:46:52 2013 New Revision: 58843 URL:
http://svn.reactos.org/svn/reactos?rev=58843&view=rev
Log: [SYSSETUP] Register ieframe during 2nd stage. Modified: trunk/reactos/media/inf/syssetup.inf (contents, props changed) Modified: trunk/reactos/media/inf/syssetup.inf URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/inf/syssetup.inf?rev…
============================================================================== --- trunk/reactos/media/inf/syssetup.inf [iso-8859-1] (original) +++ trunk/reactos/media/inf/syssetup.inf [iso-8859-1] Wed Apr 24 16:46:52 2013 @@ -96,6 +96,7 @@ 11,,wininet.dll,2 11,,wintrust.dll,1 11,,wuapi.dll,1 +11,,ieframe.dll,1 [Strings] MciExtStr="Software\Microsoft\Windows NT\CurrentVersion\MCI Extensions"
11 years, 8 months
1
0
0
0
[pschweitzer] 58842: [NTOSKRNL] Properly handle when we are at last dot in FsRtlIs*InExpression with DOS_STAR
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Wed Apr 24 15:25:19 2013 New Revision: 58842 URL:
http://svn.reactos.org/svn/reactos?rev=58842&view=rev
Log: [NTOSKRNL] Properly handle when we are at last dot in FsRtlIs*InExpression with DOS_STAR Modified: trunk/reactos/ntoskrnl/fsrtl/dbcsname.c trunk/reactos/ntoskrnl/fsrtl/name.c Modified: trunk/reactos/ntoskrnl/fsrtl/dbcsname.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/dbcsname.c?…
============================================================================== --- trunk/reactos/ntoskrnl/fsrtl/dbcsname.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/fsrtl/dbcsname.c [iso-8859-1] Wed Apr 24 15:25:19 2013 @@ -236,6 +236,12 @@ break; } MatchingChars++; + } + + /* In case we were already at last dot, simply accept it */ + if (MatchingChars == Name->Length) + { + NamePosition++; } } else Modified: trunk/reactos/ntoskrnl/fsrtl/name.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/name.c?rev=…
============================================================================== --- trunk/reactos/ntoskrnl/fsrtl/name.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/fsrtl/name.c [iso-8859-1] Wed Apr 24 15:25:19 2013 @@ -168,6 +168,12 @@ } MatchingChars++; } + + /* In case we were already at last dot, simply accept it */ + if (MatchingChars == Name->Length / sizeof(WCHAR)) + { + NamePosition++; + } } else {
11 years, 8 months
1
0
0
0
[pschweitzer] 58841: [NTOSKRNL] Fix a few tests with FsRtlIs*InExpression()
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Wed Apr 24 14:21:26 2013 New Revision: 58841 URL:
http://svn.reactos.org/svn/reactos?rev=58841&view=rev
Log: [NTOSKRNL] Fix a few tests with FsRtlIs*InExpression() Modified: trunk/reactos/ntoskrnl/fsrtl/dbcsname.c trunk/reactos/ntoskrnl/fsrtl/name.c Modified: trunk/reactos/ntoskrnl/fsrtl/dbcsname.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/dbcsname.c?…
============================================================================== --- trunk/reactos/ntoskrnl/fsrtl/dbcsname.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/fsrtl/dbcsname.c [iso-8859-1] Wed Apr 24 14:21:26 2013 @@ -285,6 +285,10 @@ /* If we are beyond name, we null match */ if (BeyondName) { + if (Name->Buffer[NamePosition] == '.') + { + NamePosition++; + } ExpressionPosition++; continue; } Modified: trunk/reactos/ntoskrnl/fsrtl/name.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/name.c?rev=…
============================================================================== --- trunk/reactos/ntoskrnl/fsrtl/name.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/fsrtl/name.c [iso-8859-1] Wed Apr 24 14:21:26 2013 @@ -216,6 +216,10 @@ /* If we are beyond name, we null match */ if (BeyondName) { + if (Name->Buffer[NamePosition] == L'.') + { + NamePosition++; + } ExpressionPosition++; continue; }
11 years, 8 months
1
0
0
0
[pschweitzer] 58840: [NTOSKRNL] Fix null matching for empty string in FsRtlIsDbcsInExpression()
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Wed Apr 24 12:18:28 2013 New Revision: 58840 URL:
http://svn.reactos.org/svn/reactos?rev=58840&view=rev
Log: [NTOSKRNL] Fix null matching for empty string in FsRtlIsDbcsInExpression() Modified: trunk/reactos/ntoskrnl/fsrtl/dbcsname.c Modified: trunk/reactos/ntoskrnl/fsrtl/dbcsname.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/dbcsname.c?…
============================================================================== --- trunk/reactos/ntoskrnl/fsrtl/dbcsname.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/fsrtl/dbcsname.c [iso-8859-1] Wed Apr 24 12:18:28 2013 @@ -169,6 +169,11 @@ ASSERT(Name->Length); ASSERT(Expression->Length); ASSERT(!FsRtlDoesDbcsContainWildCards(Name)); + + if (Name->Length == 0) + { + return (Expression->Length == 0); + } while (NamePosition < Name->Length && ExpressionPosition < Expression->Length) {
11 years, 8 months
1
0
0
0
[akhaldi] 58839: [JSCRIPT] * Add the typelib related registration data. * Set the correct dependencies for the resource file.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Wed Apr 24 11:18:29 2013 New Revision: 58839 URL:
http://svn.reactos.org/svn/reactos?rev=58839&view=rev
Log: [JSCRIPT] * Add the typelib related registration data. * Set the correct dependencies for the resource file. Modified: trunk/reactos/dll/win32/jscript/CMakeLists.txt trunk/reactos/dll/win32/jscript/jscript_classes.rgs Modified: trunk/reactos/dll/win32/jscript/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/jscript/CMakeLis…
============================================================================== --- trunk/reactos/dll/win32/jscript/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/win32/jscript/CMakeLists.txt [iso-8859-1] Wed Apr 24 11:18:29 2013 @@ -1,5 +1,3 @@ - -add_typelib(jsglobal.idl) remove_definitions(-D_WIN32_WINNT=0x502) add_definitions(-D_WIN32_WINNT=0x600) @@ -42,6 +40,19 @@ add_library(jscript SHARED ${SOURCE} rsrc.rc) add_idl_headers(jscript_idlheader jscript_classes.idl) +add_typelib(jsglobal.idl) + +list(APPEND jscript_rc_deps + ${CMAKE_CURRENT_SOURCE_DIR}/jscript.rgs + ${CMAKE_CURRENT_SOURCE_DIR}/jscript_classes.rgs + ${CMAKE_CURRENT_BINARY_DIR}/jsglobal.tlb) + +set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${jscript_rc_deps}") + +# jsglobal.tlb needs stdole2.tlb +add_dependencies(jscript jscript_idlheader stdole2) + + if(NOT MSVC) # FIXME:
http://www.cmake.org/Bug/view.php?id=12998
#allow_warnings(jscript) @@ -52,7 +63,4 @@ target_link_libraries(jscript wine) add_importlibs(jscript user32 ole32 oleaut32 advapi32 msvcrt kernel32 ntdll) add_pch(jscript jscript.h) -# jsglobal.tlb needs stdole2.tlb -add_dependencies(jscript jscript_idlheader stdole2) add_cd_file(TARGET jscript DESTINATION reactos/system32 FOR all) -set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/jsglobal.tlb) Modified: trunk/reactos/dll/win32/jscript/jscript_classes.rgs URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/jscript/jscript_…
============================================================================== --- trunk/reactos/dll/win32/jscript/jscript_classes.rgs [iso-8859-1] (original) +++ trunk/reactos/dll/win32/jscript/jscript_classes.rgs [iso-8859-1] Wed Apr 24 11:18:29 2013 @@ -33,4 +33,147 @@ { CLSID = s '{F414C262-6AC0-11CF-B6D1-00AA00BBBB58}' } + NoRemove Typelib + { + NoRemove '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' + { + '1.0' = s 'JSGlobal' + { + '0' { win32 = s '%MODULE%' } + FLAGS = s '0' + } + } + } + NoRemove Interface + { + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B086}' = s 'GlobalObj' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B087}' = s 'DateObj' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B088}' = s 'MathObj' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B089}' = s 'NumberObj' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B090}' = s 'RegExpObj' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B091}' = s 'StringObj' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B092}' = s 'ArrayInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B093}' = s 'FunctionInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B094}' = s 'StringInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B095}' = s 'BoolInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B096}' = s 'NumberInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B097}' = s 'ObjectInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B098}' = s 'DateInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B099}' = s 'RegExpInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B09A}' = s 'ErrorInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B09B}' = s 'EvalErrorInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B09C}' = s 'RangeErrorInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B09D}' = s 'ReferenceErrorInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B09E}' = s 'SyntaxErrorInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B09F}' = s 'TypeErrorInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + '{3EEF9758-35FC-11D1-8CE4-00C04FC2B0A0}' = s 'URIErrorInstance' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{3EEF9759-35FC-11D1-8CE4-00C04FC2B085}' { val Version = s '1.0' } + } + } + NoRemove CLSID + { + } }
11 years, 8 months
1
0
0
0
[pschweitzer] 58838: [KMTESTS:FSRTL] Add tests for testing Large MCBs on Aleksey's request. Currently, they fail (and even crash) on ReactOS. Aleksey promised a bugfix!
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Tue Apr 23 21:34:59 2013 New Revision: 58838 URL:
http://svn.reactos.org/svn/reactos?rev=58838&view=rev
Log: [KMTESTS:FSRTL] Add tests for testing Large MCBs on Aleksey's request. Currently, they fail (and even crash) on ReactOS. Aleksey promised a bugfix! Added: trunk/rostests/kmtests/ntos_fsrtl/FsRtlMcb.c (with props) Modified: trunk/rostests/kmtests/CMakeLists.txt trunk/rostests/kmtests/kmtest_drv/testlist.c Modified: trunk/rostests/kmtests/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/CMakeLists.txt?re…
============================================================================== --- trunk/rostests/kmtests/CMakeLists.txt [iso-8859-1] (original) +++ trunk/rostests/kmtests/CMakeLists.txt [iso-8859-1] Tue Apr 23 21:34:59 2013 @@ -36,6 +36,7 @@ ntos_ex/ExSingleList.c ntos_ex/ExTimer.c ntos_fsrtl/FsRtlExpression.c + ntos_fsrtl/FsRtlMcb.c ntos_io/IoDeviceInterface.c ntos_io/IoEvent.c ntos_io/IoInterrupt.c Modified: trunk/rostests/kmtests/kmtest_drv/testlist.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/kmtest_drv/testli…
============================================================================== --- trunk/rostests/kmtests/kmtest_drv/testlist.c [iso-8859-1] (original) +++ trunk/rostests/kmtests/kmtest_drv/testlist.c [iso-8859-1] Tue Apr 23 21:34:59 2013 @@ -20,6 +20,7 @@ KMT_TESTFUNC Test_ExSingleList; KMT_TESTFUNC Test_ExTimer; KMT_TESTFUNC Test_FsRtlExpression; +KMT_TESTFUNC Test_FsRtlMcb; KMT_TESTFUNC Test_IoDeviceInterface; KMT_TESTFUNC Test_IoEvent; KMT_TESTFUNC Test_IoInterrupt; @@ -61,6 +62,7 @@ { "-ExTimer", Test_ExTimer }, { "Example", Test_Example }, { "FsRtlExpression", Test_FsRtlExpression }, + { "FsRtlMcb", Test_FsRtlMcb }, { "IoDeviceInterface", Test_IoDeviceInterface }, { "IoEvent", Test_IoEvent }, { "IoInterrupt", Test_IoInterrupt }, Added: trunk/rostests/kmtests/ntos_fsrtl/FsRtlMcb.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/ntos_fsrtl/FsRtlM…
============================================================================== --- trunk/rostests/kmtests/ntos_fsrtl/FsRtlMcb.c (added) +++ trunk/rostests/kmtests/ntos_fsrtl/FsRtlMcb.c [iso-8859-1] Tue Apr 23 21:34:59 2013 @@ -1,0 +1,150 @@ +/* + * PROJECT: ReactOS kernel-mode tests + * LICENSE: LGPLv2+ - See COPYING.LIB in the top level directory + * PURPOSE: Kernel-Mode Test Suite FsRtl Test + * PROGRAMMER: Pierre Schweitzer <pierre.schweitzer(a)reactos.org> + */ + +#include <kmt_test.h> + +#define NDEBUG +#include <debug.h> + +static VOID FsRtlMcbTest() +{ +} + +static VOID FsRtlLargeMcbTest() +{ + LARGE_MCB LargeMcb; + ULONG NbRuns, Index; + LONGLONG Vbn, Lbn, SectorCount, StartingLbn, CountFromStartingLbn; + + FsRtlInitializeLargeMcb(&LargeMcb, PagedPool); + + ok(FsRtlLookupLastLargeMcbEntry(&LargeMcb, &Vbn, &Lbn) == FALSE, "expected FALSE, got TRUE\n"); + ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == FALSE, "expected FALSE, got TRUE\n"); + + ok(FsRtlAddLargeMcbEntry(&LargeMcb, 1, 1, 1024) == TRUE, "expected TRUE, got FALSE\n"); + NbRuns = FsRtlNumberOfRunsInLargeMcb(&LargeMcb); + ok(NbRuns == 2, "Expected 2 runs, got: %lu\n", NbRuns); + ok(FsRtlLookupLastLargeMcbEntry(&LargeMcb, &Vbn, &Lbn) == TRUE, "expected FALSE, got TRUE\n"); + ok(Vbn == 1024, "Expected Vbn 1024, got: %I64d\n", Vbn); + ok(Lbn == 1024, "Expected Lbn 1024, got: %I64d\n", Lbn); + ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected FALSE, got TRUE\n"); + ok(Vbn == 1024, "Expected Vbn 1024, got: %I64d\n", Vbn); + ok(Lbn == 1024, "Expected Lbn 1024, got: %I64d\n", Lbn); + ok(Index == 1, "Expected Index 1, got: %lu\n", Index); + + ok(FsRtlAddLargeMcbEntry(&LargeMcb, 2048, 2, 1024) == TRUE, "expected TRUE, got FALSE\n"); + NbRuns = FsRtlNumberOfRunsInLargeMcb(&LargeMcb); + ok(NbRuns == 4, "Expected 4 runs, got: %lu\n", NbRuns); + ok(FsRtlLookupLastLargeMcbEntry(&LargeMcb, &Vbn, &Lbn) == TRUE, "expected FALSE, got TRUE\n"); + ok(Vbn == 3071, "Expected Vbn 3071, got: %I64d\n", Vbn); + ok(Lbn == 1025, "Expected Lbn 1025, got: %I64d\n", Lbn); + ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected FALSE, got TRUE\n"); + ok(Vbn == 3071, "Expected Vbn 3071, got: %I64d\n", Vbn); + ok(Lbn == 1025, "Expected Lbn 1025, got: %I64d\n", Lbn); + ok(Index == 3, "Expected Index 3, got: %lu\n", Index); + + ok(FsRtlGetNextLargeMcbEntry(&LargeMcb, 0, &Vbn, &Lbn, &SectorCount) == TRUE, "expected TRUE, got FALSE\n"); + ok(Vbn == 0, "Expected Vbn 0, got: %I64d\n", Vbn); + ok(Lbn == -1, "Expected Lbn -1, got: %I64d\n", Lbn); + ok(SectorCount == 1, "Expected SectorCount 1, got: %I64d\n", SectorCount); + + ok(FsRtlGetNextLargeMcbEntry(&LargeMcb, 1, &Vbn, &Lbn, &SectorCount) == TRUE, "expected TRUE, got FALSE\n"); + ok(Vbn == 1, "Expected Vbn 1, got: %I64d\n", Vbn); + ok(Lbn == 1, "Expected Lbn 1, got: %I64d\n", Lbn); + ok(SectorCount == 1024, "Expected SectorCount 1024, got: %I64d\n", SectorCount); + + ok(FsRtlGetNextLargeMcbEntry(&LargeMcb, 2, &Vbn, &Lbn, &SectorCount) == TRUE, "expected TRUE, got FALSE\n"); + ok(Vbn == 1025, "Expected Vbn 1025, got: %I64d\n", Vbn); + ok(Lbn == -1, "Expected Lbn -1, got: %I64d\n", Lbn); + ok(SectorCount == 1023, "Expected SectorCount 1023, got: %I64d\n", SectorCount); + + ok(FsRtlGetNextLargeMcbEntry(&LargeMcb, 3, &Vbn, &Lbn, &SectorCount) == TRUE, "expected TRUE, got FALSE\n"); + ok(Vbn == 2048, "Expected Vbn 2048, got: %I64d\n", Vbn); + ok(Lbn == 2, "Expected Lbn 2, got: %I64d\n", Lbn); + ok(SectorCount == 1024, "Expected SectorCount 1024, got: %I64d\n", SectorCount); + + ok(FsRtlGetNextLargeMcbEntry(&LargeMcb, 4, &Vbn, &Lbn, &SectorCount) == FALSE, "expected FALSE, got TRUE\n"); + + ok(FsRtlLookupLargeMcbEntry(&LargeMcb, 1, &Lbn, &SectorCount, &StartingLbn, &CountFromStartingLbn, &Index) == TRUE, "expected TRUE, got FALSE\n"); + ok(Lbn == 1, "Expected Lbn 1, got: %I64d\n", Lbn); + ok(SectorCount == 1024, "Expected SectorCount 1024, got: %I64d\n", SectorCount); + ok(StartingLbn == 1, "Expected StartingLbn 1, got: %I64d\n", StartingLbn); + ok(CountFromStartingLbn == 1024, "Expected CountFromStartingLbn 1024, got: %I64d\n", CountFromStartingLbn); + ok(Index == 1, "Expected Index 1, got: %lu\n", Index); + + ok(FsRtlLookupLargeMcbEntry(&LargeMcb, 2048, &Lbn, &SectorCount, &StartingLbn, &CountFromStartingLbn, &Index) == TRUE, "expected TRUE, got FALSE\n"); + ok(Lbn == 2, "Expected Lbn 2, got: %I64d\n", Lbn); + ok(SectorCount == 1024, "Expected SectorCount 1024, got: %I64d\n", SectorCount); + ok(StartingLbn == 2, "Expected StartingLbn 2, got: %I64d\n", StartingLbn); + ok(CountFromStartingLbn == 1024, "Expected CountFromStartingLbn 1024, got: %I64d\n", CountFromStartingLbn); + ok(Index == 3, "Expected Index 3, got: %lu\n", Index); + + ok(FsRtlLookupLargeMcbEntry(&LargeMcb, 3073, &Lbn, &SectorCount, &StartingLbn, &CountFromStartingLbn, &Index) == FALSE, "expected FALSE, got TRUE\n"); + + FsRtlRemoveLargeMcbEntry(&LargeMcb, 1, 1024); + NbRuns = FsRtlNumberOfRunsInLargeMcb(&LargeMcb); + ok(NbRuns == 2, "Expected 2 runs, got: %lu\n", NbRuns); + ok(FsRtlLookupLargeMcbEntry(&LargeMcb, 512, &Lbn, &SectorCount, &StartingLbn, &CountFromStartingLbn, &Index) == TRUE, "expected TRUE, got FALSE\n"); + ok(Lbn == -1, "Expected Lbn -1, got: %I64d\n", Lbn); + ok(SectorCount == 1536, "Expected SectorCount 1536, got: %I64d\n", SectorCount); + ok(StartingLbn == -1, "Expected StartingLbn -1, got: %I64d\n", StartingLbn); + ok(CountFromStartingLbn == 2048, "Expected CountFromStartingLbn 2048, got: %I64d\n", CountFromStartingLbn); + ok(Index == 0, "Expected Index 0, got: %lu\n", Index); + ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected FALSE, got TRUE\n"); + ok(Vbn == 3071, "Expected Vbn 3071, got: %I64d\n", Vbn); + ok(Lbn == 1025, "Expected Lbn 1025, got: %I64d\n", Lbn); + ok(Index == 1, "Expected Index 1, got: %lu\n", Index); + + ok(FsRtlSplitLargeMcb(&LargeMcb, 2048, 1024) == TRUE, "expected FALSE, got TRUE\n"); + NbRuns = FsRtlNumberOfRunsInLargeMcb(&LargeMcb); + ok(NbRuns == 2, "Expected 2 runs, got: %lu\n", NbRuns); + ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected FALSE, got TRUE\n"); + ok(Vbn == 4095, "Expected Vbn 4095, got: %I64d\n", Vbn); + ok(Lbn == 1025, "Expected Lbn 1025, got: %I64d\n", Lbn); + ok(Index == 1, "Expected Index 1, got: %lu\n", Index); + ok(FsRtlLookupLargeMcbEntry(&LargeMcb, 2048, &Lbn, &SectorCount, &StartingLbn, &CountFromStartingLbn, &Index) == TRUE, "expected FALSE, got TRUE\n"); + ok(Lbn == -1, "Expected Lbn -1, got: %I64d\n", Lbn); + ok(SectorCount == 1024, "Expected SectorCount 1024, got: %I64d\n", SectorCount); + ok(StartingLbn == -1, "Expected StartingLbn -1, got: %I64d\n", StartingLbn); + ok(CountFromStartingLbn == 3072, "Expected CountFromStartingLbn 3072, got: %I64d\n", CountFromStartingLbn); + ok(Index == 0, "Expected Index 0, got: %lu\n", Index); + ok(FsRtlLookupLargeMcbEntry(&LargeMcb, 3072, &Lbn, &SectorCount, &StartingLbn, &CountFromStartingLbn, &Index) == TRUE, "expected TRUE, got FALSE\n"); + ok(Lbn == 2, "Expected Lbn 2, got: %I64d\n", Lbn); + ok(SectorCount == 1024, "Expected SectorCount 1024, got: %I64d\n", SectorCount); + ok(StartingLbn == 2, "Expected StartingLbn 2, got: %I64d\n", StartingLbn); + ok(CountFromStartingLbn == 1024, "Expected CountFromStartingLbn 1024, got: %I64d\n", CountFromStartingLbn); + ok(Index == 1, "Expected Index 1, got: %lu\n", Index); + + ok(FsRtlAddLargeMcbEntry(&LargeMcb, 3584, 3, 1024) == FALSE, "expected FALSE, got TRUE\n"); + + ok(FsRtlAddLargeMcbEntry(&LargeMcb, 4095, 1025, 1024) == TRUE, "expected TRUE, got FALSE\n"); + NbRuns = FsRtlNumberOfRunsInLargeMcb(&LargeMcb); + ok(NbRuns == 2, "Expected 2 runs, got: %lu\n", NbRuns); + ok(FsRtlLookupLastLargeMcbEntry(&LargeMcb, &Vbn, &Lbn) == TRUE, "expected FALSE, got TRUE\n"); + ok(Vbn == 5118, "Expected Vbn 5118, got: %I64d\n", Vbn); + ok(Lbn == 2048, "Expected Lbn 2048, got: %I64d\n", Lbn); + ok(FsRtlLookupLastLargeMcbEntryAndIndex(&LargeMcb, &Vbn, &Lbn, &Index) == TRUE, "expected FALSE, got TRUE\n"); + ok(Vbn == 5118, "Expected Vbn 5118, got: %I64d\n", Vbn); + ok(Lbn == 2048, "Expected Lbn 2048, got: %I64d\n", Lbn); + ok(Index == 1, "Expected Index 1, got: %lu\n", Index); + + FsRtlTruncateLargeMcb(&LargeMcb, 4607); + ok(FsRtlLookupLargeMcbEntry(&LargeMcb, 4095, &Lbn, &SectorCount, &StartingLbn, &CountFromStartingLbn, &Index) == TRUE, "expected TRUE, got FALSE\n"); + ok(Lbn == 1025, "Expected Lbn 1025, got: %I64d\n", Lbn); + ok(SectorCount == 512, "Expected SectorCount 512, got: %I64d\n", SectorCount); + ok(StartingLbn == 2, "Expected StartingLbn 2, got: %I64d\n", StartingLbn); + ok(CountFromStartingLbn == 1535, "Expected CountFromStartingLbn 1535, got: %I64d\n", CountFromStartingLbn); + ok(Index == 1, "Expected Index 1, got: %lu\n", Index); + + FsRtlUninitializeLargeMcb(&LargeMcb); +} + +START_TEST(FsRtlMcb) +{ + FsRtlMcbTest(); + FsRtlLargeMcbTest(); +} Propchange: trunk/rostests/kmtests/ntos_fsrtl/FsRtlMcb.c ------------------------------------------------------------------------------ svn:eol-style = native
11 years, 8 months
1
0
0
0
[akhaldi] 58837: [HHCTRL.OCX] * Add the typelib related registration data. * Set the correct dependencies for the resource file.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Tue Apr 23 16:35:53 2013 New Revision: 58837 URL:
http://svn.reactos.org/svn/reactos?rev=58837&view=rev
Log: [HHCTRL.OCX] * Add the typelib related registration data. * Set the correct dependencies for the resource file. Added: trunk/reactos/dll/win32/hhctrl.ocx/hhctrl_tlb.rgs (with props) Modified: trunk/reactos/dll/win32/hhctrl.ocx/CMakeLists.txt trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.rc Modified: trunk/reactos/dll/win32/hhctrl.ocx/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/hhctrl.ocx/CMake…
============================================================================== --- trunk/reactos/dll/win32/hhctrl.ocx/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/win32/hhctrl.ocx/CMakeLists.txt [iso-8859-1] Tue Apr 23 16:35:53 2013 @@ -19,7 +19,12 @@ ${CMAKE_CURRENT_BINARY_DIR}/hhctrl.def) add_typelib(hhctrl_tlb.idl) -set_source_files_properties(hhctrl.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/hhctrl_tlb.tlb) + +list(APPEND hhctrl_rc_deps + ${CMAKE_CURRENT_SOURCE_DIR}/hhctrl_tlb.rgs + ${CMAKE_CURRENT_BINARY_DIR}/hhctrl_tlb.tlb) + +set_source_files_properties(hhctrl.rc PROPERTIES OBJECT_DEPENDS "${hhctrl_rc_deps}") # hhctrl_tlb.tlb needs stdole2.tlb add_dependencies(hhctrl stdole2) Modified: trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/hhctrl.ocx/hhctr…
============================================================================== --- trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.rc [iso-8859-1] Tue Apr 23 16:35:53 2013 @@ -115,6 +115,8 @@ 1 TYPELIB hhctrl_tlb.tlb +1 WINE_REGISTRY hhctrl_tlb.rgs + #define WINE_FILEDESCRIPTION_STR "Wine htmlhelp OCX" #define WINE_FILENAME_STR "hhctrl.ocx" #define WINE_FILEVERSION 5,2,3790,2744 Added: trunk/reactos/dll/win32/hhctrl.ocx/hhctrl_tlb.rgs URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/hhctrl.ocx/hhctr…
============================================================================== --- trunk/reactos/dll/win32/hhctrl.ocx/hhctrl_tlb.rgs (added) +++ trunk/reactos/dll/win32/hhctrl.ocx/hhctrl_tlb.rgs [iso-8859-1] Tue Apr 23 16:35:53 2013 @@ -1,0 +1,83 @@ +HKCR +{ + NoRemove Typelib + { + NoRemove '{ADB880A2-D8FF-11CF-9377-00AA003B7A11}' + { + '4.0' = s 'HHCtrl 4.0 Type Library' + { + '0' { win32 = s '%MODULE%' } + FLAGS = s '0' + } + } + } + NoRemove Interface + { + '{ADB880A1-D8FF-11CF-9377-00AA003B7A11}' = s 'IHHCtrl' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{ADB880A2-D8FF-11CF-9377-00AA003B7A11}' { val Version = s '4.0' } + } + '{ADB880A3-D8FF-11CF-9377-00AA003B7A11}' = s '_HHCtrlEvents' + { + ProxyStubClsid = s '{00020424-0000-0000-C000-000000000046}' + ProxyStubClsid32 = s '{00020424-0000-0000-C000-000000000046}' + TypeLib = s '{ADB880A2-D8FF-11CF-9377-00AA003B7A11}' { val Version = s '4.0' } + } + } + NoRemove CLSID + { + '{ADB880A6-D8FF-11CF-9377-00AA003B7A11}' = s 'HHCtrl Object' + { + InprocServer32 = s '%MODULE%' { val ThreadingModel = s 'Apartment' } + ProgId = s 'Internet.HHCtrl.1' + TypeLib = s '{ADB880A2-D8FF-11CF-9377-00AA003B7A11}' + Version = s '1.0' + VersionIndependentProgId = s 'Internet.HHCtrl' + } + '{41B23C28-488E-4E5C-ACE2-BB0BBABE99E8}' = s 'HHCtrl Object' + { + InprocServer32 = s '%MODULE%' { val ThreadingModel = s 'Apartment' } + ProgId = s 'Internet.HHCtrl.1' + TypeLib = s '{ADB880A2-D8FF-11CF-9377-00AA003B7A11}' + Version = s '1.0' + VersionIndependentProgId = s 'Internet.HHCtrl' + } + '{52A2AAAE-085D-4187-97EA-8C30DB990436}' = s 'HHCtrl Object' + { + InprocServer32 = s '%MODULE%' { val ThreadingModel = s 'Apartment' } + ProgId = s 'Internet.HHCtrl.1' + TypeLib = s '{ADB880A2-D8FF-11CF-9377-00AA003B7A11}' + Version = s '1.0' + VersionIndependentProgId = s 'Internet.HHCtrl' + } + } + 'Internet.HHCtrl.1' = s 'HHCtrl Object' + { + CLSID = s '{ADB880A6-D8FF-11CF-9377-00AA003B7A11}' + } + 'Internet.HHCtrl' = s 'HHCtrl Object' + { + CLSID = s '{ADB880A6-D8FF-11CF-9377-00AA003B7A11}' + CurVer = s 'Internet.HHCtrl.1' + } + 'Internet.HHCtrl.1' = s 'HHCtrl Object' + { + CLSID = s '{41B23C28-488E-4E5C-ACE2-BB0BBABE99E8}' + } + 'Internet.HHCtrl' = s 'HHCtrl Object' + { + CLSID = s '{41B23C28-488E-4E5C-ACE2-BB0BBABE99E8}' + CurVer = s 'Internet.HHCtrl.1' + } + 'Internet.HHCtrl.1' = s 'HHCtrl Object' + { + CLSID = s '{52A2AAAE-085D-4187-97EA-8C30DB990436}' + } + 'Internet.HHCtrl' = s 'HHCtrl Object' + { + CLSID = s '{52A2AAAE-085D-4187-97EA-8C30DB990436}' + CurVer = s 'Internet.HHCtrl.1' + } +} Propchange: trunk/reactos/dll/win32/hhctrl.ocx/hhctrl_tlb.rgs ------------------------------------------------------------------------------ svn:eol-style = native
11 years, 8 months
1
0
0
0
← Newer
1
2
3
4
5
6
7
8
9
...
27
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Results per page:
10
25
50
100
200