1. 29 May, 2021 2 commits
  2. 27 May, 2021 1 commit
  3. 25 May, 2021 1 commit
  4. 19 May, 2021 9 commits
    • Oliver Sander's avatar
      Merge branch 'make-debug-compile' into 'master' · 6add45ae
      Oliver Sander authored
      Fix Debug mode
      
      Closes #35
      
      See merge request !160
      6add45ae
    • Oliver Sander's avatar
      Remove the HEAPFAULT and HEAPCHECK mechanism · bc66673b
      Oliver Sander authored
      If I understand it correctly (no documentation in sight), this mechanism
      was able to detect whether pointers into the UG3 memory heap were stale,
      i.e., did not point to a valid object anymore.  This was used in various
      places to verify the data structure integrity. As we have removed the
      custom memory heap a long time ago, the HEAPCHECK mechanism cannot be
      used anymore (at least to my knowledge you cannot check for pointer
      staleness in the system heap).  Nobody noticed this, because the
      corresponding assertions were never enabled.  Enabling them leads
      to occasional program termination with spurious error messages,
      and therefore I herewith remove HEAPFAULT and HEAPCHECK.
      bc66673b
    • Oliver Sander's avatar
      Out-comment a failing call to HEAPFAULT · ffcefefa
      Oliver Sander authored
      HEAPFAULT is some form of consistency check, but I don't really
      understand what it is supposed to do.  It may just be a left-over
      from the days when UG3 implemented its own memory heap.
      
      The HEAPFAULT in question here triggers an assertion failure
      in test-parallel-ug.
      ffcefefa
    • Oliver Sander's avatar
      Remove a bogus assertion · 19be2ebc
      Oliver Sander authored
      It asserts begin < end for a pair of iterators, but the code
      right below it handles the cases begin==end, so the assertion
      must be wrong.  Nobody notices because apparently nobody ever
      enabled the assertion.  Once it is enabled it fires in the
      dune-grid standard tests.
      19be2ebc
    • Oliver Sander's avatar
      Use the type GM_OBJECTS in more places · c9479d08
      Oliver Sander authored
      c9479d08
    • Oliver Sander's avatar
      Remove several unused debugging macros · 5c6c8f31
      Oliver Sander authored
      5c6c8f31
    • Oliver Sander's avatar
      Actually do enable the UG Debug mode in the CI script · 4acc31ef
      Oliver Sander authored
      The previous way to enable it didn't actually work.
      4acc31ef
    • Oliver Sander's avatar
      Out-comment a failing assertion · 927e6206
      Oliver Sander authored
      There is an assertion in GetDomainPart that fails when it is actually
      enabled.  While this makes it likely that there is a bug somewhere,
      the 'part' information is never actually used Dune UGGrid.  I therefore
      simply disable the assertion, expecting that this code will be removed
      eventually anyway.
      927e6206
    • Oliver Sander's avatar
      Fix build when UG_ENABLE_DEBUGGING is set · 2427d6eb
      Oliver Sander authored
      2427d6eb
  5. 23 Apr, 2021 2 commits
  6. 21 Apr, 2021 1 commit
  7. 20 Apr, 2021 1 commit
  8. 31 Mar, 2021 1 commit
  9. 09 Mar, 2021 1 commit
  10. 29 Nov, 2020 1 commit
  11. 28 Nov, 2020 2 commits
  12. 25 Oct, 2020 1 commit
  13. 24 Oct, 2020 2 commits
  14. 23 Oct, 2020 1 commit
  15. 14 Sep, 2020 2 commits
  16. 13 Sep, 2020 3 commits
    • Oliver Sander's avatar
      Merge branch 'stabilize-ddd-type-definitions' into 'master' · 27443346
      Oliver Sander authored
      Stabilize ddd type definitions
      
      See merge request !167
      27443346
    • Oliver Sander's avatar
      Fix a few simple compiler warnings · 0cd0df3e
      Oliver Sander authored
      0cd0df3e
    • Oliver Sander's avatar
      Make DDD_TypeDefine accept member offsets rather than member pointers · 9763bfa9
      Oliver Sander authored
      The DDD_TypeDefine method previously required pointers to the individual
      data members of a data structure to compute its layout.  For this you
      need a pointer to the beginning of the data structure, and the code
      used stuff like nullptr and pointers onto the stack for this.
      This worked (mostly), but working with objects starting at 0
      involves undefined behavior.
      
      This patch makes the code more robust by using the standard method
      'offsetof' to compute the data structure layouts.  This is done
      outside of DDD_TypeDefine, which hence changes its interface.
      This is not much of a problem, because the method is only used
      in initddd.cc anyway.
      9763bfa9
  17. 31 Aug, 2020 2 commits
  18. 17 Aug, 2020 1 commit
  19. 12 Aug, 2020 3 commits
  20. 11 Aug, 2020 3 commits