- Timestamp:
- Dec 8, 2010, 10:00:30 AM (14 years ago)
- Location:
- trunk/IDE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE/Forms/UMainForm.pas
r25 r26 11 11 UProject, FileUtil, Menus, ActnList, UCoolDocking, 12 12 UCompiledForm, UCodeTreeForm, URegistry, ULastOpenedList, UApplicationInfo, 13 UDebugLog ;13 UDebugLog, UAnalyzer, UProducer; 14 14 15 15 const … … 97 97 if (ComboBoxAnalyzer.Items.Count > 0) and (ComboBoxAnalyzer.ItemIndex <> -1) and 98 98 (ComboBoxProducer.Items.Count > 0) and (ComboBoxProducer.ItemIndex <> -1) then begin 99 Compiler.Producer := Compiler.Producers[ComboBoxProducer.ItemIndex];100 Compiler.Analyzer := Compiler.Analyzers[ComboBoxAnalyzer.ItemIndex];99 Compiler.Producer := TProducer(Compiler.Producers[ComboBoxProducer.ItemIndex]); 100 Compiler.Analyzer := TAnalyzer(Compiler.Analyzers[ComboBoxAnalyzer.ItemIndex]); 101 101 Compiler.Analyzer.OnGetSource := GetSource; 102 102 Compiler.Init; … … 237 237 ComboBoxProducer.Clear; 238 238 for I := 0 to Compiler.Producers.Count - 1 do 239 ComboBoxProducer.AddItem( Compiler.Producers[I].Name, nil);239 ComboBoxProducer.AddItem(TProducer(Compiler.Producers[I]).Name, nil); 240 240 241 241 ComboBoxAnalyzer.Clear; 242 242 for I := 0 to Compiler.Analyzers.Count - 1 do 243 ComboBoxAnalyzer.AddItem( Compiler.Analyzers[I].Name, nil);243 ComboBoxAnalyzer.AddItem(TAnalyzer(Compiler.Analyzers[I]).Name, nil); 244 244 end; 245 245 -
trunk/IDE/Transpascal.lpi
r24 r26 53 53 </Item5> 54 54 </RequiredPackages> 55 <Units Count="7 4">55 <Units Count="75"> 56 56 <Unit0> 57 57 <Filename Value="Transpascal.lpr"/> … … 71 71 <ResourceBaseClass Value="Form"/> 72 72 <UnitName Value="UMainForm"/> 73 <IsVisibleTab Value="True"/> 73 74 <EditorIndex Value="0"/> 74 75 <WindowIndex Value="0"/> 75 <TopLine Value=" 1"/>76 <CursorPos X="4 9" Y="9"/>76 <TopLine Value="226"/> 77 <CursorPos X="40" Y="239"/> 77 78 <UsageCount Value="215"/> 78 79 <Loaded Value="True"/> … … 184 185 <EditorIndex Value="6"/> 185 186 <WindowIndex Value="0"/> 186 <TopLine Value=" 7"/>187 <CursorPos X=" 30" Y="25"/>187 <TopLine Value="1"/> 188 <CursorPos X="24" Y="10"/> 188 189 <UsageCount Value="223"/> 189 190 <Loaded Value="True"/> … … 220 221 <ResourceBaseClass Value="Form"/> 221 222 <UnitName Value="UProjectManager"/> 222 <EditorIndex Value=" 18"/>223 <EditorIndex Value="20"/> 223 224 <WindowIndex Value="0"/> 224 225 <TopLine Value="68"/> … … 235 236 <ResourceBaseClass Value="Form"/> 236 237 <UnitName Value="UCodeForm"/> 237 <EditorIndex Value=" 7"/>238 <EditorIndex Value="8"/> 238 239 <WindowIndex Value="0"/> 239 240 <TopLine Value="36"/> … … 250 251 <ResourceBaseClass Value="Form"/> 251 252 <UnitName Value="UMessagesForm"/> 252 <EditorIndex Value="1 0"/>253 <EditorIndex Value="11"/> 253 254 <WindowIndex Value="0"/> 254 255 <TopLine Value="47"/> … … 457 458 <EditorIndex Value="16"/> 458 459 <WindowIndex Value="0"/> 459 <TopLine Value=" 71"/>460 <CursorPos X="1 " Y="85"/>460 <TopLine Value="26"/> 461 <CursorPos X="14" Y="54"/> 461 462 <UsageCount Value="82"/> 462 463 <Loaded Value="True"/> … … 480 481 <Filename Value="..\Compiler\UCompiler.pas"/> 481 482 <UnitName Value="UCompiler"/> 482 <EditorIndex Value="1 1"/>483 <WindowIndex Value="0"/> 484 <TopLine Value=" 60"/>485 <CursorPos X=" 45" Y="68"/>483 <EditorIndex Value="12"/> 484 <WindowIndex Value="0"/> 485 <TopLine Value="43"/> 486 <CursorPos X="31" Y="56"/> 486 487 <UsageCount Value="40"/> 487 488 <Loaded Value="True"/> … … 490 491 <Filename Value="..\Compiler\Produce\UProducer.pas"/> 491 492 <UnitName Value="UProducer"/> 492 <WindowIndex Value="0"/> 493 <TopLine Value="58"/> 494 <CursorPos X="1" Y="79"/> 493 <EditorIndex Value="7"/> 494 <WindowIndex Value="0"/> 495 <TopLine Value="1"/> 496 <CursorPos X="66" Y="9"/> 495 497 <UsageCount Value="30"/> 498 <Loaded Value="True"/> 496 499 </Unit47> 497 500 <Unit48> 498 501 <Filename Value="..\Compiler\Analyze\UAnalyzer.pas"/> 499 502 <UnitName Value="UAnalyzer"/> 500 <EditorIndex Value="1 2"/>501 <WindowIndex Value="0"/> 502 <TopLine Value=" 36"/>503 <CursorPos X=" 5" Y="49"/>503 <EditorIndex Value="13"/> 504 <WindowIndex Value="0"/> 505 <TopLine Value="22"/> 506 <CursorPos X="3" Y="35"/> 504 507 <UsageCount Value="39"/> 505 508 <Loaded Value="True"/> … … 508 511 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 509 512 <UnitName Value="UAnalyzerPascal"/> 510 <EditorIndex Value="1 7"/>511 <WindowIndex Value="0"/> 512 <TopLine Value=" 1239"/>513 <CursorPos X=" 1" Y="1255"/>513 <EditorIndex Value="19"/> 514 <WindowIndex Value="0"/> 515 <TopLine Value="877"/> 516 <CursorPos X="65" Y="890"/> 514 517 <UsageCount Value="39"/> 515 518 <Loaded Value="True"/> … … 518 521 <Filename Value="..\Compiler\Produce\UProducerPascal.pas"/> 519 522 <UnitName Value="UProducerPascal"/> 520 <EditorIndex Value="1 3"/>521 <WindowIndex Value="0"/> 522 <TopLine Value=" 164"/>523 <CursorPos X=" 52" Y="171"/>523 <EditorIndex Value="14"/> 524 <WindowIndex Value="0"/> 525 <TopLine Value="248"/> 526 <CursorPos X="37" Y="261"/> 524 527 <UsageCount Value="39"/> 525 528 <Loaded Value="True"/> … … 552 555 <Filename Value="..\Compiler\USourceCode.pas"/> 553 556 <UnitName Value="USourceCode"/> 554 <IsVisibleTab Value="True"/> 555 <EditorIndex Value="14"/> 556 <WindowIndex Value="0"/> 557 <TopLine Value="1090"/> 558 <CursorPos X="30" Y="1103"/> 557 <EditorIndex Value="15"/> 558 <WindowIndex Value="0"/> 559 <TopLine Value="903"/> 560 <CursorPos X="50" Y="916"/> 559 561 <UsageCount Value="39"/> 560 562 <Loaded Value="True"/> … … 611 613 <Unit61> 612 614 <Filename Value="E:\Projekty\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericObjectList.inc"/> 613 <EditorIndex Value="1 5"/>614 <WindowIndex Value="0"/> 615 <TopLine Value=" 65"/>615 <EditorIndex Value="18"/> 616 <WindowIndex Value="0"/> 617 <TopLine Value="70"/> 616 618 <CursorPos X="1" Y="78"/> 617 619 <UsageCount Value="12"/> … … 645 647 <Filename Value="E:\Programy\Lazarus\components\synedit\synedit.pp"/> 646 648 <UnitName Value="SynEdit"/> 647 <EditorIndex Value=" 8"/>649 <EditorIndex Value="9"/> 648 650 <WindowIndex Value="0"/> 649 651 <TopLine Value="4144"/> … … 655 657 <Filename Value="E:\Programy\Lazarus\components\synedit\syneditmiscclasses.pp"/> 656 658 <UnitName Value="SynEditMiscClasses"/> 657 <EditorIndex Value=" 9"/>659 <EditorIndex Value="10"/> 658 660 <WindowIndex Value="0"/> 659 661 <TopLine Value="93"/> … … 717 719 <Loaded Value="True"/> 718 720 </Unit73> 721 <Unit74> 722 <Filename Value="E:\Projekty\PascalClassLibrary\Generics\TemplateGenerics\Specialized\SpecializedList.pas"/> 723 <UnitName Value="SpecializedList"/> 724 <EditorIndex Value="17"/> 725 <WindowIndex Value="0"/> 726 <TopLine Value="28"/> 727 <CursorPos X="1" Y="1"/> 728 <UsageCount Value="10"/> 729 <Loaded Value="True"/> 730 </Unit74> 719 731 </Units> 720 <JumpHistory Count=" 29" HistoryIndex="28">732 <JumpHistory Count="30" HistoryIndex="29"> 721 733 <Position1> 722 734 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 723 <Caret Line=" 1252" Column="1" TopLine="1239"/>735 <Caret Line="702" Column="26" TopLine="59"/> 724 736 </Position1> 725 737 <Position2> 726 738 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 727 <Caret Line="1 253" Column="1" TopLine="1239"/>739 <Caret Line="158" Column="18" TopLine="145"/> 728 740 </Position2> 729 741 <Position3> 730 742 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 731 <Caret Line="1 254" Column="1" TopLine="1239"/>743 <Caret Line="159" Column="41" TopLine="146"/> 732 744 </Position3> 733 745 <Position4> 734 746 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 735 <Caret Line="1 255" Column="1" TopLine="1239"/>747 <Caret Line="161" Column="40" TopLine="148"/> 736 748 </Position4> 737 749 <Position5> 738 <Filename Value="..\Compiler\ USourceCode.pas"/>739 <Caret Line="1 099" Column="1" TopLine="1094"/>750 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 751 <Caret Line="163" Column="25" TopLine="149"/> 740 752 </Position5> 741 753 <Position6> 742 <Filename Value="..\Compiler\ USourceCode.pas"/>743 <Caret Line="1 100" Column="1" TopLine="1094"/>754 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 755 <Caret Line="168" Column="31" TopLine="155"/> 744 756 </Position6> 745 757 <Position7> 746 <Filename Value="..\Compiler\ USourceCode.pas"/>747 <Caret Line="1 101" Column="1" TopLine="1094"/>758 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 759 <Caret Line="169" Column="28" TopLine="156"/> 748 760 </Position7> 749 761 <Position8> 750 <Filename Value="..\Compiler\ USourceCode.pas"/>751 <Caret Line="1 102" Column="1" TopLine="1094"/>762 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 763 <Caret Line="170" Column="19" TopLine="157"/> 752 764 </Position8> 753 765 <Position9> 754 <Filename Value="..\Compiler\ USourceCode.pas"/>755 <Caret Line="1 103" Column="1" TopLine="1094"/>766 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 767 <Caret Line="173" Column="21" TopLine="160"/> 756 768 </Position9> 757 769 <Position10> 758 <Filename Value="..\Compiler\ USourceCode.pas"/>759 <Caret Line="1 104" Column="1" TopLine="1094"/>770 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 771 <Caret Line="193" Column="17" TopLine="180"/> 760 772 </Position10> 761 773 <Position11> 762 <Filename Value=" E:\Projekty\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericList.inc"/>763 <Caret Line=" 84" Column="1" TopLine="71"/>774 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 775 <Caret Line="196" Column="58" TopLine="183"/> 764 776 </Position11> 765 777 <Position12> 766 <Filename Value=" E:\Projekty\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericList.inc"/>767 <Caret Line=" 85" Column="1" TopLine="71"/>778 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 779 <Caret Line="194" Column="77" TopLine="183"/> 768 780 </Position12> 769 781 <Position13> 770 <Filename Value="..\Compiler\ USourceCode.pas"/>771 <Caret Line=" 1099" Column="1" TopLine="1094"/>782 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 783 <Caret Line="209" Column="17" TopLine="196"/> 772 784 </Position13> 773 785 <Position14> 774 <Filename Value="..\Compiler\ USourceCode.pas"/>775 <Caret Line=" 1100" Column="1" TopLine="1094"/>786 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 787 <Caret Line="210" Column="17" TopLine="197"/> 776 788 </Position14> 777 789 <Position15> 778 <Filename Value="..\Compiler\ USourceCode.pas"/>779 <Caret Line=" 1101" Column="1" TopLine="1094"/>790 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 791 <Caret Line="322" Column="19" TopLine="309"/> 780 792 </Position15> 781 793 <Position16> 782 794 <Filename Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/> 783 <Caret Line=" 1252" Column="1" TopLine="1239"/>795 <Caret Line="889" Column="23" TopLine="876"/> 784 796 </Position16> 785 797 <Position17> 786 <Filename Value="..\Compiler\ Analyze\UAnalyzerPascal.pas"/>787 <Caret Line="1 059" Column="1" TopLine="1046"/>798 <Filename Value="..\Compiler\Produce\UProducerPascal.pas"/> 799 <Caret Line="171" Column="52" TopLine="164"/> 788 800 </Position17> 789 801 <Position18> 790 <Filename Value="..\Compiler\ Analyze\UAnalyzerPascal.pas"/>791 <Caret Line="1 252" Column="1" TopLine="1239"/>802 <Filename Value="..\Compiler\Produce\UProducerPascal.pas"/> 803 <Caret Line="139" Column="12" TopLine="126"/> 792 804 </Position18> 793 805 <Position19> 794 <Filename Value="..\Compiler\ Analyze\UAnalyzerPascal.pas"/>795 <Caret Line="1 253" Column="1" TopLine="1239"/>806 <Filename Value="..\Compiler\Produce\UProducerPascal.pas"/> 807 <Caret Line="140" Column="43" TopLine="127"/> 796 808 </Position19> 797 809 <Position20> 798 <Filename Value="..\Compiler\Analyze\UAnalyzer Pascal.pas"/>799 <Caret Line=" 1254" Column="1" TopLine="1239"/>810 <Filename Value="..\Compiler\Analyze\UAnalyzer.pas"/> 811 <Caret Line="91" Column="1" TopLine="79"/> 800 812 </Position20> 801 813 <Position21> 802 <Filename Value=" ..\Compiler\Analyze\UAnalyzerPascal.pas"/>803 <Caret Line=" 1255" Column="1" TopLine="1239"/>814 <Filename Value="Forms\UMainForm.pas"/> 815 <Caret Line="9" Column="49" TopLine="1"/> 804 816 </Position21> 805 817 <Position22> 806 <Filename Value=" ..\Compiler\USourceCode.pas"/>807 <Caret Line="10 99" Column="1" TopLine="1094"/>818 <Filename Value="Forms\UMainForm.pas"/> 819 <Caret Line="100" Column="20" TopLine="87"/> 808 820 </Position22> 809 821 <Position23> 810 <Filename Value="..\Compiler\U SourceCode.pas"/>811 <Caret Line=" 1100" Column="1" TopLine="1094"/>822 <Filename Value="..\Compiler\UCompiler.pas"/> 823 <Caret Line="56" Column="31" TopLine="43"/> 812 824 </Position23> 813 825 <Position24> 814 <Filename Value=" ..\Compiler\USourceCode.pas"/>815 <Caret Line="1 101" Column="1" TopLine="1094"/>826 <Filename Value="Forms\UMainForm.pas"/> 827 <Caret Line="100" Column="20" TopLine="87"/> 816 828 </Position24> 817 829 <Position25> 818 <Filename Value=" ..\Compiler\USourceCode.pas"/>819 <Caret Line="1 102" Column="1" TopLine="1094"/>830 <Filename Value="Forms\UMainForm.pas"/> 831 <Caret Line="13" Column="23" TopLine="1"/> 820 832 </Position25> 821 833 <Position26> 822 <Filename Value=" ..\Compiler\USourceCode.pas"/>823 <Caret Line=" 1103" Column="1" TopLine="1094"/>834 <Filename Value="UProject.pas"/> 835 <Caret Line="75" Column="1" TopLine="74"/> 824 836 </Position26> 825 837 <Position27> 826 <Filename Value=" E:\Projekty\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericList.inc"/>827 <Caret Line=" 84" Column="1" TopLine="71"/>838 <Filename Value="..\Compiler\Produce\UProducer.pas"/> 839 <Caret Line="29" Column="38" TopLine="24"/> 828 840 </Position27> 829 841 <Position28> 830 <Filename Value=" E:\Projekty\PascalClassLibrary\Generics\TemplateGenerics\Generic\GenericList.inc"/>831 <Caret Line=" 85" Column="1" TopLine="71"/>842 <Filename Value="Forms\UMainForm.pas"/> 843 <Caret Line="243" Column="40" TopLine="230"/> 832 844 </Position28> 833 845 <Position29> 834 <Filename Value=" ..\Compiler\USourceCode.pas"/>835 <Caret Line=" 1103" Column="30" TopLine="1094"/>846 <Filename Value="Forms\UMainForm.pas"/> 847 <Caret Line="99" Column="1" TopLine="86"/> 836 848 </Position29> 849 <Position30> 850 <Filename Value="Forms\UMainForm.pas"/> 851 <Caret Line="13" Column="34" TopLine="8"/> 852 </Position30> 837 853 </JumpHistory> 838 854 </ProjectOptions> … … 872 888 </Linking> 873 889 <Other> 874 <CompilerMessages>875 <IgnoredMessages idx5023="True" idx5024="True" idx5025="True" idx5026="True" idx5027="True" idx5028="True" idx5029="True" idx5030="True" idx5031="True"/>876 <UseMsgFile Value="True"/>877 </CompilerMessages>878 890 <CompilerPath Value="$(CompPath)"/> 879 891 </Other> 880 892 </CompilerOptions> 881 893 <Debugging> 882 <BreakPoints Count="2">883 <Item1>884 <Source Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/>885 <Line Value="1252"/>886 </Item1>887 <Item2>888 <Source Value="..\Compiler\Analyze\UAnalyzerPascal.pas"/>889 <Line Value="1059"/>890 </Item2>891 </BreakPoints>892 894 <Exceptions Count="3"> 893 895 <Item1> -
trunk/IDE/UProject.pas
r24 r26 7 7 8 8 uses 9 Classes, SysUtils, Dialogs, DOM, XMLWrite, XMLRead, FileUtil; 9 Classes, SysUtils, Dialogs, DOM, XMLWrite, XMLRead, FileUtil, 10 SpecializedObjectList; 10 11 11 12 type … … 31 32 32 33 // TListProjectNode = TGObjectList<Integer, TProjectNode> 33 {$DEFINE TGObjectListIndex := Integer} 34 {$DEFINE TGObjectListItem := TProjectNode} 35 {$DEFINE TGObjectListList := TObjectListProjectNode} 36 {$DEFINE TGObjectList := TListProjectNode} 37 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareProjectNode} 38 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterProjectNode} 39 {$DEFINE INTERFACE} 40 {$I 'GenericObjectList.inc'} 34 TListProjectNode = class(TListObject); 41 35 42 36 { TProjectFile } … … 80 74 81 75 82 {$DEFINE IMPLEMENTATION_USES}83 {$INCLUDE 'GenericObjectList.inc'}84 85 // TListProjectNode = TGObjectList<Integer, TProjectNode>86 {$DEFINE TGObjectListIndex := Integer}87 {$DEFINE TGObjectListItem := TProjectNode}88 {$DEFINE TGObjectListList := TObjectListProjectNode}89 {$DEFINE TGObjectList := TListProjectNode}90 {$DEFINE TGObjectListSortCompare := TObjectListSortCompareProjectNode}91 {$DEFINE TGObjectListStringConverter := TObjectListStringConverterProjectNode}92 {$DEFINE IMPLEMENTATION}93 {$INCLUDE 'GenericObjectList.inc'}94 76 95 77 { TProjectGroup }
Note:
See TracChangeset
for help on using the changeset viewer.