Up to Lgi...
About
Changes:
- [Linux] Fixed GPopup's getting mouse clicks twice.
- Limited the minimum font size in the HTML control to 8 pt because below that the metrics for strings returned by windows have a 4096 offset added to the width. Go figure.
- Fixed the application order of styles to the nodes in the HTML control which corrects some rendering bugs.
- Added some smarts to the p tag handling of borders to give more correct output. Btw the p tag is an evil abomination.
- Added a tag system to the menu resources whereby you can optionally select in and out menus for different builds of the same application. In the resource editor you can specify a list of strings in the tag field of the menu item, and then at runtime pass a list of tags into the GMenu::Load function. If the item has no tag it's always visible, otherwise the tag on the item has to be in the list passed to the Load function to show up at runtime.
- Fixed GLibrary::Load(...) to handle accents in the path.
- Fixed LgiNewConvertCp to handle blocks of text that need iconv that are longer than the built in buffer size.
- Fixed GTextView3::Open to not destroy the return chars in the text before it converts it to unicode thus making conversions from charsets that use the return char possible.
- Fixed the build errors on BeOS Zeta and added the .proj file to build Lgi to the download.
- Made GToolBar more binary compatible across releases.
- Added some user customization support to the GToolBar class. If you pass a ObjProperties instance to it it will allow the user to select which buttons show up. This setting is saved into the property list under the name you supply so that the setting is preserved over sessions.
- Rewrote the LZW decoder to use O(1) memory.
- [Win32] LgiGetAppsForMimeType now supports multiple results.
- [Win32] LgiGetFileMimeType now looks in the MIME type database as well as the extension database.
- [Win32] Fixed GView::AttachChildren from attaching 2 copies if called twice.
- [Win32] Fixed GPopup's not closing when you click on the window decor or another application.
- [Win32] Fixed GFileDevice::CreateDirectory to be unicode safe.
- Added 16-bit/channel support to the png loader. It down converts the pixels to 8 bit/channel during the load. Lgi doesn't support 16-bit/channel internally due to the limitations of the various OS's api's.
- Fixed GList::ResizeColumnsToContent to ignore fixed size columns.
- Fixed the error message reporting in the TIFF loader.
- [Win32] Fixed the d'n'd key flags to be LGI_EF_??? instead of the win32 flags.
- [Win32] Fixed GView::Detach to release the window if it's captured.
- Fixed GDocView not saving the an edited but unnamed document on shutdown.
- Added comment support to the GXmlTree class, fixed parsing of whitespace after the last attribute.
- [Win32] Fixed GProcess::Run(...) to handle full unicode input on Windows NT/2K/XP etc. Under Win9x it handles any characters in the current code page, including accents.
- Ported the resource system over to GXmlTree/GXmlTag, the new DOM tree style XML reader/writer. This initially means that I can add support for more complicated types in lr8 files, but long term I will be able to remove some of the cruft in the resource system and LgiRes. However older lr8 files will need to be made more XML compliant to load in the new parser. If you want more information about updating your old files just email me.
- [Win32] Fixed LgiGetAppsForMimeType to get the order of apps right, also it nows copes a little better with non-default action names.
- Added Value() and Value(int i) functions to GTextView3.
- Fixed the glyph sub system crashing if there is more than 256 fonts in the system.
- Fixed the glyph sub system crashing if there is no font to handle a given glyph.
- Added some more documentation.
- Added a "string pool" option to the GHashTable object to save time and memory for large static hash tables.
- Added caret position get/set to GEdit.
- Added font sensitive GTableLayout control + GUI edit function to LgiRes.