1. 18 Mar, 2016 1 commit
    • Toni Asensi Esteve's avatar
      Solve the problem of Libreoffice not being launched when the user utilizes the... · d51f0d7b
      Toni Asensi Esteve authored
      Solve the problem of Libreoffice not being launched when the user utilizes the "browse archives as directories" mode and double clicks (or presses Enter) on a .odt file, other cases using other kinds of files. Solve a bug searching inside 7z files.
      REVIEW: 127369
      There was the problem of Krusader not launching e.g. Libreoffice when the user utilized the "browse archives as directories" mode and double clicked (or pressed Enter) on a .ods file (because it was really a .zip file, as it happened in other cases). The function
          // returns true if the right unpacker exist in the system
          KRarcHandler::arcSupported(QString type)
      was improved (it has to be improved anyway) and is used so e.g. an .ods file will not be browsed because KRarcHandler::arcSupported() returns false in the case of an .ods file.
      Krusader users, in the "browse archives as directories" mode, were also enabled to browse .odt, .docx, .iso, .ods, .xlsx, etc. files using:
          - in the detailed view: the right arrow key, or the "Browse" action available when pressing the secondary button of the mouse.
          - in the brief view: the "Browse" action available when pressing the secondary button of the mouse.
      Note: In the "browse archives as directories" mode the forementioned "Browse" action does not appear in the case of e.g. a zip file because there's already an "Open" action that accomplishes that objective.
      With those changes one bug was also solved: if e.g. a 7z archive contains a file named "a.txt", the user opens the search tool of Krusader, he specifies that he wants to search for the file "a.txt", he enables the "Search in archives" checkbox, and he clicks on the "Search button" -> now the "a.txt" file is found inside the 7z archive.
      Tests done: Browsed zip, rar, tar, tar.bz2, tar.gz, tar.xz, 7z, odt, docx, iso, ods and xlsx files in Krusader, and opened them externally, using combinations of: the detailed view or the brief view, the right arrow key or the primary button of the mouse (in some cases that action launched an external program) or the secondary button of the mouse (its option "Open" or its option "Browse" when it was available), and having the option "browse archives as directories" enabled or disabled.
  2. 15 Aug, 2015 1 commit
  3. 17 Jul, 2015 1 commit
  4. 23 Jun, 2015 1 commit
    • Simon Persson's avatar
      Fix copying folders out from archive files, in a different way · 5ad78473
      Simon Persson authored
      Alternative fix for commit 60cf3b1d, fix for copy/move folders from archive.
      Change two implementations of vfs_getFile() to not return a url with a slash appended for folders. The normal_vfs already did not do this. And at least one user did not work with this.
      To make things consistent the other option would be to make normal_vfs also append slash for folders. And then fix all users that did not want the slash to remove it again.
      I still don't know if there is any user that needs the slash... it can't be any common operation at least, would have noticed the breakage easily since normal_vfs is the most commonly used.
      The commit that introduced adding a slash mentioned that it was for fixing "following link in sftp", I have tested copying a symlink to a folder over sftp with and without this patch, with patch it gives error message and no file transfer. Without this patch files from within the folder pointed to are copied, which is wrong. I prefer showing error message over copying the wrong files.
  5. 22 Jun, 2015 1 commit
  6. 20 Jun, 2015 3 commits
  7. 10 Jun, 2015 1 commit
    • Simon Persson's avatar
      Port from KLocale to QLocale · e5611747
      Simon Persson authored
      Also update header includes to include KLocalizedString instead.
      Since most code was only using KGlobal to get the KLocale object pointer now was also a good time to remove includes of KGlobal. That meant porting KGlobal::charsets() to KCharset::charsets()  in a few places.
  8. 09 Jun, 2015 1 commit
  9. 29 May, 2015 1 commit
    • Simon Persson's avatar
      Port remaining parts from KUrl to QUrl · 1da1b23f
      Simon Persson authored
      Mostly straight forward porting, using porting script and also manual labour. Either way, it follows the guidelines (doc comments) in kurl.h from KF5.
      Mostly the difficult thing is the change in constructor that takes a QString. Needed to decide for each case if KUrl(QString) construction needed to be replaces with QUrl::fromUserInput or the simpler one, QUrl::fromLocalFile. If there are any regressions that would be likely candidate.
      Also some additional changes that now made sense to do:
      - KChooseDir dialogs: code could be simplified quite a lot, KUrlRequester does everything we needed already.
      - Krusader class, constructor: making sure relative paths are resolved is now done by QUrl anyway, could remove code for that.
  10. 31 Mar, 2015 1 commit
  11. 27 Mar, 2015 1 commit
    • Davide Gianforte's avatar
      [Header Files] Changed header files to Qt5/KF5 · bbf5ddd4
      Davide Gianforte authored
      All header files should refer only to qt5 or kf5; I used full path to have a better
      view of the package containing the single header; at compile time both include flags
      should be given.
      Marked as TODO all header files from KDE4LibsSupport, many of this classes have
      deprecated methods that should be changed with the new from Qt (KUrl -> Qurl and so on).
      For a better readability, I ordered header files in system, then qt, then kde.
  12. 15 Mar, 2014 1 commit
  13. 10 Feb, 2013 1 commit
  14. 29 Mar, 2011 1 commit
  15. 03 Mar, 2010 1 commit
  16. 20 Jun, 2009 2 commits
  17. 15 Jun, 2009 1 commit
  18. 04 Jun, 2009 2 commits
  19. 30 May, 2009 1 commit
  20. 30 Nov, 2008 1 commit
  21. 21 Apr, 2008 1 commit
  22. 30 Jan, 2008 1 commit
  23. 17 Jan, 2008 1 commit
  24. 09 Oct, 2007 1 commit
  25. 24 Sep, 2007 1 commit
  26. 30 Aug, 2007 1 commit
  27. 27 Aug, 2007 1 commit
  28. 26 Aug, 2007 3 commits
  29. 24 Aug, 2007 1 commit
  30. 12 May, 2007 2 commits
  31. 26 Dec, 2006 1 commit
  32. 17 Jul, 2006 1 commit
  33. 22 Feb, 2006 1 commit