Commit graph

4 commits

Author SHA1 Message Date
adam
912630b71f boost: updated to 1.68.0
1.68.0:
New Libraries
YAP:
An expression template library for C++14 and later, from Zach Laine.

Updated Libraries
Beast:
This version fixes a missing executor work guard in all composed operations used in the implementation. Users who are experiencing crashes related to asynchronous completion handlers are encouraged to upgrade.
For a complete list of changes, please view the official Release Notes.
Context:
78: Linker error with context-impl=ucontext: multiple definition of boost::context::detail::current_rec
Coroutine2:
14: crash while stack unwinding
18: some guidance on why to use coroutine2
20: failes to compile test in due to the error C2039
22: undefined behaviour documentation
Fiber:
170: buffered_channel::try_push has incorrect documentation
172: WIN64: 'invalid conversion from 'HANDLE' to 'std:🧵:native_handle_type' errors for builds using mingw-w64
175: throw exception "Operation not permitted"
NUMA support moved to extra library (fiber-numa); enabled via property numa (numa=on)
Fusion:
Added a workaround for ambiguous call of fusion::deque constructor on GCC 4.4/c++0x
Fixed a bug with C-style array
Fixed a fusion::for_each signature to take functor by value
This may break existing code with non-copyable (non-movable) functor, but the implementation wasn't correct for a long time; the documantation was correct from the first. So, please make sure your usage.
Fixed unintentional MPL placeholder substituion bug on fusion::transform.
Moved description, how to conform Fusion sequence as MPL sequence, to mpl section.
Added notes regarding IO facility for adapted type.
Geometry:
Improvements
469 Horizontal grid shift (nadgrids) in SRS transformations (undocumented for now due to potential interface changes).
478 Box-Segment distance for spherical and geographic coordinate systems.
487 Missing combinations of geometries in distance for spherical and geographic cs
489 Additional direct geodesic problem formulas for internal use
Solved issues
470 Assertion failure with short spherical and geographic segments.
471 Invalid envelope of spherical polygon
498 Unexpected results with expand() and make_inverse() for spherical and geographic CS
Bugfixes
488 Handle non-true-references in closing_iterator and ever_circling_range_iterator
495 VxWorks 7 cross-compilation issue.
GIL:
The I/O extensions have been entirely rewritten.
The library now requires a C++11-compliant compiler.
Documentation has been reformatted and updated.
Graph:
Conditionally replace deprecated/removed C++98 std::bind1st by std::bind, std::auto_ptr by std::unique_ptr, and std::random_shuffle by std::shuffle.
Fix compiler error with release builds on VS2015
Fix the Stanford GraphBase examples
Fix friend declarations for iterator_core_access
Add missing <boost/iterator.hpp> include
Avoid an unused variable warning
Fix some typos in documentation
Fix some issues in tests and examples
Lexical Cast:
Fixes for clang-tidy warnings 12092
Log:
Improved support for VxWorks.
Save and restore ebx register on x86 PIE targets in the dump stream manipulator implementation.
Math:
Support for arbitrary precision complex valued quadrature and hence contour integration
Improve performance of polynomial addition
Math:
Continue to improve numerical integration routines, and in particular add support for contour integrals.
Improve accuracy of erfc function's rational approximations.
Multi-index Containers:
Containers of moveable but non-copyable elements can now be serialized (ticket 13478). Thanks to Sébastien Paris for the report.
multi_index_container's default constructor is no longer explicit (ticket 13518).
Multiprecision:
Support for multiprecision complex numbers
Multiprecision:
Support added for complex multiprecision numbers.
Changed conversion to unsigned integer types to be truncating to match standard defined behaviour.
Correct bug in MPFR string formatting.
Fix undefined behaviour in cpp_dec_float conversion from long long.
Add support for Eigen interoperability.
float128.hpp: Fix Intel on Windows build.
Fix type used in temporaries when expanding expression templates containing mixed expressions.
Fix infinite loop in gmp_float to fixed-point string conversion.
Update the expression templates to issue static_asserts with better error messages when you try and do something unsupported.
Fix bug in cpp_int where incrementing to zero doesn't set the sign correctly.
Remove erroneous use of std::move, and rely on NVRO instead.
Fix up support for changes to MPIR-3.0.
Fix various conversion errors in cpp_bin_float when the exponent type is a long long, or else we're converting to an integer that is wider than we are.
Fix compatibility issue with GCC-8 caused by the introduction of std::byte.
Optional:
Added member function has_value() for compatibility with std::optional (issue 52).
Added member function map() for transforming optional<T> into optional<U> using a function of type T -> U.
Added member function flat_map() for transforming optional<T> into optional<U> using a function of type T -> optonal<U>.
Predef:
Add support for __ARM_ARCH macro.
Add detection for PTX architecture.
Add nvcc compiler detection.
Add support for detecting CUDA.
Remove reference to obsolete BOOST_ARCH_AMD64.
Program Options:
Support for multiple long names for an option, thanks to Eyal Rozenberg
Python:
Bug fixes to correct autolink support (Windows)
Rational:
Fixed undefined behavior in normalize()
System:
Add constexpr to error_code and error_condition members under C++14 and above
Signals:
Removal Notice: Boost.Signals will be removed in the next release. Boost.Signals was deprecated in version 1.54.0. Transition to Boost.Signals2 now to avoid disruption.
Stacktrace:
Fixed compilation on Solaris and other platforms that do qualify address as const in dladdr function (github 54).
Dropped dependency on Boost.LexicalCast.
Test:
Boost.test v3.8 see the Changes log for more details.
Breaking changes
The master_test_suite_t object is no more copyable
New feature:
Dataset test case can now use command line parameters
TypeIndex:
Dropped dependency on Boost.MPL.
Uuid:
Breaking change: sha1 detail namespace header redirection for backwards compatibility was removed
Added support for std::hash
Added support for move semantics on random generators
Properly handle EINTR when acquiring entropy
Use getrandom(2) instead of getentropy(3) on linux
2018-08-16 15:58:31 +00:00
adam
d6df5a7063 boost: updated to 1.67.0
Version 1.67.0:
New Libraries:
- Contract: Contract programming for C++.
- HOF: Higher-order functions for C++.

Updated Libraries:
- Asio:
Added missing const qualifier to basic_socket_acceptor::get_option.
Worked around a parsing error that occurs with some versions of gcc.
Fixed broken code samples in tutorial.
Added new experimental features. (Note that "experimental" features may be changed without notice in subsequent releases.)
Added experimental::detached completion token.
Added experimental::redirect_error completion token.
Added experimental::co_spawn facility for integration with the coroutines technical specification.
Updated timeout examples to use latest features.
Used asio::steady_timer rather than asio::deadline_timer.
Used asio::dynamic_buffer rather than asio::streambuf.
Used timed asio::io_context::run_for() function for blocking clients.
Added example showing a custom completion token for blocking with timeouts.
Fixed unit tests to compile when BOOST_ASIO_NO_DEPRECATED is defined.
Changed socket iostreams to use chrono by default, to fix compatibility with the Networking TS. Define BOOST_ASIO_USE_BOOST_DATE_TIME_FOR_SOCKET_IOSTREAM to enable the old Boost.Date_Time interface in basic_socket_streambuf and basic_socket_iostream.
Updated examples to use chrono rather than Boost.Date_Time.
Fixed an incorrect member function detector in the is_dynamic_buffer trait.
Fixed an async_result incompatibility with deprecated handler_type.
Added a missing move optimisation in the SSL stream implementation.
Fixed incorrect basic_resolver_results::value_type typedef.
Fixed a compile error with some OpenSSL versions when SSL_OP_NO_COMPRESSION is defined.
Changed add_certificate_authority to process multiple certificates in a bundle.
Eliminated deprecation warning with MSVC by using std::invoke_result rather than std::result_of.
Changed to use std::string_view for C++17 or later, and std::experimental::string_view for C++14. Define the preprocessor macro BOOST_ASIO_DISABLE_STD_STRING_VIEW to force the use of std::experimental::string_view (assuming it is available) when compiling in C++17 mode.
Ensured DynamicBuffer template arguments are decayed before using in enable_if tests.
Changed documentation to distinguish legacy completion handlers (which are still required to be CopyConstructible) from new MoveConstructible handlers.
Suppressed a discarded return value warning in the buffer debugging support.
Fixed basic_yield_context to work with completion signatures containing reference parameters.
Ensured that stackful coroutines launched using spawn() correctly store decayed copies of their function and handler arguments.
Fixed some compatibility issues with Android.
Added cross-compilation support to Jamfiles.
Fixed some minor portability issues in examples.

- Atomic:
Breaking change: Changed the result of the (op)_and_test operations added in Boost 1.66 to the opposite - the functions now return true if the operation result is non-zero. This is consistent with other test methods in Boost.Atomic and the C++ standard library. Users can define BOOST_ATOMIC_DETAIL_HIGHLIGHT_OP_AND_TEST when compiling their code to emit warnings on every use of the changed functions. This way users can locate the code that needs to be updated.
Update for C++2a. On C++11 compilers that support scoped enums, the memory_order enumeration is now scoped and contains constants with shorter names like acquire, release or seq_cst (i.e. users can use memory_order::acquire instead of memory_order_acquire). The old constants are also provided for backward compatibility. (P0439R0)
Update for C++2a. Added experimental support for atomic operations on floating point types. In addition to general operations, add, sub, negate operations and their fetch_(op) and opaque_(op) versions are supported. Lock-free property can be tested with the new macros BOOST_ATOMIC_FLOAT/DOUBLE/LONG_DOUBLE_LOCK_FREE. The support for floating point types is optional and can be disabled by defining BOOST_ATOMIC_NO_FLOATING_POINT. (P0020R6)
Added new experimental operations:
negate_and_test and complement_and_test which perform negation or bitwise complement and return true if the result is not zero.
add, sub, negate, bitwise_and, bitwise_or, bitwise_xor, bitwise_complement operations which perform the operation and return its result.
For generic atomic<T> specialization, the default constructor is now trivial if T's default constructor is.
The internal implementation of atomic<T> has been updated to avoid undefined behavior that stems from signed integer overflows. As required by the C++ standard, the library uses two's complement representation of signed integers internally and accroding rules of overflow. Currently, the library requires the native signed integer types to also use two's complement representation (but no defined overflow semantics).
Improved Clang support. In particular, fixed DCAS not being lock-free and fixed possible incorrect code generated on 32-bit x86.
Improved MinGW support. For gcc versions up to 4.6, fixed compilation of DCAS on x86.
In x86 PIE code, asm blocks now preserve ebx value.

- Beast:
This version fixes significant defects in websocket::stream which can lead to asserts or undefined behavior. Users are encouraged to update to the latest Boost release.
For a complete list of changes, please view the official Release Notes.

- ContainerHash:
Extracted from the functional module to break a dependency cycle.
Moved headers to new location to reflect name change, the old include paths will still work.
Added support for std::string_view, std::error_code, std::error_condition, std::optional, std::variant, std::monostate where available.
Added explicit support for vector<bool>, so that it will work with libc++.
More detail in the library change log.

- Context:
fix i386/macho routines to correctly return transfer_t in EAX/EDX
__sanitizer_finish_switch_fiber should be called directly after context switch
Clang on Windows : error: No best alternative for libs/context/build/asm_sources
fixing C2492 for execution_context (v1)
known bug: including all.hpp + <context-impl>ucontext/winfib causes error 'forced_unwind: is not a member of boost::context::detail'

More info https://www.boost.org/users/history/version_1_67_0.html
2018-04-29 20:41:11 +00:00
adam
b3146dba40 Correct DESCR 2017-08-26 06:11:50 +00:00
adam
ce058b2fd4 Version 1.65.0
New Libraries: PolyCollection, Stacktrace. Updated Libraries: Asio, Context, Config, Core, Coroutine2, DLL, Fiber, Fusion, Geometry, Hash, Log, Phoenix, Predef, Program Options, Python, Smart Pointers, Test, TypeIndex, Unordered, Utility, Variant.
2017-08-24 19:31:31 +00:00