Re: new widget for Date display + pick.

2014-06-20 Thread Dirk Hohndel
On Fri, Jun 20, 2014 at 11:36:54AM +0200, Davide DB wrote: > Sorry for my question, I'm just a user and I find a little bit > intimidating having a mailing list where developer's activities are > mixed with end user questions. > > Is there any way to use these patches without being a developer? I

Re: [PATCH 1/3] Revert "OS Detection: Use QFile when reading /etc/os-release"

2014-06-18 Thread Dirk Hohndel
On Sun, Jun 15, 2014 at 01:57:20PM -0700, Thiago Macieira wrote: > Keep the code exactly as the original in Qt 5.4. why? /D ___ subsurface mailing list subsurface@hohndel.org http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Re: GSoC Progress - Configuring Dive Computers with Subsurface

2014-06-17 Thread Dirk Hohndel
Joshua has an OSTC3. The idea was to enable this in libdivecomputer as well. The full specs should be available from H&W /D --- >From my phone Jef Driesen wrote: >On 2014-06-16 07:17, Joshua Joseph wrote: >> For this week, I will focus on adding support for the remaining >> settings of >> the

Re: OS Detection

2014-06-14 Thread Dirk Hohndel
On Sat, Jun 14, 2014 at 03:05:24PM -0700, Thiago Macieira wrote: > Em sáb 14 jun 2014, às 19:58:17, Joshua Joseph escreveu: > > +class SubsurfaceQSysInfo { > > Make this: > > class SubsurfaceSysInfo : public QSysInfo > > (That drops the Q) > > This way, you won't need to define the constants th

Re: user survey

2014-06-13 Thread Dirk Hohndel
On Fri, Jun 13, 2014 at 02:47:18PM -0700, Philip Balister wrote: > On 06/13/2014 02:11 PM, Dirk Hohndel wrote: > > I just pushed a small commit that creates a really ugly user survey dialog. > > > > Some things are implemented. In a tagged build (i.e., a release) the user &g

user survey

2014-06-13 Thread Dirk Hohndel
I just pushed a small commit that creates a really ugly user survey dialog. Some things are implemented. In a tagged build (i.e., a release) the user will be asked seven (or more) days after they first used Subsurface. In a development build (version contains a '-') the user is asked the second ti

Re: Subsurface Winter of Coding

2014-06-13 Thread Dirk Hohndel
On Fri, Jun 13, 2014 at 12:04:46PM -0300, Tomaz Canabrava wrote: > I'm hidding my changes for a moment, I did two tryouts of a new layout > for the QTimeEdit but didn't liked them. > > so, will do a new try today / tomorrow, I think this time the layout > is very good and it *should* be usable wit

Re: My progress in HTML export.

2014-06-13 Thread Dirk Hohndel
On Fri, Jun 13, 2014 at 06:54:59PM +0300, Miika Turkia wrote: > if the license allows us to bundle the stuff on our build and the needed > stuff is reasonably sized, then that might be fine by me. Dirk, your > opinion? It has to be under a GPL compatible license. And can't be more than a few hundr

Re: Subsurface Winter of Coding

2014-06-13 Thread Dirk Hohndel
On Fri, Jun 13, 2014 at 10:31:10AM -0300, Tomaz Canabrava wrote: > People, > > My first year on the job's finishing in two months, so my first > vacation will be due. > I'll take that time to work on subsurface 8h+ daily. I think that > will be for Subsurface 4.3 since I hope we already have rele

Re: Patches for bugs

2014-06-12 Thread Dirk Hohndel
On Wed, Jun 11, 2014 at 11:39:17PM +0200, Gehad Elrobey wrote: > On Wed, Jun 11, 2014 at 11:30 PM, Dirk Hohndel wrote: > > > Gehad, > > > > you said earlier that you have problems with this patch, but didn't go > > into any more details. > > It looks sol

Re: [Subsurface] #540: Chronology into drop-down menu "File"

2014-06-12 Thread Dirk Hohndel
On Thu, Jun 12, 2014 at 10:34:25AM -0700, Dirk Hohndel wrote: > On Thu, Jun 12, 2014 at 09:44:19AM -0700, Dirk Hohndel wrote: > > On Wed, Jun 11, 2014 at 08:16:11AM +0200, roberto forini wrote: > > > try this http://youtu.be/K1A_6QaPAbg > > > > Amazing. I don&#x

Re: What's missing for 4.2?

2014-06-12 Thread Dirk Hohndel
On Thu, Jun 12, 2014 at 07:02:07PM +0200, Gaetan Bisson wrote: > [2014-06-11 11:42:47 -0700] Dirk Hohndel: > > Which sent me on another trip down "I will remove all the CRUD from Marble > > that we never use (and never WANT to use) but still ship". > > I hear rum

Re: [Subsurface] #540: Chronology into drop-down menu "File"

2014-06-12 Thread Dirk Hohndel
On Thu, Jun 12, 2014 at 09:44:19AM -0700, Dirk Hohndel wrote: > On Wed, Jun 11, 2014 at 08:16:11AM +0200, roberto forini wrote: > > try this http://youtu.be/K1A_6QaPAbg > > Amazing. I don't see this behavior - neither on Linux nor on Windows. > I'll stare at the cod

Re: What's missing for 4.2?

2014-06-12 Thread Dirk Hohndel
On Thu, Jun 12, 2014 at 05:32:35PM +0100, Tim Wootton wrote: > On 11/06/14 20:26, Dirk Hohndel wrote: > > Oh, and the distributions will just include my app. Yeah, sure, months > > and months after we do a release. And enforcing their silly packaging > > rules on us (li

Re: [Subsurface] #540: Chronology into drop-down menu "File"

2014-06-12 Thread Dirk Hohndel
On Wed, Jun 11, 2014 at 08:16:11AM +0200, roberto forini wrote: > try this http://youtu.be/K1A_6QaPAbg Amazing. I don't see this behavior - neither on Linux nor on Windows. I'll stare at the code a bit to see if I can find something that would explain it... but right now I'm just puzzled :-) /D

Re: What's missing for 4.2?

2014-06-12 Thread Dirk Hohndel
ite a few issues that you would certainly run into with it. /D > On 12 Jun 2014 17:15, "Dirk Hohndel" wrote: > > > On Thu, Jun 12, 2014 at 06:54:58AM +0300, Benjamin wrote: > > > Speaking about things that I know very little about here, but maybe > >

Re: My progress in HTML export.

2014-06-12 Thread Dirk Hohndel
On Thu, Jun 12, 2014 at 06:49:17AM +0300, Miika Turkia wrote: > > I'm not sure which files you mean. > > The js files get copied into their "official" place during make install. > > But even when running from a build directory, they should be available to > > copy into an export directory. If that

Re: What's missing for 4.2?

2014-06-12 Thread Dirk Hohndel
On Thu, Jun 12, 2014 at 06:54:58AM +0300, Benjamin wrote: > Speaking about things that I know very little about here, but maybe build a > container with Subsurface and all it's dependencies inside it? Or do they > not work that way? That's certainly an option. But to the best of my knowledge most

Re: [PATCH] Show negative ceilings

2014-06-12 Thread Dirk Hohndel
On Thu, Jun 12, 2014 at 12:55:02PM +0200, Robert Helling wrote: > Hi, > > it was suggested by Very Important People to show tissue loadings like the > Petrel. I tried to argue that such a display is qualitative at best given > that the scale for “tissue loading” is pretty much arbitrary (could b

Re: My progress in HTML export.

2014-06-11 Thread Dirk Hohndel
On Thu, Jun 12, 2014 at 06:33:40AM +0300, Miika Turkia wrote: > On Wed, Jun 11, 2014 at 10:51 PM, Gehad Elrobey > wrote: > > > > > > > > > On Wed, Jun 11, 2014 at 9:41 PM, Miika Turkia > > wrote: > > > >> On Tue, Jun 10, 2014 at 7:07 PM, Gehad wrote: > >> > >>> I attached my progress in the HTM

Re: [CCR PATCH] Provide for a dc_type variable in the dc structure

2014-06-11 Thread Dirk Hohndel
On Wed, Jun 11, 2014 at 08:05:00PM +0200, Willem Ferguson wrote: > I have taken quite some trouble to sort out white space problems in the > text. > Hope I was successful. Yes, whitespace looked mostly good. > This is a partial implementation. The next patch will do xml input and xml > output, >

Re: deepest, shallowest, average

2014-06-11 Thread Dirk Hohndel
On Wed, Jun 11, 2014 at 11:29:32PM +0200, Robert C. Helling wrote: > > On 11 Jun 2014, at 20:15, Lutz Vieweg wrote: > > Hi, > > > I guess if somebody really wants to visualize an informative > > statement on "How deep do I usually dive?" then a histogram > > would be the best way to do it: > >

Re: Patches for bugs

2014-06-11 Thread Dirk Hohndel
Gehad, you said earlier that you have problems with this patch, but didn't go into any more details. It looks solid to me, so unless there's a good reason not to take it... Please let us know! /D On Tue, Jun 10, 2014 at 11:06:39AM -0300, Tomaz Canabrava wrote: > From 79a9e2c2432321ec73ed3034458c

Re: Patches for bugs

2014-06-11 Thread Dirk Hohndel
On Tue, Jun 10, 2014 at 11:06:39AM -0300, Tomaz Canabrava wrote: > From 4352ac280a489a21df8aa3c8b718b4635afe64b6 Mon Sep 17 00:00:00 2001 > From: Tomaz Canabrava > Date: Tue, 10 Jun 2014 07:42:13 -0300 > Subject: [PATCH 3/9] Change the QDialog for html export to getExistingFolder > > the QDialog

Re: Server still broken?

2014-06-11 Thread Dirk Hohndel
On Wed, Jun 11, 2014 at 12:07:52PM -0700, Jayson Henkel wrote: > The android app backend servers still appear to be offline. Is that the > case? 154.5.48.47 - - [11/Jun/2014:12:06:46 -0700] "GET /api/user/new/jayson.hen...@gmail.com HTTP/1.1" 500 501 "-" "Apache-HttpClient/UNAVAILABLE (java 1.4)

Re: "Quick" versions of TTS calculations

2014-06-11 Thread Dirk Hohndel
On Wed, Jun 11, 2014 at 09:06:00PM +0200, Anton Lundin wrote: > Hi. > > After "Force TTS/NDL calculation off if things take too long" i kinda > grew tired of always re-enabling the TTS/NDL button, so i thought about > it a bit. > > Attached is a one patch that uses the TTS from the previous data

Re: What's missing for 4.2?

2014-06-11 Thread Dirk Hohndel
On Wed, Jun 11, 2014 at 03:53:29PM -0300, Rodrigo Severo wrote: > On Wed, Jun 11, 2014 at 3:42 PM, Dirk Hohndel wrote: > > > > Which brings me back to another one of my pet projects. Create a self > > contained Linux install that uses libraries that I ship with the packag

Re: What's missing for 4.2?

2014-06-11 Thread Dirk Hohndel
On Wed, Jun 11, 2014 at 08:22:13PM +0200, Anton Lundin wrote: > > > > Hmm, can you try this patch? It's ugly as #*$&% but should make sure > > > > that > > > > we get double clicks delivered even if marble "doesn't feel like it". > > > > > > > > > > Works, but i get the dive location dialog popp

Re: Making trouble

2014-06-11 Thread Dirk Hohndel
On Wed, Jun 11, 2014 at 07:45:43AM +0200, Willem Ferguson wrote: > The latest build issues a warning: > > Project MESSAGE: Warning: unknown QT: concurrent > > Is this important? Could be. Does it report anything else? Is this at run time or during the build? Are you building against Qt4 or Qt5?

Re: [PATCH] Don't ignore actual diveable mixes

2014-06-11 Thread Dirk Hohndel
On Wed, Jun 11, 2014 at 01:29:56PM +0200, Jef Driesen wrote: > > I know. That code is already there for quite some time. Seeing your commit > just reminded me again about it. My only concern here is that if subsurface > hides such errors, no one will notice, and the underlying bug will never get >

Re: [PATCH] Don't ignore actual diveable mixes

2014-06-11 Thread Dirk Hohndel
On June 11, 2014 3:01:40 AM Anton Lundin wrote: On 11 June, 2014 - Jef Driesen wrote: > On 2014-06-10 23:00, Anton Lundin wrote: > > /* Ignore bogus data - libdivecomputer does some crazy stuff */ > >- if (o2 + he <= O2_IN_AIR || o2 >= 1000) > >+ if (o2

Re: What's missing for 4.2?

2014-06-10 Thread Dirk Hohndel
On Wed, Jun 11, 2014 at 01:03:11AM +0200, Anton Lundin wrote: > > > > Hmm, can you try this patch? It's ugly as #*$&% but should make sure that > > we get double clicks delivered even if marble "doesn't feel like it". > > > > Works, but i get the dive location dialog popping up too, as if i > cl

Re: What's missing for 4.2?

2014-06-10 Thread Dirk Hohndel
On Wed, Jun 11, 2014 at 12:30:22AM +0200, Anton Lundin wrote: > > Quite ugly thing but it kinda works. You hopefully get the idea. > > //Anton > > -- > Anton Lundin +46702-161604 > diff --git i/helpers.h w/helpers.h > index 392dcb5..36ceb1e 100644 > --- i/helpers.h > +++ w/helpers.h > @@ -33,

Re: SS Planner vs PastoDeco

2014-06-10 Thread Dirk Hohndel
On Jun 10, 2014, at 2:41 PM, roberto forini wrote: > hi guys! I'm sending a pdf showing a comparison between SS planner and > PastoDeco (no GF in vplanner!). It is for a 100 m dive with trimix 12/48 as > backgas and 2 deco gas ean40 and ean80 (just to keep a low CNS). > > 1) double step at ea

Re: SS Planner vs PastoDeco

2014-06-10 Thread Dirk Hohndel
On Jun 10, 2014, at 3:49 PM, roberto forini wrote: > SUBSURFACE 4.1.353.0 - About the max CNS. > I double check with the log from my dive computer and the Dive Organizer from > Mares . In each dive i did import into subsurface list i can see a wrong max > CNS. I add a screenshot maybe it helps

Re: Sherwood wisdom 2 and water temperature

2014-06-10 Thread Dirk Hohndel
On Tue, Jun 10, 2014 at 09:46:35PM -0400, Marc Collin wrote: > hi > > with this computer, locally on the machine i can see some value for every > dive like water temperature. > > i can see the coldest water.Template > This l

Re: What's missing for 4.2?

2014-06-10 Thread Dirk Hohndel
On Tue, Jun 10, 2014 at 11:43:37PM +0200, Anton Lundin wrote: > Open a dive without Location name or coordinates, ex. dives/test0.xml > > Add a location name, hit save. Try to add a coordinate via clicking in > the marble widget, nothing happens. Hmm, can you try this patch? It's ugly as #*$&% bu

Re: [PATCH] Don't ignore actual diveable mixes

2014-06-10 Thread Dirk Hohndel
On Tue, Jun 10, 2014 at 11:00:01PM +0200, Anton Lundin wrote: > Fist is really obvious. I quite regularly decompress using pure O2. Its > as good last decompression gas as you get. > > The second is a bit harder. There are quite few that dive with 80%+ > helium in there mixes but they exists, and

Re: [CCR PATCH] set dc type within the dc structure

2014-06-10 Thread Dirk Hohndel
On Tue, Jun 10, 2014 at 08:44:34PM +0200, Willem Ferguson wrote: > >>+++ b/parse-xml.c > >>@@ -531,7 +531,7 @@ static void get_rating(char *buffer, void *_i) > >> static void double_to_permil(char *buffer, void *_i) > >> { > >>- int *i = _i; > >>+ uint16_t *i = _i; > >And this could cause the

Re: What's missing for 4.2?

2014-06-10 Thread Dirk Hohndel
Let's follow up on this older message... On Mon, Jun 09, 2014 at 08:55:50AM -0700, Dirk Hohndel wrote: > On Mon, Jun 09, 2014 at 05:03:16PM +0200, Anton Lundin wrote: > > A couple of random notes from my last diving trip, some of them to be > > worked on after 4.2 > &

Re: Patches for bugs

2014-06-10 Thread Dirk Hohndel
On Tue, Jun 10, 2014 at 01:41:57PM -0300, Tomaz Canabrava wrote: > On Tue, Jun 10, 2014 at 1:34 PM, Gehad Elrobey wrote: > > The fourth patch will sadly cause me a lot of pain, > > I was working on a fix for that bug. > > Sorry, I didn't understood, did I fixed something that you were trying to f

Re: Planner Settings widget

2014-06-10 Thread Dirk Hohndel
On Tue, Jun 10, 2014 at 05:44:19PM +0200, Robert Helling wrote: > Hi, > > this is how far I got until now (with the occasional help of Tomaz!). Nice start. A few comments: - I think it makes little sense to have /some/ settings on top and /most/ settings where the dive list used to be Put th

Re: [CCR PATCH] set dc type within the dc structure

2014-06-10 Thread Dirk Hohndel
On Tue, Jun 10, 2014 at 03:54:33PM +0200, Willem Ferguson wrote: > This patch lays the foundation for differentiating between open-circuit(OC) > dives and rebreather dives (CCR). The following were done: > 1) In dive.h add an enum type dive_computer_type > 2) In dive.h add two more fields to the dc

Re: What's missing for 4.2?

2014-06-10 Thread Dirk Hohndel
On Tue, Jun 10, 2014 at 11:01:39AM +0200, Robert Helling wrote: > > > would you mind adding theose as "blocking" bugs to trac? > > done, plus a few more. Thanks. I noticed at least one that might be better as an email - the request to do more testing. Most testers don't see the bug and that's no

Re: What's missing for 4.2?

2014-06-10 Thread Dirk Hohndel
On Tue, Jun 10, 2014 at 09:10:35AM +0200, Jef Driesen wrote: > >>>On Mon, Jun 09, 2014 at 05:03:16PM +0200, Anton Lundin wrote: > * When i downloaded the profiles from my Suunto Vyper that was in gauge > mode during the trip, i got a Air cylinder added to all the dives, > that jus

Re: What's missing for 4.2?

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 05:03:16PM +0200, Anton Lundin wrote: > Maybe post 4.2 [...] > * Summarize gas consumption over multiple dives. After a trip when > trying to figure out how much HE/O2 I used, it would be great if we > could get a summary from the pressures and gases that i entered into

Re: deepest, shallowest, average

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 07:25:27PM -0700, Linus Torvalds wrote: > On Mon, Jun 9, 2014 at 6:56 PM, Dirk Hohndel wrote: > > > > Average right now is the average depth of all the dives - not the average > > of all the deepest depths. From a mathematical point of view this ma

deepest, shallowest, average

2014-06-09 Thread Dirk Hohndel
This email will make some old-timers giggle. We've had this discussion quite a few times. At least three or four times a year it seems like. And after resoundingly defending our nomenclature for many years I think I'm finally coming around. Should we change the meaning of the "average" depth? De

Re: debug SS 4.1.335.0 using windows 8.1

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 11:24:41PM +0200, roberto forini wrote: > 1) still unable to set a location point on the world map I can do so and can do so in many different scenarios I try. Please file a detailed bug report with the steps to recreate what you are seeing. > 2) planning a dive i'm able t

Re: Account recovery on android app

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 03:02:58PM -0700, Jayson Henkel wrote: > Hi guys, > I've tried everything to re enable my account in the Android App after a > phone replacement. Both account recovery and a new account creation result > in errors surrounding the server response. Is the app broken? A little

Re: Windows Qt5 binary

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 01:05:19PM -0700, Dirk Hohndel wrote: > On Mon, Jun 09, 2014 at 11:09:31AM -0700, Dirk Hohndel wrote: > > > > > 2.- User manual is not shown (either english or spanish) only a blank > > > browser window. This only happens on WIN, on Linux works f

Re: What's missing for 4.2?

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 09:53:05PM +0200, Robert C. Helling wrote: > > On 09 Jun 2014, at 16:23, Dirk Hohndel wrote: > > Hi, > > > I seem to remember that there were a couple of small issues with the > > planner still (but may Robert has already fixed them all).

Re: Windows Qt5 binary

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 11:09:31AM -0700, Dirk Hohndel wrote: > > > 2.- User manual is not shown (either english or spanish) only a blank > > browser window. This only happens on WIN, on Linux works fine. > > Oops - that's a new one. I'll take a look That makes

Re: Windows Qt5 binary

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 08:54:33PM +0200, Salvador Cuñat wrote: > On Mon, Jun 09, 2014 at 03:45:47PM -0300, Tomaz Canabrava wrote: > > > > > Can you run subsurface in vangrind --tool=callgrind , hit the issue, > > then kill subsurface after a minute and send me the log that it will > > generate?

Re: Windows Qt5 binary

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 11:09:31AM -0700, Dirk Hohndel wrote: > On Mon, Jun 09, 2014 at 07:45:08PM +0200, Salvador Cuñat wrote: > > Hi. > > > > I've been trying the latest .exe in downloads/daily and there are a pair > > of oddities: > > > > 1.- On in

Re: Windows Qt5 binary

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 07:45:08PM +0200, Salvador Cuñat wrote: > Hi. > > I've been trying the latest .exe in downloads/daily and there are a pair > of oddities: > > 1.- On info box (profile) SAC is wrong and very, very long :-) see > attached display capture _1. Yeah, I mentioned that last nig

Re: What's missing for 4.2?

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 07:53:25AM -0700, Dirk Hohndel wrote: > > > > > > Yes, we need to detect the existing event based picture entries and > > > correctly and safely convert them to our new structure. That shouldn't be > > > hard to add. > > >

Re: What's missing for 4.2?

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 05:03:16PM +0200, Anton Lundin wrote: > A couple of random notes from my last diving trip, some of them to be > worked on after 4.2 > > Pre 4.2 > * You can't remove a coordinate anymore. It just gets re-added. Odd. Definitely something that should be filed as a bug. > *

Re: What's missing for 4.2?

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 04:10:37PM +0100, Tim Wootton wrote: > On 09/06/14 14:06, Tomaz Canabrava wrote: > > What you guys think is missing ? > > > I've seen discussion about saving the log to a git repo, is this an > "official" feature now? If so I think a section in the manual on it > would be go

Re: What's missing for 4.2?

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 11:42:06AM -0300, Tomaz Canabrava wrote: > On Mon, Jun 9, 2014 at 11:23 AM, Dirk Hohndel wrote: > > Tomaz, > > > > you stole my email subject I had planned for this morning :-) > > > > On Mon, Jun 09, 2014 at 10:06:10AM -0300, Tomaz Canabra

Re: What's missing for 4.2?

2014-06-09 Thread Dirk Hohndel
On Mon, Jun 09, 2014 at 02:36:47PM +0100, JB2Cool wrote: > Filters to filter on events? > > I don't really use them but it's a feature that's visible and > non-functioning. I know - we have most of this in place, just a little bit of UI is missing. The other big thing missing is a much better wa

Re: What's missing for 4.2?

2014-06-09 Thread Dirk Hohndel
Tomaz, you stole my email subject I had planned for this morning :-) On Mon, Jun 09, 2014 at 10:06:10AM -0300, Tomaz Canabrava wrote: > > In just a few weeks we'v managed to have: > > - html export > - much improved dive add > - triumphal return of the planner ( and if I may say, the best plann

Re: debug SS 4.1.287.0

2014-06-08 Thread Dirk Hohndel
On Sun, Jun 08, 2014 at 12:11:42PM +0200, Robert C. Helling wrote: > > > I saw that as well. But as a physicist (and regular TeX-user) I find > > both capital L and a space between the number and the unit extremely > > unattractive. We might use 𝓁 (Unicode: U+1D4C1 (U+D835 U+DCC1), UTF-8: > > F0 9

picture Handling - save/parse XML done, git still missing

2014-06-08 Thread Dirk Hohndel
I just pushed a few more commits that make Subsurface compile again with Qt5, that slightly change the picture data structure (it seems silly to have a 64bit timestamp in there - and the code gets simpler (and the XML easier to read) if we use an offset from the beginning of the dive instead). Wit

Re: more picture goodness

2014-06-08 Thread Dirk Hohndel
On Sun, Jun 08, 2014 at 05:46:16PM -0300, Tomaz Canabrava wrote: > >> 2 - pictures are not being restored from XML > > > > Haven't looked into that. > > > > The pictures also are not saved/loaded to/from git. > > > >> 3 - clicking in the picture does nothing. > > fullscreen - it or open it in anot

Re: more picture goodness

2014-06-08 Thread Dirk Hohndel
On Sun, Jun 08, 2014 at 02:00:11PM -0300, Tomaz Canabrava wrote: > As usual: > 1 - pictures are not set on the correct place I added that > 2 - pictures are not being restored from XML Haven't looked into that. The pictures also are not saved/loaded to/from git. > 3 - clicking in the picture d

Re: [PATCH] Ignore user-manual_es.html

2014-06-08 Thread Dirk Hohndel
On Sun, Jun 08, 2014 at 01:22:45PM -0400, Thiago Macieira wrote: > Em dom 08 jun 2014, às 13:16:06, Thiago Macieira escreveu: > > This one I'll need to ssh into my Mac to take a look and test. We might be > > able to trick qmake into adding the dependency by adding a new target to > > QMAKE_EXTRA

Re: Windows Qt5 binary

2014-06-08 Thread Dirk Hohndel
On Sun, Jun 08, 2014 at 09:51:55AM +0300, Gehad wrote: > The HTML export is still not working, I tested it and the HTML templates > weren't copied correctly. They were copied, but I confused myself with the directory layout and put them in the wrong spot. I just pushed a fix for that. When playin

Re: [PATCH] Ignore user-manual_es.html

2014-06-08 Thread Dirk Hohndel
On Sun, Jun 08, 2014 at 09:40:53AM +0200, Cristian Ionescu-Idbohrn wrote: > On Sun, 8 Jun 2014, Dirk Hohndel wrote: > > On Sat, Jun 07, 2014 at 11:01:17PM +0200, Cristian Ionescu-Idbohrn wrote: > > > > > > Some 'clean' Makefile target should remove the ge

Windows Qt5 binary

2014-06-07 Thread Dirk Hohndel
Almost forgot. Thanks to Linus I was able to cut a working Qt5 based window installer. Please give it a try and let us know if there are any pitfalls. This should include Spanish manual, working HTML export, everything. /D ___ subsurface mailing l

Re: Displaying DC deco stops is broken

2014-06-07 Thread Dirk Hohndel
On Jun 5, 2014, at 12:08 PM, Gaetan Bisson wrote: > Hi, > > Displaying dive-computer-reported deco obligation was recently broken in > git. Attached are two snapshots of the same dive, before and after the > break (note the red shaded squares at the top of the profile). I'm also > attaching the

Re: [PATCH] Ignore user-manual_es.html

2014-06-07 Thread Dirk Hohndel
On Sat, Jun 07, 2014 at 11:01:17PM +0200, Cristian Ionescu-Idbohrn wrote: > > Some 'clean' Makefile target should remove the generated > user-manual_es.html too. make clean in Documentation removes all the created files. /D ___ subsurface mailing list

Re: debugging a crash on Windows

2014-06-07 Thread Dirk Hohndel
On Sat, Jun 07, 2014 at 01:57:50PM -0700, Thiago Macieira wrote: > > The Microsoft compiler has a separate switch for whether you're building > against the static runtime or the dynamic runtime, and whether you're using > the debug version or the release version (-MT, -MTd, -MD, -MDd). Because o

Re: debugging a crash on Windows

2014-06-07 Thread Dirk Hohndel
On Sat, Jun 07, 2014 at 01:33:37PM -0700, Thiago Macieira wrote: > Em sáb 07 jun 2014, às 12:13:51, Dirk Hohndel escreveu: > > On June 7, 2014 10:56:16 AM Thiago Macieira wrote: > > > Em sáb 07 jun 2014, às 08:02:11, Dirk Hohndel escreveu: > > > > My biggest pr

Re: debugging a crash on Windows

2014-06-07 Thread Dirk Hohndel
On Sat, Jun 07, 2014 at 12:14:36PM -0700, Linus Torvalds wrote: > On Sat, Jun 7, 2014 at 11:48 AM, Linus Torvalds > wrote: > > > > I'll see if I can make some really ugly macro magic that makes this > > "typesafe". > > Here's a trial. > > Note: this uses gcc-specific crud, so may not be really

Re: debugging a crash on Windows

2014-06-07 Thread Dirk Hohndel
On Sat, Jun 07, 2014 at 12:34:09PM -0700, Linus Torvalds wrote: > On Sat, Jun 7, 2014 at 12:19 PM, Dirk Hohndel wrote: > > > > Ouch. Oops. Bad. > > I'm surprised no one got bitten by this before. It's odd it showed off so > > much more dramatically on Windo

Re: debugging a crash on Windows

2014-06-07 Thread Dirk Hohndel
On June 7, 2014 12:14:41 PM Linus Torvalds wrote: On Sat, Jun 7, 2014 at 11:48 AM, Linus Torvalds wrote: > > I'll see if I can make some really ugly macro magic that makes this "typesafe". Here's a trial. Note: this uses gcc-specific crud, so may not be really acceptable. We could make th

Re: debugging a crash on Windows

2014-06-07 Thread Dirk Hohndel
On June 7, 2014 11:49:00 AM Linus Torvalds wrote: On Sat, Jun 7, 2014 at 8:02 AM, Dirk Hohndel wrote: > > Needless to say, the xml file can of course be opened on Linux without any > issues. No it cannot. You didn't run valgrind on it, I think. No I did not There&#x

Re: debugging a crash on Windows

2014-06-07 Thread Dirk Hohndel
On June 7, 2014 10:56:16 AM Thiago Macieira wrote: Em sáb 07 jun 2014, às 08:02:11, Dirk Hohndel escreveu: > My biggest problem is that I cannot produce debug builds for > Windows - this fails with my cross build environment. So I'm really at a > loss how to debug this. What

debugging a crash on Windows

2014-06-07 Thread Dirk Hohndel
I'm in an interesting situation right now. I just uploaded my latest test build with Qt5 on Windows (the 4.1-303 file). On my Windows box this works great, unless "something" happens and it crashes. In an hour of manually bisecting my own .XML file I was able to distill it down to the attached part

Re: Typo in subsurface.pro

2014-06-07 Thread Dirk Hohndel
On Sat, Jun 07, 2014 at 04:06:59PM +0200, Joakim Bygdell wrote: > > Thanks for catching this. BTW: how did you create this patch? > > git doesn't do patches with identical filenames - instead it adds one > > level of directory to it. > > > git diff —no-prefix > filename.patch > Simple but ugly way

Re: Typo in subsurface.pro

2014-06-07 Thread Dirk Hohndel
On Sat, Jun 07, 2014 at 09:39:29AM +0200, Joakim Bygdell wrote: > Typo in subsurface.pro prevents clean build on Mac. Thanks for catching this. BTW: how did you create this patch? git doesn't do patches with identical filenames - instead it adds one level of directory to it. For my workflow it's

Windows Qt5 based builds

2014-06-05 Thread Dirk Hohndel
Just a quick heads up... I'm trying to switch my Windows build to Qt5... and apparently in the process I managed to completely corrupt my build environment. Not sure when I'll be able to release the next daily build. (I hate trying to debug things like this under Windows... such a developer hosti

Re: Disclaimer for printed dive plan

2014-06-04 Thread Dirk Hohndel
On Wed, Jun 04, 2014 at 11:34:09PM +0200, Robert C. Helling wrote: > > > Good. But why add that string a second time? Shouldn't we just have a > > function in planner.c return the translated string and call that function? > > here is an updated version. As this is C (without ++) I opted for a > g

Re: latest changes

2014-06-04 Thread Dirk Hohndel
On Wed, Jun 04, 2014 at 04:13:46PM -0300, Tomaz Canabrava wrote: > Di > > On Wed, Jun 4, 2014 at 4:11 PM, Dirk Hohndel wrote: > > On June 4, 2014 11:48:18 AM Thiago Macieira wrote: > > > >> Em qua 04 jun 2014, às 15:35:28, Tomaz Canabrava escreveu: > &

Re: latest changes

2014-06-04 Thread Dirk Hohndel
On Wed, Jun 04, 2014 at 05:07:31PM -0300, Tomaz Canabrava wrote: > roberto, > > On Wed, Jun 4, 2014 at 1:57 PM, roberto forini wrote: > > Jeans that if you are planning a deep dive and after that you try to change > > the type of the cylinders, subsurface seems to hang even opening the > > dropdo

Re: latest changes

2014-06-04 Thread Dirk Hohndel
On June 4, 2014 11:48:18 AM Thiago Macieira wrote: Em qua 04 jun 2014, às 15:35:28, Tomaz Canabrava escreveu: > > that's pretty much the case. > > at least recently, i've tried building marble and subsurface with > > Qt5.3 natively on win32 and that worked out well. > With Thiago's "ok" we can

Re: latest changes

2014-06-04 Thread Dirk Hohndel
On Wed, Jun 04, 2014 at 02:06:30AM +0200, roberto forini wrote: > Yes i was just writting you to start the calc when focus change. I just implemented this for GFlow and GFhigh. > Do it also in changing cyls. Make all the calcs after focus change. If the > dive is particulary "complex" also changi

Re: Planner & Add Dive issues.

2014-06-04 Thread Dirk Hohndel
On Wed, Jun 04, 2014 at 08:47:50AM -0700, Dirk Hohndel wrote: > On Wed, Jun 04, 2014 at 08:46:24AM -0700, Dirk Hohndel wrote: > > > Nope, as stated the TX gasmix is unused but it is still shown in the > > > dive list. > > > I have other dives in the dive list that

Re: Planner & Add Dive issues.

2014-06-04 Thread Dirk Hohndel
On Wed, Jun 04, 2014 at 08:46:24AM -0700, Dirk Hohndel wrote: > > Nope, as stated the TX gasmix is unused but it is still shown in the dive > > list. > > I have other dives in the dive list that where done on EANx but show up as > > AIR. > > > > I wil

Re: Planner & Add Dive issues.

2014-06-04 Thread Dirk Hohndel
On Wed, Jun 04, 2014 at 05:11:58PM +0200, Joakim Bygdell wrote: > Latest master works ok on Mac as well. Good! > > We show the "most interesting" gas in the dive list. So if your dive has > > more than one tank we have some made up algorithm of what to show. > > To us the most interesting is eith

Re: Planner & Add Dive issues.

2014-06-04 Thread Dirk Hohndel
On Wed, Jun 04, 2014 at 04:54:22PM +0200, Joakim Bygdell wrote: > > > >> 2# Unused gas mixes are still used in the planned dive resulting in > > > >> zero consumption issues and extra gas switch events. > > > > > > > > That sounds wrong. I don't see how this could be happening. > > > > > > > > Can

Re: Disclaimer for printed dive plan

2014-06-04 Thread Dirk Hohndel
On Wed, Jun 04, 2014 at 09:12:09AM +0200, Robert Helling wrote: > Hi, > > this patch adds the disclaimer on the bottom of the printed dive plan. > Of course, we don’t have to redo the plan for this (as I though > initially), it is sufficient to add it concatenate it in the QTextEdit’s > content.

Re: Planner & Add Dive issues.

2014-06-03 Thread Dirk Hohndel
On Wed, Jun 04, 2014 at 07:45:18AM +0200, Joakim Bygdell wrote: > >> Planner: > >> 1# Unused gas mixes are not shown even if the option is set in preferences. > > > > Yes, I thought that was the consensus when we discussed this earlier. I no > > longer copy unused cylinders. > > We did, yet somet

daily (?) Windows installer builds

2014-06-03 Thread Dirk Hohndel
Poor man's CI :-) I have a little cronjob that hopefully will create Windows installers every night and upload them to http://subsurface.hohndel.org/downloads/daily That directory is readable, so I don't need to send out an email with the link every time I create an installer. Hope this is help

Re: latest changes

2014-06-03 Thread Dirk Hohndel
On Tue, Jun 03, 2014 at 09:26:26PM -0700, Dirk Hohndel wrote: > > What I do notice is that the tank pressures shown in the profile and in > the equipment tab are different. Oops. A fix for that was just pushed. /D ___ subsurface mai

Re: latest changes

2014-06-03 Thread Dirk Hohndel
On Wed, Jun 04, 2014 at 02:35:44AM +0200, roberto forini wrote: > Last one and i'm going to sleep! > after a dive plan the change of end pressure of the cylinder #1 doesnt have > effect. It works on the other cyls if you add some. Can you tell us step by step what you are doing and what isn't work

Re: Gehad's patches

2014-06-03 Thread Dirk Hohndel
On Tue, Jun 03, 2014 at 09:12:36PM +0300, Miika Turkia wrote: > From 684bdf422b466763045a25179b0ee022c9cb5cf3 Mon Sep 17 00:00:00 2001 > From: Gehad elrobey > Date: Mon, 2 Jun 2014 20:10:54 +0300 > Subject: [PATCH 6/7] HTML: Better quoting to the export strings > > Quote the location, buddy, suit

Re: latest changes

2014-06-03 Thread Dirk Hohndel
For those playing along at home - here are those with 10 or more commits. Tomaz is maybe a week or two away from pushing Linus from the #2 spot. 1809 Dirk Hohndel 767 Linus Torvalds 730 Tomaz Canabrava 342 Lubomir I. Ivanov 231 Miika Turkia 174 Anton Lundin 137 Thiago Maciei

Re: latest changes

2014-06-03 Thread Dirk Hohndel
On Wed, Jun 04, 2014 at 02:06:30AM +0200, roberto forini wrote: > Yes i was just writting you to start the calc when focus change. > Do it also in changing cyls. Make all the calcs after focus change. If the > dive is particulary "complex" also changing cylinders takes a lot > > I know you bot

<    1   2   3   4   5   6   7   8   9   10   >