1. 09 Apr, 2021 1 commit
    • Nicolas Fella's avatar
      Add missing KConfig linkage · 5020ac6a
      Nicolas Fella authored
      This happens to work because we link against KIO which has KConfig in
      its public interface, but we better not rely on that.
      5020ac6a
  2. 27 Jun, 2017 1 commit
    • Elvis Angelaccio's avatar
      Test whether we preserve permissions upon extraction · 4738a299
      Elvis Angelaccio authored
      The new test cases revelead the following bugs:
      
          FAIL!  : ExtractTest::testPreservePermissions(test preserve 0664 permissions (7z, kerfuffle_cli7z)) Compared values are not the same
          FAIL!  : ExtractTest::testPreservePermissions(test preserve 0664 permissions (tar.gz, kerfuffle_libarchive)) Compared values are not the same
          FAIL!  : ExtractTest::testPreservePermissions(test preserve 0755 permissions (zip, kerfuffle_libzip)) Compared values are not the same
          FAIL!  : ExtractTest::testPreservePermissions(test preserve 0664 permissions (zip, kerfuffle_libzip)) Compared values are not the same
          FAIL!  : ExtractTest::testPreservePermissions(test preserve 0664 permissions (zip, kerfuffle_cli7z)) Compared values are not the same
      
      In the libzip case, we need to retrieve the permissions from the
      extended file attributes.
      
      CCBUG: 381499
      4738a299
  3. 06 Nov, 2016 1 commit
  4. 24 Oct, 2016 1 commit
    • Elvis Angelaccio's avatar
      Split extracttest · 126220d3
      Elvis Angelaccio authored
      This moves testProperties(), which is not related to extraction,
      in a dedicated test executable.
      
      GIT_SILENT
      126220d3
  5. 15 Aug, 2016 1 commit
  6. 16 Jul, 2016 1 commit
    • Ragnar Thomsen's avatar
      Implement a custom AddDialog · 07269ec7
      Ragnar Thomsen authored
      This diff implements an AddDialog class that is used instead of
      QFileDialogs for adding files/folders to an archive. Now both folders
      and files are added to an archive with a single action in Part, instead
      of two separate actions (Add File/Add Folder).
      
      AddDialog has a button which opens a new dialog that allows setting
      advanced compression settings (currently only compression level). Since
      compression options are used both when creating a new archive and adding
      files to an existing archive, a new class called
      CompressionOptionsWidget was created which is used by both AddDialog and
      CreateDialog.
      
      Differential Revision: D2120
      GUI:
      07269ec7
  7. 15 Apr, 2016 1 commit
  8. 06 Apr, 2016 1 commit
  9. 16 Mar, 2016 1 commit
  10. 05 Mar, 2016 1 commit
  11. 28 Feb, 2016 1 commit
  12. 27 Feb, 2016 1 commit
  13. 20 Oct, 2015 1 commit
    • Elvis Angelaccio's avatar
      Introduce unit test for mimetypes detection · 11c94a48
      Elvis Angelaccio authored
      The static function determineMimeType() defined in archive_kerfuffle.cpp is a good candidate to be unit tested.
      To do so, we need to make it visible from the outside.
      
      Differential Revision: D431
      11c94a48
  14. 20 Jul, 2015 1 commit
  15. 11 Jan, 2015 1 commit
  16. 15 Jan, 2012 2 commits
  17. 23 Oct, 2011 1 commit
    • Raphael Kubo da Costa's avatar
      kerfuffle: Add a hack to make it work with QJson stable and master. · 12eca741
      Raphael Kubo da Costa authored
      As some people know, since August qjson master has changed
      QJSON_LIBRARIES and QJSON_INCLUDE_DIR to qjson_LIBRARIES and
      qjson_INCLUDE_DIR.
      
      While the fix I sent for this is not merged, this hack makes the unit
      tests work with both QJson stable and master by checking both casings
      and choosing the one that exists.
      
      Consider this a follow-up to commit
      92ddcf1a.
      12eca741
  18. 18 Sep, 2011 1 commit
  19. 22 Aug, 2011 1 commit
  20. 11 Jul, 2011 1 commit
    • Raphael Kubo da Costa's avatar
      Move the JSON parsing code to a separate class. · 2cc215fb
      Raphael Kubo da Costa authored
      Besides splitting the code a little bit and having some typedefs that make the
      code cleaner, this is a first step towards being able to use the parser in
      other classes (this is particularly useful once there are tests for
      cliinterface).
      
      Additionally, we stop compiling jsonarchiveinterface.cpp with every test, as it
      is stupid. Instead, we now create a library and link to it.
      
      svn path=/trunk/KDE/kdeutils/ark/; revision=1240916
      2cc215fb
  21. 14 Jun, 2010 1 commit
  22. 07 Jun, 2010 1 commit
  23. 17 Feb, 2010 1 commit
  24. 16 Feb, 2010 2 commits