mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 21:59:16 +02:00
Remove IdeIntf dependency from unit PackageDefs.
This commit is contained in:
parent
3ec140e266
commit
1a2b394941
@ -18,7 +18,7 @@ interface
|
|||||||
uses
|
uses
|
||||||
Classes, SysUtils,
|
Classes, SysUtils,
|
||||||
// LazUtils
|
// LazUtils
|
||||||
LazUTF8, LazConfigStorage,
|
LazUTF8, LazConfigStorage, AvgLvlTree,
|
||||||
// BuildIntf
|
// BuildIntf
|
||||||
MacroIntf;
|
MacroIntf;
|
||||||
|
|
||||||
@ -29,6 +29,23 @@ type
|
|||||||
smsfsBackground // start in background
|
smsfsBackground // start in background
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// new filename flags
|
||||||
|
// Normally you don't need to pass any flags.
|
||||||
|
TSearchIDEFileFlag = (
|
||||||
|
siffDoNotCheckAllPackages, // do not search filename in unrelated packages (e.g. installed but not used by project)
|
||||||
|
siffCheckAllProjects, // search filename in all loaded projects
|
||||||
|
siffCaseSensitive, // check case sensitive, otherwise use Pascal case insensitivity (CompareText)
|
||||||
|
siffDoNotCheckOpenFiles, // do not search in files opened in source editor
|
||||||
|
siffIgnoreExtension // compare only filename, ignore file extension
|
||||||
|
);
|
||||||
|
TSearchIDEFileFlags = set of TSearchIDEFileFlag;
|
||||||
|
|
||||||
|
TLazBuildingFinishedEvent = procedure(Sender: TObject; BuildSuccessful: Boolean) of object;
|
||||||
|
TLazLoadSaveCustomDataEvent = procedure(Sender: TObject; Load: boolean;
|
||||||
|
CustomData: TStringToStringTree; // on save this is a temporary clone free for altering
|
||||||
|
PathDelimChanged: boolean
|
||||||
|
) of object;
|
||||||
|
|
||||||
TGetIDEConfigStorage = function(const Filename: string; LoadFromDisk: Boolean
|
TGetIDEConfigStorage = function(const Filename: string; LoadFromDisk: Boolean
|
||||||
): TConfigStorage;
|
): TConfigStorage;
|
||||||
|
|
||||||
|
@ -158,17 +158,10 @@ type
|
|||||||
pbfCreateMakefile
|
pbfCreateMakefile
|
||||||
);
|
);
|
||||||
TProjectBuildFlags = set of TProjectBuildFlag;
|
TProjectBuildFlags = set of TProjectBuildFlag;
|
||||||
|
|
||||||
// new filename flags
|
// Deprecase in Lazarus 3.99, March 2024.
|
||||||
// Normally you don't need to pass any flags.
|
TSearchIDEFileFlag = BaseIDEIntf.TSearchIDEFileFlag deprecated 'Use the definition from BaseIDEIntf';
|
||||||
TSearchIDEFileFlag = (
|
TSearchIDEFileFlags = BaseIDEIntf.TSearchIDEFileFlags deprecated 'Use the definition from BaseIDEIntf';
|
||||||
siffDoNotCheckAllPackages, // do not search filename in unrelated packages (e.g. installed but not used by project)
|
|
||||||
siffCheckAllProjects, // search filename in all loaded projects
|
|
||||||
siffCaseSensitive, // check case sensitive, otherwise use Pascal case insensitivity (CompareText)
|
|
||||||
siffDoNotCheckOpenFiles, // do not search in files opened in source editor
|
|
||||||
siffIgnoreExtension // compare only filename, ignore file extension
|
|
||||||
);
|
|
||||||
TSearchIDEFileFlags = set of TSearchIDEFileFlag;
|
|
||||||
|
|
||||||
// find unit flags
|
// find unit flags
|
||||||
// Normally you don't need to pass any flags.
|
// Normally you don't need to pass any flags.
|
||||||
@ -274,13 +267,13 @@ type
|
|||||||
itCustom // this state is not used yet.
|
itCustom // this state is not used yet.
|
||||||
);
|
);
|
||||||
TLazToolStatusChangeEvent = procedure(Sender: TObject; OldStatus, NewStatus: TLazToolStatus) of object;
|
TLazToolStatusChangeEvent = procedure(Sender: TObject; OldStatus, NewStatus: TLazToolStatus) of object;
|
||||||
|
{
|
||||||
TLazBuildingFinishedEvent = procedure(Sender: TObject; BuildSuccessful: Boolean) of object;
|
TLazBuildingFinishedEvent = procedure(Sender: TObject; BuildSuccessful: Boolean) of object;
|
||||||
TLazLoadSaveCustomDataEvent = procedure(Sender: TObject; Load: boolean;
|
TLazLoadSaveCustomDataEvent = procedure(Sender: TObject; Load: boolean;
|
||||||
CustomData: TStringToStringTree; // on save this is a temporary clone free for altering
|
CustomData: TStringToStringTree; // on save this is a temporary clone free for altering
|
||||||
PathDelimChanged: boolean
|
PathDelimChanged: boolean
|
||||||
) of object;
|
) of object;
|
||||||
|
}
|
||||||
{ TLazIDEInterface }
|
{ TLazIDEInterface }
|
||||||
|
|
||||||
TLazIDEInterface = class(TComponent)
|
TLazIDEInterface = class(TComponent)
|
||||||
|
@ -56,10 +56,12 @@ uses
|
|||||||
// LazUtils
|
// LazUtils
|
||||||
FPCAdds, LazUtilities, FileUtil, LazFileUtils, LazFileCache, LazMethodList,
|
FPCAdds, LazUtilities, FileUtil, LazFileUtils, LazFileCache, LazMethodList,
|
||||||
LazLoggerBase, FileReferenceList, LazUTF8, Laz2_XMLCfg, Maps, AvgLvlTree,
|
LazLoggerBase, FileReferenceList, LazUTF8, Laz2_XMLCfg, Maps, AvgLvlTree,
|
||||||
|
// BuildIntf
|
||||||
|
BaseIDEIntf, ProjectIntf, PackageIntf, MacroIntf, MacroDefIntf,
|
||||||
|
CompOptsIntf, IDEOptionsIntf,
|
||||||
// IDEIntf
|
// IDEIntf
|
||||||
PropEdits, UnitResources, EditorSyntaxHighlighterDef, InputHistory,
|
PropEdits, UnitResources, EditorSyntaxHighlighterDef, InputHistory, SrcEditorIntf,
|
||||||
CompOptsIntf, ProjectIntf, MacroIntf, MacroDefIntf, SrcEditorIntf,
|
IDEOptEditorIntf, IDEDialogs,
|
||||||
IDEOptionsIntf, IDEOptEditorIntf, IDEDialogs, LazIDEIntf, PackageIntf,
|
|
||||||
// IdeConfig
|
// IdeConfig
|
||||||
EnvironmentOpts, LazConf, TransferMacros, SearchPathProcs, IdeXmlConfigProcs,
|
EnvironmentOpts, LazConf, TransferMacros, SearchPathProcs, IdeXmlConfigProcs,
|
||||||
IDECmdLine, IDEProcs, CompOptsModes, ModeMatrixOpts,
|
IDECmdLine, IDEProcs, CompOptsModes, ModeMatrixOpts,
|
||||||
|
@ -47,7 +47,7 @@ uses
|
|||||||
CodeCache, CodeTree, FindDeclarationTool, KeywordFuncLists,
|
CodeCache, CodeTree, FindDeclarationTool, KeywordFuncLists,
|
||||||
// BuildIntf
|
// BuildIntf
|
||||||
NewItemIntf, ProjectIntf, PackageIntf, PackageDependencyIntf, IDEExternToolIntf,
|
NewItemIntf, ProjectIntf, PackageIntf, PackageDependencyIntf, IDEExternToolIntf,
|
||||||
ComponentReg,
|
ComponentReg, BaseIDEIntf,
|
||||||
// IdeIntf
|
// IdeIntf
|
||||||
IDEDialogs, PropEdits, IDEMsgIntf, LazIDEIntf, MenuIntf, IDEWindowIntf, FormEditingIntf,
|
IDEDialogs, PropEdits, IDEMsgIntf, LazIDEIntf, MenuIntf, IDEWindowIntf, FormEditingIntf,
|
||||||
IdeIntfStrConsts, ObjectInspector, SrcEditorIntf, EditorSyntaxHighlighterDef,
|
IdeIntfStrConsts, ObjectInspector, SrcEditorIntf, EditorSyntaxHighlighterDef,
|
||||||
|
@ -46,8 +46,8 @@ uses
|
|||||||
TypInfo, Classes, SysUtils,
|
TypInfo, Classes, SysUtils,
|
||||||
LazFileUtils, LazLoggerBase,
|
LazFileUtils, LazLoggerBase,
|
||||||
Forms, ComCtrls,
|
Forms, ComCtrls,
|
||||||
PackageIntf,
|
PackageIntf, BaseIDEIntf,
|
||||||
LazIDEIntf, MenuIntf, IdeIntfStrConsts,
|
MenuIntf, IdeIntfStrConsts,
|
||||||
EnvironmentOpts,
|
EnvironmentOpts,
|
||||||
LazarusIDEStrConsts,
|
LazarusIDEStrConsts,
|
||||||
CompilerOptions, PackageDefs, PackageSystem, Project;
|
CompilerOptions, PackageDefs, PackageSystem, Project;
|
||||||
|
@ -49,9 +49,7 @@ uses
|
|||||||
LazTracer, LazLoggerBase, Laz2_XMLCfg, AvgLvlTree,
|
LazTracer, LazLoggerBase, Laz2_XMLCfg, AvgLvlTree,
|
||||||
// BuildIntf
|
// BuildIntf
|
||||||
MacroIntf, MacroDefIntf, IDEOptionsIntf, PublishModuleIntf, ComponentReg,
|
MacroIntf, MacroDefIntf, IDEOptionsIntf, PublishModuleIntf, ComponentReg,
|
||||||
PackageDependencyIntf, PackageIntf, FppkgIntf, LazMsgWorker,
|
PackageDependencyIntf, PackageIntf, FppkgIntf, LazMsgWorker, BaseIDEIntf,
|
||||||
// IDEIntf
|
|
||||||
LazIDEIntf,
|
|
||||||
// IdeConfig
|
// IdeConfig
|
||||||
TransferMacros, IDEProcs, IDEOptionDefs, CompOptsModes, SearchPathProcs, IdeXmlConfigProcs,
|
TransferMacros, IDEProcs, IDEOptionDefs, CompOptsModes, SearchPathProcs, IdeXmlConfigProcs,
|
||||||
// IDE
|
// IDE
|
||||||
|
@ -58,7 +58,7 @@ uses
|
|||||||
FileProcs, CodeTree, CTUnitGraph,
|
FileProcs, CodeTree, CTUnitGraph,
|
||||||
// BuildIntf
|
// BuildIntf
|
||||||
ProjPackIntf, ProjectIntf, PackageIntf, PackageDependencyIntf, PackageLinkIntf,
|
ProjPackIntf, ProjectIntf, PackageIntf, PackageDependencyIntf, PackageLinkIntf,
|
||||||
NewItemIntf, CompOptsIntf, IDEExternToolIntf, MacroIntf, ComponentReg,
|
NewItemIntf, CompOptsIntf, IDEExternToolIntf, MacroIntf, ComponentReg, BaseIDEIntf,
|
||||||
// IdeIntf
|
// IdeIntf
|
||||||
IDECommands, MenuIntf, IDEWindowIntf, LazIDEIntf, IDEMsgIntf, SrcEditorIntf,
|
IDECommands, MenuIntf, IDEWindowIntf, LazIDEIntf, IDEMsgIntf, SrcEditorIntf,
|
||||||
IdeIntfStrConsts, ComponentEditors, PropEdits, IDEDialogs,
|
IdeIntfStrConsts, ComponentEditors, PropEdits, IDEDialogs,
|
||||||
|
Loading…
Reference in New Issue
Block a user