Author: dreimer
Date: Tue Jun 30 00:44:05 2009
New Revision: 41699
URL:
http://svn.reactos.org/svn/reactos?rev=41699&view=rev
Log:
Added a setting to reenable the Version show up stuff. For all the guys out there who
loved it.
Fixed a bug in options.ps1.
Modified:
trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1
trunk/tools/RosBE/RosBE-Windows/Powershell/options.ps1
trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/de-DE.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/en-US.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/es-ES.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/fr-FR.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/pl-PL.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/ru-RU.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/uk-UA.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/options64.c
trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/options64.h
trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/resources.h
trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/de-DE.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/en-US.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/es-ES.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/fr-FR.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/pl-PL.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/ru-RU.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/uk-UA.rc
trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/options.c
trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/options.h
trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/resources.h
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1 [iso-8859-1] Tue Jun 30 00:44:05
2009
@@ -37,6 +37,7 @@
$global:_ROSBE_USECCACHE = 0
$global:_ROSBE_STRIP = 0
$global:_ROSBE_NOSTRIP = 0
+$global:_ROSBE_SHOWVERSION = 0
$global:_ROSBE_LOGDIR = "$pwd\RosBE-Logs"
$global:_ROSBE_HOST_MINGWPATH = "$_ROSBE_BASEDIR\i386"
$global:_ROSBE_TARGET_MINGWPATH = "$_ROSBE_BASEDIR\$ENV:ROS_ARCH"
@@ -155,6 +156,9 @@
if (Test-Path "$_ROSBE_BASEDIR\scut.ps1") {
& "$_ROSBE_BASEDIR\scut.ps1"
}
+if ($_ROSBE_SHOWVERSION -eq "1") {
+ & "$_ROSBE_BASEDIR\version.ps1"
+}
# Tell how to display the available commands.
""
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/options.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/options.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/options.ps1 [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -12,10 +12,10 @@
if ("$ROS_ARCH" -eq "amd64") {
$options="$_ROSBE_BASEDIR\Tools\options64.exe"
- $cfgfile="$ENV:APPDATA\RosBE\rosbe-options-amd64.cmd"
+ $cfgfile="$ENV:APPDATA\RosBE\rosbe-options-amd64.ps1"
} else {
$options="$_ROSBE_BASEDIR\Tools\options.exe"
- $cfgfile="$ENV:APPDATA\RosBE\rosbe-options.cmd"
+ $cfgfile="$ENV:APPDATA\RosBE\rosbe-options.ps1"
}
# Run options.exe
Modified: trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Ros…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/RosBE.cmd [iso-8859-1] Tue Jun 30 00:44:05 2009
@@ -40,6 +40,7 @@
set _ROSBE_LOGDIR=%CD%\RosBE-Logs
set _ROSBE_OBJPATH=
set _ROSBE_OUTPATH=
+set _ROSBE_SHOWVERSION=0
set _ROSBE_HOST_MINGWPATH=%_ROSBE_BASEDIR%\i386
set _ROSBE_TARGET_MINGWPATH=%_ROSBE_BASEDIR%\%ROS_ARCH%
set _ROSBE_ORIGINALPATH=%_ROSBE_HOST_MINGWPATH%\bin;%PATH%
@@ -105,6 +106,9 @@
if exist "%_ROSBE_BASEDIR%\scut.cmd" (
call "%_ROSBE_BASEDIR%\scut.cmd"
)
+if "%_ROSBE_SHOWVERSION%" == "1" (
+ call "%_ROSBE_BASEDIR%\version.cmd"
+)
:: Tell how to display the available commands.
echo.
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/de-DE.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/de-DE.rc [iso-8859-1] Tue Jun
30 00:44:05 2009
@@ -13,7 +13,8 @@
CONTROL "Kompilierdauer anzeigen", ID_SHOWBUILDTIME, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "CCache benutzen", ID_USECCACHE, "button", BS_AUTOCHECKBOX
| WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Daten strippen", ID_STRIP, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Nostrip Dateien zum Debuggen erzeugen", ID_NOSTRIP,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
+ CONTROL "Nostrip Dateien zum Debuggen erzeugen", ID_NOSTRIP,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
+ CONTROL "Versions Header anzeigen", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "Pfad zu MinGW/GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -75,4 +76,5 @@
HLP_QUITBUTTON, "Dieser Button lässt Sie das Programm, ohne die Konfiguration zu
speichern, beenden."
HLP_DEFAULTMSG, "Bewegen Sie sich über eine Fläche um Hilfe zu erhalten."
HLP_NOSTRIP, "Erzeugt Debuginformation für den ReactOS Debugger."
+ HLP_VERSION, "Zeige die Versionen der RosBE Komponenten."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/en-US.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/en-US.rc [iso-8859-1] Tue Jun
30 00:44:05 2009
@@ -13,7 +13,8 @@
CONTROL "Show Build Time", ID_SHOWBUILDTIME, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "Use CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Strip Output", ID_STRIP, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
+ CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
+ CONTROL "Show Versions Header", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "Path to MinGW/GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -75,4 +76,5 @@
HLP_QUITBUTTON, "This button lets you quit configuration without saving."
HLP_DEFAULTMSG, "Hover over a control to get help."
HLP_NOSTRIP, "Creates debug information for the ReactOS Debugger."
+ HLP_VERSION, "Show the Versions of the RosBE Components."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/es-ES.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/es-ES.rc [iso-8859-1] Tue Jun
30 00:44:05 2009
@@ -13,7 +13,8 @@
CONTROL "Mostrar tiempo de creación", ID_SHOWBUILDTIME, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "Usar CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Limpiar salida", ID_STRIP, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Cree archivos no limpios para depuración", ID_NOSTRIP,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
+ CONTROL "Cree archivos no limpios para depuración", ID_NOSTRIP,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
+ CONTROL "Show Versions Header", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "Ruta de MinGW/GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -75,4 +76,5 @@
HLP_QUITBUTTON, "Este botón le permite salir de la configuración sin guardar los
cambios."
HLP_DEFAULTMSG, "Situese sobre un control para obtener ayuda."
HLP_NOSTRIP, "Crea información de depuración para el ReactOS Debugger."
+ HLP_VERSION, "Show the Versions of the RosBE Components."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/fr-FR.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/fr-FR.rc [iso-8859-1] Tue Jun
30 00:44:05 2009
@@ -13,7 +13,8 @@
CONTROL "Montrer le temps de compilation", ID_SHOWBUILDTIME,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 110, 12
CONTROL "Utiliser CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX
| WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Optimiser les fichiers", ID_STRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
+ CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
+ CONTROL "Show Versions Header", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "Chemin vers MinGW/GCC", -1, 10, 107, 110, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -75,4 +76,5 @@
HLP_QUITBUTTON, "Ce bouton vous permet de quitter la configuration sans
sauvegarder."
HLP_DEFAULTMSG, "Passez sur un contrôle pour avoir de l'aide."
HLP_NOSTRIP, "Creates debug information for the ReactOS Debugger."
+ HLP_VERSION, "Show the Versions of the RosBE Components."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/pl-PL.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/pl-PL.rc [iso-8859-1] Tue Jun
30 00:44:05 2009
@@ -13,7 +13,8 @@
CONTROL "Poka¿ czas budowania", ID_SHOWBUILDTIME, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "U¿yj CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Usuñ dane debugowania", ID_STRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Utwórz pliki nostrip dla debugowania", ID_NOSTRIP,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
+ CONTROL "Utwórz pliki nostrip dla debugowania", ID_NOSTRIP,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
+ CONTROL "Show Versions Header", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "cie¿ka do MinGW/GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -75,4 +76,5 @@
HLP_QUITBUTTON, "Przycisk pozwala na wyjcie bez zapisania ustawieñ."
HLP_DEFAULTMSG, "Najed na element, aby uzyskaæ pomoc."
HLP_NOSTRIP, "Utwórz informacje debugowania dla Debuggera ReactOS."
+ HLP_VERSION, "Show the Versions of the RosBE Components."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/ru-RU.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/ru-RU.rc [iso-8859-1] Tue Jun
30 00:44:05 2009
@@ -15,7 +15,8 @@
CONTROL "Îòîáðàæàòü âðåìÿ êîìïèëÿöèè", ID_SHOWBUILDTIME, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "Èñïîëüçîâàòü êåøèðîâàíèå", ID_USECCACHE, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Âûðåçàòü ïóñòîé êîä ïðè êîìïèë.", ID_STRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Îñòàâëÿòü â ôàéëàõ èíôîðìàöèþ äëÿ âîçìîæíîñòè ðàáîòû äåáàãåðà",
ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10,
90, 150, 12
+ CONTROL "Îñòàâëÿòü â ôàéëàõ èíôîðìàöèþ äëÿ âîçìîæíîñòè ðàáîòû äåáàãåðà",
ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10,
90, 145, 12
+ CONTROL "Show Versions Header", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "Ïóòü ê êîìïèëÿòîðó GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -77,4 +78,5 @@
HLP_QUITBUTTON, "Ýòî êëàâèøà ïîçâîëÿåò âûéòè áåç ñîõðàíåíèÿ èçìåíåíèé"
HLP_DEFAULTMSG, "Ïîìîùü ïî èçíà÷àëüíûì ïàðàìåòðàì"
HLP_NOSTRIP, "Êîìïèëÿöèÿ ôàéëîâ ReactOS'à ñ ñîçäàíèåì èíôîðìàöèè äëÿ
äåáàãåðà."
+ HLP_VERSION, "Show the Versions of the RosBE Components."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/uk-UA.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/lang/uk-UA.rc [iso-8859-1] Tue Jun
30 00:44:05 2009
@@ -21,7 +21,8 @@
CONTROL "³äîáðàæàòè ÷àñ êîìï³ëÿö³¿", ID_SHOWBUILDTIME, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "Âèêîðèñòîâóâàòè CCache", ID_USECCACHE, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Strip Output", ID_STRIP, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
+ CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
+ CONTROL "Show Versions Header", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "Øëÿõ äî MinGW/GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -83,4 +84,5 @@
HLP_QUITBUTTON, "Öå êíîïêà äîçâîëÿº âèéòè ç êîíô³ãóðóâàííÿ áåç çáåðåæåííÿ
çì³í."
HLP_DEFAULTMSG, "Íàâåä³òü âêàç³âíèê ìèø³ íà åëåìåíò êåðóâàííÿ, ùîá îòðèìàòè
äîâ³äêó."
HLP_NOSTRIP, "Creates debug information for the ReactOS Debugger."
+ HLP_VERSION, "Show the Versions of the RosBE Components."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/options64.c
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/options64.c [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/options64.c [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -77,7 +77,7 @@
WriteSettings(POPTIONS_DLG infoPtr)
{
INT foreground, background;
- BOOL showtime, writelog, useccache, strip, nostrip, objstate, outstate;
+ BOOL showtime, writelog, useccache, strip, nostrip, objstate, outstate, showversion;
WCHAR logdir[MAX_PATH], objdir[MAX_PATH], outdir[MAX_PATH], mingwpath[MAX_PATH],
checkmgw[MAX_PATH];
WCHAR msgerror[256];
HANDLE hFile;
@@ -90,6 +90,7 @@
nostrip = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_NOSTRIP, BM_GETCHECK, 0, 0) ==
BST_CHECKED);
objstate = (SendDlgItemMessage(infoPtr->hwndDlg, ID_OTHEROBJ, BM_GETCHECK, 0, 0)
== BST_CHECKED);
outstate = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_OTHEROUT, BM_GETCHECK, 0, 0)
== BST_CHECKED);
+ showversion = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_SHOWVERSION, BM_GETCHECK,
0, 0) == BST_CHECKED);
foreground = (INT) SendDlgItemMessageW(infoPtr->hwndDlg, IDC_FONT, CB_GETCURSEL,
0, 0);
background = (INT) SendDlgItemMessageW(infoPtr->hwndDlg, IDC_BACK, CB_GETCURSEL,
0, 0);
GetDlgItemTextW(infoPtr->hwndDlg, ID_LOGDIR, logdir, MAX_PATH);
@@ -136,6 +137,7 @@
fwprintf(pFilecmd, L"set _ROSBE_STRIP=%d\n", strip);
fwprintf(pFilecmd, L"set _ROSBE_NOSTRIP=%d\n", nostrip);
fwprintf(pFilecmd, L"set _ROSBE_WRITELOG=%d\n", writelog);
+ fwprintf(pFilecmd, L"set _ROSBE_SHOWVERSION=%d\n", showversion);
if (logdir[0] != 0) fwprintf(pFilecmd, L"set _ROSBE_LOGDIR=%s\n",
logdir);
if (mingwpath[0] != 0) fwprintf(pFilecmd, L"set
_ROSBE_TARGET_MINGWPATH=%s\n", mingwpath);
if ((objdir[0] != 0) && objstate) fwprintf(pFilecmd, L"set
_ROSBE_OBJPATH=%s\n", objdir);
@@ -151,15 +153,16 @@
fwprintf(pFileps1, L"(Get-Host).UI.RawUI.ForegroundColor = 0x%X\n",
foreground);
fwprintf(pFileps1, L"(Get-Host).UI.RawUI.BackgroundColor = 0x%X\n",
background);
fwprintf(pFileps1, L"clear-host\n");
- fwprintf(pFileps1, L"$_ROSBE_SHOWTIME = %d\n", showtime);
- fwprintf(pFileps1, L"$_ROSBE_USECCACHE = %d\n", useccache);
- fwprintf(pFileps1, L"$_ROSBE_STRIP = %d\n", strip);
- fwprintf(pFileps1, L"$_ROSBE_NOSTRIP = %d\n", nostrip);
- fwprintf(pFileps1, L"$_ROSBE_WRITELOG = %d\n", writelog);
- if (logdir[0] != 0) fwprintf(pFileps1, L"$_ROSBE_LOGDIR =
\"%s\"\n", logdir);
- if (mingwpath[0] != 0) fwprintf(pFileps1, L"$_ROSBE_TARGET_MINGWPATH =
\"%s\"\n", mingwpath);
- if ((objdir[0] != 0) && objstate) fwprintf(pFileps1,
L"$_ROSBE_OBJPATH = \"%s\"\n", objdir);
- if ((outdir[0] != 0) && outstate) fwprintf(pFileps1,
L"$_ROSBE_OUTPATH = \"%s\"\n", outdir);
+ fwprintf(pFileps1, L"$global:_ROSBE_SHOWTIME = %d\n", showtime);
+ fwprintf(pFileps1, L"$global:_ROSBE_USECCACHE = %d\n", useccache);
+ fwprintf(pFileps1, L"$global:_ROSBE_STRIP = %d\n", strip);
+ fwprintf(pFileps1, L"$global:_ROSBE_NOSTRIP = %d\n", nostrip);
+ fwprintf(pFileps1, L"$global:_ROSBE_WRITELOG = %d\n", writelog);
+ fwprintf(pFileps1, L"$global:_ROSBE_SHOWVERSION = %d\n", showversion);
+ if (logdir[0] != 0) fwprintf(pFileps1, L"$global:_ROSBE_LOGDIR =
\"%s\"\n", logdir);
+ if (mingwpath[0] != 0) fwprintf(pFileps1, L"$global:_ROSBE_HOST_MINGWPATH =
\"%s\"\n", mingwpath);
+ if ((objdir[0] != 0) && objstate) fwprintf(pFileps1,
L"$global:_ROSBE_OBJPATH = \"%s\"\n", objdir);
+ if ((outdir[0] != 0) && outstate) fwprintf(pFileps1,
L"$global:_ROSBE_OUTPATH = \"%s\"\n", outdir);
}
if (pFilecmd && pFileps1)
@@ -224,6 +227,8 @@
LoadedSettings->nostrip = wcstol(ptr2, NULL, 2);
else if (wcscmp(ptr, L"_ROSBE_WRITELOG") == 0)
LoadedSettings->writelog = wcstol(ptr2, NULL, 2);
+ else if (wcscmp(ptr, L"_ROSBE_SHOWVERSION") == 0)
+ LoadedSettings->showversion = wcstol(ptr2, NULL, 2);
else if (wcscmp(ptr, L"_ROSBE_LOGDIR") == 0)
wcsncpy(LoadedSettings->logdir, ptr2, wcslen(ptr2)-1);
else if (wcscmp(ptr, L"_ROSBE_TARGET_MINGWPATH") == 0)
@@ -244,6 +249,7 @@
LoadedSettings->background = 0;
LoadedSettings->showtime = 1;
LoadedSettings->writelog = 1;
+ LoadedSettings->showversion = 0;
GetCurrentDirectory(MAX_PATH, LoadedSettings->mingwpath);
if ((wcslen(LoadedSettings->mingwpath) + wcslen(MINGWVERSION)) < MAX_PATH)
wcscat(LoadedSettings->mingwpath, MINGWVERSION);
@@ -254,6 +260,7 @@
SendDlgItemMessageW(infoPtr->hwndDlg, IDC_FONT, CB_SETCURSEL,
LoadedSettings->foreground, 0);
SendDlgItemMessageW(infoPtr->hwndDlg, IDC_BACK, CB_SETCURSEL,
LoadedSettings->background, 0);
SendDlgItemMessage(infoPtr->hwndDlg, ID_SHOWBUILDTIME, BM_SETCHECK,
LoadedSettings->showtime, 0);
+ SendDlgItemMessage(infoPtr->hwndDlg, ID_SHOWVERSION, BM_SETCHECK,
LoadedSettings->showversion, 0);
SendDlgItemMessage(infoPtr->hwndDlg, ID_SAVELOGS, BM_SETCHECK,
LoadedSettings->writelog, 0);
if (LoadedSettings->writelog)
{
@@ -286,7 +293,7 @@
VOID SetSaveState(POPTIONS_DLG infoPtr)
{
INT foreground, background;
- BOOL showtime, writelog, useccache, strip, nostrip, objstate, outstate;
+ BOOL showtime, writelog, useccache, strip, nostrip, objstate, outstate, showversion;
WCHAR logdir[MAX_PATH], objdir[MAX_PATH], outdir[MAX_PATH], mingwpath[MAX_PATH];
BOOL StateObj = TRUE, StateOut = TRUE, StateLog = TRUE, State = TRUE;
PSETTINGS DefaultSettings = &infoPtr->Settings;
@@ -298,6 +305,7 @@
nostrip = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_NOSTRIP, BM_GETCHECK, 0, 0) ==
BST_CHECKED);
objstate = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_OTHEROBJ, BM_GETCHECK, 0, 0)
== BST_CHECKED);
outstate = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_OTHEROUT, BM_GETCHECK, 0, 0)
== BST_CHECKED);
+ showversion = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_SHOWVERSION, BM_GETCHECK,
0, 0) == BST_CHECKED);
foreground = (INT) SendDlgItemMessageW(infoPtr->hwndDlg, IDC_FONT, CB_GETCURSEL,
0, 0);
background = (INT) SendDlgItemMessageW(infoPtr->hwndDlg, IDC_BACK, CB_GETCURSEL,
0, 0);
GetDlgItemTextW(infoPtr->hwndDlg, ID_LOGDIR, logdir, MAX_PATH);
@@ -320,7 +328,7 @@
(useccache == DefaultSettings->useccache) && (strip ==
DefaultSettings->strip) &&
(objstate == DefaultSettings->objstate) && (outstate ==
DefaultSettings->outstate) &&
(StateLog) && (wcscmp(mingwpath, DefaultSettings->mingwpath) == 0)
&&
- (StateObj) && (StateOut) && (nostrip ==
DefaultSettings->nostrip));
+ (StateObj) && (StateOut) && (nostrip ==
DefaultSettings->nostrip) && (showversion ==
DefaultSettings->showversion));
EnableWindow(GetDlgItem(infoPtr->hwndDlg, ID_OK), State);
}
@@ -425,6 +433,7 @@
{ID_BROWSEOBJ, HLP_FINDOBJDIR},
{ID_OTHEROBJ, HLP_FINDOBJDIR},
{ID_OUTDIR, HLP_FINDOUTDIR},
+ {ID_SHOWVERSION, HLP_VERSION},
{ID_BROWSEOUT, HLP_FINDOUTDIR},
{ID_OTHEROUT, HLP_FINDOUTDIR},
{ID_OK, HLP_SAVEBUTTON},
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/options64.h
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/options64.h [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/options64.h [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -31,6 +31,7 @@
BOOL writelog;
BOOL objstate;
BOOL outstate;
+ BOOL showversion;
}
SETTINGS, *PSETTINGS;
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/resources.h
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/resources.h [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/amd64/resources.h [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -50,32 +50,34 @@
#define IDC_BACK 0x25
#define ID_STATUSBAR 0x26
#define ID_NOSTRIP 0x27
+#define ID_SHOWVERSION 0x28
/* Strings */
-#define MSG_NOGCCFOUND 0x27
-#define MSG_CMDFFAILED 0x28
-#define MSG_PS1FFAILED 0x29
-#define MSG_DIREFAILED 0x2a
-#define MSG_SETLOADSUC 0x2b
-#define MSG_FINDLOGDIR 0x2c
-#define MSG_FINDMGWDIR 0x2d
-#define MSG_FINDOBJDIR 0x2e
-#define MSG_FINDOUTDIR 0x2f
-#define MSG_WARNINGBOX 0x30
-#define MSG_EXITCHANGE 0x31
-#define MSG_INVALIDDIR 0x32
+#define MSG_NOGCCFOUND 0x29
+#define MSG_CMDFFAILED 0x2a
+#define MSG_PS1FFAILED 0x2b
+#define MSG_DIREFAILED 0x2c
+#define MSG_SETLOADSUC 0x2d
+#define MSG_FINDLOGDIR 0x2e
+#define MSG_FINDMGWDIR 0x2f
+#define MSG_FINDOBJDIR 0x30
+#define MSG_FINDOUTDIR 0x31
+#define MSG_WARNINGBOX 0x32
+#define MSG_EXITCHANGE 0x33
+#define MSG_INVALIDDIR 0x34
/* Help Strings */
-#define HLP_BACKCOLORC 0x33
-#define HLP_FONTCOLORC 0x34
-#define HLP_SBUILDTIME 0x35
-#define HLP_CCACHEUSED 0x36
-#define HLP_STRIPEDEXE 0x37
-#define HLP_FINDMGWDIR 0x38
-#define HLP_FINDLOGDIR 0x39
-#define HLP_FINDOBJDIR 0x3a
-#define HLP_FINDOUTDIR 0x3b
-#define HLP_SAVEBUTTON 0x3c
-#define HLP_QUITBUTTON 0x3d
-#define HLP_DEFAULTMSG 0x3e
-#define HLP_NOSTRIP 0x3f
+#define HLP_BACKCOLORC 0x35
+#define HLP_FONTCOLORC 0x36
+#define HLP_SBUILDTIME 0x37
+#define HLP_CCACHEUSED 0x38
+#define HLP_STRIPEDEXE 0x39
+#define HLP_FINDMGWDIR 0x3a
+#define HLP_FINDLOGDIR 0x3b
+#define HLP_FINDOBJDIR 0x3c
+#define HLP_FINDOUTDIR 0x3d
+#define HLP_SAVEBUTTON 0x3e
+#define HLP_QUITBUTTON 0x3f
+#define HLP_DEFAULTMSG 0x40
+#define HLP_NOSTRIP 0x41
+#define HLP_VERSION 0x42
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/de-DE.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/de-DE.rc [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -13,7 +13,8 @@
CONTROL "Kompilierdauer anzeigen", ID_SHOWBUILDTIME, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "CCache benutzen", ID_USECCACHE, "button", BS_AUTOCHECKBOX
| WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Daten strippen", ID_STRIP, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Nostrip Dateien zum Debuggen erzeugen", ID_NOSTRIP,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
+ CONTROL "Nostrip Dateien zum Debuggen erzeugen", ID_NOSTRIP,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
+ CONTROL "Versions Header anzeigen", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "Pfad zu MinGW/GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -75,4 +76,5 @@
HLP_QUITBUTTON, "Dieser Button lässt Sie das Programm, ohne die Konfiguration zu
speichern, beenden."
HLP_DEFAULTMSG, "Bewegen Sie sich über eine Fläche um Hilfe zu erhalten."
HLP_NOSTRIP, "Erzeugt Debuginformation für den ReactOS Debugger."
+ HLP_VERSION, "Zeige die Versionen der RosBE Komponenten."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/en-US.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/en-US.rc [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -13,7 +13,8 @@
CONTROL "Show Build Time", ID_SHOWBUILDTIME, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "Use CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Strip Output", ID_STRIP, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
+ CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
+ CONTROL "Show Versions Header", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "Path to MinGW/GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -75,4 +76,5 @@
HLP_QUITBUTTON, "This button lets you quit configuration without saving."
HLP_DEFAULTMSG, "Hover over a control to get help."
HLP_NOSTRIP, "Creates debug information for the ReactOS Debugger."
+ HLP_VERSION, "Show the Versions of the RosBE Components."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/es-ES.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/es-ES.rc [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -13,7 +13,8 @@
CONTROL "Mostrar tiempo de creación", ID_SHOWBUILDTIME, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "Usar CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Limpiar salida", ID_STRIP, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Cree archivos no limpios para depuración", ID_NOSTRIP,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
+ CONTROL "Cree archivos no limpios para depuración", ID_NOSTRIP,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
+ CONTROL "Show Versions Header", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "Ruta de MinGW/GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -75,4 +76,5 @@
HLP_QUITBUTTON, "Este botón le permite salir de la configuración sin guardar los
cambios."
HLP_DEFAULTMSG, "Situese sobre un control para obtener ayuda."
HLP_NOSTRIP, "Crea información de depuración para el ReactOS Debugger."
+ HLP_VERSION, "Show the Versions of the RosBE Components."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/fr-FR.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/fr-FR.rc [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -13,7 +13,8 @@
CONTROL "Montrer le temps de compilation", ID_SHOWBUILDTIME,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 110, 12
CONTROL "Utiliser CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX
| WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Optimiser les fichiers", ID_STRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
+ CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
+ CONTROL "Show Versions Header", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "Chemin vers MinGW/GCC", -1, 10, 107, 110, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -75,4 +76,5 @@
HLP_QUITBUTTON, "Ce bouton vous permet de quitter la configuration sans
sauvegarder."
HLP_DEFAULTMSG, "Passez sur un contrôle pour avoir de l'aide."
HLP_NOSTRIP, "Creates debug information for the ReactOS Debugger."
+ HLP_VERSION, "Show the Versions of the RosBE Components."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/pl-PL.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/pl-PL.rc [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -13,7 +13,8 @@
CONTROL "Poka¿ czas budowania", ID_SHOWBUILDTIME, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "U¿yj CCache", ID_USECCACHE, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Usuñ dane debugowania", ID_STRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Utwórz pliki nostrip dla debugowania", ID_NOSTRIP,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
+ CONTROL "Utwórz pliki nostrip dla debugowania", ID_NOSTRIP,
"button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
+ CONTROL "Show Versions Header", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "cie¿ka do MinGW/GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -75,4 +76,5 @@
HLP_QUITBUTTON, "Przycisk pozwala na wyjcie bez zapisania ustawieñ."
HLP_DEFAULTMSG, "Najed na element, aby uzyskaæ pomoc."
HLP_NOSTRIP, "Utwórz informacje debugowania dla Debuggera ReactOS."
+ HLP_VERSION, "Show the Versions of the RosBE Components."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/ru-RU.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/ru-RU.rc [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -15,7 +15,8 @@
CONTROL "Îòîáðàæàòü âðåìÿ êîìïèëÿöèè", ID_SHOWBUILDTIME, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "Èñïîëüçîâàòü êåøèðîâàíèå", ID_USECCACHE, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Âûðåçàòü ïóñòîé êîä ïðè êîìïèë.", ID_STRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Îñòàâëÿòü â ôàéëàõ èíôîðìàöèþ äëÿ âîçìîæíîñòè ðàáîòû äåáàãåðà",
ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10,
90, 150, 12
+ CONTROL "Îñòàâëÿòü â ôàéëàõ èíôîðìàöèþ äëÿ âîçìîæíîñòè ðàáîòû äåáàãåðà",
ID_NOSTRIP, "button", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10,
90, 145, 12
+ CONTROL "Show Versions Header", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "Ïóòü ê êîìïèëÿòîðó GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -77,4 +78,5 @@
HLP_QUITBUTTON, "Ýòî êëàâèøà ïîçâîëÿåò âûéòè áåç ñîõðàíåíèÿ èçìåíåíèé"
HLP_DEFAULTMSG, "Ïîìîùü ïî èçíà÷àëüíûì ïàðàìåòðàì"
HLP_NOSTRIP, "Êîìïèëÿöèÿ ôàéëîâ ReactOS'à ñ ñîçäàíèåì èíôîðìàöèè äëÿ
äåáàãåðà."
+ HLP_VERSION, "Show the Versions of the RosBE Components."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/uk-UA.rc [iso-8859-1]
(original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/lang/uk-UA.rc [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -21,7 +21,8 @@
CONTROL "³äîáðàæàòè ÷àñ êîìï³ëÿö³¿", ID_SHOWBUILDTIME, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 45, 100, 12
CONTROL "Âèêîðèñòîâóâàòè CCache", ID_USECCACHE, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 60, 100, 12
CONTROL "Strip Output", ID_STRIP, "button", BS_AUTOCHECKBOX |
WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 75, 100, 12
- CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 150, 12
+ CONTROL "Create nostrip files for debugging", ID_NOSTRIP, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 90, 145, 12
+ CONTROL "Show Versions Header", ID_SHOWVERSION, "button",
BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 155, 90, 100, 12
LTEXT "Øëÿõ äî MinGW/GCC", -1, 10, 107, 100, 15
EDITTEXT ID_MGWDIR, 10, 120, 200, 13, WS_TABSTOP
PUSHBUTTON "...", ID_BROWSEMGW, 215, 120, 30, 13, WS_TABSTOP
@@ -83,4 +84,5 @@
HLP_QUITBUTTON, "Öå êíîïêà äîçâîëÿº âèéòè ç êîíô³ãóðóâàííÿ áåç çáåðåæåííÿ
çì³í."
HLP_DEFAULTMSG, "Íàâåä³òü âêàç³âíèê ìèø³ íà åëåìåíò êåðóâàííÿ, ùîá îòðèìàòè
äîâ³äêó."
HLP_NOSTRIP, "Creates debug information for the ReactOS Debugger."
+ HLP_VERSION, "Show the Versions of the RosBE Components."
END
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/options.c
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/options.c [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/options.c [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -77,7 +77,7 @@
WriteSettings(POPTIONS_DLG infoPtr)
{
INT foreground, background;
- BOOL showtime, writelog, useccache, strip, nostrip, objstate, outstate;
+ BOOL showtime, writelog, useccache, strip, nostrip, objstate, outstate, showversion;
WCHAR logdir[MAX_PATH], objdir[MAX_PATH], outdir[MAX_PATH], mingwpath[MAX_PATH],
checkmgw[MAX_PATH];
WCHAR msgerror[256];
HANDLE hFile;
@@ -90,6 +90,7 @@
nostrip = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_NOSTRIP, BM_GETCHECK, 0, 0) ==
BST_CHECKED);
objstate = (SendDlgItemMessage(infoPtr->hwndDlg, ID_OTHEROBJ, BM_GETCHECK, 0, 0)
== BST_CHECKED);
outstate = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_OTHEROUT, BM_GETCHECK, 0, 0)
== BST_CHECKED);
+ showversion = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_SHOWVERSION, BM_GETCHECK,
0, 0) == BST_CHECKED);
foreground = (INT) SendDlgItemMessageW(infoPtr->hwndDlg, IDC_FONT, CB_GETCURSEL,
0, 0);
background = (INT) SendDlgItemMessageW(infoPtr->hwndDlg, IDC_BACK, CB_GETCURSEL,
0, 0);
GetDlgItemTextW(infoPtr->hwndDlg, ID_LOGDIR, logdir, MAX_PATH);
@@ -136,6 +137,7 @@
fwprintf(pFilecmd, L"set _ROSBE_STRIP=%d\n", strip);
fwprintf(pFilecmd, L"set _ROSBE_NOSTRIP=%d\n", nostrip);
fwprintf(pFilecmd, L"set _ROSBE_WRITELOG=%d\n", writelog);
+ fwprintf(pFilecmd, L"set _ROSBE_SHOWVERSION=%d\n", showversion);
if (logdir[0] != 0) fwprintf(pFilecmd, L"set _ROSBE_LOGDIR=%s\n",
logdir);
if (mingwpath[0] != 0) fwprintf(pFilecmd, L"set
_ROSBE_HOST_MINGWPATH=%s\n", mingwpath);
if ((objdir[0] != 0) && objstate) fwprintf(pFilecmd, L"set
_ROSBE_OBJPATH=%s\n", objdir);
@@ -151,15 +153,16 @@
fwprintf(pFileps1, L"(Get-Host).UI.RawUI.ForegroundColor = 0x%X\n",
foreground);
fwprintf(pFileps1, L"(Get-Host).UI.RawUI.BackgroundColor = 0x%X\n",
background);
fwprintf(pFileps1, L"clear-host\n");
- fwprintf(pFileps1, L"$_ROSBE_SHOWTIME = %d\n", showtime);
- fwprintf(pFileps1, L"$_ROSBE_USECCACHE = %d\n", useccache);
- fwprintf(pFileps1, L"$_ROSBE_STRIP = %d\n", strip);
- fwprintf(pFileps1, L"$_ROSBE_NOSTRIP = %d\n", nostrip);
- fwprintf(pFileps1, L"$_ROSBE_WRITELOG = %d\n", writelog);
- if (logdir[0] != 0) fwprintf(pFileps1, L"$_ROSBE_LOGDIR =
\"%s\"\n", logdir);
- if (mingwpath[0] != 0) fwprintf(pFileps1, L"$_ROSBE_HOST_MINGWPATH =
\"%s\"\n", mingwpath);
- if ((objdir[0] != 0) && objstate) fwprintf(pFileps1,
L"$_ROSBE_OBJPATH = \"%s\"\n", objdir);
- if ((outdir[0] != 0) && outstate) fwprintf(pFileps1,
L"$_ROSBE_OUTPATH = \"%s\"\n", outdir);
+ fwprintf(pFileps1, L"$global:_ROSBE_SHOWTIME = %d\n", showtime);
+ fwprintf(pFileps1, L"$global:_ROSBE_USECCACHE = %d\n", useccache);
+ fwprintf(pFileps1, L"$global:_ROSBE_STRIP = %d\n", strip);
+ fwprintf(pFileps1, L"$global:_ROSBE_NOSTRIP = %d\n", nostrip);
+ fwprintf(pFileps1, L"$global:_ROSBE_WRITELOG = %d\n", writelog);
+ fwprintf(pFileps1, L"$global:_ROSBE_SHOWVERSION = %d\n", showversion);
+ if (logdir[0] != 0) fwprintf(pFileps1, L"$global:_ROSBE_LOGDIR =
\"%s\"\n", logdir);
+ if (mingwpath[0] != 0) fwprintf(pFileps1, L"$global:_ROSBE_HOST_MINGWPATH =
\"%s\"\n", mingwpath);
+ if ((objdir[0] != 0) && objstate) fwprintf(pFileps1,
L"$global:_ROSBE_OBJPATH = \"%s\"\n", objdir);
+ if ((outdir[0] != 0) && outstate) fwprintf(pFileps1,
L"$global:_ROSBE_OUTPATH = \"%s\"\n", outdir);
}
if (pFilecmd && pFileps1)
@@ -224,6 +227,8 @@
LoadedSettings->nostrip = wcstol(ptr2, NULL, 2);
else if (wcscmp(ptr, L"_ROSBE_WRITELOG") == 0)
LoadedSettings->writelog = wcstol(ptr2, NULL, 2);
+ else if (wcscmp(ptr, L"_ROSBE_SHOWVERSION") == 0)
+ LoadedSettings->showversion = wcstol(ptr2, NULL, 2);
else if (wcscmp(ptr, L"_ROSBE_LOGDIR") == 0)
wcsncpy(LoadedSettings->logdir, ptr2, wcslen(ptr2)-1);
else if (wcscmp(ptr, L"_ROSBE_HOST_MINGWPATH") == 0)
@@ -244,6 +249,7 @@
LoadedSettings->background = 0;
LoadedSettings->showtime = 1;
LoadedSettings->writelog = 1;
+ LoadedSettings->showversion = 0;
GetCurrentDirectory(MAX_PATH, LoadedSettings->mingwpath);
if ((wcslen(LoadedSettings->mingwpath) + wcslen(MINGWVERSION)) < MAX_PATH)
wcscat(LoadedSettings->mingwpath, MINGWVERSION);
@@ -254,6 +260,7 @@
SendDlgItemMessageW(infoPtr->hwndDlg, IDC_FONT, CB_SETCURSEL,
LoadedSettings->foreground, 0);
SendDlgItemMessageW(infoPtr->hwndDlg, IDC_BACK, CB_SETCURSEL,
LoadedSettings->background, 0);
SendDlgItemMessage(infoPtr->hwndDlg, ID_SHOWBUILDTIME, BM_SETCHECK,
LoadedSettings->showtime, 0);
+ SendDlgItemMessage(infoPtr->hwndDlg, ID_SHOWVERSION, BM_SETCHECK,
LoadedSettings->showversion, 0);
SendDlgItemMessage(infoPtr->hwndDlg, ID_SAVELOGS, BM_SETCHECK,
LoadedSettings->writelog, 0);
if (LoadedSettings->writelog)
{
@@ -286,7 +293,7 @@
VOID SetSaveState(POPTIONS_DLG infoPtr)
{
INT foreground, background;
- BOOL showtime, writelog, useccache, strip, nostrip, objstate, outstate;
+ BOOL showtime, writelog, useccache, strip, nostrip, objstate, outstate, showversion;
WCHAR logdir[MAX_PATH], objdir[MAX_PATH], outdir[MAX_PATH], mingwpath[MAX_PATH];
BOOL StateObj = TRUE, StateOut = TRUE, StateLog = TRUE, State = TRUE;
PSETTINGS DefaultSettings = &infoPtr->Settings;
@@ -298,6 +305,7 @@
nostrip = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_NOSTRIP, BM_GETCHECK, 0, 0) ==
BST_CHECKED);
objstate = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_OTHEROBJ, BM_GETCHECK, 0, 0)
== BST_CHECKED);
outstate = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_OTHEROUT, BM_GETCHECK, 0, 0)
== BST_CHECKED);
+ showversion = (SendDlgItemMessageW(infoPtr->hwndDlg, ID_SHOWVERSION, BM_GETCHECK,
0, 0) == BST_CHECKED);
foreground = (INT) SendDlgItemMessageW(infoPtr->hwndDlg, IDC_FONT, CB_GETCURSEL,
0, 0);
background = (INT) SendDlgItemMessageW(infoPtr->hwndDlg, IDC_BACK, CB_GETCURSEL,
0, 0);
GetDlgItemTextW(infoPtr->hwndDlg, ID_LOGDIR, logdir, MAX_PATH);
@@ -320,7 +328,7 @@
(useccache == DefaultSettings->useccache) && (strip ==
DefaultSettings->strip) &&
(objstate == DefaultSettings->objstate) && (outstate ==
DefaultSettings->outstate) &&
(StateLog) && (wcscmp(mingwpath, DefaultSettings->mingwpath) == 0)
&&
- (StateObj) && (StateOut) && (nostrip ==
DefaultSettings->nostrip));
+ (StateObj) && (StateOut) && (nostrip ==
DefaultSettings->nostrip) && (showversion ==
DefaultSettings->showversion));
EnableWindow(GetDlgItem(infoPtr->hwndDlg, ID_OK), State);
}
@@ -425,6 +433,7 @@
{ID_BROWSEOBJ, HLP_FINDOBJDIR},
{ID_OTHEROBJ, HLP_FINDOBJDIR},
{ID_OUTDIR, HLP_FINDOUTDIR},
+ {ID_SHOWVERSION, HLP_VERSION},
{ID_BROWSEOUT, HLP_FINDOUTDIR},
{ID_OTHEROUT, HLP_FINDOUTDIR},
{ID_OK, HLP_SAVEBUTTON},
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/options.h
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/options.h [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/options.h [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -31,6 +31,7 @@
BOOL writelog;
BOOL objstate;
BOOL outstate;
+ BOOL showversion;
}
SETTINGS, *PSETTINGS;
Modified: trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/resources.h
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Tools/co…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/resources.h [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Tools/config/x86/resources.h [iso-8859-1] Tue Jun 30
00:44:05 2009
@@ -50,32 +50,34 @@
#define IDC_BACK 0x25
#define ID_STATUSBAR 0x26
#define ID_NOSTRIP 0x27
+#define ID_SHOWVERSION 0x28
/* Strings */
-#define MSG_NOGCCFOUND 0x27
-#define MSG_CMDFFAILED 0x28
-#define MSG_PS1FFAILED 0x29
-#define MSG_DIREFAILED 0x2a
-#define MSG_SETLOADSUC 0x2b
-#define MSG_FINDLOGDIR 0x2c
-#define MSG_FINDMGWDIR 0x2d
-#define MSG_FINDOBJDIR 0x2e
-#define MSG_FINDOUTDIR 0x2f
-#define MSG_WARNINGBOX 0x30
-#define MSG_EXITCHANGE 0x31
-#define MSG_INVALIDDIR 0x32
+#define MSG_NOGCCFOUND 0x29
+#define MSG_CMDFFAILED 0x2a
+#define MSG_PS1FFAILED 0x2b
+#define MSG_DIREFAILED 0x2c
+#define MSG_SETLOADSUC 0x2d
+#define MSG_FINDLOGDIR 0x2e
+#define MSG_FINDMGWDIR 0x2f
+#define MSG_FINDOBJDIR 0x30
+#define MSG_FINDOUTDIR 0x31
+#define MSG_WARNINGBOX 0x32
+#define MSG_EXITCHANGE 0x33
+#define MSG_INVALIDDIR 0x34
/* Help Strings */
-#define HLP_BACKCOLORC 0x33
-#define HLP_FONTCOLORC 0x34
-#define HLP_SBUILDTIME 0x35
-#define HLP_CCACHEUSED 0x36
-#define HLP_STRIPEDEXE 0x37
-#define HLP_FINDMGWDIR 0x38
-#define HLP_FINDLOGDIR 0x39
-#define HLP_FINDOBJDIR 0x3a
-#define HLP_FINDOUTDIR 0x3b
-#define HLP_SAVEBUTTON 0x3c
-#define HLP_QUITBUTTON 0x3d
-#define HLP_DEFAULTMSG 0x3e
-#define HLP_NOSTRIP 0x3f
+#define HLP_BACKCOLORC 0x35
+#define HLP_FONTCOLORC 0x36
+#define HLP_SBUILDTIME 0x37
+#define HLP_CCACHEUSED 0x38
+#define HLP_STRIPEDEXE 0x39
+#define HLP_FINDMGWDIR 0x3a
+#define HLP_FINDLOGDIR 0x3b
+#define HLP_FINDOBJDIR 0x3c
+#define HLP_FINDOUTDIR 0x3d
+#define HLP_SAVEBUTTON 0x3e
+#define HLP_QUITBUTTON 0x3f
+#define HLP_DEFAULTMSG 0x40
+#define HLP_NOSTRIP 0x41
+#define HLP_VERSION 0x42