- Jun 03, 2016
-
-
Dominic Kempf authored
This IMO removes a source of error, reduces some lines of code and only does harm in the case of an accidental return of 77 (which I do not think will happen)
-
- Jun 02, 2016
-
-
Steffen Müthing authored
Feature/cleanup std utility This merge request cleans up the implementation of C++14 integer sequences and also removes an old alias of `std::declval()` in our `Dune::Std` namespace. Warning: After merging this merge request, any use of `Std::declval()` will cause compilation failures. See merge request !82
-
- Jun 01, 2016
-
-
Steffen Müthing authored
Add `DUNE_NO_DEPRECATED_BEGIN` and `DUNE_NO_DEPRECATED_END` macros These macros can be used to mark a block in which deprecation warnings are ignored. This can be useful for implementations of deprecated methods that call other deprecated methods or for testing deprecated methods in the testsuite. See also the discussion in dune-grid!61 See merge request !99
-
Steffen Müthing authored
Improve library handling in dune_enable_all_packages - Mangle module name (to be c++ conform) when writing library stub - Support absolute paths when adding files to a library See merge request !96
-
- May 30, 2016
-
-
Ansgar Burchardt authored
These macros can be used to mark a block in which deprecation warnings are ignored. This can be useful for implementations of deprecated methods that call other deprecated methods or for testing deprecated methods in the testsuite.
-
- May 28, 2016
-
-
Christoph Grüninger authored
(cherry picked from commit 6fcb9f2e)
-
- May 20, 2016
-
-
Oliver Sander authored
Correctly initialize all members in default constructor. See merge request !93
-
Oliver Sander authored
Allow modules to customize cmake package configuration files Allows modules to add customized sections to the cmake package configuration files and sets a variable indicating whether this module is installed or not. See merge request !94
-
Linus Seelinger authored
-
Linus Seelinger authored
* Mangle module name when configuring stub
-
Steffen Müthing authored
[Bugfix][cmake] Fix typo in dune_enable_all_packages() This typo breaks the module library feature. See merge request !95
-
Steffen Müthing authored
This typo breaks the module library feature - dune-common doesn't even build for me anymore...
-
- May 13, 2016
-
-
Markus Blatt authored
If the module sets the variable @${ProjectName}_INIT then the contents will be added to the package configuration files.
-
Markus Blatt authored
Variable ProjectName_INSTALLED can be used to query whether this is an installed module or not. E.g. this is necessary to adapt include paths for dune-uggrid.
-
- May 11, 2016
-
-
- May 04, 2016
-
-
Markus Blatt authored
Support multiple DUNE libs in different directories when exporting. Previously, issuing multiple dune_add_library calls would only work if subsequent calls to dune_add_library were issued in the same directory or below. If the calls happened in different directories then only the last library would have beem exported. With this commit we can use the APPEND parameter to prevent overwriting previous libraries. If all calls are in the same directory or below, then APPEND can be omitted. But that is not recommend. See merge request !91
-
Markus Blatt authored
Previously, issuing multiple dune_add_library calls would only work if subsequent calls to dune_add_library were issued in the same directory or below. If the calls happened in different directories then only the last library would have beem exported. With this commit we can use the APPEND parameter to prevent overwriting previous libraries. If all calls are in the same directory or below, then APPEND can be omitted. But that is not recommend.
-
- Apr 26, 2016
-
-
Christoph Grüninger authored
Deprecatee final.hh, noexcept.hh and constexpr.hh The compatibility headers `final.hh`, `noexcept.hh` and `constexpr.hh` are useless since we fully support C++11 so we can deprecate them. See merge request !90
-
- Apr 25, 2016
-
-
Marco Agnese authored
-
- Apr 11, 2016
-
-
Dominic Kempf authored
[cmake] install DunePathHelper.cmake This installs the file DunePathHelper.cmake that was added in merge request !80. See merge request !86
-
Felix Gruber authored
-
- Apr 09, 2016
-
-
Christoph Grüninger authored
doc: Correct typo in testsuite.hh See merge request !83
-
-
Christoph Grüninger authored
[CMake] Add a helper function to extract paths Developing CMake code yourself you often need to access path variables like: What is the build directory of dune-grid? What is the cmake modules directory of dune-common? Unfortunately, there are two problems with that: * The extract method changes depending on whether you are currently configuring the module itself or whether you are configuring a downstream module. * Normal people tend to forget the naming schemes of the path variable. This commit introduces a function with a documented interface that allows for querying dune module paths. You give it the name of the dune module, the name of the return variable and a path type. Currently implemented path types are CMAKE_MODULES and BUILD_DIR. More may be added as needed. See merge request !80
-
dune_common_script_dir is a special case that can now be covered by the more general implementation in dune_module_path.
-
-
-
-
Developing CMake code yourself you often need to access path variables like: What is the build directory of dune-grid? What is the cmake modules directory of dune-common? Unfortunately, there are two problems with that: * The extract method changes depending on whether you are currently configuring the module itself or whether you are configuring a downstream module. * Normal people tend to forget the naming schemes of the path variable. This commit introduces a function with a documented interface that allows for querying dune module paths. You give it the name of the dune module, the name of the return variable and a path type. Currently implemented path types are CMAKE_MODULES and BUILD_DIR. More may be added as needed.
-
- Apr 08, 2016
-
-
Christoph Grüninger authored
No longer use deprecated MPI functions Closes #6 See merge request !84
-
MPI_LB and MPI_UB are deprecated in MPI-2 and have been removed in MPI-3.
-
This addresses the following warnings (from OpenMPI): .../dune/common/parallel/test/remoteindicestest.cc:678:50: warning: ‘int MPI_Errhandler_create([...])’ is deprecated: MPI_Errhandler_create is superseded by MPI_Comm_create_errhandler in MPI-2.0 .../dune/common/parallel/test/remoteindicestest.cc:679:3: warning: ‘int MPI_Errhandler_set([...])’ is deprecated: MPI_Errhandler_set is superseded by MPI_Comm_set_errhandler in MPI-2.0
-
- Apr 07, 2016
-
-
Christoph Grüninger authored
[cmake] fixes passing COMPILE_OPTIONS to enable_all_packages See #30 for description See merge request !85
-
- Apr 06, 2016
-
-
Rene Milk authored
-
- Apr 01, 2016
-
-
Carsten Gräser authored
This is a variant of stackobject_to_shared_ptr that can store L- and R-value references. If you pass an R-value reference it behaves like stackobject_to_shared_ptr. If you pass an L-value reference it will be moved into a new object created via make_shared. The main application of this is the following situation: If you have a function template<class T> auto foo(T&& t); it can be used with temporaries and L-values. If however, this should return an object referring to t, you can no longer pass a temporary unless you prolong its life-time. The latter can be done conveniently using wrap_or_move().
-
Oliver Sander authored
-
Oliver Sander authored
-
Steffen Müthing authored
-
Steffen Müthing authored
std::index_sequence_for has been made for this very situation...
-
Steffen Müthing authored
Most of the time we can rely on std::integer_sequence et. al. being available, as GCC 4.9+ runs in C++14 mode, so the new version tries to import the functionality from the standard library. If it is not available, we now use a fully compliant implementation (i.e. index_sequence is now an alias template of integer_sequence, and the various construction helpers are now also alias templates instead of functions).
-