[Differential] [Request, 176 lines] D2987: Detect compression method
rthomsen (Ragnar Thomsen)
noreply at phabricator.kde.org
Sat Oct 8 17:27:31 UTC 2016
rthomsen created this revision.
rthomsen added a reviewer: elvisangelaccio.
rthomsen set the repository for this revision to rARK Ark.
rthomsen added a project: Ark.
Restricted Application added a subscriber: kde-utils-devel.
REVISION SUMMARY
A new property was added to Archive to store detected compression method(s). Currently, it's only displayed in PropertiesDialog, but the plan is to also use it to select a sane default compression method when adding files to an existing archive. Code was added to all plugins for detecting the compression method(s) when opening an archive and a signal added to ReadOnlyArchiveInterface to set the property.
Many archive types support multiple compression methods in same archive, so the property is a QStringList.
TEST PLAN
Open various archive types and check that the correct compression method is shown in PropertiesDialog.
REPOSITORY
rARK Ark
REVISION DETAIL
https://phabricator.kde.org/D2987
AFFECTED FILES
kerfuffle/archive_kerfuffle.cpp
kerfuffle/archive_kerfuffle.h
kerfuffle/archiveinterface.h
kerfuffle/propertiesdialog.cpp
kerfuffle/propertiesdialog.ui
plugins/cli7zplugin/cliplugin.cpp
plugins/cli7zplugin/cliplugin.h
plugins/clirarplugin/cliplugin.cpp
plugins/cliunarchiverplugin/cliplugin.cpp
plugins/clizipplugin/cliplugin.cpp
plugins/clizipplugin/cliplugin.h
plugins/libarchive/libarchiveplugin.cpp
plugins/libarchive/libarchiveplugin.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: rthomsen, elvisangelaccio
Cc: kde-utils-devel, tctara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20161008/43de64de/attachment.html>
More information about the Kde-utils-devel
mailing list