1 |
< |
IBX Change Log version (2.3-0) Fri, 16 Mar 2018 11:07:39 +0000 |
1 |
> |
IBX Change Log version (2.6-4 Build 14153) Sat, 30 Dec 2023 16:01:23 +0000 |
2 |
> |
|
3 |
> |
1. TIBCustomDataSet.ApplyUpdates: ensure controls are not permanently disabled |
4 |
> |
if ApplyUpdates called before a cursor exists. |
5 |
> |
|
6 |
> |
2. TIBCustomDataSet.CreateBlobStream: add check for empty dataset before |
7 |
> |
creating the blob. |
8 |
> |
|
9 |
> |
3. TIBCustomDataset.Requery: The display buffer pool is now also reset avoiding |
10 |
> |
issues with left over pointers to invalid internal buffers. |
11 |
> |
|
12 |
> |
4. TIBCustomDataset.PrimaryKeys when used in InternalRefresh. when more than one |
13 |
> |
primary key is used by the dataset then the list of primary keys is now |
14 |
> |
properly separated by a ';'. |
15 |
> |
|
16 |
> |
IBX Change Log version (2.6-3 Build 14080) Sat, 21 Oct 2023 14:14:22 +0100 |
17 |
> |
|
18 |
> |
1. Update to calls to EInterbaseError to add default code page. Consequential |
19 |
> |
on change to fbintf. |
20 |
> |
|
21 |
> |
2. Update some examples to replace test for null date with the NullDate constant |
22 |
> |
instead of zero. This is because Laz 3.0 changes the value of NullDate. |
23 |
> |
|
24 |
> |
IBX Change Log version (2.6-2 Build 14016) Sat, 05 Aug 2023 11:54:55 +0100 |
25 |
> |
|
26 |
> |
1. Fixed repeated "type" keyword in IBBufferCursors. This may cause a compile error |
27 |
> |
with later versions of fpc - later than 3.2.2. |
28 |
> |
|
29 |
> |
2. IBUpdateSQL. update internal queries if parent dataset database changed. |
30 |
> |
|
31 |
> |
3. IBUpdateSQL: Do not prepare an empty internal query. |
32 |
> |
|
33 |
> |
4. IBBufferedCursors: avoid range error when max field no. is > fields.count |
34 |
> |
|
35 |
> |
5. IBBufferedCursors: avoid End of File error if refresh query returns and empty row count |
36 |
> |
|
37 |
> |
IBX Change Log version (2.6-1 Build 13985) Mon, 17 Jul 2023 14:16:41 +0100 |
38 |
> |
|
39 |
> |
1. Maintenance update of 2.6.0. This version is still at beta. |
40 |
> |
|
41 |
> |
2. Reverse out changes to DrawCellText signature in IBArrayGrid and IBDynamic Grid. |
42 |
> |
See https://gitlab.com/freepascal.org/lazarus/lazarus/-/commit/53aaae9c5e2a5edac5b1d2f70739a8ef7b0a9623 |
43 |
> |
|
44 |
> |
3. ibxscript: When parsing a store procedure or function with a variable name |
45 |
> |
enclosed in doublequotes, the double quotes are no longer removed. |
46 |
> |
|
47 |
> |
IBX Change Log version (2.6-0 Build 13976) Thu, 22 Jun 2023 13:49:22 +0100 |
48 |
> |
|
49 |
> |
NOTE: THIS VERSION RE-WRITES THE INTERNAL BUFFER MANAGER AND SHOULD BE CONSIDERED |
50 |
> |
AS BETA SOFTWARE. EVEN THOUGH IT HAS PASSED ALL REGRESSION TESTS, IT CANNOT |
51 |
> |
BE ASSUMED TO BE PRODUCTION READY UNTIL WIDER USE. PLEASE REPORT ANY |
52 |
> |
ISSUES TO support@mwasoftware.co.uk |
53 |
> |
|
54 |
> |
1. Complete rewrite of internal buffer management in order to improve performance |
55 |
> |
and maintainability. Highlights: |
56 |
> |
|
57 |
> |
* Extending the size of the buffer pool no longer has to copy the entire record |
58 |
> |
cache. Instead, a new extent is simply added to the buffer pool. |
59 |
> |
* A memory to memory copy of each display buffer now is avoided when scolling the |
60 |
> |
dataset. |
61 |
> |
* A separate set of buffers is now used for calculated fields. This avoids |
62 |
> |
having to keep copies of calculated field values in the buffer cache. |
63 |
> |
* Compact bitmaps are used to record null status and need to refresh in each |
64 |
> |
buffer. |
65 |
> |
* Display buffer type changed from PChar to TRecordBuffer in line with change of |
66 |
> |
buffer type in FCL-DB. |
67 |
> |
|
68 |
> |
2. TIBUpdateSQL: changes to SQL text will close linked dataset if open. This is |
69 |
> |
to ensure same behaviour as TIBDataset, TIBTable and TIBStoredProcedure. |
70 |
> |
|
71 |
> |
3. TField Provider Flags: pfRefreshOnInsert and pfRefreshOnUpdate are now supported. |
72 |
> |
If either or both of these flags are set at design time (using the fields editor) |
73 |
> |
then this forces a row refresh on respectively insert or update, or both, when the |
74 |
> |
corresponding field is not present in an SQL RETURNING clause. |
75 |
> |
|
76 |
> |
4. TIBCustomDataset.FieldDefsFromQuery moved to a helper class (TFieldDefsMaker) in order to improve |
77 |
> |
maintainability and readability and to add identification of primary key fields. |
78 |
> |
|
79 |
> |
5. TIBQuery, TIBDataset and TIBTable. Traditionally, IBX has implemented the Refresh method |
80 |
> |
as a refresh of the current row. However, this is different behaviour to that described |
81 |
> |
in the FPC documentation for TDataset.Refresh which is described as "refetches the data in |
82 |
> |
the dataset from the underlying database, and attempts to reposition the cursor on |
83 |
> |
the same record as it was". IBX now complies with the FPC definition of Refresh. |
84 |
> |
|
85 |
> |
6. A progammatic Row Refresh should no longer be required. |
86 |
> |
Use Insert/Update... returning to refresh any fields that may change following an |
87 |
> |
insert or update i.e. Identify fields on Insert only, Computed By, Blob and array fields |
88 |
> |
on both. If there are any other fields (e.g. updated by triggers) set the appropriate ProviderFlag |
89 |
> |
for the field at Design Time to force a row refresh if not in the returning clause. |
90 |
> |
|
91 |
> |
7. It should now be possible to insert a row into an empty unidirectional dataset. |
92 |
> |
|
93 |
> |
8. New TIBQuery, TIBDataSet and TIBTable property: BufferChunksInFirstBlock (default 50). |
94 |
> |
This gives the number of buffers in the initial block for the buffer pool in |
95 |
> |
bi-directional datasets. BufferChunks (default 1000) gives the number of buffers |
96 |
> |
in subsequent buffer pool blocks. This avoids large and mostly unused memory allocations |
97 |
> |
for small datasets. |
98 |
> |
|
99 |
> |
IBX Change Log version (2.5-1 Build 13927) Tue, 6 Dec 2022 23:13:00 +0000 |
100 |
> |
|
101 |
> |
1. IBCustomDataset: avoid problem with additions to TFieldType by using a subset instead. |
102 |
> |
|
103 |
> |
2. TIBDynamicGrid: change DrawCellText declaration to comply with laz 2.3.0 |
104 |
> |
|
105 |
> |
3. TIBArrayGrid: change DrawCellText declaration to comply with laz 2.3.0 |
106 |
> |
|
107 |
> |
IBX Change Log version (2.5-0 Build 13868) Fri, 29 Jul 2022 09:52:01 +0100 |
108 |
> |
|
109 |
> |
1. TIBTransaction: new properties |
110 |
> |
property TransactionID: integer read GetTransactionID; |
111 |
> |
property IsReadOnly: boolean read GetIsReadOnly; |
112 |
> |
{published} |
113 |
> |
property TransactionName: string read FTransactionName write SetTransactionName; |
114 |
> |
|
115 |
> |
2. IBCustomDataset: per row blob and array buffer cached clear before processing |
116 |
> |
Insert or Update...Returning. This allows blobs and arrays to be returned |
117 |
> |
by the statement. |
118 |
> |
|
119 |
> |
3. TSQLXMLReader moved from IBXScript to package fbintf unit IBUtils. |
120 |
> |
|
121 |
> |
4. TransactionName initialised to a newly generated GUID if empty. |
122 |
> |
|
123 |
> |
5. New unit: IBJournal. This provides the TIBJournal component which is a wrapper |
124 |
> |
for the fbintf package's journaling capability. TIBJournal is used to set the |
125 |
> |
file path and filename for the journal file and to Enabled (start journaling) and |
126 |
> |
disable (stop journaling). See fbintf/doc/README.ClientSideJournaling.pdf for |
127 |
> |
more information, and comments in IBJournal.pas. |
128 |
> |
|
129 |
> |
6. TIBDatabase.InternalTransaction is now a read only transaction. |
130 |
> |
|
131 |
> |
7. Bug fix: blob id no longer set to null on update when blob has not been |
132 |
> |
retrieved. |
133 |
> |
|
134 |
> |
8. Row auto refreshed on update/insert if blob or array field updated and field |
135 |
> |
not in a returning clause. |
136 |
> |
|
137 |
> |
9. ColumnCount moved from record buffer header to a single per dataset count. Reduces |
138 |
> |
buffer overhead and avoids problem when refresh query has a different column |
139 |
> |
count to select query i.e. incorrectly changing number of columns. |
140 |
> |
|
141 |
> |
10. IBExtract: support added for UDR Functions, Procedure and Trigger declarations. |
142 |
> |
|
143 |
> |
11. TIBDatabaseInfo. New property FirebirdVersion. This returns the current Firebird version |
144 |
> |
string. Note that the Version property returns an InterBase compatible version string. |
145 |
> |
|
146 |
> |
12. IBExtract: ensure sql identifiers returned as a LIST are always quoted. |
147 |
> |
|
148 |
> |
IBX Change Log version (2.5-0 Build 12933) Mon, 29 Nov 2021 14:59:54 +0000 |
149 |
> |
|
150 |
> |
1. IBCustomDataset: Modify TISQL component now defaults to GoToFirstRecordOnExecute := true. |
151 |
> |
This is for compatibility with Firebird 5 where Update...Returning can return |
152 |
> |
a cursor. |
153 |
> |
|
154 |
> |
IBX Change Log version (2.4-3 Build 12886) Sat, 23 Oct 2021 14:58:30 +0100 |
155 |
> |
|
156 |
> |
1. Add try-..except check when initially loading library in IDE. This should |
157 |
> |
ensure that IDE continues to load even when a failure occurs in IBX load |
158 |
> |
library. |
159 |
> |
|
160 |
> |
2. IBXScript: now recognises a CASE...END block within a stored procedure and |
161 |
> |
hence will correctly detect end of the outer containing block when the block |
162 |
> |
contains a SELECT ... CASE ... END construct. |
163 |
> |
|
164 |
> |
3. IBExtract: some further tidying up to remove extraneous white space. |
165 |
> |
|
166 |
> |
4. IBCustomDataSet: DefaultFieldClasses array declaration updated to avoid compile time |
167 |
> |
errors when extra elements are added to DB.TFieldType. |
168 |
> |
|
169 |
> |
5. IBUpdate: updated to reflect changes to ISQLParam. |
170 |
> |
|
171 |
> |
6. IBXScript: now correctly parses a DECLARE statement which includes a quoted string. |
172 |
> |
|
173 |
> |
7. IBExtract: for ODS >=13, increment generator value by one for ALTER SEQUENCE statement. |
174 |
> |
|
175 |
> |
8. IBSQL: Support for scrollable cursors added (note: local databases only) |
176 |
> |
|
177 |
> |
IBX Change Log version (2.4-2 Build 12773) Mon, 23 Aug 2021 11:59:42 +0100 |
178 |
> |
|
179 |
> |
1. TIBDatabaseInfo: review and tidy-up of property types. Most widen to int64 with the |
180 |
> |
exception of those defined to be one byte wide e.g. DBImplementationNo. |
181 |
> |
|
182 |
> |
2. TIBSQL: Batch Update/Insert support added. |
183 |
> |
|
184 |
> |
3. TIBStoredProc: when generating the SQL, the value of the StoredProcName property |
185 |
> |
is no longer automatically converted to upper case when it is syntactically a |
186 |
> |
SQL Identifier. This is to support the use of stored procedures defined e.g. |
187 |
> |
as CREATE PROCEDURE "iCASE". |
188 |
> |
|
189 |
> |
There could be a backwards compatibility issue when the StoredProcName was entered |
190 |
> |
manually at design time. That is not selected from the drop down list. If the |
191 |
> |
StoredProcName is entered in mixed case and the procedure was declared e.g. as |
192 |
> |
CREATE PROCEDURE iCASE, then the SQL generation will be incorrect. You should |
193 |
> |
ensure that the value of the StoredProcName is all upper case, unless it was |
194 |
> |
declared under dialect 3 and explicitly as mixed case (i.e. delimited by double |
195 |
> |
quotes). |
196 |
> |
|
197 |
> |
Note that when a stored procedure name was declared delimited in double quotes, |
198 |
> |
as in the first example above, the value of the StoredProcName property must not |
199 |
> |
include the delimiters (double quotes). |
200 |
> |
|
201 |
> |
4. IBXUpgradeConfFile: an exception is now raised if a patch file specified in |
202 |
> |
upgrade.conf was not found. This replaces silently ignoring the problem. |
203 |
> |
|
204 |
> |
5. TIBLocalDBSupport: new property "SectionHeaderTemplate". This defaults to |
205 |
> |
'Version.%.3d' and is used to generate the section header names (for a given |
206 |
> |
version no.) in the upgrade.conf file. |
207 |
> |
|
208 |
> |
IBX Change Log version (2.4-1 Build 12550) Wed, 23 Jun 2021 13:59:14 +0100 |
209 |
> |
|
210 |
> |
1. -c command line option added to fbsql example program. Used to set connection |
211 |
> |
character set. |
212 |
> |
|
213 |
> |
IBX Change Log version (2.4-0 Build 12543) Mon, 22 Feb 2021 11:00:08 +0000 |
214 |
> |
|
215 |
> |
1. Firebird 4 support added. |
216 |
> |
|
217 |
> |
2. New FB4 data types TIME WITH TIME ZONE, TIMESTAMP WITH TIME ZONE, DECFLOAT and |
218 |
> |
extended precision NUMERIC fields are supported. |
219 |
> |
|
220 |
> |
3. TFmtBCDField is used to support access to DECFLOAT and extended precision NUMERIC fields. |
221 |
> |
|
222 |
> |
4. TIBDateTimeField and TIBTimeField are introduced in support of TIMESTAMP WITH TIME ZONE |
223 |
> |
and TIME WITH TIME ZONE fields. These inherit from TDateTimeField. |
224 |
> |
|
225 |
> |
5. IBExtract now supports FB4 enhancements: |
226 |
> |
- new data types as above |
227 |
> |
- Identity column extensions |
228 |
> |
- Default user role |
229 |
> |
- SQL Security clause for Database, Tables, Procedures, Functions and Triggers |
230 |
> |
- Internal Functions |
231 |
> |
|
232 |
> |
6. IBExtract: new event: OnExtractLines. |
233 |
> |
|
234 |
> |
7. IBExtract: revert create trigger to legacy syntax see Firebird CORE-6243, CORE-5545 and DOC-145 |
235 |
> |
|
236 |
> |
8. IBXServices: Server version no. parsing now allows any letter before major version number |
237 |
> |
and is no longer restricted to 'V' e.g. "LI-T4.0.0.1436 Firebird 4.0 Beta 1" |
238 |
> |
|
239 |
> |
9. TIBDataSet and TIBQuery: new property TZTextOption. Used to determine the default |
240 |
> |
format for rendering a time zone. |
241 |
> |
|
242 |
> |
10. TIBDataSet and TIBQuery: new property DefaultTZDate. Used to provide the default date |
243 |
> |
to convert TIME WITH TIME ZONE data type values to and from GMT. |
244 |
> |
|
245 |
> |
11. Unit name IBTypes changed to IBInternals. Internal interfaces TIBGUIInterface and TIBTimerInf renamed to |
246 |
> |
IIBGUIInterface and IIBTimerInf respectively. |
247 |
> |
|
248 |
> |
12. Constants: DPBPrefix and TPBPrefix moved to IB unit. DPBConstantNames and TPBConstantNames |
249 |
> |
now accessible as properties of TIBDatabase and TIBTransaction respectively. |
250 |
> |
|
251 |
> |
13. String Fields: when a fixed character with (CHAR) field is returned, it is now |
252 |
> |
truncated to its fixed character width rather than being right padded with |
253 |
> |
white space to the maximum data size. |
254 |
> |
|
255 |
> |
14. TIBTable.Empty table. In additional to deleting all records in the underlying |
256 |
> |
table, the internal buffers are now also flushed ensuring that the TIBTable is |
257 |
> |
also empty. |
258 |
> |
|
259 |
> |
15. TBatchSQLStatementReader: Line buffer is now cleared on call to reset. |
260 |
> |
|
261 |
> |
16. TIBXControlService descendents: DatabaseName may now be set using a database |
262 |
> |
connect string. The database name is extracted from the connect string. |
263 |
> |
|
264 |
> |
17. DBControlGrid: Minor bug fixes. avoid AV on form closure, avoid black panel |
265 |
> |
|
266 |
> |
18. TIBExtract: Data type of COMPUTED By columns is no longer included in SQL. |
267 |
> |
|
268 |
> |
19. Local database on Linux and with legacy API and FB 2.5 embedded server: fixed problem with password |
269 |
> |
not being present as required. |
270 |
> |
|
271 |
> |
20. IBTreeView split into DBTreeView and IBTreeView. This former is an IBX indepedent |
272 |
> |
version that can be customised to work with other database drivers. |
273 |
> |
|
274 |
> |
21. ISQLMonitor: use platform specific LineEnding to delimit messages. Avoids |
275 |
> |
unnecessary CR at end of line on Unix platforms. |
276 |
> |
|
277 |
> |
22. ISQLMonitor: Unix: Default semaphore timeout increased from 1 second to 10 |
278 |
> |
seconds in order to reduce risk of message loss. |
279 |
> |
|
280 |
> |
23. ISQLMonitor: read and write count statistics now available via: |
281 |
> |
property TIBSQLMonitor.ReadCount; |
282 |
> |
IIBSQLMonitorHook.GetWriteCount: integer; |
283 |
> |
|
284 |
> |
24. ISQLMonitor tidy up and unit split. IPC functions moved to new unit IBIPC. |
285 |
> |
|
286 |
> |
IBX Change Log version (2.3-5 Build 12350) Tue, 25 Aug 2020 16:11:02 +0100 |
287 |
> |
|
288 |
> |
1. TIBStringField: when a string value is read from a dataset buffer, if the |
289 |
> |
number of UTF8 characters exceeds the string size then string is truncated |
290 |
> |
to the maximum string size. This is usually a problem with fixed width columns |
291 |
> |
right padded with white space. |
292 |
> |
|
293 |
> |
2. SQLFiltered and SQLFilterParams added to TIBQuery, TIBTable and TIBDataset. |
294 |
> |
If SQLFiltered is set then when a dataset is opened, each line in the |
295 |
> |
SQLFilterParams property is assumed to be a SQL condition clause and |
296 |
> |
ANDed into the Where clause of the SQL Select statement provided as a |
297 |
> |
dataset property. Each such SQL condition thus acts as an additional filter |
298 |
> |
on the dataset. |
299 |
> |
|
300 |
> |
3. The Filtered property inherited from TDataset is no longer used for SQL (server |
301 |
> |
side filters). |
302 |
> |
|
303 |
> |
4. IBLookupComboEditBox: Selection should no longer reset to start of text when |
304 |
> |
text matches complete entry. |
305 |
> |
|
306 |
> |
5. TIBDataLink: Detail Dataset params not refreshed unless both master and detail |
307 |
> |
dataset are active (avoids risk of access violation if master is inactive) |
308 |
> |
|
309 |
> |
6. TIBEvents: Registered property can now be set at design time even if database not open |
310 |
> |
|
311 |
> |
7. TIBEvents: component now correctly re-initialised after call to UnregisterEvents. |
312 |
> |
This should prevent "spillover" of events between sessions. |
313 |
> |
|
314 |
> |
8. TIBCustomDataset: GetNextRecord now called when reseting to first record of a unidirectional dataset. |
315 |
> |
This should ensure that the internal buffer is set up correctly and avoids |
316 |
> |
a duplicate initial row. |
317 |
> |
|
318 |
> |
9. TIBStringField: DataSize now given as byte size of string less trailing any zero character. |
319 |
> |
That is, the DataSize should be the field size * character set width. The |
320 |
> |
value returned by DataSize is now the same as the Dataset buffer size reserved |
321 |
> |
for the field. |
322 |
> |
|
323 |
> |
10. IBExtract: Tidyup of SQL generation. Avoid unnecessary double quotes. |
324 |
> |
|
325 |
> |
11. TIBCustomDataset: Add checks on buffer sizes when copying data from row to field buffer |
326 |
> |
and vice-versa. This may result in an exception being raised (correctly) for |
327 |
> |
older programs when using dataset fields added to a form and the database has been |
328 |
> |
upgraded. For example, computed fields can change from 32-bit to 64-bit integers. |
329 |
> |
In such cases, the field needs to be deleted in the IDE fields editor and then |
330 |
> |
added back in. |
331 |
> |
|
332 |
> |
12. IBCustomDataSet: CanInsert, CanEdit, CanDelete and CanRefresh updated to return |
333 |
> |
false if query contains only white space and not just empty. |
334 |
> |
|
335 |
> |
12. IBCustomDataset: Blob data is now cleared when TDataSet.Cancel is called. This |
336 |
> |
should ensure that (e.g.) a TDBMemo is correctly refreshed after a dataset edit |
337 |
> |
is cancelled. |
338 |
> |
|
339 |
> |
13. IBCustomDataset: SetArrayIntf should no longer cause an access violation if |
340 |
> |
called on a null field. |
341 |
> |
|
342 |
> |
14. IBCustomDataSet: An access violation should no longer occur when calling CancelUpdates |
343 |
> |
results in an empty dataTC86 Client side Filtered Dataset 1 X |
344 |
> |
set. |
345 |
> |
|
346 |
> |
15. IBCustomDataSet: OnUpdateError should now be called in all circumstances when |
347 |
> |
a cached update is applied and an exception is raised. |
348 |
> |
|
349 |
> |
16. IBCustomDataSet: Avoid access violation when SetBookmarkData called with nil pointer. |
350 |
> |
|
351 |
> |
17. Console Mode Local Database support: backup/restore should now work correctly. |
352 |
> |
|
353 |
> |
18. Local Database Support: if an upgrade fails, a downgrade is now performed if |
354 |
> |
possible and an exception raised. |
355 |
> |
|
356 |
> |
19. MinimumVersionNo added to Local Database Support. Database will not open if |
357 |
> |
below this version no. and upgrade not possible. |
358 |
> |
|
359 |
> |
IBX Change Log version (2.3-4 Build 12041) Fri, 17 Apr 2020 14:00:32 +0100 |
360 |
> |
|
361 |
> |
1. TIBXDataSet and Generators: Generator Names that are not all upper case or |
362 |
> |
not SQL Identifiers are now supported. |
363 |
> |
|
364 |
> |
2. TIBXScript: Set Generator is no longer rejected as unrecognised SQL and is |
365 |
> |
passed to the Firebird engine for execution. |
366 |
> |
|
367 |
> |
3. TIBDataSet: Unidirectional datasets now give an error message if an attempt |
368 |
> |
is made to scroll back. |
369 |
> |
|
370 |
> |
4. New unit: IBMessages.pas. Contains only messages used by IBX and not FBIntf |
371 |
> |
|
372 |
> |
5. TIBLookupComboEditBox: When generating auto-complete SQL, the ListField is now |
373 |
> |
only enclosed in double quotes in SQL dialect 3 and when it needs to be. |
374 |
> |
|
375 |
> |
6. TIBLookupComboEditBox: when the list source opens, the ListField name is now |
376 |
> |
validated. If no match is found in the list of field names and the database has |
377 |
> |
been opened in SQL Dialect 3, then the ListField Name is converted to upper case |
378 |
> |
if it then matches a field name. Otherwise, a Listfield not valid exception occurs. |
379 |
> |
|
380 |
> |
7. IBGeneratoreditor.pas: Add missing parenthesis around "IS" statement for compliance |
381 |
> |
with fpc 3.2. |
382 |
> |
|
383 |
> |
IBX Change Log version (2.3-3 Build 11512) Fri, 28 Dec 2018 10:04:17 +0000 |
384 |
> |
|
385 |
> |
|
386 |
> |
1. New property for TIBDatabase and TIBXServicesConnection. This is "ConfigOverrides" |
387 |
> |
and is used to override the default settings in the client side "firebird.conf" This |
388 |
> |
includes "WireCompression" and "WireCrypt". The value of this property is a "TStrings". |
389 |
> |
Each line of the string list should be a setting in the same format as "firebird.conf". |
390 |
> |
For example "WireCompression = true" in order to request wire compression on the client side. |
391 |
> |
|
392 |
> |
Note: explicit settings in the client side "firebird.conf" appear to take precedence |
393 |
> |
over settings given in TIBDatabase and TIBXServicesConnection. Many client side settings |
394 |
> |
also require a compatible setting in the server side "firebird.conf". For example |
395 |
> |
"WireCompression = true" must also be set in the server's "firebird.conf" for wire |
396 |
> |
compression to be used. |
397 |
> |
|
398 |
> |
Whether or not WireCompression or WireCrypt are in use can be checked using the information |
399 |
> |
returned with the Client/Server protocol version. See ibx/examples/dbadmin and |
400 |
> |
ibx/examples/dbinfo for examples of how to display this information. |
401 |
> |
|
402 |
> |
2. New property for TIBDatabase and TIBXServicesConnection: "WireCompression". This |
403 |
> |
is a "convenience" property. If set the "WireCompression=true" is added to the |
404 |
> |
ConfigOverrides. If unchecked then this setting is removed. |
405 |
> |
|
406 |
> |
3. TIBExtract: 64-bit integer types are now correctly extracted as "BIGINT" and |
407 |
> |
not "INT64". |
408 |
> |
|
409 |
> |
4. New published properties for TIBCSVDataOut, TIBInsertStmtsOut and TIBBlockFormatOut |
410 |
> |
These are: |
411 |
> |
property TimestampFormat: string; |
412 |
> |
property DateFormat: string; |
413 |
> |
property TimeFormat: string; |
414 |
> |
|
415 |
> |
Respectively, these provide the date time format templates for SQL types: TIMESTAMP, |
416 |
> |
DATETIME and TIME. The format strings use the standard FPC date/time format |
417 |
> |
characters (see https://www.freepascal.org/docs-html/rtl/sysutils/formatchars.html). |
418 |
> |
|
419 |
> |
If any of the above properties are set to an empty string, then the locale default |
420 |
> |
is used. This uses the ShortDateFormat and the LongTimeFormat. In timestamp, the |
421 |
> |
locale default is extended by appending '.zzz' to include milliseconds. |
422 |
> |
|
423 |
> |
TIBCSVDataOut by default sets these properties to the empty string, while the other |
424 |
> |
two use: 'yyyy.mm.dd hh:nn:ss.zzz', 'yyyy.mm.dd' and 'hh:nn:ss.zzz' respectively. |
425 |
> |
|
426 |
> |
5. New published property for TIBCSVDataOut: |
427 |
> |
property QuoteStrings: boolean (default true) |
428 |
> |
|
429 |
> |
If false then strings are unquoted, otherwise, the QuoteChar property value is |
430 |
> |
used to delimit each and every string in the output. |
431 |
> |
|
432 |
> |
6. New published properties for TIBCSVDataOut: |
433 |
> |
property FieldSeparator: string; |
434 |
> |
property HeaderSeparator: string; |
435 |
> |
|
436 |
> |
Respectively, these provide the separator character(s) used to separate fields |
437 |
> |
in data and header rows. Both default to ','. |
438 |
> |
|
439 |
> |
7. New published properties for TIBCSVDataOut and TIBBlockFormatOut: |
440 |
> |
TOnFormatTextString = procedure(sender: TObject; var TextString: string) of object; |
441 |
> |
property OnFormatTextString; |
442 |
> |
|
443 |
> |
This event handler can be used to process text strings before they are included |
444 |
> |
in the output e.g. to replace unprintable characters with alternative strings. |
445 |
> |
This only applies to columns with an SQL Type of SQL_VARYING and SQL_TEXT. |
446 |
> |
|
447 |
> |
8. TIBDataSet now raises an exception when ParamByName called with an invalid parameter name. |
448 |
> |
Uses "FindParam" if in order to find out if a parameter with a given name exists |
449 |
> |
and without raising and exception if it does not. |
450 |
> |
|
451 |
> |
9. TIBQuery now uses IBX SQL Parser instead of the TParams SQL parser in order to ensure |
452 |
> |
consistency with SQL queries. |
453 |
> |
|
454 |
> |
10. CaseSensitiveParameterNames property added to TIBSQL, TIBDataSet and TIBQuery. |
455 |
> |
When true, SQL statement parameter names are parsed case sensitive. Note for |
456 |
> |
TIBDataSet only applies to Select query. |
457 |
> |
|
458 |
> |
11. IBEvents: removing a TIBEvent component from a form should no longer result in |
459 |
> |
an IDE exception. |
460 |
> |
|
461 |
> |
12. LocalDBSupport: initial database creation should now work correctly |
462 |
> |
when the schema source is an sql file. |
463 |
> |
|
464 |
> |
13. TIBCMLocalDBSupport: new event handler "property OnProgressEvent: TOnProgressEvent" |
465 |
> |
when defined, this handler will be called by the internal TIBXScript during |
466 |
> |
initial database creation when the schema source is an sql file and may be used |
467 |
> |
to provide a visual indication of progress in console mode. |
468 |
> |
|
469 |
> |
14. TCustomIBLocalDBSupport: new public property "InOnCreateDB: boolean". This is set |
470 |
> |
to true while a new local database is being created and its schema populated. |
471 |
> |
Useful in (e.g.) TIBDatabase.OnAfterConnect handler to suppress actions |
472 |
> |
when the database is disconnected/connected during the create DB procedure. |
473 |
> |
|
474 |
> |
15. TIBXScript: any User/password parameters found in a CREATE DATABASE statement |
475 |
> |
are now always ignored and replaced by the user name and password provided as |
476 |
> |
the login parameters for the TIBDatabase referenced from the TIBXScript. The |
477 |
> |
IgnoreCreateDatabase property still applies and the CREATE DATABASE statement is |
478 |
> |
completely ignored if this property is true. |
479 |
> |
|
480 |
> |
16. Code tidyup in IBTreeView: Node properties initialisation moved from TIBTreeView.AddNodes |
481 |
> |
to TIBTreeView.Added. An OnAddition event handler is no longer needed to initialise |
482 |
> |
ImageIndex and SelectImageIndex values on AddNode. |
483 |
> |
|
484 |
> |
17. TIBDatabase.Attachment and TIBXServicesConnection.ServicesIntf properties are now |
485 |
> |
read/write. This should enabled (e.g.) multiple instances of TIBDatabase to share |
486 |
> |
the same database connection. |
487 |
> |
|
488 |
> |
18. TIBDataSet and TIBQuery now support the TDataSet "Filter" property. |
489 |
> |
if provided, this should be an conditional SQL expression suitable for |
490 |
> |
including in an SQL Select statement "where" clause. If non-empty and the |
491 |
> |
"Filtered" property is true then the SQL expression provided as the value of |
492 |
> |
the "Filter" property is "ANDed" with any existing condition statement |
493 |
> |
in the SQL statement's "Where" clause. |
494 |
> |
|
495 |
> |
If the "Filter" property is set at run time, the "Filtered" property is true |
496 |
> |
and the dataset is already open, then the dataset is closed and re-opened automatically. |
497 |
> |
|
498 |
> |
The "Filter" condition may include IBX style parameters. In which case, their |
499 |
> |
value must be set by the dataset's "OnBeforeOpen" event handler. |
500 |
> |
|
501 |
> |
This is a public property for TIBDataSet and TIBQuery query and intended for |
502 |
> |
use at run time. |
503 |
> |
|
504 |
> |
Note: The property is a published property of TIBTable. The TIBTable functionality |
505 |
> |
is unaffected by this change. |
506 |
> |
|
507 |
> |
IBX Change Log version (2.3-2) Wed, 05 Dec 2018 12:19:23 +0000 |
508 |
> |
|
509 |
> |
1. Remove need to check for IsMultiThread by providing access to GUI timers via |
510 |
> |
IBGUIInterface. Note: master/detail delay timer does not apply to console |
511 |
> |
mode apps. |
512 |
> |
|
513 |
> |
2. TIBCustomDataSet: SQLParser ignored if it does not contain a valid select |
514 |
> |
statement. This avoids problems if "Execute Block" is used as the Query. |
515 |
> |
|
516 |
> |
3. IBSQLParser now uses the common SQL tokeniser from fbintf. This replaces the |
517 |
> |
internal SQL tokeniser routines. |
518 |
> |
|
519 |
> |
4. IBSQLParser: new property NotaSelectStmt. Set to true if SQL fails to parse |
520 |
> |
as a select statement, with or without CTEs. |
521 |
> |
|
522 |
> |
5. IBSQLParser: parser now recognises the "ROWS" clause. |
523 |
> |
|
524 |
> |
6. TIBXScript now uses the common SQL tokeniser from fbintf. This replaces the |
525 |
> |
internal SQL tokeniser routines. |
526 |
> |
|
527 |
> |
7. Fix error in TIBXScript processing of "set" statements. This avoids exceptions |
528 |
> |
being raised for valid set statements processed by a data formatter. |
529 |
> |
|
530 |
> |
8. New published property for TIBDatabase and TIBXServicesConnection. This is |
531 |
> |
FirebirdLibraryPathName: string. If not empty it is used to explicitly specify |
532 |
> |
the path of the Firebird Library used by the database/services connection. |
533 |
> |
|
534 |
> |
9. New read only public property for TIBDatabase and TIBXServicesConnection. This |
535 |
> |
is FirebirdAPI and returns the IFirebirdAPI interface used by the database/ |
536 |
> |
services connection. |
537 |
> |
|
538 |
> |
10.SQL Property editors now quote parameter names if "Quote identifier" is selected |
539 |
> |
or param name is not a valid SQL identifier. |
540 |
> |
|
541 |
> |
11. IBLookupComboEditBox: In Lazarus 2.0, TDBLookupComboBox takes a more restrictive |
542 |
> |
view of whether the text box should be editable when no DataSource is specified. |
543 |
> |
TIBLookupComboEditBox has been updated to workaround this problem. As long as |
544 |
> |
ReadOnly is false, the text box is editable when no DataSource is specified. |
545 |
> |
|
546 |
> |
12. AllowUseOfFBLIB is now set to "true" at design time. This is to allow use of |
547 |
> |
the FBLIB environment variable. If you do not want to permit this then you |
548 |
> |
must modify the Register procedure in the design/IBDBReg.pas unit to remove |
549 |
> |
this setting. |
550 |
> |
|
551 |
> |
IBX Change Log version (2.3-1) Thu, 25 Oct 2018 14:39:45 +0100 |
552 |
> |
|
553 |
> |
1. IBCustomDataset: replace deprecated function ValidUTF8String with call to |
554 |
> |
Utf8EscapeControlChars |
555 |
> |
|
556 |
> |
IBX Change Log version (2.3-0) Mon, 16 Apr 2018 09:48:06 +0100 |
557 |
|
|
558 |
|
IMPORTANT: the source code tree has been re-organised for IBX 2.3. Please remove |
559 |
|
all previous copies of the IBX source code tree before installing this release. |
649 |
|
with Extract Option eoDatabase. |
650 |
|
|
651 |
|
18. TIBLookupComboEditBox: Workaround added for https://bugs.freepascal.org/view.php?id=33428 |
652 |
< |
When a deLaoutChanged event is reported on the ListSource dataset, the |
652 |
> |
When a deLayoutChanged event is reported on the ListSource dataset, the |
653 |
|
combobox text is updated. This allows a listsource (detail) to be in a Master/Detail |
654 |
|
relationship with the control's datasource (master). |
655 |
|
|
656 |
+ |
19. TIBExtract: Full BigInt value range now supported for Generators/Sequences. |
657 |
+ |
|
658 |
+ |
20. TIBExtract: Select Procedures (Procedure type 1) now include "SUSPEND;" clause in their |
659 |
+ |
stubs. Pedantic fix really, as procedures output in dependency order anyway. |
660 |
+ |
|
661 |
+ |
21. TIBExtract: Package Headers and Package Bodies are now included in the extracted |
662 |
+ |
DDL (Firebird 3 and later only). |
663 |
+ |
|
664 |
+ |
22. TIBLookupComboBox Autocomplete Fixes: |
665 |
+ |
i. Only appended text is now selected after autocomplete. |
666 |
+ |
ii. Uppercase keys no longer ignored for autocomplete. |
667 |
+ |
iii. Retain Prefix case is now honoured correctly. |
668 |
+ |
iv. When a DataSource is assigned, typing after autocomplete now extends prefix |
669 |
+ |
before autocomplete performed. i.e. behaviour now the same as when |
670 |
+ |
no DataSource assigned. |
671 |
+ |
|
672 |
+ |
23. TIBXScript: Single Line Comments starting with '--' are now ignored when occurring |
673 |
+ |
between SQL statements. |
674 |
+ |
|
675 |
+ |
24. TIBExtract: New published property CaseSensitiveObjectNames. If false (default) then |
676 |
+ |
ObjectNames are converted to upper case before matching against metadata object |
677 |
+ |
names, unless the objectname is delimited by double quotes, in which case, the |
678 |
+ |
double quotes are removed and the remaining string is used (unmodified) to match |
679 |
+ |
against the metadata object name. |
680 |
+ |
|
681 |
+ |
If true then the ObjectName is used as is without modification and matched |
682 |
+ |
against the metadata object name. No attempt is made to remove double quotes. |
683 |
+ |
|
684 |
+ |
25. TIBExtract: New Extract Types: etDatabaseTriggers and etDDLTriggers. When used |
685 |
+ |
with eoTrigger, these extract types can be used to select only Database Triggers, |
686 |
+ |
or DDL Triggers or both. Ignored when etTable or etTrigger included in Extract Types. |
687 |
+ |
|
688 |
+ |
26. TIBXScript: If an exception occurs during the processing of a statement, the |
689 |
+ |
statement separate character is now reset to the default (';'). |
690 |
+ |
|
691 |
+ |
27. TIBDatabase: Reconnect method added and used by TIBXScript for reconnect. |
692 |
+ |
|
693 |
+ |
28. TIBXScript: Transaction is no longer automatically reactivated immediately processing |
694 |
+ |
a commit or reconnect statement and instead activated only when next SQL statement |
695 |
+ |
is executed. |
696 |
+ |
|
697 |
+ |
29. TIBSQL.HasField should no longer generate and exception when the field does not exist. |
698 |
+ |
|
699 |
+ |
30. TIBXScript: case insensitive regex now used when matching statements instead of |
700 |
+ |
converting statement to upper case. |
701 |
+ |
|
702 |
+ |
31. TIBExtract: metadata comments now supported. New published property |
703 |
+ |
IncludeMetaDataComments (default true). If true then metadata comments included |
704 |
+ |
in extracted DDL. New Extract Object member eoComments. This may be used with |
705 |
+ |
ExtractObject method to list all metadata comments. |
706 |
+ |
|
707 |
+ |
32. TIBExtract: ListObjectNames method added. |
708 |
+ |
|
709 |
+ |
33. Updated Database component editor to support additional connection string |
710 |
+ |
types. |
711 |
+ |
|
712 |
|
IBX Change Log version (2.2-0) Wed, 28 Feb 2018 10:57:45 +0000 |
713 |
|
|
714 |
|
NOTE: THE LOCATIONS OF SOME OF THE UNIT DIRECTORIES HAS CHANGED FROM IBX 2.1. THIS IS TO |