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 267 by tony, Fri Dec 28 10:44:23 2018 UTC vs.
Revision 356 by tony, Sun Oct 24 14:00:52 2021 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines