diff --git a/CHANGELOG.MD b/CHANGELOG.md similarity index 87% rename from CHANGELOG.MD rename to CHANGELOG.md index bd61cdc6..b7a7c090 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Upcoming Changes +# 0.7 + BREAKING: Removed the use of the compatibility library to automatically generate macros and workaround for older compilers. The important compatibility workarounds like the `__builtin_clz` extension are still used, but workarounds for missing C++11 library features have been removed. In particular, the library now requires compiler support for `noexcept`, `constexpr`, `alignof` and `thread_local`. @@ -11,9 +13,18 @@ BREAKING: Remove `Mutex` support from `allocator_reference` and consequently fro Embedding the `Mutex` with the reference was *fundamentally* broken and unusable to ensure thread safety. Use a reference to a `thread_safe_allocator` instead, which actually guarantees thread safety. +## Allocator + +Add ability to query the minimal block size required by a `memory_pool` or `memory_stack` that should contain the given memory. +Due to internal data structures and debug fences this is more than the naive memory request, so it can be computed now. + ## Bugfixes -* more CMake improvements +* more CMake improvements for cross-compiling, among others +* bugfixes to support UWP (#80), VxWorks (#81) and QNX (#85, #88, among others) +* better support missing container node size (#59, #72, among others) +* fix alignment issues in debug mode +* fix tracking for allocators without block allocators --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 67c1d6e5..6f4ac1b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,8 +8,8 @@ cmake_minimum_required(VERSION 3.1) project(FOONATHAN_MEMORY) set(FOONATHAN_MEMORY_VERSION_MAJOR 0 CACHE STRING "major version of memory" FORCE) -set(FOONATHAN_MEMORY_VERSION_MINOR 6 CACHE STRING "minor version of memory" FORCE) -set(FOONATHAN_MEMORY_VERSION_PATCH 2 CACHE STRING "patch version of memory" FORCE) +set(FOONATHAN_MEMORY_VERSION_MINOR 7 CACHE STRING "minor version of memory" FORCE) +set(FOONATHAN_MEMORY_VERSION_PATCH 0 CACHE STRING "patch version of memory" FORCE) set(FOONATHAN_MEMORY_VERSION "${FOONATHAN_MEMORY_VERSION_MAJOR}.${FOONATHAN_MEMORY_VERSION_MINOR}.${FOONATHAN_MEMORY_VERSION_PATCH}" CACHE STRING "version of memory" FORCE) diff --git a/README.md b/README.md index 48af1eef..0a34be6d 100644 --- a/README.md +++ b/README.md @@ -219,16 +219,26 @@ In particular thanks to the individual supporters: And big thanks to the contributors as well: +* @asobhy-qnx * @bfierz * @nicolastagliani * @cho3 +* @j-carl * @myd7349 * @moazzamak * @maksqwe * @kaidokert * @gabyx -* @MiguelCompany +* @maksqwe * @Manu343726 +* @MiguelCompany +* @moazzamak +* @myd7349 +* @quattrinili +* @razr +* @seanyen +* @wtsnyder +* @zhouchengming1 [EASTL]: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html [CMake]: www.cmake.org