IDE: compiler options: removed obsolete option show summary, summary are now always shown in header

git-svn-id: trunk@47965 -
This commit is contained in:
mattias 2015-02-23 17:00:47 +00:00
parent 2da65d3074
commit abfaa0bdd0
3 changed files with 4 additions and 7 deletions

View File

@ -420,7 +420,7 @@ type
property ShowCompProc: Boolean read fShowCompProc write SetShowCompProc; // -vp
property ShowCond: Boolean read fShowCond write SetShowCond; // -vc
property ShowExecInfo: Boolean read fShowExecInfo write SetShowExecInfo; // -vx
property ShowSummary: Boolean read FShowSummary write SetShowSummary;
property ShowSummary: Boolean read FShowSummary write SetShowSummary; deprecated; // summary is now always shown (in the header)
property ShowHintsForUnusedUnitsInMainSrc: Boolean
read fShowHintsForUnusedUnitsInMainSrc write SetShowHintsForUnusedUnitsInMainSrc;
property ShowHintsForSenderNotUsed: Boolean

View File

@ -1653,7 +1653,7 @@ begin
ShowCompProc := aXMLConfig.GetValue(p+'Verbosity/ShowCompProc/Value', false);
ShowCond := aXMLConfig.GetValue(p+'Verbosity/ShowCond/Value', false);
ShowExecInfo := aXMLConfig.GetValue(p+'Verbosity/ShowExecInfo/Value', false);
ShowSummary := aXMLConfig.GetValue(p+'Verbosity/ShowSummary/Value', false);
fShowSummary := aXMLConfig.GetValue(p+'Verbosity/ShowSummary/Value', false);
ShowHintsForUnusedUnitsInMainSrc := aXMLConfig.GetValue(p+'Verbosity/ShowHintsForUnusedUnitsInMainSrc/Value', false);
ShowHintsForSenderNotUsed := aXMLConfig.GetValue(p+'Verbosity/ShowHintsForSenderNotUsed/Value', false);
WriteFPCLogo := aXMLConfig.GetValue(p+'WriteFPCLogo/Value', true);
@ -1836,7 +1836,7 @@ begin
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowCompProc/Value', ShowCompProc,false);
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowCond/Value', ShowCond,false);
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowExecInfo/Value', ShowExecInfo,false);
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowSummary/Value', ShowSummary,false);
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowSummary/Value', fShowSummary,false);
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowHintsForUnusedUnitsInMainSrc/Value', ShowHintsForUnusedUnitsInMainSrc,false);
aXMLConfig.SetDeleteValue(p+'Verbosity/ShowHintsForSenderNotUsed/Value', ShowHintsForSenderNotUsed,false);
aXMLConfig.SetDeleteValue(p+'WriteFPCLogo/Value', WriteFPCLogo,true);

View File

@ -55,7 +55,6 @@ begin
Items.Add(dlgShowCompiledProcedures + ' (-vp)');
Items.Add(dlgShowEverything + ' (-va)');
Items.Add(dlgWriteFPCLogo + ' (-l)');
Items.Add(dlgShowSummary + ' ' + dlgPOIconDescNone);
Items.Add(dlgHintsUnused + ' ' + dlgPOIconDescNone);
Items.Add(dlgHintsParameterSenderNotUsed + ' ' + dlgPOIconDescNone);
end;
@ -83,7 +82,6 @@ begin
Checked[i] := ShowCompProc; i+=1;
Checked[i] := ShowAll; i+=1;
Checked[i] := WriteFPCLogo; i+=1;
Checked[i] := ShowSummary; i+=1;
Checked[i] := ShowHintsForUnusedUnitsInMainSrc; i+=1;
Checked[i] := ShowHintsForSenderNotUsed; i+=1;
@ -110,9 +108,8 @@ begin
ShowCompProc := Checked[i]; i+=1;
ShowAll := Checked[i]; i+=1;
WriteFPCLogo := Checked[i]; i+=1;
ShowHintsForSenderNotUsed := Checked[i]; i+=1;
ShowHintsForUnusedUnitsInMainSrc := Checked[i]; i+=1;
ShowSummary := Checked[i]; i+=1;
ShowHintsForSenderNotUsed := Checked[i]; i+=1;
StopAfterErrCount := StrToIntDef(edtErrorCnt.Text, 1);
end;