!verbose 3 for cleaner logs

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1483 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2002-10-27 11:56:12 +00:00
parent 5063eaa95a
commit f0b820257f
15 changed files with 299 additions and 70 deletions

View file

@ -5,6 +5,7 @@
;By asdfuae@msn.com
;--------------------------------
!verbose 3
!ifndef MUI_ARABIC_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -5,6 +5,7 @@
;By Joost Verburg
;--------------------------------
!verbose 3
!ifndef MUI_DUTCH_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -5,6 +5,7 @@
;By Joost Verburg
;--------------------------------
!verbose 3
!ifndef MUI_ENGLISH_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -5,6 +5,7 @@
;By Sébastien Delahaye <seb@delahaye.net>
;--------------------------------
!verbose 3
!ifndef MUI_FRENCH_USED
@ -57,6 +58,7 @@
LangString MUI_BUTTONTEXT_INSTALL ${LANG_FRENCH} "&Installer"
!endif
;UNINSTALLER
!ifdef MUI_UNINSTALLER
@ -83,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -5,6 +5,7 @@
;By L.King
;--------------------------------
!verbose 3
!ifndef MUI_GERMAN_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -5,6 +5,7 @@
;By Makidis N. Mike
;--------------------------------
!verbose 3
!ifndef MUI_GREEK_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -5,6 +5,7 @@
;By SANFACE Software <sanface@sanface.com>
;--------------------------------
!verbose 3
!ifndef MUI_ITALIAN_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -5,6 +5,7 @@
;By Piotr Murawski & Rafał Lampe; www.lomsel.prv.pl mailto:ppiter@skrzynka.pl
;--------------------------------
!verbose 3
!ifndef MUI_POLISH_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -5,6 +5,7 @@
;By Layout do Brasil www.layoutdobrasil.com
;--------------------------------
!verbose 3
!ifndef MUI_PORTUGUESEBR_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -2,9 +2,10 @@
;version 1 - Compatible with Modern UI 1.3
;Language: Russian (1049)
;By Nik Medved (brainsucker)
;Fixed by Scam
;By Nik Medved (brainsucker). Fixed by Scam.
;--------------------------------
!verbose 3
!ifndef MUI_RUSSIAN_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -1,10 +1,11 @@
;Modern UI Language File
;version 1 - Compatible with Modern UI 1.3
; Language: "Chinese (Simplified)" (2052)
; Kii Ali <kiiali@cpatch.org>
;Language: 'Chinese (Simplified)' (2052)
;Kii Ali <kiiali@cpatch.org>
;--------------------------------
!verbose 3
!ifndef MUI_SIMPCHINESE_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -5,6 +5,7 @@
;By MoNKi
;--------------------------------
!verbose 3
!ifndef MUI_SPANISH_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -1,10 +1,11 @@
;Modern UI Language File
;version 1 - Compatible with Modern UI 1.3
; Language: "Chinese (Traditional)" (1028)
; Kii Ali <kiiali@cpatch.org>
;Language: 'Chinese (Traditional)' (1028)
;Kii Ali <kiiali@cpatch.org>
;--------------------------------
!verbose 3
!ifndef MUI_TRADCHINESE_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -5,6 +5,7 @@
;By Yuri Holubow, Our Soft (http://www.ns.lviv.ua)
;--------------------------------
!verbose 3
!ifndef MUI_UKRAINIAN_USED
@ -84,3 +85,5 @@
!endif
!endif
!verbose 4

View file

@ -22,6 +22,8 @@
!macro MUI_INTERFACE
!verbose 3
;User interface
!ifndef MUI_ICON
@ -73,74 +75,70 @@
!define CURRENTPAGE ${MUI_CURRENTPAGEVAR}
!macroend
!macro MUI_FINISHHEADER
;Finish text on the header (white rectangle)
IntOp ${CURRENTPAGE} ${CURRENTPAGE} + 1
!ifndef MUI_SETPAGE_FUNCTIONNAME
!error "Modern UI Error: SetPage function name (MUI_SETPAGE_FUNCTIONNAME) not defined!"
!endif
Call "${MUI_SETPAGE_FUNCTIONNAME}"
!macroend
!macro MUI_UNFINISHHEADER
;Finish text on the header (white rectangle)
IntOp ${CURRENTPAGE} ${CURRENTPAGE} + 1
!ifndef MUI_UNSETPAGE_FUNCTIONNAME
!error "Modern UI Error: Uninstall SetPage function name (MUI_UNSETPAGE_FUNCTIONNAME) not defined!"
!endif
Call "${MUI_UNSETPAGE_FUNCTIONNAME}"
!verbose 4
!macroend
!macro MUI_INNERDIALOG_INIT
!verbose 3
Push ${MUI_TEMP1}
!verbose 4
!macroend
!macro MUI_INNERDIALOG_START PAGE
!verbose 3
StrCmp ${CURRENTPAGE} ${PAGE} "" done_${PAGE}
!verbose 4
!macroend
!macro MUI_INNERDIALOG_TEXT CONTROL TEXT
!verbose 3
;Text on inner dialogs components
FindWindow ${MUI_TEMP1} "#32770" "" $HWNDPARENT
GetDlgItem ${MUI_TEMP1} ${MUI_TEMP1} ${CONTROL}
SendMessage ${MUI_TEMP1} ${WM_SETTEXT} 0 "STR:${TEXT}"
!verbose 4
!macroend
!macro MUI_INNERDIALOG_STOP PAGE
!verbose 3
Goto done
done_${PAGE}:
!verbose 4
!macroend
!macro MUI_INNERDIALOG_END
!verbose 3
done:
Pop ${MUI_TEMP1}
!verbose 4
!macroend
!macro MUI_NEXTPAGE
!verbose 3
;Set backgrounds & fonts for the outer dialog (only once)
StrCmp ${CURRENTPAGE} "" "" no_first_run
@ -174,10 +172,14 @@
Call "${MUI_SETPAGE_FUNCTIONNAME}"
!verbose 4
!macroend
!macro MUI_UNNEXTPAGE
!verbose 3
;Set backgrounds & fonts for the outer dialog (only once)
StrCmp ${CURRENTPAGE} "" "" no_first_run
@ -211,10 +213,14 @@
Call "${MUI_UNSETPAGE_FUNCTIONNAME}"
!verbose 4
!macroend
!macro MUI_PREVPAGE
!verbose 3
IntOp ${CURRENTPAGE} ${CURRENTPAGE} - 1
!ifndef MUI_SETPAGE_FUNCTIONNAME
@ -223,10 +229,14 @@
Call "${MUI_SETPAGE_FUNCTIONNAME}"
!verbose 4
!macroend
!macro MUI_UNPREVPAGE
!verbose 3
IntOp ${CURRENTPAGE} ${CURRENTPAGE} - 1
!ifndef MUI_UNSETPAGE_FUNCTIONNAME
@ -235,22 +245,34 @@
Call "${MUI_UNSETPAGE_FUNCTIONNAME}"
!verbose 4
!macroend
!macro MUI_PAGE_INIT
!verbose 3
Push ${MUI_TEMP1}
!verbose 4
!macroend
!macro MUI_PAGE_START PAGE
!verbose 3
StrCmp ${CURRENTPAGE} ${PAGE} "" done_${PAGE}
!verbose 4
!macroend
!macro MUI_HEADER_TEXT TEXT SUBTEXT
!verbose 3
;Text on the white rectangle
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1037
@ -258,56 +280,118 @@
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1038
SendMessage ${MUI_TEMP1} ${WM_SETTEXT} 0 "STR:${SUBTEXT}"
!verbose 4
!macroend
!macro MUI_PAGE_STOP PAGE
!verbose 3
Goto done
done_${PAGE}:
!verbose 4
!macroend
!macro MUI_PAGE_END
!verbose 3
done:
Pop ${MUI_TEMP1}
!verbose 4
!macroend
!macro MUI_DESCRIPTION_INIT
!verbose 3
Push ${MUI_TEMP1}
FindWindow ${MUI_TEMP1} "#32770" "" $HWNDPARENT
GetDlgItem ${MUI_TEMP1} ${MUI_TEMP1} 1043
!verbose 4
!macroend
!macro MUI_DESCRIPTION_TEXT VAR TEXT
!verbose 3
;Set text on the Description frame
StrCmp $0 ${VAR} "" +3
SendMessage ${MUI_TEMP1} ${WM_SETTEXT} 0 "STR:${TEXT}"
Goto done
!verbose 4
!macroend
!macro MUI_DESCRIPTION_END
!verbose 3
done:
Pop ${MUI_TEMP1}
!verbose 4
!macroend
!macro MUI_FINISHHEADER
!verbose 3
;Finish text on the header (white rectangle)
IntOp ${CURRENTPAGE} ${CURRENTPAGE} + 1
!ifndef MUI_SETPAGE_FUNCTIONNAME
!error "Modern UI Error: SetPage function name (MUI_SETPAGE_FUNCTIONNAME) not defined!"
!endif
Call "${MUI_SETPAGE_FUNCTIONNAME}"
!verbose 4
!macroend
!macro MUI_UNFINISHHEADER
!verbose 3
;Finish text on the header (white rectangle)
IntOp ${CURRENTPAGE} ${CURRENTPAGE} + 1
!ifndef MUI_UNSETPAGE_FUNCTIONNAME
!error "Modern UI Error: Uninstall SetPage function name (MUI_UNSETPAGE_FUNCTIONNAME) not defined!"
!endif
Call "${MUI_UNSETPAGE_FUNCTIONNAME}"
!verbose 4
!macroend
!macro MUI_ABORTWARNING
!verbose 3
;Warning when Cancel button is pressed
MessageBox MB_YESNO|MB_ICONEXCLAMATION "$(MUI_MSGTEXT_ABORTWARNING)" IDYES quit
Abort
quit:
!verbose 4
!macroend
;--------------------------------
@ -315,13 +399,19 @@
!macro MUI_INSTALLOPTIONS DIRECTIONVAR NOSETDIRECTIONVAR
!verbose 3
!define IO_NOSETDIRECTION ${DIRECTIONVAR}
!define IO_DIRECTION ${NOSETDIRECTIONVAR}
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_EXTRACT FILE
!verbose 3
;Init plugin system
!ifndef MUI_INSTALLOPTIONS_INITPLUGINS
!define MUI_INSTALLOPTIONS_INITPLUGINS
@ -331,10 +421,14 @@
File /oname=$PLUGINSDIR\${FILE} "${FILE}"
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_UNEXTRACT FILE
!verbose 3
;Init plugin system
!ifndef MUI_INSTALLOPTIONS_UNINITPLUGINS
!define MUI_INSTALLOPTIONS_UNINITPLUGINS
@ -344,34 +438,50 @@
File /oname=$PLUGINSDIR\${FILE} "${FILE}"
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_SETDIRECTION DIRECTION
!verbose 3
StrCpy ${IO_DIRECTION} "${DIRECTION}"
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_NEXTPAGE
!verbose 3
StrCmp ${IO_NOSETDIRECTION} "1" no_setdirection
!insertmacro MUI_INSTALLOPTIONS_SETDIRECTION ${MUI_INSTALLOPTIONS_DIRECTION_NEXT}
no_setdirection:
StrCpy ${IO_NOSETDIRECTION} "0"
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_PREVPAGE
!verbose 3
StrCmp ${IO_NOSETDIRECTION} "1" no_setdirection
!insertmacro MUI_INSTALLOPTIONS_SETDIRECTION ${MUI_INSTALLOPTIONS_DIRECTION_PREV}
no_setdirection:
StrCpy ${IO_NOSETDIRECTION} "0"
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_SHOW PAGE FILE IOBACK IONEXT
!verbose 3
InstallOptions::dialog "$PLUGINSDIR\${FILE}"
Pop ${MUI_TEMP1}
@ -384,10 +494,14 @@
!insertmacro MUI_INSTALLOPTIONS_${IONEXT}NEXT
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_UNSHOW PAGE FILE IOBACK IONEXT
!verbose 3
InstallOptions::dialog "$PLUGINSDIR\${FILE}"
Pop ${MUI_TEMP1}
@ -400,10 +514,14 @@
!insertmacro MUI_INSTALLOPTIONS_UN${IONEXT}NEXT
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_BACK
!verbose 3
StrCmp ${IO_DIRECTION} "${MUI_INSTALLOPTIONS_DIRECTION_NEXT}" "" +3
Call .onPrevPage
Abort
@ -411,10 +529,14 @@
Call .onPrevPage
Goto done
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_NEXT
!verbose 3
StrCmp ${IO_DIRECTION} ${MUI_INSTALLOPTIONS_DIRECTION_NEXT} "" +3
Call .onNextPage
Goto done
@ -422,26 +544,38 @@
Call .onNextPage
Abort
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_IOBACK
!verbose 3
StrCpy ${IO_NOSETDIRECTION} "1"
Call .onPrevPage
Goto done
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_IONEXT
!verbose 3
StrCpy ${IO_NOSETDIRECTION} "1"
Call .onNextPage
Goto done
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_UNBACK
!verbose 3
StrCmp ${IO_DIRECTION} "${MUI_INSTALLOPTIONS_DIRECTION_NEXT}" "" +3
Call un.onPrevPage
Abort
@ -449,10 +583,14 @@
Call un.onPrevPage
Goto done
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_UNNEXT
!verbose 3
StrCmp ${IO_DIRECTION} ${MUI_INSTALLOPTIONS_DIRECTION_NEXT} "" +3
Call un.onNextPage
Goto done
@ -460,34 +598,52 @@
Call un.onNextPage
Abort
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_UNIOBACK
!verbose 3
StrCpy ${IO_NOSETDIRECTION} "1"
Call .onPrevPage
Goto done
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_UNIONEXT
!verbose 3
StrCpy ${IO_NOSETDIRECTION} "1"
Call .onNextPage
Goto done
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_READ VAR FILE SECTION KEY
!verbose 3
ReadIniStr ${VAR} "$PLUGINSDIR\${FILE}" "${SECTION}" "${KEY}"
!verbose 4
!macroend
!macro MUI_INSTALLOPTIONS_WRITE FILE SECTION KEY VALUE
!verbose 3
WriteIniStr "$PLUGINSDIR\${FILE}" "${SECTION}" "${KEY}" "${VALUE}"
!verbose 4
!macroend
;--------------------------------
@ -495,13 +651,19 @@
!macro MUI_BASICFUNCTIONS_INIT
!verbose 3
!define MUI_SETPAGE_FUNCTIONNAME "SetPage"
!define MUI_UNSETPAGE_FUNCTIONNAME "un.SetPage"
!verbose 4
!macroend
!macro MUI_BASICFUNCTIONS
!verbose 3
Function .onNextPage
!insertmacro MUI_NEXTPAGE
FunctionEnd
@ -591,26 +753,48 @@ Function SetPage
FunctionEnd
!verbose 4
!macroend
!macro MUI_FUNCTION_DESCRIPTION_START
!verbose 3
Function .onMouseOverSection
!insertmacro MUI_DESCRIPTION_INIT
!verbose 4
!macroend
!macro MUI_FUNCTION_DESCRIPTION_END
!verbose 3
!insertmacro MUI_DESCRIPTION_END
FunctionEnd
!verbose 4
!macroend
!macro MUI_FUNCTION_ABORTWARNING
!verbose 3
Function .onUserAbort
!insertmacro MUI_ABORTWARNING
FunctionEnd
!verbose 4
!macroend
!macro MUI_UNBASICFUNCTIONS
!verbose 3
Function un.onNextPage
!insertmacro MUI_UNNEXTPAGE
@ -637,6 +821,8 @@ Function un.SetPage
FunctionEnd
!verbose 4
!macroend
!endif