Author: cfinck
Date: Sun May 4 15:26:34 2008
New Revision: 33280
URL: http://svn.reactos.org/svn/reactos?rev=33280&view=rev
Log:
First look into %_ROSBE_BASEDIR% for the specified directory and use it if it exists.
This makes it possible to just call "chdefgcc 3.4.5" instead of "chdefgcc full\path\to\the\3.4.5\directory" if there is a "3.4.5" directory in the RosBE installation directory.
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/chd…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd [iso-8859-1] Sun May 4 15:26:34 2008
@@ -24,14 +24,18 @@
call :INTERACTIVE
)
-if not exist "%_1%\." (
+if exist "%_ROSBE_BASEDIR%\%_1%\." (
+ set _1="%_ROSBE_BASEDIR%\%_1%"
+) else if not exist "%_1%\." (
echo ERROR: The path specified doesn't seem to exist.
goto :EOC
)
+
if not exist "%_1%\bin\gcc.exe" (
echo ERROR: No MinGW/GCC found in the specified path.
goto :EOC
)
+
set _ROSBE_MINGWPATH=%_1%
echo Location: %_ROSBE_MINGWPATH%
call "%_ROSBE_BASEDIR%\rosbe-gcc-env.cmd"
Author: greatlrd
Date: Sun May 4 14:58:33 2008
New Revision: 33278
URL: http://svn.reactos.org/svn/reactos?rev=33278&view=rev
Log:
Fixed one test so it be more fair.
Modified:
trunk/rostests/apitests/w32knapi/ntdd/NtGdiDdQueryDirectDrawObject.c
Modified: trunk/rostests/apitests/w32knapi/ntdd/NtGdiDdQueryDirectDrawObject.c
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/w32knapi/ntdd/Nt…
==============================================================================
--- trunk/rostests/apitests/w32knapi/ntdd/NtGdiDdQueryDirectDrawObject.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/w32knapi/ntdd/NtGdiDdQueryDirectDrawObject.c [iso-8859-1] Sun May 4 14:58:33 2008
@@ -210,14 +210,20 @@
RTEST( pHalInfo->ddCaps.dwFXAlphaCaps == 0);
- /* if this fail we do not have a dx driver install acodring ms, some version of windows it
+ /* basic dx 2 is found if this flags not set
+ * if this fail we do not have a dx driver install acodring ms, some version of windows it
* is okay this fail and drv does then only support basic dx
+ *
*/
- RTEST( (pHalInfo->dwFlags & (DDHALINFO_GETDRIVERINFOSET | DDHALINFO_GETDRIVERINFO2)) != 0 );
+ if (pHalInfo->dwFlags != 0)
+ {
+ RTEST( (pHalInfo->dwFlags & (DDHALINFO_GETDRIVERINFOSET | DDHALINFO_GETDRIVERINFO2)) != 0 );
+ RTEST( ( (DWORD)pHalInfo->GetDriverInfo & 0x80000000) != 0 );
+ ASSERT( ((DWORD)pHalInfo->GetDriverInfo & 0x80000000) != 0 );
+ }
/* point to kmode direcly to the graphic drv, the drv is kmode and it is kmode address we getting back*/
- RTEST( ( (DWORD)pHalInfo->GetDriverInfo & (~0x80000000)) != 0 );
- ASSERT( ((DWORD)pHalInfo->GetDriverInfo & (~0x80000000)) != 0 );
+
/* the pHalInfo->ddCaps.ddsCaps.dwCaps & DDSCAPS_3DDEVICE will be ignore, only way detect it proper follow code,
* this will be fill in of all drv, it is not only for 3d stuff, this always fill by win32k.sys or dxg.sys depns
Author: greatlrd
Date: Sun May 4 13:05:32 2008
New Revision: 33275
URL: http://svn.reactos.org/svn/reactos?rev=33275&view=rev
Log:
fixed some typo and stefan100 suggest to remove a #ifdef statement
Modified:
trunk/reactos/include/reactos/drivers/directx/directxint.h
Modified: trunk/reactos/include/reactos/drivers/directx/directxint.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/drivers/di…
==============================================================================
--- trunk/reactos/include/reactos/drivers/directx/directxint.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/drivers/directx/directxint.h [iso-8859-1] Sun May 4 13:05:32 2008
@@ -124,7 +124,7 @@
*/
/* 0x024 */ ULONG unk_024;
-#ifdef _WIN32
+
/* 0x028 */ LARGE_INTEGER llAssertModeTimeout; /* 0x028 <-- verified to match Windows XP, llAssertModeTimeout, it
using regkey
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\DCI
@@ -132,19 +132,16 @@
in second, if this value are set to 0 it disable directdraw acclatrions.
it is normal set to 7 (7 sec in windwos xp/2003)
*/
-#else
-/* 0x028 */ DWORD llAssertModeTimeoutLowPart;
-/* 0x02C */ DWORD llAssertModeTimeoutHighPart;
-#endif
+
/* 0x030 */ DWORD dwNumHeaps; // 0x030 <-- verified to match Windows XP, dwNumHeaps
/* 0x034 */ VIDEOMEMORY *pvmList; // 0x034 <-- verified to match Windows XP, pvmList
-/* 0x038 */ DWORD dwNumFourCC;
-/* 0x03C */ PDWORD pdwFourCC;
+/* 0x038 */ DWORD dwNumFourCC; // 0x038 <-- verified to match Windows XP, dwNumFourCC
+/* 0x03C */ PDWORD pdwFourCC; // 0x03C <-- verified to match Windows XP, pdwFourCC
/* 0x040 */ DD_HALINFO ddHalInfo; // 0x040 <-- verified to match Windows XP, ddHalInfo
/* 0x1E0 */ ULONG unk_1e0[46];
/* 0x298 */ DD_CALLBACKS ddCallbacks; // 0x298 <-- verified to match Windows XP, ddCallbacks
/* 0x2C4 */ DD_SURFACECALLBACKS ddSurfaceCallbacks; // 0x2C4 <-- verified to match Windows XP, ddSurfaceCallbacks
-/* 0x300 */ DD_PALETTECALLBACKS ddPaletteCallbacks; // 0x300 <-- verified to match Windows XP, ddPaletteCallbacks
+/* 0x304 */ DD_PALETTECALLBACKS ddPaletteCallbacks; // 0x304 <-- verified to match Windows XP, ddPaletteCallbacks
/* 0x314 */ ULONG unk_314[46];
/* 0x3D4 */ D3DNTHAL_CALLBACKS d3dNtHalCallbacks;
/* 0x460 */ ULONG unk_460[9];