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

Comparing ibx/trunk/changelog (file contents):
Revision 232 by tony, Mon Apr 16 08:49:32 2018 UTC vs.
Revision 340 by tony, Wed Jul 7 11:53:54 2021 UTC

# Line 1 | Line 1
1 + IBX Change Log  version (2.4-1 Build 12550) Wed, 23 Jun 2021 13:59:14 +0100
2 +
3 + 1. -c command line option added to fbsql example program. Used to set connection
4 +   character set.
5 +
6 + IBX Change Log  version (2.4-0 Build 12543) Mon, 22 Feb 2021 11:00:08 +0000
7 +
8 + 1. Firebird 4 support added.
9 +
10 + 2. New FB4 data types TIME WITH TIME ZONE, TIMESTAMP WITH TIME ZONE, DECFLOAT and
11 +   extended precision NUMERIC fields are supported.
12 +
13 + 3. TFmtBCDField is used to support access to DECFLOAT and extended precision NUMERIC fields.
14 +
15 + 4. TIBDateTimeField and TIBTimeField are introduced in support of TIMESTAMP WITH TIME ZONE
16 +   and TIME WITH TIME ZONE fields. These inherit from TDateTimeField.
17 +
18 + 5. IBExtract now supports FB4 enhancements:
19 +   - new data types as above
20 +   - Identity column extensions
21 +   - Default user role
22 +   - SQL Security clause for Database, Tables, Procedures, Functions and Triggers
23 +   - Internal Functions
24 +
25 + 6. IBExtract: new event: OnExtractLines.
26 +
27 + 7. IBExtract: revert create trigger to legacy syntax see Firebird CORE-6243, CORE-5545 and DOC-145
28 +
29 + 8. IBXServices: Server version no. parsing now allows any letter before major version number
30 +   and is no longer restricted to 'V' e.g. "LI-T4.0.0.1436 Firebird 4.0 Beta 1"
31 +
32 + 9. TIBDataSet and TIBQuery: new property TZTextOption. Used to determine the default
33 +   format for rendering a time zone.
34 +
35 + 10. TIBDataSet and TIBQuery: new property DefaultTZDate. Used to provide the default date
36 +     to convert TIME WITH TIME ZONE data type values to and from GMT.
37 +
38 + 11. Unit name IBTypes changed to IBInternals. Internal interfaces TIBGUIInterface and TIBTimerInf renamed to
39 +    IIBGUIInterface and IIBTimerInf respectively.
40 +
41 + 12. Constants: DPBPrefix and TPBPrefix moved to IB unit. DPBConstantNames and TPBConstantNames
42 +    now accessible as properties of TIBDatabase and TIBTransaction respectively.
43 +
44 + 13. String Fields: when a fixed character with (CHAR) field is returned, it is now
45 +    truncated to its fixed character width rather than being right padded with
46 +    white space to the maximum data size.
47 +
48 + 14. TIBTable.Empty table. In additional to deleting all records in the underlying
49 +    table, the internal buffers are now also flushed ensuring that the TIBTable is
50 +    also empty.
51 +
52 + 15. TBatchSQLStatementReader: Line buffer is now cleared on call to reset.
53 +
54 + 16. TIBXControlService descendents: DatabaseName may now be set using a database
55 +    connect string. The database name is extracted from the connect string.
56 +
57 + 17. DBControlGrid: Minor bug fixes. avoid AV on form closure, avoid black panel
58 +
59 + 18. TIBExtract: Data type of COMPUTED By columns is no longer included in SQL.
60 +
61 + 19. Local database on Linux and with legacy API and FB 2.5 embedded server: fixed problem with password
62 +    not being present as required.
63 +
64 + 20. IBTreeView split into DBTreeView and IBTreeView. This former is an IBX indepedent
65 +    version that can be customised to work with other database drivers.
66 +
67 + 21. ISQLMonitor: use platform specific LineEnding to delimit messages. Avoids
68 +    unnecessary CR at end of line on Unix platforms.
69 +
70 + 22. ISQLMonitor: Unix: Default semaphore timeout increased from 1 second to 10
71 +    seconds in order to reduce risk of message loss.
72 +
73 + 23. ISQLMonitor: read and write count statistics now available via:
74 +      property TIBSQLMonitor.ReadCount;
75 +      IIBSQLMonitorHook.GetWriteCount: integer;
76 +
77 + 24. ISQLMonitor tidy up and unit split. IPC functions moved to new unit IBIPC.
78 +
79 + IBX Change Log  version (2.3-5 Build 12350) Tue, 25 Aug 2020 16:11:02 +0100
80 +
81 + 1.  TIBStringField: when a string value is read from a dataset buffer, if the
82 +    number of UTF8 characters exceeds the string size then string is truncated
83 +    to the maximum string size. This is  usually a problem with fixed width columns
84 +    right padded with white space.
85 +
86 + 2.  SQLFiltered and SQLFilterParams added to TIBQuery, TIBTable and TIBDataset.
87 +    If SQLFiltered is set then when a dataset is opened, each line in the
88 +    SQLFilterParams property is assumed to be a SQL condition clause and
89 +    ANDed into the Where clause of the SQL Select statement provided as a
90 +    dataset property. Each such SQL condition thus acts as an additional filter
91 +    on the dataset.
92 +
93 + 3.  The Filtered property inherited from TDataset is no longer used for SQL (server
94 +    side filters).
95 +
96 + 4. IBLookupComboEditBox: Selection should no longer reset to start of text when
97 +   text matches complete entry.
98 +
99 + 5. TIBDataLink: Detail Dataset params not refreshed unless both master and detail
100 +   dataset are active (avoids risk of access violation if master is inactive)
101 +
102 + 6. TIBEvents: Registered property can now be set at design time even if database not open
103 +
104 + 7. TIBEvents: component now correctly re-initialised after call to UnregisterEvents.
105 +   This should prevent "spillover" of events between sessions.
106 +
107 + 8. TIBCustomDataset: GetNextRecord now called when reseting to first record of a unidirectional dataset.
108 +   This should ensure that the internal buffer is set up correctly and avoids
109 +   a duplicate initial row.
110 +
111 + 9. TIBStringField: DataSize now given as byte size of string less trailing any zero character.
112 +   That is, the DataSize should be the field size * character set width. The
113 +   value returned by DataSize is now the same as the Dataset buffer size reserved
114 +   for the field.
115 +
116 + 10. IBExtract: Tidyup of SQL generation. Avoid unnecessary double quotes.
117 +
118 + 11. TIBCustomDataset: Add checks on buffer sizes when copying data from row to field buffer
119 +    and vice-versa. This may result in an exception being raised (correctly) for
120 +    older programs when using dataset fields added to a form and the database has been
121 +    upgraded. For example, computed fields can change from 32-bit to 64-bit integers.
122 +    In such cases, the field needs to be deleted in the IDE fields editor and then
123 +    added back in.
124 +
125 + 12. IBCustomDataSet: CanInsert, CanEdit, CanDelete and CanRefresh updated to return
126 +    false if query contains only white space and not just empty.
127 +
128 + 12. IBCustomDataset: Blob data is now cleared when TDataSet.Cancel is called. This
129 +    should ensure that (e.g.) a TDBMemo is correctly refreshed after a dataset edit
130 +    is cancelled.
131 +
132 + 13. IBCustomDataset: SetArrayIntf should no longer cause an access violation if
133 +    called on a null field.
134 +
135 + 14. IBCustomDataSet: An access violation should no longer occur when calling CancelUpdates
136 +    results in an empty dataTC86                Client side Filtered Dataset    1       X
137 + set.
138 +
139 + 15. IBCustomDataSet: OnUpdateError should now be called in all circumstances when
140 +    a cached update is applied and an exception is raised.
141 +
142 + 16. IBCustomDataSet: Avoid access violation when SetBookmarkData called with nil pointer.
143 +
144 + 17. Console Mode Local Database support: backup/restore should now work correctly.
145 +
146 + 18. Local Database Support: if an upgrade fails, a downgrade is now performed if
147 +    possible and an exception raised.
148 +
149 + 19. MinimumVersionNo added to Local Database Support. Database will not open if
150 +    below this version no. and upgrade not possible.
151 +
152 + IBX Change Log  version (2.3-4 Build 12041) Fri, 17 Apr 2020 14:00:32 +0100
153 +
154 + 1.  TIBXDataSet and Generators: Generator Names that are not all upper case or
155 +    not SQL Identifiers are now supported.
156 +
157 + 2.  TIBXScript: Set Generator is no longer rejected as unrecognised SQL and is
158 +    passed to the Firebird engine for execution.
159 +
160 + 3.  TIBDataSet: Unidirectional datasets now give an error message if an attempt
161 +    is made to scroll back.
162 +
163 + 4.  New unit: IBMessages.pas. Contains only messages used by IBX and not FBIntf
164 +
165 + 5. TIBLookupComboEditBox: When generating auto-complete SQL, the ListField is now
166 +   only enclosed in double quotes in SQL dialect 3 and when it needs to be.
167 +
168 + 6. TIBLookupComboEditBox: when the list source opens, the ListField name is now
169 +   validated. If no match is found in the list of field names and the database has
170 +   been opened in SQL Dialect 3, then the ListField Name is converted to upper case
171 +   if it then matches a field name. Otherwise, a Listfield not valid exception occurs.
172 +
173 + 7. IBGeneratoreditor.pas: Add missing parenthesis around "IS" statement for compliance
174 +   with fpc 3.2.
175 +
176 + IBX Change Log  version (2.3-3 Build 11512) Fri, 28 Dec 2018 10:04:17 +0000
177 +
178 +
179 + 1. New property for TIBDatabase and TIBXServicesConnection. This is "ConfigOverrides"
180 +   and is used to override the default settings in the client side "firebird.conf" This
181 +   includes "WireCompression" and "WireCrypt". The value of this property is a "TStrings".
182 +   Each line of the string list should be a setting in the same format as "firebird.conf".
183 +   For example "WireCompression = true" in order to request wire compression on the client side.
184 +
185 +   Note: explicit settings in the client side "firebird.conf" appear to take precedence
186 +   over settings given in TIBDatabase and TIBXServicesConnection. Many client side settings
187 +   also require a compatible setting in the server side "firebird.conf". For example
188 +   "WireCompression = true" must also be set in the server's "firebird.conf" for wire
189 +   compression to be used.
190 +
191 +   Whether or not WireCompression or WireCrypt are in use can be checked using the information
192 +   returned with the Client/Server protocol version. See ibx/examples/dbadmin and
193 +   ibx/examples/dbinfo for examples of how to display this information.
194 +
195 + 2. New property for TIBDatabase and TIBXServicesConnection: "WireCompression". This
196 +   is a "convenience" property. If set the "WireCompression=true" is added to the
197 +   ConfigOverrides. If unchecked then this setting is removed.
198 +
199 + 3. TIBExtract: 64-bit integer types are now correctly extracted as "BIGINT" and
200 +   not "INT64".
201 +
202 + 4. New published properties for TIBCSVDataOut, TIBInsertStmtsOut and TIBBlockFormatOut
203 +   These are:
204 +    property TimestampFormat: string;
205 +    property DateFormat: string;
206 +    property TimeFormat: string;
207 +
208 +   Respectively, these provide the date time format templates for SQL types: TIMESTAMP,
209 +   DATETIME and TIME. The format strings use the standard FPC date/time format
210 +   characters (see https://www.freepascal.org/docs-html/rtl/sysutils/formatchars.html).
211 +
212 +   If any of the above properties are set to an empty string, then the locale default
213 +   is used. This uses the ShortDateFormat and the LongTimeFormat. In timestamp, the
214 +   locale default is extended by appending '.zzz' to include milliseconds.
215 +
216 +   TIBCSVDataOut by default sets these properties to the empty string, while the other
217 +   two use: 'yyyy.mm.dd hh:nn:ss.zzz', 'yyyy.mm.dd' and 'hh:nn:ss.zzz' respectively.
218 +
219 + 5. New published property for TIBCSVDataOut:
220 +     property QuoteStrings: boolean (default true)
221 +
222 +   If false then strings are unquoted, otherwise, the QuoteChar property value is
223 +   used to delimit each and every string in the output.
224 +
225 + 6. New published properties for TIBCSVDataOut:
226 +    property FieldSeparator: string;
227 +    property HeaderSeparator: string;
228 +
229 +   Respectively, these provide the separator character(s) used to separate fields
230 +   in data and header rows. Both default to ','.
231 +
232 + 7. New published properties for TIBCSVDataOut and TIBBlockFormatOut:
233 +    TOnFormatTextString = procedure(sender: TObject; var TextString: string) of object;
234 +    property OnFormatTextString;
235 +
236 +   This event handler can be used to process text strings before they are included
237 +   in the output e.g. to replace unprintable characters with alternative strings.
238 +   This only applies to columns with an SQL Type of SQL_VARYING and SQL_TEXT.
239 +
240 + 8. TIBDataSet now raises an exception when ParamByName called with an invalid parameter name.
241 +   Uses "FindParam" if in order to find out if a parameter with a given name exists
242 +   and without raising and exception if it does not.
243 +
244 + 9. TIBQuery now uses IBX SQL Parser instead of the TParams SQL parser in order to ensure
245 +   consistency with SQL queries.
246 +
247 + 10. CaseSensitiveParameterNames property added to TIBSQL, TIBDataSet and TIBQuery.
248 +    When true, SQL statement parameter names are parsed case sensitive. Note for
249 +    TIBDataSet only applies to Select query.
250 +
251 + 11. IBEvents: removing a TIBEvent component from a form should no longer result in
252 +    an IDE exception.
253 +
254 + 12. LocalDBSupport: initial database creation should now work correctly
255 +    when the schema source is an sql file.
256 +
257 + 13. TIBCMLocalDBSupport: new event handler "property OnProgressEvent: TOnProgressEvent"
258 +    when defined, this handler will be called by the internal TIBXScript during
259 +    initial database creation when the schema source is an sql file and may be used
260 +    to provide a visual indication of progress in console mode.
261 +
262 + 14. TCustomIBLocalDBSupport: new public property "InOnCreateDB: boolean". This is set
263 +    to true while a new local database is being created and its schema populated.
264 +    Useful in (e.g.) TIBDatabase.OnAfterConnect handler to suppress actions
265 +    when the database is disconnected/connected during the create DB procedure.
266 +
267 + 15. TIBXScript: any User/password parameters found in a CREATE DATABASE statement
268 +    are now always ignored and replaced by the user name and password provided as
269 +    the login parameters for the TIBDatabase referenced from the TIBXScript. The
270 +    IgnoreCreateDatabase property still applies and the CREATE DATABASE statement is
271 +    completely ignored if this property is true.
272 +
273 + 16. Code tidyup in IBTreeView: Node properties initialisation moved from TIBTreeView.AddNodes
274 +    to TIBTreeView.Added. An OnAddition event handler is no longer needed to initialise
275 +    ImageIndex and SelectImageIndex values on AddNode.
276 +
277 + 17. TIBDatabase.Attachment and TIBXServicesConnection.ServicesIntf properties are now
278 +    read/write. This should enabled (e.g.) multiple instances of TIBDatabase to share
279 +    the same database connection.
280 +
281 + 18. TIBDataSet and TIBQuery now support the TDataSet "Filter" property.
282 +    if provided, this should be an conditional SQL expression suitable for
283 +    including in an SQL Select statement "where" clause. If non-empty and the
284 +    "Filtered" property is true then the SQL expression provided as the value of
285 +    the "Filter" property is "ANDed" with any existing condition statement
286 +    in the SQL statement's "Where" clause.
287 +
288 +    If the "Filter" property is set at run time, the "Filtered" property is true
289 +    and the dataset is already open, then the dataset is closed and re-opened automatically.
290 +
291 +    The "Filter" condition may include IBX style parameters. In which case, their
292 +    value must be set by the dataset's "OnBeforeOpen" event handler.
293 +
294 +    This is a public property for TIBDataSet and TIBQuery query and intended for
295 +    use at run time.
296 +
297 +    Note: The property is a published property of TIBTable. The TIBTable functionality
298 +    is unaffected by this change.
299 +
300 + IBX Change Log  version (2.3-2) Wed, 05 Dec 2018 12:19:23 +0000
301 +
302 + 1. Remove need to check for IsMultiThread by providing access to GUI timers via
303 +   IBGUIInterface. Note: master/detail delay timer does not apply to console
304 +   mode apps.
305 +
306 + 2. TIBCustomDataSet: SQLParser ignored if it does not contain a valid select
307 +   statement. This avoids problems if "Execute Block" is used as the Query.
308 +
309 + 3. IBSQLParser now uses the common SQL tokeniser from fbintf. This replaces the
310 +   internal SQL tokeniser routines.
311 +
312 + 4. IBSQLParser: new property NotaSelectStmt. Set to true if SQL fails to parse
313 +   as a select statement, with or without CTEs.
314 +
315 + 5. IBSQLParser: parser now recognises the "ROWS" clause.
316 +
317 + 6. TIBXScript now uses the common SQL tokeniser from fbintf. This replaces the
318 +   internal SQL tokeniser routines.
319 +
320 + 7.  Fix error in TIBXScript processing of "set" statements. This avoids exceptions
321 +    being raised for valid set statements processed by a data formatter.
322 +
323 + 8. New published property for TIBDatabase and TIBXServicesConnection. This is
324 +   FirebirdLibraryPathName: string. If not empty it is used to explicitly specify
325 +   the path of the Firebird Library used by the database/services connection.
326 +
327 + 9. New read only public property for TIBDatabase and TIBXServicesConnection. This
328 +   is FirebirdAPI and returns the IFirebirdAPI interface used by the database/
329 +   services connection.
330 +
331 + 10.SQL Property editors now quote parameter names if "Quote identifier" is selected
332 +   or param name is not a valid SQL identifier.
333 +
334 + 11. IBLookupComboEditBox: In Lazarus 2.0, TDBLookupComboBox takes a more restrictive
335 +    view of whether the text box should be editable when no DataSource is specified.
336 +    TIBLookupComboEditBox has been updated to workaround this problem. As long as
337 +    ReadOnly is false, the text box is editable when no DataSource is specified.
338 +
339 + 12. AllowUseOfFBLIB is now set to "true" at design time. This is to allow use of
340 +    the FBLIB environment variable. If you do not want to permit this then you
341 +    must modify the Register procedure in the design/IBDBReg.pas unit to remove
342 +    this setting.
343 +
344 + IBX Change Log  version                 (2.3-1) Thu, 25 Oct 2018 14:39:45 +0100
345 +
346 + 1. IBCustomDataset: replace deprecated function ValidUTF8String with call to
347 +   Utf8EscapeControlChars
348 +
349   IBX Change Log  version                (2.3-0) Mon, 16 Apr 2018 09:48:06 +0100
350  
351   IMPORTANT: the source code tree has been re-organised for IBX 2.3. Please remove

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines