ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log

Revision 32678 - (show annotations)
Wed Jul 3 00:51:22 2002 UTC (17 years, 7 months ago) by rogers
File MIME type: text/html
File size: 13109 byte(s)
More information about a further EV_MENU fix on Windows.

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 `append_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 <li><b>EV_PIXMAP</b> - Previously, if you were to add an agent to an action sequence of the pixmap, before it was parented, the agent would be removed during the parenting.</li>
96 <li><b>EV_MENU</b> - Pruning an EV_MENU_SEPARATOR when one or more EV_RADIO_MENU_ITEM were still contained in the menu would cause occasional crashes. Previously, when adding an EV_MENU_SEPARATOR, followed by multiple EV_RADIO_MENU_ITEMS, all the items were being selected.</li>
97 </ul>
98 <li><b>Gtk</b>
99 <ul>
100 <li><strong>EV_WIDGET</strong>&nbsp;- Focus in/out actions are now
101 correctly called for widgets that do not occupy their entire space
102 allocation such as EV_TEXT_FIELD.
103 <li><strong>EV_DRAWABLE_IMP</strong> - Polylines now display correctly on
104 big-endian machines (Sparc, PowerPC).</li>
105 </ul>
106 </li>
107 </ul>
108 <p>&nbsp;</p>
109 <h2>Eiffel Studio 5.1</h2>
110 <p><b>Interface modifications</b></p>
111 <ul>
112 <li><b>EV_TEXTABLE and EV_TEXT_COMPONENT</b> - `text' no longer returns Void
113 when empty.
114 <li><b>EV_WINDOW</b> - `title' no longer returns `Void' when empty.
115 <li><b>EV_TOOLTIPABLE</b> - `tooltip' no longer returns `Void' when empty. If
116 empty, no tooltip is displayed.
117 <li><b>EV_TITLED_WINDOW</b> - `icon_name' no longer returns `Void' when empty.
118 <li><b>EV_CLIPBOARD</b> - `text' no longer returns `Void' when empty.
119 <li><b>EV_MESSAGE_DIALOG</b> - `text' no longer returns `Void' when empty.
120 <li><b>EV_FILE_DIALOG</b> - `file_name' no longer returns `Void' when the
121 &quot;Cancel&quot; button was pressed, `Result' is empty instead.
122 <li><b>EV_DIRECTORY_DIALOG</b> - `directory' no longer returns `Void when the
123 &quot;Cancel&quot; button was pressed, `Result' is empty instead.
124 <li><b>EV_CONTAINER</b> - has three new features `set_background_pixmap', `background_pixmap'
125 and `remove_background_pixmap'. `background_pixmap' will be tessellated to
126 cover complete background area.
127 <li><b>EV_TREE and EV_TREE_NODE</b> - Added `recursively_do_all'.
128 <li><b>EV_STANDARD_DIALOGS</b> - `ok_actions' have been renamed in descendents
129 where appropriate. e.g. in EV_PRINT_DIALOG, they are renamed to `print_actions'
130 to match the texts of the associated buttons. Where renamed, `ok_actions'
131 are still available but obsolete. Selected button now also returns the
132 correct text of the button (Previously it was always &quot;Ok&quot;).
133 <li><b>EV_DIALOG_CONSTANTS</b> - Added new constants required for the above
134 change to EV_STANDARD_DIALOGS.
135 <li><b>EV_DRAWABLE</b> - `draw_straight_line' now has a precondition to ensure
136 the points are not identical.
137 <li><b>EV_SPLIT_AREA</b> - seperated `put' from `extend'. They were defined as
138 synonyms, but have different behaviour.
139 <li><b>EV_DYNAMIC_TREE_ITEM</b> - Added `remove_subtree_function'. Item now
140 only shows as expandable if there is a subtree function.
141 <li><b>EV_WINDOW</b> - Added `maximum_dimension' which is the greatest value
142 allowed for `width' and `height'. This is also the default value for `width'
143 and `height'.
144 <li><b>EV_OPTION_BUTTON</b> - This class has been made obsolete. It will be
145 removed at the next release.
146 <li><b>EV_PICK_AND_DROPABLE_ACTION_SEQUENCES</b> - Added `pick_ended_actions'
147 which are called when a pick ends.
148 <li><b>EV_WIDGET</b> - `set_minimum_height', `set_minimum_width' and `set_minimum_size'
149 now all allow 0 as an argument. Previously, 1 was the minimum valid
150 dimension.
151 <li><b>EV_MULTI_COLUMN_LIST</b> - `clear_selection' is now obsolete. Use `remove_selection'
152 instead.</li>
153 </ul>
154 <p><b>Bug fixes</b>
155 <ul>
156 <li><b>Platform independent</b>
157 <ul>
158 <li><b>EV_FIXED</b> - Corrected `set_item_height', which was failing.
159 <li><b>EV_SELECTABLE</b> - Corrected postcondition of `is_selected'.
160 <li><b>EV_PND_ACTION_SEQUENCE</b> -- `veto_pebble_function' is now only
161 called when its argument conforms to the transported pebble.</li>
162 </ul>
163 <li><b>Windows</b>
164 <ul>
165 <li><b>EV_RANGE</b> - The `maximum_value' could not be set greater than
166 32,000. The full range of an INTEGER may now be set.
167 <li><b>`focused_widget' from `EV_APPLICATION'</b> - was incorrect if an
168 EV_CONTAINER had just received the focus.
169 <li><b>EV_PICK_AND_DROPABLE</b> - Ending a pick and drop on an
170 EV_TOOL_BAR_BUTTON which has a non `void' pebble no longer starts a
171 transport from the button. Reduced flicker on cursor when picking from
172 an EV_TREE_ITEM or EV_LIST_ITEM. `pebble_function' would previously be
173 called twice during a pick and drop.
174 <li><b>EV_FIXED</b> - Items contained are now drawn correctly dependent on
175 their z order.
176 <li><b>EV_DRAWABLE</b>
177 <ul>
178 <li>`Remove_clip_area' did not remove the clip_area correctly, but set
179 it to the current size. This meant that if you then enlarged the
180 widget, clipping would be applied.
181 <li>Fixed problems with ordering of calls to certain features which
182 would cause postcondition violations in the implementation.
183 <li>`draw_pie_slice', `fill_pie_slice' and `draw_arc' now have divide
184 by 0 protection in the implementation.</li>
185 </ul>
186 <li><b>EV_TEXT</b> - `set_background_color' now correctly sets the color
187 of the whole background. Previously only the area containing text was
188 modified.
189 <li><b>EV_CLIPBOARD</b> - Our implementation would sometimes query `text'
190 when not allowed by Windows, thus causing postcondition failures.
191 <li><b>EV_BUTTON</b> - The result of `text_alignment' after default_create
192 was incorrect.</li>
193 </ul>
194 <li><b>Gtk</b>
195 <ul>
196 <li>Gtk version of Studio released (including Vision2), so no fixes from
197 5.0</li>
198 </ul>
199 </li>
200 </ul>
201 <p>&nbsp;</p>
203 </body>
205 </html>


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

  ViewVC Help
Powered by ViewVC 1.1.23