Commit Graph

1973 Commits

Author SHA1 Message Date
Louis Dionne
c90e90b5bb [tests] Split unit tests for std::integral_constant 2016-08-30 20:59:05 -07:00
Louis Dionne
f240a9f9f2 [tests] Split unit tests for mpl::integral_c 2016-08-30 20:47:03 -07:00
Louis Dionne
221a9b8d52 [tests] Use ::value instead of {} in implicit constexpr conversion 2016-08-30 19:18:27 -07:00
Marcel Raad
1b005c5679 Unblock testing with MSVC
MSVC doesn't like the #warning directive and issues a fatal error.
It also sets _MSVC_LANG to 201402 for C++14 instead of __cplusplus,
but that's the minimum value anyway.
It also doesn't like using {} instead of ::value for some type traits
sometimes and issues an error about a missing default constructor.

[ldionne: add full break after first line in commit message]
2016-08-30 19:15:27 -07:00
Louis Dionne
6e95221408 Bump to next expected version, 1.0.2 2016-08-30 18:04:01 -07:00
Louis Dionne
9c4c84b383 [v 1.0.1] Bump version for Boost 1.62.0 2016-08-24 13:58:22 -07:00
Louis Dionne
dc500cdbe3 [Travis] Only test one Xcode version per major version
This should significantly reduce the load on Travis and shorten build times,
while not impacting the effective coverage all that much.
2016-08-14 15:39:35 -07:00
Louis Dionne
856dea0bae [Travis] Add a job with Xcode 8 2016-08-04 19:31:00 -07:00
Louis Dionne
fe8d0a6957 [detail] Rename detail::swap to workaround ADL issue
Fixes #297
2016-07-29 09:10:14 -07:00
Louis Dionne
aa706ee276 [doc][Travis] Filter errors and warnings in Travis, not in CMake 2016-07-23 14:12:38 -07:00
Louis Dionne
2547c2dbc3 [doc] Add a target to generate Docsets 2016-07-23 14:07:16 -07:00
Louis Dionne
84177a93fd [doc] Update links to GitHub documents 2016-07-18 20:22:58 -07:00
Louis Dionne
edbbffeea4 [type] Add hana::typeid_ and deprecate hana::decltype_
Closes #290
2016-07-17 17:28:57 -07:00
Louis Dionne
1c849b74a3 [Travis] Cache downloads of Boost, which take forever 2016-07-13 22:34:07 -07:00
Louis Dionne
3c8fbead19 [Appveyor] Use Visual Studio 2015 Update 2
This unbreaks the Appveyor build until Appveyor fixes their support for
Clang-cl. See https://github.com/appveyor/ci/issues/878#issuecomment-231565556
for more information.
2016-07-11 23:44:14 -07:00
Louis Dionne
e4a3ce2666 [Travis] Update Doxygen version
Also, add some @cond and @endcond blocks to remove stupid Doxygen warnings.
Doxygen really can't parse C++ properly, can it?
2016-07-08 13:46:39 -07:00
Louis Dionne
77e17d2a08 [Travis] Only install CMake on OS X when not already installed
For some reason, the Xcode 6.4 image suddenly started having CMake installed
through Homebrew, and thus the `brew install cmake` step started failing.
2016-07-08 10:42:33 -07:00
Louis Dionne
b8e28e4a74 [tests] Create an automatic test for for_each 2016-07-07 21:36:11 -07:00
Louis Dionne
eb2bb88b0f [Travis] Upgrade to CMake 3.5.2 and use implicit CXX when setting up CMake 2016-07-05 21:23:50 -07:00
Louis Dionne
135e8b89ac [Travis] Only generate the benchmarks on Clang 3.8.0 2016-06-26 10:03:12 -07:00
Louis Dionne
25e26145ff [doc] Switch to benchmarks on Clang 3.8.0 2016-06-26 10:01:32 -07:00
Louis Dionne
5d55918535 Remove micro-benchmarks from the documentation, and mention Metabench
Metabench now contains almost all of Hana's algorithms, so we document
the existence of Metabench instead of redundantly generating the
benchmarks on Travis for Hana only.
2016-06-26 09:52:08 -07:00
Louis Dionne
3ebfdeb1ad [Travis] Cache LLVM downloads 2016-06-21 07:19:50 -07:00
Louis Dionne
7757ac7d50 [map::at_key] Improve error message when the key is missing
Motivated by #290
2016-06-19 18:03:57 -07:00
Louis Dionne
87d5adb80a [Travis] Do not allow failures on Xcode 7.3 anymore 2016-06-19 13:23:32 -07:00
Louis Dionne
b0d9676370 Fix obscure segfault with boost::tuple on Xcode 7.3 2016-06-19 12:28:09 -07:00
Louis Dionne
fc9df49c15 [Travis] Re-enable the job on Xcode 6.3
Closes #283
2016-06-19 10:32:18 -07:00
Louis Dionne
945010e60a [doc] State that GCC is tested on Travis in the docs
ci-skip
2016-06-17 17:02:06 -07:00
Louis Dionne
498a377548 Merge branch adding support for GCC 6 in Travis
Closes #259
2016-06-17 16:52:07 -07:00
Louis Dionne
26a5b60906 [GCC] Workaround spurious unused variable warnings 2016-06-17 16:50:43 -07:00
Louis Dionne
1e1ff3a0ae [Travis] Add support for GCC 6
Also, remove the job on Clang with libstdc++, since that is
now tested with GCC 6.
2016-06-17 16:49:58 -07:00
Louis Dionne
412d86da1c [Travis] Explicitly state the OS and compiler for each job 2016-06-17 16:49:34 -07:00
Louis Dionne
34c0c3010c [Travis] Add -nostdinc++ when using locally-built libc++ 2016-06-14 22:12:12 -07:00
Louis Dionne
8f5e660e51 Add a default constructor to reverse_partial
Fixes #260
Closes #261
2016-06-14 07:43:37 -07:00
Vittorio Romeo
427cc202d6 Use hana::detail::decay instead of std::decay in implementation
* In implementation code, occurrences of `typename std::decay<...>::type` have
  been replaced with `typename hana::detail::decay<...>::type`.

* The rationale for this change, as mentioned in #282, is that
  `hana::detail::decay` performs better than `std::decay` in "libc++".
  I also think that using the same `decay` implementation throughout the
  library is more consistent.

[ldionne: wrap commit message at 80 columns and squash 3 commits
Closes #284
]
2016-06-12 12:31:44 -07:00
Louis Dionne
388b690354 Remove the wandbox.py script to upload an example to Wandbox
We will not need this script anymore, since we can use the version of Hana
released with Boost on Wandbox.
2016-06-12 12:07:41 -07:00
Louis Dionne
fc0dbbcb91 Update Wandbox example to use Boost 1.61.0
Fixes #270
2016-06-12 12:05:11 -07:00
Louis Dionne
f08e824a34 [Travis] Install Clang manually, without LLVM's apt repository
Fixes #286
2016-06-11 14:37:44 -07:00
Jason Rice
a5989ca190 [overload_linearly] test unary function call 2016-05-29 09:53:06 -07:00
Vittorio Romeo
2641844267 Change return type of single-argument overload to typename detail::decay<F>::type 2016-05-29 09:53:06 -07:00
Vittorio Romeo
89755947fa [overload_linearly] Allow overload_linearly to be called with a single argument
Added an `make_overload_linearly_t::operator()` overload that takes a
single argument, and simply returns the argument

[ldionne: wrap commit message]
2016-05-29 09:52:28 -07:00
Louis Dionne
03b948918e [Travis] Temporarily disable the beta-xcode6.3 image
The build hangs for an unknown reason. Hence, we disable
it until #283 is fixed.
2016-05-28 11:56:24 -07:00
Louis Dionne
3af6106f47 Use Clang-cl provided by Appveyor
Fixes #279

Thanks @badair for this question: https://goo.gl/6eFl73
2016-05-27 19:12:46 -07:00
Louis Dionne
3ccd7b5fd9 [types] Accept non-metafunctions returning references to types in transform
Fixes #266
2016-04-06 18:42:21 -04:00
Louis Dionne
c29086e9e1 [Travis] Add llvm-toolchain-precise-3.8 apt source 2016-03-31 17:49:54 -04:00
Louis Dionne
96650a9caf [Travis] Bump Clang 3.7.0 to 3.7.1 2016-03-21 13:51:13 -04:00
Louis Dionne
0abef28d5a [Travis] Co-install all the packages to simplify Travis script 2016-03-21 13:37:27 -04:00
Louis Dionne
8a8219f943 [Travis] Do not benchmark with Clang 3.5 anymore 2016-03-21 13:37:26 -04:00
Louis Dionne
663fe6be98 [Travis] Add mainstream testing on Clang 3.8 2016-03-21 13:37:26 -04:00
Louis Dionne
405614a778 [doc] Update installation instructions for the stable release 2016-03-20 11:15:50 -04:00