[Digikam-devel] [Bug 246938] Extension aware rename (maintain raw file and jpg association by basename)

Andi Clemens andi.clemens at gmx.net
Sun Aug 8 14:14:17 BST 2010


https://bugs.kde.org/show_bug.cgi?id=246938


Andi Clemens <andi.clemens at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Andi Clemens <andi clemens gmx net>  2010-08-08 15:14:16 ---
SVN commit 1160586 by aclemens:

Add new class AdvancedRenameManager that holds information about files to be
renamed.
Before this class renaming was done by parsing one file after the other, so the
renaming options and modifiers had no information about already parsed files
and how many files there will be renamed in general.

For extension aware numbering it is important to know all files that should be
parsed.
In the future this class will maintain the whole parsing process. Right now it
is just a "hack" to get things done, but to integrate it better into digiKam,
a lot of code needs to be changed, especially in CameraUI and BQM.
I don't have too much time at the moment, so this is the result :-)

At least it works fine here.

This commit also fixes some other problems:

- BQM: when using the "Convert to..." options, file information could not be
  read, like camera name and metadata in general. This should be fixed now, BUT
  you are not able to modify the file extension in BQM (e.g. upper- or
  lowercase).

- Date information was sometimes not available in CameraUI.

BUG:246938

 M  +4 -3      CMakeLists.txt  
 M  +120 -222  tests/advancedrenametest.cpp  
 M  +2 -8      tests/advancedrenametest.h  
 M  +22 -11    utilities/advancedrename/advancedrenamedialog.cpp  
 A             utilities/advancedrename/advancedrenamemanager.cpp   [License:
GPL (v2+)]
 A             utilities/advancedrename/advancedrenamemanager.h   [License: GPL
(v2+)]
 M  +0 -13     utilities/advancedrename/advancedrenamewidget.cpp  
 M  +0 -5      utilities/advancedrename/advancedrenamewidget.h  
 M  +9 -16     utilities/advancedrename/common/parser.cpp  
 M  +1 -1      utilities/advancedrename/common/parser.h  
 M  +3 -7      utilities/advancedrename/common/parsesettings.h  
 M  +37 -1     utilities/advancedrename/parser/options/cameranameoption.cpp  
 M  +2 -4      utilities/advancedrename/parser/options/dateoption.cpp  
 M  +39 -9     utilities/advancedrename/parser/options/sequencenumberoption.cpp 
 M  +7 -0     
utilities/advancedrename/parser/options/sequencenumberoptiondialogwidget.ui  
 M  +33 -12    utilities/cameragui/cameraiconview.cpp  
 M  +37 -19    utilities/cameragui/renamecustomizer.cpp  
 M  +3 -0      utilities/cameragui/renamecustomizer.h  
 M  +36 -11    utilities/queuemanager/queuelist.cpp  
 M  +7 -0      utilities/queuemanager/queuesettingsview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1160586

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list