Author: hpoussin
Date: Fri May 8 14:29:31 2009
New Revision: 40836
URL: http://svn.reactos.org/svn/reactos?rev=40836&view=rev
Log:
Revert part of r40686
See issue #4471 for more details.
Modified:
trunk/reactos/boot/freeldr/freeldr/ui/tuimenu.c
Modified: trunk/reactos/boot/freeldr/freeldr/ui/tuimenu.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/ui/tu…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/ui/tuimenu.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/ui/tuimenu.c [iso-8859-1] Fri May 8 14:29:31 2009
@@ -23,7 +23,6 @@
UiMenuKeyPressFilterCallback KeyPressFilter)
{
UI_MENU_INFO MenuInformation;
- ULONG InitialClockSecond;
ULONG LastClockSecond;
ULONG CurrentClockSecond;
ULONG KeyPress;
@@ -60,7 +59,7 @@
//
// Get the current second of time
//
- InitialClockSecond = LastClockSecond = ArcGetRelativeTime();
+ LastClockSecond = ArcGetTime()->Second;
//
// Process keys
@@ -88,12 +87,12 @@
//
// Check if there is a countdown
//
- if (MenuInformation.MenuTimeRemaining != -1)
- {
- //
- // Get the updated time
- //
- CurrentClockSecond = ArcGetRelativeTime();
+ if (MenuInformation.MenuTimeRemaining)
+ {
+ //
+ // Get the updated time, seconds only
+ //
+ CurrentClockSecond = ArcGetTime()->Second;
//
// Check if more then a second has now elapsed
@@ -104,10 +103,7 @@
// Update the time information
//
LastClockSecond = CurrentClockSecond;
- MenuInformation.MenuTimeRemaining =
- InitialClockSecond + MenuTimeOut - LastClockSecond;
- if (MenuInformation.MenuTimeRemaining < 0)
- MenuInformation.MenuTimeRemaining = 0;
+ MenuInformation.MenuTimeRemaining--;
//
// Update the menu
@@ -116,7 +112,7 @@
VideoCopyOffScreenBufferToVRAM();
}
}
- else if (MenuInformation.MenuTimeRemaining == 0)
+ else
{
//
// A time out occurred, exit this loop and return default OS
Author: dreimer
Date: Fri May 8 02:10:52 2009
New Revision: 40831
URL: http://svn.reactos.org/svn/reactos?rev=40831&view=rev
Log:
Cosmetic fixes for MinGW Default Environment.
Readme got new pics.
Except the GCC from Colin I am ready for 1.4.2 now, I think.
Modified:
trunk/tools/RosBE/RosBE-Windows/Powershell/MinGW.ps1
trunk/tools/RosBE/RosBE-Windows/Powershell/version.ps1
trunk/tools/RosBE/RosBE-Windows/Root/MinGW.cmd
trunk/tools/RosBE/RosBE-Windows/Root/README.odt
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/MinGW.ps1
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/MinGW.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/MinGW.ps1 [iso-8859-1] Fri May 8 02:10:52 2009
@@ -24,11 +24,8 @@
$global:_ROSBE_HOST_MINGWPATH = "$_ROSBE_BASEDIR\i386"
$global:_ROSBE_TARGET_MINGWPATH = "$_ROSBE_BASEDIR\i386"
-""
-""
& "$_ROSBE_BASEDIR\rosbe-gcc-env.ps1"
-""
-""
+& "$_ROSBE_BASEDIR\version.ps1"
#
# Get the number of CPUs in the system so we know how many jobs to execute.
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/version.ps1
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/version.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/version.ps1 [iso-8859-1] Fri May 8 02:10:52 2009
@@ -8,7 +8,8 @@
(get-WmiObject Win32_OperatingSystem).caption
-(select-string -path .\gcctvers.tmp "gcc version") -replace ".*: (.+?)\b",'$1'
+(select-string -path .\gcctvers.tmp "gcc version") -replace ".*: (.+?)\b",'$1' | % { $str = $_ -replace '^.*14:',''}
+$str
"gcc target - $_ROSBE_GCCTARGET"
remove-item gcctvers.tmp
Modified: trunk/tools/RosBE/RosBE-Windows/Root/MinGW.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Min…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/MinGW.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/MinGW.cmd [iso-8859-1] Fri May 8 02:10:52 2009
@@ -28,11 +28,8 @@
set _ROSBE_HOST_MINGWPATH=%_ROSBE_BASEDIR%\i386
set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\i386
-echo.
-echo.
call "%_ROSBE_BASEDIR%\rosbe-gcc-env.cmd"
-echo.
-echo.
+call "%_ROSBE_BASEDIR%\version.cmd"
::
:: Get the number of CPUs in the system so we know how many jobs to execute.
Modified: trunk/tools/RosBE/RosBE-Windows/Root/README.odt
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/REA…
==============================================================================
Binary files - no diff available.