[prev in list] [next in list] [prev in thread] [next in thread]
List: kfm-devel
Subject: Re: Review Request 114812: KVersionControlPlugin2 based Dropbox version control plugin for Dolphin
From: "Emmanuel Pescosta" <emmanuelpescosta099 () gmail ! com>
Date: 2014-02-04 20:12:28
Message-ID: 20140204201228.4923.41946 () probe ! kde ! org
[Download RAW message or body]
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/114812/
-----------------------------------------------------------
(Updated Feb. 4, 2014, 9:12 p.m.)
Review request for Dolphin.
Changes
-------
@Phil:
Please test it and give some feedback if it works or not ;)
With Frank's help (he has always great ideas/clues!) I have found a way to fix this \
problem with only a few lines of code. It should also be relatively \
resource-efficient, only one dir to check.
@Frank:
Thanks for the great hint!!! :) \
http://doc-snapshot.qt-project.org/4.8/qdir.html#canonicalPath
Bugs: 264717 and 298199
http://bugs.kde.org/show_bug.cgi?id=264717
http://bugs.kde.org/show_bug.cgi?id=298199
Repository: dolphin-plugins
Description
-------
Added a Dropbox version control plugin for Dolphin.
This Dropbox plugin is based on the work of:
Sergei Stolyarovs - https://bitbucket.org/cancel/dolphin-dropbox-plugin
Thomas Richards - http://trichard-kde.blogspot.co.at/2010/12/introducing-dropbox-integration-for.html
What I have done:
- Ported the old source code to the newer KVersionControlPlugin2 interface
- Use the Dropbox client to form the context menu more dynamically
(If the Dropbox guys add a new feature to their client, Dolphin can make use of it \
automatically)
- Fixed a crash (Dolphin-4.8.2 segfaults when a file with special characters is \
present)
- Replaced the item version changed timer with a file system watcher -> No useless \
updates every 10 seconds and immediate update on real changes
- A lot of code/coding style related changes
I think that this plugin is small enough to include it into the official \
Dolphin-plugins collection. ;)
Diffs (updated)
-----
CMakeLists.txt 4d87420
dropbox/CMakeLists.txt PRE-CREATION
dropbox/fileviewdropboxplugin.cpp PRE-CREATION
dropbox/fileviewdropboxplugin.desktop PRE-CREATION
dropbox/fileviewdropboxplugin.h PRE-CREATION
Diff: https://git.reviewboard.kde.org/r/114812/diff/
Testing
-------
Works fine for me.
Thanks,
Emmanuel Pescosta
[Attachment #3 (text/html)]
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;"> <tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="https://git.reviewboard.kde.org/r/114812/">https://git.reviewboard.kde.org/r/114812/</a>
</td>
</tr>
</table>
<br />
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('https://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;"> <tr>
<td>
<div>Review request for Dolphin.</div>
<div>By Emmanuel Pescosta.</div>
<p style="color: grey;"><i>Updated Feb. 4, 2014, 9:12 p.m.</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Changes</h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">@Phil: Please test it and give some feedback if it works or not ;)
With Frank's help (he has always great ideas/clues!) I have found a way to fix \
this problem with only a few lines of code. It should also be relatively \
resource-efficient, only one dir to check.
@Frank:
Thanks for the great hint!!! :) \
http://doc-snapshot.qt-project.org/4.8/qdir.html#canonicalPath</pre> </td>
</tr>
</table>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>
<a href="http://bugs.kde.org/show_bug.cgi?id=264717">264717</a>,
<a href="http://bugs.kde.org/show_bug.cgi?id=298199">298199</a>
</div>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
dolphin-plugins
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Added a Dropbox version control plugin for Dolphin.
This Dropbox plugin is based on the work of:
Sergei Stolyarovs - https://bitbucket.org/cancel/dolphin-dropbox-plugin
Thomas Richards - http://trichard-kde.blogspot.co.at/2010/12/introducing-dropbox-integration-for.html
What I have done:
- Ported the old source code to the newer KVersionControlPlugin2 interface
- Use the Dropbox client to form the context menu more dynamically
(If the Dropbox guys add a new feature to their client, Dolphin can make use of it \
automatically)
- Fixed a crash (Dolphin-4.8.2 segfaults when a file with special characters is \
present)
- Replaced the item version changed timer with a file system watcher -> No useless \
updates every 10 seconds and immediate update on real changes
- A lot of code/coding style related changes
I think that this plugin is small enough to include it into the official \
Dolphin-plugins collection. ;)</pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Works fine for me.</pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> \
(updated)</h1> <ul style="margin-left: 3em; padding-left: 0;">
<li>CMakeLists.txt <span style="color: grey">(4d87420)</span></li>
<li>dropbox/CMakeLists.txt <span style="color: grey">(PRE-CREATION)</span></li>
<li>dropbox/fileviewdropboxplugin.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>
<li>dropbox/fileviewdropboxplugin.desktop <span style="color: \
grey">(PRE-CREATION)</span></li>
<li>dropbox/fileviewdropboxplugin.h <span style="color: \
grey">(PRE-CREATION)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/114812/diff/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic