Re: GSoC Status - Week 7 (Customizable prints)

2015-07-21 Thread Gehad Elrobey
On Mon, Jul 20, 2015 at 4:59 PM, Dirk Hohndel wrote: > > > > > On Jul 20, 2015, at 07:30, Miika Turkia wrote: > > > >>> > >>> Agreed. Better looking templates or at least templates that look > closer to > >>> what we had. I'll admit that the "shades of orange and beige" color > scheme > >>> isn'

unable to compile

2015-07-21 Thread Miika Turkia
I am getting the following error when attempting to compile on Ubuntu 14.04.2LTS: subsurface/printer.cpp: In member function ‘void Printer::print()’: subsurface/printer.cpp:144:33: error: ‘class QPrinter’ has no member named ‘pageLayout’ miika ___ subsu

Re: unable to compile

2015-07-21 Thread Lubomir I. Ivanov
On 21 July 2015 at 13:23, Miika Turkia wrote: > I am getting the following error when attempting to compile on Ubuntu > 14.04.2LTS: > > subsurface/printer.cpp: In member function ‘void Printer::print()’: > subsurface/printer.cpp:144:33: error: ‘class QPrinter’ has no member > named ‘pageLayout’ >

Re: unable to compile

2015-07-21 Thread Dirk Hohndel
Are you compiling against Qt4 by any chance? -- Sent from my phone > On Jul 21, 2015, at 03:23, Miika Turkia wrote: > > I am getting the following error when attempting to compile on Ubuntu > 14.04.2LTS: > > subsurface/printer.cpp: In member function ‘void Printer::print()’: > subsurface/pri

Re: unable to compile

2015-07-21 Thread Miika Turkia
On Tue, Jul 21, 2015 at 3:41 PM, Dirk Hohndel wrote: > Are you compiling against Qt4 by any chance? This is 5.2.1 miika ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurfac

Re: unable to compile

2015-07-21 Thread Dirk Hohndel
On Tue, Jul 21, 2015 at 03:41:34PM +0300, Lubomir I. Ivanov wrote: > On 21 July 2015 at 13:23, Miika Turkia wrote: > > I am getting the following error when attempting to compile on Ubuntu > > 14.04.2LTS: > > > > subsurface/printer.cpp: In member function ‘void Printer::print()’: > > subsurface/pr

Re: unable to compile

2015-07-21 Thread Dirk Hohndel
On Tue, Jul 21, 2015 at 03:45:52PM +0300, Miika Turkia wrote: > On Tue, Jul 21, 2015 at 3:41 PM, Dirk Hohndel wrote: > > Are you compiling against Qt4 by any chance? > > This is 5.2.1 Yeah, shouldn't have responded from the phone before both eyes were open... I just responded to Lubomir's email

Re: unable to compile

2015-07-21 Thread Miika Turkia
the build might have worked but I get a segm fault with daily build 1190 when starting subsurface. Weird backtrace on malloc. Same 14.04 Ubuntu miika > On 21 Jul 2015, at 15:55, Dirk Hohndel wrote: > >> On Tue, Jul 21, 2015 at 03:45:52PM +0300, Miika Turkia wrote: >>> On Tue, Jul 21, 2015 at

Re: GSoC Status - Week 7 (Customizable prints)

2015-07-21 Thread Dirk Hohndel
On Tue, Jul 21, 2015 at 11:24:19AM +0200, Gehad Elrobey wrote: > On Mon, Jul 20, 2015 at 4:59 PM, Dirk Hohndel wrote: > > >> > > >> I want to admit that I am not a clever color chooser, I will add another > > >> color theme with shades of blue. Did you try the Template Edit dialog? > > > > > > Can

Re: unable to compile

2015-07-21 Thread Dirk Hohndel
On Tue, Jul 21, 2015 at 04:07:35PM +0300, Miika Turkia wrote: > the build might have worked but I get a segm fault with daily build 1190 > when starting subsurface. Weird backtrace on malloc. Same 14.04 Ubuntu Great. Not. First thing to try with confusing backtraces that end in malloc is Valgrind

[PATCH 2/2] Add setpoint support for CSV import

2015-07-21 Thread Miika Turkia
The import of setpoint values is tested with Seabear data. Signed-off-by: Miika Turkia --- dive.h| 2 +- file.c| 17 +++-- qt-ui/divelogimportdialog.cpp | 23 ++- qt-ui/divelogimportdialog.h | 1 + 4 files change

[PATCH 1/2] Add setpoint support on CSV import (XSLT parsing)

2015-07-21 Thread Miika Turkia
Signed-off-by: Miika Turkia --- xslt/csv2xml.xslt | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/xslt/csv2xml.xslt b/xslt/csv2xml.xslt index 92542c2..c957421 100644 --- a/xslt/csv2xml.xslt +++ b/xslt/csv2xml.xslt @@ -15,6 +15,7 @@

Re: GSoC Status - Week 7 (Customizable prints)

2015-07-21 Thread Gehad Elrobey
On Tue, Jul 21, 2015 at 3:15 PM, Dirk Hohndel wrote: > On Tue, Jul 21, 2015 at 11:24:19AM +0200, Gehad Elrobey wrote: > > On Mon, Jul 20, 2015 at 4:59 PM, Dirk Hohndel wrote: > > > >> > > > >> I want to admit that I am not a clever color chooser, I will add > another > > > >> color theme with sh

[PATCH] Default to first tab on export

2015-07-21 Thread Miika Turkia
The divelog export dialog was changed to default to the HTML export when changing the layout to resemble other dialogs (commit 42acaa40). However, the default tab should be the first one with most of the export formats and options. Signed-off-by: Miika Turkia --- qt-ui/divelogexportdialog.ui | 2

Re: [PATCH 2/2] Add setpoint support for CSV import

2015-07-21 Thread Dirk Hohndel
On Tue, Jul 21, 2015 at 04:37:42PM +0300, Miika Turkia wrote: > The import of setpoint values is tested with Seabear data. Thanks for your continued work on that... > extern int parse_file(const char *filename); > -extern int parse_csv_file(const char *filename, int timef, int depthf, int > tem

Re: Current subsurface issues..

2015-07-21 Thread Salvador Cuñat
Hi. 2015-06-15 20:51 GMT+02:00, Linus Torvalds : > > I can add it trivially to libdivecomputer, although right now > subsurface just ignores DC_SAMPLE_RBT. So we'd have to add it to our > sample structure etc, like the heartbeat and bearing thing we already > do save. I'd argue that airtime report

Re: unable to compile

2015-07-21 Thread Dirk Hohndel
On Tue, Jul 21, 2015 at 06:17:41AM -0700, Dirk Hohndel wrote: > On Tue, Jul 21, 2015 at 04:07:35PM +0300, Miika Turkia wrote: > > the build might have worked but I get a segm fault with daily build 1190 > > when starting subsurface. Weird backtrace on malloc. Same 14.04 Ubuntu > > Great. Not. > >