Skip to content

Commit

Permalink
Release 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
foonathan committed Dec 2, 2020
1 parent 32b309d commit ac7412a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.MD → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand All @@ -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

---

Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac7412a

Please sign in to comment.