1. 12 Mar, 2016 2 commits
  2. 11 Mar, 2016 10 commits
    • Elvis Angelaccio's avatar
      Drop the karchive plugin · 23890030
      Elvis Angelaccio authored
      This plugin has been disabled for months and unmantained for years.
      It is also functionally superseded by the libarchive plugin.
      There was an attempt to fix this plugin (in the karchive-fix branch), but in the end we decided to
      definitely drop it.
      The KArchive framework is still used by the singlefile plugins, so we can't
      drop this dependency as well.
    • Elvis Angelaccio's avatar
      Show a message widget when creating a new archive · f7021823
      Elvis Angelaccio authored
      Without this feedback message, it's hard for the users to figure out that they
      are supposed to add a file, in order to actually create the archive.
      Differential Revision: D1125
    • Ragnar Thomsen's avatar
      libsinglefileplugin: Correct mimetype for gzip · 5b3dc8ba
      Ragnar Thomsen authored
      The default mimetype for gzipped files is application/gzip, not
      application/x-gzip. This caused Ark to fail to open gzipped files.
    • Ragnar Thomsen's avatar
      Add simplearchive.tar.lz test archive · a7bb3b8d
      Ragnar Thomsen authored
      This was suppposed to be added in commit
    • Ragnar Thomsen's avatar
      Add support for lzop-compressed tar archives · 17df27da
      Ragnar Thomsen authored
      Enable readwrite support for lzop-compressed tar archives in libarchive
      This bumps the required version of libarchive to 3.1.0.
      BUG: 211669
      FIXED-IN: 16.04.0
      Differential Revision: D1123
    • Elvis Angelaccio's avatar
      Fix crashing archivetest · 409e2261
      Elvis Angelaccio authored
      As always, we need to check that a plugin has been found.
    • Elvis Angelaccio's avatar
      Improve Archive properties · 3ff03538
      Elvis Angelaccio authored
      This patch adds new properties to the Archive class. We also now use the
      keyword CONSTANT to mark the properties that are not supposed to change during
      the archive lifetime.
      Differential Revision: D1119
    • Ragnar Thomsen's avatar
      Add support for lzipped tar-archives · dea04e27
      Ragnar Thomsen authored
      Support for lzipped tar-archives was enabled in the libarchiveplugin.
      Libarchive creates tar.lz archives. However, the lzip format only has a
      mimetype for single-compressed file (application/x-lzip) and not for
      tar.lz archives. Due to this limitation, a rewrite of CreateDialog was
      needed to be able to modify mimetypes in the filter combobox.
      BUG: 209418
      FIXED-IN: 16.04.0
      Differential Revision: D1098
    • Elvis Angelaccio's avatar
      Fix bug in Archive::setPassword() · 578fc875
      Elvis Angelaccio authored
      If we encrypt the archive, we need to update the isPasswordProtected property
      as well.
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) - always resolve ours · 1b1aa89a
      Script Kiddy authored
      In case of conflict in i18n, keep the version of the branch "ours"
      To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
  3. 10 Mar, 2016 8 commits
  4. 09 Mar, 2016 6 commits
    • Albert Astals Cid's avatar
    • Elvis Angelaccio's avatar
      Enable The Unarchiver plugin · 6e463fa3
      Elvis Angelaccio authored
      With this new plugin Ark gets complete support for RAR archives, thanks to the
      open source The Unarchiver tool.
      This enables distributions to offer RAR support out of the box,
      without requiring their users to install the non-free unrar from third-party repositories.
      The plugin is heavily unit tested and is designed to be used in a
      non-interactive way. This means that the Ark process never has to interact with
      the CLI prompts for passwords or overwrite queries issued by the plugin.
      To do so, a temporary extraction directory is always used.
      FEATURE: 283134
      FIXED-IN: 16.04.0
    • Elvis Angelaccio's avatar
      cliunarchiver: fix extraction regression · f409099e
      Elvis Angelaccio authored
      This was regressed by commit 8fd9487d.
    • Elvis Angelaccio's avatar
      Simplify mimetypes handling · 7595cd79
      Elvis Angelaccio authored
      Now that we have the Archive::mimeType() function, we can use it to return
      directly a QMimeType object, which simplifies a lot many places in the code.
      This also adds the QMimeType::comment() in the properties dialog, since it's
      more user-friendly.
      Differential Revision: D1096
    • Ragnar Thomsen's avatar
      Add properties dialog · 5552a4c9
      Ragnar Thomsen authored
      A properties dialog was added which displays information about the
      archive. The dialog can be accessed through the Archive menu or hotkey
      Differential Revision: D1076
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) - always resolve ours · e82d88b9
      Script Kiddy authored
      In case of conflict in i18n, keep the version of the branch "ours"
      To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
  5. 08 Mar, 2016 3 commits
    • Elvis Angelaccio's avatar
      Port plugins loading to KPluginLoader · 060d23f0
      Elvis Angelaccio authored
      The ark plugins are now ported to the new KPluingLoader loading mechanism.
      The main advantage is that we now save a call to the Syscoca service trader,
      since the plugins are installed in a private 'kerfuffle' subdirectory of the
      system plugins folder.
      In order to be found by KPluginLoader, a plugin has to embed its metadata
      defined in a .json file. We convert the existing .desktop files to .json at build time, when possible.
      Otherwise we use directly .json metadata files (e.g. for clirar or cliunarchiver).
      The libarchive plugin had to be split in two different plugins, one for the
      read-only mimetypes and another one for the read-write ones. This is because
      the old plugin was using two .desktop files, but the new plugins can only embed
      a single .json file.
      For more details, see task T923 on phabricator.
    • Ragnar Thomsen's avatar
      Remove the clilha plugin · 0448eb9d
      Ragnar Thomsen authored
      This is a proprietary cli-program that has no 64-bit binaries and the
      lha format is uncommon/obsolete.
    • Chantara Tith's avatar
      Check if folder exists before adding it to the quick-extract menu · ab7b5188
      Chantara Tith authored
      BUG: 244047
      FIXED-IN: 16.04.0
      Differential Revision: D1087
  6. 07 Mar, 2016 3 commits
  7. 06 Mar, 2016 6 commits
  8. 05 Mar, 2016 2 commits
    • Elvis Angelaccio's avatar
      Create temporary directories on disk and not in RAM · 8fd9487d
      Elvis Angelaccio authored
      Currently CliInterface::copyFiles() creates a temporary directory in /tmp,
      upon extraction of one or more selected files.
      This does not scale well on systems where /tmp is mounted in RAM,
      if the RAM is low or if the archive has huge files.
      With this patch we create the temporary directory on disk.
      We only need to be sure that the temp dir is created on the same disk where the final destination is
      (otherwise we write each (possibly huge) file twice).
      Differential Revision: D720
    • Elvis Angelaccio's avatar
      cliunarchiver: fix opening of header-encrypted archives · ce16543f
      Elvis Angelaccio authored
      If the archive is header-encrypted and the password is wrong,
      Ark shows an empty archive, without any warning to the user.
      With this patch we check the return code of lsar, which is going to be 1 if the password is
      wrong, so that we can warn the user as expected.