- Nov 13, 2016
-
-
CMake's object libraries cannot judge whether they will be used in shared libraries. To allow ease of in core and downstream modules we resort to compiling position independent code whenever shared DUNE libraries are requested. This is done by setting CMAKE_POSITION_INDEPENDENT_CODE to ON. Please not that the can be overriding manually by setting the target property POSITION_INDEPENDENT_CODE to something else where needed.
-
Christoph Grüninger authored
Deprecate header tuples.hh See merge request !89
-
-
-
-
Carsten Gräser authored
Short circuit Hybrid::forEach for integer_sequence This reduced the template instanciation depth drastically. E.g., for range=`integer_sequence<21>` is changed from 319 to 84. This is especially important for clang, because this has a default max-depth of 256 in contrast to gcc (900). See merge request !162
-
Carsten Gräser authored
This reduced the template instanciation depth drastically. For range=integer_sequence<21> is changes from 319 to 84.
-
- Nov 08, 2016
-
-
Oliver Sander authored
-
- Nov 04, 2016
-
-
Carsten Gräser authored
Add overload() and orderedOverload() These helper functions allow to create overload sets from lambdas. E.g. one can merge to lambdas for different argument types into one overload set in order to easily implement type-specific behaviour when looping over a tuple. While the result of overload(f1, f2,...) will pick the best match for a given set of arguments, orderedOverload(f1,f2,...) will pick the first match which allows to prevent ambiguity. This functionality is proposed for the standard in P0051R2 (open-std.org/JTC1/SC22/WG21/docs/papers/2016/p0051r2.pdf). There overload(...) is proposed and an upcomming proposal with the functionality of orderedOverload(...) is announced. Since the former is not accepted and the latter is not even written I did explicitly implement this in Dune:: instead of Dune::Std::. See merge request !153
-
Carsten Gräser authored
-
Jö Fahlke authored
make genericTransformTuple work with constant tuples This fixes the problem described in #50. See merge request !150
-
Jö Fahlke authored
[dunecontrol] Properly quote arguments, in particular to exec and bexec. This means the you can now pass more complex scripts to exec/bexec that use quoting themselves, and you don't get things like this anymore: ``` joe@paranoia:~/Projekte/dune-quote/dune-common$ LC_ALL=C bin/dunecontrol exec 'var="quoted value"; echo "$var"' --- going to build dune-common --- --- calling exec for dune-common --- bash: value: command not found --- dune-common done --- --- done --- ``` Closes: #51 Planned merge date: 2016-11-04 or later. See merge request !157
-
- Nov 03, 2016
-
-
Jö Fahlke authored
[dune.module] Remove half-support for ',' as a dependency list separator. Also: Improve error message in case dependency list parsing ends up with some weird module name (e.g. empty or ',') by quoting it in the diagnostic output. Closes: #31 See merge request !156
-
- Oct 29, 2016
-
-
This makes tupleutilitytest succeed again.
-
This test fails for now, as genericTransformTuple does not work on const tuples at the moment.
-
- Oct 28, 2016
-
-
Jö Fahlke authored
This is needed since master contains fixes for the parametertree, and the CI fails without those.
-
- Oct 27, 2016
-
-
Jö Fahlke authored
This means the you can now pass more complex scripts to exec/bexec that use quoting themselves, and you don't get things like this anymore: ``` joe@paranoia:~/Projekte/dune-quote/dune-common$ LC_ALL=C bin/dunecontrol exec 'var="quoted value"; echo "$var"' --- going to build dune-common --- --- calling exec for dune-common --- bash: value: command not found --- dune-common done --- --- done --- ``` Closes: #51
-
Jö Fahlke authored
Also: Improve error message in case dependency list parsing ends up with some weird module name (e.g. empty or ',') by quoting it in the diagnostic output.
-
- Oct 26, 2016
-
-
Christoph Grüninger authored
Fix/modulename end with number See merge request !149
-
- Oct 25, 2016
-
-
Carsten Gräser authored
These helper functions allow to create overload sets from lambdas. E.g. one can merge to lambdas for different argument types into one overload set in order to easily implement type-specific behaviour when looping over a tuple. While the result of overload(f1, f2,...) will pick the best match for a given set of arguments, orderedOverload(f1,f2,...) will pick the first match which allows to prevent ambiguity. This functionality is proposed for the standard in P0051R2 (open-std.org/JTC1/SC22/WG21/docs/papers/2016/p0051r2.pdf). There overload(...) is proposed and an upcomming proposal with the functionality of orderedOverload(...) is announced. Since the former is not accepted and the latter is not even written I did explicitly implement this in Dune:: instead of Dune::Std::.
-
Carsten Gräser authored
Add implementation of std::is_callable This is proposed for C++17 and helpful to checking correctness of predicates supplied to algorithms. This also commes with a test that checks is the behaviour is correct, especially with respect to various combinations of r-values, r-value references, and l-value-references. See merge request !151
-
Carsten Gräser authored
This is proposed for C++17 and helpful to checking correctness of predicates supplied to algorithms. This also commes with a test that checks is the behaviour is correct, especially with respect to various combinations of r-values, r-value references, and l-value-references.
-
- Oct 24, 2016
-
-
Christoph Grüninger authored
This was a regression of the CMake build-system Fixes #48
-
Christoph Grüninger authored
-
- Oct 20, 2016
-
-
Martin Nolte authored
test assignment of matrices with cast operator Some matrix implementations, e.g., the Jacobian implementations of SPGrid have cast operators into the corresponding FieldMatrix type. This patch adds a simplified version of such a cast operator to the densematrixassignment test. See merge request !139
-
- Oct 18, 2016
-
-
Oliver Sander authored
Update test environments - No longer test with clang 3.5. - Add clang 3.8 from Debian 8 + backports - Add gcc 5.4 + clang 3.8 from Ubuntu 16.04 LTS. - Use `duneci-standard-test` See merge request !146
-
Ansgar Burchardt authored
gcc 5.4 and clang 3.8.
-
Ansgar Burchardt authored
-
Ansgar Burchardt authored
Reference: core/dune-common#37
-
Ansgar Burchardt authored
-
- Oct 14, 2016
-
-
Jö Fahlke authored
[Singleton] Make creation of the instance thread-safe. Closes: core/dune-common#46. See merge request !141
-
Elias Pipping authored
It should compile for the FieldMatrix class but not DynamicMatrix
-
- Oct 12, 2016
-
-
Christoph Grüninger authored
[CMake] always use check for C++14 This prevents users to run into compiler errors for unsupported compilers like GCC 4.8 or C++ std libraries with insufficient C++14 support. See merge request !120
-
Christoph Grüninger authored
This prevents users to run into compiler errors for unsupported compilers like GCC 4.8 or C++ std libraries with insufficient C++14 support.
-
Christoph Grüninger authored
-
Steffen Müthing authored
Implement workarounds for broken sizeof... This adds `Dune::SizeOf` that can be use as `Dune::SizeOf<T...>::value` as a drop in replacement for `sizeof...(T)`. This is necessary because the latter is broken in clang<3.8. Because the bug also effects `std::index_sequence_for` we now __always__ provide our manually written fallback implementation `Std::index_sequence_for` that works around the bug by using `SizeOf`. As a rule of thumb you should always use `SizeOf` instead instead of `sizeof...` in variadic template aliases if you want to avoid compiling code that produces wrong results. See merge request !127
-
- Oct 07, 2016
-
-
Oliver Sander authored
Make FieldVector::size() static Being static allows to use size() in constexpr contexts. This implements #2. See merge request !144
-
Carsten Gräser authored
Being static allows to use size() in constexpr contexts.
-
Christoph Grüninger authored
[cmake] Fix empty unset That was to much empty paratheses in 4b0edfc2… See merge request !143
-
Christoph Grüninger authored
That was to much empty paratheses in 4b0edfc2…
-