Daniel James
a039550901
Don't test long double in hash_number_test. This is a bit of a cop out, but it's silly to fail this test just because a platform has poor support for long double - hash_long_double_test is thorough enough.
...
[SVN r40233]
2007-10-21 00:41:01 +00:00
Daniel James
37ba531408
Merge some minor changes from the development branch to remove some unnecessary differences.
...
[SVN r40131]
2007-10-17 17:29:46 +00:00
Daniel James
5ded14acd4
Remove the free-function-groups from the hash reference documentation, they were causing the functions to be listed on the documentation for every specialization of boost::hash<T>, and the functions to be described on the main synopsis page, instead of their own page.
...
[SVN r40101]
2007-10-16 23:25:37 +00:00
Daniel James
2196f0ea17
Avoid some warnings when compiling the test with Visual C++.
...
[SVN r40004]
2007-10-14 07:38:49 +00:00
Daniel James
76fc46ae69
Add a trivial test to see if the deprecated hash headers compile okay when included.
...
[SVN r39994]
2007-10-13 22:43:13 +00:00
Daniel James
6ee186bb94
Clean up the hash tests a little.
...
[SVN r39993]
2007-10-13 22:30:50 +00:00
Daniel James
29f14bcf66
Use quickbook v1.4 for the hash library.
...
[SVN r39985]
2007-10-13 18:47:41 +00:00
Daniel James
35d19e5111
Fix the copyright line for the hash library.
...
[SVN r39984]
2007-10-13 18:47:10 +00:00
Daniel James
2de9bfe88c
Add support for complex numbers to Boost.Hash
...
[SVN r39983]
2007-10-13 18:34:25 +00:00
Daniel James
eff60d4911
Separate the long double hash tests from the test for other float types. On
...
some platforms the standard library has poor support for long doubles causing
long doubles to fail when the others pass. So this makes it clearer that the
problem is only for long doubles.
[SVN r39979]
2007-10-13 17:47:57 +00:00
Daniel James
02d0136be9
Remove the pointles separation of the float tests into three functions
...
(probably a throwback to when I used Boost.Test)
[SVN r39977]
2007-10-13 17:35:48 +00:00
Daniel James
782dc36a8a
Output some info about a test failure when hashing function pointers.
...
[SVN r39833]
2007-10-09 07:19:30 +00:00
Daniel James
22a7fdfdc4
Include the size of function pointers, void* and std::size_t in the output of the function pointer hash test, to give me a clue why it's failling on a platform.
...
[SVN r39766]
2007-10-07 18:08:35 +00:00
Daniel James
ce7a9c057b
Fix an if statement.
...
[SVN r39692]
2007-10-05 09:43:01 +00:00
Daniel James
fe5fa48972
Add proper support for long longs and unsigned long longs.
...
[SVN r39014]
2007-08-27 18:16:54 +00:00
Daniel James
59bc46847c
Comment out -Wextra because it doesn't work on older versions of gcc.
...
[SVN r39009]
2007-08-27 17:59:54 +00:00
Daniel James
6534cfbf37
Remove hash_complex_test - it should have been removed when I reverted to 1.34.1
...
[SVN r38884]
2007-08-24 02:33:43 +00:00
Daniel James
75e994b306
Add some missing hash_value documentation for the new overloads.
...
[SVN r38882]
2007-08-24 01:56:47 +00:00
Daniel James
93b80b365f
Add extra overloads for hash_value to cover all the specializations of boost::hash. Fixes 1095
...
[SVN r38881]
2007-08-24 01:44:15 +00:00
Daniel James
c388716534
Merge some documentation improvements from the development branch.
...
[SVN r38878]
2007-08-24 01:16:54 +00:00
Daniel James
5f90cf05d3
Update the copyright in the hash library.
...
[SVN r38876]
2007-08-24 01:05:36 +00:00
Daniel James
ff43cf2784
Copy hash library from 1.34.1 over trunk.
...
For the first merge with the release branch, I only want to include some of the
changes I've been working on (fixes and some trivial changes), so I'm starting
again from 1.34.1.
[SVN r38873]
2007-08-24 00:42:19 +00:00
Daniel James
08d38c1e39
Avoid a comparison with zero warning on gcc when compiling with -Wextra.
...
[SVN r38679]
2007-08-15 14:35:39 +00:00
Daniel James
eb49a19b98
Test the hash library with warning level 4 on Visual C++ - although there's
...
still one warning for hashing long doubles.
[SVN r38647]
2007-08-14 09:53:55 +00:00
nobody
bb774728a0
Add -Wsign-promo to the hash test compile flags since I'm now trying to avoid the warning. I still need to check that it won't break older versions of gcc.
...
[SVN r38565]
2007-08-10 11:22:54 +00:00
nobody
6753d4b507
Add overloads of hash_value for more built in types. They're not strictly
...
needed and aren't in the original specifiction but they avoid a warning. See
ticket #1095 for details.
[SVN r38563]
2007-08-10 10:32:21 +00:00
Daniel James
d8807048a6
Drop the v1 Jamfiles.
...
[SVN r38512]
2007-08-08 18:26:51 +00:00
Daniel James
5533eb6acf
Update the copyright in more hash files.
...
[SVN r37802]
2007-05-27 09:09:28 +00:00
Daniel James
7e023df182
Another typo.
...
[SVN r37569]
2007-05-02 21:44:56 +00:00
Daniel James
e9a36b1d8e
Fix a typo.
...
[SVN r37568]
2007-05-02 21:43:51 +00:00
Daniel James
03f0279b8f
Group the functions in the hash reference to make it a little clearer.
...
[SVN r37567]
2007-05-02 21:39:13 +00:00
Daniel James
2b15ff8132
Add missing bracket.
...
[SVN r37541]
2007-04-30 20:28:04 +00:00
Daniel James
de290be4ca
Update the copyright in the hash documentation.
...
[SVN r37518]
2007-04-27 19:46:53 +00:00
Daniel James
0ff4d2e602
Add reference documentation for boost::hash<T*>
...
[SVN r37517]
2007-04-27 19:44:18 +00:00
Daniel James
b5c1943ce9
Merge in the intel gcc workaround from RC_1_34_0.
...
[SVN r37428]
2007-04-12 20:37:27 +00:00
Daniel James
39f3b56b99
Remove an unrequired semi-colon.
...
[SVN r37427]
2007-04-12 20:34:59 +00:00
Dave Abrahams
d14013264c
Correct testing bugs:
...
either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST
(in my code only)
or adding "return boost::report_errors();" where it was clearly
missing (and a pure bug, in anyone's code).
[SVN r37057]
2007-02-24 22:40:59 +00:00
Daniel James
585813f9fe
Rename hash_detail::float_limits => hash_detail::limits, since it's also used
...
for integers in the tests.
[SVN r35559]
2006-10-11 18:58:40 +00:00
Daniel James
c7778306f8
Use boost::hash_detail::float_limits in hash_number_test. This works around
...
OpenBSD's inaccurate numeric_limits<long double>.
[SVN r35558]
2006-10-11 18:50:59 +00:00
Daniel James
26473491c4
Attempting to work round the dodgy std::numeric_limits<long double> on
...
some BSDs.
[SVN r35345]
2006-09-26 20:35:58 +00:00
Daniel James
087c6c30b1
Fixed the use of a deprecated header in a test.
...
[SVN r35313]
2006-09-24 19:57:34 +00:00
Daniel James
519cd177dd
Add copyright comments to the hash documentation source.
...
[SVN r35288]
2006-09-23 14:48:19 +00:00
Daniel James
7f00e9edf6
Add copyright to the hash redirection page.
...
[SVN r34549]
2006-07-16 07:13:50 +00:00
Daniel James
645cac6ae3
Update copyright details.
...
[SVN r34390]
2006-06-25 09:59:05 +00:00
Daniel James
f5dfe1b7e1
Add reference for boost::hash_value<std::complex>.
...
[SVN r34209]
2006-06-06 21:03:03 +00:00
Daniel James
f0a4785711
Add a test for hashing complex numbers.
...
[SVN r34208]
2006-06-06 20:52:28 +00:00
Daniel James
3efe8b9b1c
Oops, get the test for long long working.
...
[SVN r34206]
2006-06-06 20:48:01 +00:00
Daniel James
b395d18d32
Document support for long long.
...
[SVN r34204]
2006-06-06 20:26:25 +00:00
Daniel James
5c525b6e4f
Add tests for long long to the numeric hash tests.
...
[SVN r34203]
2006-06-06 20:14:55 +00:00
Daniel James
1d61057ee9
Fix an embarassing typo.
...
[SVN r34192]
2006-06-06 08:20:04 +00:00