[Differential] [Request, 313 lines] D471: Improve error handling by libarchive plugin
rthomsen (Ragnar Thomsen)
noreply at phabricator.kde.org
Wed Oct 28 23:04:19 UTC 2015
rthomsen created this revision.
rthomsen added a reviewer: elvisangelaccio.
Herald added a subscriber: kde-utils-devel.
REVISION SUMMARY
Handle errors when extracting, adding and deleting by emitting the error
signal which makes Part display an error message. Previously, errors
were only output to console.
A new query (ContinueExtractionQuery) was added. This query is used when
an error occurs when extracting an entry to ask the user if the
extraction should be aborted. A checkbox is available to ignore further
errors.
An extra argument was added to copyData() so the filename of the
entry that failed can be output to console.
This commit is partly based on work done by Raphael in RR123832.
Merge branch 'master' into libarchive-error
REPOSITORY
rARK Ark
BRANCH
libarchive-error
REVISION DETAIL
https://phabricator.kde.org/D471
AFFECTED FILES
kerfuffle/queries.cpp
kerfuffle/queries.h
plugins/libarchive/libarchivehandler.cpp
plugins/libarchive/libarchivehandler.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: rthomsen, elvisangelaccio
Cc: kde-utils-devel
More information about the Kde-utils-devel
mailing list