Author: dreimer
Date: Tue Jul 15 10:05:47 2008
New Revision: 34528
URL: http://svn.reactos.org/svn/reactos?rev=34528&view=rev
Log:
Add the REALLY needed warnings that a SVN Update, Cleanup etc takes a while. Otherwise the app looks like hung up.
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/sSVN.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/sSVN.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/sSV…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/sSVN.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/sSVN.cmd [iso-8859-1] Tue Jul 15 10:05:47 2008
@@ -23,7 +23,9 @@
:: These two are directly parsed to svn.
::
if /i "%1" == "update" (
- title Updating...
+ title SVN Updating...
+ echo This might take a while, so please be patient.
+ echo.
if not "%2" == "" (
"%_ROSBE_BASEDIR%\Tools\svn.exe" update -r %2
) else (
@@ -32,7 +34,9 @@
goto :EOC
)
if /i "%1" == "cleanup" (
- title Cleaning...
+ title SVN Cleaning...
+ echo This might take a while, so please be patient.
+ echo.
"%_ROSBE_BASEDIR%\Tools\svn.exe" cleanup
goto :EOC
)
@@ -41,7 +45,7 @@
::
if /i "%1" == "create" (
- title Creating...
+ title SVN Creating...
if exist ".svn\." (
echo ERROR: Folder already cotains a reposority.
goto :EOC
@@ -59,7 +63,9 @@
:: its up to date or not.
::
if /i "%1" == "status" (
- title Status
+ title SVN Status
+ echo This might take a while, so please be patient.
+ echo.
for /f "usebackq tokens=2" %%i in (`""%_ROSBE_BASEDIR%\Tools\svn.exe" info | find "Revision:""`) do set OFFSVN=%%i
for /f "usebackq tokens=2" %%j in (`""%_ROSBE_BASEDIR%\Tools\svn.exe" info svn://svn.reactos.org/reactos/trunk/reactos | find "Revision:""`) do set ONSVN=%%j
call :UP
Author: fireball
Date: Tue Jul 15 08:32:18 2008
New Revision: 34521
URL: http://svn.reactos.org/svn/reactos?rev=34521&view=rev
Log:
Yuriy Sidorov <jura(a)cp-lab.com>
- Speed-up user mode exception handling by calling RtlDispatchException() first if there is no active user mode debugger. This avoids switches to kernel mode if exception can be handled by SEH.
See issue #3485 for more details.
Modified:
trunk/reactos/lib/rtl/exception.c
Modified: trunk/reactos/lib/rtl/exception.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/exception.c?rev=34…
==============================================================================
--- trunk/reactos/lib/rtl/exception.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/exception.c [iso-8859-1] Tue Jul 15 08:32:18 2008
@@ -41,8 +41,8 @@
/* Write the context flag */
Context.ContextFlags = CONTEXT_FULL;
- /* Check mode */
- if (RtlpGetMode() == UserMode)
+ /* Check if user mode debugger is active */
+ if (RtlpCheckForActiveDebugger(FALSE))
{
/* Raise an exception immediately */
Status = ZwRaiseException(ExceptionRecord, &Context, TRUE);
@@ -94,8 +94,8 @@
/* Write the context flag */
Context.ContextFlags = CONTEXT_FULL;
- /* Check mode */
- if (RtlpGetMode() == UserMode)
+ /* Check if user mode debugger is active */
+ if (RtlpCheckForActiveDebugger(FALSE))
{
/* Raise an exception immediately */
ZwRaiseException(&ExceptionRecord, &Context, TRUE);
Author: fireball
Date: Tue Jul 15 08:20:38 2008
New Revision: 34520
URL: http://svn.reactos.org/svn/reactos?rev=34520&view=rev
Log:
Stefan Ginsberg <stefan__100__(a)hotmail.com>
- Remove a hack in the executive handle implementation, which worked around a memory corruption bug. Revision 32770 should have fixed the bug hidden by this hack.
See issue #3512 for more details.
Modified:
trunk/reactos/ntoskrnl/ex/handle.c
Modified: trunk/reactos/ntoskrnl/ex/handle.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/handle.c?rev=3…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/handle.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ex/handle.c [iso-8859-1] Tue Jul 15 08:20:38 2008
@@ -1274,8 +1274,7 @@
/* Validate the entry */
if ((HandleTableEntry) &&
(HandleTableEntry->Object) &&
- (HandleTableEntry->NextFreeTableEntry != -2) &&
- (HandleTableEntry->Object != (PVOID)0xCDCDCDCD)) // HACK OF ETERNAL LAPDANCE
+ (HandleTableEntry->NextFreeTableEntry != -2))
{
/* Lock the entry */
if (ExpLockHandleTableEntry(HandleTable, HandleTableEntry))