Segfault

2018-05-02 Thread Martin Měřinský
Build. Run (do not open any divelog). Log > Add dive Segmentation fault (core dumped) (gdb) bt #0 0x55f187bdd0a0 in ProfileWidget2::setProfileState() (this=this@ entry=0x55f189e2a4f0) at /data/ss/subsurface/profile-widget/profilewidget2.cpp:1204 #1 0x55f187bdd350 in ProfileWidget2::s

Re: Build Ubuntu 18.04

2018-05-01 Thread Martin Měřinský
On Fri, 2018-04-27 at 14:35 +0300, Lubomir I. Ivanov wrote: > hi, > > On 27 April 2018 at 13:32, Martin Měřinský wrote: > > Hi, > > for latest Ubuntu, qtdeclarative5-private-dev package is missing in > > packages list in INSTALL file. > > Ubuntu should have a

Build Ubuntu 18.04

2018-04-27 Thread Martin Měřinský
Hi, for latest Ubuntu, qtdeclarative5-private-dev package is missing in packages list in INSTALL file. But I'm not able to build it anyway. ./subsurface/scripts/build.sh /data/ss/googlemaps/qgeotiledmapgooglemaps.h:4:10: fatal error: QtLocation/private/qgeotiledmap_p.h: No such file or directory

Re: 4.7.8 planning

2018-04-03 Thread Martin Měřinský
> I just pushed the latest strings to Transifex (there don't appear to > be all that many). I'll pull translations later this week. Unless I > hear reasons not to do so, I'd do a new release later this week... Czech done. ___ subsurface mailing list subs

Re: Icon aliases cleanup

2017-11-30 Thread Martin Měřinský
> looking as our icon set (the ones in subsurface/icons/) we seem to > have a repeated one: warning.svg and warning-icon.svg. Good observation. I know, and have more patches prepared, that will clean this up. > Also (and probably there's an obvious reason for it, that I don't > know), why do we k

Icon aliases cleanup

2017-11-30 Thread Martin Měřinský
Hello, I'm working towards icons code cleanup and the possibility to create other, nicer, scalable icons. Possibility to change icons in Subsurface at will. And finaly usage of your current GUI icons in Subsurface, where meaningfull. This first step is using relative icon path and icon aliases fro

Re: Cylinder vs. tank -

2017-11-28 Thread Martin Měřinský
On Wed, 2017-11-29 at 07:34 +0200, Willem Ferguson wrote: > On 29/11/2017 00:31, Tim Wootton wrote: > > On 28/11/17 20:18, Bill Perry wrote: > > > It appears that Wikipedia pushes the term "Diving Cylinder" > > > https://en.wikipedia.org/wiki/Diving_cylinder > > > And in their terminology section,

Re: Cylinder vs. tank -

2017-11-27 Thread Martin Měřinský
On Tue, 2017-11-28 at 07:29 +, Tim Wootton wrote: > On 28/11/17 06:52, Martin Měřinský wrote: > > Hi. > > > > > we really usually use "Cylinder" and only in 6 strings use > > > "Tank". > > > Shall we change EVERYTHING to &qu

Re: Cylinder vs. tank -

2017-11-27 Thread Martin Měřinský
Hi. > we really usually use "Cylinder" and only in 6 strings use "Tank". > Shall we change EVERYTHING to "cylinder" or sometimes "cyl." (which > we have already)? > Would also mean the "Tank bar" becomes the "Cylinder bar"... In my opinion yes and yes. Martin M. _

Re: AppImages and continuous integration

2017-11-06 Thread Martin Měřinský
> I would really ask as many of you as possible (those with access to > Linux systems) to try the AppImage and report back which Linux distro > you tried this with. Hi, Ubuntu 17.04 seems to work, but gives long output of warnings: ./Subsurface-5196b46-x86_64.AppImage libpng warning: iCCP: known

Re: map-widget: new suggestions for editing markers

2017-11-02 Thread Martin Měřinský
On Thu, 2017-11-02 at 08:26 -0700, Dirk Hohndel wrote: > > On Nov 2, 2017, at 8:09 AM, Linus Torvalds > on.org> wrote: > > > > On Thu, Nov 2, 2017 at 7:49 AM, Martin Měřinský > > wrote: > > > > > > After selecting dive(s) without location, zomm

Re: map-widget: new suggestions for editing markers

2017-11-02 Thread Martin Měřinský
On Wed, 2017-11-01 at 23:02 +0200, Lubomir I. Ivanov wrote: > i suggest that collect feedback for at least a couple of days Hi. For the first start, without divelog, I would like to see map zoom 0 (whole world). After opening divelog, last dive is automatically selected. If it has location; or a

Re: Root and Wayland

2017-11-01 Thread Martin Měřinský
On Tue, 2017-10-31 at 18:21 +0100, Robert C. Helling wrote: > Hi, > > > Am 31.10.2017 um 12:51 schrieb Tomaz Canabrava > > : > > > > > > perhaps we should remove that, period. > > A while ago, we had problems with people who at some point ran > subsurface as root and the touched all kinds of f

Root and Wayland

2017-10-31 Thread Martin Měřinský
Hello. These days more and more distributions are using Wayland. Last Ubuntu e.g. AFAIK Wayland design feature is that UI applications are not allowed to run as root. From Subsurface manual: "If you are not root, you may not be a member of that group and won’t be able to use the USB port." Well, i

Re: [RFD] divecomputer time/date synchronization while downloading dives

2017-07-20 Thread Martin Měřinský
> > pop-up with the current time and ask the user to confirm? I like the idea to be able to set (sync) time in dive computer from PC. Pop-up if DC time differs from PC time would be ok, BUT: My PC uses local time and daylight saving. M DC, GPS, cammeras, etc. uses UTC without daylight saving. My

Re: Issues with SAC terminology

2017-07-19 Thread Martin Měřinský
> I wasn't able to find an official reference for PADI, either. According to PADI AOWD manual: bar/min or psi/min. According to DSAT Tec: l/min. Martin M. ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/c

Re: the marble (map) replacement dilemma

2017-07-10 Thread Martin Měřinský
> the problem with actual maps is that they are made for land use and > often enough water is just some blue area without any details. Yes, > there is openseamap but that is intended for boating so the details > available are again mostly not interesting to divers. Currently, > there is probably no

Re: the marble (map) replacement dilemma

2017-07-10 Thread Martin Měřinský
It would be very good to be able to export dive locations to GPX. File > Export > Locations as GPX.  Or even to open dive locations by external application. View > Locations map It would call user configured command like: gnome-maps exported_locations.gpx M. __

Re: the marble (map) replacement dilemma

2017-07-10 Thread Martin Měřinský
As a user: I would like to see OpenStreetMap. (Google/OSM map layers can be configurable). Map tiles could be used from Gnome Maps or Viking cache (if available). It would reduce used disk space and offer offline maps (for already cached tiles). It would be OK for me, to have no map in Subsurfac

Re: sudo 4.6.4 Aborted

2017-05-15 Thread Martin Měřinský
On Mon, 2017-05-15 at 06:37 -0700, Dirk Hohndel wrote: > On Mon, May 15, 2017 at 09:05:03AM +0200, Martin Měřinský wrote: > > On Sun, 2017-05-14 at 23:54 -0700, Thiago Macieira wrote: > > > On domingo, 14 de maio de 2017 23:22:55 PDT Martin Měřinský > > > wrote: > &g

Re: sudo 4.6.4 Aborted

2017-05-15 Thread Martin Měřinský
On Sun, 2017-05-14 at 23:54 -0700, Thiago Macieira wrote: > On domingo, 14 de maio de 2017 23:22:55 PDT Martin Měřinský wrote: > > > we should fix the reason you run as root in the first place. > > > > > > > Because importing dives from DC doesn't work fo

Re: sudo 4.6.4 Aborted

2017-05-14 Thread Martin Měřinský
> we should fix the reason you run as root in the first place. > > > Because importing dives from DC doesn't work for me as a user. So > > for > > the short moment I run Subsurface as a root. > > > > I tried, what manual says, but it didn't work. > > > > sudo usermod -a -G dialout mermar > > sud

Re: sudo 4.6.4 Aborted

2017-05-14 Thread Martin Měřinský
On Sun, 2017-05-14 at 21:32 -0700, Thiago Macieira wrote: > On domingo, 14 de maio de 2017 21:20:01 PDT Martin Měřinský wrote: > > sudo subsurface divelog.xml > > [sudo] password for mermar: > > QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to > > '/tmp/ru

sudo 4.6.4 Aborted

2017-05-14 Thread Martin Měřinský
Hi. In Ubuntu 17.04, running Subsurface under sudo (two displays setup) makes it fail. Without sudo it seems to work. subsurface --version Subsurface v4.6.4, built with libdivecomputer v0.6.0-devel-Subsurface- branch (b04f393b97fbc5762ac21b09df8e097f205ba0ec) sudo subsurface divelog.xml  [sudo] p

Re: Minor formatting comments

2017-03-12 Thread Martin Měřinský
On Fri, 2017-03-10 at 18:44 +, John Smith wrote: > In planning view, gradient factors are "GF low" and "GF high" and are > given % in the pull down. > In preferences they are "GFLow" and "GFHigh" and are unit less. Which one is correct? GFLow GFlow GF Low GF low Martin M.

Re: one word - two words again

2017-03-12 Thread Martin Měřinský
On Sun, 2017-03-12 at 23:02 +, Tim Wootton wrote: > I was just going through the latest translations and came across > "Safetystop". I would write it as "Safety stop", anyone else agree? I agree. Martin M. ___ subsurface mailing list subsurface@subsu

Re: WIP - Tabbs rework

2017-03-10 Thread Martin Měřinský
git apply 0030-Pass-the-parent-everywhere.patch error: patch failed: desktop-widgets/maintab.h:51 error: desktop-widgets/maintab.h: patch does not apply ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-

Re: String

2017-03-09 Thread Martin Měřinský
On Thu, 2017-03-09 at 10:19 +0100, Jan Mulder wrote: > On 09-03-17 10:07, Martin Měřinský wrote: > > Hello. > > I found string "PO2", that should be "pO₂". See attachment. > > > > But I didn't manage to find out, where is this string comming f

String

2017-03-09 Thread Martin Měřinský
Hello. I found string "PO2", that should be "pO₂". See attachment. But I didn't manage to find out, where is this string comming from. Can somebody please help? Thank you very much. Martin M.___ subsurface mailing list subsurface@subsurface-divelog.org

Re: question about technical terms and translations

2017-03-06 Thread Martin Měřinský
> What do people here on the list who aren't diving in an English > speaking context think about that statement? Czech divers are using czech equivalents in spoken language. Eg. "maximální operační hloubka" for MOD. But for written text and bottle inscriptions, we are using english abbreviations,

Consistent strings 3

2017-03-06 Thread Martin Měřinský
Hello, please have a look at this pull request and and feel free to comment. https://github.com/Subsurface-divelog/subsurface/pull/235 Thank you, Martin M. ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/c

Re: keyboard shortcuts

2017-02-22 Thread Martin Měřinský
> So that means that we cannot use different shortcut keys in the > translations. Is that what we want? For translations, Alt+ works. Every translation can have different shortcut (or none). It even doesn't have to be unique (repeatedly pressed Alt+ cycles menu items). In my opinion, for Ctrl+ we

Re: Translations

2017-02-16 Thread Martin Měřinský
> > Why are there so many same strings? > > That is triggered by the localization tools that we are using. I > tried to figure out how to reduce this, but it made the program code > harder to use (basically, each class creates its own strings and if > you use the same string between different clas

Translations

2017-02-14 Thread Martin Měřinský
Hello, I have several translation questions/proposals. Why are there so many same strings? Eg. I found six Weight Or identical: The following error occurred: The following error occurred: Choose file for divecomputer download logfile Choose file for divecomputer download logfile Etc. Would it be

double free or corruption error

2015-11-03 Thread Martin Měřinský
Hi, double free or corruption error occurs when exitting Subsurface (with current clean build). To reproduce the error start Subsurface and hit Ctrl+q (or File->Quit). mermar@kaarya:~/ss$ ~/ss/subsurface/build/subsurface Plugins Directory: QDir( "/home/mermar/ss/subsurface/build" , nameFilters =

Re: [PATCH] Re: Minor planner bugs

2015-10-21 Thread Martin Měřinský
On St, 2015-10-21 at 09:59 +0200, Robert Helling wrote: > Could you please check in the preferences if you have configured a > default cylinder. If you do, what is it? Could you try if changing it > to some other value from the list solves this problem? I have no default cylinder preferences. Choo

Re: [PATCH] Re: Minor planner bugs

2015-10-21 Thread Martin Měřinský
On Út, 2015-10-20 at 10:04 +0200, Robert Helling wrote: > I could not reproduce that behavior. But looking at the code, there > might be the case that there is a current dive but that that dive does > not have any cylinder. Here is a patch that is supposed to catch that > case and add a default cyl

Minor planner bugs

2015-10-18 Thread Martin Měřinský
Hi. I have found a few minor bugs in 4.5.0 planner. I mentioned it in "Proposal on new planner layout" thread, but was asked to send it separately. Start Subsurface (no log file). Ctrl+l (Log -> Plan dive). I get warning "Too many gas mixes". Warning text is there twice. It doesn't make sense, bec