ViewVC logotype

Contents of /trunk/Documentation/xmldoc/libraries/vision2/content/0-_revisions/index.xml

Parent Directory Parent Directory | Revision Log Revision Log

Revision 73708 - (show annotations)
Sun May 25 06:35:58 2008 UTC (11 years, 8 months ago) by manus
File MIME type: text/xml
File size: 94848 byte(s)
Added 6.2 release elements.

1 <document title="Revisions and Bug Fixes">
2 <meta_data>
3 <help>
4 <toc>
5 <envision_location>Class Libraries\EiffelVision 2\EiffelVision Interface Content</envision_location>
6 </toc>
7 </help>
8 </meta_data>
9 <paragraph>
10 <paragraph>This document contains details of modifications and bug fixes to the Vision2 library listed by the release version of EiffelStudio. All bug fixes and modifications are relative to the previously released version.</paragraph>
13 <heading><size>2</size>EiffelStudio 6.2</heading>
14 <paragraph>
15 <bold>Improvements</bold>
16 <list ordered="false">
17 <item>Added hide actions to EiffelVision 2 windows.</item>
18 </list>
19 </paragraph>
20 <heading>
21 <size>2</size> EiffelStudio 6.1
22 </heading>
23 <paragraph>
24 <bold>Interface modifications</bold>
25 </paragraph>
26 <list ordered="false">
27 <item>
28 <bold>EV_APPLICATION</bold> - Added 'is_display_remote' for determining whether the graphical display is on the same machine as the running system.
29 </item>
30 <item>
31 <bold>EV_POINTER_STYLE_CONSTANTS</bold> - Added hyperlink_cursor constant so that hyperlink cursors may be used in applications
32 </item>
33 <item>
34 <bold>EV_POINTER_STYLE</bold> - Now pointer style objects may be twinned correctly to match the capability of pixmaps and cursor objects.
35 </item>
36 <item>
37 <bold>EV_DRAWABLE</bold> - Added 'draw_sub_pixel_buffer' so that pixel buffer data may be rendered to a drawable.
38 </item>
39 <item>
40 <bold>EV_PIXEL_BUFFER</bold> - Added 'draw_pixel_buffer_with_x_y'.
41 </item>
42 <item>
43 <bold>EV_STOCK_PIXMAPS</bold> - Now pixel buffers are used for stock icons; this allows for alpha transparency information to be retained.
44 </item>
45 </list>
47 <paragraph>
48 <bold>Bug fixes</bold>
49 </paragraph>
50 <list ordered="false">
51 <item>
52 <bold>Platform independent</bold>
53 <list ordered="false">
54 <item><bold>EV_GRID</bold>
55 <list ordered="false">
56 <item>Fixed certain crashes when recomputing offsets</item>
57 </list>
58 </item>
59 </list>
60 </item>
61 <item>
62 <bold>Windows</bold>
63 <list ordered="false">
64 <item><bold>EV_STOCK_PIXMAPS</bold>
65 <list ordered="false">
66 <item>Now alpha information is correctly extracted for stock icons</item>
67 </list>
68 </item>
69 </list>
70 </item>
72 <item>
73 <bold>Linux/Solaris</bold>
74 <list ordered="false">
75 <item><bold>EV_COMBO_BOX</bold>
76 <list ordered="false">
77 <item>Fixed calling of change_actions when items are selected via the drop down</item>
78 </list>
79 </item>
80 <item><bold>EV_POINTER_STYLE</bold>
81 <list ordered="false">
82 <item>Fixed issue when converting to a cursor object then reverting back would render a white square instead of the requested cursor</item>
83 </list>
84 </item>
85 <item><bold>EV_WINDOW</bold>
86 <list ordered="false">
87 <item>Fixed issues when calling disable/enable user resize in certain states</item>
88 </list>
89 </item>
90 </list>
91 </item>
93 </list>
95 <heading>
96 <size>2</size> EiffelStudio 6.0
97 </heading>
98 <paragraph>
99 <bold>Interface modifications</bold>
100 </paragraph>
101 <list ordered="false">
102 <item>
103 <bold>EV_PICK_AND_DROPABLE</bold> - Added context menu capabilities with 'set_configurable_target_menu_mode', 'set_configurable_target_menu_handler' and 'show_configurable_target_menu' that can be used to override the existing Pick and Drop mechanism.
104 </item>
105 <item>
106 <bold>EV_ACTION_SEQUENCE</bold> - Now event_data is defined with named tuples for easier reading of the action sequence parameters.
107 </item>
108 <item>
110 <list ordered="false">
111 <item>Added 'file_drop_actions' for OS based file drag and drop from exterior applications to a Vision2 application.</item>
112 <item>Made 'idle_actions' obsolete as it is not thread-safe</item>
113 <item>Now a full garbage collection occurs if the application has been idle for 30 seconds</item>
114 </list>
115 </item>
116 <item>
117 <bold>EV_APPLICATION</bold>
118 <list ordered="false">
119 <item>Added 'transport_in_progress' for querying if a pebble transport is currently taking place.</item>
120 <item>Added caps_lock_on for querying if the caps lock key is currently toggled</item>
121 <item>`process_events' will now call idle actions when no more events are left in the pending queue</item>
122 </list>
123 </item>
124 <item>
125 <bold>EV_FONT</bold> - Added 'line_height' to retrieve an appropriate text editor line height in pixels for a font.
126 </item>
127 <item>
128 <bold>EV_PIXEL_BUFFER</bold> - Added conversion to/from EV_PIXMAP and added 'save_to_named_file' for saving buffer to disk.
129 </item>
130 <item>
131 <bold>EV_POINTER_STYLE_CONSTANTS</bold> - Added header_sizewe cursor
132 </item>
133 <item>
134 <bold>EV_FIXED</bold> - Added extend_with_size_and_position and set_with_size_and_position for flicker free update of fixed children.
135 </item>
136 <item>
137 <bold>EV_GRID</bold> - Added `visible_row_count' for querying the number of currently visible rows.
138 </item>
139 <item>
140 <bold>EV_TEXT_FIELD</bold> - Added inheritance from EV_TEXT_ALIGNABLE
141 </item>
142 <item>
143 <bold>EV_POPUP_WINDOW</bold> - Added 'make_with_shadow' creation procedure to create a popup window with an alpha shadow (on platforms that support it).
144 </item>
145 </list>
147 <paragraph>
148 <bold>Bug fixes</bold>
149 </paragraph>
150 <list ordered="false">
151 <item>
152 <bold>Platform independent</bold>
153 <list ordered="false">
154 <item><bold>EV_GRID</bold>
155 <list ordered="false">
156 <item>Fixed refresh issues and certain crashes when removing items from grid</item>
157 <item>Fixed navigation and selection handling for trees</item>
158 </list>
159 </item>
160 <item><bold>EV_PICK_AND_DROPABLE</bold> - Fixed 'memory leak' when calling 'pebble_function'.</item>
161 </list>
162 </item>
163 <item>
164 <bold>Windows</bold>
165 <list ordered="false">
166 <item>Raised compatibility bar to Windows 2000 or greater. No more support for Windows 98 or NT 4.0.</item>
168 <item><bold>EV_DIALOG</bold>
169 <list ordered="false">
170 <item>Fixed resizing bug that led to a difference in behavior from regular EV_WINDOW descendents</item>
171 <item>Corrected calling of cancel actions when closing via the Cross which previously was broken for modeless and modal dialogs</item>
172 </list>
173 </item>
174 <item><bold>EV_PIXMAP</bold>
175 <list ordered="false">
176 <item>Now correctly copying all agents over when the pixmap implementation internally changes state, previously some agents were being lost after certain operations on a pixmap</item>
177 <item>Now mask is correctly queried when saving pixmap</item>
178 </list>
179 </item>
180 </list>
182 </item>
183 <item>
184 <bold>Linux/Solaris</bold>
185 <list ordered="false">
186 <item><bold>EV_ACCELERATOR</bold> - Reimplemented accelerator implementation so that it works with all key combinations that were previously being unprocessed by gtk</item>
187 <item>Completely reimplemented and optimized event handling for faster response, scaled down use of agents for event connection for decreased memory consumption</item>
188 </list>
189 </item>
190 </list>
192 <heading>
193 <size>2</size> EiffelStudio 5.7
194 </heading>
195 <paragraph>
196 <bold>Interface modifications</bold>
197 </paragraph>
198 <list ordered="false">
199 <item><bold>STRING_GENERAL</bold> - All string operations now take STRING_GENERAL instead of STRING, this allows for mixing and matching of 8 and 32-bit string objects and allows for 32bit Unicode values, the return value is always STRING_32</item>
200 <item>
201 <bold>EV_APPLICATION</bold>
202 <list ordered="false">
203 <item>Added action sequences for querying global user events such as pointer clicks and motion</item>
204 <item>Vision2 is now thread-aware with the addition of thread-safe 'add_idle_action' and 'do_once_on_idle' that allow threads to add agents to update the main GUI thread in a safe manner</item>
205 </list>
206 </item>
207 <item>
208 <bold>EV_POINTER_STYLE</bold> - Added new pointer style class for setting the style of the mouse pointer, EV_CURSOR will be made obsolete, in the future animated cursors and transparency will be available
209 </item>
210 <item>
211 <bold>EV_PIXEL_BUFFER</bold> - New class for loading/querying and setting RGBA values from disk
212 </item>
213 <item>
214 <bold>EV_FIXED</bold> - Now item positions may be set to negative values within the fixed widget
215 </item>
216 <item>
217 <bold>EV_BITMAP</bold> - New class for setting 1 bit masks on EV_PIXMAP via set_mask
218 </item>
219 <item>
220 <bold>EV_TEXT</bold> - Added 'scroll_to_end' to scroll down so that the last line is visible
221 </item>
222 <item>
223 <bold>EV_WIDGET</bold>
224 <list ordered="false">
225 <item>Added 'refresh_now' that allows for immediate redraw of a widget without having to wait for the event loop to repaint it. A useful example of this is when calling 'set_text' on EV_LABEL during heavy computation.</item>
226 <item>Added ability to ignore the default key action on widgets.</item>
227 </list>
228 </item>
229 <item>
230 <bold>EV_GRID</bold>
231 <list ordered="false">
232 <item>Changed semantic of `move_row' and `move_rows' so that destination position is now an insertion index before a row instead of placing as the row index itself. This allows for easier insertion of rows. Any code using these features will need to be rechecked as this is a breaking change for rows that are moved down the grid</item>
233 <item>Altered `move_rows' so that it will now unparent the top level nodes from the first row being moved whilst keeping any subtree structure</item>
234 <item>Added `move_rows_to_parent' that allows moving a block of parented rows from one parent to another</item>
235 <item>Added `insert_new_rows' and `insert_new_rows_parented' which permit you to add insert multiple rows at once. This is far quicker than adding rows individually.</item>
236 <item>Added `remove_rows' which permits you to remove multiple rows at once. This is far quicker than removing each row individually.</item>
237 <item>Fixed `enable_capture' and disable_capture' which previously captured an internally hidden component of the grid, so no events were ever received during capture.</item>
238 <item>Previously, `set_default_colors' did not work.</item>
239 <item>Fixed bug in `pointer_enter_actions' and `pointer_leave_actions' of EV_GRID_ITEM which were not always fired when the mouse pointer entered or left the grid.</item>
240 <item>Corrected `not_row_height_variable_and_vertical_scrolling_per_pixel' precondition of `enable_partial_dynamic_content'.</item>
241 <item>Fixed bug which caused an internal exception within the grid when `is_tree_enabled' and `is_content_partially_dynamic'.</item>
242 <item>Strengthened preconditions of `insert_new_row_parented' to prevent you inserting a new row at an index within a subtree structure of one of the existing subrows, as in that case, it is impossible for the parent to be the desired row.</item>
243 <item>Added capability to hide rows in the grid</item>
244 <item>Added ability for locking the position of rows and columns in the grid</item>
245 </list>
246 </item>
247 <item>
248 <bold>EV_GRID_ROW</bold> - Added `insert_subrows' for the quick addition of multiple subrows at once.
249 </item>
250 <item>
251 <bold>EV_WINDOW</bold> - Added `is_border_enabled', `enable_border' and `disable_border'. This lets you turn on/off the border as required.
252 </item>
253 <item>
254 <bold>EV_HEADER_ITEM</bold> - Added `user_can_resize' which enables you to prevent a user from resizing the item. Also added `minimum_width' and `maximum_width' which permit you to restrict the resizing of the item within a particular range.
255 </item>
256 <item>
257 <bold>EV_MESSAGE_DIALOG</bold> - All message dialogs now use their associated message icon as the icon pixmap displayed in the title bar, instead of the standard EiffelVision2 icon.
258 </item>
259 <item>
260 <bold>EV_DYNAMIC_TREE_ITEM</bold> - The `subtree_function' is now only executed when you expand the item. In the previous version, querying the contents of the item caused the subtree function to be executed, filling the children.
261 </item>
262 <item>
263 <bold>EV_COMBO_BOX</bold> - Added `is_list_shown', `list_hidden_actions' and renamed `drop_down_actions' to `list_shown_actions'.
264 </item>
265 <item><bold>EV_APPLICATION</bold> - Added `pointer_motion_actions', `pointer_button_press_actions', `pointer_button_release_actions', `pointer_double_press_actions', `mouse_wheel_actions', `key_press_actions', `key_press_string_actions' and `key_release_actions'. Each of these action sequences pass the applicable widget as part of the event data.</item>
266 </list>
267 <paragraph>
268 <bold>Bug fixes</bold>
269 </paragraph>
270 <list ordered="false">
271 <item>
272 <bold>Platform independent</bold>
273 <list ordered="false">
274 <item><bold>EV_GRID</bold> - Fixed refresh issues and certain crashes when removing items from grid</item>
275 </list>
276 </item>
277 <item>
278 <bold>Windows</bold>
279 <list ordered="false">
280 <item>
281 <bold>EV_WINDOW</bold> - The default state is now `user_can_resize'. Although this was previously specified within `is_in_default_state', the window was not actually resizeable.
282 </item>
283 <item>
284 <bold>EV_DIALOG</bold>
285 <list ordered="false">
286 <item>Calling `enable_user_resize' or `disable_user_resize' on a dialog that is shown relative to another window no longer looses the relative state of the dialog.</item>
287 <item>Fixed failure of a &quot;check&quot; statement within EiffelVision when showing a dialog with a `default_cancel_button' relative or modal to another window.</item>
288 </list>
289 </item>
290 <item>
291 <bold>EV_FONT_DIALOG</bold> - Fixed issue where displayed font did not take into account font specified through call to `set_font'.
292 </item>
293 <item>
294 <bold>EV_RICH_TEXT</bold> - Fixed calling of `change_actions' which were never called in the previous version.
295 </item>
296 <item>
297 <bold>EV_PIXMAP</bold> - If a pixmap was parented directly within a container and Windows XP themes were enabled, the background theme of the parent container was not applied to the pixmap. This was especially noticeable when using EV_NOTEBOOK as a parent container.
298 </item>
299 <item>
300 <bold>EV_WIDGET</bold> - Fixed bug in theme handling on Windows XP. Previously, any widgets that were created before the first window was created did not draw correctly when displayed.
301 </item>
302 <item>
303 <bold>EV_COMBO_BOX</bold> - Fixed bug in `key_press_actions' which were called twice when you pressed the up or down arrow keys.
304 </item>
305 <item>
306 <bold>EV_TITLED_WINDOW</bold>
307 <list ordered="false">
308 <item>`title' was returning `Void' if you had not explicitly set a `title'.</item>
309 <item>Fixed raise to work when process is not in the foreground, the window will now flash in the window selector</item>
310 </list>
311 </item>
312 <item><bold>EV_MENU</bold> - A menu with an ampersand (i.e. menu.set_text ("Test &amp;&amp; Verify")) could be truncated when displayed (i.e. the `y' could be missing).</item>
313 <item><bold>EV_PIXMAP</bold> - Fixed a memory corruption while loading PNG images.</item>
314 <item>Fixed resizing issue which would happen if too many widgets are nested in each other, those nested widgets would not resize properly.</item>
315 </list>
316 </item>
317 <item>
318 <bold>Gtk</bold>
319 <list ordered="false">
320 <item><bold>EV_DIALOG</bold> - Fixed modal dialogs so that they behave the same as on Windows so that show_modal_to_window is indeed only modal to the parent window</item>
321 <item> - Mouse events now only go to the widget that the mouse is currently interacting with</item>
322 <item><bold>EV_FONT</bold> - Fixed bug where font names were being matched on substring, meaning that Sans would match with San Serif</item>
323 <item><bold>EV_TEXT</bold> - Fixed and optimized calls relating to display lines versus actual lines</item>
324 <item> - Fixed potential instability due to signal marshal calls being made during object dispose</item>
325 <item> - Completely overhauled event handling implementation to use less resources and be much more optimal</item>
326 <item><bold>EV_POPUP_WINDOW</bold>Completely rewrote popup window implementation to be not dependent on the window manager, this means that they will work in all scenarios with WM intervention</item>
327 <item><bold>EV_ACCELERATOR</bold> - Fixed crashes caused by certain accelerator combinations</item>
328 <item><bold>EV_TOOL_BAR_BUTTON</bold> - Toolbar buttons are now accepted as Pick and Drop targets</item>
329 </list>
330 </item>
331 </list>
332 <heading>
333 <size>2</size> EiffelStudio 5.6
334 </heading>
335 <paragraph>
336 <bold>Interface modifications</bold>
337 </paragraph>
338 <list ordered="false">
339 <item>
340 <bold>EV_POPUP_WINDOW</bold> - A new window type which inherits EV_WINDOW with two differences: It does not display a border of any sorts and is not displayed in the task bar. This is especially useful for simulating tooltips and other such pop-ups.
341 </item>
342 <item>
343 <bold>EV_APPLICATION</bold> - Added 'uncaught_exception_actions' which is called whenever an action sequence called from the underlying toolkit fails to deal with any exceptions raised.
344 </item>
345 <item>
346 <bold>EV_CLIPBOARD</bold> - Added 'has_text' so that the clipboard can be queried without retrieving the entire contents.
347 </item>
348 <item>
349 <bold>EV_CHECKABLE_TREE</bold> - A new widget that inherits EV_TREE, providing similar functionality but for each item contained a check box is displayed.
350 </item>
351 <item>
352 <bold>EV_NOTEBOOK</bold>
353 <list ordered="false">
354 <item>Added `pointed_tab_index' which returns the index of the tab beneath the mouse pointer or 0 if none.</item>
355 <item>Added EV_NOTEBOOK_TAB which may be queried via the new query `item_tab'. The object represented by this new class provides the ability to set both the text and a pixmap for the tab item.</item>
356 <item>Now inherits EV_ITEM_PIXMAP_SCALER as the tabs support pixmaps through the use of EV_NOTEBOOK_TAB.</item>
357 </list>
358 </item>
359 <item>
360 <bold>EV_COMBO_BOX</bold> - Added `drop_down_actions', fired as the list is dropped down which permits dynamic filling of the combo box as its contents are displayed.
361 </item>
362 <item>
363 <bold>EV_WIDGET</bold> - Removed postcondition `has_focus' from `set_focus' since in most cases it does not hold. Indeed between the time you set the focus and the time you check if you still have the focus something could have happen that would remove the focus.
364 </item>
365 <item>
366 <bold>EV_PIXMAP</bold> - Added `sub_pixmap', this allows a pixmap to be created from a region of another
367 </item>
368 <item>
369 <bold>EV_RICH_TEXT</bold> - Corrected postcondition of `buffered_format' which restricted the end position to `text_length' instead of `text_length' + 1.
370 </item>
371 <item>
372 <bold>EV_FILE_OPEN_DIALOG</bold> - Added features for retrieving multiple file names. The following additional features are now available: 'enable_multiple_selection', `disable_multiple_selection', `multiple_selection_enabled' and `file_names'.
373 </item>
374 <item>
375 <bold>EV_TEXT_COMPONENT</bold> - Removed `is_editable' precondition of `set_caret_position'.
376 </item>
377 </list>
378 <paragraph>
379 <bold>Bug fixes</bold>
380 </paragraph>
381 <list ordered="false">
382 <item>
383 <bold>Platform independent</bold>
384 <list ordered="false">
385 <item>
386 <bold>EV_DIALOG_I</bold> - Fixed consistency of `default_push_button', before we could get some assertions violations from the implementation classes.
387 </item>
388 <item>
389 <bold>EV_ANY</bold> - Added protection for multiple calls of `destroy' which previously caused crashes in some situations, now `destroy' calls a `safe_destroy' intermediary which checks if the implementation has not already been destroyed
390 </item>
391 <item>
392 <bold>EV_GAUGE</bold> - Fixed bug in `make_with_value_range' which did not adjust `value' to `lower', thereby putting the gauge in an invalid state.
393 </item>
394 </list>
395 </item>
396 <item>
397 <bold>Windows</bold>
398 <list ordered="false">
399 <item>Fixed resizing issue: when a widget is inserted in a hidden window and that the minimum size of the window does not change, the widget would not appear on the window when shown. One had to manually resize the window to make it appear. Now it will appear properly.</item>
400 <item>Fixed a crash which could occur when using the tab or arrows keys to navigate between the primitive of a window. It would happen when trying to set the focus on a widget which was previously parented but is not anymore.</item>
401 <item>Improved appearance of applications running on Windows XP with manifest files.</item>
402 <item>
403 <bold>EV_RADIO_BUTTON</bold> - Enabled better navigation between radio buttons of a group using the arrow keys.
404 </item>
405 <item>
406 <bold>EV_SPIN_BUTTON</bold>
407 <list ordered="false">
408 <item>When it gets the focus, we set the focus to the associated text field. Before one would loose the focus until one use the mouse to set it to the text field part.</item>
409 <item>Fixed bug which restricted the maximum values permitted to approx. 16,000. Attempting to manipulate the spin button with values greater than this caused precondition violations internally.</item>
410 </list>
411 </item>
412 <item>
413 <bold>EV_SCREEN</bold>
414 <list ordered="false">
415 <item>`widget_at_position' returns an instance of EV_COMBO_BOX when cursor is on top of the text part of the combo box, before it would return Void.</item>
416 <item>`set_pointer_position' was not setting the position accurately and it may have actually been set to one of the adjacent positions.</item>
417 </list>
418 </item>
419 <item>
420 <bold>EV_COMBO_BOX</bold>
421 <list ordered="false">
422 <item>`focus_out_actions' are only called once when loosing focus. Before they would be called twice and even called when the combo box was getting the focus.</item>
423 <item>Fixed `has_focus' to return True when either the combo or the text field when it exists has the focus.</item>
424 <item>Fixed call on Void target when calling `set_foreground_color' on a displayed combo box which is not editable.</item>
425 <item>Fixed invariant violation with a non editable combo box.</item>
426 <item>Fixed `caret_position' which was failing if you attempted to set a caret position to a value greater than approx 65,000.</item>
427 <item>Fixed `set_focus' which failed if the combo box was non-editable.</item>
428 <item>Fixed handling of escape and enter keys while list was dropped down. If the combo box was contained within a dialog, the default cancel and default push button actions were fired as a result of pressing these keys. These keys are no longer propagated to the dialog in this fashion.</item>
429 </list>
430 </item>
431 <item>
432 <bold>EV_MULTI_COLUMN_LIST</bold> - Calling `column_width' after calling `resize_column_to_content' did not return the correct result but instead the previously set column width.
433 </item>
434 <item>
435 <bold>EV_NOTEBOOK</bold>
436 <list ordered="false">
437 <item>Fixed resizing issue of notebook when it is included in a hidden pane of another notebook, resulting in an assertion violation in the resizing code.</item>
438 <item>Fixed class invariant which failed when calling `destroy'.</item>
439 </list>
440 </item>
441 <item>
442 <bold>EV_WINDOW</bold>
443 <list ordered="false">
444 <item>Fixed `screen_x' and `screen_y' so that they return the same value as `x_position' and `y_position'.</item>
445 <item>Fixed issue where `move_actions' were called with incorrect positions (before the given positions were the one from the child of the window, not the window itself).</item>
446 </list>
447 </item>
448 <item>
449 <bold>EV_DIALOG</bold>
450 <list ordered="false">
451 <item>Calling `show', moving the window and then subsequently calling `show_relative_to_window' or `show_modal_to_window' caused the dialog to move from its current position. Now the window no longer moves which mirrors the behavior in the opposite case where `show_relative_to_window' or `show_modal_to_window' is called before `show'.</item>
452 <item>Fixed bug which caused processing of particular keys in widgets contained within the dialog to be processed by the dialog preventing the `key_press_actions' from being fired and causing miscellaneous keyboard navigational issues.</item>
453 <item>Proper handling of `remove_default_push_button' and `set_default_push_button'. Before the internal state would be messed up, resulting in calling the `select_actions' of the the `default_push_button' even though the `default_push_button' did not have focus.</item>
454 <item>Better navigation using keys</item>
455 <item>Fixed bug where modal and modeless dialogs were not centered to parent</item>
456 </list>
457 </item>
458 <item>
459 <bold>EV_TREE_NODE</bold> - Fixed bug which caused a crash if you performed the following: pruned a node from it's parent, pruned an empty node from this just pruned node and then attempted to insert a node within the empty node.
460 </item>
461 <item>
462 <bold>EV_DIRECTORY_DIALOG</bold> - Fixed bug in which the dialog always reported that &quot;ok&quot; has been selected even if the &quot;cancel&quot; button had been selected. This occurred if the dialog had been shown more than once with &quot;ok&quot; already selected.
463 </item>
464 <item>
465 <bold>EV_PIXMAP</bold>
466 <list ordered="false">
467 <item>Fixed color displayed around a pixmap while parented in a container. Previously, gray was always displayed but now we use the `background_color' of the `parent'.</item>
468 <item>Fixed masking blitting in draw_sub_pixmap. Previously the mask wasn't being blitted correctly discoloring the source image</item>
469 <item>Fixed mask handling with PNG loading. Previously if the source image pixels under the mask were not black then masking for icons and cursors didnt work correctly, now any color can be used underneath the mask and it will still be masked correctly</item>
470 </list>
471 </item>
472 <item>
473 <bold>EV_TOOL_BAR</bold>
474 <list ordered="false">
475 <item>Fixed `is_show_requested' which was still returning `True' after a call to `hide'.</item>
476 <item>Improved resizing of tool bar buttons. A tool bar button with a text and no associated pixmap used to display an empty area where the pixmap would be displayed if set. Now, in this case, the button is just large enough to display its text.</item>
477 </list>
478 </item>
479 <item>
480 <bold>EV_FONT</bold> - Fixed bug in `is_equal' which occasionally failed due to rounding errors between `height' and `height_in_points'. Now, `is_equal' compares `height_in_points' for the font which is more accurate and prevents this issue.
481 </item>
482 <item>
483 <bold>EV_APPLICATION</bold> - `cancel_actions' were not always called when they should have been. If you cancelled a pick and drop by right clicking on a target that does not accept the `pebble', the `cancel_actions' were not fired.
484 </item>
485 <item>
486 <bold>EV_RICH_TEXT</bold>
487 <list ordered="false">
488 <item>Fixed bug in `buffered_format' which corrupted the current text upon calling `flush_buffer' if the text contained any RTF reserved characters such as '/', '{' or '}'.</item>
489 <item>Fixed `set_background_color' which was not changing the background color</item>
490 <item>Fixed bug in `disable_word_wrapping' which had a side effect that limited the maximum number of characters to 64000.</item>
491 </list>
492 </item>
493 <item>
494 <bold>EV_TOOL_BAR_BUTTON</bold> - Fixed bug in handling of enabled/disabled state during a pick and drop transport. The pick and drop mechanism disables tool bar buttons automatically that are not valid targets. If you called `enable_sensitive' or `disable_sensitive' during a pick and drop, this state was not reflected at the end of the pick and drop and the buttons were always restored to their original state. Now the buttons are restored to their last set state.
495 </item>
496 <item>
497 <bold>EV_TITLED_WINDOW</bold> - Fixed issue with `raise' where in addition of bringing the window to the front it was changing the previously focused widget within that window. Now it preserves the previously focused widget.
498 </item>
499 <item>
500 <bold>EV_PRIMITIVE</bold> - Fixed bug which affected all primitives that hold items. Calling `destroy' on the primitive and then calling `destroy' on one of the items caused precondition violations internally. The bug was that the call to `destroy' on the primitive did not call `wipe_out' to remove all of the contents and the item was still attempting to access its `parent' which should have been `Void'.
501 </item>
502 <item>
503 <bold>EV_WIDGET</bold>
504 <list ordered="false">
505 <item>Fixed two bugs with `key_press_string_actions'. The first was that the action sequence was fired when Escape or Backspace was pressed. As these are not displayable characters, the `key_press_string_actions' are no longer fired for these keys. The second is that pressing Enter was passing the the string &quot;%R&quot; which is the Windows specific newline character. We now pass &quot;%N&quot; when the Enter key is pressed.</item>
506 <item>Fixed bug in `pointer_motion_actions'. In some uncommon situations, it was possible to receive the motion event multiple times with the same position.</item>
507 <item>The `key_press_string_actions' are no longer fired by the &quot;delete&quot; key ( ASCII 127).</item>
508 </list>
509 </item>
510 <item>
511 <bold>EV_TEXT</bold> - Fixed bug where `caret_position' was returning an incorrect value if it the text had word wrapping enabled and one or more lines in the text were currently word wrapped.
512 </item>
513 <item>
514 <bold>EV_FONT_DIALOG</bold> - Fixed bug where `name' of `font' returned was incorrect.
515 </item>
516 <item>
517 <bold>EV_SPLIT_AREA</bold> - Split areas now have a completely flat appearance.
518 </item>
519 </list>
520 </item>
521 <item>
522 <bold>Gtk</bold>
523 <list ordered="false">
524 <item>
525 <bold>EV_CURSOR</bold> - Now the default X-Cursors are used where applicable instead of pixmapped representations of them, this allows for animated cursors if available on the X-server
526 </item>
527 <item>
528 <bold>EV_VIEWPORT</bold> - Fixed issue where offsets where not being updated right away so querying back to the viewport from an expose caused by the viewport for the values would be incorrect
529 </item>
530 <item>
531 <bold>EV_TEXTABLE</bold> - Now UTF8 strings from different language locales are displayed correctly and not cut-off
532 </item>
533 <item>
534 <bold>EV_CLIPBOARD</bold> - Now UTF8 strings from different language locales are handled correctly for copying and pasting
535 </item>
536 <item>
537 <bold>EV_DRAWING_AREA</bold> -
538 <list ordered="false">
539 <item>Fixed `flush' to instantly call any pending expose events</item>
540 <item>Fixed issue where drawing area was not being focused when clicked upon by default</item>
541 </list>
542 </item>
543 <item>
544 <bold>EV_FONT</bold>
545 <list ordered="false">
546 <item> Fixed memory leaks in font lookup</item>
547 <item>Now all resources get freed on disposal of font</item>
548 <item>Now precalculating `ascent' and `descent' to improve drawing performance</item>
549 <item>Added better default font handling, now if the default font gets passed in, it will be treated as such by the Gtk theme engine</item>
550 </list>
551 </item>
552 <item>
553 <bold>EV_TOOL_BAR_BUTTON</bold> - Improve appearance of text and pixmap when `disable_vertical_button_style' is called
554 </item>
555 <item>
556 <bold>EV_FONTABLE</bold> - Improved font handling with theme manager, all default fonts now relate to the Application font chosen from the Gtk theme manager
557 </item>
558 <item>
559 <bold>EV_DRAWABLE</bold>
560 <list ordered="false">
561 <item>Corrected font placement with `draw_text' using fonts of the same height that have varying ascent values</item>
562 <item>Corrected `draw_arc' to handle all radian angles for both start_angle and aperture values</item>
563 <item>Fixed mask handling for `draw_sub_pixmap' to work with non-zero 'area' coordinates</item>
564 </list>
565 </item>
566 <item>
567 <bold>EV_MULTI_COLUMN_LIST</bold> - Fixed memory leak when setting string values
568 </item>
569 <item>
570 <bold>EV_TREE_NODE</bold>
571 <list ordered="false">
572 <item>Fixed `remove_pixmap' to remove pixmap from tree model</item>
573 <item>Fixed crash when removing nodes from parent nodes not present in a tree widget</item>
574 </list>
575 </item>
576 <item>
577 <bold>EV_RICH_TEXT</bold>
578 <list ordered="false">
579 <item> Now `paste' uses the Vision2 clipboard directly and so all clipboard assertions are fulfilled</item>
580 <item>Fixed `buffered_format' to not wipe out the text buffer of the widget and therefore stop other EV_TEXT features from functioning correctly</item>
581 <item>Now `buffered_append' doesn't wipe out the screen contents of the rich text control</item>
582 </list>
583 </item>
584 <item>
585 <bold>EV_ACCELERATOR</bold> - Now the key accelerator is checked if valid before proceeding, in some circumstances when a key is not present in the key mapping table adding an accelerator would crash the system, now if the accelerator is not valid for the current key mapping then nothing is done
586 </item>
587 <item>
588 <bold>EV_WINDOW</bold>
589 <list ordered="false">
590 <item>Now setting and querying focus works in all circumstances with all window types</item>
591 </list>
592 </item>
593 <item>
594 <bold>EV_PIXMAP</bold> - Improved pixmap 'stretch' for smaller images
595 </item>
596 <item>
597 <bold>EV_WIDGET</bold>
598 <list ordered="false">
599 <item>Optimized motion event handling so that current motion events only get requested when the previous one has been processed</item>
600 <item>Fixed theme managed handling in all widgets so that fonts when changed outside of the application by the theme manager get reflected in the Vision2 application</item>
601 </list>
602 </item>
603 <item>
604 <bold>EV_DIALOG</bold>
605 <list ordered="false">
606 <item>Fixed bug where modal and modeless dialogs were not centered to parent</item>
607 </list>
608 </item>
609 <item>
610 <bold>EV_FRAME</bold> - Corrected issue where changing alignment of text was resetting the vertical alignment
611 </item>
612 <item>
613 <bold>EV_COMBO_BOX</bold> - Now the drop down box doesn't fire focus out actions when shown
614 </item>
615 </list>
616 </item>
617 </list>
618 <heading>
619 <size>2</size> EiffelStudio 5.5
620 </heading>
621 <paragraph>
622 <bold>Interface modifications</bold>
623 </paragraph>
624 <list ordered="false">
625 <item>
626 <bold>EV_TEXT</bold>
627 <list ordered="false">
628 <item>Weakened a number of preconditions that required a non empty final line, which was unnecessary. Removed the obsolete feature `put_new_line' and made `last_line_not_empty' obsolete as it is unnecessary and can be queried via `line'.</item>
629 <item>Added `line_number_from_position' which returns the line on which a particular caret position resides.</item>
630 </list>
631 </item>
632 <item>
633 <bold>EV_ACTIVE_LIST</bold> - New class added which replaces all occurrences of ACTIVE_LIST within the interface. This prevents the EiffelVision implementation from being &quot;unhooked&quot; by user modification through the interface. The class is completely backwards compatible, and does not require any modifications to your code. Classes such as EV_ACCELERATOR_LIST and EV_FONT incorporate this change.
634 </item>
635 <item>
636 <bold>EV_DOCKABLE_SOURCE</bold> - Added features `is_external_docking_relative', `enable_external_docking_relative' and `disable_external_docking_relative'. This permits you to dock a source to an EV_DOCKABLE_DIALOG that is not displayed relative to the original top window.
637 </item>
638 <item>
639 <bold>EV_RICH_TEXT</bold> - New class, providing a text control with support for character formatting and colors on a character by character basis. The following supporting classes have been added for use with EV_RICH_TEXT: EV_CHARACTER_FORMAT, EV_CHARACTER_FORMAT_EFFECTS, EV_PARAGRAPH_FORMAT, EV_CHARACTER_FORMAT_RANGE_INFORMATION, EV_PARAGRAPH_FORMAT_RANGE_INFORMATION and EV_PARAGRAPH_CONSTANTS.
640 </item>
641 <item>
642 <bold>EV_ENVIRONMENT</bold> - Added `fonts' which returns a list of all fonts available on the system.
643 </item>
644 <item>
645 <bold>EV_APPLICATION</bold> - Added `captured_widget' which returns the EV_WIDGET currently captured in the system, or `Void' if none.
646 </item>
647 <item>
648 <bold>EV_SPLIT_AREA</bold> - Added `splitter_width' which returns the width of the splitter in pixels.
649 </item>
650 <item>
651 <bold>EV_ANY_HANDLER</bold> - This is the only class to which `default_create' from EV_ANY is supposed to be exported. However, particular descendents were exporting `default_create' to ANY instead. This has now been fixed.
652 </item>
653 <item>
654 <bold>EV_MESSAGE_DIALOG</bold> - `make_with_text_and_actions' has now been added to the list of creation procedures.
655 </item>
656 <item>
657 <bold>EV_SCREEN</bold> - Added `horizontal_resolution' and `vertical_resolution' which return the number of pixels per inch.
658 </item>
659 <item>
660 <bold>EV_FILE_DIALOG</bold> - Added support for multiple file extensions through the addition of `filters' which provides support for setting both a filter and an associated comment. The existing features `filter' and `set_filter' have been made obsolete.
661 </item>
662 <item>
663 <bold>EV_FONT</bold>
664 <list ordered="false">
665 <item>Modified return type of `string_size' from TUPLE [INTEGER, INTEGER] to TUPLE [INTEGER, INTEGER, INTEGER, INTEGER]. This does not break any existing code, but provides additional `left_offset' and `right_offset' queries (items 3, 4). Items 1, 2 still return the width and height of the string, but this is only the dimensions to be used when placing multiple strings next to each other. Some characters on more exotic fonts may still extend past this boundary, and the rectangle that fully encloses the string is given by adding the left and right offsets to the width.</item>
666 <item>Added `height_in_points' and `set_height_in_points' for setting the height of a font in points (1/72 of an inch). This may be used to ensure that your fonts occupy the same height on screens with varying resolutions.</item>
667 </list>
668 </item>
669 </list>
670 <paragraph>
671 <bold>Bug fixes</bold>
672 </paragraph>
673 <list ordered="false">
674 <item>
675 <bold>Platform independent</bold>
676 <list ordered="false">
677 <item>
678 <bold>EV_DRAWABLE</bold> - `draw_text' and `draw_text_top_left' now both support text containing new line characters.
679 </item>
680 <item>
681 <bold>EV_APPLICATION</bold> - `focused_widget' had a side effect which may modify the index of some containers.
682 </item>
683 <item>
684 <bold>EV_DYNAMIC_TREE_ITEM</bold> - fixed `count' which was not executing the subtree function as necessary when called.
685 </item>
686 <item>
687 <bold>EV_TREE</bold> - Fixed bug in `has_recursively' which failed if there were one or more dynamic tree items contained.
688 </item>
689 <item>
690 <bold>EV_MULTI_COLUMN_LIST</bold> - Fixed bug in `set_column_alignments' which crashed if you called it with an empty list after having previously called it with a non empty list.
691 </item>
692 <item>
693 <bold>EV_FIGURE_TEXT</bold> - Fixed bounding size issues which would cause the `width' and `height' to be returned incorrectly, causing them to be not correctly cleared when moved in a figure world.
694 </item>
695 <item>
696 <bold>EV_FIGURE_GROUP</bold> - Fixed both `append' and `make_from_array' which were not setting the `group' of each item inserted.
697 </item>
698 </list>
699 </item>
700 <item>
701 <bold>Windows</bold>
702 <list ordered="false">
703 <item>
704 <bold>EV_WINDOW</bold>
705 <list ordered="false">
706 <item>`move_actions' was always passing positive values for the x and y coordinates of the window, even if they should have been negative.</item>
707 <item>Showing two or more dialogs relative to a window and then hiding the focused relative dialog could cause the window to move being the next window in the Z order. This has now been fixed.</item>
708 </list>
709 </item>
710 <item>
711 <bold>EV_FONT</bold>
712 <list ordered="false">
713 <item>Fixed bug when using `preferred_families' after creating a font via `make_with_values'. The family that was specified was previously ignored.</item>
714 <item>Fixed bug in `copy' which in certain cases could lead to a copied font not exhibiting the typeface as the original, even though no assertions were violated.</item>
715 </list>
716 </item>
717 <item>
718 <bold>EV_SCROLL_BAR</bold> - Fixed handling of scroll bars with upper values greater than 32,000. Previously, dragging the bar of a scroll bar past this limit, corrupted the position of the bar and the `value'.
719 </item>
720 <item>
721 <bold>EV_TEXT</bold>
722 <list ordered="false">
723 <item>Corrected `last_position_from_line_number' which was returning an incorrect position when there were multiple lines of text contained, and you queried the final line.</item>
724 <item>Modified `insert_text' so that the control is no longer scrolled to the top as a result. The original position is now maintained wherever possible.</item>
725 <item>Corrected handling of selection for caret positions greater than 64,000 characters. The following features were broken when using caret positions greater than 64,000: `caret_position', `has_selection', `selection_start' and `selection_end'</item>
726 </list>
727 </item>
728 <item>
729 <bold>EV_SPIN_BUTTON</bold>
730 <list ordered="false">
731 <item>Corrected positioning in parent container. In many situations, the spin button mis-behaved and would be moved to the 0x0 pixel position in the parent.</item>
732 <item>Fixed tooltips which were never displayed.</item>
733 </list>
734 </item>
735 <item>
736 <bold>EV_LIST_ITEM</bold> - Setting a pixmap to an item that was already displayed in a list and had a text would cause the end of the text to be cut off. This is now fixed.
737 </item>
738 <item>
739 <bold>EV_COMBO_BOX</bold> - Fixed tooltips which were never displayed.
740 </item>
741 <item>
742 <bold>EV_TOOL_BAR</bold> - Fixed a number of serious GDI leaks, the worst of which occurred when items that had a pixmap were removed from a tool bar.
743 </item>
744 <item>
745 <bold>EV_PROGRESS_BAR</bold> - Fixed bug which was limiting values in the range 0 to 65535.
746 </item>
747 <item>
748 <bold>EV_TEXT_FIELD</bold> - calling `set_font' now updates the `minimum_height' of the text field so that it is large enough to completely display the font.
749 </item>
750 </list>
751 </item>
752 <item>
753 <bold>Gtk</bold>
754 <list ordered="false">
755 <item>
756 <bold>GTK 2.4</bold> EiffelVision 2 has been completely upgraded from gtk 1.2 to version 2.4 and provides completely new implementations for EV_LIST, EV_COMBO_BOX, EV_FILE_DIALOG, EV_MULTI_COLUMN_LIST, EV_CLIPBOARD, EV_MENU, EV_TREE, EV_FONT, EV_PIXMAP using the latest gtk widget set
757 </item>
758 <item>
759 <bold>EV_WIDGET</bold> Fixed a screen positioning for all widgets
760 </item>
761 <item>
762 <bold>EV_GAUGE</bold> Fixed bounds setting
763 </item>
764 <item>
765 <bold>EV_DIALOG</bold> Now key presses work whilst in Pick and Drop
766 </item>
767 <item>
768 <bold>EV_WIDGET</bold> Now motion events pass x and y coordinates relative to the captured widget
769 </item>
770 </list>
771 </item>
772 </list>
773 <heading>
774 <size>2</size> EiffelStudio 5.4
775 </heading>
776 <paragraph>
777 <bold>Interface modifications</bold>
778 </paragraph>
779 <list ordered="false">
780 <item>
781 <bold>EV_ITEM_PIXMAP_SCALER</bold> - New class added which provides no new functionality, but is a clean abstraction of `pixmaps_width', `pixmaps_height' and `set_pixmaps_size' which were all defined independently in EV_TREE, EV_LIST, EV_MULTI_COLUMN_LIST and EV_COMBO_BOX. Your code will not be affected by this change.
782 </item>
783 <item>
784 <bold>EV_TOOL_BAR</bold> - Added three new features `has_vertical_button_style', `enable_vertical_button_style' and `disable_vertical_button_style'. The default style for buttons is vertical and was the only style previously available, in which the `pixmap' is displayed above `text'. When vertical style is disabled, the `pixmap' of a button will be displayed to the left of its `text'.
785 </item>
786 <item>
787 <bold>EV_TREE </bold> - No longer inherits EV_TREE_NODE_CONTAINER which is now obsolete. Made `selected' obsolete, use selected_item /= Void instead.
788 </item>
789 <item>
790 <bold>EV_TREE_NODE</bold> - Now inherits EV_TREE_NODE_LIST instead of EV_TREE_NODE_CONTAINER. This provides more functionality at the level of the node, but does not change the features available in non deferred descendents, as they all previously inherited EV_TREE_NODE_LIST. Changed type of `parent' to EV_TREE_NODE_LIST from EV_TREE_NODE_CONTAINER. Removed three obsolete features - `align_text_left', align_text_center' and `align_text_right'.
791 </item>
792 <item>
793 <bold>EV_TREE_ITEM</bold> - Strengthened `is_expandable' so that it checks `parent_tree' is not Void, this brings it into line with the preconditions of `expand'.
794 </item>
795 <item>
796 <bold>EV_DYNAMIC_TREE_ITEM</bold> - Strengthened `is_expandable' to check `parent_tree', in line with preconditions of `expand'. Added &quot;valid_operands&quot; precondition to `set_subtree_function' which ensures that you only pass a function with valid operands.
797 </item>
798 <item>
799 <bold>EV_TREE_NODE_CONTAINER</bold> - Now obsolete, you should use EV_TREE_NODE_LIST instead.
800 </item>
801 <item>
802 <bold>EV_MULTI_COLUMN_LIST</bold> - Added missing postconditions to `align_text_left', `align_text_right', `align_text_center' and other miscellaneous features that were missing relevant postconditions.
803 </item>
804 <item>
805 <bold>EV_MENU</bold> - Tightened preconditions of `show' and `show_at' to ensure that the menu is not parented.
806 </item>
807 <item>
808 <bold>EV_TEXT</bold> Added `has_word_wrapping', `enable_word_wrapping' and `disable_word_wrapping'. These features allow you to switch between horizontal word wrapping, in which lines too long to be displayed will be wrapped, and no word wrapping, in which horizontal scroll bars will be displayed, allowing you to view the complete contents of each line. Previously EV_TEXT would always wrap lines, and the default behavior is `has_word_wrapping' as it was before these changes.
809 </item>
810 <item>
811 <bold>EV_TEXT_COMPONENT</bold> - Added `has_selection' precondition to `selected_text' which requires that `has_selection' must be True for you to call `selected_text'.
812 </item>
813 <item>
814 <bold>EV_FILE_DIALOG</bold> - Added `valid_file_title' for validation of a file name excluding the path.
815 </item>
816 <item>
817 <bold>EV_STANDARD_DIALOG</bold> - Corrected postcondition of `make_with_text' which was checking that `text' was the same object as the STRING passed as an argument. This was incorrect, as `text' is cloned during the creation.
818 </item>
819 <item>
820 <bold>EV_WIDGET</bold> - Added `remove_real_target' which ensures that `real_target' is Void.
821 </item>
822 <item>
823 <bold>EV_WIDGET_ACTION_SEQUENCES</bold> - Added `mouse_wheel_actions', fired each time that the mouse wheel is scrolled.
824 </item>
825 <item>
826 <bold>EV_NOTEBOOK</bold> - Now inherits EV_FONTABLE permitting a font to be applied to the item texts.
827 </item>
828 <item>
829 <bold>EV_ENVIRONMENT</bold>
830 <list ordered="false">
831 <item> Added `mouse_wheel_scroll_lines' which returns an INTEGER corresponding to the number of lines that should be scrolled in response to each mouse wheel scroll event received.</item>
832 <item> Added `has_printer' which returns `True' if at least one printer is installed.</item>
833 </list>
834 </item>
835 <item>
836 <bold>EV_PRINT_CONTEXT</bold> - Added `horizontal_resolution' and `vertical_resolution' which return the page size in pixels of the page type selected from an EV_PRINT_DIALOG. This permits you to adjust the figure world you are printing to an EV_PRINT_PROJECTOR based on the limits of the page, as determined by `horizontal_resolution' and `vertical_resolution' in pixels.
837 </item>
838 <item>
839 <bold>EV_APPLICATION</bold> - Added `process_events_until_stopped' and `stop_processing', similar to `process_events', except the processing is executed until `stop_processing' is called.
840 </item>
841 <item>
842 <bold>EV_PRINT_PROJECTOR</bold> - Added `has_printer' check to `make_with_context', ensuring that if you are to print to a printer, at least one printer is available.
843 </item>
844 <item>
845 <bold>EV_PRINT_CONTEXT</bold> - `default_create' now initializes a set of standard values, permitting the printing to the default printer, using US letter size.
846 </item>
847 <item>
848 <bold>EV_RELATIVE_POINT</bold> - The features `set_x_abs', `set_y_abs', `set_angle_abs', `set_scale_x_abs' and `set_scale_y_abs' now all have a precondition ensuring that you may only call them while `being_positioned' is True, which is only the case during execution of a custom positioning agent. Previously, if they were called at other times, the values set would be overridden.
849 </item>
850 <item>
851 <bold>EV_FIGURE</bold> - `accept_cursor' and `deny_cursor' are now available as queries.
852 </item>
853 <item>
854 <bold>EV_ABSTRACT_PICK_AND_DROPABLE</bold> - `set_accept_cursor' and `set_deny_cursor' no longer accept `Void' arguments.
855 </item>
856 <item>
857 <bold>EV_FIGURE_MATH </bold> - 'line_angle' now correctly returns the angle in radians relative to world.
858 </item>
859 <item>
860 <bold>EV_ARROWED_FIGURE</bold> - 'start_angle' and 'end_angle' now work in all circumstances
861 </item>
862 <item>
863 <bold>EV_FIGURE_STAR</bold> - First line generated is now created from 'point_b'
864 </item>
865 <item>
866 <bold>EV_FIGURE_EQUILATERAL</bold> - First point generated is now based upon 'point_b'
867 </item>
868 </list>
869 <paragraph>
870 <bold>Breaking changes</bold>
871 </paragraph>
872 <list ordered="false">
873 <item>
874 <bold>EV_TREE_NODE_CONTAINER</bold> - This class is no longer used in EiffelVision2, and if you were relying on it, you should use EV_TREE_NODE_LIST instead. The type of `parent' for tree nodes has been changed from EV_TREE_NODE_CONTAINER to EV_TREE_NODE_LIST, so if you retrieve the `parent' and then attempt to iterate, you may have declared an instance of EV_TREE_NODE_CONTAINER. In this situation, you should simply change the definition to EV_TREE_NODE_LIST instead.
875 </item>
876 </list>
877 <paragraph>
878 <bold>Bug fixes</bold>
879 </paragraph>
880 <list ordered="false">
881 <item>
882 <bold>Platform independent</bold>
883 <list ordered="false">
884 <item>
885 <bold>EV_DYNAMIC_TREE_ITEM</bold> - No longer crashes if your `subtree_function' returns Void. In this situation, it will now behave as if the `Result' was empty.
886 </item>
887 <item>
888 <bold>EV_BOX</bold> - Attempting to dock from an EV_DOCKABLE_SOURCE while the box was empty would not work. This has now been fixed.
889 </item>
890 <item>
891 <bold>EV_TEXT_COMPONENT</bold> - Calling `append_text', `prepend_text' or `insert_text' while `is_editable' is False caused a precondition failure in the implementation which is now fixed.
892 </item>
893 <item>
894 <bold>EV_DOCKABLE_SOURCE</bold>
895 <list ordered="false">
896 <item> It was previously not possible to dock to an empty window, as the target was ignored in error.</item>
897 <item> Fixed bug which caused a crash if a dock was attempted to an empty box.</item>
898 </list>
899 </item>
900 <item>
901 <bold>EV_CHECKABLE_LIST</bold> - Corrected postcondition of `checked_items' which was checking `selected_items' in error, and therefore almost always failing.
902 </item>
903 <item>
904 <bold>EV_APPLICATION</bold> - Querying `focused_widget' if the window with the focus was empty caused a crash. This has now been fixed, and in this situation, the window itself is returned.
905 </item>
906 <item>
907 <bold>EV_FIGURE_TEXT</bold> - Fixed handling of `preferred_fonts' from the `font', which was not taken into account. Previously, the default font was always used.
908 </item>
909 <item>
910 <bold>EV_DYNAMIC_LIST</bold> - Fixed `retrieve_item_by_data' and `retrieve_items_by_data' which were always performing object comparison, even when reference comparison was selected by passing `False' as the second argument.
911 </item>
912 <item>
913 <bold>EV_TREE_NODE_LIST</bold> - Fixed `retrieve_item_recursively_by_data' and `retrieve_items_recursively_by_data' which were always performing object comparison, even when reference comparison was selected by passing `False' as the second argument.
914 </item>
915 <item>
916 <bold>EV_CONTAINER</bold> - Fixed bug in `unmerge_radio_button_groups' which would crash if the container had no radio buttons.
917 </item>
918 </list>
919 </item>
920 <item>
921 <bold>Windows</bold>
922 <list ordered="false">
923 <item>
924 <bold>EV_TEXT_COMPONENT</bold> - fixed bug in `select_region' which would fail if `start_pos' was greater than `end_pos'.
925 </item>
926 <item>
927 <bold>EV_PIXMAP</bold>
928 <list ordered="false">
929 <item> `expose_actions' previously had a feature contained related to the implementation, and calling `wipe_out' on `expose_actions' would stop the image from being redrawn. There are now no side effects related to `expose_actions'.</item>
930 <item> Calling `copy' on a pixmap that was parented in an EV_CONTAINER, and therefore displayed on screen had no visual effect until the window was re-painted. The image is now updated immediately. Also, using `copy' on a pixmap in a similar situation that was originally set with a masked icon, and passing a pixmap created from a bitmap file would cause a crash.</item>
931 <item> Fixed display error in handling of pixmaps created from a PNG with a transparent color, using `set_with_named_file'. The background would be garbled and partially black.</item>
932 </list>
933 </item>
934 <item>
935 <bold>EV_LIST</bold>
936 <list ordered="false">
937 <item> Calling `disable_sensitive' when already non sensitive would loose the original selection, and calling `enable_sensitive' when already sensitive would alter the selected item. The features will no longer alter the selection if called twice.</item>
938 <item> Fixed result of `background_color' which was returning gray instead of white before a color was assigned</item>
939 </list>
940 <bold>EV_CELL</bold> - If you removed the item, the minimum size was not updated to reflect this, thereby retaining the minimum size as constrained by the minimum size of the now removed item.
941 </item>
942 <item>
943 <bold>EV_TREE_ITEM</bold>/
944 <bold>EV_TREE</bold> - A call to `disable_select' on an EV_TREE_ITEM will now actually remove the selection from the tree. Previously, the style of the item was changed, but a call to `selected_item' on the tree would still return the item.
945 </item>
946 <item>
947 <bold>EV_FILE_DIALOG</bold> - Fixed precondition violation when you calling `set_file_name' which was rejecting directory separators.
948 </item>
949 <item>
950 <bold>EV_DIALOG</bold> - Fixed a bug when you had two dialogs displayed modally, with the second modal to the first. If you had a text field within the second dialog whose `return_actions' contained an agent which would destroy the second dialog, the `select_actions' of the `default_push_button' in the lower dialog would be subsequently fired.
951 </item>
952 <item>
953 <bold>EV_LABEL</bold> - If a label was disabled through the disabling of a container in which it was contained, it would sometimes not be grayed out. This has now been fixed.
954 </item>
955 <item>
956 <bold>EV_PICK_AND_DROPABLE</bold>
957 <list ordered="false">
958 <item> `mode_is_target_menu' did not work for a pick and drop source whose `pebble' was generated by a `pebble_function'.</item>
959 <item> Fixed bug where drag and drop was not working as it was attempting to perform docking instead. If both are enabled, docking has priority.</item>
960 </list>
961 </item>
962 <item>
963 <bold>EV_COMBO_BOX_IMP</bold>
964 <list ordered="false">
965 <item> Fixed `set_foreground_color' and `set_background_color' which previously did nothing.</item>
966 <item> Fixed bug in selection. If during execution of the `select_actions' of an item contained, you called `enable_select' on another item within the combo box, subsequently selecting the originally selected item would no longer fire its `select_actions'.</item>
967 <item> `enable_edit' and `disable_edit' were both causing the pixmaps of any items contained to be no longer displayed.</item>
968 </list>
969 </item>
970 <item>
971 <bold>EV_PRINT_DIALOG</bold> - Querying `print_context' from a print dialog if a user selected &quot;Cancel&quot; would previously crash.
972 </item>
973 <item>
974 <bold>EV_TREE</bold> and
975 <bold>EV_MULTI_COLUMN_LIST</bold> - Fixed result of `background_color' which was returning gray instead of white before a color was assigned
976 </item>
977 <item>
978 <bold>EV_SCREEN</bold> - `widget_at_pointer_position' now returns the combo box if the mouse pointer is held above the drop down list button of a combo box. Previously, `Void' was returned.
979 </item>
980 </list>
981 </item>
982 <item>
983 <bold>Gtk</bold>
984 <list ordered="false">
985 <item>
986 <bold>EV_TREE_NODE</bold> - Now expansion state remains the same when 'set_pixmap' is called.
987 </item>
988 <item>
989 <bold>EV_DIALOG</bold> - Fixed bug where 100 percent of CPU time was being used when dialog was shown modally.
990 </item>
991 <item>
992 <bold>EV_WINDOW</bold> - Now sizing invariants are fulfilled when widget is destroyed, preventing segmentation violation.
993 </item>
994 <item>
995 <bold>EV_COMBO_BOX</bold>
996 <list ordered="false">
997 <item> Fixed bug where reselecting an item within the combo box list was in fact deselecting it.</item>
998 <item> Now first item remains selected when items are added.</item>
999 </list>
1000 </item>
1001 <item>
1002 <bold>EV_WINDOW</bold> - Fixed querying of positioning which never changes if previously set by user.
1003 </item>
1004 <item>
1005 <bold>EV_APPLICATION</bold> - Priority of `idle_actions' has been changed so that gtk will recalculate widgets sizes before calling its idle handler, this means that all resizing is done before idle actions are called.
1006 </item>
1007 <item>
1008 <bold>EV_WINDOW </bold> - Now windows correctly shrink when requested size is smaller than current size
1009 </item>
1010 <item>
1011 <bold>EV_PICK_AND_DROPABLE</bold> - Fixed bug where if both drag and drop and docking were enabled, both would be executed, now docking overrides drag and drop if both are enabled.
1012 </item>
1013 <item>
1014 <bold>EV_TIMEOUT </bold> - Now timeouts correctly unregister themselves on dispose preventing segmentation violation.
1015 </item>
1016 <item>
1017 <bold>EV_PIXMAP </bold> - Pixmap stretching now works as expected.
1018 </item>
1019 <item>
1020 <bold>EV_WINDOW</bold> - Now all window specific events work as expected
1021 </item>
1022 <item>
1023 <bold>EV_TITLED_WINDOW</bold> - Now is_displayed returns false when window is minimized.
1024 </item>
1025 <item>
1026 <bold>EV_TREE_NODE</bold> - Insertion of children at specific rows now displays as expected.
1027 </item>
1028 <item>
1029 <bold>EV_WINDOW</bold> - Now windows have a border and are resizable to match Win32 behavior
1030 </item>
1031 <item>
1032 <bold>EV_SPLIT_AREA</bold> - Now 'split position' honors request when widget resize is pending
1033 </item>
1034 <item>
1035 <bold>EV_DRAWING_AREA </bold> - Fixed full size optimization so that all expose actions are handled correctly
1036 </item>
1037 <item>
1038 <bold>EV_TEXT_COMPONENT - </bold> Fixed issue where up and down arrow keys caused widget to lose focus unnecessarily
1039 </item>
1040 <item>
1041 <bold>EV_FONT</bold> - Now preferred families are taken in to account when no style is set
1042 </item>
1043 <item>
1044 <bold>EV_STANDARD_DIALOG </bold>- Now all file handling dialogs are resizable
1045 </item>
1046 </list>
1047 </item>
1048 </list>
1049 <heading>
1050 <size>2</size>EiffelStudio 5.3
1051 </heading>
1052 <paragraph>
1053 <bold>Interface modifications</bold>
1054 </paragraph>
1055 <list ordered="false">
1056 <item>
1057 <bold>EV_TITLED_WINDOW_ACTION_SEQUENCES</bold> added which is inherited only by EV_TITLED_WINDOW and provides three new action sequences :- `minimize_actions', `maximize_actions' and `restore_actions'.
1058 </item>
1059 <item>
1060 <bold>EV_TITLED_WINDOW</bold>
1061 <list ordered="false">
1062 <item> You may now only call `maximize' and `minimize' if `is_show_requested'.</item>
1063 <item> When minimized, `is_displayed' now returns False.</item>
1064 </list>
1065 </item>
1066 <item>
1067 <bold>EV_BUTTON</bold> now inherits EV_FONTABLE, allowing you to modify the font displayed.
1068 </item>
1069 <item>
1070 <bold>EV_DYNAMIC_LIST_ITEM</bold> - Corrected `off' which was using the version inherited from EV_TREE_NODE when it should have been using the version from EV_TREE_NODE_LIST instead.
1071 </item>
1072 <item>
1073 <bold>EV_RECTANGLE</bold> - Added precondition to `intersects' which stops a Void rectangle being passed as an argument.
1074 </item>
1075 <item>
1076 <bold>EV_TOOL_BAR_SEPARATOR</bold> - Now export many inherited features to {ANY} instead of {NONE}, including `parent'.
1077 </item>
1078 <item>
1079 <bold>EV_ENVIRONMENT</bold> - Added `supported_image_formats' which returns a LINEAR [STRING] containing all valid formats by their three letter extension.
1080 </item>
1081 <item>
1082 <bold>EV_CHECKABLE_LIST</bold> - New class added which behaves as an EV_LIST, except that for each EV_LIST_ITEM contained, an associated check box is displayed.
1083 </item>
1084 <item>
1085 <bold>EV_MESSAGE_DIALOG</bold> - No longer deferred, and has two creation procedures `default_create' and `make_with_text'.
1086 </item>
1087 <item>
1088 <bold>EV_STANDARD_DIALOG</bold> - All descendents now have `make_with_text' as a creation procedure'.
1089 </item>
1090 <item>
1091 <bold>EV_TABLE</bold> - Now inherits CHAIN instead of ARRAY. This is a breaking change, and may require some modification to your code. The inheritance from ARRAY was seriously flawed. For example, if you were to call `extend' on an EV_CONTAINER object that was currently referencing an EV_TABLE, then this would fail. Now that we inherit CHAIN, this problem, among others of a similar nature are fixed. Another advantage of inheriting CHAIN, is that the table may now be iterated which allows for greater flexibility.
1092 <line_break/>
1093 <line_break/> The following list details some of the breaking changes, and how to fix them:
1094 <list ordered="false">
1095 <item>
1096 <bold>item</bold> - If you were using `item', you should change this to `item_at_position'. A call to `item' will now return the current item.
1097 </item>
1098 <item>
1099 <bold>put</bold> - If you were using `put', you must now replace this with `put_at_position'.
1100 </item>
1101 <item>
1102 <bold>extend</bold> and
1103 <bold>replace</bold> - These are now both exported, as before, they were exported to {NONE}.
1104 </item>
1105 <item> features inherited from
1106 <bold>ARRAY</bold> - These are no longer available but you may use the feature `to_array', which returns the contents of the table represented as an ARRAY [EV_WIDGET]. This feature is marked as obsolete, as it is temporary, to simplify the transition to the new inheritance structure of EV_TABLE.
1107 </item>
1108 <item>
1109 <bold>count</bold> - The previous version of `count' was the one from ARRAY, which returned the number of available (not empty) cells in the table. We now use the version of `count' inherited from EV_CONTAINER which returns the number of widgets currently contained. Previously, the feature `widget_count' was used to return the number of items, but this feature has now been made obsolete. Therefore, if you were previously using `count', replace this with `rows' * `columns', and if you were using `widget_count', replace this with a call to `count'.
1110 </item>
1111 <item>
1112 <bold>item_list</bold> - This is now obsolete. You may use `linear_representation' to retrieve the contents of the table, or simply traverse the table.
1113 </item>
1114 </list>
1115 </item>
1116 <item>
1117 <bold>EV_FIXED</bold> - No longer inherits DOUBLE_MATH.
1118 </item>
1119 <item>
1120 <bold>EV_VIEWPORT</bold> - No longer inherits DOUBLE_MATH.
1121 </item>
1122 <item>
1123 <bold>EV_TEXT</bold> - `line_count' now returns the number of lines actually displayed, and not just the newline characters, as an EV_TEXT will wrap the text when necessary. The postcondition of `linecount' has been updated to reflect this change.
1124 </item>
1125 <item>
1126 <bold>EV_FILE_DIALOG</bold> Added &quot;valid_file_name&quot; precondition to `set_file_name' and a new feature `valid_file_name' which checks that a file name is valid on the current platform.
1127 </item>
1128 </list>
1129 <paragraph>
1130 <bold>Bug fixes</bold>
1131 </paragraph>
1132 <list ordered="false">
1133 <item>
1134 <bold>Platform independent</bold>
1135 <list ordered="false">
1136 <item>
1137 <bold>EV_WIDGET</bold> - `pointer_style' now correctly returns the Ibeam cursor for textable widgets.
1138 </item>
1139 <item>
1140 <bold>EV_FIGURE_RECTANGLE</bold>
1141 <list ordered="false">
1142 <item> Corrected `bounding_box' which was previously computed incorrectly when the rectangle was rotated.</item>
1143 <item> Fixed `width' and `height' which were always returning one less pixel than they should have.</item>
1144 </list>
1145 </item>
1146 </list>
1147 </item>
1148 <item>
1149 <bold>Windows</bold>
1150 <list ordered="false">
1151 <item>
1152 <bold>EV_PIXMAP</bold> - Setting a tile with `set_tile' followed by a call to a fill routine would crash the implementation.
1153 </item>
1154 <item>
1155 <bold>EV_COMBO_BOX</bold> - Implemented pick and drop.
1156 </item>
1157 <item>
1158 <bold>EV_TEXT_FIELD</bold> - Implemented pick and drop.
1159 </item>
1160 <item>
1161 <bold>EV_PASSWORD_FIELD</bold> - Implemented pick and drop.
1162 </item>
1163 <item>
1164 <bold>EV_TEXT</bold>
1165 <list ordered="false">
1166 <item> Implemented pick and drop.</item>
1167 <item> If not `is_editable' and a `background_color' had been set, it was only used on lines containing text. The `background_color' is now correctly displayed throughout the whole control when not `is_editable'.</item>
1168 <item> Fixed `select_region' which was selecting an incorrect region starting on any line except the first, when the `text' spanned multiple lines.</item>
1169 <item> Fixed `selection_start' and `selection_end' which were incorrect when the selection was not completely contained on the first line.</item>
1170 <item> Fixed `first_position_from_line_number' and `last_position_from_line_number' which were returning incorrect values when the text was wrapped.</item>
1171 <item> Fixed `caret_position' and `set_caret_position' which were incorrect when the text spanned multiple lines, and the caret was not on the first line.</item>
1172 <item> `line_count' now returns the number of lines actually displayed, and not simply the number of newline characters. To query the number of new line characters do :- text.occurrences ('%N')</item>
1173 <item> Fixed bug in `search' which was returning -1 instead of 0 when the text was not found.</item>
1174 </list>
1175 </item>
1176 <item>
1177 <bold>EV_DRAWABLE</bold> - Fixed bug when you performed the following: drew a filled shape, called `set_tile' and then drew another filled shape. The tile would not be used on the second fill.
1178 </item>
1179 <item>
1180 <bold>EV_COLOR_DIALOG</bold> - Querying `color' after a user had canceled the dialog would previously crash a system, if `set_color' had never been called.
1181 </item>
1182 <item>
1183 <bold>EV_COLOR</bold> - Fixed `set_rgb_with_24_bit' which would fail when called.
1184 </item>
1185 <item>
1186 <bold>EV_BUTTON, EV_TOGGLE_BUTTON</bold> - The buttons now correctly display a text, pixmap and background color simultaneously. Previously, the background color was never displayed, and either the pixmap or text would be displayed, not both.
1187 </item>
1188 <item>
1189 <bold>EV_PRINT_DIALOG</bold> - Fixed `set_from_page' and `set_to_page' which were previously not implemented.
1190 </item>
1191 <item>
1192 <bold>EV_LIST</bold>
1193 <list ordered="false">
1194 <item> Fixed a graphical glitch when using `wipe_out' when items were contained that required the horizontal scroll bar to be visible. The scroll bar was not hidden, even though there were no longer any items in the list.</item>
1195 <item> Changing the selection behavior between multiple and single selection would cause the scroll bars to become hidden, even if they were necessary. Changing this status will no longer hide the scroll bars if they are required.</item>
1196 </list>
1197 </item>
1198 <item>
1199 <bold>EV_TOOL_BAR</bold>
1200 <list ordered="false">
1201 <item> Items that were disabled would sometimes become enabled when other properties of the item were set. For example, performing &quot;my_tool_bar_button.disable_sensitive&quot; followed by &quot;my_tool_bar_button.set_text (&quot;Disabled&quot;)&quot; while the button was parented, would result in a sensitive tool bar button. This is now fixed.</item>
1202 <item> If you changed the `text' of a tool bar toggle button during the firing of the `select_actions' of the toggle button, the button would become unchecked as a result. This is now fixed, and changing the text will not stop the button from becoming selected.</item>
1203 </list>
1204 </item>
1205 <item>
1206 <bold>EV_MULTI_COLUMN_LIST</bold> - Changing the selection behavior between multiple and single selection would cause the scroll bars to become hidden, even if they were necessary. Changing this status will no longer hide the scroll bars if they are required.
1207 </item>
1208 <item>
1209 <bold>EV_DYNAMIC_TREE_ITEM</bold> - Calling `set_tooltip' failed and has now been fixed.
1210 </item>
1211 <item>
1212 <bold>EV_TIMEOUT</bold> - Calling `destroy' more than once on a timeout, caused the implementation to crash, and has now been fixed.
1213 </item>
1214 <item>
1215 <bold>EV_TOOLTIPABLE</bold> - Tooltips on primitives were not supporting multiple lines and this has now been fixed. Use %N for a line break.
1216 </item>
1217 </list>
1218 </item>
1219 <item>
1220 <bold>Gtk</bold>
1221 <list ordered="false">
1222 <item>
1223 <bold>EV_SCROLLABLE_AREA</bold> - Items smaller than the area are now positioned correctly.
1224 </item>
1225 <item>
1226 <bold>EV_VIEWPORT</bold>
1227 <list ordered="false">
1228 <item> Widget now works correctly with negative offset values</item>
1229 <item> Item position is now handled correctly on item resize.</item>
1230 </list>
1231 </item>
1232 <item>
1233 <bold>EV_PIXMAP</bold> - All drawing routines now flush immediately to screen.
1234 </item>
1235 <item>
1236 <bold>EV_DIALOG</bold> - Canceling via Enter key is now handled correctly.
1237 </item>
1238 <item>
1239 <bold>EV_LIST</bold> - Fixed selection of selected item when changing from multiple selection to single selection.
1240 </item>
1241 <item>
1242 <bold>EV_MULTI_COLUMN_LIST</bold>
1243 <list ordered="false">
1244 <item> Row height now incorporates spacing pixel to match the implementation of Windows.</item>
1245 <item> Default row height is now slightly larger to be more aesthetically pleasing with smaller fonts sizes.</item>
1246 </list>
1247 </item>
1248 <item>
1249 <bold>EV_CONTAINER</bold>
1250 <list ordered="false">
1251 <item> `set_background_pixmap' now works with repeated parenting.</item>
1252 <item> Radio group unmerging is now handled correctly.</item>
1253 </list>
1254 </item>
1255 <item>
1256 <bold>EV_TEXT_FIELD </bold> - Now vertical alignment is identical to that on Windows, including that for text field descendants.
1257 </item>
1258 <item>
1259 <bold>EV_RANGE </bold> - Now motions events are passing consistent pointer values instead of sometimes skewed ones.
1260 </item>
1261 <item>
1262 <bold>EV_DRAWING_AREA</bold> - Now `focus_in_actions' are called in all circumstances.
1263 </item>
1264 <item>
1265 <bold>EV_TEXT</bold>
1266 <list ordered="false">
1267 <item> `scroll_to_line' is now implemented.</item>
1268 <item> `line_count' and `current_line_number' now handle lines in text widget and not the text itself.</item>
1269 </list>
1270 </item>
1271 <item>
1272 <bold>EV_FIXED</bold> - Now item sizing is correctly handled in all circumstances.
1273 </item>
1274 <item>
1275 <bold>EV_NOTEBOOK</bold> - Now tabs are more aesthetically pleasing.
1276 </item>
1277 <item>
1278 <bold>EV_MENU_SEPARATOR </bold> - Menu Separators are now more prominent.
1279 </item>
1280 <item>
1281 <bold>EV_TOOLBAR_SEPARATOR - </bold>Toolbar Separators are now more prominent.
1282 </item>
1283 </list>
1284 </item>
1285 </list>
1286 <paragraph>
1287 <bold/>
1288 </paragraph>
1289 <heading>
1290 <size>2</size>EiffelStudio 5.2
1291 </heading>
1292 <paragraph>
1293 <bold>Interface modifications</bold>
1294 </paragraph>
1295 <list ordered="false">
1296 <item>
1297 <bold>EV_TEXTABLE</bold> - `align_text_left', `align_text_right' and `align_text_center' have been extracted into a new class, EV_TEXT_ALIGNABLE which inherits EV_TEXTABLE. All previous descendents of EV_TEXTABLE now inherit EV_TEXT_ALIGNABLE, except EV_TREE_NODE, EV_MENU_ITEM, EV_LIST_ITEM and EV_TOOL_BAR_BUTTON
1298 </item>
1299 <item>
1300 <bold>EV_TEXT_COMPONENT</bold> - Now inherits EV_TEXTABLE.
1301 </item>
1302 <item>
1303 <bold>EV_TEXT_ALIGNMENT_CONSTANTS</bold> - New class added to support EV_TEXT_ALIGNABLE.
1304 </item>
1305 <item>
1306 <bold>EV_MENU_ITEM_LIST</bold> - `parent' is now of type EV_ANY, instead of EV_MENU_ITEM_LIST as it did not hold for EV_MENU_BAR. The renaming of `parent' to `old_parent' in EV_MENU_BAR has now been removed.
1307 </item>
1308 <item>
1309 <bold>EV_VIEWPORT</bold> - added `set_item_width', `set_item_height' and `set_item_size'.
1310 </item>
1311 <item>
1312 <bold>EV_TABLE</bold>
1313 <list ordered="false">
1314 <item> redefined `prunable' to `True' and implemented `prune'.</item>
1315 <item> Added the following features - `set_item_span', `set_item_position', `set_item_span_and_position', `area_clear_excluding_widget', `item_row_span', `item_column_span', `item_row_position' and `item_column_position'.</item>
1316 </list>
1317 </item>
1318 <item>
1319 <bold>EV_WIDGET</bold> - Changed type of `focus_in_actions' and `focus_out_actions' 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.
1320 </item>
1321 <item>
1322 <bold>EV_FIGURE</bold> - `proximity_in_actions' and `proximity_out_actions' are now obsolete.
1323 </item>
1324 <item>
1325 <bold>EV_FONTABLE</bold> - `set_font' now sets a copy of the font internally.
1326 </item>
1327 <item>
1328 <bold>EV_TREE</bold> - `ensure_item_visible' and `has_recursively' now take an EV_TREE_NODE as arguments, instead of an EV_TREE_ITEM.
1329 </item>
1330 <item>
1331 <bold>EV_TEXT</bold> - `put_new_line' is now obsolete. Use `set_text (&quot;%N&quot;) instead.&quot;
1332 </item>
1333 <item>
1334 <bold>EV_APPLICATION_ACTION_SEQUENCES</bold> - Added `cancel_actions', fired when a pick and drop is canceled, and `pnd_motion_actions' fired while the pointer moves during a pick and drop.
1335 </item>
1336 <item>
1337 <bold>EV_TREE_NODE_LIST</bold>
1338 <list ordered="false">
1339 <item> `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.</item>
1340 <item> 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.</item>
1341 </list>
1342 </item>
1343 <item>
1344 <bold>EV_DYNAMIC_LIST</bold> - Added `retrieve_item_by_data' and `retrieve_items_by_data'.
1345 </item>
1346 <item>
1347 <bold>EV_ITEM_LIST</bold> - Made `item_by_data' obsolete, as you should now use `retrieve_item_by_data' added in EV_DYNAMIC_LIST.
1348 </item>
1349 <item>
1350 <bold>EV_DIALOG</bold> - Added `is_relative' and defined `is_modal' in this class, instead of inheriting it from EV_WINDOW.
1351 </item>
1352 </list>
1353 <paragraph>
1354 <bold>Bug fixes</bold>
1355 <list ordered="false">
1356 <item>
1357 <bold>Platform independent</bold>
1358 <list ordered="false">
1359 <item>
1360 <bold>EV_FIGURE_POLYLINE</bold> - 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.
1361 </item>
1362 <item>
1363 <bold>EV_TREE and EV_TREE_NODE</bold> - 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.
1364 </item>
1365 <item>
1366 <bold>EV_DYNAMIC_TREE_ITEM</bold> - Fixed invariant violation from EV_ITEM_LIST, when created with `default_create'.
1367 </item>
1368 </list>
1369 </item>
1370 <item>
1371 <bold>Windows</bold>
1372 <list ordered="false">
1373 <item>
1374 <bold>EV_RADIO_BUTTON</bold> - The default minimum height after `default_create' is now enough to display the widget correctly.
1375 </item>
1376 <item>
1377 <bold>EV_CHECK_BUTTON</bold> - The default minimum height after `default_create' is now enough to display the widget correctly.
1378 </item>
1379 <item>
1380 <bold>EV_NOTEBOOK</bold> - When removing a widget from a notebook, it is now visible. Previously, the widget would be hidden.
1381 </item>
1382 <item>
1383 <bold>EV_LIST, EV_MULTI_COLUMN_LIST, EV_TREE</bold> - Fixed `set_foreground_color' and `set_background_color'. Previously, calling these features did nothing.
1384 </item>
1385 <item>
1386 <bold>EV_BOX</bold> - If a widget was not`is_item_expanded', then adding a new widget to the box before that widget would sometimes cause a different widget to become `is_item_expanded'.
1387 </item>
1388 <item>
1389 <bold>EV_TOOL_BAR_RADIO_BUTTON</bold> - The currently selected button in `peers' was unselected when the button was pressed, and not when it was really selected. This bug made it possible to make `selected_peer' Void, which caused an invariant to fail.
1390 </item>
1391 <item>
1392 <bold>EV_LIST_ITEM</bold> - Calling `enable_select' when parented in an EV_LIST now also sets the item as focused in the parent. This corrects bugs in keyboard navigation when selecting an item programatically.
1393 </item>
1394 <item>
1395 <bold>EV_FIXED</bold> - The minimum size is constrained by the positions and sizes of the children (They must be completely displayed), although when the positions of the children were reduced, the minimum allowable size was not recomputed. This meant that the widget would be enlarged when the positions of the children increased, but could never be reduced in size when the positions of the children were decreased.
1396 </item>
1397 <item>
1398 <bold>EV_MENU and EV_MENU_ITEM</bold> - `set_pixmap' has been implemented as previously, it did nothing.
1399 </item>
1400 <item>
1401 <bold>EV_TABLE</bold> - re-implemented resizing calculations to fix numerous problems when children had minimum sizes. The minimum size now also includes the border width when empty.
1402 </item>
1403 <item>
1404 <bold>EV_NOTEBOOK</bold> - `selection_actions' were called when you selected an item through `select_item', even if the item was already selected. `selection_actions' are now only fired when the selection changes.
1405 </item>
1406 <item>
1407 <bold>EV_TREE_ITEM</bold> - calling `set_pixmap' twice successively with the same EV_PIXMAP caused a postcondition failure.
1408 </item>
1409 <item>
1410 <bold>EV_TEXT</bold> - Fixed `put_new_line', although it has been made obsolete, as you should just use `append_text (&quot;%N&quot;) instead.
1411 </item>
1412 <item>
1413 <bold>EV_SPLIT_AREA</bold> - Fixed crash reproducable by inserting an EV_PIXMAP directly into the split area.
1414 </item>
1415 <item>
1416 <bold>EV_CONTAINER</bold> - Fixed `propagate_foreground_color' and `propagate_background_color' which failed when one of the children was a descendent of EV_CELL.
1417 </item>
1418 <item>
1419 <bold>EV_APPLICATION_ACTION_SEQUENCES</bold> - `drop_actions' was being fired even when the pick and drop was canceled.
1420 </item>
1421 <item>
1422 <bold>EV_PIXMAP</bold> - 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.
1423 </item>
1424 <item>
1425 <bold>EV_MENU</bold>
1426 <list ordered="false">
1427 <item> Pruning an EV_MENU_SEPARATOR when one or more EV_RADIO_MENU_ITEM were still contained in the menu would cause occasional crashes.</item>
1428 <item> Previously, when adding an EV_MENU_SEPARATOR, followed by multiple EV_RADIO_MENU_ITEMS, all the items were being selected.</item>
1429 <item> Fixed bug in `destroy' which was causing postcondition failures.</item>
1430 </list>
1431 </item>
1432 <item>
1433 <bold>EV_TITLED_WINDOW</bold> - Fixed a GDI leak, manifesting when a window was destroyed.
1434 </item>
1435 <item>
1436 <bold>EV_DIALOG</bold>
1437 <list ordered="false">
1438 <item> Fixed `is_modal' which was previously always returned `False'.</item>
1439 <item> Fixed bug with `background_color' and `foreground_color' which was not taken into account if the dialog was shown relative or modally to another window.</item>
1440 <item> If a dialog with a default cancel button was displayed using `show', then minimizing the dialog would cause the system to fail internally.</item>
1441 <item> Fix bug in `show_relative_to_window' which would cause any associated menus to be removed.</item>
1442 <item> Fixed bug in `show', as if the dialog had already been shown modelessly to a window, then calling `show' did not show it independently, but still modelessly.</item>
1443 <item> Fixed bug with `show_actions' which would be wiped out if you called `show_modal_to_window' and then `hide'.</item>
1444 <item> `set_pixmap' will now actually display the pixmap, whereas before, no pixmap was displayed.</item>
1445 </list>
1446 </item>
1447 <item>
1448 <bold>EV_TEXT_COMPONENT</bold> - Fixed `text_length' which was returning incorrect value for all descendents.
1449 </item>
1450 <item>
1451 <bold>EV_TEXT</bold> - Fixed `line_count' which was previously returning the correct result + 1.
1452 </item>
1453 <item>
1454 <bold>EV_SCROLLABLE_AREA</bold> - Fixed crash which occurred when you attempted to use `set_x_offset' or `set_y_offset' before the area had been parented or displayed.
1455 </item>
1456 <item>
1457 <bold>EV_FONTABLE</bold> - Fixed bug when `font' was queried, `preferred_families' was not returned correctly, and would always be empty.
1458 </item>
1459 <item>
1460 <bold>EV_CONTAINER</bold> - `set_background_pixmap' was not correctly cloning the image of the pixmap, and the displayed image could then be modified after setting, by changing the image of the original pixmap.
1461 </item>
1462 </list>
1463 </item>
1464 <item>
1465 <bold>Gtk</bold>
1466 <list ordered="false">
1467 <item> Remaining EV_WIDGET memory leaks have been fixed.</item>
1468 <item>
1469 <bold>EV_WIDGET</bold>- Focus in/out actions are now correctly called for widgets that do not occupy their entire space allocation such as EV_TEXT_FIELD.
1470 </item>
1471 <item>
1472 <bold>EV_DRAWABLE_IMP</bold> - Polylines now display correctly on big-endian machines (Sparc, PowerPC).
1473 </item>
1474 <item>
1475 <bold>EV_KEY</bold>
1476 <list ordered="false">
1477 <item> `out' is now correct for all keys (previously Quote and Backquote were incorrect).</item>
1478 <item> The events for all keys are now fired when Shift is held down.</item>
1479 </list>
1480 </item>
1481 <item>
1482 <bold>EV_STOCK_PIXMAPS</bold> - Warning and error pixmaps have been updated.
1483 </item>
1484 <item>
1485 <bold>EV_WINDOW</bold> - `remove_title now' works will all Window Managers.
1486 </item>
1487 <item>
1488 <bold>EV_TITLED_WINDOW</bold>
1489 <list ordered="false">
1490 <item> `propagate_foreground_color' is now fixed in use with pixmaps as children.</item>
1491 <item> `set_maximum_size' now works as expected</item>
1492 <item> `set_minimum_width' now has no effect on Window height.</item>
1493 <item> calls on `minimize' before `launch' now satisfies all assertions</item>
1494 <item> calling `destroy' twice now doesn't fail on precondition.</item>
1495 <item> `set_position' now satisfies post-condition in all situations.</item>
1496 <item> `resize_actions' are now passed the correct values.</item>
1497 <item> `move_actions' are now called correctly.</item>
1498 </list>
1499 </item>
1500 <item>
1501 <bold>EV_NOTEBOOK</bold> - now satisfies invariants when empty.
1502 </item>
1503 <item>
1504 <bold>EV_DIALOG</bold>
1505 <list ordered="false">
1506 <item> Destroy now satisfies all invariants.</item>
1507 <item> Reported memory leaks now fixed.</item>
1508 </list>
1509 </item>
1510 <item>
1511 <bold>EV_LABEL</bold> - Size is now taken from default gtk style size instead of hard coded 10
1512 </item>
1513 <item>
1514 <bold>EV_FONT</bold> - Font caching is now vastly improved in terms of speed.
1515 </item>
1516 <item>
1517 <bold>EV_DRAWABLE</bold> - Calls to `set_font' are now also vastly speeded up.
1518 </item>
1519 <item>
1520 <bold>EV_TABLE</bold>
1521 <list ordered="false">
1522 <item> Memory management is now correct on item removal.</item>
1523 <item> Now setting child's parent correctly</item>
1524 </list>
1525 </item>
1526 <item>
1527 <bold>EV_TREE_NODE</bold>
1528 <list ordered="false">
1529 <item> Fixed all reported issues regarding item insertion and removal.</item>
1530 </list>
1531 </item>
1532 <item>
1533 <bold>EV_CONTAINER</bold> - Fixed remaining issues with radio grouping and merging.
1534 </item>
1535 <item>
1536 <bold>EV_PICK_AND_DROPABLE</bold> - Now drop_actions may destroy `Current' without crash.
1537 </item>
1538 <item>
1539 <bold>EV_TEXT_FIELD</bold>
1540 <list ordered="false">
1541 <item> Now default `minimum_width' is reasonable (before 148, now same as Windows being 4 characters wide)</item>
1542 <item> Fixed `caret_position' when queried in change actions</item>
1543 </list>
1544 </item>
1545 </list>
1546 </item>
1547 </list>
1548 <heading>
1549 <size>2</size>EiffelStudio 5.1
1550 </heading>
1551 <paragraph>
1552 <bold>Interface modifications</bold>
1553 </paragraph>
1554 <list ordered="false">
1555 <item>
1556 <bold>EV_TEXTABLE and EV_TEXT_COMPONENT</bold> - `text' no longer returns Void when empty.
1557 </item>
1558 <item>
1559 <bold>EV_WINDOW</bold> - `title' no longer returns `Void' when empty.
1560 </item>
1561 <item>
1562 <bold>EV_TOOLTIPABLE</bold> - `tooltip' no longer returns `Void' when empty. If empty, no tooltip is displayed.
1563 </item>
1564 <item>
1565 <bold>EV_TITLED_WINDOW</bold> - `icon_name' no longer returns `Void' when empty.
1566 </item>
1567 <item>
1568 <bold>EV_CLIPBOARD</bold> - `text' no longer returns `Void' when empty.
1569 </item>
1570 <item>
1571 <bold>EV_MESSAGE_DIALOG</bold> - `text' no longer returns `Void' when empty.
1572 </item>
1573 <item>
1574 <bold>EV_FILE_DIALOG</bold> - `file_name' no longer returns `Void' when the &quot;Cancel&quot; button was pressed, `Result' is empty instead.
1575 </item>
1576 <item>
1577 <bold>EV_DIRECTORY_DIALOG</bold> - `directory' no longer returns `Void when the &quot;Cancel&quot; button was pressed, `Result' is empty instead.
1578 </item>
1579 <item>
1580 <bold>EV_CONTAINER</bold> - has three new features `set_background_pixmap', `background_pixmap' and `remove_background_pixmap'. `background_pixmap' will be tessellated to cover complete background area.
1581 </item>
1582 <item>
1583 <bold>EV_TREE and EV_TREE_NODE</bold> - Added `recursively_do_all'.
1584 </item>
1585 <item>
1586 <bold>EV_STANDARD_DIALOGS</bold>
1587 <list ordered="false">
1588 <item> `ok_actions' have been renamed in descendents where appropriate. e.g. in EV_PRINT_DIALOG, they are renamed to `print_actions' to match the texts of the associated buttons. Where renamed, `ok_actions' are still available but obsolete.</item>
1589 <item> Selected button now also returns the correct text of the button (Previously it was always &quot;Ok&quot;).</item>
1590 </list>
1591 </item>
1592 <item>
1593 <bold>EV_DIALOG_CONSTANTS</bold> - Added new constants required for the above change to EV_STANDARD_DIALOGS.
1594 </item>
1595 <item>
1596 <bold>EV_DRAWABLE</bold> - `draw_straight_line' now has a precondition to ensure the points are not identical.
1597 </item>
1598 <item>
1599 <bold>EV_SPLIT_AREA</bold> - separated `put' from `extend'. They were defined as synonyms, but have different behavior.
1600 </item>
1601 <item>
1602 <bold>EV_DYNAMIC_TREE_ITEM</bold> - Added `remove_subtree_function'. Item now only shows as expandable if there is a subtree function.
1603 </item>
1604 <item>
1605 <bold>EV_WINDOW</bold> - Added `maximum_dimension' which is the greatest value allowed for `width' and `height'. This is also the default value for `width' and `height'.
1606 </item>
1607 <item>
1608 <bold>EV_OPTION_BUTTON</bold> - This class has been made obsolete. It will be removed at the next release.
1609 </item>
1610 <item>
1611 <bold>EV_PICK_AND_DROPABLE_ACTION_SEQUENCES</bold> - Added `pick_ended_actions' which are called when a pick ends.
1612 </item>
1613 <item>
1614 <bold>EV_WIDGET</bold> - `set_minimum_height', `set_minimum_width' and `set_minimum_size' now all allow 0 as an argument. Previously, 1 was the minimum valid dimension.
1615 </item>
1616 <item>
1617 <bold>EV_MULTI_COLUMN_LIST</bold> - `clear_selection' is now obsolete. Use `remove_selection' instead.
1618 </item>
1619 </list>
1620 <paragraph>
1621 <bold>Bug fixes</bold>
1622 <list ordered="false">
1623 <item>
1624 <bold>Platform independent</bold>
1625 <list ordered="false">
1626 <item>
1627 <bold>EV_FIXED</bold> - Corrected `set_item_height', which was failing.
1628 </item>
1629 <item>
1630 <bold>EV_SELECTABLE</bold> - Corrected postcondition of `is_selected'.
1631 </item>
1632 <item>
1633 <bold>EV_PND_ACTION_SEQUENCE</bold> -- `veto_pebble_function' is now only called when its argument conforms to the transported pebble.
1634 </item>
1635 </list>
1636 </item>
1637 <item>
1638 <bold>Windows</bold>
1639 <list ordered="false">
1640 <item>
1641 <bold>EV_RANGE</bold> - The `maximum_value' could not be set greater than 32,000. The full range of an INTEGER may now be set.
1642 </item>
1643 <item>
1644 <bold>`focused_widget' from `EV_APPLICATION'</bold> - was incorrect if an EV_CONTAINER had just received the focus.
1645 </item>
1646 <item>
1647 <bold>EV_PICK_AND_DROPABLE</bold>
1648 <list ordered="false">
1649 <item> Ending a pick and drop on an EV_TOOL_BAR_BUTTON which has a non `void' pebble no longer starts a transport from the button.</item>
1650 <item> Reduced flicker on cursor when picking from an EV_TREE_ITEM or EV_LIST_ITEM.</item>
1651 <item> `pebble_function' would previously be called twice during a pick and drop.</item>
1652 </list>
1653 </item>
1654 <item>
1655 <bold>EV_FIXED</bold> - Items contained are now drawn correctly dependent on their z order.
1656 </item>
1657 <item>
1658 <bold>EV_DRAWABLE</bold>
1659 <list ordered="false">
1660 <item> `Remove_clip_area' did not remove the clip_area correctly, but set it to the current size. This meant that if you then enlarged the widget, clipping would be applied.</item>
1661 <item> Fixed problems with ordering of calls to certain features which would cause postcondition violations in the implementation.</item>
1662 <item> `draw_pie_slice', `fill_pie_slice' and `draw_arc' now have divide by 0 protection in the implementation.</item>
1663 </list>
1664 </item>
1665 <item>
1666 <bold>EV_TEXT</bold> - `set_background_color' now correctly sets the color of the whole background. Previously only the area containing text was modified.
1667 </item>
1668 <item>
1669 <bold>EV_CLIPBOARD</bold> - Our implementation would sometimes query `text' when not allowed by Windows, thus causing postcondition failures.
1670 </item>
1671 <item>
1672 <bold>EV_BUTTON</bold> - The result of `text_alignment' after default_create was incorrect.
1673 </item>
1674 </list>
1675 </item>
1676 <item>
1677 <bold>Gtk</bold>
1678 <list ordered="false">
1679 <item> Gtk version of Studio released (including Vision2), so no fixes from 5.0</item>
1680 </list>
1681 </item>
1682 </list>
1683 </paragraph>
1684 </paragraph>
1685 </paragraph></document>


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

  ViewVC Help
Powered by ViewVC 1.1.23