Skip to content

v0.4.0

Compare
Choose a tag to compare
@kirillsaidov kirillsaidov released this 03 Jul 07:17
· 153 commits to master since this release

This is a big release! A lot of functionality was reworked and many modules were added.

Updates

1. Memory

  • Memory handling improved. This ensures safe memory allocations; they exit the program upon failure.
  • Allocators support was added. Now you can pass your custom allocators as arguments to the functionality that allocates memory. All you need to do is to create a base allocator object and specify the alloc, realloc and free functions.
  • mallocator.h module was added. It uses the plain calloc/free, but keeps allocation statistics for later examination.

2. Containers

  • Containers functionality was extended and unified. Functionality has the same interface and behaves in similar predictable manner. The string handling module was especially extended. So, you should have all you need to easily work with strings.
  • common.h module was added. It contains all common generic functionality that can accept any data structure.

3. Debugging

  • Debug module was updated. VT_ENFORCE and VT_CHECK were added as well. The debugging code will be automatically removed in release builds.
  • Logger was updated and can be used with the debugging code. They share approximately the same interface, so it should be intuitive.

4. Other

  • Datetime module was added. Working with time is easy now.
  • Wiki was added to guide the programmer.
  • HTML documentation was generated using Doxygen.
  • Checked all code for memory leaks (if you find any, please, report).