Changeset 8 for trunk/Forms
- Timestamp:
- May 18, 2015, 12:15:30 AM (10 years ago)
- Location:
- trunk/Forms
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormBrowse.lfm
r7 r8 7 7 ClientHeight = 526 8 8 ClientWidth = 722 9 OnCreate = FormCreate 10 OnDestroy = FormDestroy 9 11 LCLVersion = '1.5' 10 12 object TreeView1: TTreeView -
trunk/Forms/UFormBrowse.pas
r7 r8 33 33 procedure ADeleteExecute(Sender: TObject); 34 34 procedure AOpenExecute(Sender: TObject); 35 procedure FormCreate(Sender: TObject); 36 procedure FormDestroy(Sender: TObject); 35 37 procedure ListView1Data(Sender: TObject; Item: TListItem); 36 38 procedure ListView1DblClick(Sender: TObject); … … 83 85 end; 84 86 87 procedure TFormBrowse.FormCreate(Sender: TObject); 88 begin 89 FileList := TStringList.Create; 90 end; 91 92 procedure TFormBrowse.FormDestroy(Sender: TObject); 93 begin 94 FileList.Free; 95 end; 96 85 97 procedure TFormBrowse.ReloadList; 86 98 var 87 99 FindFile: TFindFile; 100 FoundFileList: TStrings; 88 101 I: Integer; 89 102 begin 90 FindFile := TFindFile.Create(nil); 91 FindFile.Path := Directory; 92 FindFile.FileMask := AllFilesMask; 93 FindFile.InSubFolders := False; 94 FileList := FindFile.SearchForFiles; 95 for I := FileList.Count - 1 downto 0 do 96 if ExtractFileName(FileList[I]) = '.' then FileList.Delete(I); 97 FileList.Sort; 98 ListView1.Items.Count := FileList.Count; 103 if DirectoryExistsUTF8(Directory) then begin 104 FindFile := TFindFile.Create(nil); 105 try 106 FindFile.Path := Directory; 107 FindFile.FileMask := AllFilesMask; 108 FindFile.InSubFolders := False; 109 FoundFileList := FindFile.SearchForFiles; 110 FileList.Assign(FoundFileList); 111 for I := FileList.Count - 1 downto 0 do 112 if ExtractFileName(FileList[I]) = '.' then FileList.Delete(I); 113 FileList.Sort; 114 ListView1.Items.Count := FileList.Count; 115 finally 116 FindFile.Free; 117 end; 118 end else ListView1.Items.Count := 0; 99 119 ListView1.Refresh; 100 120 end; -
trunk/Forms/UFormConsole.lfm
r6 r8 39 39 object EditCommand: TEdit 40 40 Left = 4 41 Height = 3 241 Height = 35 42 42 Top = 7 43 43 Width = 884 -
trunk/Forms/UFormConsole.pas
r6 r8 92 92 Line: string; 93 93 CommandLine: string; 94 I: Integer; 94 95 begin 95 96 Text := ''; … … 104 105 Process.Environment.Text := Environment; 105 106 Environment := ''; 106 //Process.Executable := Executable; 107 //Process.Parameters.Assign(Parameters); 108 Process.CommandLine := Executable + ' ' + Parameters.Text; 107 Process.Executable := Executable; 108 Process.Parameters.Assign(Parameters); 109 //for I := 0 to Process.Parameters.Count - 1 do 110 // ShowMessage('"' + Process.Parameters[I] + '"'); 111 //Process.CommandLine := Executable + ' checkout http://svn.zdechov.net/svn/xtactics /home/chronos/Smazat/svn3'; 112 //Process.Parameters.Clear; 113 //Process.Parameters.Add('checkout'); 114 //Process.Parameters.Add('http://svn.zdechov.net/svn/xtactics'); 115 //Process.Parameters.Add('/home/chronos/Smazat/svn3'); 116 //Process.Parameters.Add('checkout'); 117 //Process.Parameters.Add('dasd');; 118 //Process.CommandLine := Executable + ' ' + Parameters.Text; 109 119 CommandLine := Executable + ' ' + StringReplace(Parameters.Text, LineEnding, ' ', [rfReplaceAll]); 110 120 if CommandLine[Length(CommandLine)] = LineEnding then -
trunk/Forms/UFormMain.lfm
r6 r8 5 5 Width = 667 6 6 Caption = 'VCSCommander' 7 ClientHeight = 4 717 ClientHeight = 468 8 8 ClientWidth = 667 9 9 Menu = MainMenu1 … … 25 25 object StatusBar1: TStatusBar 26 26 Left = 0 27 Height = 2 628 Top = 4 4527 Height = 29 28 Top = 439 29 29 Width = 667 30 30 Panels = <> … … 35 35 object MenuItemFile: TMenuItem 36 36 Caption = 'File' 37 object MenuItem17: TMenuItem 38 Action = Core.AProjectCheckout 39 end 37 40 object MenuItem8: TMenuItem 38 41 Action = Core.AProjectOpen … … 68 71 Action = Core.ACommandCleanup 69 72 end 70 object MenuItem15: TMenuItem71 Action = Core.ACommandCheckout72 end73 73 object MenuItem16: TMenuItem 74 74 Action = Core.ACommandStatus -
trunk/Forms/UFormMain.pas
r6 r8 21 21 MenuItem13: TMenuItem; 22 22 MenuItem14: TMenuItem; 23 MenuItem15: TMenuItem;24 23 MenuItem16: TMenuItem; 24 MenuItem17: TMenuItem; 25 25 MenuItemOpenRecent: TMenuItem; 26 26 MenuItem2: TMenuItem;
Note:
See TracChangeset
for help on using the changeset viewer.