Discussion:
intruction
j***@apache.org
2018-04-21 08:30:23 UTC
Permalink
Hi

My name is Jan Iversen shortened to jani), I have been a programmer since 1977 and participated in many open source projects. I am currently working on iOS version of LibreOffice and I am member in Apache (ASF). Yes I am one of those guys who used to write drivers in asm/C etc for Unix, before Linux came around :-)

I have 2 great passions programming (NOT Java!!!! but C++ etc) and diving (PADI Rescue, hopefully soon finishing my DM), so when I saw this open source project I immediately got interested, and have installed it on my Mac, iPhone and iPad. Right now I am trying to understand why the iCloud sync does not work.

I will build the software later this weekend, and can offer to help test the iOS and Mac versions. I already found something strange in the iOS version. It shows the date as “4/20/18 8:31 PM” even though my iPad setting say it should be “20/4/18 20:31” and I have not had success in changing the date (I want to add at least some of my old dives manually, to test).

Once I get the iOS and Mac version build I will start testing.

Let me know if there are open iOS / Mac issues I can dive into. I prefer to do some real work, while I try to understand the source.

Forget to mention, I am danish, have lived most of my life travelling the world with my R&D companies and now I live a nice silent life in Granada, spain.

Looking forward to hear from you.

rgds
Jan I.
Murillo Bernardes
2018-04-21 11:13:32 UTC
Permalink
Regarding iOS date format. What do you have set as region on your iphone/ipad?

I fixed this very problem for me sometime ago, but maybe I missed something.
Post by j***@apache.org
Hi
My name is Jan Iversen shortened to jani), I have been a programmer since 1977 and participated in many open source projects. I am currently working on iOS version of LibreOffice and I am member in Apache (ASF). Yes I am one of those guys who used to write drivers in asm/C etc for Unix, before Linux came around :-)
I have 2 great passions programming (NOT Java!!!! but C++ etc) and diving (PADI Rescue, hopefully soon finishing my DM), so when I saw this open source project I immediately got interested, and have installed it on my Mac, iPhone and iPad. Right now I am trying to understand why the iCloud sync does not work.
I will build the software later this weekend, and can offer to help test the iOS and Mac versions. I already found something strange in the iOS version. It shows the date as “4/20/18 8:31 PM” even though my iPad setting say it should be “20/4/18 20:31” and I have not had success in changing the date (I want to add at least some of my old dives manually, to test).
Once I get the iOS and Mac version build I will start testing.
Let me know if there are open iOS / Mac issues I can dive into. I prefer to do some real work, while I try to understand the source.
Forget to mention, I am danish, have lived most of my life travelling the world with my R&D companies and now I live a nice silent life in Granada, spain.
Looking forward to hear from you.
rgds
Jan I.
_______________________________________________
subsurface mailing list
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
j***@apache.org
2018-04-21 11:24:26 UTC
Permalink
Post by Murillo Bernardes
Regarding iOS date format. What do you have set as region on your iphone/ipad?
region is Spain, with family sharing

I have set in general/Date & Time:
24-hour time ON
Set Automatically ON
Time Zone Madrid
Post by Murillo Bernardes
I fixed this very problem for me sometime ago, but maybe I missed something.
Maybe the problem is, that I am using 2.01 and you solved if after the release cut, will try with my own build once I get it done.

rgds
Jan I.
Murillo Bernardes
2018-04-21 12:25:37 UTC
Permalink
hmm, I patched the measurement system (units), not date format.

Date format would be determined by "iPhone language" and seems to work
properly.

If I use "English" or "English US" I get MM/dd/yyyy.
Using "English UK", "Español" or "Português Brazil" I get dd/MM/yyyy as
expected.

Time format should follow the 24h setting, but looks like it is just
following the default for the language. So this is wrong.

What are you using as "iPhone language"?


Murillo Bernardes
Post by Murillo Bernardes
Post by Murillo Bernardes
Regarding iOS date format. What do you have set as region on your
iphone/ipad?
region is Spain, with family sharing
24-hour time ON
Set Automatically ON
Time Zone Madrid
Post by Murillo Bernardes
I fixed this very problem for me sometime ago, but maybe I missed
something.
Maybe the problem is, that I am using 2.01 and you solved if after the
release cut, will try with my own build once I get it done.
rgds
Jan I.
j***@apache.org
2018-04-21 12:53:02 UTC
Permalink
What are you using as "iPhone language”?
iPhone Language: English (U.K.)

Preferred language order:
English
Spanish
Danish

Calendar: Gregorian


Time shows as:
7:31 PM on both Mac (I have changed preferences/language to hh:mm) and iOS.

Btw measurement is showing as
1,013.53
Typical US setting.

Rgds
Jan I.
Murillo Bernardes
Post by Murillo Bernardes
Regarding iOS date format. What do you have set as region on your iphone/ipad?
region is Spain, with family sharing
24-hour time ON
Set Automatically ON
Time Zone Madrid
Post by Murillo Bernardes
I fixed this very problem for me sometime ago, but maybe I missed something.
Maybe the problem is, that I am using 2.01 and you solved if after the release cut, will try with my own build once I get it done.
rgds
Jan I.
Robert C. Helling
2018-04-21 12:31:33 UTC
Permalink
Hi Jani,

Welcome to subsurface!
Post by j***@apache.org
It shows the date as “4/20/18 8:31 PM” even though my iPad setting say it should be “20/4/18 20:31” and I have not had success in changing the date (I want to add at least some of my old dives manually, to test).
IIRC (being on the phone right now), the date format is a setting that you have to set in the desktop and which is then synced when you sync your log via the cloud (btw this is not iCloud but a subsurface cloud which is built around gut).

Building for iOS is still a bit rough, there are descriptions in the packages iOS folder but you need qt creator and Xcode to work together and like each other. And you need to modify a config file to reflect you Developer key settings.

Best
Robert
j***@apache.org
2018-04-21 13:00:16 UTC
Permalink
Post by Robert C. Helling
Hi Jani,
Welcome to subsurface!
Post by j***@apache.org
It shows the date as “4/20/18 8:31 PM” even though my iPad setting say it should be “20/4/18 20:31” and I have not had success in changing the date (I want to add at least some of my old dives manually, to test).
IIRC (being on the phone right now), the date format is a setting that you have to set in the desktop and which is then synced when you sync your log via the cloud (btw this is not iCloud but a subsurface cloud which is built around gut).
I suppose that depends how you have set preferences/general. I have selected cloud storage default file, so it should sync.

I am surprised by the cloud statement, I thought iCloud was used. But it makes sense to use another cloud due to the different platforms.
Post by Robert C. Helling
Building for iOS is still a bit rough, there are descriptions in the packages iOS folder but you need qt creator and Xcode to work together and like each other. And you need to modify a config file to reflect you Developer key settings.
I am working my way through and making updates to INSTALL, so stay tuned for a pull request.

I have to look closer at the config file, because I avoided adding it to my LibreOffice setup (it is stored in a second file, which are not kept in git, so nobody accidentally commit their developer id).

rgds
Jan I
Post by Robert C. Helling
Best
Robert
Dirk Hohndel
2018-04-21 13:52:32 UTC
Permalink
Hi Jani,

Welcome to Subsurface!

I started programming a couple of years after you did, but still, it's been quite a while.
Subsurface really needs more Mac / iOS developers (we actually have a couple now, but still, way too few).
There are, however, a few things that are rather unusual about our setup

(1) the code is all in C/C++, not in ObjC.
(2) we tend to have decisions driven by our ability to do things consistently across all our supported platforms (Windows/Mac/Linux/Android/iOS)

(3) because of that we use a fairly unusual UI library (in the Mac/iOS context): Qt and QML - that will likely involve some getting used to
(4) this is open source with no hidden financial tricks, no ads, no nothing - as a result we sometimes make choices that are driven by making it easier for ourselves, the developers
Post by j***@apache.org
Post by Robert C. Helling
Post by j***@apache.org
It shows the date as “4/20/18 8:31 PM” even though my iPad setting say it should be “20/4/18 20:31” and I have not had success in changing the date (I want to add at least some of my old dives manually, to test).
IIRC (being on the phone right now), the date format is a setting that you have to set in the desktop and which is then synced when you sync your log via the cloud (btw this is not iCloud but a subsurface cloud which is built around gut).
I suppose that depends how you have set preferences/general. I have selected cloud storage default file, so it should sync.
It should - but it's also possible that there's something broken there - iOS is the platform with by far the fewest users (and active developers)
Post by j***@apache.org
I am surprised by the cloud statement, I thought iCloud was used. But it makes sense to use another cloud due to the different platforms.
Yes, see (4) above... I maintain the cloud server, so if people have problems, I can tackle them from the server side. Supporting the "native" cloud environment on each of the platforms plus the "industry standard" ones like Dropbox, Box, OwnCloud, etc would drive up the support burden for us quite a bit
Post by j***@apache.org
Post by Robert C. Helling
Building for iOS is still a bit rough, there are descriptions in the packages iOS folder but you need qt creator and Xcode to work together and like each other. And you need to modify a config file to reflect you Developer key settings.
I am working my way through and making updates to INSTALL, so stay tuned for a pull request.
GOOD.
I'm on a plane right now (and will be for another few hours - I left Spain this morning, actually) - but I'm looking forward to your contributions... please look at the CONTRIBUTING.md files for useful information about that. One of them is the requirement to sign off on your commits (I just got the email from derek that points that out)
Post by j***@apache.org
I have to look closer at the config file, because I avoided adding it to my LibreOffice setup (it is stored in a second file, which are not kept in git, so nobody accidentally commit their developer id).
Always interested in advice how to make things better.

/D
j***@apache.org
2018-04-21 14:22:30 UTC
Permalink
Did you drop the mailing list on purpose? We don't have a Reply-To set up, so you need to reply-all)
My mistake sorry, I guess I am used to having Reply-To added automatically.
We'll see. Internet is brutally slow and choppy on my flight - kinda hard to interact with GitHub from here.
In my experience people tend to have a few problems when they get started. Subsurface is a fairly complex environment to wrap your mind around. And Linus and I have some rather strong feelings on some issues and those are reflected in the way we do things... but it should be too bad :-)
All beginnings are tough, but Subsurface is not near as big or complex as LibreOffice (Earlier Open Office), but I will manage.

“Strong feelings” are not a problem as long as it is not the same as “stubborn”, “strong feelings” can be adjusted by rational arguments. And btw. I like that there are “strong feelings” in some areas, like code style, it makes it a lot easier to maintain across multiple people.
Which San Jose is that? I fly to San Jose, California, typically twice a month for work... I just left Barcelona and am on my way to Portland, Oregon, where I live
It is San Jose in Almeria Spain (400km from Barcelona).

I closed the first pull-request, and are preparing another, which hopefully is a lot better.

rgds
Jan I.

Loading...