Commit Graph

140 Commits

Author SHA1 Message Date
e9df461e61 Merged revisions 41984-42066 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r41986 | rwgk | 2007-12-11 21:39:45 -0800 (Tue, 11 Dec 2007) | 1 line
  
  undo revision 41404; see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34238
........
  r41987 | jano_gaspar | 2007-12-12 02:40:31 -0800 (Wed, 12 Dec 2007) | 1 line
  
  circular_buffer: g++ warning fix
........
  r41988 | dgregor | 2007-12-12 05:51:21 -0800 (Wed, 12 Dec 2007) | 1 line
  
  Fix typo in maintainers file
........
  r41990 | djowel | 2007-12-12 07:48:49 -0800 (Wed, 12 Dec 2007) | 1 line
  
  added tobias as fusion maintainer + tweaked spirit mainteners to joel de guzman and hartmut kaiser
........
  r42001 | hljin | 2007-12-12 17:28:15 -0800 (Wed, 12 Dec 2007) | 1 line
  
  GIL: fixed the Makefile along with a minor fix
........
  r42005 | t_schwinger | 2007-12-13 02:32:11 -0800 (Thu, 13 Dec 2007) | 3 lines
  
  fixes typo
........
  r42006 | nesotto | 2007-12-13 04:06:21 -0800 (Thu, 13 Dec 2007) | 1 line
  
  M. Marcin's improved version of erase_if + minor indentation tweaks
........
  r42007 | igaztanaga | 2007-12-13 08:49:58 -0800 (Thu, 13 Dec 2007) | 1 line
  
  Solved warning when using -Wall
........
  r42009 | dgregor | 2007-12-13 10:14:01 -0800 (Thu, 13 Dec 2007) | 1 line
  
  Tweak e-mail that sends notes to maintainers
........
  r42012 | johnmaddock | 2007-12-13 10:45:58 -0800 (Thu, 13 Dec 2007) | 5 lines
  
  Fixes #1454.
  
  Previous fix was incomplete, so added new tests, confirmed problem report, and added fixes.
  
  All the tests now compile cleanly with g++ -pedantic -Wall -Wno-long-long (checked with gcc-4.4.1 and 3.4.4).
........
  r42013 | dgregor | 2007-12-13 11:20:23 -0800 (Thu, 13 Dec 2007) | 1 line
  
  Send information about broken platforms to platform maintainers and the Boost testing list
........
  r42014 | dgregor | 2007-12-13 11:20:55 -0800 (Thu, 13 Dec 2007) | 1 line
  
  Set up initial platform maintainers file
........
  r42015 | dgregor | 2007-12-13 11:21:21 -0800 (Thu, 13 Dec 2007) | 1 line
  
  Add instructions and license for the maintainers file
........
  r42016 | dgregor | 2007-12-13 11:22:52 -0800 (Thu, 13 Dec 2007) | 1 line
  
  Minor tweak
........
  r42017 | dgregor | 2007-12-13 11:57:47 -0800 (Thu, 13 Dec 2007) | 1 line
  
  Fix generated URL
........
  r42018 | nesotto | 2007-12-13 12:00:22 -0800 (Thu, 13 Dec 2007) | 1 line
  
  forgot to submit this too
........
  r42020 | bgubenko | 2007-12-13 13:40:26 -0800 (Thu, 13 Dec 2007) | 1 line
  
  some markup for gcc 3.4.2 on PA-RISC and gcc 3.4.6 on Linux ia64
........
  r42023 | lbourdev | 2007-12-13 21:32:21 -0800 (Thu, 13 Dec 2007) | 3 lines
  
  GIL: Fixed Intel compiler errors.
........
  r42025 | johnmaddock | 2007-12-14 02:11:21 -0800 (Fri, 14 Dec 2007) | 1 line
  
  Fix typos reported by Sebastian Pipping.
........
  r42035 | johnmaddock | 2007-12-14 08:36:40 -0800 (Fri, 14 Dec 2007) | 1 line
  
  Fix bad comments in test files.
........
  r42047 | turkanis | 2007-12-14 11:30:07 -0800 (Fri, 14 Dec 2007) | 127 lines
  
  I. Changed signature and specification of boost::iostreams::close(),
     and made corresponding changes throughout the iostreams library.
     New spec is:
     
     template<typename T>
     void close(T& t);
  
       Convenience function for closing a device; calls close(t, in) and 
       close(t, out).
  
     template<typename T>
     void close(T& t, openmode which);
  
     template<typename T, typename Sink>
     void close(T& t, Sink& snk, openmode which);
  
       These two functions should only be called by the library implementation
       or by advanced users. The openmode parameter must always equal in or 
       out, never in | out.
  
       There are three cases:
  
       1. If T is not closable and which == out, calls boost::iostreams::flush
  
       2. If T operates on a single sequence, and is NOT a dual-use filter:
  
          a. If which == in and the mode of T is convertible to input but
             not to output, calls t.close() (or t.close(snk))
  
          b. If which == out and the mode of T is not convertible to input or
             is convertible to input and to output, calls t.close() 
             (or t.close(snk))
  
          The effect of a. and b. is that for any T in this category, 
          close() is called exactly once.
  
       3. If T operates on two sequences or is a dual-use filter, calls
          t.close(which) (or t.close(snk, which))
  
       If multiple operations that might throw must be called in the course
       of closing a filter or device, all of the operations are attempted
       and the first exception thrown by any of the operations is rethrown
  
    The new test close_test.cpp contains 95 checks verifying that the operation
    behaves as sepcified.
  
    This affects the following files:
  
      chain.hpp
      close.hpp
      code_converter.hpp
      combine.hpp
      compose.hpp
      copy.hpp
      detail/adapter/basic_adapter.hpp [removed]
      detail/adapter/device_adapter.hpp [new]
      detail/adapter/direct_adapter.hpp
      detail/adapter/filter_adapter.hpp [new]
      detail/adapter/mode_adapter.hpp
      detail/broken_overload_resolution/stream_buffer.hpp
      detail/closer.hpp [removed]
      detail/config/limits.hpp
      detail/execute.hpp [new]
      detail/functional.hpp [new]
      detail/streambuf/direct_streambuf.hpp
      detail/streambuf/indirect_streambuf.hpp
      detail/streambuf/linked_streambuf.hpp
      detail/vc6/close.hpp
      device/null.hpp
      filter/aggregate.hpp
      filter/bzip2.hpp
      filter/gzip.hpp
      filter/line.hpp
      filter/newline.hpp
      filter/symmetric.hpp
      filter/test.hpp
      invert.hpp
      restrict.hpp
      tee.hpp
      example/finite_state_filter.hpp
      test/Jamfile.v2
      test/close_test.cpp [new]
      test/code_converter_test.cpp
      test/execute_test.cpp [new]
      test/operation_sequence_test.cpp [new]
  
  II. When exceptions are caught and ignored, we now use catch (...)
      uniformly instead of catch (std::exception&). This affects the 
      following files:
  
      stream_buffer.hpp
      src/mapped_file.cpp
  
  III. Unnecessary dependence on Boost.Range has been eliminated. This
       affects the following files:
  
      detail/is_iterator_range.hpp
      detail/resolve.hpp
      traits.hpp
      test/Jamfile.v2
      test/filtering_stream_test.cpp
      test/offset_test.cpp
      test/seek_test.hpp
      test/seekable_filter_test.cpp
      test/sequence_test.cpp [new]
      test/wide_stream_test.cpp
  
  IV. There are several fixes to the documentation. This affects the
      following files:
  
      doc/classes/symmetric_filter.html
      doc/guide/concepts.html
      doc/guide/modes.html
      doc/tutorial/container_device.html [serious error in algorithm]
      doc/tutorial/dictionary_filters.html [unused member variable]
      doc/tutorial/multichar_filters.html
  
  V. Other changes include:
  
      stream.hpp [missing include directive]
      example/container_device.hpp [serious error in algorithm]
      example/container_device_example.cpp [outdated naming]
      example/container_sink_example.cpp [outdated naming]
      example/container_source_example.cpp [outdated naming]
      example/dictionary_filter.hpp [unused member variable]
      test/compose_test.cpp [added comments]
      test/example_test.cpp [reformatted]
........
  r42053 | anthonyw | 2007-12-14 13:47:10 -0800 (Fri, 14 Dec 2007) | 1 line
  
  updated explicit failures for thread library
........
  r42064 | bgubenko | 2007-12-14 19:42:49 -0800 (Fri, 14 Dec 2007) | 1 line
  
  don't use identifires R1 and R2: some HP-UX headers define them as macros
........
  r42065 | bgubenko | 2007-12-14 20:16:05 -0800 (Fri, 14 Dec 2007) | 1 line
  
  don't use identifires R1 and R2: some HP-UX headers define them as macros
........


[SVN r42083]
2007-12-15 20:38:27 +00:00
8f93bbdf54 Merged revisions 41954-41983 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r41955 | schoepflin | 2007-12-10 05:40:56 -0800 (Mon, 10 Dec 2007) | 1 line
  
  Treated Rogue Wave library concept check failure on Tru64/CXX.
........
  r41956 | dave | 2007-12-10 07:19:21 -0800 (Mon, 10 Dec 2007) | 2 lines
  
  SunPro 5.9 can't detect lvalue returns
........
  r41957 | t_schwinger | 2007-12-10 10:26:38 -0800 (Mon, 10 Dec 2007) | 3 lines
  
  changes msvc-7.1 to msvc-7.1*
........
  r41966 | johnmaddock | 2007-12-11 08:37:22 -0800 (Tue, 11 Dec 2007) | 1 line
  
  Fixes #1454.
........
  r41968 | johnmaddock | 2007-12-11 09:16:21 -0800 (Tue, 11 Dec 2007) | 1 line
  
  Fixes #1504.
........
  r41970 | johnmaddock | 2007-12-11 09:19:03 -0800 (Tue, 11 Dec 2007) | 1 line
  
  Fixes #1455.
........
  r41973 | johnmaddock | 2007-12-11 09:28:15 -0800 (Tue, 11 Dec 2007) | 1 line
  
  Fixes #1471.
........
  r41976 | johnmaddock | 2007-12-11 10:51:57 -0800 (Tue, 11 Dec 2007) | 1 line
  
  Fixes #1474.
........
  r41979 | vladimir_prus | 2007-12-11 11:41:47 -0800 (Tue, 11 Dec 2007) | 1 line
  
  Put add-usage-requirements back
........
  r41980 | vladimir_prus | 2007-12-11 11:45:37 -0800 (Tue, 11 Dec 2007) | 1 line
  
  Implement ISFILE for real
........
  r41981 | vladimir_prus | 2007-12-11 11:46:19 -0800 (Tue, 11 Dec 2007) | 2 lines
  
  When searching for headers, ignore directories, just like gcc does.
........
  r41983 | bgubenko | 2007-12-11 12:43:11 -0800 (Tue, 11 Dec 2007) | 1 line
  
  remove conditionalization for aCC: this header works with gcc on HP-UX also
........


[SVN r41984]
2007-12-11 22:00:07 +00:00
5bf5110cdb Resolved symbol ambiguities.
[SVN r38098]
2007-06-26 19:12:52 +00:00
0b095e687f 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
c0d6dacf62 Pull all non-runtime stuff out of the USAGE clause
[SVN r37056]
2007-02-24 22:01:22 +00:00
71abf15b60 Take advantage of BOOST_CONCEPT_USAGE for defining usage requirements:
Using this macro is better than simply defining a destructor because
usage patterns will be tested whenever associated types are accessed.


[SVN r35199]
2006-09-19 13:41:30 +00:00
bca372da18 fix for http://tinyurl.com/kbwzm
[SVN r35102]
2006-09-13 22:36:10 +00:00
0237e49a17 fix for http://tinyurl.com/zuohe
[SVN r35101]
2006-09-13 22:24:14 +00:00
b5492bd866 Fix license text, with Thomas B's permission
[SVN r35074]
2006-09-12 22:33:29 +00:00
3355660636 Added missing 'struct'
[SVN r33960]
2006-05-07 21:00:35 +00:00
eaf9bf62d1 Strip off "Concept" suffix.
[SVN r33899]
2006-05-01 21:42:56 +00:00
9f20320f59 Change UnaryFunction -> UnaryFunc to get out of the way of the concept checking class for VC6.
[SVN r33898]
2006-05-01 20:07:13 +00:00
2cb253ed35 Throw out bogus commented-out conversion operators.
[SVN r33871]
2006-04-30 03:38:28 +00:00
230d47e93a Move difference_type from the Forward Traversal Iterator concept to
the Single Pass Traversal concept, so that input iterators are still
input iterators.  It does make sense to measure the distance between
Single Pass iterators, provided you're willing to throw away the data.


[SVN r33870]
2006-04-30 03:35:16 +00:00
e2957cfb0c use idiomatic convertibility assertions.
[SVN r33869]
2006-04-30 03:33:33 +00:00
f5b644e765 Fixes for concept checking; use destructors for checking classes, misc cleanup.
[SVN r33862]
2006-04-29 20:27:14 +00:00
28dd458088 Add missing "inline". Fixes boost-Bugs-1476219.
[SVN r33819]
2006-04-25 20:34:32 +00:00
c0fc8532e7 Warning suppression for GCC (warning: declaration of 'end' shadows a member of 'this').
[SVN r33712]
2006-04-16 18:02:23 +00:00
a4e7ba6c28 Fixed definition of iterator_facade_ nested type so derived classes
can use it.  It appears to have never been tested.


[SVN r33297]
2006-03-09 23:09:16 +00:00
e23a647cff Eliminate duplicate inline keyword warnings.
[SVN r32993]
2006-02-18 18:00:26 +00:00
d801e64289 Added some missing "inline" keywords.
[SVN r32992]
2006-02-18 14:34:12 +00:00
6a79b6014b Removed unused workaround definition
[SVN r32340]
2006-01-17 08:28:32 +00:00
73811245eb Fix counting_iterator::distance_to fails to instantiate for non default template arguments.
[SVN r31758]
2005-11-23 19:12:49 +00:00
1c3e6c5b65 GCC 4.0.2 workarounds
[SVN r31295]
2005-10-11 23:43:44 +00:00
ae45f7abf7 Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
[SVN r30670]
2005-08-25 16:27:28 +00:00
7a43350655 Avoid some Borland bugs by defining operators explicitly rather than
using partially_ordered<...> to generate them.


[SVN r29757]
2005-06-23 18:20:37 +00:00
df49ae74e0 Define BOOST_NO_LVALUE_RETURN_DETECTION for Tru64/CXX-6.5.
[SVN r29545]
2005-06-13 08:22:38 +00:00
ab372a0a74 Added failing test for missing #include guard, then fixed it.
[SVN r28459]
2005-04-24 11:48:23 +00:00
a0b28e4c8b Fix for indirect iterators to abstract classes.
[SVN r27625]
2005-03-12 23:10:43 +00:00
ef895f0cc7 Apply typo fixes from Julio M. Merino Vidal
[SVN r27513]
2005-02-27 17:28:24 +00:00
1d018cc602 Borland workaround. Replace 'add_const<value_type>::type with
'const value_type' in the code which computed the pointer type. Borland
did not property add const type with 'add_const'.


[SVN r27388]
2005-02-15 12:41:23 +00:00
7707262a07 base_type patch from Eric Niebler
[SVN r26818]
2005-01-23 15:40:15 +00:00
ba3e7a459e Allow for bidirectional filtered_iterators
[SVN r26491]
2004-12-13 09:31:17 +00:00
295ae05e40 Fix the problems described in this thread:
http://lists.boost.org/MailArchives/boost-users/msg08656.php


[SVN r26410]
2004-12-03 09:55:30 +00:00
68268f81eb Stop relying on T(x) to do implicit conversion; it *casts* when T is a builtin!
[SVN r26393]
2004-12-01 16:46:06 +00:00
65af4c96a9 Move indirect_traits to boost/detail
[SVN r25117]
2004-09-15 15:00:12 +00:00
a396085bc0 Added new types boost::long_long_type and boost::ulong_long_type in boost/config.hpp and applied these types in place of "long long" throughout. As a result, almost all of boost now compiles cleanly with -ansi -pedantic with gcc. Changes tested with gcc 3.3, 2.95, VC7.1 and Intel 8.
[SVN r24899]
2004-09-04 10:34:49 +00:00
6196a6e591 merge new MPL version from 'mplbook' branch
[SVN r24874]
2004-09-02 15:41:37 +00:00
4e07575b78 Update tests for fixed postfix increment
[SVN r24617]
2004-08-20 16:04:11 +00:00
4b583d3aa0 License update
[SVN r24598]
2004-08-19 15:23:47 +00:00
e469abbf57 Work around an MSVC-stlport ICE
[SVN r24567]
2004-08-18 19:00:18 +00:00
c141f6cc59 obsolete
[SVN r24508]
2004-08-16 14:24:49 +00:00
55f8a6380a Moved to BSL
[SVN r24446]
2004-08-12 17:13:07 +00:00
9c955e8af2 Moved to BSL
[SVN r24445]
2004-08-12 17:02:24 +00:00
82108581b9 Make sure that X(r++) works for writable iterators.
[SVN r24420]
2004-08-11 19:54:40 +00:00
c4834d363e More (C).
[SVN r24383]
2004-08-10 15:12:53 +00:00
7194aff64c Fixed license added (only) my (C).
[SVN r24379]
2004-08-10 14:44:17 +00:00
cad110e0f3 aCC workaround from From: "DY, JERRY U \(SBCSI\)" <jd2419-at-sbc.com>
[SVN r24254]
2004-08-03 00:38:26 +00:00
3599398eca Workaround CW8 issues with using static_cast on templates with template ctors.
[SVN r24214]
2004-07-31 22:56:49 +00:00
dd72d599c8 Disable interop properly for vc6/7 using known SFINAE capabilities.
[SVN r24209]
2004-07-31 18:10:00 +00:00