Re: recent build failures...

2024-04-25 Thread Berthold Stoeger via subsurface
On Donnerstag, 25. April 2024 06:43:19 CEST Dirk Hohndel wrote: > Rewriting this would be a huge mistake. > > There are like four working units left, three of the owners use Subsurface, > two of them have carefully hacked the existing code to work for them... If these two persons are still

Re: recent build failures...

2024-04-24 Thread Berthold Stoeger via subsurface
On Donnerstag, 25. April 2024 02:16:12 CEST Dirk Hohndel via subsurface wrote: > > On Apr 24, 2024, at 11:44, Linus Torvalds > > wrote: > > > > On Wed, 24 Apr 2024 at 11:13, Dirk Hohndel via subsurface > > > > wrote: > >> Those with better skills in interpreting error messages... what am I >

Re: Something's weird with the dive computer parsing in the UDDF import

2024-03-24 Thread Berthold Stoeger via subsurface
t; > > subsurface@subsurface-divelog.org> wrote: > >> On Sun, Mar 17, 2024 at 8:59 PM Michael Keller via subsurface < > >> > >> subsurface@subsurface-divelog.org> wrote: > >>> Hi Berthold. > >>> > >>> > >>&g

Re: Something's weird with the dive computer parsing in the UDDF import

2024-03-17 Thread Berthold Stoeger via subsurface
Hi Hendrik, On Samstag, 16. März 2024 10:31:15 CET Henrik B A via subsurface wrote: /> It looks like the dive computer parsing is broken when importing / > UDDF files. I reworked quite a bit of the string handling in the parser recently. Did this work with older versions? Especially the

Re: crash in QMLManager destructor

2024-01-08 Thread Berthold Stoeger via subsurface
On Montag, 8. Jänner 2024 22:26:46 CET Dirk Hohndel wrote: > > On Jan 8, 2024, at 13:20, Berthold Stoeger wrote: > > > > On Montag, 8. Jänner 2024 22:15:24 CET Dirk Hohndel wrote: > > > 5d78: ARM64_RELOC_BRANCH26 > > >

Re: crash in QMLManager destructor

2024-01-08 Thread Berthold Stoeger via subsurface
On Montag, 8. Jänner 2024 22:15:24 CET Dirk Hohndel wrote: > 5d78: ARM64_RELOC_BRANCH26 __ZN8IosShareD1Ev Could you show the disassembly of that? Perhaps a tail-call to std::terminate and therefore it doesn't show up in the stack trace? Berthold

Re: crash in QMLManager destructor

2024-01-08 Thread Berthold Stoeger via subsurface
On Montag, 8. Jänner 2024 22:15:24 CET Dirk Hohndel wrote: > > On Jan 8, 2024, at 13:04, Linus Torvalds wrote: > > > > On Mon, 8 Jan 2024 at 12:18, Dirk Hohndel via subsurface > > wrote: > > > > "objdump -d" is horrible at disassembly. > > no kidding. Yes, I was also disappointed. :) >

Re: crash in QMLManager destructor

2024-01-08 Thread Berthold Stoeger via subsurface
On Montag, 8. Jänner 2024 21:51:39 CET Berthold Stoeger via subsurface wrote: > On Montag, 8. Jänner 2024 21:17:19 CET Dirk Hohndel wrote: > > > If all else fails, you could disassemble qmlmanager.ccc.o. as such: > > > > > > objdump -d > > > ./mobile-w

Re: crash in QMLManager destructor

2024-01-08 Thread Berthold Stoeger via subsurface
On Montag, 8. Jänner 2024 21:17:19 CET Dirk Hohndel wrote: > > If all else fails, you could disassemble qmlmanager.ccc.o. as such: > > > > objdump -d > > ./mobile-widgets/CMakeFiles/subsurface_mobile.dir/qmlmanager.cpp.o (at > > least that's how it works on Linux, assuming it is similar for

Re: crash in QMLManager destructor

2024-01-08 Thread Berthold Stoeger via subsurface
On Montag, 8. Jänner 2024 19:35:56 CET Dirk Hohndel wrote: > Hmmm. Can't find an obvious way when I open the stack trace. It just shows > the C++ code. Does this help: https://discussions.apple.com/thread/2423113 ? > Online I find suggestions how to do that when live-debugging > an app on an

Re: crash in QMLManager destructor

2024-01-08 Thread Berthold Stoeger via subsurface
Hi Dirk, On Montag, 8. Jänner 2024 18:10:45 CET Dirk Hohndel via subsurface wrote: > So it seems like the crash happening on close on iOS is line 608 in > qmlmanager.cpp - so at the end of the QMLManager destructor. This doesn't happen for me (mobile-on-desktop), so I'm not sure that I can

Re: we need to make a new release

2023-08-16 Thread Berthold Stoeger via subsurface
On Mittwoch, 16. August 2023 18:41:28 CEST Dirk Hohndel wrote: > Australia. NICE. Love that place. Melbourne in winter.. 路 > Are there any open issues concerns from your side, or are the sources as > they are pretty good as far as your code goes? All good from my side. Berthold

Re: we need to make a new release

2023-08-16 Thread Berthold Stoeger via subsurface
On Mittwoch, 16. August 2023 18:10:36 CEST Robert.Helling wrote: > Hi Dirk and crowd, > > > On 16. Aug 2023, at 17:24, Dirk Hohndel wrote: > > > > what are your thoughts about stabilizing the current state and releasing a > > 5.1 ? > > > > It's been way too long since we published an official

Re: GitHub two-factor authentication

2023-05-18 Thread Berthold Stoeger via subsurface
Hi, Many thanks for all the suggestions! So far I have tried KeePassXC, for which there is an Ubuntu package. At least I can log in again from my main laptop without too much of a hassle. I have no idea how any of this works, so maybe I will try the other options as well. Berthold

GitHub two-factor authentication

2023-05-18 Thread Berthold Stoeger via subsurface
Hi everybody, Currently I am locked out of GitHub, because it changed to two-factor authentication. This is somewhat annoying as currently I have a number of more "interesting" problems. It seems that I have to install an application such as 1password. But that doesn't solve any problem for

Re: Subsurface. Refactoring of planner.c

2023-04-19 Thread Berthold Stoeger via subsurface
On Mittwoch, 19. April 2023 11:38:48 CEST Vlad A wrote: > That all of those types has to be classes with clearly defined operators Unit-safe operators would be "nice to have" and I definitely would welcome them, but I don't see them as a necessity. One way or another, they will add a lot of

Re: Crash when opening planner in empty log

2022-10-30 Thread Berthold Stoeger via subsurface
Dear all, I created a pull request: https://github.com/subsurface/subsurface/pull/3546 Let's move technical discussion there. Berthold On Sonntag, 30. Oktober 2022 05:56:22 CET Robert Helling wrote: > Berthold > > > On 29. Oct 2022, at 22:30, Berthold Stoeger > > wrote

Re: Crash when opening planner in empty log

2022-10-29 Thread Berthold Stoeger via subsurface
Hi Robert, On Samstag, 29. Oktober 2022 21:53:35 CEST Robert Helling wrote: > > On 29. Oct 2022, at 09:05, Robert Helling via subsurface > > wrote: > > > > Signed PGP part > > > >> On 28. Oct 2022, at 23:35, Berthold Stoeger >> <mailto:b

Re: Crash when opening planner in empty log

2022-10-28 Thread Berthold Stoeger via subsurface
Hi Robert, On Freitag, 28. Oktober 2022 22:56:33 CEST Robert Helling via subsurface wrote: > just noticed: Current master crashes with memory violation when opening the > planner on an empty log. I have a suspicion. Could you try if this fixes the problem: diff --git

Re: Howto add media for a dive site?

2022-10-28 Thread Berthold Stoeger via subsurface
Hello Hans, On Samstag, 22. Oktober 2022 16:35:38 CEST Hans Hermann Meyer via subsurface wrote: > so far I never used media in Subsurface. As I understand it, I can add > pictures or videos to a dive. > > What I would like to do is to add pictures to a dive site (and not the dive) > like the

Re: PROBLEM IMPORTING FROM ALADIN SPORT MATRIX AFTER FIRMWARE UPDATE

2022-05-11 Thread Berthold Stoeger via subsurface
Hi Frederico, On Mittwoch, 11. Mai 2022 10:46:58 CEST Federico Serra via subsurface wrote: > as written in subject, after the 2.1 Firmware update on my Aladin sport > Matrix, I'll become unable to download data from the computer to > Subsurface. Your software recognizes the Dive computer but wen

Re: Media on URL

2022-04-03 Thread Berthold Stoeger via subsurface
Hi Mark, On Sonntag, 3. April 2022 15:03:55 CEST Mark Stiebel via subsurface wrote: > Locally I changed sleep(1) to usleep(1), which has made it a lot > quicker - but before putting that in a PR wanted to check if there was a > reason you added the 1 second sleep in there? (I believe usleep

Re: Setting primary computer

2022-04-03 Thread Berthold Stoeger via subsurface
Hi Linus, On Sonntag, 3. April 2022 00:30:39 CEST Linus Torvalds wrote: > That default flag was added by commit b6f821886 ("mobile: unify > download code on mobile and desktop"), but as far as I can tell, it > acted that way even before (it used to do > > add_imported_dives(, nullptr, ,

Re: we'll need to release a 5.0.7 pretty soon

2022-03-19 Thread Berthold Stoeger via subsurface
On Samstag, 19. März 2022 06:00:55 CET you wrote: > What does the "Bin" mean in the strings? stats/statsstate.cpp:21 > Looking at the source file does not really help me to understand... As Dirk notes, these are the classes of histograms: https://en.wikipedia.org/wiki/Data_binning

Re: Subsurface dive planning issues

2022-02-07 Thread Berthold Stoeger via subsurface
Dear Willem, On Montag, 7. Februar 2022 07:43:24 CET Willem Ferguson via subsurface wrote: > See attached image of a plan for a normoxic pSCR dive. There are > important problems, possibly bugs? Recently, there have been massive changes of the profile and cylinder-model code (as in nearly

Re: testprofile on i686

2021-12-04 Thread Berthold Stoeger via subsurface
On Freitag, 3. Dezember 2021 23:12:39 CET Linus Torvalds via subsurface wrote: > On Fri, Dec 3, 2021 at 1:48 PM Alan Brown via subsurface > > wrote: > > Thanks for looking into this. The test still fails but the number of > > lines in the diffs are fewer. > > Still seems to be that EAD line if

Re: testprofile on i686

2021-12-03 Thread Berthold Stoeger via subsurface
On Freitag, 3. Dezember 2021 12:49:48 CET Berthold Stoeger via subsurface wrote: > Hi Robert, > > On Donnerstag, 2. Dezember 2021 08:38:25 CET Robert Helling via subsurface > > wrote: > > fn2 = (int)(1000.0 * entry->pressures.n2 / > > amb_pressure); &g

Re: testprofile on i686

2021-12-03 Thread Berthold Stoeger via subsurface
Hi Robert, On Donnerstag, 2. Dezember 2021 08:38:25 CET Robert Helling via subsurface wrote: > fn2 = (int)(1000.0 * entry->pressures.n2 / amb_pressure); This looks ill-defined. You probably want lrint(...) or (int)(round(...)) or (int)(ceil(...)) or (int)(floor(...)) for

Re: Printing/Exporting statistics

2021-06-28 Thread Berthold Stoeger via subsurface
Hi Robert, On Montag, 28. Juni 2021 14:05:38 CEST Robert Helling via subsurface wrote: > a couple of days ago, I had the idea that it might be useful if the user > could print the statistics plots or export those as images. But I could not > figure out how to do that. The profile can be rendered

Re: Windows crash

2021-03-30 Thread Berthold Stoeger via subsurface
On Dienstag, 30. März 2021 05:32:37 CEST Dirk Hohndel via subsurface wrote: > The consistent trigger appears to be closing a dive file. My guess is that > some destructor gets called twice or that in some other way we access freed > memory. > > I tried to figure this out by starting at valgrind

Dive selection and the statistics code

2021-02-14 Thread Berthold Stoeger via subsurface
Dear all, Concerning the new statistics module, there have been requests to enable the selection and analysis of subsets of dives. One use-case being the examination of outliers. In the current desktop build, you can select items in the charts (e.g. bars in bar charts or individual dives in

Re: some more feedback on the statistics widgets we have

2021-01-13 Thread Berthold Stoeger via subsurface
Hi Peter, On Mittwoch, 13. Jänner 2021 08:10:26 CET Peter Zaal via subsurface wrote: > I now see this is the same issue with using the Filter and switching views: > from 'normal' view (all 4 parts Info, Profile, Dive List and Map are > visible), then select Filter. The Map is now replaced with

Re: Statistics code for desktop (and soon mobile)

2021-01-08 Thread Berthold Stoeger via subsurface
Hi Christof, Thank you for the detailed report. A few short comments in-line. On Freitag, 8. Jänner 2021 23:25:07 CET Christof Arnosti via subsurface wrote: > * When I select date(yearly) as base variable and buddies as data, bar > charts have a yellow warning in the drop down. Why's

Re: Building statistics

2021-01-01 Thread Berthold Stoeger via subsurface
Hi Robert, On Freitag, 1. Jänner 2021 16:00:28 CET Robert Helling via subsurface wrote: > First thing I noticed was that the compiler complains about not knowing > about std::isnan(). But since there is (and is suggested by the compiler) > isnan(), I changed all occurrences in this way. Maybe I

Re: Importing dives from Shearwater Perdix AI straight into Subsurface

2020-12-23 Thread Berthold Stoeger via subsurface
On Mittwoch, 23. Dezember 2020 07:59:40 CET tormento via subsurface wrote: > My workaround until now has been importing dives thru smartphone Subsurface > and then sync with desktop one. > > I have found no other way. Unfortunately it seems to be a low priority > issue. It's not so much a matter

Re: Remove unused cylinders from dropdown

2020-12-11 Thread Berthold Stoeger via subsurface
On Freitag, 11. Dezember 2020 16:44:18 CET Berthold Stoeger via subsurface wrote: > On Freitag, 11. Dezember 2020 15:08:47 CET Adolph Weidanz via subsurface > > wrote: > > Is there a way to remove the unused cylinders from the dropdown? There > > are a lot of them there and

Re: Remove unused cylinders from dropdown

2020-12-11 Thread Berthold Stoeger via subsurface
Hi Adolph, On Freitag, 11. Dezember 2020 15:08:47 CET Adolph Weidanz via subsurface wrote: > Is there a way to remove the unused cylinders from the dropdown? There > are a lot of them there and I will never use most of them and these > old eyes have a time trying to discern which is which.

Re: towards Subsurface 4.9.8

2020-11-07 Thread Berthold Stoeger via subsurface
Hi Kim, On Samstag, 7. November 2020 08:11:16 CET Kim Delmar via subsurface wrote: > Problems common to all platforms: > - in the dive computer "device names" tab, all three columns > (Mode/DevID/Nickname) are too narrow by default, all columns need to be > widened to read the headers and table

Re: Grouping and managing dive logs

2020-09-29 Thread Berthold Stoeger via subsurface
On Sonntag, 27. September 2020 15:56:30 CEST Attilla de Groot via subsurface wrote: > I’m making quite some local dives between my trips that I would like to > group as “local dives” to have a shorter overview in the list (which is why > the trip feature exists). As you can see in the attached

Re: Grouping and managing dive logs

2020-09-28 Thread Berthold Stoeger via subsurface
On Montag, 28. September 2020 18:09:21 CEST Attilla de Groot via subsurface > I created a trip and tried to > add dives later, but you can only add dives to a trip that wasn’t > immidiately above/below in the GUI. That's indeed a strange UI restriction. The code to add/move a dive to an

Re: Subsurface media import problems

2020-09-19 Thread Berthold Stoeger via subsurface
Hi Eric, On Samstag, 19. September 2020 12:36:08 CEST Eric Tanguy wrote: > I can't achieve to modify atoms timestamp using ExifTool. Do you > know another GUI tool to do this ? It turns out that ExifTool only modifies the creation date in the mvhd atom, not the individual tracks. Here

Re: Subsurface media import problems

2020-09-19 Thread Berthold Stoeger via subsurface
Hi Eric, On Samstag, 19. September 2020 10:08:48 CEST Eric Tanguy wrote: > The problem is that this timestamp in atoms is wrong as it is the > timestamp of the re-encoded using dive+ to apply underwater > filter. I can manipulate meta-data to be the correct dive > timestamp

Re: Subsurface media import problems

2020-09-18 Thread Berthold Stoeger via subsurface
On Freitag, 18. September 2020 22:03:27 CEST Dirk Hohndel wrote: > > On Sep 18, 2020, at 1:01 PM, Berthold Stoeger wrote: > > Should we add an option to prefer file-dates over > > meta-data? > > The whole point of meta-data is that you don't rely on file dates >

Re: Subsurface media import problems

2020-09-18 Thread Berthold Stoeger via subsurface
On Sonntag, 6. September 2020 20:19:13 CEST Berthold Stoeger via subsurface wrote: > > So i can't achieve to modifiy the date and time value read by > > > > sub-surface. Using "Attribute changer" (https://www.petges.lu/) > > does not work. I can'

Re: Subsurface media import problems

2020-09-06 Thread Berthold Stoeger via subsurface
Dear Eric, > So i can't achieve to modifiy the date and time value read by > sub-surface. Using "Attribute changer" (https://www.petges.lu/) > does not work. I can't figure where is hidden the value read by > subsurface. The code responsible for reading out the metadata is

Re: Import WLOG no longer working

2020-08-15 Thread Berthold Stoeger via subsurface
Sorry if repost, it seems like my previous mail didn't go through. On Samstag, 15. August 2020 07:48:07 CEST Salvador Cuñat wrote: > The morning coffee seems to trigger my imagination and I think I've got it. > The data in cloud storage seems to be screwed badly for some reason. It > shows some

Re: Import WLOG no longer working

2020-08-15 Thread Berthold Stoeger via subsurface
On Freitag, 14. August 2020 22:27:00 CEST Linus Torvalds wrote: > That said, looking at that commit, I feel I found a completely > unrelated bug. In "merge_events()" we stop merging aftrer we've done > *one* event from a divecomputer when we've run out of events from the > other divecomputer.

Re: Edit Gas Change Event

2020-08-03 Thread Berthold Stoeger via subsurface
Dear Micha, On Montag, 3. August 2020 05:21:27 CEST micha via subsurface wrote: > The diff can be seen on GitHub: > https://github.com/subsurface/subsurface/compare/master...mwerle:feature/ > edit_gas_change > > If there are no objections/concerns, I'll clean this up a bit and create a > pull

Re: cloud / git storage error handling

2020-06-12 Thread Berthold Stoeger via subsurface
Hi Dirk, On Donnerstag, 11. Juni 2020 19:26:19 CEST Dirk Hohndel via subsurface wrote: > I tried to trace through all the error cases to understand better why > our users are seeing some of the errors they are seeing. And I find the > code fairly easy to read, but the way we do and do not pass

Re: RCF - - UI -- Filter constraint prototype (#2854)

2020-05-25 Thread Berthold Stoeger via subsurface
On Montag, 25. Mai 2020 19:24:41 CEST Dirk Hohndel via subsurface wrote: > > On May 25, 2020, at 9:12 AM, Hartley Horwitz via subsurface > > Hi Willem -- thanks for the mockup. In general this looks very clear to > > me. I like the fact you've allowed for a substring search. For tags, > > I'd

Re: UI for dealing filter sets

2020-05-25 Thread Berthold Stoeger via subsurface
Hi Willem, On Montag, 25. Mai 2020 17:49:57 CEST Willem Ferguson wrote: > My idea was to add the tools for dealing with sets to the toolbar at the > top of the filter panel. Something like the attached image with the set > controls grouped together. What was your conception of the number of >

Re: RFC: Statistics in Subsurface

2020-05-24 Thread Berthold Stoeger via subsurface
Dear all, On Dienstag, 12. Mai 2020 00:02:06 CEST Dirk Hohndel wrote: > Here's a crazy idea how this could look for example: > > The filters are built incrementally, with a drop down menu that allows you > to add criteria or constraints. Like date range, tags, people, etc I posted a first

Re: RFC: Statistics in Subsurface

2020-05-17 Thread Berthold Stoeger via subsurface
On Dienstag, 12. Mai 2020 07:46:00 CEST Berthold Stoeger via subsurface wrote: > On Dienstag, 12. Mai 2020 00:02:06 CEST Dirk Hohndel wrote: > > Here's a crazy idea how this could look for example: > > > > The filters are built incrementally, with a drop down menu that

Re: RFC: Statistics in Subsurface

2020-05-11 Thread Berthold Stoeger via subsurface
On Dienstag, 12. Mai 2020 00:02:06 CEST Dirk Hohndel wrote: > Here's a crazy idea how this could look for example: > > The filters are built incrementally, with a drop down menu that allows you > to add criteria or constraints. Like date range, tags, people, etc > > once the user picks one,

Re: RFC: Statistics in Subsurface

2020-05-11 Thread Berthold Stoeger via subsurface
On Montag, 11. Mai 2020 23:02:32 CEST Dirk Hohndel wrote: > >> BUT: would this mean that the existing filter panel be rewritten in QML > >> to be mobile-compatible? > > > > This is not necessary. The filter code is generic and we only need a tiny > > display layer on top. Let's not introduce QML

Re: Fwd: RFC: Statistics in Subsurface

2020-05-11 Thread Berthold Stoeger via subsurface
On Sonntag, 10. Mai 2020 12:48:24 CEST Willem Ferguson via subsurface wrote: > 1) Adapt the existing filter mechanism to store filter 'sets' and then > apply them to the dive list. Mechanisms to store filter "sets" and > combine them to extract dive list information that is stored in the >

Re: quick update on test binaries

2020-05-08 Thread Berthold Stoeger via subsurface
On Freitag, 8. Mai 2020 23:15:19 CEST Linus Torvalds via subsurface wrote: > Have you tried with the test picture? > > Maybe the GPS data in your own picture has some other format As noted upthread, Theodor sent me the picture in question and it worked just fine for me, so that shouldn't be the

Re: quick update on test binaries

2020-05-08 Thread Berthold Stoeger via subsurface
On Freitag, 8. Mai 2020 18:06:45 CEST Dirk Hohndel wrote: > And it turns out that dives/images/wreck.jpg (which is part of the sources) > does indeed contain GPS data, so it's easy for everyone to test this by > creating a dive around 2012-01-08 15:51:04 > > In my brief test on macOS with latest

Re: quick update on test binaries

2020-05-08 Thread Berthold Stoeger via subsurface
On Donnerstag, 7. Mai 2020 20:51:02 CEST Dirk Hohndel via subsurface wrote: > > On May 7, 2020, at 11:35 AM, Chirana Gheorghita Eugeniu Theodor > > wrote: > > > > So more testing. As I said with pics it works except for the gps data from > > pic. I cannot figure how to import that data . > I

Re: quick update on test binaries

2020-05-08 Thread Berthold Stoeger via subsurface
On Donnerstag, 7. Mai 2020 20:15:52 CEST Chirana Gheorghita Eugeniu Theodor via subsurface wrote: > adding pictures is ok. deletimg them also ok, > recalculate thimbnails ok. > I do not see any gps data omported. Can you explain how the flow should > work. I used a pic taken 30 minutes after the

Re: quick update on test binaries

2020-05-08 Thread Berthold Stoeger via subsurface
On Donnerstag, 7. Mai 2020 21:32:04 CEST Chirana Gheorghita Eugeniu Theodor via subsurface wrote: > And another weird thing: > On the added manually dive the time is 1 hour over the local time. Now here > is 22:31 and the dive time that is automatically added is 23:31 This appears to be by

Re: hopefully invisible change...

2020-04-27 Thread Berthold Stoeger via subsurface
Hi Dirk, On Montag, 27. April 2020 01:26:47 CEST Dirk Hohndel via subsurface wrote: > I just moved our GitHub repository to a new home. Through a generous > donation I have become the proud owner of GitHub.com/Subsurface -- and > decided to move the official home of our project that to that URL.

Re: hopefully invisible change...

2020-04-27 Thread Berthold Stoeger via subsurface
On Montag, 27. April 2020 14:16:23 CEST Jan Mulder via subsurface wrote: > And my self build Android arm64 (from the current master) also just > crashes. Reason is commit cd474996948b7. Simple, the assumption that > there seems to be nobody listening to this signal, is wrong. I reverted > this

Re: Select visible dives

2020-04-25 Thread Berthold Stoeger via subsurface
Hi Robert, On Samstag, 25. April 2020 14:48:00 CEST Robert Helling via subsurface wrote: > It seems the culprit is in divelistview.cpp in the ruction > > void DiveListView::selectDive(QModelIndex idx, bool scrollto) > > which is called once per selected dive. In the end, this calls > >

Re: new CI builds

2020-04-21 Thread Berthold Stoeger via subsurface
Ok, this one is weird. On Dienstag, 21. April 2020 08:44:09 CEST Chirana Gheorghita Eugeniu Theodor wrote: > /usr/include/c++/9/bits/stl_vector.h:1042: std::vector<_Tp, > _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, > _Alloc>::size_type) [with _Tp = int; _Alloc =

Re: new CI builds

2020-04-20 Thread Berthold Stoeger via subsurface
Hi Theodor, On Montag, 20. April 2020 21:01:54 CEST Chirana Gheorghita Eugeniu Theodor via subsurface wrote: > First test failed on linux. > I click Log > Add dive and app crashes. Where is the log of the app in > linux? I can dig it out but I am too lazy now. Possibly fixed by

Re: towards 4.9.4

2020-04-17 Thread Berthold Stoeger via subsurface
On Donnerstag, 16. April 2020 22:06:34 CEST Dirk Hohndel wrote: > > There is one case left: editing the profile of a manually added dive. > > From a > > UI and code-hygiene point of view, we should probably move the > > message to the > > profile. > > Is this something you would be comfortable

Re: towards 4.9.4

2020-04-16 Thread Berthold Stoeger via subsurface
On Donnerstag, 16. April 2020 18:39:15 CEST Dirk Hohndel via subsurface wrote: > - Section 5.1 we see several screen shots and a discussion of the "this > dive is being edited" warning. I believe (and Berthold, please confirm) > that this is now a thing of the past. If there still are actions

Re: latest beta bugs

2020-04-13 Thread Berthold Stoeger via subsurface
On Sonntag, 12. April 2020 21:08:13 CEST Dirk Hohndel via subsurface wrote: > I so do not love the codename / sku / product name mess... I can't seem to > translate this into an actual product name - and brilliantly the Google > Play store shows me just product names... Some googling makes me

Re: towards 4.9.4

2020-04-13 Thread Berthold Stoeger via subsurface
On Montag, 13. April 2020 11:02:03 CEST Berthold Stoeger via subsurface wrote: > Hi Benjamin, > > On Montag, 13. April 2020 07:21:49 CEST Benjamin wrote: > > When your use-case is basically a lot of terminals on the screen, Linux on > > the desktop works wonderfully :) &g

Re: towards 4.9.4

2020-04-13 Thread Berthold Stoeger via subsurface
Hi Benjamin, On Montag, 13. April 2020 07:21:49 CEST Benjamin wrote: > When your use-case is basically a lot of terminals on the screen, Linux on > the desktop works wonderfully :) > > Attached are 2 screenshots from my Raspberry Pi, running Raspbian. > Althought these 2 images are of a low

Re: towards 4.9.4

2020-04-12 Thread Berthold Stoeger via subsurface
On Sonntag, 12. April 2020 21:10:35 CEST Dirk Hohndel wrote: > > On Apr 12, 2020, at 12:01 PM, Linus Torvalds > > wrote: > > > > On Sun, Apr 12, 2020 at 11:51 AM Berthold Stoeger via subsurface > > > > wrote: > >> If I do a "su" into the o

Re: latest beta bugs

2020-04-12 Thread Berthold Stoeger via subsurface
On Sonntag, 12. April 2020 21:26:59 CEST Dirk Hohndel wrote: > This is back to the crash that we have seen when working on the new dive > list model. After updating the notification text (triggered by saving the > data file) we tell Qt to process pending events so that the user actually > sees

Re: latest beta bugs

2020-04-12 Thread Berthold Stoeger via subsurface
On Sonntag, 12. April 2020 21:08:13 CEST Dirk Hohndel via subsurface wrote: > > On Apr 12, 2020, at 11:46 AM, Dirk Hohndel via subsurface > > wrote: > >> On Apr 12, 2020, at 11:22 AM, Chirana Gheorghita Eugeniu Theodor > >> wrote: > >> > >> Hello, > >> Playing today on droid with katest beta:

Re: towards 4.9.4

2020-04-12 Thread Berthold Stoeger via subsurface
On Sonntag, 12. April 2020 21:10:35 CEST Dirk Hohndel wrote: > > On Apr 12, 2020, at 12:01 PM, Linus Torvalds > > wrote: > > > > On Sun, Apr 12, 2020 at 11:51 AM Berthold Stoeger via subsurface > > > > wrote: > >> If I do a "su" into the o

Re: latest beta bugs

2020-04-12 Thread Berthold Stoeger via subsurface
On Sonntag, 12. April 2020 20:22:04 CEST Chirana Gheorghita Eugeniu Theodor via subsurface wrote: > Hello, > Playing today on droid with katest beta: > create new trip bi long press on a dive. all ok, all saved. > Now when seleting that dive from the trip or any other dive from any trip > app

Re: towards 4.9.4

2020-04-12 Thread Berthold Stoeger via subsurface
On Sonntag, 12. April 2020 19:31:27 CEST Dirk Hohndel wrote: > > On Apr 12, 2020, at 9:34 AM, Berthold Stoeger > > wrote:> > > On Sonntag, 12. April 2020 18:29:01 CEST Dirk Hohndel via subsurface wrote: > >> Hi Salvador! > >> > >>> On Ap

Re: towards 4.9.4

2020-04-12 Thread Berthold Stoeger via subsurface
On Sonntag, 12. April 2020 18:29:01 CEST Dirk Hohndel via subsurface wrote: > Hi Salvador! > > > On Apr 12, 2020, at 2:26 AM, Salvador Cuñat > > wrote: > > > > Obviously, a lot has changed since 4.9.3 and this deserves some solid > > testing. > > > > The desktop info tab looks quite ugly for

Re: Gelaber...

2020-03-24 Thread Berthold Stoeger via subsurface
Ooops. Sorry, that was not supposed to be sent to the list. :-/ Berthold ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Gelaber...

2020-03-24 Thread Berthold Stoeger via subsurface
https://journals.iucr.org/b/issues/2019/04/00/um5028/um5028.pdf Viel Spaß... ;-D ___ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Re: Switching dive computers

2020-03-09 Thread Berthold Stoeger via subsurface
On Montag, 9. März 2020 09:47:03 CET Robert Helling via subsurface wrote: > > On 8. Mar 2020, at 22:12, Dirk Hohndel wrote: > > > > I've tried on two Macs and one Linux system with the latest master and it > > works fine... not sure what Miika did to his system... > back at the office. The

Re: [Subsurface-divelog/subsurface] Filter: implement starts-with and exact modes (#2612)

2020-02-12 Thread Berthold Stoeger
Hi Robert, On Dienstag, 11. Februar 2020 07:44:56 CET Robert Helling wrote: > on that topic, can you recommend a source (book, tutorial etc), that brings > somebody who knows C sufficiently well up to speed with modern C++ > (including memory management, standard library, closures etc)? It

Mark dives as invalid (was Re: Questions about obscure preferences)

2019-12-13 Thread Berthold Stoeger
On Donnerstag, 12. Dezember 2019 08:26:44 CET Berthold Stoeger wrote: > On Donnerstag, 12. Dezember 2019 08:07:06 CET Anton Lundin wrote: > > On 11 December, 2019 - Willem Ferguson wrote: > > > 2) Mark invalid dives, an option currently in the General preferences > > >

Re: Questions about obscure preferences

2019-12-11 Thread Berthold Stoeger
On Donnerstag, 12. Dezember 2019 08:07:06 CET Anton Lundin wrote: > On 11 December, 2019 - Willem Ferguson wrote: > > 2) Mark invalid dives, an option currently in the General preferences tab. > > Apparently one can mark dives as invalid (maybe pool dives or equipment > > test dives??). How does

Re: Scaling of cylinder pressures in profile

2019-11-11 Thread Berthold Stoeger
On Montag, 11. November 2019 12:50:25 CET Willem Ferguson wrote: > On 2019/11/11 11:38, Berthold Stoeger wrote: > > > What happens now is that this part of the code actually starts to work. > > But if you don't have an "air integrated" computer, you will no

Re: Scaling of cylinder pressures in profile

2019-11-11 Thread Berthold Stoeger
On Montag, 11. November 2019 09:05:18 CET Willem Ferguson wrote: > There appears to be a bug in Subsurface. Check the attached dive log and > the rendering of cylinder pressures. Also see attached screenshot. I did > not notice this until now. Is it perhaps the last merge base don my PR > that

Re: Scaling of cylinder pressures in profile

2019-11-11 Thread Berthold Stoeger
Dear Willem, On Montag, 11. November 2019 09:05:18 CET Willem Ferguson wrote: > There appears to be a bug in Subsurface. Check the attached dive log and > the rendering of cylinder pressures. Also see attached screenshot. I did > not notice this until now. Is it perhaps the last merge base don my

Re: fundamental design issues with trips and dives

2019-11-08 Thread Berthold Stoeger
On Donnerstag, 7. November 2019 23:02:17 CET Linus Torvalds wrote: > On Thu, Nov 7, 2019 at 12:14 PM Berthold Stoeger > > wrote: > > It doesn't have to. Just like you defined a proxy model on top of the > > DiveListModel, one could implement a proxy model on

Re: fundamental design issues with trips and dives

2019-11-07 Thread Berthold Stoeger
On Donnerstag, 7. November 2019 19:32:22 CET Dirk Hohndel wrote: > > On Nov 7, 2019, at 10:10 AM, Berthold Stoeger > > wrote: > > This all works on desktop, so my idea would be to use the desktop tree > > model and the desktop undo commands. More details later (in the met

Re: fundamental design issues with trips and dives

2019-11-07 Thread Berthold Stoeger
Dirk, On Donnerstag, 7. November 2019 18:17:28 CET Dirk Hohndel wrote: > (4) ??? other ideas? This all works on desktop, so my idea would be to use the desktop tree model and the desktop undo commands. More details later (in the metro to dinner). Berthold

Re: Feedback Subsurface-mobile 2.2.3 (4.9.3.258) for iOS

2019-11-04 Thread Berthold Stoeger
On Montag, 4. November 2019 14:38:38 CET Dirk Hohndel wrote: > And we set the height of all the > dives taht aren't shown to 0 (and the dive invisible). So if you have 20 > trips on your screen with on average 15 dives, we actually have 320 > elements on the screen, just almost all of them

Re: Feedback Subsurface-mobile 2.2.3 (4.9.3.258) for iOS

2019-11-04 Thread Berthold Stoeger
Dirk, On Montag, 4. November 2019 12:47:48 CET Dirk Hohndel wrote: > The old version accessed data through pointers that weren't guaranteed to be > valid which caused random crashes. We now access the data from the model > which simply causes more overhead. I'm still looking for ways to make this

Re: Map - Segmentation fault: 4.9.0 on Linux Ubuntu

2019-08-01 Thread Berthold Stoeger
On Thursday, 1 August 2019 19:51:18 CEST Dirk Hohndel wrote: > > You can always get the latest AppImage from GitHub: > > The continuous build releases contain AppImages: > https://github.com/Subsurface-divelog/subsurface/releases/tag/continuous >

Re: Map - Segmentation fault: 4.9.0 on Linux Ubuntu

2019-07-30 Thread Berthold Stoeger
On Tuesday, 30 July 2019 17:32:51 CEST Willem Ferguson wrote: > I was 6 commits behind master. The latest master 4.9.0-35-g29f5d does > not give a segfault on the filter. However, the segfault on > double-clicking the active dive site is still there. Can't reproduce it, sorry. And the backtrace

Re: Filter - Segmentation fault: 4.9.0 on Linux Ubuntu

2019-07-30 Thread Berthold Stoeger
Hi Willem, On Tuesday, 30 July 2019 16:35:25 CEST Willem Ferguson wrote: > This is the segmentation fault when using the filter to search for a > person. Interestingly it refers back to maplocationmodel.cpp line 43. > hat code is way above my head. Are you using current master? That is

Re: road to 4.9

2019-07-17 Thread Berthold Stoeger
On Wednesday, 17 July 2019 23:20:29 CEST Linus Torvalds wrote: > On Sun, Jul 14, 2019 at 9:53 PM Steve wrote: > > Applied the patach and got: Unknown cylinder use string 'Freedive' > > Ok, that should never be valid, and shouldn't be a possible value. It > does sound like there's been

Re: road to 4.9

2019-07-14 Thread Berthold Stoeger
Hi Steve, > Cheers, output below: Many thanks. Just for my peace of mind, would you please provide the output of the following gdb commands after it hits the crash: (gdb) print i (gdb) print nr (gdb) print cylinder (gdb) print *cylinder (gdb) print dive->cylinder (gdb) print >cylinder

Re: 4.9

2019-07-14 Thread Berthold Stoeger
On Sunday, 14 July 2019 22:53:07 CEST Linus Torvalds wrote: > Steve's problem with the cylinder usage was easy to reproduce. > > Just export one dive that has a cylinder as xml. Then edit it to add > something like > > use="impossible" > > for the cylinder. Sure, but what I'd like to

Re: 4.9

2019-07-14 Thread Berthold Stoeger
On Sunday, 14 July 2019 06:15:12 CEST Dirk Hohndel wrote: > Is there anything missing? Anything I should wait for? We have at least one reproducible crash (https://github.com/Subsurface-divelog/subsurface/issues/2167) [1]and no confirmation that Steve's problem was fixed (I'd like to

Re: road to 4.9

2019-07-14 Thread Berthold Stoeger
Hi Steve, On Sunday, 14 July 2019 08:00:44 CEST Steve wrote: > I had a quick chance today to setup a build environment, I also found > something that consistently caused it to crash which was loading from > cloud and then trying to save to a local file.eg: load from cloud, then > file save as

  1   2   3   >