2353e7abd8Try turning off a borland workaround in the new version of borland, as it seems to be causing problems in the tests.
Daniel James
2007-04-12 20:33:48 +0000
35f46d5129Reverting the last change as it's not a main function so returning 'boost::report_errors' would be wrong. The main function is in link_no_ext_test.cpp and does return 'boost::report_errors'.
Daniel James
2007-02-25 15:59:08 +0000
12cc28a847Correct testing bugs:
Dave Abrahams
2007-02-25 15:28:02 +0000
d634505955Intel 9.1 with the gcc stdlib seems to segfault on call to std::asin and std::acos. So for them I'm disabling that test - it isn't vital.
Daniel James
2007-02-25 12:15:52 +0000
d14013264cCorrect testing bugs:
Dave Abrahams
2007-02-24 22:40:59 +0000
d2b04d968cMerged L & C issue fixes from trunk to branch.
Andreas Huber
2006-12-02 14:17:26 +0000
792ee1fee1Fixed license & copyright issues.
Andreas Huber
2006-12-02 13:57:33 +0000
585813f9feRename hash_detail::float_limits => hash_detail::limits, since it's also used for integers in the tests.
Daniel James
2006-10-11 18:58:40 +0000
c7778306f8Use boost::hash_detail::float_limits in hash_number_test. This works around OpenBSD's inaccurate numeric_limits<long double>.
Daniel James
2006-10-11 18:50:59 +0000
40844fb29eOnly use the float.h macros on OpenBSD, it seems that on FreeBSD numeric_limits is actually a better option.
Daniel James
2006-10-05 21:22:56 +0000
3732ea7566Fix a typo.
Daniel James
2006-10-05 21:21:43 +0000
869a303733Remove checks for float macros, I was being over-paranoid.
Daniel James
2006-09-26 23:28:34 +0000
26473491c4Attempting to work round the dodgy std::numeric_limits<long double> on some BSDs.
Daniel James
2006-09-26 20:35:58 +0000
eb5ef5e134Move the hash extensions into their own header, which hopefully makes the extension implementation a little clearer. It also fixes a problem where the visual C++ include once pragma was preventing the extensions from being loaded on the second include.
Daniel James
2006-09-24 20:00:47 +0000
087c6c30b1Fixed the use of a deprecated header in a test.
Daniel James
2006-09-24 19:57:34 +0000
299a641c9fMerge from head to RC_1_34_0.
Daniel James
2006-09-23 14:53:07 +0000
519cd177ddAdd copyright comments to the hash documentation source.
Daniel James
2006-09-23 14:48:19 +0000
ac65b9f32aAdd a copyright comment to the hash reference documenation.
Daniel James
2006-07-30 20:42:11 +0000
7f00e9edf6Add copyright to the hash redirection page.
Daniel James
2006-07-16 07:13:50 +0000
3245b8efb3Add copyright to the hash redirection page.
Daniel James
2006-07-16 07:13:50 +0000
bb548f8100Update the Digital Mars workarounds for the latest version.
Daniel James
2006-07-13 07:54:41 +0000
39b4e38367The Digital Mars workarounds aren't required for the latest version.
Daniel James
2006-07-12 10:13:45 +0000
8ff9a154adComment out an assert which is giving bogus failures. On platforms where it isn't possible to detect NaN or infinity the full hash computation is performed on them. For NaN the result doesn't matter (since NaN != NaN), for infinity it should always give the same result), so the calculation works but unfortuanately, I don't know how to correctly check that v is what I expect in the assertion.
Daniel James
2006-07-09 22:50:43 +0000
645cac6ae3Update copyright details.
Daniel James
2006-06-25 09:59:05 +0000
1a219729eeAvoid a warning on Visual C++
Daniel James
2006-06-17 21:22:51 +0000
63f3778db3Add support for long long on win64 as that's the only 64-bit type on that platform (and std::size_t is 64 bit).
Daniel James
2006-06-12 17:58:12 +0000
cae97c67d8Tweak the float hashing algorithm to perform fewer calls to ldexp for some types and possibly generate a better hash value.
Daniel James
2006-06-11 15:29:09 +0000
a4d9b52094Improve support for floating point types with radix != 2.
Daniel James
2006-06-11 14:52:55 +0000
c1fd57beaaUpdate the hash library acknowledgements.
Daniel James
2006-06-11 14:31:51 +0000
a302ecffabGet hashing std::size_t working on 64-bit Visual C++.
Daniel James
2006-06-08 22:12:16 +0000
f5dfe1b7e1Add reference for boost::hash_value<std::complex>.
Daniel James
2006-06-06 21:03:03 +0000
f0a4785711Add a test for hashing complex numbers.
Daniel James
2006-06-06 20:52:28 +0000
e42ae3e82eOops again, I checked in the wrong version of hash.hpp, which had a broken version of boost::hash_value<complex> in it. So fix that.
Daniel James
2006-06-06 20:51:24 +0000
3efe8b9b1cOops, get the test for long long working.
Daniel James
2006-06-06 20:48:01 +0000
b395d18d32Document support for long long.
Daniel James
2006-06-06 20:26:25 +0000
5c525b6e4fAdd tests for long long to the numeric hash tests.
Daniel James
2006-06-06 20:14:55 +0000
e143c22dbdAdd support for long long to Boost.Hash.
Daniel James
2006-06-06 20:13:33 +0000
1b625ac7abMerge VC7 workaround from HEAD.
Daniel James
2006-06-06 17:38:38 +0000
1d61057ee9Fix an embarassing typo.
Daniel James
2006-06-06 08:20:04 +0000
7c9c2c3ff8Workaround for Visual C++ 7.
Daniel James
2006-06-06 08:14:23 +0000
0785097bacMerge hash workarounds for Digital Mars to the release branch.
Daniel James
2006-05-20 07:34:48 +0000
00975444e0Hash workarounds for Digital Mars.
Daniel James
2006-05-07 17:52:38 +0000
bda8f4845dMerge OS X hash float fix from head to rc_1_34_0.
Daniel James
2006-05-03 18:34:43 +0000
4ebb14ea3bDon't use fpclassify for hashing on OS X.
Daniel James
2006-04-30 19:16:08 +0000
939bba607aMerge hash documentation changes to release branch.
Daniel James
2006-04-09 12:14:23 +0000
a7b6993fbeName TR1 properly in the hash introduction.
Daniel James
2006-04-09 09:57:47 +0000
b3e33afa13Fix typo in hash reference documentation and update links to more recent versions of TR1 and the issue list.
Daniel James
2006-04-09 09:46:46 +0000
82eea878c9Merge hash reference changes from release branch.
Daniel James
2006-04-06 20:10:57 +0000
c030b74a4dRearrange the results table in the hash_value docs. Hopefully this will be clearer.
Daniel James
2006-04-06 19:55:06 +0000
1463eace1dMerge hash documentation changes to release branch.
Daniel James
2006-03-28 17:05:43 +0000
f819324a15Put the reference documentation overloads of 'hash_value' into a single page.
Daniel James
2006-03-28 17:02:49 +0000
da13263e12Fix typo in the hash tutorial.
Daniel James
2006-03-28 16:46:49 +0000
f6418b0efaThis commit was manufactured by cvs2svn to create branch 'RC_1_34_0'.
nobody
2006-03-21 02:26:31 +0000
962f978081Update the copyright comments in the hash headers.
Daniel James
2006-03-18 15:54:53 +0000
bb782b5239Update the copyright comments in the hash tests and documentation.
Daniel James
2006-03-18 15:49:21 +0000
48f007cc40Improve the 'blurbs' in the hash documentation.
Daniel James
2006-03-14 22:42:52 +0000
8e49dd4dacAdd a note about the BOOST_HASH_NO_EXTENSIONS macro, and fix some typos and improve the markup in the hash documentation.
Daniel James
2006-03-09 23:59:19 +0000
4bd9ad6f4bAdd a list of changes to the hash library documentation, update the acknowledgements, and fix a few typos.
Daniel James
2006-03-07 22:50:45 +0000
8ff99666d5Add the specializations of boost::hash to the reference documentation.
Daniel James
2006-03-07 22:49:27 +0000
9065912ab3Use an array instead of std::set in hash_no_ext_fail_test, as that seems like a better test for older compilers.
Daniel James
2006-03-01 22:44:27 +0000
7a741bf44aOnly check that hash functions for the different infinities are equal when the infinities are equal...
Daniel James
2006-02-28 23:15:43 +0000
39255c201dDon't forward declare STL containers when using STLport - this is slightly over the top as the forward declarations seem to work on mingw-3_4_4-stlport-5_0, so maybe it's just a Visual C++ problem, but at this stage I'd rather keep things simple.
Daniel James
2006-02-28 20:47:59 +0000
1814f98a27Reintroduce workaround for hashing const built-in array on Visual C++.
Daniel James
2006-02-28 00:49:14 +0000
7d6f6fe0b4Remove TODO note to self.
Daniel James
2006-02-26 15:58:37 +0000
6b0b4bb486Fix a typo in the workaround code for compilers without partial specialization.
Daniel James
2006-02-25 15:17:01 +0000
3382c46b6dUse _fpclass and fpclassify on less platforms. Hopefully will use them more widely after the release.
Daniel James
2006-02-21 00:12:36 +0000
cc22df0753Remove uses of assert() from tests
Dave Abrahams
2006-02-19 15:03:31 +0000
be3a039e88Split the hash documentation into several files.
Daniel James
2006-02-16 23:10:26 +0000
de07bf2d69Add to the hash tests, tests for the BOOST_HASH_NO_EXTENSIONS macro and a few other updates.
Daniel James
2006-02-13 18:26:00 +0000
ae412b3215Add support for the BOOST_HASH_NO_EXTENSIONS macro.
Daniel James
2006-02-13 18:21:20 +0000
f2d6086180Make hash_fwd_test_1 a little easier to compile.
Daniel James
2006-02-11 21:20:47 +0000
5bdae3b096In hash_float, only use _fpclass on Visual C++, I'll find out about other compilers later.
Daniel James
2006-02-11 21:15:15 +0000
7aeaa0f669Update the hash documentation to reflect the reorganisation of the headers (still need to write a 'what's changed' page to explain the changes).
Daniel James
2006-02-10 00:26:09 +0000
1f657699a2Tweak the portable example.
Daniel James
2006-02-09 19:24:04 +0000
9d41ce0edaA couple of workarounds for Digital Mars.
Daniel James
2006-02-09 19:22:54 +0000
1ce3be5602Add a couple of missing includes for hash_range_test and hash_string_test
Daniel James
2006-02-09 19:20:07 +0000
ef0b8e3188Change the hash tests to use the lightweight test header.
Daniel James
2006-02-09 19:16:08 +0000
b5058c7e75Hold your nose, it's a Visual C++ 6.5 workaround. For some reason it requires boost::hash to define operator() taking const and non-const arguments.
Daniel James
2006-02-09 19:11:54 +0000
2dcf38a04aUse fpclassify/_fpclass for the hash function on compilers where I know it's available.
Daniel James
2006-02-09 19:11:09 +0000
a5844bc9bfSince all the hash functions are now declared in a single header, there's no need for the call_hash hack on compliant compilers. So only use it on compilers where it's needed.
Daniel James
2006-02-09 19:10:03 +0000
534d526c90Make hash_float.hpp use its own combine function. This serves two purposes:
Daniel James
2006-02-09 19:07:33 +0000
9734825574Update the hash tests for the new headers.
Daniel James
2006-02-09 19:01:33 +0000
ffec55693bMove all the boost/functional/hash/*.hpp files into a single file (hash/hash.hpp for now, but will eventually move into hash.hpp), add warnings that the old headers are deprecated.
Daniel James
2006-02-09 18:57:07 +0000
71641ebdcdMove include errorno & limits from hash.hpp into hash_float where they should be.
Daniel James
2006-02-09 18:55:35 +0000
8f2c004a17Add the missing test.
Daniel James
2006-02-09 18:43:55 +0000
972f720922Comment out refereces to absent file
Vladimir Prus
2006-02-09 14:12:19 +0000
47df6bd0feUpdate the portable example to hopefully be more generally portable.
Daniel James
2006-02-08 19:03:09 +0000
bb702b827eIn hash_fwd_test avoid a Borland bug by putting the test classes in a namespace. Seems to break on gcc 2.95 though...
Daniel James
2006-02-07 00:48:58 +0000
3cb7963112Add an extra test for a Borland bug I found.
Daniel James
2006-02-07 00:45:32 +0000
b626dc405eAttempt to get container_fwd.hpp working on more compilers.
Daniel James
2006-02-07 00:43:06 +0000
0eab9ed7bbIn hash tests, stop using <boost/test/auto_unit_test.hpp> as it's deprecated.
Daniel James
2006-02-05 19:54:08 +0000
7ea3aed050Move the float hash function into its own header.
Daniel James
2006-02-05 19:51:29 +0000
9521ea7ea3Use BOOST_WORKAROUND in boost/functional/hash/hash.hpp
Daniel James
2006-02-05 16:31:45 +0000
ebf1937e6dUse hash_fwd.hpp in the main hash header.
Daniel James
2006-02-05 16:27:19 +0000
c8dc9ac3e4Add tests for the hash forward header.
Daniel James
2006-02-05 16:06:31 +0000
f2781366e0Add a forward header for the hash functions.
Daniel James
2006-02-05 16:03:43 +0000
7815a36643Fix a parse error in the hash test Jamfile.
Daniel James
2006-02-05 15:56:47 +0000
07c14534ecUse container_fwd.hpp for the hash functions.
Daniel James
2006-02-05 14:44:24 +0000
f467da5438Add pair to container_fwd_test.
Daniel James
2006-02-05 14:11:59 +0000