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. 22 Jun, 2015 1 commit
  3. 20 Jun, 2015 1 commit
  4. 19 Jun, 2015 1 commit
    • Simon Persson's avatar
      Fix broken Search dialog · a4c4c662
      Simon Persson authored
      Got broken from porting KUrl to QUrl, did not return any search results. Turns out the KUrlCompletion::replacedPath is a bit stupid, returns either a url or a path depending on if it's a local file or not.
      So we need to have code that figures out if it was stripped of it's protocol or not.
  5. 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.
  6. 09 Jun, 2015 1 commit
  7. 31 May, 2015 1 commit
    • Simon Persson's avatar
      Add Q_DECL_OVERRIDE to all virtual method overrides · 96d03e72
      Simon Persson authored
      Well, at least all virtual method overrides that I could find, there are probably more of them.
      Also correct the few errors detected by this:
      - KrViewer::windowActivationChange... this one existed in Qt 3 but not 4 or 5.
      - Konfigurator::slotButtonClicked.. well, not fixed, just added a TODO comment, will be done when porting away from KDialog.
      - KonfiguratorExtension::connectNotify... signature and implementation ported to Qt 5 now.
      - KRQuery::(dis)connectNotify... signatures and implementations ported to Qt 5 now.
  8. 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.
  9. 28 Mar, 2015 1 commit
  10. 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.
  11. 15 Mar, 2014 1 commit
  12. 22 Sep, 2013 1 commit
  13. 29 Mar, 2011 1 commit
  14. 03 Feb, 2011 1 commit
  15. 01 Aug, 2010 1 commit
  16. 03 Mar, 2010 1 commit
  17. 20 Jun, 2009 1 commit
  18. 15 Jun, 2009 1 commit
  19. 12 Jun, 2009 1 commit
  20. 06 Jun, 2009 1 commit
  21. 04 Jun, 2009 1 commit
  22. 30 May, 2009 1 commit
  23. 20 May, 2008 2 commits
  24. 12 May, 2008 1 commit
  25. 09 May, 2008 1 commit
  26. 04 May, 2008 1 commit
  27. 01 May, 2008 1 commit
  28. 22 Apr, 2008 1 commit
  29. 02 Feb, 2008 1 commit
    • Jonas Bähr's avatar
      forward port KDE3 -> KDE4: FIXED: searcher doesn't always find content in binary files · 1a63a311
      Jonas Bähr authored
      This is last forward port of bugfixes from the KDE3 codebase. We're in sync now with the 1.80.0 release!
      (NB: This is only true for the codebase. The documentation is not yet in sync!)
      CVS reference of the KDE3 change by ckarai:
      *** krquery.cpp 31 Dec 2006 10:06:58 -0000  1.21
      --- krquery.cpp 11 Jul 2007 20:16:45 -0000  1.22
      *** krquery.h 31 Dec 2006 10:06:58 -0000  1.13
      --- krquery.h 11 Jul 2007 20:16:45 -0000  1.14
  30. 17 Jan, 2008 1 commit
  31. 20 Dec, 2007 1 commit
  32. 08 Nov, 2007 1 commit
    • Heiner Eichmann's avatar
      Krusader does not compile on KDE 4 Beta3 anymore · 0627e941
      Heiner Eichmann authored
      List of changes:
      SiImple ones:
      Adding #include <kconfiggroup.h> here and there
      K3Icon::Small -> KIconLoader::Small
      K3Icon::Toolbar -> KIconLoader::Toolbar
      K3Icon::Panel -> KIconLoader::Panel
      K3Icon::Desktop -> KIconLoader::Desktop
      K3Icon::NoGroup -> KIconLoader::NoGroup
      K3Icon::SizeLarge -> KIconLoader::SizeLarge
      KImageEffect::desaturate -> KIconEffect::desaturate
      KImageEffect::toGray -> KIconEffect::toGray
      To be verified:
      KIO::trash(filesUrls, true ) -> KIO::trash(filesUrls)
      KIO::del(filesUrls, false, true ) -> KIO::del(filesUrls)
      KIO::del(filesUrls, false, false ) -> KIO::del(filesUrls, KIO::HideProgressInfo)
      KIO::move(fileUrls,dest, true ) -> KIO::move(fileUrls,dest)
      KIO::copy( *fileUrls, destUrl, true ) -> KIO::copy( *fileUrls, destUrl )
      KIO::link( *fileUrls, destUrl, true ) -> KIO::link( *fileUrls, destUrl )
      KIO::copy( src, dest, showProgressInfo ) -> KIO::copy( src, dest, showProgressInfo?KIO::DefaultFlags:KIO::HideProgressInfo )
      KIO::move( src, dest, showProgressInfo ) -> KIO::move( src, dest, showProgressInfo?KIO::DefaultFlags:KIO::HideProgressInfo )
      KIO::link( src, dest, showProgressInfo ) -> KIO::link( src, dest, showProgressInfo?KIO::DefaultFlags:KIO::HideProgressInfo )
      KIO::get( url, false, false ) -> KIO::get( url, KIO::NoReload, KIO::HideProgressInfo )
      KIO::put( writeURL, permissions, true, false, false ) -> KIO::put( writeURL, permissions, KIO::HideProgressInfo | KIO::Overwrite )
      KIO::file_copy(rightURL, destURL, -1, overWrite || task->overWrite(), false, false ) -> KIO::file_copy(rightURL, destURL, -1, ((overWrite || task->overWrite())?KIO::Overwrite:KIO::DefaultFlags) | KIO::HideProgressInfo )
      KIO::symlink( task->rightLink(), destURL, overWrite || task->overWrite(), false ) -> KIO::symlink( task->rightLink(), destURL, ((overWrite || task->overWrite())?KIO::Overwrite:KIO::DefaultFlags) | KIO::HideProgressInfo )
      KArchiveEntry::symlink() -> KArchiveEntry::symLinkTarget()
      Without knowing, whats going on here:
      new KConfig("data",VIRT_VFS_DB,KConfig::NoGlobals); -> new KConfig(VIRT_VFS_DB, KConfig:: CascadeConfig, "data");
      different KFileItemList (_items) handling
      I guess, KIO::NetAccess::file_move is the same than KIO::NetAccess::move (which in unfortunately deprecated)
      Disabled code (NEED TO BE REWORKED!!)
      KConfigGroup( &config, QString() ).deleteEntry(*it);
  33. 04 Oct, 2007 1 commit
  34. 27 Sep, 2007 1 commit
  35. 24 Sep, 2007 1 commit
  36. 28 Aug, 2007 1 commit
  37. 26 Aug, 2007 3 commits