ViewVC logotype

Contents of /trunk/Delivery/newdocs/libraries/vision2/content/0-_revisions/index.html

Parent Directory Parent Directory | Revision Log Revision Log

Revision 32412 - (show annotations)
Mon Jun 10 21:13:39 2002 UTC (17 years, 8 months ago) by rogers
File MIME type: text/html
File size: 12647 byte(s)
Added details of dialog menu fix.

1 <!DOCTYPE HTML public "-//W3C//DTD HTML 4.0 Frameset//EN"><html>
3 <head>
4 <title>Revisions</title>
5 <link rel="StyleSheet" href="../../../../default.css">
6 <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
7 <meta name="ProgId" content="FrontPage.Editor.Document">
8 </head>
10 <body>
12 <h1>Revisions and bug fixes</h1>
13 <p>This document contains details of modifications and bug fixes to the vision2
14 library listed by the release version of EiffelStudio. All bug fixes and
15 modifications are relative to the previously released version.</p>
16 <h2>Eiffel Studio 5.2</h2>
17 <p><b>Interface modifications</b></p>
18 <ul>
19 <li><b>EV_TEXTABLE</b> - `align_text_left', `align_text_right' and `align_text_center'
20 have been extracted into a new class, EV_TEXT_ALIGNABLE which inherits
21 EV_TEXTABLE. All previous descendents of EV_TEXTABLE now inherit
24 <li><b>EV_TEXT_COMPONENT</b> - Now inherits EV_TEXTABLE.
25 <li><b>EV_TEXT_ALIGNMENT_CONSTANTS</b> - New class added to support
27 <li><b>EV_MENU_ITEM_LIST</b> - `parent' is now of type EV_ANY, instead of
28 EV_MENU_ITEM_LIST as it did not hold for EV_MENU_BAR. The renaming of
29 `parent' to `old_parent' in EV_MENU_BAR has now been removed.
30 <li><b>EV_VIEWPORT</b> - added `set_item_width', `set_item_height' and `set_item_size'.
31 <li><b>EV_TABLE</b> - redefined `prunable' to `True' and implemented `prune'.
32 Added the following features - `set_item_span', `set_item_position', `set_item_span_and_position',
33 `area_clear_excluding_widget', `item_row_span', `item_column_span', `item_row_position'
34 and `item_column_position'.
35 <li><b>EV_WIDGET</b> - Changed type of `focus_in_actions' and `focus_out_actions'
36 from EV_FOCUS_ACTION_SEQUENCE to EV_NOTIFY_ACTION_SEQUENCE. `is_parent_recursive' is no longer available. It has been moved to EV_CONTAINER. This was necessary to fix a catcall encountered using vision2 under .NET. The problem manifested with widgets that held items.</li>
37 <li><b>EV_FIGURE</b> - `proximity_in_actions' and `proximity_out_actions' are
38 now obsolete.</li>
39 <li><b>EV_FONTABLE</b> - `set_font' now sets a copy of the font internally.</li>
40 <LI><b>EV_TREE</b> - `ensure_item_visible' and `has_recursively' now take an EV_TREE_NODE as arguments, instead of an EV_TREE_ITEM.</li>
41 <li><b>EV_TEXT</b> - `put_new_line' is now obsolete. Use `set_text ("%N") instead.</li>"
42 <li><b>EV_APPLICATION_ACTION_SEQUENCES</b> - Added `cancel_actions', fired when a pick and drop is cancelled, and `pnd_motion_actions' fired while the pointer moves during a pick and drop.</li>
43 <li><b>EV_TREE_NODE_LIST</b> - `find_item_recursively_by_data', `has_recursively' and `recursive_do_all' are now implemented in this class, instead of both EV_TREE and EV_TREE_NODE which are descendents. Added `retrive_items_recursively_by_data' and `retrieve_item_recursively_by_data' which allow you to specify a comparison criterion, and due to this addition, `find_item_recursively_by_data' has now been made obsolete.</li>
44 <li><b>EV_DYNAMIC_LIST</b> - Added `retrieve_item_by_data' and `retrieve_items_by_data'.</li>
45 <li><b>EV_ITEM_LIST</b> - Made `item_by_data' obsolete, as you should now use `retrieve_item_by_data' added in EV_DYNAMIC_LIST.</li>
46 </ul>
47 <p><b>Bug fixes</b>
48 <ul>
49 <li><b>Platform independent</b>
50 <ul>
51 <li><b>EV_FIGURE_POLYLINE</b> - Fixed `start_angle' and `end_angle' so that they are computed relative to the first and last polyline segments. This also fixes the start and end arrows, so that when displayed, they now actually point in the direction of their respective line segments.</li>
52 <li><b>EV_TREE and EV_TREE_NODE</b> - Fixed `find_item_recursively_by_data' which failed on the `index_not_changed' postcondition. Note that these features are now defined in EV_TREE_NODE_LIST.</li>
53 </ul>
54 <li><b>Windows</b>
55 <ul>
56 <li><b>EV_RADIO_BUTTON</b> - The default minimum height after `default_create'
57 is now enough to display the widget correctly.
58 <li><b>EV_CHECK_BUTTON</b> - The default minimum height after `default_create'
59 is now enough to display the widget correctly.
60 <li><b>EV_NOTEBOOK</b> - When removing a widget from a notebook, it is now
61 visible. Previously, the widget would be hidden.
62 <li><b>EV_LIST, EV_MULTI_COLUMN_LIST, EV_TREE</b> - Fixed `set_foreground_color'
63 and `set_background_color'. Previously, calling these features did
64 nothing.
65 <li><b>EV_BOX</b> - If a widget was not`is_item_expanded', then adding a
66 new widget to the box before that widget would sometimes cause a
67 different widget to become `is_item_expanded'.
68 <li><b>EV_TOOL_BAR_RADIO_BUTTON</b> - The currently selected button in
69 `peers' was unselected when the button was pressed, and not when it was
70 really selected. This bug made it possible to make `selected_peer' Void,
71 which caused an invariant to fail.
72 <li><b>EV_LIST_ITEM</b> - Calling `enable_select' when parented in an
73 EV_LIST now also sets the item as focused in the parent. This corrects
74 bugs in keyboard navigation when selecting an item programatically.
75 <li><b>EV_FIXED</b> - The minimum size is constrained by the positions and
76 sizes of the children (They must be completely displayed), although when
77 the positions of the children were reduced, the minimum allowable size
78 was not recomputed. This meant that the widget would be enlarged when
79 the positions of the children increased, but could never be reduced in
80 size when the positions of the children were decreased.
81 <li><b>EV_MENU and EV_MENU_ITEM</b> - `set_pixmap' has been implemented as
82 previously, it did nothing.
83 <li><b>EV_TABLE</b> - re-implemented resizing calculations to fix numerous
84 problems when children had minimum sizes. The minimum size now also
85 includes the border width when empty.
86 <li><b>EV_NOTEBOOK</b> - `selection_actions' were called when you selected
87 an item through `select_item', even if the item was already selected. `selection_actions'
88 are now only fired when the selection changes.</li>
89 <li><b>EV_TREE_ITEM</b> - calling `set_pixmap' twice successively with the same EV_PIXMAP caused a postcondition failure.</LI>
90 <li><b>EV_DIALOG</b> - If a dialog with a default cancel button was displayed using `show', then minimizing the dialog would cause the system to fail internally. Fix bug in `show_relative_to_window' which would cause any associated menus to be removed.</li>
91 <li><b>EV_TEXT</b> - Fixed `put_new_line', although it has been made obsolete, as you should just use `set_text ("%N") instead.</li>
92 <li><b>EV_SPLIT_AREA</b> - Fixed crash reproducable by inserting an EV_PIXMAP directly into the split area.</li>
93 <li><b>EV_CONTAINER</b> - Fixed `propagate_foreground_color' and `propagate_background_color' which failed when one of the children was a descendent of EV_CELL.</li>
94 <li><b>EV_APPLICATION_ACTION_SEQUENCES</b> - `drop_actions' was being fired even when the pick and drop was cancelled.</li>
95 </ul>
96 <li><b>Gtk</b>
97 <ul>
98 <li><strong>EV_WIDGET</strong>&nbsp;- Focus in/out actions are now
99 correctly called for widgets that do not occupy their entire space
100 allocation such as EV_TEXT_FIELD.
101 <li><strong>EV_DRAWABLE_IMP</strong> - Polylines now display correctly on
102 big-endian machines (Sparc, PowerPC).</li>
103 </ul>
104 </li>
105 </ul>
106 <p>&nbsp;</p>
107 <h2>Eiffel Studio 5.1</h2>
108 <p><b>Interface modifications</b></p>
109 <ul>
110 <li><b>EV_TEXTABLE and EV_TEXT_COMPONENT</b> - `text' no longer returns Void
111 when empty.
112 <li><b>EV_WINDOW</b> - `title' no longer returns `Void' when empty.
113 <li><b>EV_TOOLTIPABLE</b> - `tooltip' no longer returns `Void' when empty. If
114 empty, no tooltip is displayed.
115 <li><b>EV_TITLED_WINDOW</b> - `icon_name' no longer returns `Void' when empty.
116 <li><b>EV_CLIPBOARD</b> - `text' no longer returns `Void' when empty.
117 <li><b>EV_MESSAGE_DIALOG</b> - `text' no longer returns `Void' when empty.
118 <li><b>EV_FILE_DIALOG</b> - `file_name' no longer returns `Void' when the
119 &quot;Cancel&quot; button was pressed, `Result' is empty instead.
120 <li><b>EV_DIRECTORY_DIALOG</b> - `directory' no longer returns `Void when the
121 &quot;Cancel&quot; button was pressed, `Result' is empty instead.
122 <li><b>EV_CONTAINER</b> - has three new features `set_background_pixmap', `background_pixmap'
123 and `remove_background_pixmap'. `background_pixmap' will be tessellated to
124 cover complete background area.
125 <li><b>EV_TREE and EV_TREE_NODE</b> - Added `recursively_do_all'.
126 <li><b>EV_STANDARD_DIALOGS</b> - `ok_actions' have been renamed in descendents
127 where appropriate. e.g. in EV_PRINT_DIALOG, they are renamed to `print_actions'
128 to match the texts of the associated buttons. Where renamed, `ok_actions'
129 are still available but obsolete. Selected button now also returns the
130 correct text of the button (Previously it was always &quot;Ok&quot;).
131 <li><b>EV_DIALOG_CONSTANTS</b> - Added new constants required for the above
132 change to EV_STANDARD_DIALOGS.
133 <li><b>EV_DRAWABLE</b> - `draw_straight_line' now has a precondition to ensure
134 the points are not identical.
135 <li><b>EV_SPLIT_AREA</b> - seperated `put' from `extend'. They were defined as
136 synonyms, but have different behaviour.
137 <li><b>EV_DYNAMIC_TREE_ITEM</b> - Added `remove_subtree_function'. Item now
138 only shows as expandable if there is a subtree function.
139 <li><b>EV_WINDOW</b> - Added `maximum_dimension' which is the greatest value
140 allowed for `width' and `height'. This is also the default value for `width'
141 and `height'.
142 <li><b>EV_OPTION_BUTTON</b> - This class has been made obsolete. It will be
143 removed at the next release.
144 <li><b>EV_PICK_AND_DROPABLE_ACTION_SEQUENCES</b> - Added `pick_ended_actions'
145 which are called when a pick ends.
146 <li><b>EV_WIDGET</b> - `set_minimum_height', `set_minimum_width' and `set_minimum_size'
147 now all allow 0 as an argument. Previously, 1 was the minimum valid
148 dimension.
149 <li><b>EV_MULTI_COLUMN_LIST</b> - `clear_selection' is now obsolete. Use `remove_selection'
150 instead.</li>
151 </ul>
152 <p><b>Bug fixes</b>
153 <ul>
154 <li><b>Platform independent</b>
155 <ul>
156 <li><b>EV_FIXED</b> - Corrected `set_item_height', which was failing.
157 <li><b>EV_SELECTABLE</b> - Corrected postcondition of `is_selected'.
158 <li><b>EV_PND_ACTION_SEQUENCE</b> -- `veto_pebble_function' is now only
159 called when its argument conforms to the transported pebble.</li>
160 </ul>
161 <li><b>Windows</b>
162 <ul>
163 <li><b>EV_RANGE</b> - The `maximum_value' could not be set greater than
164 32,000. The full range of an INTEGER may now be set.
165 <li><b>`focused_widget' from `EV_APPLICATION'</b> - was incorrect if an
166 EV_CONTAINER had just received the focus.
167 <li><b>EV_PICK_AND_DROPABLE</b> - Ending a pick and drop on an
168 EV_TOOL_BAR_BUTTON which has a non `void' pebble no longer starts a
169 transport from the button. Reduced flicker on cursor when picking from
170 an EV_TREE_ITEM or EV_LIST_ITEM. `pebble_function' would previously be
171 called twice during a pick and drop.
172 <li><b>EV_FIXED</b> - Items contained are now drawn correctly dependent on
173 their z order.
174 <li><b>EV_DRAWABLE</b>
175 <ul>
176 <li>`Remove_clip_area' did not remove the clip_area correctly, but set
177 it to the current size. This meant that if you then enlarged the
178 widget, clipping would be applied.
179 <li>Fixed problems with ordering of calls to certain features which
180 would cause postcondition violations in the implementation.
181 <li>`draw_pie_slice', `fill_pie_slice' and `draw_arc' now have divide
182 by 0 protection in the implementation.</li>
183 </ul>
184 <li><b>EV_TEXT</b> - `set_background_color' now correctly sets the color
185 of the whole background. Previously only the area containing text was
186 modified.
187 <li><b>EV_CLIPBOARD</b> - Our implementation would sometimes query `text'
188 when not allowed by Windows, thus causing postcondition failures.
189 <li><b>EV_BUTTON</b> - The result of `text_alignment' after default_create
190 was incorrect.</li>
191 </ul>
192 <li><b>Gtk</b>
193 <ul>
194 <li>Gtk version of Studio released (including Vision2), so no fixes from
195 5.0</li>
196 </ul>
197 </li>
198 </ul>
199 <p>&nbsp;</p>
201 </body>
203 </html>


Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23