Commit Graph

50 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
Jonathan Turkanis
3db01ef7cb removed Boost.Build v1 residue
[SVN r42361]
2007-12-30 05:18:37 +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
000213c327 Remove V1 Jamfiles
[SVN r38516]
2007-08-08 19:02:26 +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
Rene Rivera
9884f4cf9a Fix missing ";" on warning message.
[SVN r32207]
2006-01-02 17:01:06 +00:00
Jonathan Turkanis
21047d66f2 corrected spelling of NO_COMPRESSION
[SVN r30432]
2005-08-03 22:49:33 +00:00
Jonathan Turkanis
1c8a8c1e41 fixed whitespace
[SVN r30095]
2005-07-15 04:54:56 +00:00
Douglas Gregor
1b67b3b5a1 Fix inspection problems
[SVN r30053]
2005-07-13 15:51:12 +00:00
Vladimir Prus
a552d601da Restore mistakenly removed file
[SVN r29766]
2005-06-24 10:00:27 +00:00
Jonathan Turkanis
dc5ec35757 shortened NO_ZLIB warning
[SVN r29470]
2005-06-08 03:31:33 +00:00
Jonathan Turkanis
450684e6d2 shortened NO_BZIP2 warning
[SVN r29469]
2005-06-08 03:28:04 +00:00
Jonathan Turkanis
a6d458f5ce fixed line-endings
[SVN r29452]
2005-06-07 01:03:28 +00:00
Jonathan Turkanis
c0d1aa4e70 attempted to fix treatement of compression filtersJamfile
[SVN r29433]
2005-06-04 23:14:57 +00:00
Rene Rivera
11bda92b8b Fix all line-ending errors, for now.
[SVN r29424]
2005-06-04 06:01:14 +00:00
Rene Rivera
6ecc9ef627 Don't use absolute paths for Jamfile imports. Other minor TAB, etc cleanups.
[SVN r29379]
2005-06-02 16:17:06 +00:00
Jonathan Turkanis
e8bfe0358c disabled bzip2 by default for windows, and added warning msg
[SVN r29330]
2005-05-31 16:53:00 +00:00
Jonathan Turkanis
a4a20f8fe7 disabled zlib by default for windows, and added warning msg
[SVN r29329]
2005-05-31 16:52:39 +00:00
Jonathan Turkanis
4cb4bca11c removed spurious variable reference
[SVN r29328]
2005-05-31 16:46:30 +00:00
Jonathan Turkanis
89b8b6f21e fixed relative path
[SVN r29090]
2005-05-20 03:59:25 +00:00
Jonathan Turkanis
cfc8d3055f obsolete
[SVN r29088]
2005-05-20 02:44:35 +00:00
Jonathan Turkanis
8d2b9357a5 fixed whitespace
[SVN r29006]
2005-05-17 22:04:40 +00:00
Vladimir Prus
4416f099a8 Add V2 Jamfile
[SVN r28266]
2005-04-15 07:59:23 +00:00
Jonathan Turkanis
54969f9688 no longer needed
[SVN r27967]
2005-04-05 00:44:31 +00:00
Jonathan Turkanis
4a5ad2b8b5 commented out compression imports
[SVN r27029]
2005-02-02 07:10:42 +00:00
Jonathan Turkanis
4a6738481f commented out compression tests
[SVN r26934]
2005-01-30 15:08:59 +00:00
Jonathan Turkanis
c0564c3c7c initial commitment
[SVN r26900]
2005-01-28 23:54:41 +00:00