Changeset 48
- Timestamp:
- Oct 26, 2023, 11:59:00 PM (14 months ago)
- Location:
- branches/ByteArray
- Files:
-
- 71 added
- 71 deleted
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ByteArray/ByteArray.lpi
r47 r48 169 169 </Unit> 170 170 <Unit> 171 <Filename Value=" Forms/Project.pas"/>171 <Filename Value="Project.pas"/> 172 172 <IsPartOfProject Value="True"/> 173 173 </Unit> -
branches/ByteArray/ByteArray.lpr
r46 r48 12 12 Interfaces, SysUtils,// this includes the LCL widgetset 13 13 Forms, FormMain, FormConsole, FormDevice, FormScreen, FormDisassembler, 14 FormAssembler, Cpu, BigInt, Channel, Memory, FrameBuffer, Device, Storage,14 FormAssembler, Cpu, BigInt, Channel, Common.Memory, FrameBuffer, Device, Storage, 15 15 DeviceMapper, Machine, Disassembler, Instructions, Parser, Message, Assembler, 16 16 Serial, Mouse, FormSourceEditor, FormMessages, FormMemory, Common -
branches/ByteArray/Devices/Device.pas
r45 r48 4 4 5 5 uses 6 Classes, SysUtils, Channel, Forms, BigInt ;6 Classes, SysUtils, Channel, Forms, BigInt, Common.FormEx; 7 7 8 8 type … … 25 25 { TFormDevice } 26 26 27 TFormDevice = class(TForm )27 TFormDevice = class(TFormEx) 28 28 protected 29 29 function GetDevice: TDevice; virtual; -
branches/ByteArray/Forms/FormAssembler.pas
r46 r48 5 5 uses 6 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, AsyncProcess, SynEdit, 7 SynHighlighterAny, SynHighlighterMulti ;7 SynHighlighterAny, SynHighlighterMulti, Common.FormEx; 8 8 9 9 type … … 11 11 { TFormAssembler } 12 12 13 TFormAssembler = class(TForm )13 TFormAssembler = class(TFormEx) 14 14 SynAnySyn1: TSynAnySyn; 15 15 SynEdit1: TSynEdit; -
branches/ByteArray/Forms/FormMain.lfm
r46 r48 36 36 Action = AMemory 37 37 end 38 object Separator1: TMenuItem 39 Caption = '-' 40 end 41 object MenuItem9: TMenuItem 42 Action = AFullscreen 43 end 38 44 end 39 45 object MenuItem2: TMenuItem … … 53 59 Caption = 'Source editor' 54 60 OnExecute = ASourceEditorExecute 61 ShortCut = 123 55 62 end 56 63 object ADebugger: TAction … … 64 71 Caption = 'Exit' 65 72 OnExecute = AExitExecute 73 ShortCut = 32883 66 74 end 67 75 object AMemory: TAction … … 69 77 OnExecute = AMemoryExecute 70 78 end 79 object AFullscreen: TAction 80 Caption = 'Fullscreen' 81 OnExecute = AFullscreenExecute 82 ShortCut = 122 83 end 84 end 85 object PersistentForm1: TPersistentForm 86 MinVisiblePart = 50 87 EntireVisible = False 88 Left = 640 89 Top = 79 71 90 end 72 91 end -
branches/ByteArray/Forms/FormMain.pas
r46 r48 5 5 uses 6 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Menus, ActnList, 7 FormConsole, FormScreen, Machine, FormSourceEditor, FormMemory; 7 FormConsole, FormScreen, Machine, Common.PersistentForm, FormSourceEditor, 8 FormMemory, Common.FormEx; 8 9 9 10 type … … 11 12 { TFormMain } 12 13 13 TFormMain = class(TForm) 14 TFormMain = class(TFormEx) 15 AFullscreen: TAction; 14 16 AMemory: TAction; 15 17 AExit: TAction; … … 26 28 MenuItem6: TMenuItem; 27 29 MenuItem7: TMenuItem; 30 PersistentForm1: TPersistentForm; 31 Separator1: TMenuItem; 32 MenuItem9: TMenuItem; 28 33 MenuItemViewScreen: TMenuItem; 29 34 MenuItemViewStorage: TMenuItem; … … 31 36 procedure ADebuggerExecute(Sender: TObject); 32 37 procedure AExitExecute(Sender: TObject); 38 procedure AFullscreenExecute(Sender: TObject); 33 39 procedure AMemoryExecute(Sender: TObject); 34 40 procedure ASourceEditorExecute(Sender: TObject); … … 81 87 begin 82 88 Close; 89 end; 90 91 procedure TFormMain.AFullscreenExecute(Sender: TObject); 92 begin 93 PersistentForm1.SetFullScreen(not PersistentForm1.FormFullScreen); 83 94 end; 84 95 -
branches/ByteArray/Forms/FormMemory.pas
r46 r48 5 5 uses 6 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ComCtrls, ExtCtrls, 7 Memory ;7 Memory, Common.FormEx; 8 8 9 9 type … … 11 11 { TFormMemory } 12 12 13 TFormMemory = class(TForm )13 TFormMemory = class(TFormEx) 14 14 ListViewMemory: TListView; 15 15 Timer1: TTimer; -
branches/ByteArray/Forms/FormMessages.pas
r46 r48 5 5 uses 6 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ComCtrls, 7 Generics.Collections, Message ;7 Generics.Collections, Message, Common.FormEx; 8 8 9 9 type … … 12 12 { TFormMessages } 13 13 14 TFormMessages = class(TForm )14 TFormMessages = class(TFormEx) 15 15 ListView1: TListView; 16 16 procedure ListView1Data(Sender: TObject; Item: TListItem); -
branches/ByteArray/Forms/FormSourceEditor.pas
r47 r48 5 5 uses 6 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, Menus, 7 ActnList, FormMessages, FormAssembler, Project ;7 ActnList, FormMessages, FormAssembler, Project, Common.FormEx; 8 8 9 9 type … … 11 11 { TFormSourceEditor } 12 12 13 TFormSourceEditor = class(TForm )13 TFormSourceEditor = class(TFormEx) 14 14 AClose: TAction; 15 15 ANew: TAction; -
branches/ByteArray/Packages/Common/Common.lpk
r47 r48 45 45 <Files Count="36"> 46 46 <Item1> 47 <Filename Value=" StopWatch.pas"/>48 <UnitName Value=" StopWatch"/>47 <Filename Value="Common.StopWatch.pas"/> 48 <UnitName Value="Common.StopWatch"/> 49 49 </Item1> 50 50 <Item2> 51 <Filename Value="Common. pas"/>52 <UnitName Value="Common "/>51 <Filename Value="Common.Utils.pas"/> 52 <UnitName Value="Common.Utils"/> 53 53 </Item2> 54 54 <Item3> 55 <Filename Value=" DebugLog.pas"/>56 <HasRegisterProc Value="True"/> 57 <UnitName Value=" DebugLog"/>55 <Filename Value="Common.DebugLog.pas"/> 56 <HasRegisterProc Value="True"/> 57 <UnitName Value="Common.DebugLog"/> 58 58 </Item3> 59 59 <Item4> … … 62 62 </Item4> 63 63 <Item5> 64 <Filename Value=" PrefixMultiplier.pas"/>65 <HasRegisterProc Value="True"/> 66 <UnitName Value=" PrefixMultiplier"/>64 <Filename Value="Common.PrefixMultiplier.pas"/> 65 <HasRegisterProc Value="True"/> 66 <UnitName Value="Common.PrefixMultiplier"/> 67 67 </Item5> 68 68 <Item6> 69 <Filename Value=" URI.pas"/>70 <UnitName Value=" URI"/>69 <Filename Value="Common.URI.pas"/> 70 <UnitName Value="Common.URI"/> 71 71 </Item6> 72 72 <Item7> 73 <Filename Value=" Threading.pas"/>74 <UnitName Value=" Threading"/>73 <Filename Value="Common.Threading.pas"/> 74 <UnitName Value="Common.Threading"/> 75 75 </Item7> 76 76 <Item8> 77 <Filename Value=" Memory.pas"/>78 <UnitName Value=" Memory"/>77 <Filename Value="Common.Memory.pas"/> 78 <UnitName Value="Common.Memory"/> 79 79 </Item8> 80 80 <Item9> 81 <Filename Value=" ResetableThread.pas"/>82 <UnitName Value=" ResetableThread"/>81 <Filename Value="Common.ResetableThread.pas"/> 82 <UnitName Value="Common.ResetableThread"/> 83 83 </Item9> 84 84 <Item10> 85 <Filename Value=" Pool.pas"/>86 <UnitName Value=" Pool"/>85 <Filename Value="Common.Pool.pas"/> 86 <UnitName Value="Common.Pool"/> 87 87 </Item10> 88 88 <Item11> 89 <Filename Value=" LastOpenedList.pas"/>90 <HasRegisterProc Value="True"/> 91 <UnitName Value=" LastOpenedList"/>89 <Filename Value="Common.LastOpenedList.pas"/> 90 <HasRegisterProc Value="True"/> 91 <UnitName Value="Common.LastOpenedList"/> 92 92 </Item11> 93 93 <Item12> 94 <Filename Value=" RegistryEx.pas"/>95 <UnitName Value=" RegistryEx"/>94 <Filename Value="Common.RegistryEx.pas"/> 95 <UnitName Value="Common.RegistryEx"/> 96 96 </Item12> 97 97 <Item13> 98 <Filename Value=" JobProgressView.pas"/>99 <HasRegisterProc Value="True"/> 100 <UnitName Value=" JobProgressView"/>98 <Filename Value="Common.JobProgressView.pas"/> 99 <HasRegisterProc Value="True"/> 100 <UnitName Value="Common.JobProgressView"/> 101 101 </Item13> 102 102 <Item14> 103 <Filename Value=" XML.pas"/>104 <UnitName Value=" XML"/>103 <Filename Value="Common.XML.pas"/> 104 <UnitName Value="Common.XML"/> 105 105 </Item14> 106 106 <Item15> 107 <Filename Value=" ApplicationInfo.pas"/>108 <HasRegisterProc Value="True"/> 109 <UnitName Value=" ApplicationInfo"/>107 <Filename Value="Common.ApplicationInfo.pas"/> 108 <HasRegisterProc Value="True"/> 109 <UnitName Value="Common.ApplicationInfo"/> 110 110 </Item15> 111 111 <Item16> 112 <Filename Value=" SyncCounter.pas"/>113 <UnitName Value=" SyncCounter"/>112 <Filename Value="Common.SyncCounter.pas"/> 113 <UnitName Value="Common.SyncCounter"/> 114 114 </Item16> 115 115 <Item17> 116 <Filename Value=" ListViewSort.pas"/>117 <HasRegisterProc Value="True"/> 118 <UnitName Value=" ListViewSort"/>116 <Filename Value="Common.ListViewSort.pas"/> 117 <HasRegisterProc Value="True"/> 118 <UnitName Value="Common.ListViewSort"/> 119 119 </Item17> 120 120 <Item18> 121 <Filename Value=" PersistentForm.pas"/>122 <HasRegisterProc Value="True"/> 123 <UnitName Value=" PersistentForm"/>121 <Filename Value="Common.PersistentForm.pas"/> 122 <HasRegisterProc Value="True"/> 123 <UnitName Value="Common.PersistentForm"/> 124 124 </Item18> 125 125 <Item19> 126 <Filename Value=" FindFile.pas"/>127 <HasRegisterProc Value="True"/> 128 <UnitName Value=" FindFile"/>126 <Filename Value="Common.FindFile.pas"/> 127 <HasRegisterProc Value="True"/> 128 <UnitName Value="Common.FindFile"/> 129 129 </Item19> 130 130 <Item20> 131 <Filename Value=" ScaleDPI.pas"/>132 <HasRegisterProc Value="True"/> 133 <UnitName Value=" ScaleDPI"/>131 <Filename Value="Common.ScaleDPI.pas"/> 132 <HasRegisterProc Value="True"/> 133 <UnitName Value="Common.ScaleDPI"/> 134 134 </Item20> 135 135 <Item21> 136 <Filename Value=" Theme.pas"/>137 <HasRegisterProc Value="True"/> 138 <UnitName Value=" Theme"/>136 <Filename Value="Common.Theme.pas"/> 137 <HasRegisterProc Value="True"/> 138 <UnitName Value="Common.Theme"/> 139 139 </Item21> 140 140 <Item22> 141 <Filename Value=" StringTable.pas"/>142 <UnitName Value=" StringTable"/>141 <Filename Value="Common.StringTable.pas"/> 142 <UnitName Value="Common.StringTable"/> 143 143 </Item22> 144 144 <Item23> 145 <Filename Value=" MetaCanvas.pas"/>146 <UnitName Value=" MetaCanvas"/>145 <Filename Value="Common.MetaCanvas.pas"/> 146 <UnitName Value="Common.MetaCanvas"/> 147 147 </Item23> 148 148 <Item24> 149 <Filename Value=" Geometric.pas"/>150 <UnitName Value=" Geometric"/>149 <Filename Value="Common.Geometric.pas"/> 150 <UnitName Value="Common.Geometric"/> 151 151 </Item24> 152 152 <Item25> 153 <Filename Value=" Translator.pas"/>154 <HasRegisterProc Value="True"/> 155 <UnitName Value=" Translator"/>153 <Filename Value="Common.Translator.pas"/> 154 <HasRegisterProc Value="True"/> 155 <UnitName Value="Common.Translator"/> 156 156 </Item25> 157 157 <Item26> 158 <Filename Value=" Languages.pas"/>159 <UnitName Value=" Languages"/>158 <Filename Value="Common.Languages.pas"/> 159 <UnitName Value="Common.Languages"/> 160 160 </Item26> 161 161 <Item27> 162 <Filename Value=" PixelPointer.pas"/>163 <UnitName Value=" PixelPointer"/>162 <Filename Value="Common.PixelPointer.pas"/> 163 <UnitName Value="Common.PixelPointer"/> 164 164 </Item27> 165 165 <Item28> 166 <Filename Value=" DataFile.pas"/>167 <UnitName Value=" DataFile"/>166 <Filename Value="Common.DataFile.pas"/> 167 <UnitName Value="Common.DataFile"/> 168 168 </Item28> 169 169 <Item29> 170 <Filename Value=" TestCase.pas"/>171 <UnitName Value=" TestCase"/>170 <Filename Value="Common.TestCase.pas"/> 171 <UnitName Value="Common.TestCase"/> 172 172 </Item29> 173 173 <Item30> 174 <Filename Value=" Generics.pas"/>175 <UnitName Value=" Generics"/>174 <Filename Value="Common.Generics.pas"/> 175 <UnitName Value="Common.Generics"/> 176 176 </Item30> 177 177 <Item31> … … 181 181 </Item31> 182 182 <Item32> 183 <Filename Value=" Table.pas"/>184 <UnitName Value=" Table"/>183 <Filename Value="Common.Table.pas"/> 184 <UnitName Value="Common.Table"/> 185 185 </Item32> 186 186 <Item33> 187 <Filename Value=" FormEx.pas"/>188 <HasRegisterProc Value="True"/> 189 <UnitName Value=" FormEx"/>187 <Filename Value="Common.FormEx.pas"/> 188 <HasRegisterProc Value="True"/> 189 <UnitName Value="Common.FormEx"/> 190 190 </Item33> 191 191 <Item34> 192 <Filename Value="Forms\ FormTests.pas"/>193 <UnitName Value=" FormTests"/>192 <Filename Value="Forms\Common.FormTests.pas"/> 193 <UnitName Value="Common.FormTests"/> 194 194 </Item34> 195 195 <Item35> 196 <Filename Value="Forms\ FormTest.pas"/>197 <UnitName Value=" FormTest"/>196 <Filename Value="Forms\Common.FormTest.pas"/> 197 <UnitName Value="Common.FormTest"/> 198 198 </Item35> 199 199 <Item36> 200 <Filename Value="Forms\ FormAbout.pas"/>201 <UnitName Value=" FormAbout"/>200 <Filename Value="Forms\Common.FormAbout.pas"/> 201 <UnitName Value="Common.FormAbout"/> 202 202 </Item36> 203 203 </Files> -
branches/ByteArray/Packages/Common/CommonPackage.pas
r47 r48 9 9 10 10 uses 11 StopWatch, Common, DebugLog, Common.Delay, PrefixMultiplier, URI, Threading, 12 Memory, ResetableThread, Pool, LastOpenedList, RegistryEx, JobProgressView, 13 XML, ApplicationInfo, SyncCounter, ListViewSort, PersistentForm, FindFile, 14 ScaleDPI, Theme, StringTable, MetaCanvas, Geometric, Translator, Languages, 15 PixelPointer, DataFile, TestCase, Generics, Table, FormEx, FormTests, 16 FormTest, FormAbout, LazarusPackageIntf; 11 Common.StopWatch, Common.Utils, Common.DebugLog, Common.Delay, 12 Common.PrefixMultiplier, Common.URI, Common.Threading, Common.Memory, 13 Common.ResetableThread, Common.Pool, Common.LastOpenedList, 14 Common.RegistryEx, Common.JobProgressView, Common.XML, 15 Common.ApplicationInfo, Common.SyncCounter, Common.ListViewSort, 16 Common.PersistentForm, Common.FindFile, Common.ScaleDPI, Common.Theme, 17 Common.StringTable, Common.MetaCanvas, Common.Geometric, Common.Translator, 18 Common.Languages, Common.PixelPointer, Common.DataFile, Common.TestCase, 19 Common.Generics, Common.Table, Common.FormEx, Common.FormTests, 20 Common.FormTest, Common.FormAbout, LazarusPackageIntf; 17 21 18 22 implementation … … 20 24 procedure Register; 21 25 begin 22 RegisterUnit(' DebugLog', @DebugLog.Register);23 RegisterUnit(' PrefixMultiplier', @PrefixMultiplier.Register);24 RegisterUnit(' LastOpenedList', @LastOpenedList.Register);25 RegisterUnit(' JobProgressView', @JobProgressView.Register);26 RegisterUnit(' ApplicationInfo', @ApplicationInfo.Register);27 RegisterUnit(' ListViewSort', @ListViewSort.Register);28 RegisterUnit(' PersistentForm', @PersistentForm.Register);29 RegisterUnit(' FindFile', @FindFile.Register);30 RegisterUnit(' ScaleDPI', @ScaleDPI.Register);31 RegisterUnit(' Theme', @Theme.Register);32 RegisterUnit(' Translator', @Translator.Register);33 RegisterUnit(' FormEx', @FormEx.Register);26 RegisterUnit('Common.DebugLog', @Common.DebugLog.Register); 27 RegisterUnit('Common.PrefixMultiplier', @Common.PrefixMultiplier.Register); 28 RegisterUnit('Common.LastOpenedList', @Common.LastOpenedList.Register); 29 RegisterUnit('Common.JobProgressView', @Common.JobProgressView.Register); 30 RegisterUnit('Common.ApplicationInfo', @Common.ApplicationInfo.Register); 31 RegisterUnit('Common.ListViewSort', @Common.ListViewSort.Register); 32 RegisterUnit('Common.PersistentForm', @Common.PersistentForm.Register); 33 RegisterUnit('Common.FindFile', @Common.FindFile.Register); 34 RegisterUnit('Common.ScaleDPI', @Common.ScaleDPI.Register); 35 RegisterUnit('Common.Theme', @Common.Theme.Register); 36 RegisterUnit('Common.Translator', @Common.Translator.Register); 37 RegisterUnit('Common.FormEx', @Common.FormEx.Register); 34 38 end; 35 39
Note:
See TracChangeset
for help on using the changeset viewer.