Commit Graph

1137 Commits

Author SHA1 Message Date
Peter Dimov
601244b26a Check that liblzma has lzma_cputhreads(), to fix Mac build failure. Fixes #102. (#103)
* Check that liblzma has lzma_threads when building

* Fix has_lzma_cputhreads.cpp location
2019-11-19 05:06:59 +00:00
James E. King III
64abdfc65f Update CI
This fixes #90
2019-06-23 13:08:42 -04:00
Romain Geissler
c5aff9d1c2 Explicitly delete non implemented private copy operator to avoid gcc 9 -Wdeprecated-copy warning. 2019-05-28 19:51:11 -04:00
jbonyun
06cf1df4f3 LZMA thread support (#95)
* default setting is to use one thead
* multiple threads can be set using the lzma options
* old behavior can be forced by defining BOOST_IOSTREAMS_LZMA_NO_MULTITHREADED
2019-05-28 19:49:25 -04:00
Tinko Bartels
7c627be6e9 Change broken turkanis homepage link to boost.org/users/people. 2019-05-24 12:56:27 -04:00
Tinko Bartels
624d6aae2b Fix a number of broken links. 2019-05-24 12:56:27 -04:00
Guillermo Frontera
d6301d81a2 Fix processing of multi-stream files (#87)
* Fix processing of multi-stream files
* Added test for bzip2 multi-stream files.
* Fixed comments in bzip2 test

This fixes #86
2019-05-24 08:29:54 -04:00
James E. King III
50b4f003e5 Disable cppcheck in CI - hangs 2019-05-03 05:11:44 -04:00
James E. King III
2493cbfdaa Update CI 2019-05-02 16:58:18 -04:00
Jacob Brown
a31d9de40c Fixed typo in test message in test/mapped_file_test.cpp 2019-03-25 08:11:28 -04:00
Peter Dimov
703e9a077b When building from source, install boost_zlib and boost_bzip2 2019-03-12 00:43:26 +02:00
hia3
2543c0f599 Turn off BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS for clang++ 2019-02-19 14:59:42 -05:00
James E. King III
f995924343 fix documentation issue gunzip example [ci skip]
This fixes #79
2019-02-19 14:57:54 -05:00
James E. King III
29a831798e Enhance Travis CI build coverage 2018-11-11 12:54:00 -05:00
Konstantin Käfer
f1f7ad9f68 remove dependence on <typeinfo> header 2018-11-03 09:20:43 -04:00
James E. King III
8c8069bd28 add visibility=global to travis CI ubsan builds 2018-10-09 15:19:40 -04:00
James E. King III
5692d34219 clean up some coverity-identified issues, mostly uninitialized class members 2018-08-13 22:28:27 -04:00
James E. King III
1e9ef0aa6c Merge branch 'master' into develop 2018-08-11 00:28:29 +00:00
James E. King III
0de0ad4cef update readme for coverity scan badges 2018-08-11 00:26:24 +00:00
F
1b45b70108 Fixed warning about comparison of integer expressions of different signedness (#64)
This fixes #63
2018-08-01 09:04:59 -04:00
James E. King III
d7f1b82682 Added CI framework
- travis with valgrind, cppcheck, ubsan, codecov, covscan (future)
      - appveyor with MSVC 2010 through 2017, cygwin 32/64, mingw 32/64
      - README, LICENSE, etc.

Additional fixes for cygwin builds to work
2018-07-30 09:14:56 -04:00
Edward Diener
230339539c
Merge pull request #59 from TobiasLudwig/bugfix/warning-pragma-push
add missing warning re-enabling include
2018-06-17 04:35:36 -04:00
Tobias Ludwig
6ad47ce9b5 add missing warning re-enabling include
fixes msvc warning C5032: "detected #pragma warning(push) with no corresponding #pragma warning(pop)"
2018-06-11 21:39:30 +02:00
Edward Diener
a0c32babd2
Merge pull request #57 from BillyONeal/develop
Turn off BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS for MSVC++
2018-04-20 05:18:34 -04:00
Billy Robert O'Neal III
15e7258973 Guard _MSVC_STL_VERSION test with BOOST_MSVC test. 2018-04-19 21:51:03 -07:00
Billy Robert O'Neal III
a3e973f3d4 Turn off BOOST_IOSTREAMS_HAS_DINKUMWARE_FPOS for MSVC++.
Boost is attempting to use a function not in the standard, seekpos(),
guarded by this setting. Looks like Boost can use the standards
conforming interface for MSVC++ instead. It should work going
back effectively "forever" as far as MSVC++ is concerned, but this
guard applies the change only to 2017. It's possible there is a better
control in boost.config I missed.
2018-04-16 14:32:12 -07:00
Edward Diener
7b5bf3663a
Merge pull request #53 from msuvajac/nonblocking_read
Fixed non-blocking adapter read() data overwrite and infinite loop.
2018-04-14 22:47:07 -04:00
Edward Diener
c254a9e702
Merge pull request #52 from msuvajac/bzip2_memory_leak
Fixed bzip2 memory leak.
2018-04-14 18:33:17 -04:00
Edward Diener
eb03aa43b9
Merge pull request #48 from rdoeffinger/zstd
Add zstd compression/decompression filter.
2018-03-26 17:15:36 -04:00
Reimar Döffinger
78f4496235 Add zstd compression/decompression filter.
Implements trac issue #13356.
2018-03-24 19:55:17 +01:00
msuvajac
b51c1d005e Fixed non-blocking adapter read() data overwrite and infinite loop.
Non-blocking adapter read() wasn't tracking amount read properly which
could cause an infinite loop when underlying (infinite) source returns amounts
smaller than requested. Also amounts read previously were
overwritten by subsequent calls.
2018-03-02 11:37:50 +01:00
msuvajac
a0a36ef681 Fixed bzip2 memory leak.
When bad data is encounted during compression/decompression exception is
thrown (through bzip2::check()) but memory associated with the bzip2 stream
wasn't properly released (BZ2_bzCompressEnd()/BZ2_bzDecompressEnd() must be
called to do that - which is done by calling bzip2_base::end()).
As end() throws on error, and we are now calling end() in destructor, nothrow
version needed to be made so we don't terminate user program in case end()
fails.
2018-03-02 09:51:51 +01:00
Edward Diener
1680ef8b76 Merge branch 'develop' 2018-02-20 08:18:15 -05:00
Edward Diener
e092f44a0f
Merge pull request #50 from rdoeffinger/testfix
Fix test when zlib or bzip2 not available.
2018-01-19 19:20:57 -05:00
Reimar Döffinger
2c30bedbe0 Fix test when zlib or bzip2 not available.
Do not try to run tests when the dependencies
are not available.
Should fix the AppVeyor build.
2018-01-19 22:33:26 +01:00
Edward Diener
d380d6267c
Merge pull request #49 from kuhlenough/patch-1
VxWorks' Dinkum clib does not support the fpos extension
2018-01-16 11:37:53 -05:00
Brian Kuhl
9de5295cec
VxWorks' Dinkum clib does not support the fpos extension
The Dinkum code base that's distributed with VxWorks and QNX  is slightly different than Windows and this seems to be one of the differences.
2018-01-16 11:21:31 -05:00
Steven Watanabe
2d5f0dbfc1 Don't pass deprecated options. 2018-01-10 16:44:32 -07:00
Edward Diener
c75cb13e1b
Merge pull request #46 from DanielaE/fix/replace-deprecated-allocator-members
Most members of std::allocate are deprecated in C++17
2017-12-28 23:26:25 -05:00
Daniela Engert
e3776ac37b
Most members of std::allocate are deprecated in C++17
Replace them by their cousins from std::allocator_traits.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-12-28 16:46:18 +01:00
Edward Diener
083245c50f
Merge pull request #45 from Kojoley/fix-msvc-11-crt-4250-warning-follow-up
Follow up to Suppress C4250 warning because of VS2012 CRT
2017-12-12 12:57:56 -05:00
Nikita Kniazev
fe5f2e2c83 Follow up to Suppress C4250 warning because of VS2012 CRT
This is follow up to #44. I do not use `filtering_stream` and missed the warnings
from it in long output of regression matrix.
2017-12-12 19:20:25 +03:00
Edward Diener
0b2e39ef92 Changed from using _MSC_VER to using BOOST_MSVC 2017-12-10 20:18:01 -05:00
Edward Diener
5a0c4ff9e3
Merge pull request #44 from Kojoley/fix-msvc-11-crt-4250-warning
Fix C4250 warning because of VS2012 CRT
2017-12-10 19:59:48 -05:00
Nikita Kniazev
5c0fe7e9eb Suppress C4250 warning because of VS2012 CRT
The workaround in VC++ CRT of MSVC compiler bug leads to the fact that if your class inherits from std streams you will get C4250 warning. (https://connect.microsoft.com/VisualStudio/feedback/details/733720/)

```
..\..\..\..\boost/iostreams/stream.hpp(145) : warning C4250: 'boost::iostreams::stream<Device>' : inherits 'std::basic_istream<_Elem,_Traits>::std::basic_istream<_Elem,_Traits>::_Add_vtordisp1' via dominance
..\..\..\..\boost/iostreams/stream.hpp(145) : warning C4250: 'boost::iostreams::stream<Device>' : inherits 'std::basic_ostream<_Elem,_Traits>::std::basic_ostream<_Elem,_Traits>::_Add_vtordisp2' via dominance
```

This harmless warning could not be avoided in any other way (except adding
those dummy functions `_Add_vtordisp1` and `_Add_vtordisp2`).
2017-12-11 03:16:39 +03:00
Edward Diener
4e57510127 Updated to support c++11's std::allocator_traits when available in the rest of the situations where BOOST_NO_STD_ALLOCATOR is being checked. 2017-12-09 08:19:26 -05:00
Edward Diener
bb73bce16a Updated to support c++11's std::allocator_traits when available. 2017-12-08 23:52:55 -05:00
eldiener
20e6b26287 Merge branch 'develop' 2017-10-30 11:41:42 -04:00
eldiener
d2a1d0149b Removed --depth 1 2017-10-29 21:42:52 -04:00
eldiener
0ec81ee657 Merge branch 'develop' 2017-10-27 22:22:04 -04:00