Commit Graph

29 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
Peter Dimov
703e9a077b When building from source, install boost_zlib and boost_bzip2 2019-03-12 00:43:26 +02:00
Reimar Döffinger
78f4496235 Add zstd compression/decompression filter.
Implements trac issue #13356.
2018-03-24 19:55:17 +01:00
Steven Watanabe
2d5f0dbfc1 Don't pass deprecated options. 2018-01-10 16:44:32 -07: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
loonycyborg
08798f6fff Made Jamfile use bzip2 tool instead of old inplace code
This makes it so that there's a proper configuration check for bzip2 too
2015-12-05 01:37:27 +03:00
Steven Watanabe
95515196ce Make sure that -sNO_ZLIB=1 and -sNO_COMPRESSION=1 disable zlib. Fixes #9156. 2015-02-28 20:19:33 -07:00
Steven Watanabe
59ef57566d pass is-default when initializing zlib.
[SVN r83765]
2013-04-04 19:05:34 +00:00
Steven Watanabe
31c0ac6ce9 Use the new zlib module in Boost.Iostreams.
[SVN r83691]
2013-04-01 20:45:33 +00:00
Daniel James
04d9e47c57 Try to improve file_descriptor's ownership policies. Refs #3517
* Deprecate the old 'close_on_exit' constructors.
* Introduce new constructors from file handle, taking either
  `never_close_handle` or `close_handle`.
* Close current file handle when opening a new file handle,
  if it would have been closed in the destructor.

[SVN r63430]
2010-06-29 14:15:13 +00:00
Steven Watanabe
5d678a2a01 Allow building zlib 1.2.4+, using a glob to include only source files that actually exist. Fixes #4091.
[SVN r62937]
2010-06-14 17:48:16 +00:00
Vladimir Prus
4fe6f72175 Add usage requirements.
[SVN r57833]
2009-11-21 09:20:31 +00:00
Vladimir Prus
4aff4b1ee9 Avoid non-inline non-template functions in headers.
This fixes #2406. gzip.hpp had a few functions
that are not templates or inline, which caused link errors.
Since the functions are fairly big, this patch moves
them into a cpp file.


[SVN r53427]
2009-05-30 06:16:27 +00:00
Vladimir Prus
5841d36579 Check if value of NO_COMPRESSION/NO_ZLIB is 0 or 1.
Originally, only presence of these variables was checked.
Unfortunately, iostreams documentation said, incorrectly, 
that NO_ZLIB and NO_BZIP2 default to 1 on Windows, which
caused some users to pass NO_ZLIB=0 explicitly, together 
with other variables,thereby still disabling zlib.

This match makes Jamfile forgiving of this error.

Fixes #1967.


[SVN r52168]
2009-04-04 12:44:55 +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
8877fad645 added helper types and functions for Boost.Filesystem interoperability and for accessing file timestamps
[SVN r46668]
2008-06-25 00:48:10 +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
8aa731d9d4 merged changes from iostreams_dev, revisions 42825-42947
[SVN r42948]
2008-01-24 06:50:32 +00:00
Vladimir Prus
bea511116c Make sure every library can be installed by using
bjam stage|install

in libs/<library>/build.


[SVN r40475]
2007-10-26 09:04:25 +00:00
Vladimir Prus
b7c36db71c Add file_descriptor.cpp and mapped_file.cpp to the list of compiled
files.

Patch from Takeshi Mouri.


[SVN r37396]
2007-04-09 07:02:40 +00:00
Vladimir Prus
356ab3d256 Fix building bzlib and zlib from source on Windows.
Patch from David Deakins.


[SVN r37236]
2007-03-20 07:30:43 +00:00
John Maddock
4718f83c38 Added dll-export options.
[SVN r35647]
2006-10-17 12:52:11 +00:00
Vladimir Prus
0ea9821a30 Prevent running compression iostream tests when compression is not configured.
[SVN r33517]
2006-03-29 11:16:22 +00:00
Vladimir Prus
a286e05a72 If zlib and bzi2 are built from source, build them into separate directories,
so that we don't get conflict due to file compress.c being present in both.


[SVN r33422]
2006-03-21 17:04:09 +00:00
Vladimir Prus
51c4446dd7 Final fix from Reece
[SVN r33058]
2006-02-21 09:44:28 +00:00
Vladimir Prus
4821fae329 Fixed to iostream's Jamfile'v2
[SVN r33025]
2006-02-20 14:55:40 +00:00
Vladimir Prus
a552d601da Restore mistakenly removed file
[SVN r29766]
2005-06-24 10:00:27 +00:00
Jonathan Turkanis
cfc8d3055f obsolete
[SVN r29088]
2005-05-20 02:44:35 +00:00
Vladimir Prus
4416f099a8 Add V2 Jamfile
[SVN r28266]
2005-04-15 07:59:23 +00:00