more cleanup, planned for first udpate but remove due to many beta

This commit is contained in:
Basile Burg 2017-03-02 06:47:51 +01:00
parent a899c73bc8
commit 5831add738
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
3 changed files with 2 additions and 9 deletions

View File

@ -64,8 +64,6 @@ type
property libFile: string read fLibFile write setLibFile;
property libProject: string read fLibProject write setLibProject;
property enabled: boolean read fEnabled write fEnabled default true;
// TODO-cmaintenance: remove this property from version 3 update 1
property projectFile: string read fLibProject write fLibProject stored false;
public
constructor Create(ACollection: TCollection); override;
destructor Destroy; override;

View File

@ -835,7 +835,7 @@ begin
row.Caption := itm.libAlias;
row.SubItems.Add(itm.libFile);
row.SubItems.Add(itm.libSourcePath);
row.SubItems.Add(itm.projectFile);
row.SubItems.Add(itm.libProject);
row.SubItems.Add(enableStr[itm.enabled]);
end;
List.EndUpdate;
@ -852,7 +852,7 @@ begin
itm.libAlias := row.Caption;
itm.libFile := row.SubItems[0];
itm.libSourcePath := row.SubItems[1];
itm.projectFile := row.SubItems[2];
itm.libProject := row.SubItems[2];
itm.enabled := row.SubItems[3] = enableStr[true];
itm.updateModulesInfo;

View File

@ -28,7 +28,6 @@ type
fToolAlias: string;
fQueryParams: boolean;
fClearMessages: boolean;
fEditorToInput: boolean;
fOutputToNext: boolean;
fShortcut: TShortcut;
fMsgs: ICEMessagesDisplay;
@ -50,8 +49,6 @@ type
property nextToolAlias: string read fNextToolAlias write fNextToolAlias;
property outputToNext: boolean read fOutputToNext write fOutputToNext;
property pipeInputKind: TPipeInputKind read fPipeInputKind write fPipeInputKind;
// TODO-cmaintenance: remove this property from version 3 update 1
property editorToInput: boolean read fEditorToInput write fEditorToInput stored false;
public
constructor create(ACollection: TCollection); override;
destructor destroy; override;
@ -156,7 +153,6 @@ begin
options := tool.options;
executable := tool.executable;
workingDirectory := tool.workingDirectory;
editorToInput := tool.editorToInput;
showWindows := tool.showWindows;
pipeInputKind := tool.pipeInputKind;
parameters.Assign(tool.parameters);
@ -403,7 +399,6 @@ begin
if tool.isNil then exit;
//
tool.execute(nil);
if tool.editorToInput then tool.pipeInputKind:= pikEditor;
if (tool.pipeInputKind <> pikNone) and fDoc.isNotNil
and (poUsePipes in tool.options) and tool.fProcess.Input.isNotNil then
begin