Skip to content

Commit 3366f60

Browse files
committed
Added ChangeLog
1 parent 2d4aa86 commit 3366f60

2 files changed

Lines changed: 37 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
!LICENSE
1010
!HEADER
1111
!README.md
12+
!ChangeLog
1213
!doc/*
1314

1415
!Makefile.am

ChangeLog

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
2015-01-14 Franklin "Snaipe" Mathieu <franklinmathieu@gmail.com>
2+
3+
* configure.ac: Added --with-malloc-wrapper and --with-fixed-allocator
4+
flags for ./configure.
5+
6+
* src/mman.c: Added a fixed allocator support -- if the user does not
7+
want to override at runtime the allocators used by smalloc/sfree and just
8+
want to use malloc and free, they may enable this option using the
9+
--with-fixed-allocator configuration flag.
10+
11+
* src/wrap_malloc.{c,h}, src/mman.c: Added malloc/free wrappers.
12+
Pointers produced by malloc can be used with the `smart` attribute,
13+
and smart pointers may be passed to free. This option is deactivated
14+
by default, and can be enabled using the --with-malloc-wrapper
15+
configuration flag.
16+
17+
2015-01-14 Franklin "Snaipe" Mathieu <franklinmathieu@gmail.com>
18+
19+
* src/smart_ptr.h: unique_ptr and shared_ptr now take a type parameter
20+
instead of a size.
21+
22+
* src/smart_ptr.h: Added support for static array types in the unique_ptr
23+
and shared_ptr macros.
24+
25+
* src/mman.{c,h}: Added smart array allocation through smalloc. smalloc
26+
has been changed to take a mandatory `nmemb` parameter, that may be 0
27+
if the allocated type is a scalar, and an array for any other value.
28+
29+
2015-01-13 Franklin "Snaipe" Mathieu <franklinmathieu@gmail.com>
30+
31+
* src/smart_ptr.h: Added unique_ptr and shared_ptr macros, added
32+
`smart` variable attribute.
33+
34+
* src/mman.{c,h}: Added smalloc, sfree, sref, and get_smart_user_meta.
35+
Alternative allocators may be specified by setting the contents of
36+
`smalloc_allocator`.

0 commit comments

Comments
 (0)