Skip to content

Commit c46315a

Browse files
committed
Remove Delphi package cfgs and tweak flags
Remove several obsolete Delphi package configuration files under CORE/Packages to clean up repo. Update CORE source: move BinaryCompatibleMode property into the public section of uRESTDWBasicTypes.pas (exposing it as a read-only property) and adjust conditional defines in CORE/Source/Includes/uRESTDW.inc — simplify the compiler-version branching, enable ZEOSMEM and USE_TAURUS_TLS for FPC builds, and ensure RESTFDMEMTABLE and USE_TAURUS_TLS behavior is consistent for non-FPC builds. These changes improve build/config cleanliness and refine FPC compatibility.
1 parent 10ba16d commit c46315a

8 files changed

Lines changed: 9 additions & 263 deletions

File tree

CORE/Packages/Delphi/Connectors/Indy/RESTDWSocketIndy.cfg

Lines changed: 0 additions & 44 deletions
This file was deleted.

CORE/Packages/Delphi/Connectors/Indy/RESTDWSocketIndyDesign.cfg

Lines changed: 0 additions & 40 deletions
This file was deleted.

CORE/Packages/Delphi/Drivers/Zeos/RESTDWZEOSDriver.cfg

Lines changed: 0 additions & 39 deletions
This file was deleted.

CORE/Packages/Delphi/RESTDWCore.cfg

Lines changed: 0 additions & 45 deletions
This file was deleted.

CORE/Packages/Delphi/RESTDWCoreDesign.cfg

Lines changed: 0 additions & 41 deletions
This file was deleted.

CORE/Packages/Delphi/ShellTools/RESTDWShellServicesDesign.cfg

Lines changed: 0 additions & 41 deletions
This file was deleted.

CORE/Source/Basic/uRESTDWBasicTypes.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@
257257
vBinaryLoadRequest : Boolean;
258258
vOnWriterProcess : TOnWriterProcess;
259259
Function OnEditingState : Boolean;
260-
Public
260+
Public
261+
Property BinaryCompatibleMode : Boolean Read vBinaryCompatibleMode;
261262
Procedure BaseOpen;
262263
Procedure BaseClose;
263264
Procedure ForceInternalCalc;
@@ -268,7 +269,6 @@
268269
Procedure PrepareDetailsNew; Virtual;Abstract;
269270
Procedure PrepareDetails(ActiveMode : Boolean); Virtual;Abstract;
270271
Constructor Create(AOwner: TComponent);Override;
271-
Property BinaryCompatibleMode : Boolean Read vBinaryCompatibleMode;
272272
Property InLoadFromStream : Boolean Read vLoadFromStream;
273273
Property BinaryLoadRequest : Boolean Read vBinaryLoadRequest;
274274
Property OnLoadStream : Boolean Read vOnLoadStream Write vOnLoadStream;

CORE/Source/Includes/uRESTDW.inc

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,18 @@
3939
{$ENDIF}
4040
{$ENDIF}
4141

42-
{$IFNDEF FPC}
43-
{$if CompilerVersion < 26}
44-
{$DEFINE RESTDWMEMTABLE}
45-
{$ELSE}
46-
{.$DEFINE RESTDWMEMTABLE}
47-
{$DEFINE RESTFDMEMTABLE}
48-
{.$DEFINE UNIDACMEM}
49-
{.$DEFINE ZEOSMEM}
50-
{.$DEFINE USE_TAURUS_TLS}
51-
{$IFEND}
42+
//Datasets Base for ClientSQL
43+
{$IFDEF FPC}
44+
{.$DEFINE RESTDWMEMTABLE}
45+
{.$DEFINE UNIDACMEM}
46+
{$DEFINE ZEOSMEM}
47+
{.$DEFINE USE_TAURUS_TLS}
5248
{$ELSE}
5349
{.$DEFINE RESTDWMEMTABLE}
5450
{$DEFINE RESTFDMEMTABLE}
5551
{.$DEFINE UNIDACMEM}
5652
{.$DEFINE ZEOSMEM}
57-
{.$DEFINE USE_TAURUS_TLS}
53+
{$DEFINE USE_TAURUS_TLS}
5854
{$ENDIF}
5955

6056

0 commit comments

Comments
 (0)