Mercurial > hg > forks > UniversalIndentGUI
changeset 419:b0f320a0bb6c
Updated version number and date. Also updated Windows build script.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@651 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Thu, 27 Mar 2008 21:55:42 +0000 |
parents | 8557d9833a2f |
children | af217b69da7c |
files | buildwin32release_gcc.bat src/mainwindow.cpp |
diffstat | 2 files changed, 8 insertions(+), 32 deletions(-) [+] |
line wrap: on
line diff
--- a/buildwin32release_gcc.bat Thu Mar 27 21:04:06 2008 +0000 +++ b/buildwin32release_gcc.bat Thu Mar 27 21:55:42 2008 +0000 @@ -12,14 +12,6 @@ echo Done. echo. -echo Generating the translation binaries -echo ----------------------------------- -for %%A in ( de, zh_TW, ja_JP) do ( - lrelease .\translations\universalindent_%%A.ts -qm .\translations\universalindent_%%A.qm -silent - IF ERRORLEVEL 1 goto ERROR -) -echo Done. -echo. echo Calling qmake echo ------------- @@ -57,7 +49,7 @@ echo Copying the indenter executables and example file to the release indenters dir echo ------------------------------------------------------------------------------ -FOR %%A IN ( astyle.exe, astyle.html, bcpp.exe, bcpp.txt, csstidy.exe, gc.exe, gc.txt, indent.exe, libiconv-2.dll, libintl-2.dll, indent.html, JsDecoder.js, perltidy, PerlTidyLib.pm, shellindent.awk, tidy.exe, tidy.html, uncrustify.exe, uncrustify.txt, example.cpp, example.css, example.html, example.js, example.php, example.pl, example.sh ) DO ( +FOR %%A IN ( astyle.exe, astyle.html, bcpp.exe, bcpp.txt, csstidy.exe, gc.exe, gc.txt, indent.exe, libiconv-2.dll, libintl-2.dll, indent.html, JsDecoder.js, perltidy, PerlTidyLib.pm, php_beautifier.html, shellindent.awk, tidy.exe, tidy.html, uncrustify.exe, uncrustify.txt, example.cpp, example.css, example.html, example.js, example.php, example.pl, example.sh ) DO ( if not exist .\indenters\%%A ( echo File .\indenters\%%A not found! goto ERROR @@ -70,14 +62,8 @@ echo Copying the indenter uigui ini files to the release indenters dir echo ----------------------------------------------------------------- -FOR %%A IN ( uigui_astyle.ini, uigui_bcpp.ini, uigui_csstidy.ini, uigui_gnuindent.ini, uigui_greatcode.ini, uigui_jsdecoder.ini, uigui_perltidy.ini, uigui_phpCB.ini, uigui_shellindent.ini, uigui_tidy.ini, uigui_uncrustify.ini ) DO ( - if not exist .\indenters\%%A ( - echo File .\indenters\%%A not found! - goto ERROR - ) - copy .\indenters\%%A .\UniversalIndentGUI_win32\indenters\ >NUL - IF ERRORLEVEL 1 goto ERROR -) +copy .\indenters\uigui_*.ini .\UniversalIndentGUI_win32\indenters\ >NUL +IF ERRORLEVEL 1 goto ERROR echo Done. echo. @@ -109,18 +95,8 @@ echo Copying the translation files to the release translation dir echo ------------------------------------------------------------ -copy %QTDIR%\translations\qt_de.qm .\translations\ >NUL -copy %QTDIR%\translations\qt_ja_jp.qm .\translations\qt_ja_JP.qm >NUL -copy .\translations\qt_de.qm .\UniversalIndentGUI_win32\translations\ >NUL -copy .\translations\qt_ja_JP.qm .\UniversalIndentGUI_win32\translations\ >NUL -for %%A in ( de, zh_TW, ja_JP ) do ( - if not exist .\translations\universalindent_%%A.qm ( - echo File .\translations\universalindent_%%A.qm not found! - goto ERROR - ) - copy .\translations\universalindent_%%A.qm .\UniversalIndentGUI_win32\translations\ >NUL - IF ERRORLEVEL 1 goto ERROR -) +copy .\translations\*.qm .\UniversalIndentGUI_win32\translations\ >NUL +IF ERRORLEVEL 1 goto ERROR echo Done. echo. @@ -136,7 +112,7 @@ echo Packing the whole release dir content echo ------------------------------------- cd UniversalIndentGUI_win32 -7z.exe a -tzip UniversalIndentGUI_0.8.0_Beta_win32.zip >NUL +7z.exe a -tzip UniversalIndentGUI_0.8.1_win32.zip >NUL IF ERRORLEVEL 1 goto ERROR cd .. echo Done.
--- a/src/mainwindow.cpp Thu Mar 27 21:04:06 2008 +0000 +++ b/src/mainwindow.cpp Thu Mar 27 21:55:42 2008 +0000 @@ -37,8 +37,8 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { // set the program version, revision and date, which is shown in the main window title and in the about dialog. version = "0.8.1"; - revision = "602"; - QDate buildDate(2008, 01, 17); + revision = "650"; + QDate buildDate(2008, 03, 27); buildDateStr = buildDate.toString("d. MMMM yyyy"); // Get the applications binary path, with respect to MacOSXs use of the .app folder.