From: jeroen <je...@fo...> - 2003-09-18 02:31:40
|
New in this release: * FXTreeList, FXFoldingList API's clearItems(), removeItem() and removeItems() now generate no spurious callbacks:- previously, multiple SEL_CHANGED callbacks were issued while deleting multiple items; now, only a single SEL_CHANGED callback will be generated, at the end of the removal. Also, when deleting items, no reference is being made anymore to deleted item's icons. This caused problems in some cases where FXTreeList's destructor was being called AFTER the icons of the items were already deleted. * FXTreeItem, FXFoldingItem had added API's, isParentOf() and isChildOf() to test parent/child relationship between items. * FXUndoList's FXCommand has new added API, merge(), which allows undo-record merging. Undo records may be merged if (a) merging is allowed, (b) the merge would not span the marked point of the undo-list, and (c) when the merge() function of FXCommand returns TRUE; otherwise, a separate undo record will be added. Also, FXUndoList maintains a flag which indicates whether a command is being executed. This may be examined during the execution of an FXCommand to determine if it is a user-initiated or undo-initiated action. Only in user- initiated actions do new undo records need to be added. * FXSpinner, FXRealSpinned have added get/set methods to specify the number of columns in the text field. * FXMDIChild's close window logic has been finalized; call FXMDIChild's close() member function to close the MDI child window. This will generate one final callback of type SEL_CLOSE to FXMDIChild's target, after which the FXMDIChild will self-destruct. * FXMDIClient's closeDocument() and closeAllDocuments() API's have been removed; instead, we now have more general API's forallWindows(), forallDocuments(), and forallDocWindows(). The API forallWindows() sends a message to all MDI child windows; forallDocuments() sends one message one window of a group of windows sharing the same document. Finally, forallDocWindows() sends a message to all windows of the given document. All these API's stop routing messages at the first unhandled message. * FXMDIChild now forwards messages first to its contentWindow(), then to its target (typically, the "document" in a multiple document interface). * Fixed FXICOIcon and FXICOImage to handle off-spec icons; according to the official documents, ".ico" icons should be 16x16, 24x24, 32x32, 48x48 or 64x64 pixels. FOX now handles arbitrary sizes. * Fixed bug in FXFileStream's position() API:- the file position was not being corrected for the bytes already buffered, causing file-position and stream position to get out of sync. * FXPopup can now take taskbar into account under MS-Windows when popping up. * FXProgressDialog forces repaint when label is being updated; frequently, not only the bar but also the label are being changed while operation is in progress. Updating the label previously required some explicit calls to repaint() and flush(). * Buffer overrun testing added to FXXPMIcon/FXXPMImage input routines. * New function, fxsavePS(), added to allow saving of image data to postscript image file. Both color and grayscale images are supported, as are some paper placement options. * New syntax-coloring engine is being implemented in A.d.i.e. Editor; this work is still in progress, the patterns are currently hardwired for testing purposes, until a new GUI is in place. It is recommended people continue to use the stable version of A.d.i.e. in the FOX 1.0 release for editing tasks. Enjoy! Jeroen -- +----------------------------------------------------------------------------+ | Copyright (C) 18:50 09/17/2003 Jeroen van der Zijp. All Rights Reserved. | +----------------------------------------------------------------------------+ |