1. 10 Dec, 2014 1 commit
    • Jan Grulich's avatar
      Rename archive.h to archive_kerfuffle.h · 00821257
      Jan Grulich authored
      This fixes build of libarchiveplugin, where we need to compile against libarchive, but including <archive.h> always
      found kerfuffle/archive.h and there is no way how to force using /usr/include/archive.h instead.
      
      Reviewed-by: Lukáš Tinkl
      00821257
  2. 13 Nov, 2014 1 commit
  3. 08 Nov, 2014 1 commit
  4. 30 Oct, 2014 2 commits
  5. 15 Oct, 2014 5 commits
  6. 14 Oct, 2014 1 commit
  7. 08 Oct, 2014 6 commits
  8. 02 Oct, 2014 1 commit
  9. 16 Sep, 2014 1 commit
  10. 06 Sep, 2014 1 commit
    • Raphael Kubo da Costa's avatar
      Reset info panel and window caption when an archive fails to open. · 03b6de3c
      Raphael Kubo da Costa authored
      When opening an archive that for whatever reason fails to load (because
      it's corrupt, or an invalid format) the archive appears to be open when
      it is not in fact open. This patch fixes that by resetting the open
      archive, info panel name and window caption.
      
      Patch by Mathias Tillman <master.homer@gmail.com>, thank you!
      
      BUG:      245705
      CCMAIl:   master.homer@gmail.com
      FIXED-IN: 4.14.1
      REVIEW:   120027
      03b6de3c
  11. 30 Aug, 2014 1 commit
  12. 23 Aug, 2014 1 commit
  13. 07 Aug, 2014 1 commit
    • Raphael Kubo da Costa's avatar
      Revert "Allow multiple selection in archiveview" · 4429a4eb
      Raphael Kubo da Costa authored
      The commit being reverted seems to work fine for the ZIP and LHA
      backends, but for libarchive and RAR it can extract files with the wrong
      name, a varying hierarchy depending on which of the selected entries is
      being dragged or sometimes even leave selected entries out.
      
      While it is certainly bad to go back to the previous state, it is worse
      to have this working at varying degrees in each backend, the worst case
      including partial extraction with wrong names.
      
      This reverts commit 52ac4aea.
      
      CCBUG: 187152
      4429a4eb
  14. 06 Aug, 2014 1 commit
  15. 25 Jul, 2014 1 commit
  16. 24 Jul, 2014 1 commit
  17. 14 May, 2014 1 commit
    • Albert Astals Cid's avatar
      Properly stop list jobs on close · acb455da
      Albert Astals Cid authored
      Track running jobs in JobTracker. On its destruction (i.e. UI is going down) we kill and delete (which waits for finishing) those jobs.
      
      Tested with very big tar.gz (libarchive plugin) and .zip (cliplugin) and it closes without crashing now
      
      Acked by rakuco
      BUGS: 193908
      FIXED-IN: 4.13.2
      REVIEW: 118108
      acb455da
  18. 13 Jan, 2014 2 commits
  19. 28 Jul, 2013 1 commit
  20. 27 Jun, 2013 1 commit
    • Raphael Kubo da Costa's avatar
      Add back a few MIME types to ArchiveModel::mimeTypes(). · d180ec0a
      Raphael Kubo da Costa authored
      Fix a regression introduced in commit c79d8db2: some of the MIME types which
      got removed were not bogus at all. While they are not used for _dropping_,
      they are used for _dragging_.
      
      This should make dragging single or multiple files/folders from, say,
      Dolphin to Ark work again.
      
      BUG: 308282
      BUG: 312693
      FIXED-IN: 4.10.5
      d180ec0a
  21. 27 Apr, 2013 1 commit
  22. 07 Feb, 2013 1 commit
  23. 06 Feb, 2013 1 commit
  24. 01 Feb, 2013 1 commit
  25. 31 Jan, 2013 1 commit
  26. 24 Dec, 2012 1 commit
  27. 23 Dec, 2012 1 commit
  28. 26 Aug, 2012 2 commits
    • Raphael Kubo da Costa's avatar
      Fix the build after c79d8db2. · 5982e8d7
      Raphael Kubo da Costa authored
      Include the correct header after switching to auto-generating the D-Bus
      adaptor files.
      
      Thanks to Jure Repinc for the quick report, and pointy hat to me.
      5982e8d7
    • Raphael Kubo da Costa's avatar
      Use a different D-Bus object path for each Ark::Part. · c79d8db2
      Raphael Kubo da Costa authored
      So far, all Ark::Part instances used the same D-Bus object path,
      "/DndExtract", to receive drag'n'drop notifications.
      
      This does not work correctly ever since we started supporting using Ark as
      an embedded KPart (for previewing archived inside Konqueror or Rekonq, for
      example). In this case, the object path is added to the embedder (the
      `konqueror-5654' service, for example). If one previews multiple archives in
      different tabs, multiple calls to QDBusConnection::registerObject() will be
      made and only the first one will succeed, since we are always trying to
      register the same path.
      
      Fixing this involves touching separate parts of the code:
      
       o Use a different object path for each KPart instance, just like
         KateDocument or nsplugin do. We do this by keeping a static counter that
         is incremented each time a KPart is created and is part of the path name.
      
       o Use other, more specific mime types for the data we send when dragging
         out of Ark. So far we used "application/x-kde-dndextract" and passed the
         D-Bus service as its value. We now pass this value in the newly-created
         "application/x-kde-ark-dndextract-service" mime type, and the object
         path, which is now passed to ArchiveModel, in
         "application/x-kde-ark-dndextract-path".
      
       o Also use a more specific interface name in the XML file. While here,
         generate the .cpp and .h files with CMake instead of keeping these
         auto-generated files around for no purpose.
      
       o ArchiveModel::mimeTypes() has been adjusted to indicate the mime types we
         actually use on drag'n'drop. The previous list was mostly bogus, as we
         only use the mime types indicated above.
      
      As it can be seen, applications which support drag'n'drop from Ark also need
      to be adjusted to use the new D-Bus interface. Currently, the applications
      are Dolphin, the Folderview plasmoid and a Stack Folder plasmoid in
      playground. They are all going to be updated accordingly in tandem with this
      commit to both KDE/4.9 and master. Users using SVN/git directly might
      experience some trouble if they update one part but not the other, but there
      is not much we can do in this case.
      
      BUG:		304860
      FIXED-IN:	4.9.1
      c79d8db2