mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 22:15:55 +02:00
splitted off unit FileUtil, it doesn't depend on other LCL units
git-svn-id: trunk@6081 -
This commit is contained in:
parent
bcf90ce19b
commit
450371882c
@ -36,7 +36,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Math, LCLProc, LResources, Forms, Controls, Buttons,
|
Classes, SysUtils, Math, LCLProc, LResources, Forms, Controls, Buttons,
|
||||||
ComCtrls, StdCtrls, ExtCtrls, Menus, Dialogs, Graphics, FileCtrl, AVL_Tree,
|
ComCtrls, StdCtrls, ExtCtrls, Menus, Dialogs, Graphics, FileUtil, AVL_Tree,
|
||||||
LazarusIDEStrConsts, IDEProcs, IDEOptionDefs, EnvironmentOpts,
|
LazarusIDEStrConsts, IDEProcs, IDEOptionDefs, EnvironmentOpts,
|
||||||
Project, PackageDefs, PackageSystem;
|
Project, PackageDefs, PackageSystem;
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LResources, LCLType, Forms, Controls, Graphics, Dialogs,
|
Classes, SysUtils, LResources, LCLType, Forms, Controls, Graphics, Dialogs,
|
||||||
Buttons, ExtCtrls, StdCtrls, BasicCodeTools, FileCtrl, IDEProcs, InputHistory,
|
Buttons, ExtCtrls, StdCtrls, BasicCodeTools, FileUtil, IDEProcs, InputHistory,
|
||||||
EnvironmentOpts, TransferMacros;
|
EnvironmentOpts, TransferMacros;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -35,7 +35,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Math, LCLProc, Forms, Controls, LCLType, LCLIntf,
|
Classes, SysUtils, Math, LCLProc, Forms, Controls, LCLType, LCLIntf,
|
||||||
Graphics, GraphType, StdCtrls, ExtCtrls, Buttons, FileCtrl, Dialogs,
|
Graphics, GraphType, StdCtrls, ExtCtrls, Buttons, FileUtil, Dialogs,
|
||||||
LResources, Laz_XMLCfg, LazarusIDEStrConsts, TransferMacros, LazConf,
|
LResources, Laz_XMLCfg, LazarusIDEStrConsts, TransferMacros, LazConf,
|
||||||
IDEProcs, InputHistory, ExtToolDialog, ExtToolEditDlg, CompilerOptions;
|
IDEProcs, InputHistory, ExtToolDialog, ExtToolEditDlg, CompilerOptions;
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls,
|
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls,
|
||||||
Buttons, LazarusIDEStrConsts, FileCtrl, IDEProcs, EnvironmentOpts,
|
Buttons, LazarusIDEStrConsts, FileUtil, IDEProcs, EnvironmentOpts,
|
||||||
CompilerOptions, ExtToolEditDlg, TransferMacros;
|
CompilerOptions, ExtToolEditDlg, TransferMacros;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -31,7 +31,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, Buttons,
|
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, Buttons,
|
||||||
StdCtrls, FileCtrl, LCLProc, Laz_XMLCfg, SynRegExpr,
|
StdCtrls, FileUtil, LCLProc, Laz_XMLCfg, SynRegExpr,
|
||||||
LazarusIDEStrConsts, LazConf, IDEProcs, TransferMacros;
|
LazarusIDEStrConsts, LazConf, IDEProcs, TransferMacros;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -7,7 +7,7 @@ interface
|
|||||||
uses
|
uses
|
||||||
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls,
|
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls,
|
||||||
Buttons, ComCtrls, SynEdit, DefineTemplates, ExprEval, LazarusIDEStrConsts,
|
Buttons, ComCtrls, SynEdit, DefineTemplates, ExprEval, LazarusIDEStrConsts,
|
||||||
FileCtrl, InputHistory;
|
FileUtil, InputHistory;
|
||||||
|
|
||||||
type
|
type
|
||||||
TCodeToolsDefinesDialog = class(TForm)
|
TCodeToolsDefinesDialog = class(TForm)
|
||||||
|
@ -40,7 +40,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LCLProc, Forms, Controls, CompilerOptions, Project,
|
Classes, SysUtils, LCLProc, Forms, Controls, CompilerOptions, Project,
|
||||||
Process, LazarusIDEStrConsts, IDEProcs, OutputFilter, FileCtrl;
|
Process, LazarusIDEStrConsts, IDEProcs, OutputFilter, FileUtil;
|
||||||
|
|
||||||
type
|
type
|
||||||
TOnCmdLineCreate = procedure(var CmdLine: string; var Abort:boolean)
|
TOnCmdLineCreate = procedure(var CmdLine: string; var Abort:boolean)
|
||||||
@ -190,6 +190,9 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.45 2004/09/27 22:05:40 vincents
|
||||||
|
splitted off unit FileUtil, it doesn't depend on other LCL units
|
||||||
|
|
||||||
Revision 1.44 2004/09/17 20:04:34 vincents
|
Revision 1.44 2004/09/17 20:04:34 vincents
|
||||||
replaced writeln by DebugLn
|
replaced writeln by DebugLn
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ unit CompilerOptions;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, FileCtrl, LCLProc,
|
Classes, SysUtils, FileUtil, LCLProc,
|
||||||
Laz_XMLCfg,
|
Laz_XMLCfg,
|
||||||
IDEProcs, LazConf,
|
IDEProcs, LazConf,
|
||||||
TransferMacros;
|
TransferMacros;
|
||||||
|
@ -37,7 +37,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Forms, Classes, LCLProc, SysUtils, ComCtrls, Buttons, StdCtrls, ExtCtrls,
|
Forms, Classes, LCLProc, SysUtils, ComCtrls, Buttons, StdCtrls, ExtCtrls,
|
||||||
Graphics, LResources, FileCtrl, Dialogs, Controls, GraphType,
|
Graphics, LResources, FileUtil, Dialogs, Controls, GraphType,
|
||||||
PathEditorDlg, LazarusIDEStrConsts, IDEOptionDefs, LazConf, IDEProcs,
|
PathEditorDlg, LazarusIDEStrConsts, IDEOptionDefs, LazConf, IDEProcs,
|
||||||
CompilerOptions, ShowCompilerOpts, Project, PackageDefs;
|
CompilerOptions, ShowCompilerOpts, Project, PackageDefs;
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ uses
|
|||||||
{$IFDEF IDE_MEM_CHECK}
|
{$IFDEF IDE_MEM_CHECK}
|
||||||
MemCheck,
|
MemCheck,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Classes, SysUtils, Forms, Controls, Dialogs, Menus, FileCtrl, LCLProc,
|
Classes, SysUtils, Forms, Controls, Dialogs, Menus, FileUtil, LCLProc,
|
||||||
Laz_XMLCfg, SynEdit, CodeCache, CodeToolManager, LazConf, DebugOptionsFrm,
|
Laz_XMLCfg, SynEdit, CodeCache, CodeToolManager, LazConf, DebugOptionsFrm,
|
||||||
CompilerOptions, EditorOptions, EnvironmentOpts, KeyMapping, UnitEditor,
|
CompilerOptions, EditorOptions, EnvironmentOpts, KeyMapping, UnitEditor,
|
||||||
Project, IDEProcs, InputHistory, Debugger,
|
Project, IDEProcs, InputHistory, Debugger,
|
||||||
@ -1894,6 +1894,9 @@ end.
|
|||||||
|
|
||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.75 2004/09/27 22:05:40 vincents
|
||||||
|
splitted off unit FileUtil, it doesn't depend on other LCL units
|
||||||
|
|
||||||
Revision 1.74 2004/09/23 07:45:53 vincents
|
Revision 1.74 2004/09/23 07:45:53 vincents
|
||||||
moved FDebugger field from BaseDebugManager to DebugManager
|
moved FDebugger field from BaseDebugManager to DebugManager
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ interface
|
|||||||
uses
|
uses
|
||||||
// FCL+LCL
|
// FCL+LCL
|
||||||
Classes, SysUtils, LCLProc, LResources, Forms, Controls, Graphics,
|
Classes, SysUtils, LCLProc, LResources, Forms, Controls, Graphics,
|
||||||
Dialogs, Buttons, StdCtrls, FileCtrl,
|
Dialogs, Buttons, StdCtrls, FileUtil,
|
||||||
// Components
|
// Components
|
||||||
SynEdit, CodeCache, CodeToolManager, DefineTemplates,
|
SynEdit, CodeCache, CodeToolManager, DefineTemplates,
|
||||||
// IDE
|
// IDE
|
||||||
|
@ -37,7 +37,7 @@ unit DialogProcs;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Forms, Controls, Dialogs, FileCtrl, CodeCache,
|
Classes, SysUtils, Forms, Controls, Dialogs, FileUtil, CodeCache,
|
||||||
CodeToolManager, AVL_Tree,
|
CodeToolManager, AVL_Tree,
|
||||||
IDEProcs, LazarusIDEStrConsts;
|
IDEProcs, LazarusIDEStrConsts;
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ unit EditDefineTree;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, FileProcs, FileCtrl, IDEProcs, CodeToolManager,
|
Classes, SysUtils, FileProcs, FileUtil, IDEProcs, CodeToolManager,
|
||||||
DefineTemplates, CompilerOptions, TransferMacros, LinkScanner,
|
DefineTemplates, CompilerOptions, TransferMacros, LinkScanner,
|
||||||
LazarusIDEStrConsts;
|
LazarusIDEStrConsts;
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ uses
|
|||||||
Classes, SysUtils, FPCAdds, LCLProc, Forms, Controls, Buttons, GraphType, Graphics,
|
Classes, SysUtils, FPCAdds, LCLProc, Forms, Controls, Buttons, GraphType, Graphics,
|
||||||
Laz_XMLCfg, ObjectInspector, ExtCtrls, StdCtrls, Spin, EditorOptions,
|
Laz_XMLCfg, ObjectInspector, ExtCtrls, StdCtrls, Spin, EditorOptions,
|
||||||
LResources, LazConf, Dialogs, ExtToolDialog, IDEProcs, IDEOptionDefs,
|
LResources, LazConf, Dialogs, ExtToolDialog, IDEProcs, IDEOptionDefs,
|
||||||
InputHistory, LazarusIDEStrConsts, FileCtrl;
|
InputHistory, LazarusIDEStrConsts, FileUtil;
|
||||||
|
|
||||||
const
|
const
|
||||||
EnvOptsVersion: integer = 102;
|
EnvOptsVersion: integer = 102;
|
||||||
|
@ -42,7 +42,7 @@ uses
|
|||||||
Classes, SysUtils, LCLType, LCLProc, Controls, Forms, Buttons, StdCtrls,
|
Classes, SysUtils, LCLType, LCLProc, Controls, Forms, Buttons, StdCtrls,
|
||||||
ComCtrls, Dialogs, LResources, Laz_XMLCfg, ExtToolEditDlg, Process,
|
ComCtrls, Dialogs, LResources, Laz_XMLCfg, ExtToolEditDlg, Process,
|
||||||
IDECommands, KeyMapping, TransferMacros, IDEProcs, CompilerOptions,
|
IDECommands, KeyMapping, TransferMacros, IDEProcs, CompilerOptions,
|
||||||
OutputFilter, FileCtrl, LazarusIDEStrConsts;
|
OutputFilter, FileUtil, LazarusIDEStrConsts;
|
||||||
|
|
||||||
const
|
const
|
||||||
MaxExtTools = ecExtToolLast-ecExtToolFirst+1;
|
MaxExtTools = ecExtToolLast-ecExtToolFirst+1;
|
||||||
|
@ -39,7 +39,7 @@ unit FileReferenceList;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, AVL_Tree, FileCtrl, IDEProcs;
|
Classes, SysUtils, AVL_Tree, FileUtil, IDEProcs;
|
||||||
|
|
||||||
type
|
type
|
||||||
{ TFileReference }
|
{ TFileReference }
|
||||||
|
@ -24,7 +24,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LCLIntf, Controls, StdCtrls, Forms, Buttons, ExtCtrls,
|
Classes, SysUtils, LCLIntf, Controls, StdCtrls, Forms, Buttons, ExtCtrls,
|
||||||
LResources, FileCtrl, LazarusIDEStrConsts, Dialogs, SynEditTypes,
|
LResources, FileUtil, LazarusIDEStrConsts, Dialogs, SynEditTypes,
|
||||||
InputHistory;
|
InputHistory;
|
||||||
|
|
||||||
type
|
type
|
||||||
@ -232,6 +232,7 @@ begin
|
|||||||
SetBounds(Self.ClientWidth-200,Self.ClientHeight-40,80,Height);
|
SetBounds(Self.ClientWidth-200,Self.ClientHeight-40,80,Height);
|
||||||
Caption:=lisLazBuildOk;
|
Caption:=lisLazBuildOk;
|
||||||
OnClick:=@OkButtonClick;
|
OnClick:=@OkButtonClick;
|
||||||
|
Default:= true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
CancelButton:=TButton.Create(Self);
|
CancelButton:=TButton.Create(Self);
|
||||||
@ -241,6 +242,7 @@ begin
|
|||||||
SetBounds(Self.ClientWidth-100,Self.ClientHeight-40,80,Height);
|
SetBounds(Self.ClientWidth-100,Self.ClientHeight-40,80,Height);
|
||||||
Caption:=dlgCancel;
|
Caption:=dlgCancel;
|
||||||
OnClick:=@CancelButtonClick;
|
OnClick:=@CancelButtonClick;
|
||||||
|
Cancel := true;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
LazFindInFilesDialogResize(nil);
|
LazFindInFilesDialogResize(nil);
|
||||||
|
@ -33,7 +33,7 @@ interface
|
|||||||
uses
|
uses
|
||||||
// LCL
|
// LCL
|
||||||
Classes, SysUtils, LResources, LCLType, LCLIntf, Forms, Controls, Graphics,
|
Classes, SysUtils, LResources, LCLType, LCLIntf, Forms, Controls, Graphics,
|
||||||
Dialogs, ExtCtrls, StdCtrls, Buttons, FileCtrl,
|
Dialogs, ExtCtrls, StdCtrls, Buttons, FileUtil,
|
||||||
// synedit, codetools
|
// synedit, codetools
|
||||||
SynRegExpr, SourceLog, KeywordFuncLists,
|
SynRegExpr, SourceLog, KeywordFuncLists,
|
||||||
// ide
|
// ide
|
||||||
|
@ -30,7 +30,7 @@ unit IDEProcs;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Laz_XMLCfg, GetText, FileCtrl, FileProcs, SynRegExpr,
|
Classes, SysUtils, Laz_XMLCfg, GetText, FileUtil, FileProcs, SynRegExpr,
|
||||||
LazConf;
|
LazConf;
|
||||||
|
|
||||||
type
|
type
|
||||||
@ -549,7 +549,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
if CurDirEndPos-StartPos=CurDirLen then begin
|
if CurDirEndPos-StartPos=CurDirLen then begin
|
||||||
// directories have same length -> compare chars
|
// directories have same length -> compare chars
|
||||||
if FileCtrl.CompareFilenames(@SearchPath[StartPos],CurDirLen,
|
if FileUtil.CompareFilenames(@SearchPath[StartPos],CurDirLen,
|
||||||
@Directory[DirStartPos],CurDirLen,
|
@Directory[DirStartPos],CurDirLen,
|
||||||
false)=0
|
false)=0
|
||||||
then begin
|
then begin
|
||||||
@ -819,7 +819,7 @@ end;
|
|||||||
|
|
||||||
function CompareFilenames(const Filename1, Filename2: string): integer;
|
function CompareFilenames(const Filename1, Filename2: string): integer;
|
||||||
begin
|
begin
|
||||||
Result:=FileCtrl.CompareFilenames(FileName1,FileName2);
|
Result:=FileUtil.CompareFilenames(FileName1,FileName2);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function FilenameIsAbsolute(Filename: string):boolean;
|
function FilenameIsAbsolute(Filename: string):boolean;
|
||||||
@ -845,7 +845,7 @@ end;
|
|||||||
function CompareFilenames(const Filename1, Filename2: string;
|
function CompareFilenames(const Filename1, Filename2: string;
|
||||||
ResolveLinks: boolean): integer;
|
ResolveLinks: boolean): integer;
|
||||||
begin
|
begin
|
||||||
Result:=FileCtrl.CompareFilenames(FileName1,FileName2,ResolveLinks);
|
Result:=FileUtil.CompareFilenames(FileName1,FileName2,ResolveLinks);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function FilenameIsMatching(const Mask, Filename: string;
|
function FilenameIsMatching(const Mask, Filename: string;
|
||||||
@ -1269,7 +1269,7 @@ begin
|
|||||||
if not WithBaseDirectory then
|
if not WithBaseDirectory then
|
||||||
Include(Flags,sffDontSearchInBasePath);
|
Include(Flags,sffDontSearchInBasePath);
|
||||||
GetProgramSearchPath(SearchPath,Delim);
|
GetProgramSearchPath(SearchPath,Delim);
|
||||||
Result:=FileCtrl.SearchFileInPath(Programname,BaseDirectory,SearchPath,
|
Result:=FileUtil.SearchFileInPath(Programname,BaseDirectory,SearchPath,
|
||||||
Delim,Flags);
|
Delim,Flags);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -2031,7 +2031,7 @@ end;
|
|||||||
|
|
||||||
function ProgramDirectory: string;
|
function ProgramDirectory: string;
|
||||||
begin
|
begin
|
||||||
Result:=FileCtrl.ProgramDirectory;
|
Result:=FileUtil.ProgramDirectory;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function CreateEmptyFile(const Filename: string): boolean;
|
function CreateEmptyFile(const Filename: string): boolean;
|
||||||
|
@ -33,7 +33,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls,
|
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls,
|
||||||
Buttons, FileCtrl, Laz_XMLCfg,
|
Buttons, FileUtil, Laz_XMLCfg,
|
||||||
LazarusIDEStrConsts, InputHistory, CompilerOptions, CompilerOptionsDlg;
|
LazarusIDEStrConsts, InputHistory, CompilerOptions, CompilerOptionsDlg;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -40,7 +40,7 @@ unit InitialSetupDlgs;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Forms, Controls, Buttons, Dialogs, FileCtrl, StdCtrls,
|
Classes, SysUtils, Forms, Controls, Buttons, Dialogs, FileUtil, StdCtrls,
|
||||||
ComCtrls,
|
ComCtrls,
|
||||||
LazarusIDEStrConsts, LazConf, EnvironmentOpts, IDEProcs;
|
LazarusIDEStrConsts, LazConf, EnvironmentOpts, IDEProcs;
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ interface
|
|||||||
uses
|
uses
|
||||||
// LCL
|
// LCL
|
||||||
Classes, SysUtils, Math, Forms, Controls, Dialogs, Buttons, StdCtrls,
|
Classes, SysUtils, Math, Forms, Controls, Dialogs, Buttons, StdCtrls,
|
||||||
FileCtrl, LResources,
|
FileUtil, LResources,
|
||||||
// IDE
|
// IDE
|
||||||
TransferMacros, InputHistory;
|
TransferMacros, InputHistory;
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ unit InputHistory;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, FileCtrl, DiffPatch, IDEProcs, Laz_XMLCfg, LazConf,
|
Classes, SysUtils, FileUtil, DiffPatch, IDEProcs, Laz_XMLCfg, LazConf,
|
||||||
Dialogs, LCLProc;
|
Dialogs, LCLProc;
|
||||||
|
|
||||||
const
|
const
|
||||||
|
@ -7,7 +7,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Process,
|
Classes, SysUtils, Process,
|
||||||
FileCtrl, Forms,
|
FileUtil, Forms,
|
||||||
LazConf,
|
LazConf,
|
||||||
StartLazOpts, Splash;
|
StartLazOpts, Splash;
|
||||||
|
|
||||||
@ -124,7 +124,8 @@ begin
|
|||||||
FLazarusPath := LazarusPath;
|
FLazarusPath := LazarusPath;
|
||||||
FProcess := TProcess.Create(nil);
|
FProcess := TProcess.Create(nil);
|
||||||
FProcess.Options := [];
|
FProcess.Options := [];
|
||||||
FProcess.CommandLine := FLazarusPath + ' --no-splash-screen';
|
FProcess.ShowWindow := swoShow;
|
||||||
|
FProcess.CommandLine := FLazarusPath + ' --no-splash-screen --by-starter';
|
||||||
end;
|
end;
|
||||||
|
|
||||||
destructor TLazarusProcess.Destroy;
|
destructor TLazarusProcess.Destroy;
|
||||||
@ -152,6 +153,9 @@ end;
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.5 2004/09/27 22:05:40 vincents
|
||||||
|
splitted off unit FileUtil, it doesn't depend on other LCL units
|
||||||
|
|
||||||
Revision 1.4 2004/09/04 23:02:56 mattias
|
Revision 1.4 2004/09/04 23:02:56 mattias
|
||||||
added reintroduce to get rid of the warning
|
added reintroduce to get rid of the warning
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ interface
|
|||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
SysUtils, Classes, FileCtrl;
|
SysUtils, Classes, FileUtil;
|
||||||
|
|
||||||
type
|
type
|
||||||
TLCLPlatform = (
|
TLCLPlatform = (
|
||||||
@ -206,6 +206,9 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.31 2004/09/27 22:05:40 vincents
|
||||||
|
splitted off unit FileUtil, it doesn't depend on other LCL units
|
||||||
|
|
||||||
Revision 1.30 2004/09/06 22:24:52 mattias
|
Revision 1.30 2004/09/06 22:24:52 mattias
|
||||||
started the carbon LCL interface
|
started the carbon LCL interface
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ uses
|
|||||||
Classes, SysUtils, Process, TypInfo,
|
Classes, SysUtils, Process, TypInfo,
|
||||||
// lcl
|
// lcl
|
||||||
LCLProc, LCLMemManager, LCLType, LCLIntf, LMessages, LResources, StdCtrls,
|
LCLProc, LCLMemManager, LCLType, LCLIntf, LMessages, LResources, StdCtrls,
|
||||||
Forms, Buttons, Menus, FileCtrl, Controls, GraphType, Graphics, ExtCtrls,
|
Forms, Buttons, Menus, FileUtil, Controls, GraphType, Graphics, ExtCtrls,
|
||||||
Dialogs, InterfaceBase, {SetDesigning}
|
Dialogs, InterfaceBase, {SetDesigning}
|
||||||
// codetools
|
// codetools
|
||||||
AVL_Tree, Laz_XMLCfg, CodeToolsStructs, CodeToolManager, CodeCache,
|
AVL_Tree, Laz_XMLCfg, CodeToolsStructs, CodeToolManager, CodeCache,
|
||||||
@ -10897,6 +10897,9 @@ end.
|
|||||||
|
|
||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.780 2004/09/27 22:05:40 vincents
|
||||||
|
splitted off unit FileUtil, it doesn't depend on other LCL units
|
||||||
|
|
||||||
Revision 1.779 2004/09/25 15:05:38 mattias
|
Revision 1.779 2004/09/25 15:05:38 mattias
|
||||||
implemented Rename Identifier
|
implemented Rename Identifier
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ uses
|
|||||||
MemCheck,
|
MemCheck,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Classes, LCLType, LCLIntf, StdCtrls, Buttons, Menus, ComCtrls, SysUtils,
|
Classes, LCLType, LCLIntf, StdCtrls, Buttons, Menus, ComCtrls, SysUtils,
|
||||||
Controls, Graphics, ExtCtrls, Dialogs, FileCtrl, Forms, CodeToolManager,
|
Controls, Graphics, ExtCtrls, Dialogs, FileUtil, Forms, CodeToolManager,
|
||||||
CodeCache, AVL_Tree, SynEditKeyCmds,
|
CodeCache, AVL_Tree, SynEditKeyCmds,
|
||||||
// IDE
|
// IDE
|
||||||
LazConf, LazarusIDEStrConsts, SrcEditorIntf,
|
LazConf, LazarusIDEStrConsts, SrcEditorIntf,
|
||||||
|
@ -58,7 +58,7 @@ uses
|
|||||||
MemCheck,
|
MemCheck,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Classes, LCLType, LCLIntf, StdCtrls, Buttons, Menus, ComCtrls, SysUtils,
|
Classes, LCLType, LCLIntf, StdCtrls, Buttons, Menus, ComCtrls, SysUtils,
|
||||||
Controls, Graphics, ExtCtrls, Dialogs, FileCtrl, Forms, CodeToolManager,
|
Controls, Graphics, ExtCtrls, Dialogs, FileUtil, Forms, CodeToolManager,
|
||||||
CodeCache, AVL_Tree, SynEditKeyCmds,
|
CodeCache, AVL_Tree, SynEditKeyCmds,
|
||||||
// IDE
|
// IDE
|
||||||
ObjectInspector,
|
ObjectInspector,
|
||||||
|
@ -30,7 +30,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Forms, Controls, CompilerOptions, Project, Process,
|
Classes, SysUtils, Forms, Controls, CompilerOptions, Project, Process,
|
||||||
IDEProcs, FileCtrl, LclProc, LazConf;
|
IDEProcs, FileUtil, LclProc, LazConf;
|
||||||
|
|
||||||
type
|
type
|
||||||
TOnOutputString = procedure(const Msg, Directory: String) of Object;
|
TOnOutputString = procedure(const Msg, Directory: String) of Object;
|
||||||
|
@ -29,7 +29,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Forms, Controls, SynEdit, Buttons, StdCtrls, Dialogs,
|
Classes, SysUtils, Forms, Controls, SynEdit, Buttons, StdCtrls, Dialogs,
|
||||||
LResources, FileCtrl, LazarusIDEStrConsts;
|
LResources, FileUtil, LazarusIDEStrConsts;
|
||||||
|
|
||||||
type
|
type
|
||||||
TPathEditorDialog = class(TForm)
|
TPathEditorDialog = class(TForm)
|
||||||
|
@ -48,7 +48,7 @@ uses
|
|||||||
MemCheck,
|
MemCheck,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Classes, SysUtils, FPCAdds, LCLProc, LCLIntf, LCLType, Laz_XMLCfg, LazConf,
|
Classes, SysUtils, FPCAdds, LCLProc, LCLIntf, LCLType, Laz_XMLCfg, LazConf,
|
||||||
CompilerOptions, FileCtrl, CodeToolManager, CodeCache, Forms, Controls,
|
CompilerOptions, FileUtil, CodeToolManager, CodeCache, Forms, Controls,
|
||||||
EditorOptions, Dialogs, IDEProcs, RunParamsOpts, ProjectIntf, ProjectDefs,
|
EditorOptions, Dialogs, IDEProcs, RunParamsOpts, ProjectIntf, ProjectDefs,
|
||||||
EditDefineTree, DefineTemplates, PackageDefs;
|
EditDefineTree, DefineTemplates, PackageDefs;
|
||||||
|
|
||||||
@ -2920,6 +2920,9 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.165 2004/09/27 22:05:40 vincents
|
||||||
|
splitted off unit FileUtil, it doesn't depend on other LCL units
|
||||||
|
|
||||||
Revision 1.164 2004/09/18 01:02:23 mattias
|
Revision 1.164 2004/09/18 01:02:23 mattias
|
||||||
started new feature: find identifier references
|
started new feature: find identifier references
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ unit ProjectDefs;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Laz_XMLCfg, Forms, SynRegExpr, FileCtrl, LCLProc,
|
Classes, SysUtils, Laz_XMLCfg, Forms, SynRegExpr, FileUtil, LCLProc,
|
||||||
ProjectIntf,
|
ProjectIntf,
|
||||||
LazarusIDEStrConsts, PublishModule;
|
LazarusIDEStrConsts, PublishModule;
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LCLProc, LResources, Forms, Controls, Buttons, ComCtrls,
|
Classes, SysUtils, LCLProc, LResources, Forms, Controls, Buttons, ComCtrls,
|
||||||
StdCtrls, Menus, Dialogs, Graphics, FileCtrl,
|
StdCtrls, Menus, Dialogs, Graphics, FileUtil,
|
||||||
IDECommands,
|
IDECommands,
|
||||||
LazarusIDEStrConsts, IDEProcs, IDEOptionDefs, EnvironmentOpts,
|
LazarusIDEStrConsts, IDEProcs, IDEOptionDefs, EnvironmentOpts,
|
||||||
Project, AddToProjectDlg, PackageSystem, PackageDefs;
|
Project, AddToProjectDlg, PackageSystem, PackageDefs;
|
||||||
|
@ -35,7 +35,7 @@ unit PublishModule;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Laz_XMLCfg, IDEProcs, SynRegExpr, FileCtrl, LCLProc;
|
Classes, SysUtils, Laz_XMLCfg, IDEProcs, SynRegExpr, FileUtil, LCLProc;
|
||||||
|
|
||||||
type
|
type
|
||||||
{ TPublishModuleOptions }
|
{ TPublishModuleOptions }
|
||||||
|
@ -49,7 +49,7 @@ uses
|
|||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Classes, SysUtils, Controls, Forms, Buttons, StdCtrls, ComCtrls, Dialogs,
|
Classes, SysUtils, Controls, Forms, Buttons, StdCtrls, ComCtrls, Dialogs,
|
||||||
ExtCtrls, LResources, Laz_XMLCfg, IDEProcs, SysVarUserOverrideDlg,
|
ExtCtrls, LResources, Laz_XMLCfg, IDEProcs, SysVarUserOverrideDlg,
|
||||||
InputHistory, LazarusIDEStrConsts, FileCtrl;
|
InputHistory, LazarusIDEStrConsts, FileUtil;
|
||||||
|
|
||||||
{ The xml format version:
|
{ The xml format version:
|
||||||
When the format changes (new values, changed formats) we can distinguish old
|
When the format changes (new values, changed formats) we can distinguish old
|
||||||
|
@ -109,7 +109,7 @@ uses
|
|||||||
{$ifndef ver1_0}
|
{$ifndef ver1_0}
|
||||||
StrUtils,
|
StrUtils,
|
||||||
{$endif}
|
{$endif}
|
||||||
FileCtrl;
|
FileUtil;
|
||||||
|
|
||||||
Type
|
Type
|
||||||
PCharArray = Array[0..16+5] of PChar;
|
PCharArray = Array[0..16+5] of PChar;
|
||||||
|
@ -46,7 +46,7 @@ unit TransferMacros;
|
|||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
uses Classes, SysUtils, FileCtrl, LazarusIDEStrConsts;
|
uses Classes, SysUtils, FileUtil, LazarusIDEStrConsts;
|
||||||
|
|
||||||
type
|
type
|
||||||
TTransferMacro = class;
|
TTransferMacro = class;
|
||||||
|
@ -45,7 +45,7 @@ uses
|
|||||||
MemCheck,
|
MemCheck,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Classes, SysUtils, Controls, Forms, Dialogs, Buttons, ComCtrls, StdCtrls,
|
Classes, SysUtils, Controls, Forms, Dialogs, Buttons, ComCtrls, StdCtrls,
|
||||||
Graphics, LCLType, FileCtrl, LResources, LCLProc,
|
Graphics, LCLType, FileUtil, LResources, LCLProc,
|
||||||
CodeToolManager, CodeCache,
|
CodeToolManager, CodeCache,
|
||||||
IDECommands,
|
IDECommands,
|
||||||
EnvironmentOpts, IDEOptionDefs, LazarusIDEStrConsts, InputHistory;
|
EnvironmentOpts, IDEOptionDefs, LazarusIDEStrConsts, InputHistory;
|
||||||
|
@ -41,7 +41,7 @@ uses
|
|||||||
{$IFDEF IDE_MEM_CHECK}
|
{$IFDEF IDE_MEM_CHECK}
|
||||||
MemCheck,
|
MemCheck,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Classes, SysUtils, Controls, LCLProc, LCLType, LResources, LCLIntf, FileCtrl,
|
Classes, SysUtils, Controls, LCLProc, LCLType, LResources, LCLIntf, FileUtil,
|
||||||
Forms, Buttons, ComCtrls, Dialogs, StdCtrls, GraphType, Graphics,
|
Forms, Buttons, ComCtrls, Dialogs, StdCtrls, GraphType, Graphics,
|
||||||
Extctrls, Menus,
|
Extctrls, Menus,
|
||||||
// codetools
|
// codetools
|
||||||
|
Loading…
Reference in New Issue
Block a user