Re: Open / Save to cloud on Windows 10

2017-02-23 Thread Dirk Hohndel
Hi Jérémie On Thu, Feb 23, 2017 at 07:31:20PM +0700, Jérémie Guichard wrote: > Hi guys, > > Pull request sent (https://github.com/Subsurface-divelog/subsurface/pull/222 > ) > Sorry for the late reply, these days were quite busy with a bit of coding > but mainly with my Instructor Training Course

Re: Open / Save to cloud on Windows 10

2017-02-23 Thread Jérémie Guichard
Hi guys, Pull request sent (https://github.com/Subsurface-divelog/subsurface/pull/222 ) Sorry for the late reply, these days were quite busy with a bit of coding but mainly with my Instructor Training Course :) Based on your recommendations I've added a subsurface_stat portability function.

Re: Open / Save to cloud on Windows 10

2017-02-20 Thread Linus Torvalds
On Mon, Feb 20, 2017 at 9:41 AM, Dirk Hohndel wrote: > > How about writing a wrapper function that can be called from C in > qthelper.cpp (we have quite a few of them there already) and have that do > something like > > extern "C" bool dir_exists(const char *dir) > { >

Re: Open / Save to cloud on Windows 10

2017-02-20 Thread Dirk Hohndel
On Mon, Feb 20, 2017 at 09:42:35AM -0800, Linus Torvalds wrote: > On Mon, Feb 20, 2017 at 6:49 AM, Jérémie Guichard wrote: > > > > I narrowed it! > > Good job. > > > As a proof of concept I added an ugly: "extern int p_stat(const char* path, > > struct stat* buf);" on top of

Re: Open / Save to cloud on Windows 10

2017-02-20 Thread Linus Torvalds
On Mon, Feb 20, 2017 at 6:49 AM, Jérémie Guichard wrote: > > I narrowed it! Good job. > As a proof of concept I added an ugly: "extern int p_stat(const char* path, > struct stat* buf);" on top of git-access.c and used it in get_remote_repo > and is_git_repository (these are

Re: Open / Save to cloud on Windows 10

2017-02-20 Thread Dirk Hohndel
On Mon, Feb 20, 2017 at 09:49:54PM +0700, Jérémie Guichard wrote: > Hey guys, > > I narrowed it! Excellent. > It took me a little while to get the windows dev env in place, but > instructions in packaging/windows/mxe-based-build.sh were very helpful. > Only one little call to curl's buildconf

Re: Open / Save to cloud on Windows 10

2017-02-20 Thread Jérémie Guichard
Hey guys, I narrowed it! It took me a little while to get the windows dev env in place, but instructions in packaging/windows/mxe-based-build.sh were very helpful. Only one little call to curl's buildconf script is missing in mxe-based-build.sh but once done manually the rest went smoothly. I

Open / Save to cloud on Windows 10

2017-02-19 Thread Jérémie Guichard
Hey Dirk, Thanks for the fast reply! Computer is Suunto Zoop. With Suunto DM5 I have to sync multiple times before all logs are synced... I'll take a look into translations, I normally use English interfaces, just switched to french to see the status, seems pretty complete though some

Re: Open / Save to cloud on Windows 10

2017-02-19 Thread Miika Turkia
On Sun, Feb 19, 2017 at 9:05 AM, Jérémie Guichard wrote: > > In the current state, on my Windows 10 machine, whenever I try to: "Open > cloud storage" in end up with a "Error connecting to Subsurface cloud > storage". Same thing if I log some dives and try to "Save to cloud

Re: Open / Save to cloud on Windows 10

2017-02-18 Thread Dirk Hohndel
On Sun, Feb 19, 2017 at 02:05:18PM +0700, Jérémie Guichard wrote: > Hi guys, > > First of all, I'd like to thank you all for the job well done, though many > improvements and features are to come, subsurface is quite complete and > useful. I could add that in my case importing logs from dive