1. 07 Jan, 2022 1 commit
  2. 06 Jan, 2022 5 commits
  3. 05 Jan, 2022 7 commits
    • Nate Graham's avatar
      mtp: make error more actionable · 983069a0
      Nate Graham authored
      This error message is already quite good, but can be made even better by
      explicitly mentioning the need to allow access, which is typically done
      by tapping "Allow" on the popup that appears on the device's screen when
      you plug it in.
      983069a0
    • Fabian Vogt's avatar
      sftp: Don't compare size_t against -1 · 39e7c05f
      Fabian Vogt authored
      readChunks returns an int, use const auto instead of size_t to be able to
      compare against -1.
      39e7c05f
    • Fabian Vogt's avatar
      sftp: Allow compression if necessary · c5a9722d
      Fabian Vogt authored
      Specifying only "none" as compression method causes the exchange to fail if
      the server doesn't support "none".
      
      Use the same options as OpenSSH does by default. The Compression=yes/no option
      in the config file overrides them if specified.
      
      Setting the options explicitly can be dropped in the future after libssh
      adjusts its built-in defaults.
      c5a9722d
    • Harald Sitter's avatar
      mtp: kdirnotify on device changes · a41d3438
      Harald Sitter authored
      this causes the kdirmodel in the UIs to reload when devices change and
      thus pick up changes without having to hit f5
      
      removal is on a 5s delay because removing causes the models to switch
      out of the directory, so we must only emit removal after we are sure the
      device disappeared rather than temporarily getting reconnected with
      storages
      a41d3438
    • Harald Sitter's avatar
      mtp: move checkurl to return an enum · 4726f891
      Harald Sitter authored
      one can but wonder why that was an int to begin with :(
      4726f891
    • Harald Sitter's avatar
      mtp: drop unused redirect argument · 7452aaff
      Harald Sitter authored
      this is always true and never called with false, it serves no purpose
      but increasing complexity
      7452aaff
    • James John's avatar
      Refresh MTP Storage list · c345fd2e
      James John authored and Harald Sitter's avatar Harald Sitter committed
      MTP storage needs to be real-time. After storage permission is
      allowed, storage count is still empty, causing you to relaunch
      Dolphin to be able to access devices.
      
      I have been having this issue for as long as I can remember.
      This commit is refreshing device list before querying device list
      in case new device information has arrived. This ensures we always
      have the latest storage information.
      c345fd2e
  4. 21 Dec, 2021 1 commit
  5. 20 Dec, 2021 1 commit
    • Harald Sitter's avatar
      smb: list printers · 0bb11925
      Harald Sitter authored
      using a vendor specific mimetype and 0x0 access (the thing can't be
      edited!) and with explicit erroring when trying to stat (which should
      for the most part prevent KIO from opening the file by doing a mimetype
      test on it)
      
      this facilitates smb browsing of printers in printer-manager as it can
      simply filter for the vendor mimetype now
      0bb11925
  6. 15 Dec, 2021 1 commit
  7. 14 Dec, 2021 2 commits
  8. 29 Nov, 2021 1 commit
  9. 28 Nov, 2021 1 commit
  10. 24 Nov, 2021 1 commit
  11. 23 Nov, 2021 1 commit
  12. 20 Nov, 2021 1 commit
    • Alexander Lohnau's avatar
      Allow loading of Thumbnailers using embedded json metadata · fc086a65
      Alexander Lohnau authored
      This way thumbnailer plugins don't need to be loaded using the KServiceTypeTrader
      mechanism, but can use embedded json metadata.
      KServiceTypeTrader is planned to go away in KF6.
      
      This also simplifies the code once the KServiceTypeTrader code path is dropped, because
      we can then load the metadata from the binary path and don't have to use
      KServiceTypeTrader to get the desktop file for the given binary.
      
      By using KPluginInfo to convert the metadata to json on the fly, we don't need to
      do another query for the file on disk and then a reparsing of the desktop file.
      This is ~2.5 times slower and even requires a few more lines to implement.
      
      Counterpart of frameworks/kio!630
      
      Task: https://phabricator.kde.org/T12179
      fc086a65
  13. 09 Nov, 2021 1 commit
  14. 08 Nov, 2021 1 commit
  15. 03 Nov, 2021 1 commit
  16. 22 Oct, 2021 1 commit
  17. 20 Oct, 2021 1 commit
  18. 19 Oct, 2021 2 commits
  19. 16 Oct, 2021 1 commit
    • Ahmad Samir's avatar
      kio_filenamesearch: fix crash due to KCoreDirLister changes · c3d52ebe
      Ahmad Samir authored
      Error reporting was changed in KCoreDirlister, to match the original behaviour
      we need to explicitly disable auto error handling.
      
      This fixes a crash while searching in Dolphin, kio_filenamesearch intrenally
      uses a dirlister, and a nested event loop, if there is an error while listing
      some dir it tries to report it using a job ui delegate, but the parent job
      could well be dead by that time, which causes a crash:
      "QWidget: Cannot create a QWidget without QApplication"
      
      Note that this crash only happens if KDE_FORK_SLAVES is _not_ set.
      
      BUG: 438187
      FIXED-IN: 21.08.3
      (cherry picked from commit 5dff395e)
      c3d52ebe
  20. 14 Oct, 2021 2 commits
    • Harald Sitter's avatar
      SCM_SILENT typo-- · ad7efecf
      Harald Sitter authored
      ad7efecf
    • Harald Sitter's avatar
      sftp: merge the two uds creation paths · 0cf6aaa6
      Harald Sitter authored
      this was previously wildly duplicated. createUDSEntry has been refitted
      to support both calls from stat() and from listDir().
      
      createUDSEntry now takes an incoming SFTPAttributesPtr (taking ownership
      of the attribute) and fills the udsentry accordingly. for listDir
      efficiency's sake we pass in the entry by reference as well as the
      details such that we can avoid needless work where possible.
      the function now returns a conclusive Result, callers may naturally
      ignore it.
      
      listDir no longer aborts on readlink errors. indeed any errors coming
      out of udsentry creation shouldn't impact listing. just because a file
      fails to list doesn't mean the entire listing should stop 🤷
      
      listDir now ignores readlink problems. there's no reason why failing to
      read links would abort the dir listing
      0cf6aaa6
  21. 08 Oct, 2021 7 commits