mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 14:56:00 +02:00
Change order of used units so that "deprecated" warnings are not triggered.
git-svn-id: trunk@49612 -
This commit is contained in:
parent
cfed8c9057
commit
08c9621520
@ -110,9 +110,13 @@ uses
|
|||||||
{$IFDEF MEM_CHECK}
|
{$IFDEF MEM_CHECK}
|
||||||
MemCheck,
|
MemCheck,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Classes, SysUtils, LazFileUtils, FileProcs, CodeToolsStructs, BasicCodeTools,
|
// RTL + FCL
|
||||||
KeywordFuncLists, LinkScanner, CodeCache, AVL_Tree,
|
Classes, SysUtils, AVL_Tree,
|
||||||
CodeTree, NonPascalCodeTools;
|
// CodeTools
|
||||||
|
FileProcs, CodeToolsStructs, BasicCodeTools, KeywordFuncLists, LinkScanner,
|
||||||
|
CodeCache, CodeTree, NonPascalCodeTools,
|
||||||
|
// LazUtils
|
||||||
|
LazFileUtils;
|
||||||
|
|
||||||
type
|
type
|
||||||
TCCodeNodeDesc = word;
|
TCCodeNodeDesc = word;
|
||||||
|
@ -92,8 +92,9 @@ interface
|
|||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, AVL_Tree, LazUtilities, FileProcs, KeywordFuncLists,
|
Classes, SysUtils, AVL_Tree,
|
||||||
CodeCache, BasicCodeTools;
|
FileProcs, KeywordFuncLists, CodeCache, BasicCodeTools,
|
||||||
|
LazUtilities;
|
||||||
|
|
||||||
type
|
type
|
||||||
TWordPolicy = (
|
TWordPolicy = (
|
||||||
|
@ -82,14 +82,18 @@ uses
|
|||||||
{$IFDEF MEM_CHECK}
|
{$IFDEF MEM_CHECK}
|
||||||
MemCheck,
|
MemCheck,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Classes, SysUtils, LazFileUtils, FileProcs, CodeToolsStrConsts,
|
// RTL + FCL
|
||||||
|
Classes, SysUtils, contnrs, AVL_Tree,
|
||||||
|
// CodeTools
|
||||||
|
FileProcs, CodeToolsStrConsts, StdCodeTools,
|
||||||
CodeTree, CodeAtom, CodeCache, CustomCodeTool, PascalParserTool, MethodJumpTool,
|
CodeTree, CodeAtom, CodeCache, CustomCodeTool, PascalParserTool, MethodJumpTool,
|
||||||
FindDeclarationTool, KeywordFuncLists, CodeToolsStructs, BasicCodeTools,
|
FindDeclarationTool, KeywordFuncLists, CodeToolsStructs, BasicCodeTools,
|
||||||
LinkScanner, SourceChanger, CodeGraph, AVL_Tree, contnrs, LazDbgLog,
|
LinkScanner, SourceChanger, CodeGraph,
|
||||||
{$IFDEF EnableCodeCompleteTemplates}
|
{$IFDEF EnableCodeCompleteTemplates}
|
||||||
CodeCompletionTemplater,
|
CodeCompletionTemplater,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
StdCodeTools;
|
// LazUtils
|
||||||
|
LazFileUtils, LazDbgLog;
|
||||||
|
|
||||||
type
|
type
|
||||||
TNewClassPart = (ncpPrivateProcs, ncpPrivateVars,
|
TNewClassPart = (ncpPrivateProcs, ncpPrivateVars,
|
||||||
|
@ -52,10 +52,14 @@ unit DefineTemplates;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LazUTF8, CodeToolsStrConsts, ExprEval, DirectoryCacher,
|
// RTL + FCL
|
||||||
BasicCodeTools, Laz2_XMLCfg, lazutf8classes, LazFileUtils, AVL_Tree, process,
|
Classes, SysUtils, AVL_Tree, process,
|
||||||
CodeToolsStructs, UTF8Process, LazFileCache, KeywordFuncLists, LinkScanner,
|
// CodeTools
|
||||||
FileProcs, LazUtilities, LazDbgLog;
|
CodeToolsStrConsts, ExprEval, DirectoryCacher, BasicCodeTools,
|
||||||
|
CodeToolsStructs, KeywordFuncLists, LinkScanner, FileProcs,
|
||||||
|
// LazUtils
|
||||||
|
LazUtilities, LazUTF8, LazUTF8Classes, LazFileUtils, UTF8Process,
|
||||||
|
LazFileCache, LazDbgLog, Laz2_XMLCfg;
|
||||||
|
|
||||||
const
|
const
|
||||||
ExternalMacroStart = ExprEval.ExternalMacroStart;
|
ExternalMacroStart = ExprEval.ExternalMacroStart;
|
||||||
|
@ -35,8 +35,12 @@ unit DirectoryCacher;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LazUTF8, LazFileCache, FileProcs, LazFileUtils, LazUtilities,
|
// RTL + FCL
|
||||||
LazDbgLog, AVL_Tree, CodeToolsStructs;
|
Classes, SysUtils, AVL_Tree,
|
||||||
|
// CodeTools
|
||||||
|
CodeToolsStructs, FileProcs,
|
||||||
|
// LazUtils
|
||||||
|
LazUTF8, LazFileCache, LazFileUtils, LazUtilities, LazDbgLog;
|
||||||
|
|
||||||
// verbosity
|
// verbosity
|
||||||
{ $DEFINE CTDEBUG}
|
{ $DEFINE CTDEBUG}
|
||||||
|
@ -39,8 +39,13 @@ uses
|
|||||||
{$IFDEF Windows}
|
{$IFDEF Windows}
|
||||||
Windows,
|
Windows,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Classes, SysUtils, LazUtilities, LazDbgLog, LazLogger, LazUTF8, LazFileCache,
|
// RTL + FCL
|
||||||
LazFileUtils, LazUTF8Classes, AVL_Tree, CodeToolsStrConsts;
|
Classes, SysUtils, AVL_Tree,
|
||||||
|
// CodeTools
|
||||||
|
CodeToolsStrConsts,
|
||||||
|
// LazUtils
|
||||||
|
LazUtilities, LazDbgLog, LazLogger, LazUTF8, LazFileCache,
|
||||||
|
LazFileUtils, LazUTF8Classes;
|
||||||
|
|
||||||
type
|
type
|
||||||
TFPCStreamSeekType = int64;
|
TFPCStreamSeekType = int64;
|
||||||
@ -186,8 +191,8 @@ function ClearFile(const Filename: string; RaiseOnError: boolean): boolean;
|
|||||||
function GetTempFilename(const Path, Prefix: string): string;
|
function GetTempFilename(const Path, Prefix: string): string;
|
||||||
function SearchFileInDir(const Filename, BaseDirectory: string;
|
function SearchFileInDir(const Filename, BaseDirectory: string;
|
||||||
SearchCase: TCTSearchFileCase): string; // not thread-safe
|
SearchCase: TCTSearchFileCase): string; // not thread-safe
|
||||||
function SearchFileInPath(const Filename, BasePath, SearchPath,
|
function SearchFileInPath(const Filename, BasePath, SearchPath, Delimiter: string;
|
||||||
Delimiter: string; SearchCase: TCTSearchFileCase): string; // not thread-safe
|
SearchCase: TCTSearchFileCase): string; overload; // not thread-safe
|
||||||
function FindDiskFilename(const Filename: string): string;
|
function FindDiskFilename(const Filename: string): string;
|
||||||
{$IFDEF darwin}
|
{$IFDEF darwin}
|
||||||
function GetDarwinSystemFilename(Filename: string): string;
|
function GetDarwinSystemFilename(Filename: string): string;
|
||||||
|
@ -46,9 +46,13 @@ uses
|
|||||||
{$IFDEF MEM_CHECK}
|
{$IFDEF MEM_CHECK}
|
||||||
MemCheck,
|
MemCheck,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Classes, SysUtils, math, CodeToolsStrConsts, CodeToolMemManager,
|
// RTL + FCL
|
||||||
LazFileUtils, FileProcs, LazUtilities, AVL_Tree, ExprEval, SourceLog, LazDbgLog,
|
Classes, SysUtils, math, AVL_Tree,
|
||||||
KeywordFuncLists, BasicCodeTools;
|
// CodeTools
|
||||||
|
CodeToolsStrConsts, CodeToolMemManager, FileProcs, ExprEval, SourceLog,
|
||||||
|
KeywordFuncLists, BasicCodeTools,
|
||||||
|
// LazUtils
|
||||||
|
LazFileUtils, LazUtilities, LazDbgLog;
|
||||||
|
|
||||||
const
|
const
|
||||||
PascalCompilerDefine = ExternalMacroStart+'Compiler';
|
PascalCompilerDefine = ExternalMacroStart+'Compiler';
|
||||||
|
@ -5,7 +5,11 @@ unit lrEmailExportFilter;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LR_Class, lr_PreviewToolsAbstract, UTF8Process;
|
Classes, SysUtils, Forms, Controls,
|
||||||
|
// LazUtils
|
||||||
|
LazFileUtils, LazUTF8, UTF8Process,
|
||||||
|
// LazReport
|
||||||
|
LR_Class, lr_PreviewToolsAbstract;
|
||||||
|
|
||||||
type
|
type
|
||||||
TEmailApp = class;
|
TEmailApp = class;
|
||||||
@ -91,8 +95,7 @@ resourcestring
|
|||||||
|
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
uses Forms, lrEmailExportFilterSetup, Controls, LCLProc, FileUtil,
|
uses lrEmailExportFilterSetup, lrEmailAppFreeSoft
|
||||||
lrEmailAppFreeSoft
|
|
||||||
{$IFDEF WINDOWS}
|
{$IFDEF WINDOWS}
|
||||||
, lrEmailAppTheBat, lrEmailAppMS
|
, lrEmailAppTheBat, lrEmailAppMS
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
@ -15,12 +15,16 @@ interface
|
|||||||
{$I LR_Vers.inc}
|
{$I LR_Vers.inc}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
SysUtils, Math, {$IFDEF UNIX}CLocale,{$ENDIF}
|
SysUtils, Math, strutils, DateUtils, {$IFDEF UNIX}CLocale,{$ENDIF}
|
||||||
Classes, MaskUtils, Controls, LazFileUtils, Forms,
|
Classes, TypInfo, MaskUtils, Variants, DB, DOM, XMLWrite, XMLRead, XMLConf,
|
||||||
Dialogs, Menus, Variants, DB, Graphics, Printers, osPrinters, LazUTF8, DOM,
|
Controls, Forms, Dialogs, Menus, Graphics, LCLProc, LCLType, LCLIntf,
|
||||||
XMLWrite, XMLRead, XMLConf, LCLType, LCLIntf, TypInfo, LR_View, LR_Pars,
|
Printers, osPrinters,
|
||||||
LR_Intrp, LR_DSet, LR_DBSet, LR_DBRel, LR_Const, DbCtrls, LazUtf8Classes,
|
// LazUtils
|
||||||
LCLProc;
|
LazFileUtils, LazUTF8, LazUTF8Classes,
|
||||||
|
// IDEIntf
|
||||||
|
PropEdits,
|
||||||
|
// LazReport
|
||||||
|
LR_View, LR_Pars, LR_Intrp, LR_DSet, LR_DBSet, LR_DBRel, LR_Const, DbCtrls;
|
||||||
|
|
||||||
const
|
const
|
||||||
lrMaxBandsInReport = 256; //temp fix. in future need remove this limit
|
lrMaxBandsInReport = 256; //temp fix. in future need remove this limit
|
||||||
@ -1544,7 +1548,7 @@ var
|
|||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
strutils, LR_Fmted, LR_Prntr, LR_Progr, LR_Utils, DateUtils, PropEdits
|
LR_Fmted, LR_Prntr, LR_Progr, LR_Utils
|
||||||
{$IFDEF JPEG}, JPEG {$ENDIF}, lr_hyphen;
|
{$IFDEF JPEG}, JPEG {$ENDIF}, lr_hyphen;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -23,9 +23,14 @@ unit SVNStatusForm;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, FileUtil, LazFileUtils, Forms, Controls, Dialogs,
|
Classes, SysUtils, Process, LCLProc,
|
||||||
ComCtrls, StdCtrls, ButtonPanel, ExtCtrls, LCLProc, Process,
|
Forms, Controls, Dialogs, ComCtrls, StdCtrls, ButtonPanel, ExtCtrls, Menus,
|
||||||
SVNClasses, Menus, LazIDEIntf, BaseIDEIntf, LazConfigStorage;
|
// LazUtils
|
||||||
|
FileUtil, LazFileUtils, LazConfigStorage,
|
||||||
|
// IDEIntf
|
||||||
|
LazIDEIntf, BaseIDEIntf,
|
||||||
|
// LazSvn
|
||||||
|
SVNClasses;
|
||||||
|
|
||||||
type
|
type
|
||||||
{ TSVNStatusFrm }
|
{ TSVNStatusFrm }
|
||||||
@ -224,7 +229,7 @@ begin
|
|||||||
CmdLine := CmdLine + ' "' + StatusItem.Path + '"';
|
CmdLine := CmdLine + ' "' + StatusItem.Path + '"';
|
||||||
end;
|
end;
|
||||||
|
|
||||||
FileName := GetTempFileName('','');
|
FileName := GetTempFileNameUTF8('','');
|
||||||
SVNCommitMsgMemo.Lines.SaveToFile(FileName);
|
SVNCommitMsgMemo.Lines.SaveToFile(FileName);
|
||||||
CmdLine := CmdLine + ' --file ' + FileName;
|
CmdLine := CmdLine + ' --file ' + FileName;
|
||||||
|
|
||||||
|
@ -199,7 +199,7 @@ end;
|
|||||||
|
|
||||||
function ExpandFileNameUTF8(const FileName: string): string;
|
function ExpandFileNameUTF8(const FileName: string): string;
|
||||||
begin
|
begin
|
||||||
Result := LazFileUtils.ExpandFileNameUtf8(Filename);
|
Result := LazFileUtils.ExpandFileNameUTF8(Filename);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function CompareFileExt(const Filename, Ext: string; CaseSensitive: boolean): integer;
|
function CompareFileExt(const Filename, Ext: string; CaseSensitive: boolean): integer;
|
||||||
|
@ -32,7 +32,8 @@ unit FileUtil;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Masks, LazUTF8, LazFileUtils;
|
Classes, SysUtils,
|
||||||
|
Masks, LazUTF8, LazFileUtils;
|
||||||
|
|
||||||
{$if defined(Windows) or defined(darwin)}
|
{$if defined(Windows) or defined(darwin)}
|
||||||
{$define CaseInsensitiveFilenames}
|
{$define CaseInsensitiveFilenames}
|
||||||
@ -94,7 +95,7 @@ function ForceDirectoriesUTF8(const Dir: string): Boolean; inline; deprecated 'U
|
|||||||
function FileOpenUTF8(Const FileName : string; Mode : Integer) : THandle; inline; deprecated 'Use the function in LazFileUtils unit';
|
function FileOpenUTF8(Const FileName : string; Mode : Integer) : THandle; inline; deprecated 'Use the function in LazFileUtils unit';
|
||||||
function FileCreateUTF8(Const FileName : string) : THandle; overload; inline; deprecated 'Use the function in LazFileUtils unit';
|
function FileCreateUTF8(Const FileName : string) : THandle; overload; inline; deprecated 'Use the function in LazFileUtils unit';
|
||||||
function FileCreateUTF8(Const FileName : string; Rights: Cardinal) : THandle; overload; inline; deprecated 'Use the function in LazFileUtils unit';
|
function FileCreateUTF8(Const FileName : string; Rights: Cardinal) : THandle; overload; inline; deprecated 'Use the function in LazFileUtils unit';
|
||||||
function GetTempFilename(const Directory, Prefix: string): string; inline; deprecated 'Use the function in LazFileUtils unit';
|
function GetTempFilename(const Directory, Prefix: string): string; inline; deprecated 'Use the function GetTempFileNameUTF8 in LazFileUtils unit';
|
||||||
// file names, attributes and states
|
// file names, attributes and states
|
||||||
function CleanAndExpandFilename(const Filename: string): string; inline; deprecated 'Use the function in LazFileUtils unit';
|
function CleanAndExpandFilename(const Filename: string): string; inline; deprecated 'Use the function in LazFileUtils unit';
|
||||||
function CleanAndExpandDirectory(const Filename: string): string; inline; deprecated 'Use the function in LazFileUtils unit';
|
function CleanAndExpandDirectory(const Filename: string): string; inline; deprecated 'Use the function in LazFileUtils unit';
|
||||||
@ -163,7 +164,7 @@ type
|
|||||||
TSearchFileInPathFlags = set of TSearchFileInPathFlag;
|
TSearchFileInPathFlags = set of TSearchFileInPathFlag;
|
||||||
|
|
||||||
function SearchFileInPath(const Filename, BasePath, SearchPath,
|
function SearchFileInPath(const Filename, BasePath, SearchPath,
|
||||||
Delimiter: string; Flags: TSearchFileInPathFlags): string;
|
Delimiter: string; Flags: TSearchFileInPathFlags): string; overload;
|
||||||
function SearchAllFilesInPath(const Filename, BasePath, SearchPath,
|
function SearchAllFilesInPath(const Filename, BasePath, SearchPath,
|
||||||
Delimiter: string; Flags: TSearchFileInPathFlags): TStrings;
|
Delimiter: string; Flags: TSearchFileInPathFlags): TStrings;
|
||||||
function FindDiskFilename(const Filename: string): string;
|
function FindDiskFilename(const Filename: string): string;
|
||||||
|
@ -22,7 +22,7 @@ uses
|
|||||||
{$DEFINE NotLiteralFilenames} // e.g. HFS+ normalizes file names
|
{$DEFINE NotLiteralFilenames} // e.g. HFS+ normalizes file names
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
function CompareFilenames(const Filename1, Filename2: string): integer;
|
function CompareFilenames(const Filename1, Filename2: string): integer; overload;
|
||||||
function CompareFilenamesIgnoreCase(const Filename1, Filename2: string): integer;
|
function CompareFilenamesIgnoreCase(const Filename1, Filename2: string): integer;
|
||||||
function CompareFileExt(const Filename, Ext: string;
|
function CompareFileExt(const Filename, Ext: string;
|
||||||
CaseSensitive: boolean): integer; overload;
|
CaseSensitive: boolean): integer; overload;
|
||||||
@ -30,7 +30,7 @@ function CompareFileExt(const Filename, Ext: string): integer; overload;
|
|||||||
|
|
||||||
function CompareFilenameStarts(const Filename1, Filename2: string): integer;
|
function CompareFilenameStarts(const Filename1, Filename2: string): integer;
|
||||||
function CompareFilenames(Filename1: PChar; Len1: integer;
|
function CompareFilenames(Filename1: PChar; Len1: integer;
|
||||||
Filename2: PChar; Len2: integer): integer;
|
Filename2: PChar; Len2: integer): integer; overload;
|
||||||
function CompareFilenamesP(Filename1, Filename2: PChar;
|
function CompareFilenamesP(Filename1, Filename2: PChar;
|
||||||
IgnoreCase: boolean = false // false = use default
|
IgnoreCase: boolean = false // false = use default
|
||||||
): integer;
|
): integer;
|
||||||
|
@ -5,9 +5,14 @@ unit HeapTrcView;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
|
Classes, SysUtils, XMLConf, contnrs, Clipbrd, LCLProc,
|
||||||
StdCtrls, ComCtrls, ExtCtrls, LeakInfo, LazIDEIntf, MenuIntf, contnrs, Clipbrd,
|
LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls, ExtCtrls,
|
||||||
XMLConf, LCLProc;
|
// LazUtils
|
||||||
|
FileUtil, LazFileUtils,
|
||||||
|
// IDEIntf
|
||||||
|
LazIDEIntf, MenuIntf,
|
||||||
|
// LeakView
|
||||||
|
LeakInfo;
|
||||||
|
|
||||||
type
|
type
|
||||||
TJumpProc = procedure (Sender: TObject; const SourceName: string;
|
TJumpProc = procedure (Sender: TObject; const SourceName: string;
|
||||||
|
@ -7,8 +7,15 @@ unit leakinfo;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, FileUtil, LazClasses, LazLoggerBase, DbgInfoReader,
|
Classes, SysUtils,
|
||||||
TextTools, LazIDEIntf, ProjectIntf, CodeToolManager, CodeCache;
|
// CodeTools
|
||||||
|
CodeToolManager, CodeCache,
|
||||||
|
// LazUtils
|
||||||
|
FileUtil, LazFileUtils, LazClasses,
|
||||||
|
// IDEIntf
|
||||||
|
TextTools,
|
||||||
|
// LeakView
|
||||||
|
DbgInfoReader;
|
||||||
|
|
||||||
type
|
type
|
||||||
{ TStackLine }
|
{ TStackLine }
|
||||||
|
@ -67,7 +67,7 @@ unit SynTextDrawer;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
LCLProc, LCLType, LCLIntf, SysUtils, Classes, Graphics, GraphUtil, Types,
|
Classes, Types, SysUtils, LCLProc, LCLType, LCLIntf, Graphics, GraphUtil,
|
||||||
SynEditTypes, SynEditMiscProcs;
|
SynEditTypes, SynEditMiscProcs;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -30,11 +30,17 @@ unit ChgEncodingDlg;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
|
// RTL + FCL + LCL
|
||||||
Classes, SysUtils, AVL_Tree,
|
Classes, SysUtils, AVL_Tree,
|
||||||
LCLProc, Forms, Controls, ExtCtrls, StdCtrls, ComCtrls, Buttons,
|
LCLProc, Forms, Controls, ExtCtrls, StdCtrls, ComCtrls, Buttons,
|
||||||
LConvEncoding, LazFileUtils, LazFileCache,
|
// CodeTools
|
||||||
IDEWindowIntf, SrcEditorIntf, IDEHelpIntf, SynRegExpr,
|
|
||||||
CodeCache, CodeToolsStructs, CodeToolManager, FileProcs,
|
CodeCache, CodeToolsStructs, CodeToolManager, FileProcs,
|
||||||
|
// LazUtils
|
||||||
|
LConvEncoding, LazFileUtils, LazFileCache,
|
||||||
|
// IDEIntf
|
||||||
|
IDEWindowIntf, SrcEditorIntf, IDEHelpIntf,
|
||||||
|
// SynEdit
|
||||||
|
SynRegExpr,
|
||||||
// IDE
|
// IDE
|
||||||
IDEProcs, PackageDefs, PackageSystem, Project, LazarusIDEStrConsts;
|
IDEProcs, PackageDefs, PackageSystem, Project, LazarusIDEStrConsts;
|
||||||
|
|
||||||
|
@ -31,16 +31,17 @@ unit ConvCodeTool;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
// LCL+FCL
|
// RTL + FCL + LCL
|
||||||
Classes, SysUtils, contnrs, strutils, Forms, Controls, Dialogs,
|
Classes, SysUtils, contnrs, strutils, Forms, Controls, Dialogs,
|
||||||
// IDE
|
// CodeTools
|
||||||
LazarusIDEStrConsts, LazIDEIntf, FormEditor, IDEExternToolIntf,
|
|
||||||
LazFileUtils,
|
|
||||||
// codetools
|
|
||||||
CodeToolManager, StdCodeTools, CodeTree, CodeAtom, FileProcs,
|
CodeToolManager, StdCodeTools, CodeTree, CodeAtom, FileProcs,
|
||||||
FindDeclarationTool, LFMTrees,
|
FindDeclarationTool, LFMTrees,
|
||||||
ExprEval, KeywordFuncLists, BasicCodeTools, LinkScanner,
|
ExprEval, KeywordFuncLists, BasicCodeTools, LinkScanner,
|
||||||
CodeCache, SourceChanger, CustomCodeTool, CodeToolsStructs,
|
CodeCache, SourceChanger, CustomCodeTool, CodeToolsStructs,
|
||||||
|
// LazUtils
|
||||||
|
LazFileUtils,
|
||||||
|
// IDE
|
||||||
|
LazIDEIntf, IDEExternToolIntf, FormEditor, LazarusIDEStrConsts,
|
||||||
// Converter
|
// Converter
|
||||||
ConverterTypes, ConvertSettings, ReplaceNamesUnit, ReplaceFuncsUnit;
|
ConverterTypes, ConvertSettings, ReplaceNamesUnit, ReplaceFuncsUnit;
|
||||||
|
|
||||||
|
@ -32,15 +32,18 @@ unit ConvertDelphi;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
// LCL+FCL
|
// RTL + FCL + LCL
|
||||||
Classes, SysUtils, contnrs, IniFiles, LCLProc, Forms, Controls, Dialogs,
|
Classes, SysUtils, contnrs, IniFiles, LCLProc, Forms, Controls, Dialogs,
|
||||||
LConvEncoding, FileUtil, LazFileUtils, LazUTF8, LazUTF8Classes,
|
// CodeTools
|
||||||
// codetools
|
|
||||||
CodeToolManager, DefineTemplates, CodeCache, LinkScanner, FileProcs, CodeToolsStructs,
|
CodeToolManager, DefineTemplates, CodeCache, LinkScanner, FileProcs, CodeToolsStructs,
|
||||||
|
// LazUtils
|
||||||
|
LConvEncoding, FileUtil, LazFileUtils, LazUTF8, LazUTF8Classes,
|
||||||
// IDEIntf
|
// IDEIntf
|
||||||
ComponentReg, LazIDEIntf, PackageIntf, ProjectIntf,
|
ComponentReg, LazIDEIntf, PackageIntf, ProjectIntf,
|
||||||
|
// IDEIntf
|
||||||
|
IDEDialogs,
|
||||||
// IDE
|
// IDE
|
||||||
IDEProcs, DialogProcs, IDEDialogs, EditorOptions, CompilerOptions,
|
IDEProcs, DialogProcs, EditorOptions, CompilerOptions,
|
||||||
ProjPackBase, Project, ProjectDefs, PackageDefs, PackageSystem, PackageEditor,
|
ProjPackBase, Project, ProjectDefs, PackageDefs, PackageSystem, PackageEditor,
|
||||||
BasePkgManager, LazarusIDEStrConsts,
|
BasePkgManager, LazarusIDEStrConsts,
|
||||||
// Converter
|
// Converter
|
||||||
|
@ -37,20 +37,20 @@ interface
|
|||||||
{off $DEFINE VerboseDesignerSelect}
|
{off $DEFINE VerboseDesignerSelect}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
// FCL + LCL
|
// RTL + FCL + LCL
|
||||||
Types, Classes, Math, SysUtils, variants, TypInfo,
|
Types, Classes, Math, SysUtils, variants, TypInfo,
|
||||||
LCLProc, LCLType, LResources, LCLIntf, LMessages, InterfaceBase,
|
LCLProc, LCLType, LResources, LCLIntf, LMessages, InterfaceBase,
|
||||||
Forms, Controls, GraphType, Graphics, Dialogs, ExtCtrls, Menus,
|
Forms, Controls, GraphType, Graphics, Dialogs, ExtCtrls, Menus, ClipBrd,
|
||||||
ClipBrd,
|
// LazUtils
|
||||||
|
LazFileUtils, LazFileCache,
|
||||||
// IDEIntf
|
// IDEIntf
|
||||||
IDEDialogs, PropEdits, PropEditUtils, ComponentEditors, MenuIntf, IDEImagesIntf,
|
IDEDialogs, PropEdits, PropEditUtils, ComponentEditors, MenuIntf, IDEImagesIntf,
|
||||||
FormEditingIntf, ComponentReg,
|
FormEditingIntf, ComponentReg, IDECommands, LazIDEIntf, ProjectIntf,
|
||||||
// IDE
|
// IDE
|
||||||
LazarusIDEStrConsts, EnvironmentOpts, IDECommands, LazIDEIntf, ProjectIntf,
|
LazarusIDEStrConsts, EnvironmentOpts, EditorOptions,
|
||||||
LazFileUtils, LazFileCache, AlignCompsDlg,
|
// Designer
|
||||||
SizeCompsDlg, ScaleCompsDlg, TabOrderDlg, AnchorEditor, DesignerProcs,
|
AlignCompsDlg, SizeCompsDlg, ScaleCompsDlg, TabOrderDlg, AnchorEditor, DesignerProcs,
|
||||||
CustomFormEditor, AskCompNameDlg, ControlSelection, ChangeClassDialog,
|
CustomFormEditor, AskCompNameDlg, ControlSelection, ChangeClassDialog;
|
||||||
EditorOptions;
|
|
||||||
|
|
||||||
type
|
type
|
||||||
TDesigner = class;
|
TDesigner = class;
|
||||||
|
@ -34,13 +34,15 @@ unit BuildManager;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
|
// RTL + FCL + LCL
|
||||||
Classes, SysUtils, AVL_Tree,
|
Classes, SysUtils, AVL_Tree,
|
||||||
// LCL
|
InterfaceBase, LCLProc, Dialogs, Forms, Controls,
|
||||||
LConvEncoding, InterfaceBase, LCLProc, Dialogs, FileUtil, Laz2_XMLCfg,
|
// CodeTools
|
||||||
LazUTF8, LazFileUtils, LazFileCache, Forms, Controls,
|
|
||||||
// codetools
|
|
||||||
ExprEval, BasicCodeTools, CodeToolManager, DefineTemplates, CodeCache,
|
ExprEval, BasicCodeTools, CodeToolManager, DefineTemplates, CodeCache,
|
||||||
FileProcs, CodeToolsCfgScript,
|
FileProcs, CodeToolsCfgScript,
|
||||||
|
// LazUtils
|
||||||
|
LConvEncoding, FileUtil, LazFileUtils, LazUtilities, LazFileCache, LazUTF8,
|
||||||
|
Laz2_XMLCfg,
|
||||||
// IDEIntf
|
// IDEIntf
|
||||||
IDEOptionsIntf, ProjectIntf, MacroIntf, IDEDialogs, IDEExternToolIntf,
|
IDEOptionsIntf, ProjectIntf, MacroIntf, IDEDialogs, IDEExternToolIntf,
|
||||||
CompOptsIntf, LazIDEIntf, MacroDefIntf, IDEMsgIntf,
|
CompOptsIntf, LazIDEIntf, MacroDefIntf, IDEMsgIntf,
|
||||||
|
@ -45,21 +45,23 @@ unit CodeBrowser;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, types, LCLProc, LResources, Forms, Controls, Graphics,
|
// RTL + FCL + LCL
|
||||||
Dialogs, Clipbrd, LCLIntf, AVL_Tree, StdCtrls, ExtCtrls, ComCtrls, Buttons,
|
Classes, SysUtils, types, AVL_Tree,
|
||||||
Menus, HelpIntfs, LazFileUtils, LazUtilities,
|
LCLProc, LResources, Forms, Controls, Graphics, Dialogs, Clipbrd, StdCtrls,
|
||||||
// codetools
|
ExtCtrls, ComCtrls, Buttons, Menus, HelpIntfs, LCLIntf,
|
||||||
|
// CodeTools
|
||||||
BasicCodeTools, DefineTemplates, CodeTree, CodeCache,
|
BasicCodeTools, DefineTemplates, CodeTree, CodeCache,
|
||||||
CodeToolsStructs, CodeToolManager, PascalParserTool, LinkScanner, FileProcs,
|
CodeToolsStructs, CodeToolManager, PascalParserTool, LinkScanner, FileProcs,
|
||||||
CodeIndex, StdCodeTools, SourceLog, CustomCodeTool,
|
CodeIndex, StdCodeTools, SourceLog, CustomCodeTool,
|
||||||
|
// LazUtils
|
||||||
|
LazFileUtils, LazUtilities,
|
||||||
// IDEIntf
|
// IDEIntf
|
||||||
IDEWindowIntf, SrcEditorIntf, IDEMsgIntf, IDEDialogs, LazConfigStorage,
|
IDEWindowIntf, SrcEditorIntf, IDEMsgIntf, IDEDialogs, LazConfigStorage,
|
||||||
IDEHelpIntf, PackageIntf, IDECommands, LazIDEIntf,
|
IDEHelpIntf, PackageIntf, IDECommands, LazIDEIntf,
|
||||||
IDEExternToolIntf,
|
IDEExternToolIntf,
|
||||||
// IDE
|
// IDE
|
||||||
Project, DialogProcs, PackageSystem, PackageDefs, LazarusIDEStrConsts,
|
Project, DialogProcs, PackageSystem, PackageDefs, LazarusIDEStrConsts,
|
||||||
IDEOptionDefs, etFPCMsgParser, BasePkgManager,
|
IDEOptionDefs, etFPCMsgParser, BasePkgManager, EnvironmentOpts;
|
||||||
EnvironmentOpts;
|
|
||||||
|
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -34,10 +34,17 @@ unit CodeExplOpts;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LCLProc, Forms, Controls, Graphics, Dialogs, Buttons,
|
// RTL + FCL + LCL
|
||||||
AvgLvlTree, Laz2_XMLCfg, LazFileUtils, LazFileCache,
|
Classes, SysUtils,
|
||||||
|
LCLProc, Forms, Controls, Graphics, Dialogs, Buttons,
|
||||||
|
// CodeTools
|
||||||
BasicCodeTools, FileProcs,
|
BasicCodeTools, FileProcs,
|
||||||
LazConf, IDEProcs, IDEOptionsIntf, LazarusIDEStrConsts;
|
// LazUtils
|
||||||
|
AvgLvlTree, Laz2_XMLCfg, LazFileUtils, LazFileCache,
|
||||||
|
// IDEIntf
|
||||||
|
IDEOptionsIntf,
|
||||||
|
// IDE
|
||||||
|
LazConf, IDEProcs, LazarusIDEStrConsts;
|
||||||
|
|
||||||
type
|
type
|
||||||
{ TCodeExplorerOptions }
|
{ TCodeExplorerOptions }
|
||||||
|
@ -39,14 +39,15 @@ unit CodeHelp;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LazFileCache, LCLProc, Forms, Controls, FileUtil, Dialogs,
|
// RTL + FCL + LCL
|
||||||
AvgLvlTree, LCLType, LazUTF8,
|
Classes, SysUtils, LCLType, LCLProc, Forms, Controls, FileUtil, Dialogs,
|
||||||
Laz2_DOM, Laz2_XMLRead, Laz2_XMLWrite,
|
// CodeTools
|
||||||
// codetools
|
|
||||||
CodeAtom, CodeTree, CodeToolManager, FindDeclarationTool, BasicCodeTools,
|
CodeAtom, CodeTree, CodeToolManager, FindDeclarationTool, BasicCodeTools,
|
||||||
KeywordFuncLists, PascalParserTool, CodeCache, CacheCodeTools, CustomCodeTool,
|
KeywordFuncLists, PascalParserTool, CodeCache, CacheCodeTools, CustomCodeTool,
|
||||||
FileProcs, LazFileUtils, DefineTemplates, CodeToolsStructs,
|
FileProcs, DefineTemplates, CodeToolsStructs,
|
||||||
// synedit
|
// LazUtils
|
||||||
|
AvgLvlTree, LazFileUtils, LazUTF8, LazFileCache, Laz2_DOM, Laz2_XMLRead, Laz2_XMLWrite,
|
||||||
|
// SynEdit
|
||||||
SynHighlighterPas,
|
SynHighlighterPas,
|
||||||
// IDEIntf
|
// IDEIntf
|
||||||
IDECommands, IDEMsgIntf, MacroIntf, PackageIntf, LazHelpIntf, ProjectIntf,
|
IDECommands, IDEMsgIntf, MacroIntf, PackageIntf, LazHelpIntf, ProjectIntf,
|
||||||
|
@ -32,9 +32,15 @@ unit DiskDiffsDialog;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, LCLProc, Forms, Controls, StdCtrls, ExtCtrls,
|
// RTL + FCL + LCL
|
||||||
LCLType, lazutf8classes, LazFileUtils,
|
Classes, SysUtils, LCLProc, Forms, Controls, StdCtrls, ExtCtrls, LCLType,
|
||||||
SynEdit, SynHighlighterDiff, FileProcs, CodeCache,
|
// CodeTools
|
||||||
|
FileProcs, CodeCache,
|
||||||
|
// LazUtils
|
||||||
|
LazUTF8Classes, LazFileUtils,
|
||||||
|
// SynEdit
|
||||||
|
SynEdit, SynHighlighterDiff,
|
||||||
|
// IDE
|
||||||
Project, DiffPatch, LazarusIDEStrConsts, EnvironmentOpts, EditorOptions,
|
Project, DiffPatch, LazarusIDEStrConsts, EnvironmentOpts, EditorOptions,
|
||||||
PackageDefs;
|
PackageDefs;
|
||||||
|
|
||||||
|
@ -32,13 +32,17 @@ unit etFPCMsgParser;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
|
// RTL
|
||||||
Classes, SysUtils, strutils, math,
|
Classes, SysUtils, strutils, math,
|
||||||
LazUTF8, LConvEncoding, LazFileUtils, FileUtil,
|
// CodeTools
|
||||||
IDEExternToolIntf, PackageIntf, LazIDEIntf, ProjectIntf,
|
KeywordFuncLists, CodeToolsFPCMsgs, CodeToolsStructs, CodeCache, FileProcs,
|
||||||
MacroIntf,
|
|
||||||
IDEUtils, FileProcs, LazFileCache,
|
|
||||||
KeywordFuncLists, CodeToolsFPCMsgs, CodeToolsStructs, CodeCache,
|
|
||||||
CodeToolManager, DirectoryCacher, BasicCodeTools, DefineTemplates, SourceLog,
|
CodeToolManager, DirectoryCacher, BasicCodeTools, DefineTemplates, SourceLog,
|
||||||
|
// LazUtils
|
||||||
|
LConvEncoding, LazUTF8, FileUtil, LazFileUtils,
|
||||||
|
// IDEIntf
|
||||||
|
IDEExternToolIntf, PackageIntf, LazIDEIntf, ProjectIntf, MacroIntf,
|
||||||
|
IDEUtils, LazFileCache,
|
||||||
|
// IDE
|
||||||
IDECmdLine, LazarusIDEStrConsts, EnvironmentOpts, LazConf, TransferMacros,
|
IDECmdLine, LazarusIDEStrConsts, EnvironmentOpts, LazConf, TransferMacros,
|
||||||
etMakeMsgParser;
|
etMakeMsgParser;
|
||||||
|
|
||||||
|
@ -30,8 +30,14 @@ unit etMakeMsgParser;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, IDEExternToolIntf, CodeToolsStructs, KeywordFuncLists,
|
// RTL
|
||||||
LazFileUtils, FileUtil;
|
Classes, SysUtils,
|
||||||
|
// CodeTools
|
||||||
|
CodeToolsStructs, KeywordFuncLists,
|
||||||
|
// LazUtils
|
||||||
|
FileUtil, LazFileUtils,
|
||||||
|
// IDEIntf
|
||||||
|
IDEExternToolIntf;
|
||||||
|
|
||||||
const
|
const
|
||||||
MakeMsgIDEnteringDirectory = 1;
|
MakeMsgIDEnteringDirectory = 1;
|
||||||
|
@ -34,12 +34,13 @@ unit ExtTools;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, math, process, Pipes, UTF8Process,
|
// RTL + FCL + LCL
|
||||||
LazFileUtils, LazUTF8,
|
Classes, SysUtils, math, process, Pipes,
|
||||||
// Codetools
|
LCLIntf, Forms, Dialogs,
|
||||||
|
// CodeTools
|
||||||
FileProcs, CodeToolsStructs,
|
FileProcs, CodeToolsStructs,
|
||||||
// LCL
|
// LazUtils
|
||||||
LCLIntf, Forms, Dialogs, FileUtil, AvgLvlTree,
|
FileUtil, AvgLvlTree, LazFileUtils, UTF8Process, LazUTF8,
|
||||||
// IDEIntf
|
// IDEIntf
|
||||||
IDEExternToolIntf, BaseIDEIntf, MacroIntf, IDEMsgIntf, IDEDialogs,
|
IDEExternToolIntf, BaseIDEIntf, MacroIntf, IDEMsgIntf, IDEDialogs,
|
||||||
PackageIntf, LazIDEIntf,
|
PackageIntf, LazIDEIntf,
|
||||||
|
@ -30,11 +30,13 @@ unit FindRenameIdentifier;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
|
// RTL + FCL + LCL
|
||||||
Classes, SysUtils, AVL_Tree, LCLProc, Forms, Controls, Dialogs,
|
Classes, SysUtils, AVL_Tree, LCLProc, Forms, Controls, Dialogs,
|
||||||
StdCtrls, ExtCtrls, ComCtrls, ButtonPanel,
|
StdCtrls, ExtCtrls, ComCtrls, ButtonPanel,
|
||||||
laz2_DOM, LazFileUtils, LazFileCache,
|
// CodeTools
|
||||||
// codetools
|
|
||||||
FileProcs, CTUnitGraph, CodeTree, CodeCache, CodeToolManager, CodeToolsStructs,
|
FileProcs, CTUnitGraph, CodeTree, CodeCache, CodeToolManager, CodeToolsStructs,
|
||||||
|
// LazUtils
|
||||||
|
LazFileUtils, LazFileCache, laz2_DOM,
|
||||||
// IDE
|
// IDE
|
||||||
LazarusIDEStrConsts, IDEProcs, IDEWindowIntf, MiscOptions, DialogProcs,
|
LazarusIDEStrConsts, IDEProcs, IDEWindowIntf, MiscOptions, DialogProcs,
|
||||||
LazIDEIntf, IDEDialogs, InputHistory, SearchResultView, CodeHelp;
|
LazIDEIntf, IDEDialogs, InputHistory, SearchResultView, CodeHelp;
|
||||||
|
@ -5,9 +5,16 @@ unit compiler_compilation_options;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, sysutils, Controls, StdCtrls, Dialogs, FileUtil, LazFileUtils,
|
// RTL + FCL + LCL
|
||||||
|
Classes, sysutils,
|
||||||
|
Controls, StdCtrls, Dialogs,
|
||||||
|
// CodeTools
|
||||||
FileProcs, DefineTemplates, CodeToolManager,
|
FileProcs, DefineTemplates, CodeToolManager,
|
||||||
|
// LazUtils
|
||||||
|
FileUtil, LazFileUtils,
|
||||||
|
// IDEIntf
|
||||||
IDEOptionsIntf, CompOptsIntf, IDEDialogs, IDEUtils,
|
IDEOptionsIntf, CompOptsIntf, IDEDialogs, IDEUtils,
|
||||||
|
// IDE
|
||||||
Project, CompilerOptions, PackageDefs, LazarusIDEStrConsts, EnvironmentOpts,
|
Project, CompilerOptions, PackageDefs, LazarusIDEStrConsts, EnvironmentOpts,
|
||||||
LazConf, IDEProcs, DialogProcs, InputHistory, InitialSetupProc;
|
LazConf, IDEProcs, DialogProcs, InputHistory, InitialSetupProc;
|
||||||
|
|
||||||
|
@ -356,7 +356,7 @@ var
|
|||||||
p: Integer;
|
p: Integer;
|
||||||
CurPath: String;
|
CurPath: String;
|
||||||
Duplicates: TStringList;
|
Duplicates: TStringList;
|
||||||
i: PtrInt;
|
i: PtrUInt;
|
||||||
OldUnparsedSrcPath: String;
|
OldUnparsedSrcPath: String;
|
||||||
NewUnparsedSrcPath: String;
|
NewUnparsedSrcPath: String;
|
||||||
j: Integer;
|
j: Integer;
|
||||||
|
@ -30,9 +30,15 @@ unit IDEFPCInfo;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls,
|
// RTL + LCL
|
||||||
ButtonPanel, lazutf8classes, LazFileUtils, LazUTF8, FileProcs,
|
Classes, SysUtils,
|
||||||
DefineTemplates, CodeToolManager, IDEWindowIntf, LazIDEIntf, BaseBuildManager,
|
Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls, ButtonPanel,
|
||||||
|
// CodeTools
|
||||||
|
DefineTemplates, CodeToolManager, FileProcs,
|
||||||
|
// LazUtils
|
||||||
|
LazUTF8Classes, LazFileUtils, LazUTF8,
|
||||||
|
// Other
|
||||||
|
IDEWindowIntf, LazIDEIntf, BaseBuildManager,
|
||||||
Project, EnvironmentOpts, LazarusIDEStrConsts, AboutFrm, TransferMacros;
|
Project, EnvironmentOpts, LazarusIDEStrConsts, AboutFrm, TransferMacros;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -30,9 +30,15 @@ unit IDEProcs;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, FileUtil, LCLProc, AvgLvlTree, Laz2_XMLCfg, LazUTF8,
|
// RTL + LCL
|
||||||
lazutf8classes, LazFileUtils, LazFileCache, StdCtrls, ExtCtrls, SourceLog,
|
Classes, SysUtils, LCLProc, StdCtrls, ExtCtrls,
|
||||||
FileProcs, CodeToolManager, CodeToolsConfig, CodeCache, LazConf;
|
// CodeTools
|
||||||
|
SourceLog, FileProcs, CodeToolManager, CodeToolsConfig, CodeCache,
|
||||||
|
// LazUtils
|
||||||
|
FileUtil, LazFileUtils, LazFileCache, LazUTF8, lazutf8classes,
|
||||||
|
AvgLvlTree, Laz2_XMLCfg,
|
||||||
|
// IDE
|
||||||
|
LazConf;
|
||||||
|
|
||||||
type
|
type
|
||||||
// comments
|
// comments
|
||||||
|
@ -40,10 +40,14 @@ unit InitialSetupDlgs;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Forms, Controls, Buttons, Dialogs, Graphics, ComCtrls,
|
// RTL + FCL + LCL
|
||||||
ExtCtrls, StdCtrls, LCLProc,
|
Classes, SysUtils,
|
||||||
|
Forms, Controls, Buttons, Dialogs, Graphics, ComCtrls, ExtCtrls, StdCtrls, LCLProc,
|
||||||
|
// CodeTools
|
||||||
|
FileProcs, CodeToolManager, DefineTemplates,
|
||||||
|
// LazUtils
|
||||||
FileUtil, LazUTF8, LazUTF8Classes, LazFileUtils, LazFileCache, LazLogger,
|
FileUtil, LazUTF8, LazUTF8Classes, LazFileUtils, LazFileCache, LazLogger,
|
||||||
CodeToolManager, DefineTemplates, FileProcs,
|
// Other
|
||||||
MacroDefIntf, GDBMIDebugger, DbgIntfDebuggerBase,
|
MacroDefIntf, GDBMIDebugger, DbgIntfDebuggerBase,
|
||||||
TransferMacros, LazarusIDEStrConsts, LazConf, EnvironmentOpts,
|
TransferMacros, LazarusIDEStrConsts, LazConf, EnvironmentOpts,
|
||||||
AboutFrm, IDETranslations, BaseBuildManager, InitialSetupProc;
|
AboutFrm, IDETranslations, BaseBuildManager, InitialSetupProc;
|
||||||
|
@ -32,10 +32,15 @@ unit InitialSetupProc;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, strutils, LazFileCache, LazUTF8Classes, LazFileUtils,
|
// RTL + FCL + LCL
|
||||||
LazLoggerBase, LazUTF8, Laz2_XMLCfg, LazLogger, DefineTemplates,
|
Classes, SysUtils, strutils, contnrs,
|
||||||
CodeToolManager, FileProcs, LazarusIDEStrConsts, LazConf, EnvironmentOpts,
|
// CodeTools
|
||||||
IDEProcs, contnrs;
|
DefineTemplates, CodeToolManager, FileProcs,
|
||||||
|
// LazUtils
|
||||||
|
LazFileCache, LazUTF8, LazUTF8Classes, LazFileUtils,
|
||||||
|
LazLoggerBase, LazLogger, Laz2_XMLCfg,
|
||||||
|
// IDE
|
||||||
|
LazarusIDEStrConsts, LazConf, EnvironmentOpts, IDEProcs;
|
||||||
|
|
||||||
type
|
type
|
||||||
TSDFilenameQuality = (
|
TSDFilenameQuality = (
|
||||||
|
@ -40,10 +40,13 @@ unit InspectChksumChangedDlg;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, contnrs, LCLProc, Forms, Controls, StdCtrls, ExtCtrls,
|
// RTL + FCL + LCL
|
||||||
ComCtrls, ButtonPanel, LazFileUtils, LazFileCache,
|
Classes, SysUtils, contnrs,
|
||||||
// codetools
|
LCLProc, Forms, Controls, StdCtrls, ExtCtrls, ComCtrls, ButtonPanel,
|
||||||
|
// CodeTools
|
||||||
CodeToolManager, FileProcs, DirectoryCacher, DefineTemplates,
|
CodeToolManager, FileProcs, DirectoryCacher, DefineTemplates,
|
||||||
|
// LazUtils
|
||||||
|
LazFileUtils, LazFileCache,
|
||||||
// IDEIntf
|
// IDEIntf
|
||||||
TextTools, IDEMsgIntf, PackageIntf, ProjectIntf, IDEExternToolIntf,
|
TextTools, IDEMsgIntf, PackageIntf, ProjectIntf, IDEExternToolIntf,
|
||||||
// IDE
|
// IDE
|
||||||
|
22
ide/main.pp
22
ide/main.pp
@ -63,18 +63,18 @@ uses
|
|||||||
{$IFDEF UseAsyncProcess}
|
{$IFDEF UseAsyncProcess}
|
||||||
AsyncProcess,
|
AsyncProcess,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
// lazutils
|
// LCL
|
||||||
Laz2_XMLCfg, UTF8Process, LazLogger, LazUTF8Classes,
|
LCLProc, LCLType, LCLIntf, LResources, ComCtrls, HelpIntfs, InterfaceBase,
|
||||||
// lcl
|
Forms, Buttons, Menus, Controls, GraphType, Graphics, ExtCtrls, Dialogs,
|
||||||
LCLProc, LCLType, LCLIntf, LConvEncoding, ComCtrls,
|
// CodeTools
|
||||||
FileUtil, LResources, Forms, Buttons, Menus, Controls, GraphType,
|
|
||||||
HelpIntfs, Graphics, ExtCtrls, Dialogs, InterfaceBase,
|
|
||||||
// codetools
|
|
||||||
FileProcs, FindDeclarationTool, LinkScanner, BasicCodeTools, CodeToolsStructs,
|
FileProcs, FindDeclarationTool, LinkScanner, BasicCodeTools, CodeToolsStructs,
|
||||||
CodeToolManager, CodeCache, DefineTemplates, KeywordFuncLists, CodeTree,
|
CodeToolManager, CodeCache, DefineTemplates, KeywordFuncLists, CodeTree,
|
||||||
StdCodeTools,
|
StdCodeTools,
|
||||||
LazUTF8, LazFileUtils, LazFileCache, // use lazutf8, lazfileutils and lazfilecache after FileProcs and FileUtil
|
// LazUtils
|
||||||
// synedit
|
// use lazutf8, lazfileutils and lazfilecache after FileProcs and FileUtil
|
||||||
|
FileUtil, LazFileUtils, LazFileCache, LazUTF8, LazUTF8Classes, UTF8Process,
|
||||||
|
LConvEncoding, Laz2_XMLCfg, LazLogger,
|
||||||
|
// SynEdit
|
||||||
AllSynEdit, SynEditKeyCmds, SynEditMarks,
|
AllSynEdit, SynEditKeyCmds, SynEditMarks,
|
||||||
// IDE interface
|
// IDE interface
|
||||||
IDEIntf, ObjectInspector, PropEdits, PropEditUtils,
|
IDEIntf, ObjectInspector, PropEdits, PropEditUtils,
|
||||||
@ -8036,8 +8036,8 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TMainIDE.DoShowDesignerFormOfSrc(AEditor: TSourceEditorInterface; out
|
procedure TMainIDE.DoShowDesignerFormOfSrc(AEditor: TSourceEditorInterface;
|
||||||
AForm: TCustomForm);
|
out AForm: TCustomForm);
|
||||||
var
|
var
|
||||||
ActiveUnitInfo: TUnitInfo;
|
ActiveUnitInfo: TUnitInfo;
|
||||||
UnitCodeBuf: TCodeBuffer;
|
UnitCodeBuf: TCodeBuffer;
|
||||||
|
@ -46,16 +46,17 @@ uses
|
|||||||
{$IFDEF IDE_MEM_CHECK}
|
{$IFDEF IDE_MEM_CHECK}
|
||||||
MemCheck,
|
MemCheck,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
Classes, SysUtils, TypInfo, FPCAdds, LCLProc, Forms,
|
// RTL + FCL + LCL
|
||||||
FileUtil, Laz2_XMLCfg, Controls, Dialogs, maps, LazFileUtils, LazFileCache,
|
Classes, SysUtils, TypInfo, LCLProc, Forms, Controls, Dialogs, maps,
|
||||||
LazUTF8,
|
// CodeTools
|
||||||
// codetools
|
|
||||||
CodeToolsConfig, ExprEval, DefineTemplates,
|
CodeToolsConfig, ExprEval, DefineTemplates,
|
||||||
BasicCodeTools, CodeToolsCfgScript, CodeToolManager, CodeCache, FileProcs,
|
BasicCodeTools, CodeToolsCfgScript, CodeToolManager, CodeCache, FileProcs,
|
||||||
|
// LazUtils
|
||||||
|
FPCAdds, FileUtil, LazFileUtils, LazFileCache, LazUTF8, Laz2_XMLCfg,
|
||||||
// IDEIntf
|
// IDEIntf
|
||||||
PropEdits, CompOptsIntf, ProjectIntf, MacroIntf, MacroDefIntf, UnitResources,
|
PropEdits, CompOptsIntf, ProjectIntf, MacroIntf, MacroDefIntf, UnitResources,
|
||||||
PackageIntf, SrcEditorIntf, IDEOptionsIntf, IDEDialogs, LazIDEIntf,
|
PackageIntf, SrcEditorIntf, IDEOptionsIntf, IDEDialogs, LazIDEIntf,
|
||||||
// synedit
|
// SynEdit
|
||||||
SynEdit,
|
SynEdit,
|
||||||
// IDE
|
// IDE
|
||||||
CompOptsModes, ProjectResources, LazConf, W32Manifest, ProjectIcon,
|
CompOptsModes, ProjectResources, LazConf, W32Manifest, ProjectIcon,
|
||||||
|
@ -31,11 +31,13 @@ unit SearchFrm;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
// LCL
|
// RTL + FCL + LCL
|
||||||
Classes, SysUtils, types, LCLProc, LCLIntf, Forms, Controls, ComCtrls,
|
Classes, SysUtils, types, LCLProc, LCLIntf, Forms, Controls, ComCtrls,
|
||||||
Dialogs, ExtCtrls, StdCtrls, Buttons, LazFileUtils, LazFileCache, FileUtil,
|
Dialogs, ExtCtrls, StdCtrls, Buttons,
|
||||||
// synedit, codetools
|
// SynEdit, CodeTools
|
||||||
SynRegExpr, SourceLog, KeywordFuncLists, BasicCodeTools, FileProcs,
|
SynRegExpr, SourceLog, KeywordFuncLists, BasicCodeTools, FileProcs,
|
||||||
|
// LazUtils
|
||||||
|
FileUtil, LazFileUtils, LazFileCache,
|
||||||
// IDEIntf
|
// IDEIntf
|
||||||
IDEWindowIntf, LazIDEIntf, SrcEditorIntf, IDEDialogs,
|
IDEWindowIntf, LazIDEIntf, SrcEditorIntf, IDEDialogs,
|
||||||
// ide
|
// ide
|
||||||
|
@ -35,14 +35,19 @@ unit UnitDependencies;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
|
// RTL + FCL + LCL
|
||||||
Classes, SysUtils, types, math, AVL_Tree,
|
Classes, SysUtils, types, math, AVL_Tree,
|
||||||
Forms, Controls, ExtCtrls, ComCtrls, StdCtrls, Buttons, Dialogs, Menus, Clipbrd,
|
Forms, Controls, ExtCtrls, ComCtrls, StdCtrls, Buttons, Dialogs, Menus, Clipbrd,
|
||||||
|
// CodeTools
|
||||||
|
CodeToolManager, DefineTemplates, CodeToolsStructs, CTUnitGraph, CTUnitGroupGraph,
|
||||||
|
FileProcs, CodeCache,
|
||||||
|
// LazUtils
|
||||||
LazLogger, LazFileUtils, LazFileCache, LazUtilities, LazUTF8, LvlGraphCtrl,
|
LazLogger, LazFileUtils, LazFileCache, LazUtilities, LazUTF8, LvlGraphCtrl,
|
||||||
|
// IDE interface
|
||||||
LazIDEIntf, ProjectIntf, IDEWindowIntf, PackageIntf, SrcEditorIntf, IDEImagesIntf,
|
LazIDEIntf, ProjectIntf, IDEWindowIntf, PackageIntf, SrcEditorIntf, IDEImagesIntf,
|
||||||
IDEMsgIntf, IDEExternToolIntf, IDECommands, IDEDialogs,
|
IDEMsgIntf, IDEExternToolIntf, IDECommands, IDEDialogs,
|
||||||
CodeToolManager, DefineTemplates, CodeToolsStructs,
|
// IDE
|
||||||
IDEOptionDefs, CTUnitGraph, CTUnitGroupGraph, FileProcs, CodeCache,
|
IDEOptionDefs, LazarusIDEStrConsts, UnusedUnitsDlg;
|
||||||
LazarusIDEStrConsts, UnusedUnitsDlg;
|
|
||||||
|
|
||||||
const
|
const
|
||||||
GroupPrefixProject = '-Project-';
|
GroupPrefixProject = '-Project-';
|
||||||
|
@ -27,9 +27,14 @@ unit UnitInfoDlg;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
SysUtils, LCLProc, Controls, StdCtrls, Forms, Buttons,
|
// LCL + FCL
|
||||||
ComCtrls, LazFileUtils, LazarusIDEStrConsts,
|
SysUtils, LCLProc, Controls, StdCtrls, Forms, Buttons, ComCtrls,
|
||||||
CodeToolsDefPreview, CodeToolManager, FileProcs;
|
// CodeTools
|
||||||
|
CodeToolsDefPreview, CodeToolManager, FileProcs,
|
||||||
|
// LazUtils
|
||||||
|
LazFileUtils,
|
||||||
|
// IDE
|
||||||
|
LazarusIDEStrConsts;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
@ -21,10 +21,13 @@ unit Dialogs;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Types, typinfo, Classes, LResources, SysUtils, LazFileUtils,
|
// RTL + FCL + LCL
|
||||||
LCLIntf, InterfaceBase, FileUtil, LCLStrConsts, LCLType, LCLProc, Forms,
|
Types, typinfo, Classes, SysUtils,
|
||||||
|
LResources, LCLIntf, InterfaceBase, LCLStrConsts, LCLType, LCLProc, Forms,
|
||||||
Controls, Themes, GraphType, Graphics, Buttons, ButtonPanel, StdCtrls,
|
Controls, Themes, GraphType, Graphics, Buttons, ButtonPanel, StdCtrls,
|
||||||
ExtCtrls, LCLClasses, ClipBrd;
|
ExtCtrls, LCLClasses, ClipBrd,
|
||||||
|
// LazUtils
|
||||||
|
FileUtil, LazFileUtils;
|
||||||
|
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -43,11 +43,14 @@ uses
|
|||||||
{$endif}
|
{$endif}
|
||||||
// Other units
|
// Other units
|
||||||
Math, // Math after gtk to get the correct Float type
|
Math, // Math after gtk to get the correct Float type
|
||||||
LMessages, LCLProc, LazUTF8, LCLIntf, LCLType, DynHashArray, Masks,
|
// LCL
|
||||||
GraphType, Graphics, LResources, Controls, Forms,
|
LMessages, LCLProc, LCLIntf, LCLType, DynHashArray, GraphType, Graphics,
|
||||||
Buttons, Menus, StdCtrls, ComCtrls, ExtCtrls, Dialogs, ExtDlgs,
|
LResources, Controls, Forms, Buttons, Menus, StdCtrls, ComCtrls, ExtCtrls,
|
||||||
ImgList, Gtk2FontCache, Gtk2Globals, Gtk2Def, Gtk2Extra, {%H-}Gtk2Debug,
|
Dialogs, ExtDlgs, ImgList, LCLMessageGlue,
|
||||||
FileUtil, LazFileUtils, LCLMessageGlue;
|
// LazUtils
|
||||||
|
Masks, FileUtil, LazFileUtils, LazUTF8,
|
||||||
|
// Gtk2
|
||||||
|
Gtk2FontCache, Gtk2Globals, Gtk2Def, Gtk2Extra, {%H-}Gtk2Debug;
|
||||||
|
|
||||||
const
|
const
|
||||||
GtkListItemGtkListTag = 'GtkList';
|
GtkListItemGtkListTag = 'GtkList';
|
||||||
|
@ -20,7 +20,7 @@ interface
|
|||||||
{$i qtdefines.inc}
|
{$i qtdefines.inc}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, Controls, ExtCtrls, Graphics, Forms, types, LCLType, LazUTF8, LCLProc,
|
Classes, types, Controls, ExtCtrls, Graphics, Forms, LCLType, LCLProc, LazUTF8,
|
||||||
qtobjects, qt4, qtproc, qtint;
|
qtobjects, qt4, qtproc, qtint;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -53,13 +53,15 @@ unit InterPkgConflictFiles;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, types, math, contnrs, InterfaceBase, Forms, ComCtrls,
|
// RTL + FCL + LCL
|
||||||
Controls, ButtonPanel, Themes, Graphics, StdCtrls, Buttons,
|
Classes, SysUtils, types, math, contnrs, InterfaceBase,
|
||||||
LazFileUtils, LazFileCache, AvgLvlTree,
|
Forms, ComCtrls, Controls, ButtonPanel, Themes, Graphics, StdCtrls, Buttons,
|
||||||
|
// CodeTools
|
||||||
BasicCodeTools, DefineTemplates, CodeToolManager, FileProcs,
|
BasicCodeTools, DefineTemplates, CodeToolManager, FileProcs,
|
||||||
|
// LazUtils
|
||||||
|
LazFileUtils, LazFileCache, AvgLvlTree,
|
||||||
// IDEIntf
|
// IDEIntf
|
||||||
ProjectIntf, CompOptsIntf, IDEWindowIntf, LazIDEIntf,
|
ProjectIntf, CompOptsIntf, IDEWindowIntf, LazIDEIntf, IDEMsgIntf, IDEExternToolIntf,
|
||||||
IDEMsgIntf, IDEExternToolIntf,
|
|
||||||
// IDE
|
// IDE
|
||||||
CompilerOptions, EnvironmentOpts, IDEProcs, DialogProcs, LazarusIDEStrConsts,
|
CompilerOptions, EnvironmentOpts, IDEProcs, DialogProcs, LazarusIDEStrConsts,
|
||||||
TransferMacros, LazConf, PackageDefs, PackageSystem;
|
TransferMacros, LazConf, PackageDefs, PackageSystem;
|
||||||
|
Loading…
Reference in New Issue
Block a user