Skip to content

Releases: Inochi2D/numem

v0.7.4

15 May 13:44
Compare
Choose a tag to compare
  • alias this for smart pointers now works correctly

v0.7.3

13 May 09:00
Compare
Choose a tag to compare
  • Adds nogc_emplace to allow emplacing when phobos declares emplace as GC'ed.
  • Fixes some documentation
  • Adds numem.mem.utils, with utilities to make numem pretend function calls are nogc.

v0.7.2

06 May 16:10
aab4afe
Compare
Choose a tag to compare
  • Fixes an invalid version specifier in dub.sdl preventing use.

v0.7.1

09 Apr 19:24
Compare
Choose a tag to compare
  • Added automatic unit tests.
  • Added .ptr for string to get a null terminated pointer.
  • Changed smart pointers to alias their containing type.
  • Changed unique_ptr to allow moving on assignment.
  • Changed vectors to allow moving unique_ptr's out.

v0.7.0

09 Apr 03:03
Compare
Choose a tag to compare

Adds a pretty major revamp of a bunch of functionality within the library.

  • Moved Stream related things to the numem.io.stream module
  • Added numem.io.endian to help with endianness conversion
  • Added unsafe clear function to shared_ptr and unique_ptr, which clears the reference count object without subtracting refcount.
  • Changed unqiue_ptr to have a copy-constructor which moves the refcount to that instance.
  • Changed numem.all to import map, set and io.

Transition to new stream module is helped with a deprecated placeholder numem.stream module, which imports the new module.
Please update your code accordingly to use the new module, as numem.stream will be removed in future releases.

v0.6.4

18 Mar 12:56
Compare
Choose a tag to compare

Added pushFront and pushBack functions to vectors

v0.6.3

17 Mar 18:34
Compare
Choose a tag to compare

Adds support for copying strings and vectors between structs.

v0.6.2

17 Mar 15:18
Compare
Choose a tag to compare

Fixes a double declaration causing compilation errors, additionally fixes a wrong module reference in the exists function in io.file

v0.6.1

17 Mar 14:27
Compare
Choose a tag to compare

Adds support for retain/release for shared_ptr.
shared_ptr, weak_ptr and unique_ptr now also support getting the reference count value.

0.6.0

17 Feb 16:23
Compare
Choose a tag to compare

Adds map functionality and FileStream

What's Changed

  • Add .appendCString utility function, need review by @p0nce in #6
  • Add ability for numem strings to ~= a single char or another string by @p0nce in #8

Full Changelog: v0.5.4...v0.6.0