Changeset 38 for trunk/IDE/Forms
- Timestamp:
- Feb 25, 2012, 6:04:21 PM (13 years ago)
- Location:
- trunk/IDE
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE
- Property svn:ignore
-
old new 5 5 Transpascal.exe 6 6 heaptrclog.trc 7 Transpascal
-
- Property svn:ignore
-
trunk/IDE/Forms/UMainForm.lfm
r37 r38 5 5 Width = 695 6 6 Caption = 'Transpascal IDE' 7 ClientHeight = 4 827 ClientHeight = 476 8 8 ClientWidth = 695 9 9 Font.Height = -11 … … 20 20 Left = 0 21 21 Height = 5 22 Top = 47 722 Top = 471 23 23 Width = 695 24 24 Align = alBottom … … 27 27 object DockPanel: TPanel 28 28 Left = 0 29 Height = 3 4529 Height = 339 30 30 Top = 26 31 31 Width = 490 … … 87 87 object Splitter1: TSplitter 88 88 Left = 490 89 Height = 3 4589 Height = 339 90 90 Top = 26 91 91 Width = 5 … … 95 95 object PageControlRight: TPageControl 96 96 Left = 495 97 Height = 3 4597 Height = 339 98 98 Top = 26 99 99 Width = 200 … … 113 113 Left = 0 114 114 Height = 101 115 Top = 37 6115 Top = 370 116 116 Width = 695 117 117 ActivePage = TabSheet4 … … 131 131 Left = 0 132 132 Height = 5 133 Top = 3 71133 Top = 365 134 134 Width = 695 135 135 Align = alBottom -
trunk/IDE/Forms/UMainForm.pas
r37 r38 138 138 LogParsing: Boolean; 139 139 Project: TProject; 140 TargetProject: TProject; 140 141 Compiler: TCustomCompiler; 141 142 function GetSource(Name: string; var SourceCode: string): Boolean; … … 203 204 Compiler.Producer := TProducer(Compiler.Producers[SelectedProducerIndex]); 204 205 Compiler.Analyzer := TAnalyzer(Compiler.Analyzers[SelectedAnalyzerIndex]); 205 Compiler.Analyzer.OnGetSource := GetSource;206 206 Compiler.Init; 207 207 … … 212 212 if Project.Items.Count > 0 then 213 213 with TProjectFile(Project.Items[0]) do begin 214 Compiler.SourceFiles.Clear; 215 Project.DumpFileList(Compiler.SourceFiles); 214 216 Compiler.TargetFolder := Project.RootDir; 215 Compiler.Compile (Parent.GetDir + ExtractFileNameOnly(Name), Source);217 Compiler.Compile; 216 218 end; 217 219 ProjectManager.TreeViewProjectChange(Self, ProjectManager.TreeViewProject.Selected); … … 453 455 Compiler := TCustomCompiler.Create; 454 456 Project := TProject.Create; 457 TargetProject := TProject.Create; 455 458 LastOpenedFiles := TLastOpenedList.Create; 456 459 LastOpenedFiles.MenuItem := MenuItemOpenRecent; … … 461 464 begin 462 465 LastOpenedFiles.Free; 466 TargetProject.Free; 463 467 Project.Free; 464 468 Compiler.Free; -
trunk/IDE/Forms/UProjectManager.pas
r37 r38 29 29 30 30 uses 31 UMainForm, UCodeForm, UCompiledForm, UCodeTreeForm , UProducerTreeView;31 UMainForm, UCodeForm, UCompiledForm, UCodeTreeForm; 32 32 33 33 { TProjectManager }
Note:
See TracChangeset
for help on using the changeset viewer.