1. 19 Jan, 2020 3 commits
  2. 10 Jan, 2020 2 commits
  3. 08 Jan, 2020 2 commits
  4. 07 Jan, 2020 2 commits
  5. 28 Dec, 2019 7 commits
    • Christoph Grüninger's avatar
      [!744] Fixes for mingw · 151ef5b9
      Christoph Grüninger authored
      Merge branch 'fixes-for-mingw' into 'master'
      
      ref:core/dune-common We fix two general issues f the build-system regarding
      mingw/windows support.
      
      @gruenich and again\... can we get this into 2.7?
      
      See merge request [!744]
      
        [!744]: gitlab.dune-project.org/core/dune-common/merge_requests/744
      151ef5b9
    • Christoph Grüninger's avatar
      [!743] [test][mpi] run mpipacktest only if MPI was found · 8d50cec3
      Christoph Grüninger authored
      Merge branch 'run-mpipacktest-only-with-mpi' into 'master'
      
      ref:core/dune-common @gruenich can we merge this to 2.7?
      
      See merge request [!743]
      
        [!743]: gitlab.dune-project.org/core/dune-common/merge_requests/743
      8d50cec3
    • Christian Engwer's avatar
      [cmake][win32] make skipped tests work on windows · a225b2da
      Christian Engwer authored
      skipped test targets are manually overwritten. We have use the TARGET_FILE
      and can not create the name manually, as this will fail when the target name
      differs from the executable name.
      a225b2da
    • Christian Engwer's avatar
      [test][win32] fix command name error · 4b81a9d5
      Christian Engwer authored
      the fallback test used an invocation via sh to capture non-zero
      exit codes as non-fatal. This didn't work on win32 as the hard-coded
      command name was wrong (missing exe extension).
      
      We now explicitly build two different executables with slightly different
      error handling.
      4b81a9d5
    • Christian Engwer's avatar
      691337f3
    • Christoph Grüninger's avatar
      [!740] [latex][bugfix][win32][cmake] ignore CMAKE_FIND_ROOT_PATH for latexmkrc.cmake · 3263b577
      Christoph Grüninger authored
      Merge branch 'fix-cmake-latexmk' into 'master'
      
      ref:core/dune-common When cross compiling for windows it is necessary to tweak
      CMAKE_FIND_ROOT_PATH_MODE_* to modify default behavior of FIND_XXX() commands
      to search for headers/libs in the target environment and search for programs
      in the build host environment.
      
      This lead to a problem when searching for latexmkrc.cmake.
      
      We now explicitly change the UseLatexMk find_file call to ignore the
      CMAKE_FIND_ROOT_PATH and thus beeing able to find the file in the source
      directory.
      
      @gruenich can we backport this to 2.7?
      
      See merge request [!740]
      
        [!740]: gitlab.dune-project.org/core/dune-common/merge_requests/740
      3263b577
    • Christian Engwer's avatar
      [latex][bugfix][win32][cmake] ignore CMAKE_FIND_ROOT_PATH for latexmkrc.cmake · 0717916a
      Christian Engwer authored
      When cross compiling for windows it is necessary to tweak
      CMAKE_FIND_ROOT_PATH_MODE_* to modify default behavior of FIND_XXX()
      commands to search for headers/libs in the target environment and
      search for programs in the build host environment.
      
      This lead to a problem when searching for latexmkrc.cmake.
      
      We now explicitly change the UseLatexMk find_file call to ignore the
      CMAKE_FIND_ROOT_PATH and thus beeing able to find the file in the
      source directory.
      0717916a
  6. 20 Dec, 2019 1 commit
  7. 19 Dec, 2019 9 commits
    • Christoph Grüninger's avatar
      Bump version to 2.8 · c59698c3
      Christoph Grüninger authored
      c59698c3
    • Christoph Grüninger's avatar
      [!738] Deprecate *collectivecommunication.hh headers. · 2d911e53
      Christoph Grüninger authored
      Merge branch 'feature/deprecate-collective-headers' into 'master'
      
      ref:core/dune-common They will be removed after Dune 2.7.
      
      See merge request [!738]
      
        [!738]: gitlab.dune-project.org/core/dune-common/merge_requests/738
      2d911e53
    • Christoph Grüninger's avatar
      Deprecate *collectivecommunication.hh headers. · cf4c6263
      Christoph Grüninger authored
      They will be removed after Dune 2.7.
      cf4c6263
    • Christoph Grüninger's avatar
      [!737] Add copy-constructor and copy-assign to VariableSizeCommunicator · fcfd0eb4
      Christoph Grüninger authored
      Merge branch 'feature/variablesizecomm-copy' into 'master'
      
      ref:core/dune-common This basically implements the rule of 3, as we have a
      custom destructor. Without this patch, copying a VariableSizeCommunicator will
      lead to double frees.
      
      Supersedes [!690]
      
      See merge request [!737]
      
        [!690]: gitlab.dune-project.org/NoneNone/merge_requests/690
        [!737]: gitlab.dune-project.org/core/dune-common/merge_requests/737
      fcfd0eb4
    • Lasse Hinrichsen's avatar
      Add copy-constructor and copy-assign to VariableSizeCommunicator · 2652f929
      Lasse Hinrichsen authored
      This basically implements the rule of 3, as we have a custom destructor.
      Without this patch, copying a VariableSizeCommunicator will lead to double frees.
      2652f929
    • Christoph Grüninger's avatar
      [!736] cmake: separate commandline args to list · 13411d62
      Christoph Grüninger authored
      Merge branch 'fix/mpi-cmake' into 'master'
      
      ref:core/dune-common Providing space-separated MPI_DUNE_COMPILE_FLAGS would
      previously add them as a single list entry to the cmake list COMPILE_OPTIONS
      and thus ruin the command-line having something like
      
          /usr/bin/c++ "-arg1 -arg2" -other -args
      
      Supersedes [!709]
      
      See merge request [!736]
      
        [!709]: gitlab.dune-project.org/NoneNone/merge_requests/709
        [!736]: gitlab.dune-project.org/core/dune-common/merge_requests/736
      13411d62
    • Stephan Hilb's avatar
      cmake: separate commandline args to list · 81fc5be3
      Stephan Hilb authored
      Providing space-separated MPI_DUNE_COMPILE_FLAGS would previously add
      them as a single list entry to the cmake list COMPILE_OPTIONS and thus
      ruin the command-line having something like
      
          /usr/bin/c++ "-arg1 -arg2" -other -args
      81fc5be3
    • Christoph Grüninger's avatar
      [!735] Fix inconsistent chained DenseVector ctors/assignment. · 5304152a
      Christoph Grüninger authored
      Merge branch 'fix/fix-inconsistent-1d-dense-vector-conversions' into 'master'
      
      ref:core/dune-common The commit also adds a test which fails without the other
      changes in the commit.
      
      Problem is that DenseVector and FieldVector\<\..., 1\> implement catch-all
      assignment constructors and ctors. I.e., the 1d FieldVector provides CTOR
      call-signatures and the DenseVector<C> provides and assignment operator
      
      std::is_assignable<To, From\> std::is_convertible<From, To\>
      
      This poses a problem when nesting vectors and trying to assign to them from
      another DenseVector implementation.
      
      The problem is that the implementation of the CTOR and the assignment
      operation fails, but OTOH the FieldVector implementation uses
      std::is_convertible. Now std::convertible will report "yes" but the body of
      the assignment operation will fail nevertheless.
      
      The commit fixes this by restricting the call-signature to the cases where the
      implementation of the assignment and the CTOR will succeed but testing the
      assignability of DV::value_type.
      
      Supersedes [!562] as this is a rebased and squased version.
      
      See merge request [!735]
      
        [!562]: gitlab.dune-project.org/NoneNone/merge_requests/562
        [!735]: gitlab.dune-project.org/core/dune-common/merge_requests/735
      5304152a
    • Claus-Justus Heine's avatar
      Fix inconsistent chained DenseVector ctors/assignment. · bed4e242
      Claus-Justus Heine authored
      The commit also adds a test which fails without the other changes in the
      commit.
      
      Problem is that DenseVector and FieldVector<..., 1> implement catch-all
      assignment constructors and ctors. I.e., the 1d FieldVector provides
      CTOR call-signatures and the DenseVector<C> provides and assignment
      operator
      
      std::is_assignable<To, From>
      std::is_convertible<From, To>
      
      This poses a problem when nesting vectors and trying to assign to them
      from another DenseVector implementation.
      
      The problem is that the implementation of the CTOR and the assignment
      operation fails, but OTOH the FieldVector implementation uses
      std::is_convertible. Now std::convertible will report "yes" but the body
      of the assignment operation will fail nevertheless.
      
      The commit fixes this by restricting the call-signature to the cases
      where the implementation of the assignment and the CTOR will succeed but
      testing the assignability of DV::value_type.
      bed4e242
  8. 18 Dec, 2019 1 commit
    • Christian Engwer's avatar
      [!721] fix ctor for Future<void> · 0ce22beb
      Christian Engwer authored
      Merge branch 'fix_future_of_void' into 'master'
      
      ref:core/dune-common There was a problem with a ctor of Future<void>. This MR
      disables the ctor if T is void. Furthermore i changed the autos in the
      mpifuturetest.cc to Futures to check for this.
      
      See merge request [!721]
      
        [!721]: gitlab.dune-project.org/core/dune-common/merge_requests/721
      0ce22beb
  9. 17 Dec, 2019 9 commits
  10. 15 Dec, 2019 3 commits
  11. 12 Dec, 2019 1 commit