1 |
tony |
21 |
IBX Change Log version (1.2-0) Thu, 26 Feb 2015 10:34:04 +0000 |
2 |
|
|
|
3 |
|
|
1. An internal select SQL Parser is now available for TIBCustomDataset descendents. |
4 |
|
|
This is typically used during an "OnBeforeOpen" event handler to manipulate the |
5 |
|
|
"Where" and "Having" clauses to implement user specified filters of arbitrary |
6 |
|
|
complexity. |
7 |
|
|
|
8 |
|
|
2. A new Component Palette entry "Firebird Data Controls" is now available. This has |
9 |
|
|
three new data aware controls dependent on IBX and which make use of the SQL Parser. |
10 |
|
|
These are: |
11 |
|
|
|
12 |
|
|
- TIBLookupComboEditBox |
13 |
|
|
- TIBDynamicGrid |
14 |
|
|
- TIBTreeview |
15 |
|
|
|
16 |
|
|
TIBLookupComboEditBox is a TDBLookupComboBox descendent that implements "autocomplete" |
17 |
|
|
of typed in text and "autoinsert" of new entries. Autocomplete uses SQL manipulation |
18 |
|
|
to revise the available list and restrict it to items that are prefixed by the |
19 |
|
|
typed text (either case sensitive or case insenstive). Autoinsert allows a |
20 |
|
|
newly typed entry to be added to the list dataset and included in the available |
21 |
|
|
list items. |
22 |
|
|
|
23 |
|
|
TIBDynamicGrid is a TDBGrid descendent that provides for: |
24 |
|
|
- automatic resizing of selected columns to fill the available row length |
25 |
|
|
- automatic positioning and sizing of a "totals" control, typically at the |
26 |
|
|
column footer, on a per column basis. |
27 |
|
|
- DataSet resorting on header row click, sorting the dataset by the selected column. |
28 |
|
|
A second click on the same header cell reversed the sort order. |
29 |
|
|
- Support for a "Panel Editor". That is on clicking the indicator column, the row |
30 |
|
|
is automatically expanded and a panel superimposed on it. The panel can have any |
31 |
|
|
number of child controls, typically data aware controls with the same datasource |
32 |
|
|
as the grid allowing for editing of additional fields and more complex editors. |
33 |
|
|
- Reselection of the same row following resorting. |
34 |
|
|
- A new cell editor that provides the same functionality as TIBLookupComboEditBox. |
35 |
|
|
Its properties are specified on a per column basis and allows for one or more |
36 |
|
|
columns to have their values selected from a list provided by a dataset. |
37 |
|
|
Autocomplete and autoinsert are also available. The existing picklist editor |
38 |
|
|
is unaffected by the extension. |
39 |
|
|
|
40 |
|
|
TIBTreeView is a data aware TCustomTreeView. |
41 |
|
|
|
42 |
|
|
3. When getting a field value using FieldByName.AsVariant, an SQL_INT64 with a |
43 |
|
|
zero scale will no longer return an error. An Int64 will be returned instead. |
44 |
|
|
|
45 |
|
|
4. TIBTransaction now has events for Before and After Transaction End and a new function |
46 |
|
|
"GetEndAction" allowing the EndAction to be accessed by these event handlers. |
47 |
|
|
|
48 |
|
|
5. TIBQuery can now handle correctly queries which contain the same keyword parameter |
49 |
|
|
repeated multiple times. |
50 |
|
|
|
51 |
|
|
6. TIBUpdateSQL will no longer return an error when "RowsAffected" is <> 1. This error |
52 |
|
|
check used to get in the way of using Stored Procedures, and "Update or Insert" |
53 |
|
|
statements. |
54 |
|
|
|
55 |
|
|
7. Insert, Modify and Delete property Editors now support Query Generation from |
56 |
|
|
Stored Procedures. |
57 |
|
|
|
58 |
|
|
8. Three new examples illustrate the use of the new IB Controls |
59 |
|
|
|
60 |
|
|
|
61 |
tony |
19 |
IBX Change Log version (1.1-0) Mon, 07 Jul 2014 14:01:07 +0100 |
62 |
|
|
|
63 |
|
|
1. TIBXSQLVAR code clean up and optimisation to improve client side "prepare" and parameter |
64 |
|
|
setting performance. See "readme.field+param.names in the doc folder.(Thanks to |
65 |
|
|
Gabor Boros for reporting this problem and for testing the improvements). |
66 |
|
|
|
67 |
|
|
2. IBX can now support dialect 3 quoted column names that contain spaces and which differ only in their case. |
68 |
|
|
See readme.field+param.names in the doc folder. |
69 |
|
|
|
70 |
|
|
3. IBX SQL Editors will now automatically add double quotes around column names when the database |
71 |
|
|
dialect is "3" and the column name contains spaces or is a Firebird 2.5 SQL Reserved Word. |
72 |
|
|
|
73 |
|
|
4. Param Type LargeInt now supported in TIBQuery and TIBStoredProc |
74 |
|
|
|
75 |
|
|
5. TIBSQL.ExecQuery retry on failure removed to avoid problems with "at most once" |
76 |
|
|
actions. |
77 |
|
|
|
78 |
|
|
6. TIBTransaction.SetDefaultDatabase uses SetObjectProp instead of mis-using SetOrdProp (with |
79 |
|
|
thanks to Yuriy Kopnin for pointing this out). |
80 |
|
|
|
81 |
|
|
7. GenerateParamName is now a published property of TIBSQL, TIBQuery and TIBDataSet. |
82 |
|
|
|
83 |
|
|
8. varWord, varShortInt and varInt64 added to TIBXSQLVAR.SetAsVariant and hence now available as variant types |
84 |
|
|
for both fields and parameter setting. |
85 |
|
|
|
86 |
|
|
9. Changes to the Select SQL in an IBCustomDataset descendent should now be |
87 |
|
|
visible in the Fields Editor immediately afterwards - rather than only after cycling the "active" property. |
88 |
|
|
|
89 |
|
|
10. TIBSQL SQL editor will operate correctly and not report an SQL syntax error on SQL test, |
90 |
|
|
when DSQL ('?') parameter placeholders are used and the TIBSQL.GenerateParamNames property is set to true. |
91 |
|
|
|
92 |
|
|
11. TIBTable now has a property editor for "MasterFields" |
93 |
|
|
|
94 |
|
|
12. SQL Property Editors now include a checkbox "Allow DSQL Placeholder". This corresponds to the |
95 |
|
|
GenerateParamNames property and should be set when using DSQL (i.e. '?') style parameters. |
96 |
|
|
|
97 |
|
|
13. The IBTransaction editor now has a radio button ("Unspecified") which is set when the combination |
98 |
|
|
of settings is unrecognised. Selecting this radio button has no effect on the settings. |
99 |
|
|
|
100 |
|
|
|
101 |
tony |
17 |
IBX Change Log version (1.0-5) Sat, 28 Dec 2013 19:22:23 +0000 |
102 |
|
|
|
103 |
|
|
1. TBookmark change conditional compile changed to >= 2.7.0 to match revised availability of change. |
104 |
|
|
|
105 |
tony |
15 |
IBX Change Log version (1.0-4) Thu, 28 Feb 2013 16:56:13 +0000 |
106 |
|
|
|
107 |
|
|
1. In a TIBCustomDataset descendent, a generator now only sets the value when |
108 |
|
|
it is null. This allows for alternative user defined setting of the generator |
109 |
|
|
|
110 |
|
|
Many thanks to Julio Jiménez for this fix |
111 |
|
|
|
112 |
|
|
2. An Error Dialog is now displayed in the Lazarus IDE if IBX cannot find the Firebird Library |
113 |
|
|
and suggests that the user may have forgotten to install it. |
114 |
|
|
|
115 |
tony |
13 |
IBX Change Log version (1.0-3) Thu, 22 Nov 2012 22:53:39 +0000 |
116 |
|
|
|
117 |
|
|
1. Conditional compilation used to limit registration of TIntegerField to |
118 |
|
|
Lazarus versions less than 1.1 |
119 |
|
|
|
120 |
|
|
2. When a database connection is created, character set is now by default set |
121 |
|
|
to UTF8 (Unix) or to the current Windows code page (Windows) if in the range |
122 |
|
|
1250 to 1254. |
123 |
|
|
|
124 |
|
|
|
125 |
tony |
11 |
IBX Change Log version (1.0-2) Tue, 09 Oct 2012 09:10:30 +0100 |
126 |
|
|
|
127 |
|
|
1. TBookmark change conditional compile changed to > 2.6.2 to match expected availability of change. |
128 |
|
|
|
129 |
|
|
|
130 |
tony |
9 |
IBX Change Log version (1.0-1) Sun, 05 Aug 2012 20:00:04 +0100 |
131 |
tony |
7 |
|
132 |
|
|
1. In IBCustomDataset. Changed CurBookmark from string to TBookmark for compiler versions > 2.6.0 |
133 |
|
|
Necessary because of TBookmark type and TDataSet.Bookmark property change in fpc 2.7.1 |
134 |
|
|
|
135 |
|
|
2. IBX now registers TIntegerField as a "No Icon" component. This may be removed if the fpc DB |
136 |
|
|
package is changed to do this (which it should do). |
137 |
|
|
|
138 |
|
|
IBX Change Log version (1.0-0) Sat, 28 Apr 2012 16:43:00 +0100 |
139 |
|
|
|
140 |
|
|
1. Add "if active then active := false" to TIBCustomDataset destructor. (Avoid error on database close). |
141 |
|
|
|
142 |
|
|
2. Make use of $STATIC conditional in IBSQLMonitor (Needed for FPC 2.6.0 compliance) |
143 |
|
|
|
144 |
|
|
3. Database Property Editor: Character Set drop down box now uses "OnChange" rather than "OnCloseUp" to react to changes |
145 |
|
|
|
146 |
|
|
4. Property editors should now correctly resize. |
147 |
|
|
|
148 |
|
|
5. In IBDatabaseEdit.TestClick, the LoginPrompt is now set to the state of the LoginPrompt Checkbox |
149 |
|
|
(restored original functionality) |
150 |
|
|
|
151 |
|
|
6. Under OSX, if IBX fails to load libfbclient.dylib, it will now try and load the firebird |
152 |
|
|
library using the absolute path /Library/Frameworks/Firebird.framework/Firebird. |