- Timestamp:
- Aug 1, 2012, 6:20:01 AM (12 years ago)
- Location:
- trunk/IDE
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE/Forms/UFormAbout.pas
r55 r71 48 48 BeginUpdate; 49 49 Clear; 50 Add(SApplicationName + ': ' + Name);50 Add(SApplicationName + ': ' + AppName); 51 51 Add(SVersion + ': ' + Version); 52 52 Add(SReleaseDate + ': ' + DateToStr(ReleaseDate)); -
trunk/IDE/Forms/UFormMain.lfm
r68 r71 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 … … 89 89 object ComboBoxTarget: TComboBox 90 90 Left = 230 91 Height = 2 191 Height = 27 92 92 Top = 2 93 93 Width = 100 94 ItemHeight = 1394 ItemHeight = 0 95 95 OnChange = ComboBoxTargetChange 96 96 Style = csDropDownList … … 105 105 object Splitter1: TSplitter 106 106 Left = 490 107 Height = 3 45107 Height = 339 108 108 Top = 26 109 109 Width = 5 … … 113 113 object PageControlRight: TPageControl 114 114 Left = 495 115 Height = 3 45115 Height = 339 116 116 Top = 26 117 117 Width = 200 … … 137 137 Left = 0 138 138 Height = 101 139 Top = 37 6139 Top = 370 140 140 Width = 695 141 141 ActivePage = TabSheetMessages … … 155 155 Left = 0 156 156 Height = 5 157 Top = 3 71157 Top = 365 158 158 Width = 695 159 159 Align = alBottom … … 162 162 object PageControlMain: TPageControl 163 163 Left = 0 164 Height = 3 45164 Height = 339 165 165 Top = 26 166 166 Width = 490 -
trunk/IDE/Forms/UFormMain.pas
r68 r71 330 330 331 331 UpdateMenu; 332 Core.Compiler. Targets.LoadToStrings(ComboBoxTarget.Items);333 ComboBoxTarget.ItemIndex := Core.Compiler. Targets.IndexOf(Core.Compiler.Target);332 Core.Compiler.API.Targets.LoadToStrings(ComboBoxTarget.Items); 333 ComboBoxTarget.ItemIndex := Core.Compiler.API.Targets.IndexOf(Core.Compiler.Target); 334 334 FormSourceCode.UpdateInterface; 335 335 FormTargetCode.UpdateInterface; … … 435 435 begin 436 436 with TMenuItem(Sender) do begin 437 Core.Compiler.Target := TTarget(Core.Compiler. Targets[MenuIndex]);437 Core.Compiler.Target := TTarget(Core.Compiler.API.Targets[MenuIndex]); 438 438 UpdateInterface; 439 439 end; -
trunk/IDE/Forms/UFormTargets.pas
r60 r71 62 62 procedure TFormTargets.ListView1Data(Sender: TObject; Item: TListItem); 63 63 begin 64 if (Item.Index >= 0) and (Item.Index < Core.Compiler. Targets.Count) then65 with TTarget(Core.Compiler. Targets[Item.Index]) do begin64 if (Item.Index >= 0) and (Item.Index < Core.Compiler.API.Targets.Count) then 65 with TTarget(Core.Compiler.API.Targets[Item.Index]) do begin 66 66 Item.Caption := Name; 67 Item.Data := Core.Compiler. Targets[Item.Index];67 Item.Data := Core.Compiler.API.Targets[Item.Index]; 68 68 //Item.SubItems.Add(Producer.CompilerPath); 69 69 end; … … 72 72 procedure TFormTargets.ReloadList; 73 73 begin 74 ListView1.Items.Count := Core.Compiler. Targets.Count;74 ListView1.Items.Count := Core.Compiler.API.Targets.Count; 75 75 ListView1.Refresh; 76 76 end; -
trunk/IDE/UCore.pas
r70 r71 56 56 procedure LoadFromRegistry(Root: HKEY; const Key: string); 57 57 procedure SaveToRegistry(Root: HKEY; const Key: string); 58 procedure RegisterModules; 58 procedure RegisterIDEModules; 59 procedure RegisterCompilerModules; 59 60 end; 60 61 … … 67 68 68 69 uses 69 UFormMain, UProjectTemplates, UIDEModulePascal ;70 UFormMain, UProjectTemplates, UIDEModulePascal, UModulePascal, UModuleGCC; 70 71 71 72 { TCore } … … 108 109 109 110 ModuleManager := TModuleManager.Create(nil); 110 RegisterModules; 111 RegisterIDEModules; 112 113 RegisterCompilerModules; 111 114 end; 112 115 … … 200 203 end; 201 204 202 procedure TCore.Register Modules;205 procedure TCore.RegisterIDEModules; 203 206 begin 204 207 ModuleManager.RegisterModule(TIDEModulePascal.Create); 208 end; 209 210 procedure TCore.RegisterCompilerModules; 211 begin 212 with Compiler.ModuleManager do begin 213 RegisterModule(TModulePascal.Create, True); 214 RegisterModule(TModuleGCC.Create, True); 215 { RegisterModule(TModuleInterpretter.Create); 216 RegisterModule(TModuleDelphi.Create); 217 RegisterModule(TModulePHP.Create); 218 RegisterModule(TModuleJava.Create); 219 RegisterModule(TModuleASM8051.Create); 220 RegisterModule(TModuleXML.Create); 221 RegisterModule(TModuleNASM.Create);} 222 end; 205 223 end; 206 224
Note:
See TracChangeset
for help on using the changeset viewer.