jeanv (Jean Vincent)
User

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Jul 15 2017, 2:42 PM (352 w, 4 d)
Availability
Available

Recent Activity

Oct 15 2018

jeanv added a comment to T6255: Add support for cover images embedded in tracks.

How is this feature advancing? Because I see there was a diff and a commit concerning it, but the code isn't on master I don't think.

Oct 15 2018, 7:41 PM · Elisa

Mar 5 2018

jeanv placed T5384: Fix the SFTP plugin on some phones (use Android Storage Access Framework?) up for grabs.
Mar 5 2018, 8:19 PM · KDE Connect

Sep 26 2017

jeanv added a comment to T5384: Fix the SFTP plugin on some phones (use Android Storage Access Framework?).

I haven't been working on this lately because even though quite a few features work (permissions, creating new files, renaming, moving, deleting...), I was stuck on several major problems, in particular transferred files are empty until the device is rebooted (an outputstream doesn't close properly or something like that I think).

Sep 26 2017, 12:16 PM · KDE Connect

Sep 5 2017

jeanv added a comment to T5384: Fix the SFTP plugin on some phones (use Android Storage Access Framework?).

Here's the StackOverflow question: https://stackoverflow.com/questions/46060113/writing-with-an-outputstream-to-a-documentfile-data-seem-to-be-written-but-file, feel free to take a look and give a vote

Sep 5 2017, 5:10 PM · KDE Connect

Sep 1 2017

jeanv added a comment to D7312: Make member variable names, & placement and * placement more coherent.

So, is the revision good?

Sep 1 2017, 1:32 PM · KDE Connect

Aug 29 2017

jeanv added a member for KDE Connect: jeanv.
Aug 29 2017, 4:40 PM
jeanv added a comment to T5384: Fix the SFTP plugin on some phones (use Android Storage Access Framework?).

That's what I had in mind too. Right now there's an intermediate screen with the FindMyPhone UI because I copy-pasted so it looks stupid but I couldn't be bothered :D

Aug 29 2017, 4:35 PM · KDE Connect

Aug 26 2017

jeanv added a comment to T5384: Fix the SFTP plugin on some phones (use Android Storage Access Framework?).

That's what I did, yes. I don't think there is any other way, Android really doesn't want anyone to access the filesystem without their API :/

Aug 26 2017, 3:35 PM · KDE Connect
jeanv claimed T5384: Fix the SFTP plugin on some phones (use Android Storage Access Framework?).

I lied, I've actually been working on this. I'm far from done yet, but at least I managed to write to the SD card, which wasn't possible before. I'm currently trying to make it work through the SFTP plugin. I'll upload a diff when I have a somewhat working version to get some feedback.

Aug 26 2017, 1:49 PM · KDE Connect

Aug 17 2017

jeanv accepted D7372: Fix bug while refreshing.
Aug 17 2017, 7:11 PM · KDE Connect
jeanv updated the diff for D7312: Make member variable names, & placement and * placement more coherent.

Reverted the erroneous renaming of d-pointers. And properly renamed a few missing member variables

Aug 17 2017, 6:57 PM · KDE Connect
jeanv added a comment to D7312: Make member variable names, & placement and * placement more coherent.
In D7312#136390, @jeanv wrote:

What do you think about naming them d_ptr like in the Qt doc? It would be more explicit to newcomers that this is deliberate.

In most KDE projects they are just called 'd', and I think that adding '_ptr' won't make it that more clear, but do as as you wish :)

Aug 17 2017, 6:54 PM · KDE Connect

Aug 16 2017

jeanv added a comment to D7312: Make member variable names, & placement and * placement more coherent.

I see some inconsistencies, for example in DaemonPrivate you changed
QSet<LinkProvider*> mLinkProviders; to

`QSet<LinkProvider*> m_linkProviders;`

while in KdeConnectPluginPrivate you changed

`Device* mDevice;` to
`Device* device; `

Also, I see you renamed d-pointers (https://wiki.qt.io/D-Pointer) like QScopedPointer<KdeConnectPluginPrivate> d; to QScopedPointer<KdeConnectPluginPrivate> m_pluginInfos; and we should keep the naming so it is clear we are using this programming pattern.

Aug 16 2017, 4:34 PM · KDE Connect

Aug 15 2017

jeanv updated the diff for D7312: Make member variable names, & placement and * placement more coherent.

Include double pointers (Type **foo -> Type** foo)

Aug 15 2017, 8:48 AM · KDE Connect

Aug 14 2017

jeanv created D7312: Make member variable names, & placement and * placement more coherent.
Aug 14 2017, 4:50 PM · KDE Connect

Aug 13 2017

jeanv abandoned D7192: Receiving a file with a '#' or '?' in the name from Android no longer results in the name cropped..

I guess this can be closed now?

Absolutely

Aug 13 2017, 7:14 PM · KDE Connect

Aug 12 2017

jeanv added a comment to T4678: Sync contacts and write sms from desktop.

Is someone already on this task? Because I'm interested in doing it.

Aug 12 2017, 12:42 PM · KDE Connect

Aug 10 2017

jeanv accepted D7224: Fix receiving files with invalid URL characters.

Looks good to me

Aug 10 2017, 10:59 AM
jeanv added a comment to D7192: Receiving a file with a '#' or '?' in the name from Android no longer results in the name cropped..
In D7192#134274, @apol wrote:
In D7192#134257, @jeanv wrote:
In D7192#134232, @apol wrote:

I see what you mean. Your solution does seem better.

Then please, review my patch :)

Aug 10 2017, 10:57 AM · KDE Connect
jeanv added a comment to D7192: Receiving a file with a '#' or '?' in the name from Android no longer results in the name cropped..
In D7192#134232, @apol wrote:
Aug 10 2017, 6:39 AM · KDE Connect

Aug 9 2017

jeanv added a watcher for KDE Connect: jeanv.
Aug 9 2017, 7:56 PM

Aug 7 2017

jeanv updated the summary of D7192: Receiving a file with a '#' or '?' in the name from Android no longer results in the name cropped..
Aug 7 2017, 3:54 PM · KDE Connect
jeanv added a reviewer for D7192: Receiving a file with a '#' or '?' in the name from Android no longer results in the name cropped.: KDE Connect.
Aug 7 2017, 3:53 PM · KDE Connect
jeanv created D7192: Receiving a file with a '#' or '?' in the name from Android no longer results in the name cropped..
Aug 7 2017, 3:52 PM · KDE Connect
jeanv claimed T6730: Receiving a file with a '#' in the name from Android results in the name cropped..
Aug 7 2017, 3:46 PM · KDE Connect
jeanv added a comment to T5384: Fix the SFTP plugin on some phones (use Android Storage Access Framework?).

These two stackoverflow discussions, here and here, seem to answer how to write to external storage with the Storage Access Framework. Android also provides docs for the SAF, but it's not great imo.

Aug 7 2017, 9:14 AM · KDE Connect

Aug 3 2017

jeanv added a comment to T5384: Fix the SFTP plugin on some phones (use Android Storage Access Framework?).

I noticed I don't have write access on my SD card with the SFTP plugin, is it part of this task?

Aug 3 2017, 7:45 AM · KDE Connect

Aug 2 2017

Albert Vaca <albertvaca@joinverse.com> committed R224:9e0d4874c072: Make sure MPRIS players have a unique name (authored by jeanv).
Make sure MPRIS players have a unique name
Aug 2 2017, 1:43 PM
jeanv closed D7017: Make sure MPRIS players have a unique name by committing R224:9e0d4874c072: Make sure MPRIS players have a unique name (authored by jeanv).
Aug 2 2017, 1:43 PM · KDE Connect

Jul 31 2017

jeanv updated the diff for D7017: Make sure MPRIS players have a unique name.

Use isEmpty() instead of QString::null.
Create uniqueName after we have checked if identity is empty.

Jul 31 2017, 12:43 PM · KDE Connect
jeanv created D7017: Make sure MPRIS players have a unique name.
Jul 31 2017, 12:28 PM · KDE Connect

Jul 29 2017

jeanv added a comment to T6500: MPRIS players are identified by display name.

Here's what I found:
Concerning the naming of the service, having a unique name per instance is actually part of D-Bus's specifications. It's supposed to be implemented in VLC (see the source here, line 201) but there was a bug that only got fixed june 18 and since I'm on KDE Neon, I have an older version installed. Indeed if I check the D-Bus connections in Manjaro with two instances of VLC, I get two connections.

Jul 29 2017, 8:53 AM · KDE Connect

Jul 27 2017

jeanv added a comment to T6500: MPRIS players are identified by display name.

I'll see what I can do, although I'd rather not claim the task since I don't know anything about DBus (yet, it's a good excuse to learn) and might get stuck.

Jul 27 2017, 6:54 AM · KDE Connect
jeanv added a comment to D6943: Gave plasmoid some love.

I like it! Although I think we should keep the feature of knowing if the phone is charging or not. Just something like:

Jul 27 2017, 6:48 AM · KDE Connect

Jul 26 2017

jeanv added a comment to T6500: MPRIS players are identified by display name.

The volume plasmoid works correctly: both players are visible.

Jul 26 2017, 4:33 PM · KDE Connect

Jul 25 2017

jeanv added a comment to T6500: MPRIS players are identified by display name.

I tried to take a look at this, even though I didn't know anything about DBus.

Jul 25 2017, 4:44 PM · KDE Connect

Jul 22 2017

jeanv abandoned D6757: Transmit all IP addresses to the desktop app for sshfs.

Revision D6730 has been accepted and removes the need for this one.

Jul 22 2017, 9:23 AM · KDE Connect

Jul 21 2017

jeanv added a comment to D6730: Determine which IP address to use for sshfs.

Looks good to me. I will merge this in as soon as I have a moment. Can you check my comment about IPv6? I think v6 should just work.

Jul 21 2017, 4:54 PM · KDE Connect
jeanv added inline comments to D6730: Determine which IP address to use for sshfs.
Jul 21 2017, 11:36 AM · KDE Connect
jeanv updated the diff for D6730: Determine which IP address to use for sshfs.
  • mHostAddress is now in LanDeviceLink instead of DeviceLink
  • Device::deviceLink changed to Device::getLocalIpAddress and only returns a QHostAddress instead of the whole link
  • the block in LanDeviceLink::reset that gets and stores the IP address is cleaner now
Jul 21 2017, 11:30 AM · KDE Connect

Jul 20 2017

jeanv added a comment to D6724: Replace Q_FOREACH with C++11 range-for.

Can you give me your email, so I can push this on your behalf?

Jul 20 2017, 3:13 PM · KDE Connect
jeanv updated the diff for D6730: Determine which IP address to use for sshfs.

This seems to work for me. The correct IP address is stored and reused.

Jul 20 2017, 8:34 AM · KDE Connect

Jul 19 2017

jeanv added a comment to D6730: Determine which IP address to use for sshfs.

I realized this is just bad.

Jul 19 2017, 5:44 PM · KDE Connect
jeanv updated the diff for D6730: Determine which IP address to use for sshfs.

Instead of transmitting all IP addresses for the device, maybe store the correct one in LanDeviceLink

Jul 19 2017, 8:28 AM · KDE Connect
jeanv added a comment to D6730: Determine which IP address to use for sshfs.
In D6730#126708, @apol wrote:

In general, this looks like an overkill to me.
Maybe it would make sense to allow the DeviceLink to tell which IP it's connected to?

Jul 19 2017, 8:25 AM · KDE Connect

Jul 17 2017

jeanv retitled D6730: Determine which IP address to use for sshfs from Ignore interface "tun" in getLocalIpAddress to Determine which IP address to use for sshfs.
Jul 17 2017, 4:50 PM · KDE Connect
jeanv created D6757: Transmit all IP addresses to the desktop app for sshfs.
Jul 17 2017, 4:45 PM · KDE Connect
jeanv added a comment to D6730: Determine which IP address to use for sshfs.

Just upload two separate diffs, one for each repo

Jul 17 2017, 4:27 PM · KDE Connect
jeanv updated the diff for D6730: Determine which IP address to use for sshfs.

Loop on the addresses received in the network package and determine which one is open to KDE Connect

Jul 17 2017, 4:25 PM · KDE Connect
jeanv updated the diff for D6730: Determine which IP address to use for sshfs.

Transmit all ip addresses to the desktop application so that it can determine which one to use

Jul 17 2017, 4:22 PM · KDE Connect
jeanv added a comment to D6730: Determine which IP address to use for sshfs.

Okay, I did it differently (close to what you said):
The android application sends all IPs it can find in the device interfaces, then the desktop application loops on those IPs and tries to open a TCP connection on the current IP on the requested port: if it succeeds before the timeout, that's the IP that will be used to mount with sshfs.

Jul 17 2017, 3:46 PM · KDE Connect

Jul 16 2017

jeanv added a comment to D6730: Determine which IP address to use for sshfs.

I wonder if there is a different way to fix this bug? I actually (successfully, including sshfs) use OpenVPN to get around poorly-managed networks where KDE Connect would otherwise not work very well, so making this change would break that for me :)

Maybe rather than blacklisting tun connections, it would make sense to make the sshfs command more robust? I haven't looked into this, so I don't know what that might involve.

Jul 16 2017, 4:09 PM · KDE Connect
jeanv updated the summary of D6730: Determine which IP address to use for sshfs.
Jul 16 2017, 11:44 AM · KDE Connect
jeanv created D6730: Determine which IP address to use for sshfs.
Jul 16 2017, 11:43 AM · KDE Connect

Jul 15 2017

jeanv updated the diff for D6724: Replace Q_FOREACH with C++11 range-for.

Remove the remaining Q_FOREACH in daemon.cpp in deviceIdByName and rename the variable d to device to avoid confusion.

Jul 15 2017, 7:22 PM · KDE Connect
jeanv added a comment to D6724: Replace Q_FOREACH with C++11 range-for.

except for the one in daemon.cpp in deviceIdByName which might have a bug / typo in it

This seems to be just really bad naming. d is also the name of a member variable. The Device* should be renamed to avoid such confusion

Jul 15 2017, 7:19 PM · KDE Connect
jeanv updated the summary of D6724: Replace Q_FOREACH with C++11 range-for.
Jul 15 2017, 6:03 PM · KDE Connect
jeanv added a reviewer for D6724: Replace Q_FOREACH with C++11 range-for: KDE Connect.
Jul 15 2017, 5:59 PM · KDE Connect
jeanv created D6724: Replace Q_FOREACH with C++11 range-for.
Jul 15 2017, 5:57 PM · KDE Connect