Steven Watanabe
d0648da422
Make symmetric_filter compile with wchar_t. Fixes #3279 .
...
[SVN r63006]
2010-06-15 22:24:24 +00:00
Steven Watanabe
854cb321a9
Make aggregate_filter work with wide characters. Fixes #3851 .
...
[SVN r62994]
2010-06-15 19:54:45 +00:00
Steven Watanabe
900c436fee
Fix infinite loop in symmetric_filter_test
...
[SVN r62966]
2010-06-15 04:16:11 +00:00
Steven Watanabe
b37e8fc658
Make sure that the bzip2 filters can be closed even if no input has been read. Fixes #3348 .
...
[SVN r62962]
2010-06-15 01:22:50 +00:00
Steven Watanabe
43c8489154
Make sure that compressing an empty string works.
...
[SVN r62960]
2010-06-15 01:02:06 +00:00
Steven Watanabe
fd81a28296
Rejigger file_descriptors handling of std::ios_base::openmode to match std::fstream. In particular, truncate existing files, if std::ios_base::trunc is passed. Refs #3323 .
...
[SVN r62934]
2010-06-14 15:56:00 +00:00
Steven Watanabe
7803ec6b9d
Add BOOST_IOSTREAMS_DECL to file_descriptor_source and file_descriptor_sink. Fixes #4335 .
...
[SVN r62811]
2010-06-11 18:55:31 +00:00
Daniel James
bb51391533
Only support the templated constructor for types with an
...
'external_string_type' member. Refs #4135 .
Using SFINAE, I might add a workaround for compilers that don't support
it, although I'm not sure if there are any that Iostreams supports.
[SVN r61497]
2010-04-22 22:51:24 +00:00
Daniel James
1b96b8e33f
Fix some inspect errors.
...
[SVN r61057]
2010-04-05 07:24:27 +00:00
Daniel James
1fec8e513a
Explicitly qualify call to equal for compilers which find it ambiguous.
...
[SVN r60984]
2010-03-31 21:42:32 +00:00
Daniel James
5177aa8a83
ptrdiff_t is in std. Refs #2505 .
...
[SVN r60582]
2010-03-14 18:04:30 +00:00
Daniel James
317f6f07ea
In position_to_offset, only cast to stream_offset after calculating _Myoff. Refs #3969 .
...
Thanks to Garth Sylvester-Bradley.
[SVN r60581]
2010-03-14 18:00:45 +00:00
Daniel James
5c0f4cc2f5
Gzip filter shouldn't require its source to be peekable. Refs #3723 .
...
In a recent version, the gzip filter stopped working for array sources,
this is because it started to require them to be peekable, which they
aren't and can't be because the peek interface modifies the source,
which for an array source is immutable.
Looking at the implementation, gzip decompressor has an internal class
to emulate a peekable source, which calls the putback member on the
original source if it runs out of space (requiring the source to be
peekable). It shouldn't really need to do that so I changed it to throw
an exception instead.
If it does need to do that, we could change it to store the character
that was put back at the beginning of the string instead.
[SVN r60415]
2010-03-10 07:29:44 +00:00
Daniel James
67e832cb3b
Fix error checks after calling SetFilePointer. Refs #3953
...
Thanks to Eg. Especially for writing a test.
[SVN r60281]
2010-03-07 09:34:45 +00:00
Daniel James
b429d69932
Fix write_device_impl<ostream_tag>
...
And enchance the newline tests so that they test it.
Refs #3839
[SVN r60228]
2010-03-06 15:17:38 +00:00
Daniel James
ee8183446f
Change the macro setup for restrict_test and slice_test.
...
Because of the way restrict_test and slice_test were including the
header file they were testing, bjam was missing the dependency on that
files and sometimes, when changing the headers, the test wouldn't get
run. This fixes that.
[SVN r58224]
2009-12-07 19:36:18 +00:00
Troy D. Straszheim
a45b99ee22
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
Beman Dawes
7eb5702836
iostreams: fix for LWG issue 811, which it causing GCC 4.4.x errors
...
[SVN r56666]
2009-10-09 12:16:38 +00:00
Beman Dawes
3918269904
Quiet GCC warnings
...
[SVN r56022]
2009-09-04 22:20:40 +00:00
Troy D. Straszheim
83d827478e
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
...
reports. This is essentially the same commit as r55095 on the release
branch.
[SVN r55159]
2009-07-26 00:49:56 +00:00
Jeremiah Willcock
4baa4e2d18
Fixed most tab and min/max issues from trunk inspection report
...
[SVN r53141]
2009-05-20 19:19:00 +00:00
Vladimir Prus
4ba99d5ff9
Remove forcing of static runtime on msvc.
...
[SVN r52374]
2009-04-13 21:39:33 +00:00
Michael A. Jackson
3943ddbd10
Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
...
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
d9b4ac9da4
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
...
[SVN r49510]
2008-11-01 13:15:41 +00:00
Jonathan Turkanis
35e2fe3964
removed functions relating to file timestamps (addresses #2154 )
...
[SVN r47866]
2008-07-29 14:06:01 +00:00
Jonathan Turkanis
cc4ea77f19
changes to wide-character path and file timestampt support for POSIX and MinGW
...
[SVN r46737]
2008-06-26 18:40:23 +00:00
Jonathan Turkanis
6aa3785713
applied changes from Jorge Lodos (with modifications)
...
[SVN r46692]
2008-06-25 18:23:59 +00:00
Jonathan Turkanis
e5f1ed2f13
added support for archives with multiple members; added tests for metadata and for multiple members ( fixes #1896 )
...
[SVN r46001]
2008-05-31 22:53:58 +00:00
Jonathan Turkanis
680a5e6abc
fixed tests for grep_filter::count() by passing a reference wrapper instead of a copy to io::compose
...
[SVN r45841]
2008-05-27 23:26:16 +00:00
Jonathan Turkanis
4c96a2557d
added grep_filter and tests (issue #1627 ); line_filter needed modification to be usable as a base for grep_filter; the commented out tests for grep_filter::count() are incorrect, because they query the original filter rather than the copy used for i/o; I have verified independently that count() works, and will fix the test later
...
[SVN r45833]
2008-05-27 20:18:02 +00:00
Jonathan Turkanis
29af23da89
made tee work with input streams ( fixes #791 )
...
[SVN r45752]
2008-05-25 22:03:22 +00:00
Marshall Clow
553eefe79e
Replaced all occurrences of non-ASCII copyright symbol with '(c)' for people using non-ASCII code pages
...
[SVN r43992]
2008-04-02 01:42:32 +00:00
Jonathan Turkanis
8005d60743
updated to test close() on filtering streambufs
...
[SVN r43395]
2008-02-23 06:07:59 +00:00
Jonathan Turkanis
34ee5bdaa6
merged changes from iostreams_dev, revisions 43243-43298: overhaul of category_of and close(): stringstream is now dual_seekable; standard file streams and string streams are closable; public Boost.Iostreams streams and streambufs are closable; close() pops filtering streams and streambufs
...
[SVN r43299]
2008-02-18 05:48:13 +00:00
Jonathan Turkanis
5344f24a11
switched from <wchar.h> to <cwchar>, for stdcxx (which is conforming in this case)
...
[SVN r43243]
2008-02-13 19:42:10 +00:00
Jonathan Turkanis
f7b7dcd1af
merged changes from iostreams_dev, revisions 43059-43238: better debug output for mapped file; fixed large_file_test.cpp under UNICODE on Windows
...
[SVN r43240]
2008-02-13 05:47:44 +00:00
Jonathan Turkanis
ecbd2bd5e8
merged changes from iostreams_dev, revisions 42962-43059: updated copyright notices
...
[SVN r43061]
2008-02-02 22:10:46 +00:00
Jonathan Turkanis
2ffbb03e07
merged changes from iostreams_dev, revisions 42947-42962: fixed tickets 1003, 1139, 1140, 1149
...
[SVN r42970]
2008-01-25 17:56:25 +00:00
Jonathan Turkanis
8aa731d9d4
merged changes from iostreams_dev, revisions 42825-42947
...
[SVN r42948]
2008-01-24 06:50:32 +00:00
Jonathan Turkanis
f05fc1b347
overhaul of dual_use filters: close() is now called just once; suppressed Borland/Dinkumware warnings in mapped_file.hpp
...
[SVN r42778]
2008-01-14 20:47:17 +00:00
Jonathan Turkanis
3cbc8c29eb
removed intel-darwin sepcific code, since it didn't work
...
[SVN r42707]
2008-01-12 20:20:35 +00:00
Jonathan Turkanis
42d8be6eb4
another attempt to fix linking for compression tests on intel-darwin
...
[SVN r42684]
2008-01-11 19:12:22 +00:00
Jonathan Turkanis
3f1b2a1580
force static runtime-link for intel-darwin
...
[SVN r42672]
2008-01-11 01:35:46 +00:00
Jonathan Turkanis
bfa2424fb9
merged changes from branches/iostreams_dev, revisions 42645=42660; fix for Intel-darwin; removed dependence of file_descriptor_test and mapped_file_test on library boost_iostreams
...
[SVN r42670]
2008-01-11 00:02:36 +00:00
Jonathan Turkanis
975356158b
merged changes from branches/iostreams_dev, revisions 42602-42624: adding missing included to fix #1550 ; fix for positioning on IBM; fix for file_descriptor on POSIX; restructed the version range for the Borland workaround in large_file_test.cpp
...
[SVN r42625]
2008-01-08 22:25:01 +00:00
Jonathan Turkanis
0c21da55d2
removed unneeded headers, one of which (restrict.hpp) causes failures on IBM Visual Age
...
[SVN r42602]
2008-01-08 04:20:38 +00:00
Jonathan Turkanis
bc7dcedcbd
merged changes from branches/iostreams_dev, revisions 42565-42595:
...
- Simplified implementation with the help to the C-runtime function _get_osfhandle so that on Windows only a single HANDLE is stored and the POSIX-style implementation is never needed; added the handle_type on POSIX systems (typedef for int) and a function returning the underlying handle as an instance of handle_type
- fixed the bug described in ticket Ticket #1551 (stream_buffer::seekpos ignores openmode parameter)
- fixed test/operation_sequence_test.cpp file description
[SVN r42596]
2008-01-07 23:13:26 +00:00
Jonathan Turkanis
3e02e11442
merged changes from branches/iostreams_dev, revisions 42544-42544
...
- added "slice" as an alias for "restrict", for platforms on which "restrict" is a keyword
- attempted to configure file_descriptor for __IBMCPP__
- added better error output to stream_offset_64bit_test.cpp
[SVN r42565]
2008-01-07 05:20:32 +00:00
Jonathan Turkanis
f735f49547
copy.hpp:
...
fix for Visual Age: std::min was passed arguments of different types; replaced std:: min with conditional
detail/streambuf/indirect_streambuf.hpp:
removed trailing comma in enum definition
test/combine_test.cpp:
test/symmetric_filter_test.cpp:
test/compose_test.cpp:
test/close_test.cpp:
test/invert_test.cpp:
test/tee_test.cpp:
test/restrict_test.cpp:
test/Jamfile.v2:
moved tests for close() into the test files for various adapters
[SVN r42544]
2008-01-06 18:32:05 +00:00
Jonathan Turkanis
9ea25a989b
merged changes from iostreams_dev, revisions 42441-42469; added 'std::' for Intel on Linux/Darwin; added STDCXX workaround for codecvt; fixed docs for invert.hpp
...
[SVN r42471]
2008-01-05 04:51:49 +00:00