ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/branches/udr/changelog
Revision: 267
Committed: Fri Dec 28 10:44:23 2018 UTC (5 years, 10 months ago) by tony
Original Path: ibx/trunk/fbintf/changelog
File size: 10905 byte(s)
Log Message:
Fixes Merged

File Contents

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