Greg and I began testing VISTA with non-privileged logons, and discovered a bug either in VISTA or in IMT, which presumably affects other apps too. When you try to save a file to a location where you don't have write permissions, the save operation fails silently; no error message comes back. The Modified setting remains true, so you can't close the document without being prompted; nevertheless, this is a serious issue. Look into this and make sure the apps show an appropriate error message when a save fails due to lack of privilege on VISTA.
Integrated the Nuvola image dll to provide GUI images for the application in a way which is more compliant with the LGPL under which Nuvola is released, and also allows us (or anyone else) to use the same code and images in non-open-source projects if we wish. Built a new version (1.4.0.6), updated the documentation in the source file archives, built an installer, tested, and released the version.
Completed Feb 6: Having determined that the Nuvola icons, released under the LGPL, are better integrated into a project by building them into a separate dll, I've now done that work (at home, as part of a personal project). This dll approach should be integrated into the IMT and Transformer, so that both apps continue to benefit from the work I'm doing at home, which is expanding the library considerably.
...and updated the Website info, feature list, roadmap etc.
...as specified in the task created yesterday.
...so that it calls the abstracted function CreateWebView, so no code is duplicated.
Done on Jan 31.
Created a routine for building the Web view output, then packaging it in a zip file. This involved abstracting some of the existing aCreateWebViewExecute routine, which is tied to a TTntAction; that routine should now be rewritten as a wrapper which calls the new function (after some setup). Added that as a task; need to do that while the code is still fresh in my head.
I've been having increasing trouble getting the 16x16 images to display correctly in menus; it seems that the images are too small for the transparency blending functions to work properly, and images end up with fuschia backgrounds, or grey ones. Finally, I switched the menu image list over to the 24x24 images, which solved the problem once and for all. For the record, these are the settings that should work for the Images subproperties in TTntMainMenu:
- BkColor: clNone
- BlendColor: clNone
- DrawingStyle: dsNormal
- ImageType: itImage
- Masked: True
Completed the function requested by Claire for importing categories from an existing file. I ended up taking a slightly different approach from the one I'd predicted: I now create a TIMTDoc object to read the file, which is simpler than creating a standalong TAnnCatList. Since this TIMTDoc is not linked to any TImgView32 component (it's only used for manipulating data), I created it passing nil for the image component; this necessitated adding a check when freeing it, because it attempts to clear the layers of the image component during its Empty method. That was the only change necessary, though.
Fixed this bug by adding an if clause to web_view.xsl which prevents output of a category header in the menu if there are no associated annotations.