ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/trunk/fbintf/changelog
(Generate patch)

Comparing ibx/trunk/fbintf/changelog (file contents):
Revision 280 by tony, Tue Feb 5 09:46:35 2019 UTC vs.
Revision 340 by tony, Wed Jul 7 11:53:54 2021 UTC

# Line 1 | Line 1
1 + FBINTF Change Log  version          (1.2-1 Build 12552) Wed, 09 Jun 2021 13:05:40 +0100
2 +
3 + 1. Big fix for Firebird 4.0. A internal change in Firebird 4.0.0 from RC1 flushed out a
4 +   typo in FB30Statement.pas that caused an unknown parameter error.
5 +
6 + FBINTF Change Log  version          (1.2-0 Build 12520) Fri, 19 Feb 2021 13:27:23 +0000
7 +
8 + 1. Imported (Firebird) constants updated for Firebird 4.
9 +
10 + 2. Firebird.pas from Firebird 4 integrated into source code tree.
11 +
12 + 3. Added Support for TIMETAMP WITH TIME ZONE and TIME WITH TIME ZONE data types.
13 +
14 + 4. Added Support for SQL_DEC16, SQL_DEC34 and extended NUMERIC precision.
15 +
16 + 5. New unit 'FBClientLib.pas' added and provides new interface IFBIMasterProvider.
17 +   QueryInterface may be used to coerce this interface from IFirebirdAPI. The
18 +   interface provides a single method "function GetIMasterIntf: IMaster". This provides
19 +   type safe access to the Firebird IMaster interface and avoids the need to turn
20 +   off object checks when coercing "function GetIMaster: TObject" to IMaster.
21 +
22 + 6. New IFirebirdAPI Calls:
23 +    function HasLocalTZDB: boolean;
24 +    function HasTimeZoneSupport: boolean;
25 +    function HasExtendedTZSupport: boolean;
26 +    procedure SQLDecFloatEncode(aValue: tBCD; SQLType: cardinal; bufptr: PByte);
27 +    function SQLDecFloatDecode(SQLType: cardinal; scale: integer; bufptr: PByte): tBCD;
28 +
29 + 7. New IAttachment Calls:
30 +    function HasDecFloatSupport: boolean;
31 +    function GetTimeZoneServices: ITimeZoneServices;
32 +    function HasTimeZoneSupport: boolean;
33 +
34 + 8. New Interface ITimeZoneServices.
35 +
36 + 9. New ISQLData API Calls:
37 +    procedure GetAsDateTime(var aDateTime: TDateTime; var dstOffset: smallint; var aTimezoneID: TFBTimeZoneID); overload;
38 +    procedure GetAsDateTime(var aDateTime: TDateTime; var dstOffset: smallint; var aTimezone: AnsiString); overload;
39 +    procedure GetAsTime(var aTime: TDateTime; var dstOffset: smallint; var aTimezoneID: TFBTimeZoneID; OnDate: TDateTime); overload;
40 +    procedure GetAsTime(var aTime: TDateTime; var dstOffset: smallint; var aTimezone: AnsiString; OnDate: TDateTime); overload;
41 +    function GetAsUTCDateTime: TDateTime;
42 +    function GetAsBCD: tBCD;
43 +
44 + 10. New ISQLParam API Calls
45 +    procedure GetAsDateTime(var aDateTime: TDateTime; var dstOffset: smallint; var aTimezoneID: TFBTimeZoneID); overload;
46 +    procedure GetAsDateTime(var aDateTime: TDateTime; var dstOffset: smallint; var aTimezone: AnsiString); overload;
47 +    procedure GetAsTime(var aTime: TDateTime; var dstOffset: smallint; var aTimezoneID: TFBTimeZoneID; OnDate: TDateTime); overload;
48 +    procedure GetAsTime(var aTime: TDateTime; var dstOffset: smallint; var aTimezone: AnsiString; OnDate: TDateTime); overload;
49 +    function GetAsUTCDateTime: TDateTime;
50 +    function GetAsBCD: tBCD;
51 +    function GetStatement: IStatement;
52 +    function GetTransaction: ITransaction;
53 +    procedure SetAsTime(aValue: TDateTime; OnDate: TDateTime; aTimeZoneID: TFBTimeZoneID); overload;
54 +    procedure SetAsTime(aValue: TDateTime; OnDate: TDateTime; aTimeZone: AnsiString); overload;
55 +    procedure SetAsDateTime(aValue: TDateTime; aTimeZoneID: TFBTimeZoneID); overload;
56 +    procedure SetAsDateTime(aValue: TDateTime; aTimeZone: AnsiString); overload;
57 +    procedure SetAsUTCDateTime(aUTCTime: TDateTime);
58 +    procedure SetAsBcd(aValue: tBCD);
59 +
60 + 11. New IArray API Calls
61 +    procedure GetAsDateTime(index: array of integer; var aDateTime: TDateTime; var dstOffset: smallint; var aTimezoneID: TFBTimeZoneID); overload;
62 +    procedure GetAsDateTime(index: array of integer; var aDateTime: TDateTime; var dstOffset: smallint; var aTimezone: AnsiString); overload;
63 +    procedure GetAsTime(index: array of integer; var aTime: TDateTime; var dstOffset: smallint; var aTimezoneID: TFBTimeZoneID; OnDate: TDateTime); overload;
64 +    procedure GetAsTime(index: array of integer; var aTime: TDateTime; var dstOffset: smallint; var aTimezone: AnsiString; OnDate: TDateTime); overload;
65 +    function GetAsUTCDateTime(index: array of integer): TDateTime;
66 +    procedure SetAsDateTime(index: array of integer; aValue: TDateTime; aTimeZoneID: TFBTimeZoneID); overload;
67 +    procedure SetAsDateTime(index: array of integer; aValue: TDateTime; aTimeZone: AnsiString); overload;
68 +    procedure SetAsTime(index: array of integer; aValue: TDateTime; OnDate: TDateTime; aTimeZoneID: TFBTimeZoneID); overload;
69 +    procedure SetAsTime(index: array of integer; aValue: TDateTime; OnDate: TDateTime; aTimeZone: AnsiString); overload;
70 +
71 + 12. Utility functions in IBUtils
72 +    function ParseDateTimeTZString(aDateTimeStr: Ansistring; var aDateTime: TDateTime;
73 +              var aTimezone: AnsiString; aFormatSettings: TFormatSettings; TimeOnly: boolean=false): boolean;
74 +    procedure FBDecodeTime(aTime: TDateTime; var Hour, Minute, Second: word; var DeciMillisecond: cardinal);
75 +    function FBEncodeTime(Hour, Minute, Second, DeciMillisecond: cardinal): TDateTime;
76 +    function FBFormatDateTime(fmt: AnsiString; aDateTime: TDateTime): AnsiString;
77 +    function FormatTimeZoneOffset(EffectiveTimeOffsetMins: integer): AnsiString;
78 +    function DecodeTimeZoneOffset(TZOffset: AnsiString; var dstOffset: integer): boolean;
79 +
80 + 13. IDPB, ITPB and ISPB: new interface method
81 +      function AddByTypeName(ParamTypeName: AnsiString): IDPBItem/ITPBItem/ISPBItem;
82 +    This is used to add a parameter block item by the string equivalent of its
83 +    symbolic type name. e.g. DPB.AddByTypeName('isc_dpb_user_name').AsString := '...'
84 +
85 + 14. IDPBItem/ITPBItem/ISPBItem: new interface method:
86 +      function getParamTypeName: AnsiString;
87 +
88 + 15. fb_shutdown now called before unloading Firebird library. This can avoid a
89 +     SIGEVENT error when a programme using the embeded server is unloaded.
90 +
91 + FBINTF Change Log  version          (1.1-6 Build 12237) Tue, 21 Jul 2020 08:54:21 +0100
92 +
93 + 1. GetImplementationVersion now correctly returns '3.0' for Firebird 3 API
94 +   with a Firebrid 3 client library.
95 +
96 + 2. Linux Only: FIREBIRD environment variable is now checked when loading the client library.
97 +    If a client library path is not explicitly provided and the FIREBIRD environment
98 +    variable is set then the directory given by this variable and any 'lib' subdirectory
99 +    are searched for the Firebird client library. Only if none is found, is the default
100 +    client library used.
101 +
102 + 3.  IUtil.FormatStatus now used to format error messages when using new API
103 +
104 + 4.  Fixed Array SDL: array_desc_scale now correctly encoded as a signed integer.
105 +
106 + 5.  SQL_TEXT handling changed. When the value of an SQL_TEXT (i.e. fixed width string) column is
107 +    returned using GetAsString and the string codepage is UTF8, the string is truncated so
108 +    that the byte length corresponds to the number of characters specified for the column.
109 +    SQL_TEXT strings are no longer automatically trimmed to remove all trailing white space. This is
110 +    correct behaviour but may affect some implementations that relied upon automatic
111 +    trimming of trailing white space.
112 +
113 + 6.  New IFirebirdAPI Calls:
114 +      function GetClientMajor: integer;
115 +      function GetClientMinor: integer;
116 +
117 + 7.  IColumnMetaData and IArrayMetaData: new method
118 +      function GetCharSetWidth: integer;
119 +
120 + FBINTF Change Log  version          (1.1-5 Build 12022) Fri, 17 Apr 2020 10:35:55 +0100
121 +
122 + 1. ISQLParams.GetHasCaseSensitiveParams added. Returns true if param names are
123 +   case sensitive
124 +
125 + 2. Single line SQL comments starting with '--' are now recognised by SQL Parser.
126 +
127 + 3. New API Calls:
128 +        IColumnMetaData.GetStatement
129 +        IColumnMetaData.GetTransaction
130 +        ISQLData.GetStrDataLength
131 +        IResults.GetStatement
132 +        IAttachment.OpenBlob (using Blob metadata)
133 +        IAttachment.OpenArray (using array metadata)
134 +
135 + 4. FBMessages: removal of unused messages
136 +
137 + 5. TFBArray.Create (2nd case): ensure that FFirebirdClientAPI is correctly set.
138 +
139 + 6. TIBSQLStatementType: SQLSavePoint added to end of enumeration.
140 +
141   FBINTF Change Log  version          (1.1-4 Build 11515)  Fri, 28 Dec 2018 10:04:19 +0000
142  
143   1. Fix a problem with the SQL parameter parser that failed to recognise parameters

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines