Commit Graph

40 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
5bf5110cdb Resolved symbol ambiguities.
[SVN r38098]
2007-06-26 19:12:52 +00:00
0237e49a17 fix for http://tinyurl.com/zuohe
[SVN r35101]
2006-09-13 22:24:14 +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
ae45f7abf7 Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
[SVN r30670]
2005-08-25 16:27:28 +00:00
a0b28e4c8b Fix for indirect iterators to abstract classes.
[SVN r27625]
2005-03-12 23:10:43 +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
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
6196a6e591 merge new MPL version from 'mplbook' branch
[SVN r24874]
2004-09-02 15:41:37 +00:00
55f8a6380a Moved to BSL
[SVN r24446]
2004-08-12 17:13:07 +00:00
82108581b9 Make sure that X(r++) works for writable iterators.
[SVN r24420]
2004-08-11 19:54:40 +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
700db48ac7 add nested typedefs
[SVN r23644]
2004-07-16 19:58:03 +00:00
edb7528136 Only use proxy for *r++ if *r is also a proxy.
[SVN r23516]
2004-07-14 00:40:04 +00:00
2721c3c97e Repair postfix increment proxies for input iterators
[SVN r23508]
2004-07-13 17:23:53 +00:00
f49f68c8fe Fixed postfix increment for incrementable and single-pass iterator facade
[SVN r23456]
2004-07-12 03:18:49 +00:00
2a9c00f5b2 Work around CW bug; see http://lists.boost.org/MailArchives/boost/msg57316.php.
[SVN r22655]
2004-04-18 12:23:53 +00:00
8480d452a9 vc6 ICE workarounds,
General simplification for compilers that don't support strict
interop.

Renamed "minus" -> "distance_from".


[SVN r21973]
2004-01-26 14:52:39 +00:00
010f715950 Borland workarounds
[SVN r21893]
2004-01-24 17:39:45 +00:00
a456f8d969 Workaround GCC2 eager instantiation bug.
[SVN r21847]
2004-01-20 19:40:50 +00:00
2bacc663b1 vc6 workaround and a bugfix
[SVN r21799]
2004-01-18 16:17:39 +00:00
c08cc33394 Added thomas' interoperability idea
[SVN r21762]
2004-01-15 17:08:04 +00:00
ff10cfd5dc Fix case of is_pod.hpp
[SVN r21589]
2004-01-11 15:11:52 +00:00
6c62f31f0a Updated pointee and indirect_reference so that pointee represents the
immutability of the pointed-to type via const qualification.  The
pointee of a proxy-based iterator will be const qualified unless a
mutable reference to the value_type can be bound to the returned
proxy.

Added a test for pointee

Fixed iterator_facade so operator[] result type computation didn't
cause a problem with abstract types.

Updated iterator_facade operator[] docs for accuracy.

Allowed Borland to simply fail the indirect_iterator_member_types test
because of its lame const-dropping, instead of trying to work around
it.


[SVN r21579]
2004-01-11 00:03:09 +00:00
2183de96a1 Reverted unwanted checkin.
[SVN r21520]
2004-01-06 19:44:06 +00:00
fb1fc6f909 *** empty log message ***
[SVN r21519]
2004-01-06 19:37:17 +00:00
f18906ac6b Removed access category tags from iterator library, made corresponding
changes elsewhere.

boost/iterator and libs/iterator/test were updated from
branch "simplify"


[SVN r20905]
2003-11-22 01:18:37 +00:00
14134e4610 Revert attempted fix for MSVC 6, which broke Borland
[SVN r20618]
2003-11-03 22:04:07 +00:00
c7bec1cf56 A little extra qualification to help out MSVC 6
[SVN r20606]
2003-11-02 19:51:23 +00:00
abf8390020 Fix the implementation of operator_arrow_result so that it checks the
reference type instead of the category.


[SVN r20046]
2003-09-14 01:53:59 +00:00
bb7ac6bd84 Moved to much cleaner system of using BOOST_TT_BROKEN_COMPILER_SPEC
for handling vc6/7 deficiencies with iterator_traits.

Fixed a bug in iterator_facade which was causing incomplete types to
be passed through is_convertible.

Reinstated libs/utility/iterator_traits_test.cpp


[SVN r19840]
2003-08-28 16:52:02 +00:00
a5179f6dfc clean up formatting
[SVN r19476]
2003-08-06 14:36:16 +00:00
42e873e10c various bugfixes. filter_/transform_iterator were misusing enable_if
in a non-template context , and iterator_facade needed a forward
declaration for full conformance.


[SVN r19112]
2003-07-14 16:22:10 +00:00
57a40c8cd2 Added arg dependent workaround for msvc < 7.1
[SVN r19110]
2003-07-14 13:13:49 +00:00
e5eaaf6a55 Fix detail::enable_if -> iterators::enable_if (really this time)
^


[SVN r19102]
2003-07-13 21:45:33 +00:00
2225787093 Fix detail::enable_if -> iterator::enable_if
[SVN r19101]
2003-07-13 20:22:47 +00:00
53eb5346de Move from boost-sanbox [ JDG ]
[SVN r18958]
2003-07-07 14:14:36 +00:00