[dolphin] [Bug 415698] VCS plugin function calls redundant

2020-02-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=415698

Nate Graham  changed:

   What|Removed |Added

  Latest Commit|https://commits.kde.org/dol |https://commits.kde.org/dol
   |phin/305085b58143c431d9abb7 |phin/d0cbcf9718bb5192738ea9
   |bd8dcb2f0954df725a  |f5a5a3d6c4f9f7dcef
   Version Fixed In|20.04.0 |20.04

--- Comment #4 from Nate Graham  ---
Git commit d0cbcf9718bb5192738ea9f5a5a3d6c4f9f7dcef by Nate Graham, on behalf
of Nikolai Krasheninnikov.
Committed on 18/02/2020 at 21:55.
Pushed by ngraham into branch 'master'.

Fixes multiple KVersionControlPlugin::fileName() calls on entering or updating
directory.

Summary:
FIXED-IN: 20.04

On each VCS plugin creation corresponding file name is saved (cached) so when
we search which VCS plugin is appropriate for current directory we don't need
to call KVersionControlPlugin::fileName() again.

Reviewers: #dolphin, meven, elvisangelaccio, ngraham

Reviewed By: #dolphin, meven, ngraham

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D26962

M  +6-6src/views/versioncontrol/versioncontrolobserver.cpp
M  +2-1src/views/versioncontrol/versioncontrolobserver.h

https://commits.kde.org/dolphin/d0cbcf9718bb5192738ea9f5a5a3d6c4f9f7dcef

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 415698] VCS plugin function calls redundant

2020-01-26 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=415698

Elvis Angelaccio  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/dol
   ||phin/305085b58143c431d9abb7
   ||bd8dcb2f0954df725a
   Version Fixed In||20.04.0

--- Comment #3 from Elvis Angelaccio  ---
Git commit 305085b58143c431d9abb7bd8dcb2f0954df725a by Elvis Angelaccio, on
behalf of Nikolai Krasheninnikov.
Committed on 26/01/2020 at 16:09.
Pushed by elvisangelaccio into branch 'master'.

Fixes multiple VCS plugin calls on single directory update.

Summary:
Fixes multiple VCS plugin beginRetrival()/endRetrival()/itemVersion() calls on
single directory update.
When VCS pluging finished gathering directory information
VersionControlObserver::slotThreadFinished() calls KFileItemModel::setData() on
each entry with appropriate item VCS information.
This in turn emits KFileItemModel::itemsChanged() which is connected with
VersionControlObserver::delayedDirectoryVerification() which is starting to
gather VCS directory information again.
This commits breaks the vicious circle.
FIXED-IN: 20.04.0

Reviewers: #dolphin, meven, ngraham, elvisangelaccio

Subscribers: kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D26721

M  +14   -2src/views/versioncontrol/versioncontrolobserver.cpp
M  +7-0src/views/versioncontrol/versioncontrolobserver.h

https://commits.kde.org/dolphin/305085b58143c431d9abb7bd8dcb2f0954df725a

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 415698] VCS plugin function calls redundant

2020-01-16 Thread Nikolai Krasheninnikov
https://bugs.kde.org/show_bug.cgi?id=415698

--- Comment #2 from Nikolai Krasheninnikov  ---
Addition on #4: as it turns out KVersionControlPlugin::itemVersion() got called
by VCS plugin itself on the context menu creation so its ok.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 415698] VCS plugin function calls redundant

2019-12-30 Thread Elvis Angelaccio
https://bugs.kde.org/show_bug.cgi?id=415698

Elvis Angelaccio  changed:

   What|Removed |Added

 CC||elvis.angelac...@kde.org

--- Comment #1 from Elvis Angelaccio  ---
Patches welcome ;)

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 415698] VCS plugin function calls redundant

2019-12-30 Thread Nikolai Krasheninnikov
https://bugs.kde.org/show_bug.cgi?id=415698

Nikolai Krasheninnikov  changed:

   What|Removed |Added

Summary|VCS plugin functions calls  |VCS plugin function calls
   |redundant   |redundant

-- 
You are receiving this mail because:
You are watching all bug changes.