LazBuild: remove a direct reference to SynRegExpr. Use FCL's RegExpr everywhere in IDE.

git-svn-id: trunk@53744 -
This commit is contained in:
juha 2016-12-20 23:39:59 +00:00
parent 19f63789bb
commit c3a54973c7
8 changed files with 47 additions and 38 deletions

View File

@ -26,8 +26,13 @@ unit SimpleIDE;
interface
uses
Classes, SysUtils, TextTools, SynRegExpr, FileProcs,
IDETextConverter;
Classes, SysUtils, RegExpr,
// LazUtils
LazFileUtils,
// Codetools
FileProcs,
// IdeIntf
TextTools, IDETextConverter;
type
{ TLazyTextConverterToolClasses }

View File

@ -1,39 +1,34 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<Package Version="3">
<Package Version="4">
<Name Value="SimpleIDEIntf"/>
<AddToProjectUsesSection Value="True"/>
<CompilerOptions>
<Version Value="8"/>
<Version Value="11"/>
<SearchPaths>
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
</SearchPaths>
<Other>
<CompilerPath Value="$(CompPath)"/>
</Other>
</CompilerOptions>
<Files Count="1">
<Item1>
<Filename Value="simpleide.pas"/>
<UnitName Value="simpleide"/>
<UnitName Value="SimpleIDE"/>
</Item1>
</Files>
<RequiredPkgs Count="4">
<RequiredPkgs Count="3">
<Item1>
<PackageName Value="CodeTools"/>
</Item1>
<Item2>
<PackageName Value="SynEdit"/>
<PackageName Value="IDEIntf"/>
</Item2>
<Item3>
<PackageName Value="IDEIntf"/>
</Item3>
<Item4>
<PackageName Value="FCL"/>
<MinVersion Major="1" Valid="True"/>
</Item4>
</Item3>
</RequiredPkgs>
<UsageOptions>
<UnitPath Value="$(PkgOutDir)/"/>
<UnitPath Value="$(PkgOutDir)"/>
</UsageOptions>
<PublishOptions>
<Version Value="2"/>

View File

@ -30,8 +30,9 @@ unit ChgEncodingDlg;
interface
uses
// RTL + FCL + LCL
Classes, SysUtils, AVL_Tree,
// RTL + FCL
Classes, SysUtils, AVL_Tree, RegExpr,
// LCL
LCLProc, Forms, Controls, ExtCtrls, StdCtrls, ComCtrls, Buttons,
// CodeTools
CodeCache, CodeToolsStructs, CodeToolManager, FileProcs,
@ -39,8 +40,6 @@ uses
LConvEncoding, LazFileUtils, LazFileCache,
// IDEIntf
IDEWindowIntf, SrcEditorIntf, IDEHelpIntf,
// SynEdit
SynRegExpr,
// IDE
IDEProcs, PackageDefs, PackageSystem, Project, LazarusIDEStrConsts;

View File

@ -5,8 +5,13 @@ unit ReplaceFuncsUnit;
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
Buttons, ButtonPanel, Grids, CheckLst, Menus, StdCtrls, SynRegExpr,
Classes, SysUtils, RegExpr,
// LCL
Forms, Controls, Graphics, Dialogs, ExtCtrls,
Buttons, ButtonPanel, Grids, CheckLst, Menus, StdCtrls,
// LazUtils
FileUtil,
// IDE, converter
LazarusIDEStrConsts, ConverterTypes;
type

View File

@ -5,8 +5,15 @@ unit ReplaceNamesUnit;
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
Grids, Buttons, ExtCtrls, Menus, ButtonPanel, CodeToolsStructs, SynRegExpr,
Classes, SysUtils, RegExpr,
// LCL
LResources, Forms, Controls, Graphics, Dialogs,
Grids, Buttons, ExtCtrls, Menus, ButtonPanel,
// Codetools
CodeToolsStructs,
// LazUtils
FileUtil,
// IDE, converter
LazarusIDEStrConsts, ConverterTypes;
type

View File

@ -19,7 +19,7 @@
</Target>
<SearchPaths>
<IncludeFiles Value="include;include/$(TargetOS)"/>
<OtherUnitFiles Value="../designer;../packager;../debugger;../ide;../components/synedit"/>
<OtherUnitFiles Value="../designer;../packager;../debugger;../ide"/>
<UnitOutputDirectory Value="../units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/>
</SearchPaths>
<CodeGeneration>
@ -63,7 +63,7 @@
<PackageName Value="IDEIntf"/>
</Item3>
</RequiredPackages>
<Units Count="5">
<Units Count="4">
<Unit0>
<Filename Value="lazbuild.lpr"/>
<IsPartOfProject Value="True"/>
@ -83,11 +83,6 @@
<IsPartOfProject Value="True"/>
<UnitName Value="IDECmdLine"/>
</Unit3>
<Unit4>
<Filename Value="../components/synedit/synregexpr.pas"/>
<IsPartOfProject Value="True"/>
<UnitName Value="SynRegExpr"/>
</Unit4>
</Units>
</ProjectOptions>
<CompilerOptions>
@ -97,7 +92,7 @@
</Target>
<SearchPaths>
<IncludeFiles Value="include;include/$(TargetOS)"/>
<OtherUnitFiles Value="../designer;../packager;../debugger;../ide;../components/synedit"/>
<OtherUnitFiles Value="../designer;../packager;../debugger;../ide"/>
<UnitOutputDirectory Value="../units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/>
</SearchPaths>
<Parsing>

View File

@ -35,13 +35,11 @@ unit PublishModule;
interface
uses
Classes, SysUtils,
Classes, SysUtils, RegExpr,
// LCL
LCLProc,
// LazUtils
LazFileUtils, Laz2_XMLCfg,
// SynEdit
SynRegExpr,
// IDE
IDEProcs;

View File

@ -25,10 +25,15 @@ unit AddDirToPkgDlg;
interface
uses
Classes, SysUtils, Forms, Controls, Dialogs, StdCtrls, ButtonPanel, EditBtn,
SynRegExpr, FileProcs, LazFileUtils,
Classes, SysUtils, RegExpr,
// LCL
Forms, Controls, Dialogs, StdCtrls, ButtonPanel, EditBtn,
// LazUtils
FileProcs, LazFileUtils,
// IdeIntf
IDEWindowIntf,
// IDE
IDEWindowIntf, IDEProcs, LazarusIDEStrConsts, PackageDefs;
IDEProcs, LazarusIDEStrConsts, PackageDefs;
type