17d5f71c35Remove TODO note to self.
Daniel James
2006-02-26 15:58:37 +0000
a332300682Fix a typo in the workaround code for compilers without partial specialization.
Daniel James
2006-02-25 15:17:01 +0000
fa8ce5ac40Use _fpclass and fpclassify on less platforms. Hopefully will use them more widely after the release.
Daniel James
2006-02-21 00:12:36 +0000
bbb8d4f19fRemove uses of assert() from tests
Dave Abrahams
2006-02-19 15:03:31 +0000
59ee910b2eSplit the hash documentation into several files.
Daniel James
2006-02-16 23:10:26 +0000
bf0ea56eacAdd 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
5fdfe5d328Add support for the BOOST_HASH_NO_EXTENSIONS macro.
Daniel James
2006-02-13 18:21:20 +0000
3788bb9e75Make hash_fwd_test_1 a little easier to compile.
Daniel James
2006-02-11 21:20:47 +0000
b36cac82c3In 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
4baf5e8517Update 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
946d1b9cc3Tweak the portable example.
Daniel James
2006-02-09 19:24:04 +0000
0a1800f9f8A couple of workarounds for Digital Mars.
Daniel James
2006-02-09 19:22:54 +0000
7ec1fbe694Add a couple of missing includes for hash_range_test and hash_string_test
Daniel James
2006-02-09 19:20:07 +0000
4bee159a10Change the hash tests to use the lightweight test header.
Daniel James
2006-02-09 19:16:08 +0000
514757c312Hold 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
1cf74208aaUse fpclassify/_fpclass for the hash function on compilers where I know it's available.
Daniel James
2006-02-09 19:11:09 +0000
1d5bfbcc9cSince 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
5a5bbbf403Make hash_float.hpp use its own combine function. This serves two purposes:
Daniel James
2006-02-09 19:07:33 +0000
50011103a4Update the hash tests for the new headers.
Daniel James
2006-02-09 19:01:33 +0000
19564252b4Move 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
b2be632311Move include errorno & limits from hash.hpp into hash_float where they should be.
Daniel James
2006-02-09 18:55:35 +0000
003ec473b6Add the missing test.
Daniel James
2006-02-09 18:43:55 +0000
c6f5970551Comment out refereces to absent file
Vladimir Prus
2006-02-09 14:12:19 +0000
a7d8c36057Update the portable example to hopefully be more generally portable.
Daniel James
2006-02-08 19:03:09 +0000
e09e3f1e06In 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
691437839eAdd an extra test for a Borland bug I found.
Daniel James
2006-02-07 00:45:32 +0000
d8328a403cAttempt to get container_fwd.hpp working on more compilers.
Daniel James
2006-02-07 00:43:06 +0000
946a362d56In hash tests, stop using <boost/test/auto_unit_test.hpp> as it's deprecated.
Daniel James
2006-02-05 19:54:08 +0000
81483cc533Move the float hash function into its own header.
Daniel James
2006-02-05 19:51:29 +0000
b922722090Use BOOST_WORKAROUND in boost/functional/hash/hash.hpp
Daniel James
2006-02-05 16:31:45 +0000
da55a4fccaUse hash_fwd.hpp in the main hash header.
Daniel James
2006-02-05 16:27:19 +0000
e78d662c7aAdd tests for the hash forward header.
Daniel James
2006-02-05 16:06:31 +0000
1f2c6bfabaAdd a forward header for the hash functions.
Daniel James
2006-02-05 16:03:43 +0000
79b5aa7a2eFix a parse error in the hash test Jamfile.
Daniel James
2006-02-05 15:56:47 +0000
ed548575d4Use container_fwd.hpp for the hash functions.
Daniel James
2006-02-05 14:44:24 +0000
af88f13acaAdd pair to container_fwd_test.
Daniel James
2006-02-05 14:11:59 +0000
1ff1366c5eAdd std::pair, and a GCC 2.95 workaround to container_fwd.hpp
Daniel James
2006-02-05 14:04:56 +0000
a5d18ba409Add copyright to container_fwd_test.
Daniel James
2006-02-05 14:02:28 +0000
f9a050b68eMake the functions static in container_fwd_test.
Daniel James
2006-02-05 14:00:23 +0000
a9144ed80bAdd a missing include to a functional/hash test header.
Daniel James
2006-02-05 13:59:03 +0000
4ed4e4760bTidy up functional/hash's Jamfile a little.
Daniel James
2006-02-05 13:58:06 +0000
332201e5c8Change container_fwd.hpp to cooperate with gcc stdlib++'s debug mode.
Daniel James
2005-12-16 19:14:16 +0000
e225ed8f14Fix a build error in the hash tests.
Daniel James
2005-12-15 18:00:47 +0000
11170a916bQuick & dirty update of hash tests for new version of Boost.Test
Daniel James
2005-12-15 00:27:53 +0000
26f4b6cd55More epsilon hash float tests.
Daniel James
2005-12-15 00:22:00 +0000
6f61ab5b0bFix clumsy mistakes in the epsilon hash test.
Daniel James
2005-12-04 20:08:10 +0000
1ec297d8d4Test for hashing 1+epsilon, following recent boost-dev comments on Darwin gcc-4.0's long double.
Daniel James
2005-12-04 20:02:08 +0000
906b14102dReturn 0 from test, for the benefit of Visual C++ 6.
Daniel James
2005-10-05 20:52:00 +0000
803b01c8c8Add test for char_traits in container_fwd.hpp
Daniel James
2005-09-27 19:46:04 +0000
016766fdecAdd char_traits support to the container_fwd header.
Daniel James
2005-09-27 19:45:04 +0000
b70f0b3aabAdd tests for container_fwd to hash tests.
Daniel James
2005-09-19 20:39:57 +0000
bb16ae385aAdd STL forward declarations for the hash library (just for testing, not in use yet)
Daniel James
2005-09-19 20:29:51 +0000
f5cbe3661cMerge in Markus' workaround for Tru64/CXX std::numeric_limits::denorm_min() bug from RC_1_33_0.
Daniel James
2005-09-19 18:25:30 +0000
9158f88562Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
John Maddock
2005-08-25 16:27:28 +0000
eb20117301Return 0 from int main() in the hash examples.
Daniel James
2005-08-22 19:16:47 +0000
379105280fChange the hash-test rule to work with multiple source files.
Daniel James
2005-08-21 14:54:52 +0000
1df9014b94Add hash examples to the unit tests.
Daniel James
2005-08-21 11:40:06 +0000
30bc59df59Add Jamfiles for testing hash examples.
Daniel James
2005-08-21 11:22:29 +0000
b2c5ed9adfMerge in fix to hash example/documentation from 1.33 branch.
Daniel James
2005-08-20 20:44:23 +0000
9a63dd6667Revert a mistake in the previous commit of the hash documentation.
Daniel James
2005-08-04 22:44:34 +0000
5e713acaefUpdate hash links page to more recent versions of the papers.
Daniel James
2005-08-04 22:39:41 +0000
bc9ab80b9fFix broken link in hash documentation source.
Daniel James
2005-08-04 22:16:22 +0000
dedb3ba27bFixed some of the include statements in the documentation.
Daniel James
2005-08-04 17:39:42 +0000
1cea89464bAdd tests for linking two object files that include the hash libraries.
Daniel James
2005-06-20 21:45:54 +0000
74ec71fe8dCheck errno after calling frexp - this is pretty slow and unecessary on most platforms, but this close to release it seems better to be over cautious.
Daniel James
2005-05-28 12:10:33 +0000
8090093f06Initialise the exponent before calling frexp in the hash float function.
Daniel James
2005-05-26 07:36:26 +0000
16b4e4b261Fix a typo in hash_float_test.
Daniel James
2005-05-21 17:15:10 +0000
bbf337598bTweak the hash tests a bit more.
Daniel James
2005-05-21 17:10:39 +0000
386d46aff0Write a better error message when the denormalised minimum float hash test fails.
Daniel James
2005-05-21 16:46:53 +0000
8b483e7d86Try to make sure that the different functions in hash_function_pointer_test really are different.
Daniel James
2005-05-11 21:32:17 +0000
177884e8a3Try to fix the failing denorm_min hash_value test by explicitly casting the result of denorm_min() (I think it might be returning the wrong type).
Daniel James
2005-05-01 13:43:56 +0000
7e6b470009Change the description of functional/hash.
Daniel James
2005-04-23 13:07:27 +0000
f2a59837b0Add some links to the hash documentation, acknowledgements for the review, fixed some errors.
Daniel James
2005-04-22 22:08:49 +0000
78b6d8731eFix a clumsy mistake in hash_float_test
Daniel James
2005-04-22 06:37:41 +0000
7c2f3b6bf5Change hash_custom_test to have a cleaner implementation (along the lines of Peter Dimov's suggestion) and to only include the hash headers after declaring the class.
Daniel James
2005-04-21 23:43:51 +0000
dd93c7c9a4Change hash_float_test to write out some false failures instead of failing.
Daniel James
2005-04-21 23:41:12 +0000
7092068156Another attempt at getting the hash array tests to pass on Borland.
Daniel James
2005-04-21 22:20:43 +0000
572ec155dbSplit the hash pointer tests into tests for normal pointers and function pointers, as function pointers fail on old versions of Visual C++, and add a note about this to the hash documentaion.
Daniel James
2005-04-21 22:18:38 +0000
9a96585cb9Update hash documentation:
Daniel James
2005-04-21 08:44:14 +0000
dbcb234320Various changes to the hash documentation including:
Daniel James
2005-04-20 15:16:29 +0000
412ec29987Change the books hash example to have a separate header.
Daniel James
2005-04-20 15:02:00 +0000
d8eb578ae5Add redirect for the hash documentation.
Daniel James
2005-04-20 14:58:43 +0000
1cf16e51b9Change the NaN hash test to a warning.
Daniel James
2005-04-18 17:16:02 +0000
91dfc92b0eDon't bother testing the hash functions with infinity and NaN on borland. Remove a few pointless lines from hash_value_array_test.
Daniel James
2005-04-17 09:12:01 +0000
f2afc2a08dAnother fix for the Borland hash array code, and get rid of my attempt at working around Borland problems with infinity and NaN in the hash float functions. It seems impossible to do anything with them.
Daniel James
2005-04-17 09:09:42 +0000
7223c8da60Remove workaround for bug in gcc 4.0 which appears to have been fixed.
Daniel James
2005-04-16 16:59:30 +0000
0fae4b4f65Add tests against Peter's spec.
Daniel James
2005-04-16 16:56:27 +0000
72cd8cdaa1Overload hash_value for non-constant arrays.
Daniel James
2005-04-16 10:32:29 +0000
43e79383aeAdd a test for hash_value called with an array. hash_value tests for other types will be added to their normal tests.
Daniel James
2005-04-16 10:31:20 +0000
dbed5ebafaUse non-const references on Visual C++ 6.5 to work around a bug with array references.
Daniel James
2005-04-13 22:56:43 +0000
976683836eBorland workaround for hashing arrays.
Daniel James
2005-04-13 20:24:50 +0000
9cd9c5780fRemove the forced fail in the hash float tests on Borland, since the bug should now be fixed.
Daniel James
2005-04-12 20:25:15 +0000
be1be0d1feDeal with NaN & infinity in the hash float function on Broland.
Daniel James
2005-04-12 20:23:09 +0000
557e8e7ff9Add some hash examples.
Daniel James
2005-04-11 22:26:01 +0000
0a43718366Setup hash float function config for Tru64 on alpha and add some comments on the different libraries & compilers.
Daniel James
2005-04-11 22:20:33 +0000
8c8baeedd8Make the float hash tests a tad bit more informative.
Daniel James
2005-04-11 22:14:26 +0000
763e59741aAdd the hash documentation.
Daniel James
2005-04-11 22:07:45 +0000
8b08528611Better version of the built in array hash function.
Daniel James
2005-04-10 20:07:50 +0000
18b3a53699Remove the empty array hash function test.
Daniel James
2005-04-10 19:21:38 +0000
a267ab6a2cDrop the empty array test.
Daniel James
2005-04-10 19:19:59 +0000