Commit Graph

74 Commits

Author SHA1 Message Date
Daniel James
60e877acc5 Merge hash and unordered changes.
Remove deprecated headers, move hash_fwd.hpp into hash subdirectory. And
several minor internal changes.
Mostly minor internal details.

Merged revisions 51262-51263,51407-51409,51504-51505,51644-51646,51667 via svnmerge from 
https://svn.boost.org/svn/boost/trunk

........
  r51262 | danieljames | 2009-02-15 19:32:04 +0000 (Sun, 15 Feb 2009) | 1 line
  
  Use the new 'boost:' links for the hash, unordered and quickbook documentation.
........
  r51263 | danieljames | 2009-02-15 19:32:19 +0000 (Sun, 15 Feb 2009) | 2 lines
  
  Don't copy images for the standalone hash and unordered documentation, was only
  really required before the libraries were integrated into boost.
........
  r51407 | danieljames | 2009-02-22 23:49:51 +0000 (Sun, 22 Feb 2009) | 1 line
  
  Fix the hash dirname.
........
  r51408 | danieljames | 2009-02-22 23:50:04 +0000 (Sun, 22 Feb 2009) | 1 line
  
  Make copy_buckets and move_buckets member functions - so that calling them is a bit simpler.
........
  r51409 | danieljames | 2009-02-22 23:50:20 +0000 (Sun, 22 Feb 2009) | 1 line
  
  Move some of the data structure classes out of hash table data.
........
  r51504 | danieljames | 2009-03-01 14:15:09 +0000 (Sun, 01 Mar 2009) | 1 line
  
  Add missing return for operator=.
........
  r51505 | danieljames | 2009-03-01 14:15:39 +0000 (Sun, 01 Mar 2009) | 3 lines
  
  Make the sort stable.
  
  Doesn't really matter, but it might as well be.
........
  r51644 | danieljames | 2009-03-08 09:44:51 +0000 (Sun, 08 Mar 2009) | 1 line
  
  Detab.
........
  r51645 | danieljames | 2009-03-08 09:45:11 +0000 (Sun, 08 Mar 2009) | 4 lines
  
  Move hash_fwd into the hash subdirectory.
  
  I should have done this in the last release. But now all of the hash
  implementation is in the hash subdirectory.
........
  r51646 | danieljames | 2009-03-08 09:45:30 +0000 (Sun, 08 Mar 2009) | 3 lines
  
  Remove deprecated headers.
  
  Fixes #2412.
........
  r51667 | danieljames | 2009-03-09 20:56:23 +0000 (Mon, 09 Mar 2009) | 1 line
  
  Update copyright dates in hash and unordered.
........


[SVN r51729]
2009-03-11 22:51:09 +00:00
Troy D. Straszheim
ecdbca2dac merge of cmake build files from trunk per beman
[SVN r50756]
2009-01-24 18:57:20 +00:00
Daniel James
a186aa979a Merge error messages for old hash headers.
Merged revisions 49339-49341,49541 via svnmerge from 
https://svn.boost.org/svn/boost/trunk

........
  r49339 | danieljames | 2008-10-15 11:25:07 +0100 (Wed, 15 Oct 2008) | 1 line
  
  Note about change in boost 1.37.
........
  r49340 | danieljames | 2008-10-15 11:26:55 +0100 (Wed, 15 Oct 2008) | 4 lines
  
  Changed the warnings in the deprecated headers from 1.34.0 to errors. These
  will be removed in a future version of Boost (probably 1.39.0).
........
  r49341 | danieljames | 2008-10-15 11:34:15 +0100 (Wed, 15 Oct 2008) | 2 lines
  
  Add note about changes to deprecated headers. Refs #2412.
........
  r49541 | danieljames | 2008-11-02 22:32:00 +0000 (Sun, 02 Nov 2008) | 3 lines
  
  Slightly more accurated comment - now that the headers cause errors, they've
  moved past the deprecation stage (I think).
........


[SVN r49597]
2008-11-05 13:30:43 +00:00
Daniel James
5d7f35c794 Revert conversion from lightweight test to Boost.Test.
Merged revisions 47545 via svnmerge from 
https://svn.boost.org/svn/boost/trunk

........
  r47545 | danieljames | 2008-07-18 13:31:18 +0100 (Fri, 18 Jul 2008) | 1 line
  
  Revert conversion from lightweight test to Boost.Test.
........


[SVN r47586]
2008-07-19 09:02:10 +00:00
Daniel James
1d2dc015a9 Merge all hash changes from trunk.
[SVN r46343]
2008-06-12 00:27:13 +00:00
Beman Dawes
50f1ab8c4a Full merge from trunk at revision 41356 of entire boost-root tree.
[SVN r41370]
2007-11-25 18:38:02 +00:00
Daniel James
35f46d5129 Reverting 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'.


[SVN r37064]
2007-02-25 15:59:08 +00:00
Dave Abrahams
12cc28a847 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).

    or changing BOOST_TEST to BOOST_CHECK where the integer library
    was clearly using Boost.Test and not returning report_errors().


[SVN r37063]
2007-02-25 15:28:02 +00:00
Daniel James
d634505955 Intel 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.


[SVN r37062]
2007-02-25 12:15:52 +00:00
Rene Rivera
a2202df1fe Remove obsolete Boost.Build v1 files.
[SVN r35880]
2006-11-06 17:10:46 +00:00
Daniel James
bb782b5239 Update the copyright comments in the hash tests and documentation.
[SVN r33369]
2006-03-18 15:49:21 +00:00
Daniel James
9065912ab3 Use an array instead of std::set in hash_no_ext_fail_test, as that seems like a better test for older compilers.
[SVN r33194]
2006-03-01 22:44:27 +00:00
Daniel James
7a741bf44a Only check that hash functions for the different infinities are equal when the infinities are equal...
[SVN r33182]
2006-02-28 23:15:43 +00:00
Dave Abrahams
cc22df0753 Remove uses of assert() from tests
[SVN r33011]
2006-02-19 15:03:31 +00:00
Daniel James
de07bf2d69 Add to the hash tests, tests for the BOOST_HASH_NO_EXTENSIONS macro and a few other updates.
[SVN r32901]
2006-02-13 18:26:00 +00:00
Daniel James
f2d6086180 Make hash_fwd_test_1 a little easier to compile.
[SVN r32834]
2006-02-11 21:20:47 +00:00
Daniel James
1ce3be5602 Add a couple of missing includes for hash_range_test and hash_string_test
[SVN r32785]
2006-02-09 19:20:07 +00:00
Daniel James
ef0b8e3188 Change the hash tests to use the lightweight test header.
[SVN r32784]
2006-02-09 19:16:08 +00:00
Daniel James
9734825574 Update the hash tests for the new headers.
[SVN r32779]
2006-02-09 19:01:33 +00:00
Daniel James
8f2c004a17 Add the missing test.
[SVN r32776]
2006-02-09 18:43:55 +00:00
Vladimir Prus
972f720922 Comment out refereces to absent file
[SVN r32772]
2006-02-09 14:12:19 +00:00
Daniel James
47df6bd0fe Update the portable example to hopefully be more generally portable.
Change hash_fwd_test to avoid a Borland bug, add 'hash_friend_test' to test for it.

Fix a typo in hash_fwd_test.


[SVN r32747]
2006-02-08 19:03:09 +00:00
Daniel James
bb702b827e In hash_fwd_test avoid a Borland bug by putting the test classes in a namespace.
Seems to break on gcc 2.95 though...

Also use HASH_NAMESPACE instead of boost to allow tests to be run in 'std'.


[SVN r32686]
2006-02-07 00:48:58 +00:00
Daniel James
3cb7963112 Add an extra test for a Borland bug I found.
[SVN r32685]
2006-02-07 00:45:32 +00:00
Daniel James
0eab9ed7bb In hash tests, stop using <boost/test/auto_unit_test.hpp> as it's deprecated.
[SVN r32595]
2006-02-05 19:54:08 +00:00
Daniel James
c8dc9ac3e4 Add tests for the hash forward header.
[SVN r32587]
2006-02-05 16:06:31 +00:00
Daniel James
7815a36643 Fix a parse error in the hash test Jamfile.
[SVN r32585]
2006-02-05 15:56:47 +00:00
Daniel James
f467da5438 Add pair to container_fwd_test.
[SVN r32582]
2006-02-05 14:11:59 +00:00
Daniel James
0742484087 Add copyright to container_fwd_test.
[SVN r32580]
2006-02-05 14:02:28 +00:00
Daniel James
6d33feebb7 Make the functions static in container_fwd_test.
[SVN r32579]
2006-02-05 14:00:23 +00:00
Daniel James
3bcc03eb7d Add a missing include to a functional/hash test header.
[SVN r32578]
2006-02-05 13:59:03 +00:00
Daniel James
a64d2ba248 Tidy up functional/hash's Jamfile a little.
[SVN r32577]
2006-02-05 13:58:06 +00:00
Daniel James
d3e29d33d0 Fix a build error in the hash tests.
[SVN r32060]
2005-12-15 18:00:47 +00:00
Daniel James
985edc9e9c Quick & dirty update of hash tests for new version of Boost.Test
[SVN r32056]
2005-12-15 00:27:53 +00:00
Daniel James
dd76eb37ed More epsilon hash float tests.
[SVN r32055]
2005-12-15 00:22:00 +00:00
Daniel James
efc6c13cd5 Fix clumsy mistakes in the epsilon hash test.
[SVN r31908]
2005-12-04 20:08:10 +00:00
Daniel James
f14a00699c Test for hashing 1+epsilon, following recent boost-dev comments on Darwin
gcc-4.0's long double.


[SVN r31907]
2005-12-04 20:02:08 +00:00
Daniel James
96916fefda Return 0 from test, for the benefit of Visual C++ 6.
[SVN r31202]
2005-10-05 20:52:00 +00:00
Daniel James
991164a3bb Add test for char_traits in container_fwd.hpp
[SVN r31134]
2005-09-27 19:46:04 +00:00
Daniel James
aa137615ec Add tests for container_fwd to hash tests.
[SVN r31044]
2005-09-19 20:39:57 +00:00
Daniel James
4f268b098f Merge in Markus' workaround for Tru64/CXX std::numeric_limits::denorm_min() bug
from RC_1_33_0.


[SVN r31042]
2005-09-19 18:25:30 +00:00
Daniel James
59890d4588 Change the hash-test rule to work with multiple source files.
[SVN r30615]
2005-08-21 14:54:52 +00:00
Daniel James
2c7e98bec0 Add hash examples to the unit tests.
[SVN r30612]
2005-08-21 11:40:06 +00:00
Daniel James
0c3a28a294 Add tests for linking two object files that include the hash libraries.
[SVN r29710]
2005-06-20 21:45:54 +00:00
Daniel James
1b1f076054 Fix a typo in hash_float_test.
[SVN r29120]
2005-05-21 17:15:10 +00:00
Daniel James
9afcdb022b Tweak the hash tests a bit more.
[SVN r29119]
2005-05-21 17:10:39 +00:00
Daniel James
c06e85147c Write a better error message when the denormalised minimum float hash test
fails.


[SVN r29118]
2005-05-21 16:46:53 +00:00
Daniel James
bfd5380e3c Try to make sure that the different functions in hash_function_pointer_test
really are different.


[SVN r28833]
2005-05-11 21:32:17 +00:00
Daniel James
097560f27b Try 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).


[SVN r28553]
2005-05-01 13:43:56 +00:00
Daniel James
90b21239b4 Fix a clumsy mistake in hash_float_test
[SVN r28402]
2005-04-22 06:37:41 +00:00