mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 15:58:07 +02:00
Remove IdeIntf dependency from unit PackageDefs.
This commit is contained in:
parent
3ec140e266
commit
1a2b394941
@ -18,7 +18,7 @@ interface
|
||||
uses
|
||||
Classes, SysUtils,
|
||||
// LazUtils
|
||||
LazUTF8, LazConfigStorage,
|
||||
LazUTF8, LazConfigStorage, AvgLvlTree,
|
||||
// BuildIntf
|
||||
MacroIntf;
|
||||
|
||||
@ -29,6 +29,23 @@ type
|
||||
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
|
||||
): TConfigStorage;
|
||||
|
||||
|
@ -158,17 +158,10 @@ type
|
||||
pbfCreateMakefile
|
||||
);
|
||||
TProjectBuildFlags = set of TProjectBuildFlag;
|
||||
|
||||
// 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;
|
||||
|
||||
// Deprecase in Lazarus 3.99, March 2024.
|
||||
TSearchIDEFileFlag = BaseIDEIntf.TSearchIDEFileFlag deprecated 'Use the definition from BaseIDEIntf';
|
||||
TSearchIDEFileFlags = BaseIDEIntf.TSearchIDEFileFlags deprecated 'Use the definition from BaseIDEIntf';
|
||||
|
||||
// find unit flags
|
||||
// Normally you don't need to pass any flags.
|
||||
@ -274,13 +267,13 @@ type
|
||||
itCustom // this state is not used yet.
|
||||
);
|
||||
TLazToolStatusChangeEvent = procedure(Sender: TObject; OldStatus, NewStatus: TLazToolStatus) of object;
|
||||
|
||||
{
|
||||
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;
|
||||
|
||||
}
|
||||
{ TLazIDEInterface }
|
||||
|
||||
TLazIDEInterface = class(TComponent)
|
||||
|
@ -56,10 +56,12 @@ uses
|
||||
// LazUtils
|
||||
FPCAdds, LazUtilities, FileUtil, LazFileUtils, LazFileCache, LazMethodList,
|
||||
LazLoggerBase, FileReferenceList, LazUTF8, Laz2_XMLCfg, Maps, AvgLvlTree,
|
||||
// BuildIntf
|
||||
BaseIDEIntf, ProjectIntf, PackageIntf, MacroIntf, MacroDefIntf,
|
||||
CompOptsIntf, IDEOptionsIntf,
|
||||
// IDEIntf
|
||||
PropEdits, UnitResources, EditorSyntaxHighlighterDef, InputHistory,
|
||||
CompOptsIntf, ProjectIntf, MacroIntf, MacroDefIntf, SrcEditorIntf,
|
||||
IDEOptionsIntf, IDEOptEditorIntf, IDEDialogs, LazIDEIntf, PackageIntf,
|
||||
PropEdits, UnitResources, EditorSyntaxHighlighterDef, InputHistory, SrcEditorIntf,
|
||||
IDEOptEditorIntf, IDEDialogs,
|
||||
// IdeConfig
|
||||
EnvironmentOpts, LazConf, TransferMacros, SearchPathProcs, IdeXmlConfigProcs,
|
||||
IDECmdLine, IDEProcs, CompOptsModes, ModeMatrixOpts,
|
||||
|
@ -47,7 +47,7 @@ uses
|
||||
CodeCache, CodeTree, FindDeclarationTool, KeywordFuncLists,
|
||||
// BuildIntf
|
||||
NewItemIntf, ProjectIntf, PackageIntf, PackageDependencyIntf, IDEExternToolIntf,
|
||||
ComponentReg,
|
||||
ComponentReg, BaseIDEIntf,
|
||||
// IdeIntf
|
||||
IDEDialogs, PropEdits, IDEMsgIntf, LazIDEIntf, MenuIntf, IDEWindowIntf, FormEditingIntf,
|
||||
IdeIntfStrConsts, ObjectInspector, SrcEditorIntf, EditorSyntaxHighlighterDef,
|
||||
|
@ -46,8 +46,8 @@ uses
|
||||
TypInfo, Classes, SysUtils,
|
||||
LazFileUtils, LazLoggerBase,
|
||||
Forms, ComCtrls,
|
||||
PackageIntf,
|
||||
LazIDEIntf, MenuIntf, IdeIntfStrConsts,
|
||||
PackageIntf, BaseIDEIntf,
|
||||
MenuIntf, IdeIntfStrConsts,
|
||||
EnvironmentOpts,
|
||||
LazarusIDEStrConsts,
|
||||
CompilerOptions, PackageDefs, PackageSystem, Project;
|
||||
|
@ -49,9 +49,7 @@ uses
|
||||
LazTracer, LazLoggerBase, Laz2_XMLCfg, AvgLvlTree,
|
||||
// BuildIntf
|
||||
MacroIntf, MacroDefIntf, IDEOptionsIntf, PublishModuleIntf, ComponentReg,
|
||||
PackageDependencyIntf, PackageIntf, FppkgIntf, LazMsgWorker,
|
||||
// IDEIntf
|
||||
LazIDEIntf,
|
||||
PackageDependencyIntf, PackageIntf, FppkgIntf, LazMsgWorker, BaseIDEIntf,
|
||||
// IdeConfig
|
||||
TransferMacros, IDEProcs, IDEOptionDefs, CompOptsModes, SearchPathProcs, IdeXmlConfigProcs,
|
||||
// IDE
|
||||
|
@ -58,7 +58,7 @@ uses
|
||||
FileProcs, CodeTree, CTUnitGraph,
|
||||
// BuildIntf
|
||||
ProjPackIntf, ProjectIntf, PackageIntf, PackageDependencyIntf, PackageLinkIntf,
|
||||
NewItemIntf, CompOptsIntf, IDEExternToolIntf, MacroIntf, ComponentReg,
|
||||
NewItemIntf, CompOptsIntf, IDEExternToolIntf, MacroIntf, ComponentReg, BaseIDEIntf,
|
||||
// IdeIntf
|
||||
IDECommands, MenuIntf, IDEWindowIntf, LazIDEIntf, IDEMsgIntf, SrcEditorIntf,
|
||||
IdeIntfStrConsts, ComponentEditors, PropEdits, IDEDialogs,
|
||||
|
Loading…
Reference in New Issue
Block a user