269 Commits

Author SHA1 Message Date
Peter Dimov
6e6b937a46 Iostreams requires C++11, but the b2-installed CMake configs don't know that 2024-11-07 18:35:10 +02:00
Peter Dimov
a006b4a150 Also test staged Boost in windows-b2-install 2024-11-07 18:04:32 +02:00
Peter Dimov
92d9290400 Add the windows-b2-install job to ci.yml 2024-11-07 16:45:59 +02:00
Rene Rivera
3e5917fd54 Sync from upstream. 2024-08-20 09:57:27 -05:00
Peter Dimov
9dde9ef277 Update cmake_install_test, cmake_subdir_test 2024-08-18 01:28:48 +03:00
Rene Rivera
9bda6c78e8 Update build deps. 2024-08-03 16:00:52 -05:00
Rene Rivera
f3bee50a7b Sync from upstream. 2024-07-18 09:28:22 -05:00
Peter Dimov
2093f7c08c Update cmake_subdir_test 2024-07-13 03:28:21 +03:00
Peter Dimov
7a0d907c72 Update cmake_subdir_test, cmake_install_test 2024-07-13 03:11:44 +03:00
Rene Rivera
e083525bfd Make the library modular usable. 2024-03-11 08:38:17 -05:00
Peter Dimov
65fc893eaa Update stream_state_test.cpp 2023-01-17 03:14:06 +02:00
Kevin Cadieux
9faa0ea257 Fixing buffer overflow in do_length (#128)
* Fixing buffer overflow in do_length.

* Using Andrey's version.
2022-11-01 20:12:03 -07:00
Peter Dimov
aa2d2b05bf Disable gzip compression test on __APPLE__ (no idea why it fails with an uncaught zlib_error) 2021-09-13 13:36:31 +03:00
Peter Dimov
4a127d09cc Extend stream_state_test workaround 2021-09-13 04:12:16 +03:00
Peter Dimov
79e845e193 Fix shadowing errors 2021-09-13 04:07:08 +03:00
Peter Dimov
086416dc32 Fix test allocators 2021-09-13 02:39:05 +03:00
Peter Dimov
c84007a8da Add test/cmake_install_test, test/cmake_subdir_test 2021-09-13 01:27:19 +03:00
Edward Diener
6114867922 Do not run the wide character regex filter test if regex indicates that wide character regex is not supported. 2020-08-25 14:27:12 +03:00
Edward Diener
198dcb23ef Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-08-25 14:26:54 +03: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
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
Jacob Brown
a31d9de40c Fixed typo in test message in test/mapped_file_test.cpp 2019-03-25 08:11:28 -04:00
Konstantin Käfer
f1f7ad9f68 remove dependence on <typeinfo> header 2018-11-03 09:20:43 -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
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
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
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
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
623c608793 Removed executable flag. 2017-09-16 07:15:09 -04:00
Julien Schueller
2fb542b8d5 lowercase win32 header to fix cross-compilation 2017-07-31 22:25:52 +02:00
Reimar Döffinger
dbfdee7515 Clarify origin and authors of recently added files.
As git history isn't useful in this case, it might be good
to add more details in the header instead.
2017-07-26 10:42:52 +02:00
Reimar Döffinger
282b1edd76 Add lzma compressor and decompressor filters.
Needs lzma.jam file in tools/build module.
See also trac ticket 7534.
The code has been around in random places since some time,
I only added tests and build system updates and
minor fixes for issues those tests discovered.
2017-07-25 16:21:30 +02:00
Reimar Döffinger
b9a61eaa0d Fix endless loop when writing to file exceeds quota.
See also issue 2557.
2017-07-03 19:31:00 +02:00
Edward Diener
16e05f4a68 Added temp_file include. 2016-12-10 12:33:04 -05:00
Edward Diener
d595901ae4 Merge branch 'bugfix/10561' of https://github.com/jlodos/iostreams into develop_test 2016-12-10 08:15:32 -05:00
Edward Diener
7cbbfa57af Updated file descriptor code and tests 2016-12-07 01:43:17 -05:00
Edward Diener
bfa6b063a5 Merge pull request #29 from ErisExchange/eris-bugfix
Do not check length_ before computing CRC.
2016-12-03 19:35:55 -05:00
Joel Nordell
633e78e076 Do not check length_ before computing CRC.
This fixes a problem where the gzip_decompressor would fail the CRC
check when reading a multipart gzip file that had been written using
Z_FULL_FLUSH, and contains an empty part (with a 0 CRC).

Including a unit test that exposes the bug.
2016-07-12 17:59:44 -05:00
Jorge Lodos
d248dcd9b4 Add dual seek-able test. 2016-02-07 22:28:22 -06:00
Jorge Lodos
ec09583209 Bugfix in test_seekable_... functions and new dual_seekable_test function. 2016-02-07 22:24:51 -06:00
Marcel Raad
9e31b98833 Fix MSVC compiler warnings
- silenced narrowing conversion warnings with explicit casts
- fixed a variable shadowing warning by removing an unused variable
2015-09-17 13:08:11 +02:00
Jonathan Turkanis
e21ce6efba merged branch 'bugfix/warnings-2015-09-01' into develop; silenced numerous compiler warnings for msvc, gcc, and clang 2015-09-03 15:50:36 -04:00
Jonathan Turkanis
b8db28c0ac fix for bug #5237 2015-09-01 19:15:10 -06:00
Jonathan Turkanis
3e19a4d8b4 added template constructor to gzip_alloc to support conversion from related allocator types 2015-08-31 23:15:16 -06:00
Alex Henrie
61ba23892f Correct spelling of "suppress" 2015-02-07 01:59:21 -07:00
Stephen Kelly
6d11f179dd Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-09-26 13:02:51 +00:00
Daniel James
b7a15c51ac Detab
[SVN r84551]
2013-05-30 08:28:24 +00:00
Daniel James
9b1e0ce0d1 Fix C++11 array ambiguity in iostreams tests.
[SVN r84509]
2013-05-26 14:16:44 +00:00
Daniel James
c7d5cdae5b Fix tee_test on C++03 compilers.
The constructor from std::string is apparently a C++11 feature.

[SVN r84163]
2013-05-06 10:29:00 +00:00