Skip to content

Commit

Permalink
Merge pull request #14 from pashagolub/RADStudio_12_support
Browse files Browse the repository at this point in the history
[!] add support for RAD Studio 12, closes #13
  • Loading branch information
pashagolub authored Dec 18, 2023
2 parents 5d25ea3 + 9220e19 commit ef45af3
Show file tree
Hide file tree
Showing 20 changed files with 385 additions and 28 deletions.
55 changes: 55 additions & 0 deletions Packages/PostgresDAC29.dpk
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
package PostgresDAC29;

{$R *.res}
{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO OFF}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION OFF}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES ON}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DEFINE DEBUG}
{$ENDIF IMPLICITBUILDING}
{$RUNONLY}
{$IMPLICITBUILD ON}

requires
rtl,
dsnap,
dbrtl;

contains
PSQLTypes in '..\Source\PSQLTypes.pas',
PSQLAccess in '..\Source\PSQLAccess.pas',
PSQLDbTables in '..\Source\PSQLDbTables.pas',
PSQLBatch in '..\Source\PSQLBatch.pas',
PSQLMacroQuery in '..\Source\PSQLMacroQuery.pas',
PSQLMonitor in '..\Source\PSQLMonitor.pas',
PSQLTools in '..\Source\PSQLTools.pas',
PSQLDump in '..\Source\PSQLDump.pas',
PSQLCopy in '..\Source\PSQLCopy.pas',
PSQLDirectQuery in '..\Source\PSQLDirectQuery.pas',
PSQLExtMask in '..\Source\PSQLExtMask.pas',
PSQLFields in '..\Source\PSQLFields.pas',
PSQLNotify in '..\Source\PSQLNotify.pas',
PSQLGeomTypes in '..\Source\PSQLGeomTypes.pas';

{$NOINCLUDE PSQLGeomTypes}

end.

123 changes: 123 additions & 0 deletions Packages/PostgresDAC29.dproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{57060A94-2E29-401F-A098-0A6D2127CCFF}</ProjectGuid>
<MainSource>PostgresDAC29.dpk</MainSource>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Debug</Config>
<TargetedPlatforms>1</TargetedPlatforms>
<AppType>Package</AppType>
<FrameworkType>None</FrameworkType>
<ProjectVersion>20.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="'$(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="'$(Base)'!=''">
<DCC_E>false</DCC_E>
<DCC_F>false</DCC_F>
<DCC_K>false</DCC_K>
<DCC_N>false</DCC_N>
<DCC_S>false</DCC_S>
<DCC_ImageBase>00400000</DCC_ImageBase>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
<DCC_CBuilderOutput>All</DCC_CBuilderOutput>
<SanitizedProjectName>PostgresDAC29</SanitizedProjectName>
<RuntimeOnlyPackage>true</RuntimeOnlyPackage>
<VerInfo_Locale>1033</VerInfo_Locale>
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=;CFBundleName=</VerInfo_Keys>
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;Winapi;$(DCC_Namespace)</DCC_Namespace>
</PropertyGroup>
<PropertyGroup Condition="'$(Base_Win32)'!=''">
<DCC_Namespace>System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
<BT_BuildType>Debug</BT_BuildType>
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName)</VerInfo_Keys>
<VerInfo_Locale>1033</VerInfo_Locale>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_1)'!=''">
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
<DCC_DebugInformation>0</DCC_DebugInformation>
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2)'!=''">
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
<DCC_Optimize>false</DCC_Optimize>
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
<DCC_RangeChecking>true</DCC_RangeChecking>
<DCC_IntegerOverflowCheck>true</DCC_IntegerOverflowCheck>
</PropertyGroup>
<ItemGroup>
<DelphiCompile Include="$(MainSource)">
<MainSource>MainSource</MainSource>
</DelphiCompile>
<DCCReference Include="rtl.dcp"/>
<DCCReference Include="dsnap.dcp"/>
<DCCReference Include="dbrtl.dcp"/>
<DCCReference Include="..\Source\PSQLTypes.pas"/>
<DCCReference Include="..\Source\PSQLAccess.pas"/>
<DCCReference Include="..\Source\PSQLDbTables.pas"/>
<DCCReference Include="..\Source\PSQLBatch.pas"/>
<DCCReference Include="..\Source\PSQLMacroQuery.pas"/>
<DCCReference Include="..\Source\PSQLMonitor.pas"/>
<DCCReference Include="..\Source\PSQLTools.pas"/>
<DCCReference Include="..\Source\PSQLDump.pas"/>
<DCCReference Include="..\Source\PSQLCopy.pas"/>
<DCCReference Include="..\Source\PSQLDirectQuery.pas"/>
<DCCReference Include="..\Source\PSQLExtMask.pas"/>
<DCCReference Include="..\Source\PSQLFields.pas"/>
<DCCReference Include="..\Source\PSQLNotify.pas"/>
<DCCReference Include="..\Source\PSQLGeomTypes.pas"/>
<BuildConfiguration Include="Base">
<Key>Base</Key>
</BuildConfiguration>
<BuildConfiguration Include="Release">
<Key>Cfg_1</Key>
<CfgParent>Base</CfgParent>
</BuildConfiguration>
<BuildConfiguration Include="Debug">
<Key>Cfg_2</Key>
<CfgParent>Base</CfgParent>
</BuildConfiguration>
</ItemGroup>
<ProjectExtensions>
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
<Borland.ProjectType>Package</Borland.ProjectType>
<BorlandProject>
<Delphi.Personality>
<Source>
<Source Name="MainSource">PostgresDAC29.dpk</Source>
</Source>
</Delphi.Personality>
<Platforms>
<Platform value="Android">True</Platform>
<Platform value="iOSDevice32">True</Platform>
<Platform value="iOSSimulator">True</Platform>
<Platform value="Linux64">True</Platform>
<Platform value="OSX32">True</Platform>
<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>
Binary file added Packages/PostgresDAC29.res
Binary file not shown.
47 changes: 47 additions & 0 deletions Packages/dclPostgresDAC29.dpk
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
package dclPostgresDAC29;

{$R *.res}
{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO OFF}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS OFF}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION ON}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO OFF}
{$SAFEDIVIDE OFF}
{$STACKFRAMES OFF}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DEFINE RELEASE}
{$ENDIF IMPLICITBUILDING}
{$DESCRIPTION 'PostgreSQL Direct Access Components'}
{$DESIGNONLY}
{$IMPLICITBUILD ON}

requires
dcldb,
PostgresDAC29;

contains
PSQLupdsqled in '..\Source\PSQLupdsqled.pas' {PSQLUpdateSQLEditForm},
PSQLCOMP in '..\Source\PSQLCOMP.pas',
PSQLConnFrm in '..\Source\PSQLConnFrm.pas' {PSQLConnForm},
PSQLfldlinks in '..\Source\PSQLfldlinks.pas' {PSQLLinkFields},
PSQLMigrator in '..\Source\PSQLMigrator.pas',
PSQLStoredProcFrm in '..\Source\PSQLStoredProcFrm.pas' {PSQLStoredProcProp},
PSQLQueryEdit in '..\Source\PSQLQueryEdit.pas' {SQLEditForm},
psqlAboutFrm in '..\Source\psqlAboutFrm.pas' {PSQLAboutComp};

end.

133 changes: 133 additions & 0 deletions Packages/dclPostgresDAC29.dproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{7DB34C22-C5F2-467A-A37D-C3552A59B4BC}</ProjectGuid>
<MainSource>dclPostgresDAC29.dpk</MainSource>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Debug</Config>
<TargetedPlatforms>1</TargetedPlatforms>
<AppType>Package</AppType>
<FrameworkType>None</FrameworkType>
<ProjectVersion>20.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="'$(Base)'!=''">
<DCC_E>false</DCC_E>
<DCC_F>false</DCC_F>
<DCC_K>false</DCC_K>
<DCC_N>false</DCC_N>
<DCC_S>false</DCC_S>
<DCC_ImageBase>00400000</DCC_ImageBase>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
<DCC_CBuilderOutput>All</DCC_CBuilderOutput>
<SanitizedProjectName>dclPostgresDAC29</SanitizedProjectName>
<DCC_Description>PostgreSQL Direct Access Components</DCC_Description>
<DesignOnlyPackage>true</DesignOnlyPackage>
<VerInfo_Locale>1033</VerInfo_Locale>
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=;CFBundleName=</VerInfo_Keys>
<DCC_Namespace>System;Xml;Data;Datasnap;Web;Soap;Winapi;Vcl;$(DCC_Namespace)</DCC_Namespace>
</PropertyGroup>
<PropertyGroup Condition="'$(Base_Win32)'!=''">
<DCC_Namespace>System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
<BT_BuildType>Debug</BT_BuildType>
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName)</VerInfo_Keys>
<VerInfo_Locale>1033</VerInfo_Locale>
<DCC_UsePackage>PostgresDAC29;$(DCC_UsePackage)</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Base_Win64)'!=''">
<DCC_UsePackage>PostgresDAC29;$(DCC_UsePackage)</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_1)'!=''">
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
<DCC_DebugInformation>0</DCC_DebugInformation>
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2)'!=''">
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
<DCC_Optimize>false</DCC_Optimize>
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
<DCC_RangeChecking>true</DCC_RangeChecking>
<DCC_IntegerOverflowCheck>true</DCC_IntegerOverflowCheck>
</PropertyGroup>
<ItemGroup>
<DelphiCompile Include="$(MainSource)">
<MainSource>MainSource</MainSource>
</DelphiCompile>
<DCCReference Include="dcldb.dcp"/>
<DCCReference Include="PostgresDAC29.dcp"/>
<DCCReference Include="..\Source\PSQLupdsqled.pas">
<Form>PSQLUpdateSQLEditForm</Form>
</DCCReference>
<DCCReference Include="..\Source\PSQLCOMP.pas"/>
<DCCReference Include="..\Source\PSQLConnFrm.pas">
<Form>PSQLConnForm</Form>
</DCCReference>
<DCCReference Include="..\Source\PSQLfldlinks.pas">
<Form>PSQLLinkFields</Form>
</DCCReference>
<DCCReference Include="..\Source\PSQLMigrator.pas"/>
<DCCReference Include="..\Source\PSQLStoredProcFrm.pas">
<Form>PSQLStoredProcProp</Form>
</DCCReference>
<DCCReference Include="..\Source\PSQLQueryEdit.pas">
<Form>SQLEditForm</Form>
</DCCReference>
<DCCReference Include="..\Source\psqlAboutFrm.pas">
<Form>PSQLAboutComp</Form>
</DCCReference>
<BuildConfiguration Include="Base">
<Key>Base</Key>
</BuildConfiguration>
<BuildConfiguration Include="Release">
<Key>Cfg_1</Key>
<CfgParent>Base</CfgParent>
</BuildConfiguration>
<BuildConfiguration Include="Debug">
<Key>Cfg_2</Key>
<CfgParent>Base</CfgParent>
</BuildConfiguration>
</ItemGroup>
<ProjectExtensions>
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
<Borland.ProjectType>Package</Borland.ProjectType>
<BorlandProject>
<Delphi.Personality>
<Source>
<Source Name="MainSource">dclPostgresDAC29.dpk</Source>
</Source>
</Delphi.Personality>
<Platforms>
<Platform value="Win32">True</Platform>
<Platform value="Win64">False</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>
Binary file added Packages/dclPostgresDAC29.res
Binary file not shown.
2 changes: 0 additions & 2 deletions Source/PSQLAccess.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

unit PSQLAccess;

{SVN revision: $Id$}

{$T-}

interface
Expand Down
2 changes: 0 additions & 2 deletions Source/PSQLBatch.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

interface

{SVN revision: $Id$}

Uses {$IFDEF FPC}LCLIntf,{$ENDIF}{$IFDEF MSWINDOWS}Windows,{$ENDIF} SysUtils, Classes, Db,
{$IFDEF DELPHI_6}Variants,{$ENDIF}{StdVCL,} PSQLDbTables, PSQLTypes;

Expand Down
2 changes: 0 additions & 2 deletions Source/PSQLCopy.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

unit PSQLCopy;

{SVN revision: $Id$}

interface

uses {$IFDEF FPC}LCLIntf,{$ENDIF} SysUtils, Classes, PSQLTypes,
Expand Down
Loading

0 comments on commit ef45af3

Please sign in to comment.