digiKam digest - 2009-07-05

Interesting things which happened last week:

  • Continuing work on copyright templates.
    • template-window.png
    • rights-panel.png
  • Relentless hunting for optimizations.
  • Fixing bugs with multiple languages support in metadata.
  • Improvements in handling of remote collections.
  • Release of 1.0-beta2.
    • version-1b2.png

    Bug/wish table

    Opened bugs Opened last week Closed last week Change Opened wishes Opened last week Closed last week Change
    digikam235+12-13-1274+0-1-1
    kipiplugins106+1-9-8148+0-00

    Full tables:


    NEWS reports

    Issues closed last week (note: due to different methodologies numbers may not add up with table above)

    digiKam

    +digiKam 1.0.0-beta3 - Release date: 2009-xx-xx + +BUGFIXES FROM KDE BUGZILLA (alias B.K.O | http://bugs.kde.org): + +001 ==> + +********************************************************************************************************* +digiKam 1.0.0-beta2 - Release date: 2009-07-05 + +NEW FEATURES: + +General : Added support of Metadata Template to set easily image copyright. +055 ==> 197868 : digiKam crashes on startup (digikam-0.10.0-2/x86_64/Archlinux). +056 ==> 196686 : Iconview (Qt4 Model/View based) : Select multiple images with Ctrl + Mouse not working anymore in 1.0.0-beta1. +057 ==> 197961 : Cameragui freezes digikam when starting to download images from camera. +058 ==> 197445 : digiKam freezes while attempting to import images from canon powershot a540. +059 ==> 198067 : digiKam does not show any pictures. +060 ==> 186638 : Canon 450D import issues. +061 ==> 195809 : Radio buttons in "Search Group" "Options" in "Advanced search" dialog do not show selection status. +062 ==> 177686 : Menu text is invisible. +063 ==> 198509 : Tagging by drag and drop not possible anymore. +064 ==> 198531 : Compilation error in libpgf [PATCH]. +065 ==> 198530 : Compilation error in imagecategorizedview.cpp. +066 ==> 139361 : Templates for meta data. +067 ==> 175923 : digiKam uses wrong album root path/wrong disk uuid. +068 ==> 185065 : Image editor loads new image without being asked to. +069 ==> 188017 : Video colours inverted after digiKam started. +070 ==> 194950 : digiKam endlessly spewing text to stderr. +071 ==> 189080 : Comments not saved with digikam 0.10.0 on KDE 4.2.2. +072 ==> 198868 : Pictures are not displayed in the main view i just can see them in the batch menu.

    Kipi-plugins

    +Kipi-plugins 0.5.0 - Release date: xx/xx/2009 +001 ==> PrintWizard : 188426 : Add support for 2-1/3" x 3-1/3" pictures +001 ==> PrintWizard : 162085 : digiKam freezes while printing. +002 ==> HtmlExport : 196890 : "Next" button on first wizard page is initially disabled +003 ==> FlickrExport : 180055 : Can't create new photoset: Invalid primary photo id (n). +004 ==> FlickrExport : 192541 : Name based Flickr set selection is ambiguous [patch]. +005 ==> TimeAdjust : 180244 : Timeadjust is not building on mac os x leopard. +006 ==> SendImages : 169952 : Pictures on nfs-drive crashes digiKam when i send picture as mail.

    Selected commits

    SVN commit 988913 by cgilles: use frame around template settings 1 file changed
    SVN commit 988924 by aclemens: Do not call methods in the forloop that will return the same value anyway. It's enough to call them once and use the resulting values in the forloop. updatePixmap becomes a little bit faster this way, I can not notice this by just "looking" at it, but callgrind tells me so :-) 1 file changed
    SVN commit 989104 by aclemens: Gilles, I would suggest to use this layout. It looks better in setup template, don't you think? The other version is too stretched, and the copyright one is wider than the useTerms widget. Just revert it if you don't like it ;-) Andi 1 file changed
    SVN commit 989070 by aclemens: Use copy instead of creating an tmp image and crop it. Seems to be a little bit faster (according to callgrind). 1 file changed
    SVN commit 989067 by aclemens: Performance again: Save some method calls to convertToPixmap. We don't need this every time for the previewGrayOverlay, only in the resizeEvent. Also use a pixmap instead of an DImg for previewGrayOverlay 1 file changed
    SVN commit 989063 by aclemens: More performance: Don't draw the gray overlay every time a mouse event occurs. Creating the overlay in the resizeEvent is enough. This greatly improves the imageselectionwidget on my machine. 1 file changed
    SVN commit 989100 by cgilles: use template viewer in new tab from Caption & Tags sidebar 3 files changed
    SVN commit 989154 by aclemens: Adjust size to fit items and icons in the combobox widget 1 file changed
    SVN commit 989239 by mwiesweg: Use a radio button and a separate QLabel, which only is styled, to workaround styling problems (white color of text is reused for indicator in radio button circle) BUG: 195809 2 files changed
    SVN commit 989198 by mwiesweg: There are a few strategic places where a chunk memory is allocated the size of which was read from an image file. By trying to load a very big image or an image with a corrupt header the allocation may fail, leading to std::bad_alloc thrown and abort() called. Wrap these allocations in try { } catch (std::bad_alloc) in the hope of converting such crashes into mere failures. CCBUG: 188334, 190593, 197254 11 files changed
    SVN commit 989370 by cgilles: new class DTextBrowser 1 file changed
    SVN commit 989476 by cgilles: apply alternative language string contents when Add or Replace buttons are pressed 1 file changed
    SVN commit 989530 by aclemens: fix some layout issues. 6 files changed
    SVN commit 989673 by aclemens: To avoid flickering while reading the settings of the RatioCropTool, we need to change the constructor of the ImageSelectionWidget a little bit. We need a flag that turns off selection drawing, and it needs to be set during construction, a simple setter call is not enough. CCBUG:197386 3 files changed
    SVN commit 989672 by aclemens: Read settings correctly, but now the selection widget is flickering again. I need to add some mechanism to avoid this. CCBUG: 197386 1 file changed
    SVN commit 990064 by mwiesweg: Add a method to change the identifier of an existing album root 2 files changed
    SVN commit 990065 by mwiesweg: Combined commit: 1) Fix the problem of breaking kioslaves by clearing the collection manager. clear() would instantiate DatabaseAccess() for the first time and thus cause the call to refresh() that was supposed to happen only after clear(). Calls are now disentangled 2) Preliminary code for solving the problem of changed UUIDs of hard-wired collections (175923) 3 files changed
    SVN commit 990109 by aclemens: A little speed improvement: we call getPixelColor() a lot of times in some filters, especially when running over the whole image data. To save us from a lot of method calls, query the appropriate values directly instead of using the getter methods. This saves a lot of calls and some computation time, according to callgrind, for example in the simple sharpen filter. 1 file changed
    SVN commit 989849 by cgilles: add template viewer to Assign Template Batch Tool 2 files changed
    SVN commit 990123 by mwiesweg: TypeId of Xmp LangAltValue is Exiv2::langAlt, not Exiv2::xmpAlt CCBUG: 139361 1 file changed
    SVN commit 990146 by cgilles: pass unregistered template data to template editor 1 file changed
    SVN commit 990139 by cgilles: Pass unregistered template data to Caption and tags to be able to see template contents as well. Still TODO : make a easy way to registered unknown template data in digiKam collection. CCBUGS: 139361 1 file changed
    SVN commit 990277 by aclemens: Some more performance improvement: do not use getters here. The sharpen filter has become a little bit faster now (release build). 1 file changed
    SVN commit 990274 by aclemens: A little speed improvement: we call setPixelColor() a lot of times in some filters, especially when running over the whole image data. To save us from a lot of method calls, query the appropriate values directly instead of using the getter methods. This saves a lot of calls and some computation time, according to callgrind, for example in the simple sharpen filter. I tested this with release build and thought that the getters will be used inline, but somehow they were not. So using the members directly instead of calling the getters seems to be necessary. 1 file changed
    SVN commit 990542 by mwiesweg: Implement automatic migration for a case when a "hard-wired" collection is no longer found. This may happen if the user restores a backup, changes the file system etc. In this case, we scan the available volumes for migration candidates, where the old relative path exists. These candidates are presented for choice. In the most common case (one data partition, UUID changed) there will be exactly one candidate here. The second option is to mark a collection as removable, if autodetection failed or the user likes to use his screwdriver a lot. Third option is to do nothing ("I would like to solve the problem later using the setup dialog"). In this case, however, the message will just popup at every startup. BUG: 175923 2 files changed
    SVN commit 990541 by mwiesweg: Add a method to retrieve a user-presentable yet technical description of a given identifier (relative path, UUID or volume label). Change API of migrationCanditates to be more friendly, dump QPair. 2 files changed
    SVN commit 990841 by cgilles: Start kipi-plugins 0.5.0 : DNG converter : update MD5 and XMP sdk to last release from Adobe. Next stage, update DNG sdk. CCMAIL: ahuggel@gmx.net 46 files changed
    SVN commit 990800 by cgilles: update MD5 code from last XMP sdk 1 file changed
    SVN commit 990986 by mwiesweg: Check that the newly created QImage is not null, which may happen if memory allocation fails. CCBUG: 197254 1 file changed
    SVN commit 991005 by mwiesweg: Part B of the problem: Do not call updateScrollBars after layoutChanged(); everything is invalid! Fix possible crash from Part A's solution. 2 files changed
    SVN commit 990995 by mwiesweg: Part A of the problem: Try to preserve selection across layoutChanged(). Simply store one persistent index and one row number to indicate where about the selection was before the layout change. That's not perfect but simple and works for most cases. CCBUG: 193422 1 file changed
    SVN commit 991317 by mwiesweg: Add support for Iptc Core XMP field "CreatorContactInfo", which is a structure of eight fields, to DMetadata and Database classes 9 files changed
    SVN commit 991399 by mwiesweg: Move IptcCore info classes from template.h to metadatainfo.h Use "ProvinceState" not "stateProvince" 5 files changed
    SVN commit 991398 by mwiesweg: Add method to delete an entry in ImageProperties 2 files changed
    SVN commit 991402 by mwiesweg: Add a class ImageExtendedProperties that handles the remaining IPTC Core properties that dont fit well into other places. Implement IptcCoreLocation reading/writing in DMetadata. 6 files changed
    SVN commit 991432 by nlecureuil: Add support for 2-1/3" x 3-1/3" pictures CCBUG:188426 CCMAIL:anaselli@linux.it 1 file changed
    SVN commit 991481 by nlecureuil: Fix selection list (Next button ) in the HTML exporter thanks to Michael G. Hansen BUG:196890 CCMAIL:mhansen@mghansen.de 1 file changed
    SVN commit 991511 by cgilles: use tab widget here. later we will tabs to host more template properties 1 file changed
    SVN commit 991484 by nlecureuil: Fix creation of photoset ( Patch from Pieter Edelman and enhanced by James Vega ) BUG:180055 BUG:192541 CCMAIL:vega.james@gmail.com CCMAIL:p.edelman@gmx.net 6 files changed
    SVN commit 991529 by nlecureuil: add feature 188426 in NEWS 1 file changed
    SVN commit 991526 by cgilles: add rules to use gcc4.4 1 file changed
    SVN commit 991767 by mwiesweg: Take into account that a NULL value will prevent a UNIQUE restriction taking effect. 1) In ImageComments, treat an empty author like a null author 2) When upgrading - there will still be users upgrading from 0.9, work around it by deleting all affected entries before upgrading the image comments from the old db Users already affected by this bug need to solve it manually as outlined in the bug report. BUG: 189080 3 files changed
    SVN commit 991866 by cgilles: prepare 1.0.0-beta2 1 file changed