Commit graph

131 commits

Author SHA1 Message Date
Ivailo Monev
01d1bee274 ark: workaround archive_entry_set_pathname() limitation
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-05 06:51:30 +00:00
Ivailo Monev
bfbaa6fe0a ark: update supported MIME types
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-07 17:28:26 +00:00
Ivailo Monev
cbf29a08cf generic: make changes required for building against Katie
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-25 10:01:00 +00:00
Ivailo Monev
f990a18092 ark: update supported MIME types
nowdays .tar.gz and .tar.bz2 files are recognized as
application/x-bzip and application/x-gzip respectively.
also added application/x-gzip-compressed-tar because
application/x-bzip-compressed-tar is in the list and I
think that's a legacy one but should not hurt.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-29 23:18:43 +02:00
Ivailo Monev
a165a95a57 generic: fix tests after the build system cleanup 2015-09-07 11:20:00 +03:00
Ivailo Monev
c270d80ec8 generic: misc cleanups 2015-09-02 08:54:43 +03:00
Ivailo Monev
f58a4c5452 generic: major build system cleanup 2015-09-02 02:13:50 +03:00
Ivailo Monev
d8a22fda42 generic: optimize png images with optipng 2015-07-26 23:49:06 +03:00
spm
f1d48040a6 generic: misc cleanups 2015-07-26 15:20:13 +03:00
Ivailo Monev
2466ad67cb generic: remove KDE prefix from header inclusions 2015-05-20 20:37:13 +00:00
Ivailo Monev
8f2db8a163 ark: call emitResult() before returning
even when used from the ark app it still locks up, and even if it
was ment to be called only from the ark app it's a shared library
which everyone can use so to this is neccessary anyway.
2015-03-02 08:36:20 +00:00
Ivailo Monev
c135cfa6bf generic: adjust for CMake moc 2015-02-27 11:02:43 +00:00
Ivailo Monev
f9842ce013 ark: handle abosolute path entries properly 2015-02-24 23:31:46 +00:00
Ivailo Monev
6809891811 generic: require KDE 4.14.3 at minimum 2015-01-20 17:31:51 +00:00
Ivailo Monev
9b5dc1e155 ark: adjust for use with the CMake bundled libarchive module 2015-01-04 20:18:15 +00:00
Ivailo Monev
0dddeae117 ark: remove now unnecessary include 2015-01-04 20:14:19 +00:00
Ivailo Monev
e0cee79203 ark: simplify the session restoration logic
Bail out earlier instead of nesting if checks and testing |window|'s
value in different places.
2015-01-04 02:47:25 +00:00
Ivailo Monev
3eb01a3ecd main: Stop leaking pointers when we do not enter the main app loop.
In the cases where we returned before calling KApplication::exec(), we
would end up leaking pointers such as |batchJob|, |window| and
|addToArchiveJob|.

Fix it by explicitly deleting |window| (since we do not have another
QWidget to make it a child of) and making |batchJob| and
|addToArchiveJob| be children of our main KApplication so that we do not
need to explicitly delete them under any circumstances.
2015-01-04 02:46:48 +00:00
Ivailo Monev
7f39b7ec2e ark: normalize all signal connections 2015-01-04 02:45:51 +00:00
Ivailo Monev
f3ad4c778e ark: drop libarchive cmake module and unconditionalize some features
since CMake 2.8.3 (according to Raphael) FindLibArchive module is
bundled with it, to avoid dublication drop the bundled one.

in addition, libarchive does not conditionally define support of
archives and will just bail out if the format is not recognized
thus dropping the ifdef's in the handler
2015-01-04 02:18:10 +00:00
Ivailo Monev
ed5579d05a implement context menu for Ark (backport)
this commits is basicly upstream ed3ea7db and 5805c830 commits
2014-12-21 12:48:25 +00:00
Ivailo Monev
c066f34a88 raise minimum libarchive requirement to 3.0.3 2014-12-11 20:42:19 +00:00
Ivailo Monev
063252de21 fixup zip and 7z archives support
TODO: the format does not get recognized via archive_format() when
called on existing archive created with Ark, what the heck? is it
a libarchive bug (test with git checkout)? if it is then checking
the format in the case when the filter is ARCHIVE_FILTER_NONE with
another switch would do the job without manually checking the
extensions for zip and 7z.
2014-12-11 20:28:11 +00:00
Ivailo Monev
4f8a8a436c cleanup libarchive messages 2014-12-11 14:16:42 +00:00
Ivailo Monev
70f6c32634 drop use cli plugins for 7z and zip as libarchive v3.x.x support them and adjust cmake files to check for new API to be used in v4.x.x 2014-12-11 14:03:50 +00:00
Ivailo Monev
6f9e7b0c15 remove all doxygen pages and add top-level config 2014-12-04 20:46:01 +00:00
Ivailo Monev
5c246a73ae Stop crashing on exit when being used solely as a KPart (upstream cd8ad276) 2014-11-26 00:31:55 +00:00
Ivailo Monev
1e000b6731 removed macro_display_feature_log() calls from cmake sub-directory files 2014-11-24 23:56:50 +00:00
Ivailo Monev
1ac7051989 removed docs 2014-11-22 21:11:47 +00:00
Ivailo Monev
530de69699 fixed libarchive deprecations warnings 2014-11-18 18:06:49 +00:00
Ivailo Monev
07d10d4d4e initial import of ark 2014-11-18 17:46:34 +00:00