Create XE5 main package

This commit is contained in:
Ansgar Becker
2013-10-17 04:39:23 +00:00
parent f1be5e345f
commit f2616c1564
3 changed files with 432 additions and 0 deletions

View File

@ -0,0 +1,78 @@
program heidisql;
uses
//madExcept,
Forms,
SysUtils,
Dialogs,
Windows,
main in '..\..\source\main.pas' {MainForm},
about in '..\..\source\about.pas' {AboutBox},
connections in '..\..\source\connections.pas' {connform},
loaddata in '..\..\source\loaddata.pas' {loaddataform},
usermanager in '..\..\source\usermanager.pas' {UserManagerForm},
options in '..\..\source\options.pas' {optionsform},
tabletools in '..\..\source\tabletools.pas' {frmTableTools},
printlist in '..\..\source\printlist.pas' {printlistForm},
copytable in '..\..\source\copytable.pas' {CopyTableForm},
insertfiles in '..\..\source\insertfiles.pas' {frmInsertFiles},
helpers in '..\..\source\helpers.pas',
sqlhelp in '..\..\source\sqlhelp.pas' {frmSQLhelp},
mysql_structures in '..\..\source\mysql_structures.pas',
column_selection in '..\..\source\column_selection.pas' {ColumnSelectionForm},
data_sorting in '..\..\source\data_sorting.pas' {DataSortingForm},
createdatabase in '..\..\source\createdatabase.pas' {CreateDatabaseForm},
updatecheck in '..\..\source\updatecheck.pas' {frmUpdateCheck},
editvar in '..\..\source\editvar.pas' {frmEditVariable},
view in '..\..\source\view.pas' {frmView},
selectdbobject in '..\..\source\selectdbobject.pas' {frmSelectDBObject},
texteditor in '..\..\source\texteditor.pas' {frmTextEditor},
bineditor in '..\..\source\bineditor.pas' {frmBinEditor},
grideditlinks in '..\..\source\grideditlinks.pas',
routine_editor in '..\..\source\routine_editor.pas' {frmRoutineEditor},
table_editor in '..\..\source\table_editor.pas' {frmTableEditor},
dbconnection in '..\..\source\dbconnection.pas',
trigger_editor in '..\..\source\trigger_editor.pas' {frmTriggerEditor: TFrame},
searchreplace in '..\..\source\searchreplace.pas' {frmSearchReplace},
event_editor in '..\..\source\event_editor.pas' {frmEventEditor: TFrame},
loginform in '..\..\source\loginform.pas' {frmLogin},
Cromis.DirectoryWatch in '..\..\source\Cromis.DirectoryWatch.pas',
exportgrid in '..\..\source\exportgrid.pas' {frmExportGrid},
syncdb in '..\..\source\syncdb.pas' {frmSyncDB},
gnugettext in '..\..\source\gnugettext.pas',
JumpList in '..\..\source\JumpList.pas';
{$R ..\..\res\icon.RES}
{$R ..\..\res\version.RES}
{$R ..\..\res\manifest.RES}
{$R ..\..\res\updater.RES}
var
AppLanguage: String;
begin
// Use MySQL standard format for date/time variables: YYYY-MM-DD HH:MM:SS
// Be aware that Delphi internally converts the slashes in ShortDateFormat to the DateSeparator
FormatSettings.DateSeparator := '-';
FormatSettings.TimeSeparator := ':';
FormatSettings.ShortDateFormat := 'yyyy/mm/dd';
FormatSettings.LongTimeFormat := 'hh:nn:ss';
AppSettings := TAppSettings.Create;
SecondInstMsgId := RegisterWindowMessage(APPNAME);
if (not AppSettings.ReadBool(asAllowMultipleInstances)) and CheckForSecondInstance then begin
AppSettings.Free;
Application.Terminate;
end else begin
AppLanguage := AppSettings.ReadString(asAppLanguage);
UseLanguage(AppLanguage);
Application.Initialize;
Application.Title := APPNAME;
Application.UpdateFormatSettings := False;
Application.CreateForm(TMainForm, MainForm);
Application.OnMessage := Mainform.OnMessageHandler;
MainForm.AfterFormCreate;
Application.OnDeactivate := MainForm.ApplicationDeActivate;
Application.MainFormOnTaskBar := True;
Application.Run;
end;
end.

View File

@ -0,0 +1,270 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{32493ED6-4F48-45D7-9D50-E4FA13F59063}</ProjectGuid>
<MainSource>heidisql.dpr</MainSource>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Debug</Config>
<TargetedPlatforms>3</TargetedPlatforms>
<AppType>Application</AppType>
<FrameworkType>VCL</FrameworkType>
<ProjectVersion>15.1</ProjectVersion>
<Platform Condition="'$(Platform)'==''">Win32</Platform>
</PropertyGroup>
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Base)'=='true') or '$(Base_Win32)'!=''">
<Base_Win32>true</Base_Win32>
<CfgParent>Base</CfgParent>
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Base)'=='true') or '$(Base_Win64)'!=''">
<Base_Win64>true</Base_Win64>
<CfgParent>Base</CfgParent>
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_1)'!=''">
<Cfg_1>true</Cfg_1>
<CfgParent>Base</CfgParent>
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_2)'!=''">
<Cfg_2>true</Cfg_2>
<CfgParent>Base</CfgParent>
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win32)'!=''">
<Cfg_2_Win32>true</Cfg_2_Win32>
<CfgParent>Cfg_2</CfgParent>
<Cfg_2>true</Cfg_2>
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
<DCC_SYMBOL_PLATFORM>false</DCC_SYMBOL_PLATFORM>
<DCC_UNIT_PLATFORM>false</DCC_UNIT_PLATFORM>
<DCC_ExeOutput>..\..\out\</DCC_ExeOutput>
<DCC_DcuOutput>..\..\build\$(Platform)</DCC_DcuOutput>
<DCC_UnitSearchPath>..\..\components\graphicex;..\..\components\synapse;..\..\components\mORMot;..\..\components\synedit\build\$(Platform);..\..\components\virtualtreeview\build\$(Platform);..\..\components\synedit\source;..\..\components\virtualtreeview\source;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
<DCC_E>false</DCC_E>
<DCC_K>false</DCC_K>
<DCC_Namespace>Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;FMX.Canvas.GPU;System.Win;Data.Win;$(DCC_Namespace)</DCC_Namespace>
<DCC_N>false</DCC_N>
<DCC_ImageBase>00400000</DCC_ImageBase>
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=;CFBundleName=;CFBundleDisplayName=;UIDeviceFamily=;CFBundleIdentifier=;CFBundleVersion=;CFBundlePackageType=;CFBundleSignature=;CFBundleAllowMixedLocalizations=;UISupportedInterfaceOrientations=;CFBundleExecutable=;CFBundleResourceSpecification=;LSRequiresIPhoneOS=;CFBundleInfoDictionaryVersion=;CFBundleDevelopmentRegion=;package=;label=;versionCode=;versionName=;persistent=;restoreAnyVersion=;installLocation=;largeHeap=;theme=</VerInfo_Keys>
<DCC_S>false</DCC_S>
<DCC_DebugInformation>true</DCC_DebugInformation>
<DCC_F>false</DCC_F>
<VerInfo_Locale>1033</VerInfo_Locale>
</PropertyGroup>
<PropertyGroup Condition="'$(Base_Win32)'!=''">
<DCC_Namespace>Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
<VerInfo_Locale>1033</VerInfo_Locale>
</PropertyGroup>
<PropertyGroup Condition="'$(Base_Win64)'!=''">
<DCC_Namespace>Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace)</DCC_Namespace>
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_1)'!=''">
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
<DCC_DebugInformation>0</DCC_DebugInformation>
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2)'!=''">
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
<DCC_Optimize>false</DCC_Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2_Win32)'!=''">
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
</PropertyGroup>
<ItemGroup>
<DelphiCompile Include="$(MainSource)">
<MainSource>MainSource</MainSource>
</DelphiCompile>
<DCCReference Include="..\..\source\main.pas">
<Form>MainForm</Form>
</DCCReference>
<DCCReference Include="..\..\source\about.pas">
<Form>AboutBox</Form>
</DCCReference>
<DCCReference Include="..\..\source\connections.pas">
<Form>connform</Form>
</DCCReference>
<DCCReference Include="..\..\source\loaddata.pas">
<Form>loaddataform</Form>
</DCCReference>
<DCCReference Include="..\..\source\usermanager.pas">
<Form>UserManagerForm</Form>
</DCCReference>
<DCCReference Include="..\..\source\options.pas">
<Form>optionsform</Form>
</DCCReference>
<DCCReference Include="..\..\source\tabletools.pas">
<Form>frmTableTools</Form>
</DCCReference>
<DCCReference Include="..\..\source\printlist.pas">
<Form>printlistForm</Form>
</DCCReference>
<DCCReference Include="..\..\source\copytable.pas">
<Form>CopyTableForm</Form>
</DCCReference>
<DCCReference Include="..\..\source\insertfiles.pas">
<Form>frmInsertFiles</Form>
</DCCReference>
<DCCReference Include="..\..\source\helpers.pas"/>
<DCCReference Include="..\..\source\sqlhelp.pas">
<Form>frmSQLhelp</Form>
</DCCReference>
<DCCReference Include="..\..\source\mysql_structures.pas"/>
<DCCReference Include="..\..\source\column_selection.pas">
<Form>ColumnSelectionForm</Form>
</DCCReference>
<DCCReference Include="..\..\source\data_sorting.pas">
<Form>DataSortingForm</Form>
</DCCReference>
<DCCReference Include="..\..\source\createdatabase.pas">
<Form>CreateDatabaseForm</Form>
</DCCReference>
<DCCReference Include="..\..\source\updatecheck.pas">
<Form>frmUpdateCheck</Form>
</DCCReference>
<DCCReference Include="..\..\source\editvar.pas">
<Form>frmEditVariable</Form>
</DCCReference>
<DCCReference Include="..\..\source\view.pas">
<Form>frmView</Form>
</DCCReference>
<DCCReference Include="..\..\source\selectdbobject.pas">
<Form>frmSelectDBObject</Form>
</DCCReference>
<DCCReference Include="..\..\source\texteditor.pas">
<Form>frmTextEditor</Form>
</DCCReference>
<DCCReference Include="..\..\source\bineditor.pas">
<Form>frmBinEditor</Form>
</DCCReference>
<DCCReference Include="..\..\source\grideditlinks.pas"/>
<DCCReference Include="..\..\source\routine_editor.pas">
<Form>frmRoutineEditor</Form>
</DCCReference>
<DCCReference Include="..\..\source\table_editor.pas">
<Form>frmTableEditor</Form>
</DCCReference>
<DCCReference Include="..\..\source\dbconnection.pas"/>
<DCCReference Include="..\..\source\trigger_editor.pas">
<Form>frmTriggerEditor</Form>
<DesignClass>TFrame</DesignClass>
</DCCReference>
<DCCReference Include="..\..\source\searchreplace.pas">
<Form>frmSearchReplace</Form>
</DCCReference>
<DCCReference Include="..\..\source\event_editor.pas">
<Form>frmEventEditor</Form>
<DesignClass>TFrame</DesignClass>
</DCCReference>
<DCCReference Include="..\..\source\loginform.pas">
<Form>frmLogin</Form>
</DCCReference>
<DCCReference Include="..\..\source\Cromis.DirectoryWatch.pas"/>
<DCCReference Include="..\..\source\exportgrid.pas">
<Form>frmExportGrid</Form>
</DCCReference>
<DCCReference Include="..\..\source\syncdb.pas">
<Form>frmSyncDB</Form>
</DCCReference>
<DCCReference Include="..\..\source\gnugettext.pas"/>
<DCCReference Include="..\..\source\JumpList.pas"/>
<BuildConfiguration Include="Debug">
<Key>Cfg_2</Key>
<CfgParent>Base</CfgParent>
</BuildConfiguration>
<BuildConfiguration Include="Base">
<Key>Base</Key>
</BuildConfiguration>
<BuildConfiguration Include="Release">
<Key>Cfg_1</Key>
<CfgParent>Base</CfgParent>
</BuildConfiguration>
</ItemGroup>
<ProjectExtensions>
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
<Borland.ProjectType/>
<BorlandProject>
<Delphi.Personality>
<Source>
<Source Name="MainSource">heidisql.dpr</Source>
</Source>
<VersionInfo>
<VersionInfo Name="IncludeVerInfo">False</VersionInfo>
<VersionInfo Name="AutoIncBuild">False</VersionInfo>
<VersionInfo Name="MajorVer">1</VersionInfo>
<VersionInfo Name="MinorVer">0</VersionInfo>
<VersionInfo Name="Release">0</VersionInfo>
<VersionInfo Name="Build">0</VersionInfo>
<VersionInfo Name="Debug">False</VersionInfo>
<VersionInfo Name="PreRelease">False</VersionInfo>
<VersionInfo Name="Special">False</VersionInfo>
<VersionInfo Name="Private">False</VersionInfo>
<VersionInfo Name="DLL">False</VersionInfo>
<VersionInfo Name="Locale">1033</VersionInfo>
<VersionInfo Name="CodePage">1252</VersionInfo>
</VersionInfo>
<VersionInfoKeys>
<VersionInfoKeys Name="CompanyName"/>
<VersionInfoKeys Name="FileDescription"/>
<VersionInfoKeys Name="FileVersion">1.0.0.0</VersionInfoKeys>
<VersionInfoKeys Name="InternalName"/>
<VersionInfoKeys Name="LegalCopyright"/>
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename"/>
<VersionInfoKeys Name="ProductName"/>
<VersionInfoKeys Name="ProductVersion">1.0.0.0</VersionInfoKeys>
<VersionInfoKeys Name="Comments"/>
<VersionInfoKeys Name="CFBundleName"/>
<VersionInfoKeys Name="CFBundleDisplayName"/>
<VersionInfoKeys Name="UIDeviceFamily"/>
<VersionInfoKeys Name="CFBundleIdentifier"/>
<VersionInfoKeys Name="CFBundleVersion"/>
<VersionInfoKeys Name="CFBundlePackageType"/>
<VersionInfoKeys Name="CFBundleSignature"/>
<VersionInfoKeys Name="CFBundleAllowMixedLocalizations"/>
<VersionInfoKeys Name="UISupportedInterfaceOrientations"/>
<VersionInfoKeys Name="CFBundleExecutable"/>
<VersionInfoKeys Name="CFBundleResourceSpecification"/>
<VersionInfoKeys Name="LSRequiresIPhoneOS"/>
<VersionInfoKeys Name="CFBundleInfoDictionaryVersion"/>
<VersionInfoKeys Name="CFBundleDevelopmentRegion"/>
<VersionInfoKeys Name="package"/>
<VersionInfoKeys Name="label"/>
<VersionInfoKeys Name="versionCode"/>
<VersionInfoKeys Name="versionName"/>
<VersionInfoKeys Name="persistent"/>
<VersionInfoKeys Name="restoreAnyVersion"/>
<VersionInfoKeys Name="installLocation"/>
<VersionInfoKeys Name="largeHeap"/>
<VersionInfoKeys Name="theme"/>
</VersionInfoKeys>
<Excluded_Packages>
<Excluded_Packages Name="$(BDSBIN)\dcloffice2k190.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
<Excluded_Packages Name="$(BDSBIN)\dclofficexp190.bpl">Microsoft Office XP Sample Automation Server Wrapper Components</Excluded_Packages>
</Excluded_Packages>
</Delphi.Personality>
<Platforms>
<Platform value="Win32">True</Platform>
<Platform value="Win64">True</Platform>
</Platforms>
</BorlandProject>
<ProjectFileVersion>12</ProjectFileVersion>
</ProjectExtensions>
<Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
<Import Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')"/>
</Project>

View File

@ -0,0 +1,84 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{C4296A31-CCFB-4D2F-8BEC-26CD630E9987}</ProjectGuid>
</PropertyGroup>
<ItemGroup>
<Projects Include="..\..\components\virtualtreeview\packages\delphiXE5\VirtualTreesR.dproj">
<Dependencies/>
</Projects>
<Projects Include="..\..\components\virtualtreeview\packages\delphiXE5\VirtualTreesD.dproj">
<Dependencies/>
</Projects>
<Projects Include="..\..\components\synedit\Packages\delphiXE5\SynEditR.dproj">
<Dependencies/>
</Projects>
<Projects Include="..\..\components\synedit\Packages\delphiXE5\SynEditD.dproj">
<Dependencies/>
</Projects>
<Projects Include="heidisql.dproj">
<Dependencies/>
</Projects>
</ItemGroup>
<ProjectExtensions>
<Borland.Personality>Default.Personality.12</Borland.Personality>
<Borland.ProjectType/>
<BorlandProject>
<Default.Personality/>
</BorlandProject>
</ProjectExtensions>
<Target Name="VirtualTreesR">
<MSBuild Projects="..\..\components\virtualtreeview\packages\delphiXE5\VirtualTreesR.dproj"/>
</Target>
<Target Name="VirtualTreesR:Clean">
<MSBuild Projects="..\..\components\virtualtreeview\packages\delphiXE5\VirtualTreesR.dproj" Targets="Clean"/>
</Target>
<Target Name="VirtualTreesR:Make">
<MSBuild Projects="..\..\components\virtualtreeview\packages\delphiXE5\VirtualTreesR.dproj" Targets="Make"/>
</Target>
<Target Name="VirtualTreesD">
<MSBuild Projects="..\..\components\virtualtreeview\packages\delphiXE5\VirtualTreesD.dproj"/>
</Target>
<Target Name="VirtualTreesD:Clean">
<MSBuild Projects="..\..\components\virtualtreeview\packages\delphiXE5\VirtualTreesD.dproj" Targets="Clean"/>
</Target>
<Target Name="VirtualTreesD:Make">
<MSBuild Projects="..\..\components\virtualtreeview\packages\delphiXE5\VirtualTreesD.dproj" Targets="Make"/>
</Target>
<Target Name="SynEditR">
<MSBuild Projects="..\..\components\synedit\Packages\delphiXE5\SynEditR.dproj"/>
</Target>
<Target Name="SynEditR:Clean">
<MSBuild Projects="..\..\components\synedit\Packages\delphiXE5\SynEditR.dproj" Targets="Clean"/>
</Target>
<Target Name="SynEditR:Make">
<MSBuild Projects="..\..\components\synedit\Packages\delphiXE5\SynEditR.dproj" Targets="Make"/>
</Target>
<Target Name="SynEditD">
<MSBuild Projects="..\..\components\synedit\Packages\delphiXE5\SynEditD.dproj"/>
</Target>
<Target Name="SynEditD:Clean">
<MSBuild Projects="..\..\components\synedit\Packages\delphiXE5\SynEditD.dproj" Targets="Clean"/>
</Target>
<Target Name="SynEditD:Make">
<MSBuild Projects="..\..\components\synedit\Packages\delphiXE5\SynEditD.dproj" Targets="Make"/>
</Target>
<Target Name="heidisql">
<MSBuild Projects="heidisql.dproj"/>
</Target>
<Target Name="heidisql:Clean">
<MSBuild Projects="heidisql.dproj" Targets="Clean"/>
</Target>
<Target Name="heidisql:Make">
<MSBuild Projects="heidisql.dproj" Targets="Make"/>
</Target>
<Target Name="Build">
<CallTarget Targets="VirtualTreesR;VirtualTreesD;SynEditR;SynEditD;heidisql"/>
</Target>
<Target Name="Clean">
<CallTarget Targets="VirtualTreesR:Clean;VirtualTreesD:Clean;SynEditR:Clean;SynEditD:Clean;heidisql:Clean"/>
</Target>
<Target Name="Make">
<CallTarget Targets="VirtualTreesR:Make;VirtualTreesD:Make;SynEditR:Make;SynEditD:Make;heidisql:Make"/>
</Target>
<Import Project="$(BDS)\Bin\CodeGear.Group.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Group.Targets')"/>
</Project>