ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/branches/udr/changelog
Revision: 266
Committed: Wed Dec 26 18:34:32 2018 UTC (5 years, 3 months ago) by tony
Original Path: ibx/trunk/fbintf/changelog
File size: 10924 byte(s)
Log Message:
Fixes Merged

File Contents

# Content
1 FBINTF Change Log version (1.1-4) Wed, 26 Dec 2018 18:20:35 +0000
2
3 This is rc2 for 1.1.4
4
5 1. Fix a problem with the SQL parameter parser that failed to recognise parameters
6 where the second character of the parameter name is a numeric.
7
8 2. New method for IAttachment: procedure getFBVersion(version: TStrings);
9 This returns the isc_version connection information as one or more lines.
10 This is the same information as returned by isql with the -z option.
11
12
13 FBINTF Change Log version (1.1-3) Wed, 05 Dec 2018 14:28:10 +0000
14
15 1. DARWIN only syntax error: fix missing semi-colon in TFBClientAPI.LoadIBLibrary
16
17 2. Restrict IsMultiThread check to Unix only for compatibility with
18 https://bugs.freepascal.org/view.php?id=30535
19
20 3. New SQL Tokeniser added to IBUtils. This is used to pre-process SQL with
21 named parameters and is intended to avoid problems with (e.g.) Execute Block
22 and processing internal parameters as statement parameters.
23
24 4. New interface IFirebirdLibrary provides access to the underlying firebird DLL
25 or shared object. Available via a new member (GetFBLibrary) of IFirebirdAPI.
26
27 5. New function added to IB.pas
28
29 function LoadFBLibrary(aLibPathName: string): IFirebirdLibrary
30
31 This allows a Firebird Library to be loaded from an explicit path. use the
32 IFirebirdLibrary.GetFirebirdAPI member function to get the Firebird API using
33 the library. It is possible to load Firebird libraries from different locations
34 simultaneously, each with a distinct IFirebirdAPI.
35
36 FBINTF Change Log version (1.1-2) Mon, 16 Apr 2018 09:30:32 +0100
37
38 1. Firebird.pas: {$OBJECTCHECKS OFF} added to file to avoid runtime error when
39 program compiled with -CR command line switch.
40
41 2. IServiceManager additions (informational):
42 function getProtocol: TProtocol;
43 function getPortNo: AnsiString;
44
45 3. IServiceManager improved error handling. Interfaces changed:
46 function Start(Request: ISRB; RaiseExceptionOnError: boolean=true): boolean;
47 function Query(SQPB: ISQPB; Request: ISRB; RaiseExceptionOnError: boolean=true) :IServiceQueryResults; overload;
48 function Query(Request: ISRB; RaiseExceptionOnError: boolean=true) :IServiceQueryResults; overload;
49
50 4. IAttachment addition (informational)
51 function GetSecurityDatabase: AnsiString;
52
53 5. IStatement: performance counters now updated after each Fetch. GetPerfStatistics
54 thus now returns accumulated stats for a select statement from opening a cursor
55 up to the last fetch.
56
57 6. DARWIN: uloadlibrary.inc bug fix. Many thanks to Luigi Naimi for correcting
58 the problem.
59
60 7. Type change: "TPerfCounters = array[TPerfStats] of Int64". Note "Int64"
61 replaces deprecated "comp" type.
62
63 10. Testsuite Test10 updated to include thread synchronisation for event reporting.
64
65 11. URL Connection Strings: inet4 and inet6 now recognised.
66
67 12. IBUtils: Parse and Make Connect String now recognise URL style loopback syntax.
68
69 13. IAttachment.CharSetName2CharSetID is now performed case insensitive.
70
71
72 FBINTF Change Log version (1.1-1) Tue, 27 Feb 2018 16:51:16 +0000
73
74 1. IBUtils.QuoteIdentifierIfNeeded: Add check for space character.
75
76 2. IAttachment: add two new methods
77 function HasDefaultCharSet: boolean;
78 function GetDefaultCharSetID: integer;
79
80 These return, respectively, true if a connection default character set was
81 specified and the character set id of the connection default character set.
82 The DefaultCharSetID is cached when the connection is opened and hence does not
83 require a database lookup.
84
85 3. Avoid exception when a text blob is a stored procedure parameter.
86
87 4. Update test suite to include a test for a stored proc returning a text blob.
88
89 5. IAttachment: add
90 function GetRemoteProtocol: AnsiString;
91 function GetODSMajorVersion: integer;
92 function GetODSMinorVersion: integer;
93 function GetAuthenticationMethod: AnsiString;
94
95 These results are cached when the connection is opened and hence do not
96 require a database lookup.
97
98 6. IAttachment: add "function GetConnectString: AnsiString;" This returns the
99 connect string used to create/connect to the database.
100
101 7. IAttachment: Create Database using SQL statement. The username and password
102 are now extracted and used to populate a DPB made available via IAttachment.getDPB.
103 It is now possible to use IAttachment disconnect/connect to reconnect to
104 a database for which the initial connection was established by a create
105 database sql statement. Available in FPC only.
106
107 8. Update Test 1 to test 5, 6 and 7 above.
108
109 9. IBUtils code tidy up.
110
111 10. Parameter Block interfaces "find" method. As documented, this should have
112 returned a nil interface when the item could not be found. Instead, an empty
113 interface item was returned. "Find" now works as documented and will return
114 a nil interface if the item cannot be found.
115
116 11. DBInformation: support added for isc_info_active_tran_count and isc_info_creation_date.
117
118 12. DBInformation: New interfaces: IDIRB and IDIRBItem added to support DB Information
119 requests with additional parameters. This is to enable support for fb_info_page_contents
120 (return of page contents). Response to fb_info_page_contents returned as
121 a string with code page CP_NONE.
122
123 13. DBInformation: Support for fb_info_pages_used and fb_info_pages_free added, plus
124 test suite updated.
125
126 14. DBInformation: Support for fb_info_crypt_key (Firebird 3.0.3 onwards) added as
127 a string type, and fb_info_conn_flags (Firebird 3.0.3 onwards) added as an integer type.
128
129 15. Service Manager: List of protocols supported expanded to include inet, wnet and xnet.
130 An overloaded version of IIFirebirdAPI.GetServiceManager also allows a non
131 default connection port to be specified.
132
133 FBINTF Change Log version (1.1-0) Sun, 07 Jan 2018 15:20:02 +0000
134
135 1. Fix issues with setting SQL Param values using SetAsString with Numeric types.
136 Scale is no longer ignored.
137
138 2. Fix issues with setting SQL Param values using SetAsString with Date values
139 not in locale format but which are recognised by Firebird. Date values that
140 cannot be converted to a string using Pascal library are now passed through
141 to Firebird as Text Strings.
142
143 3. Lookup character set name by codepage amended to ensure that CP_UTF8 returns
144 UTF8 and not UNICODE_FSS.
145
146 4. Charset ID problem. When using Firebird 3, with no default database character set
147 and a column has a non-default collation specified, an incorrect character set
148 id was being reported that could result in a 'division by zero' error when
149 used by IBX. This has now been fixed.
150
151 5. Move GetCharsetName, CharSetID2CodePage, CodePage2CharSetID, CharSetName2CharSetID,
152 CharSetWidth from IFirebirdAPI to IAttachment. This is a better data model as
153 the character sets supported can be updated on a per database basis. That is
154 it is possible to add a (Firebird) user defined character set to a database.
155
156 6. Add RegisterCharSet to IAttachment. This is used to register a user defined character
157 set supported by Firebird with the API.
158
159 7. Add missing isc_info_db_read_only to list of decoded Database Information items
160 in FBOutputBlock.pas and update test suite to include this item.
161
162 8. FB30Client: avoid always using "StartMultiple" when only a single database attachment.
163
164 9. Loading Windows fbclient.dll: when using the FIREBIRD variable to locate the client
165 library or finding it by disk location, the PATH environment variable is now also set to
166 include the FIREBIRD directory. This is to ensure that the correct dlls in the
167 firebird client library dependencies are loaded.
168
169 10. Testsuite: Ensure consistent UTF-8 output on Windows console.
170
171 11. Testsuite: Update Windows script to include FPC 3.0.4 in search path.
172
173 12. FB30Statement: Protect call to "Move" and avoid calling with a nil pointer
174
175 13. FB30Statement: A check has been added to ensure that all SQL Parameters
176 have been given a value (including NULL). Previously, failing to set the
177 value of an SQL Parameter could give rise to unpredictable results or
178 an SQLDA error.
179
180 14. FB30Statement/FB25Statement: Set SQLParam "modified" when string value set.
181
182 15. FBAttachment: Avoid string reference count error when processing an Ansistring
183 parameter in an array of const passed to IAttachment.OpenCursor, etc.
184
185 16. FBAttachment: Allow for WideString and UnicodeString parameters in an array
186 of const passed to IAttachment.OpenCursor, etc.
187
188
189 FBINTF Change Log version (1.0-2) Sat, 04 Mar 2017 14:43:56 +0000
190
191 1. Change syntax to Mode Delphi
192
193 2. Change all uses of string type to explicit AnsiString in order to ensure
194 compatibility between Delphi and FPC.
195
196 3. Various syntax changes to ensure Delphi and FPC compilation including GUIDs
197 defined for each interface.
198
199 4. Generics syntax variations for Delphi added
200
201 5. PChar replaced with PByte expect where an actual string is being referenced,
202 where PAnsiChar is used instead.
203
204 6. Review of type definitions in IBExternals to ensure Delphi compatibility
205
206 7. Testsuite updated for Delphi
207
208 FBINTF Change Log version (1.0-1) Fri, 24 Feb 2017 12:17:57 +0000
209
210 1. Limit maximum Blob segment read/write to MaxuShort. Avoids data loss with
211 large blobs and the FB3 API.
212
213 2. Update Event Handling algorithm to avoid looping due to recreation of the
214 event block.
215
216 3. Avoid invalid XSQLDA error when the only parameter is updated to null
217
218 4. Array Handling: fix problem with text arrays with character set none. When the
219 DB connection has a default character set (e.g. UTF8), an error is raised by
220 Firebird if the space allocated is not enough to allow for transliteration, even
221 though it is not required for character set none.
222
223 5. IBUtils: List of reserved words brought up-to-date
224
225 6. Add ISQL style performance statistics collection to IStatement
226
227 7. Add IFirebirdAPI.CreateDatabase variant to allow execution of user provided
228 CREATE DATABASE statement.
229
230 8. Update SQL Statement parsing to allow for Array Dimensions. That is so that the ':' in
231 an array dimension is not mistaken for a named parameter prefix.
232
233 9. Trim function no longer applied to result of GetAsString for SQL_TEXT
234 when Character set is octets. Avoids loss of non printable characters at start of string.
235
236 10. Add function GetPerfStatistics to IStatement. This returns ISQL like performance
237 statistics for the last action. Requires use of procedure IStatement.EnableStatistics
238 to enable stats gathering.
239
240 11. API Version information added as constants to IB.pas
241
242 12. BlobMetaData character set id should now be the same as that given by IColumnMetaData.GetCharSetID
243
244 13. Firebird Character set "NONE" now interpreted as codepage CP_ACP.
245
246 FBINTF Change Log version (1.0-0) Tue, 06 Dec 2016 10:33:47 +0000
247
248 1. Initial Release
249