Skip to content

Releases: dlang-community/containers

v0.8.0-alpha.10

16 Oct 21:03
9de0e4f
Compare
Choose a tag to compare
v0.8.0-alpha.10 Pre-release
Pre-release
Merge pull request #124 from CyberShadow/revive-opapply

containers.hashmap: Re-add opApply iteration

v0.8.0-alpha.9

22 Jun 10:31
931aad7
Compare
Choose a tag to compare
v0.8.0-alpha.9 Pre-release
Pre-release
Merge pull request #114 from dlang-community/derp

Correctly reset t-tree length field to zero when clearing
merged-on-behalf-of: Brian Schott <[email protected]>

v0.8.0-alpha.8

18 Jun 23:17
Compare
Choose a tag to compare
v0.8.0-alpha.8 Pre-release
Pre-release
Support structs for key types in the hashmap/treemap. #71

v0.8.0-alpha.7

10 May 23:43
c261fa1
Compare
Choose a tag to compare
v0.8.0-alpha.7 Pre-release
Pre-release
Merge pull request #110 from CyberShadow/pull-20180510-052258

dynamicarray fixes + resize method

v0.8.0-alpha.6

23 Apr 19:27
Compare
Choose a tag to compare
v0.8.0-alpha.6 Pre-release
Pre-release
Fix two more cases of disposal before removing GC ranges

v0.8.0-alpha.5

27 Mar 21:34
6cf1551
Compare
Choose a tag to compare
v0.8.0-alpha.5 Pre-release
Pre-release
Merge pull request #106 from ximion/master

Add Meson build definition
merged-on-behalf-of: Brian Schott <[email protected]>

v0.8.0-alpha.4

23 Mar 20:34
Compare
Choose a tag to compare
v0.8.0-alpha.4 Pre-release
Pre-release
Fix typo

v0.8.0-alpha.2

21 Mar 23:42
Compare
Choose a tag to compare
v0.8.0-alpha.2 Pre-release
Pre-release

Fixed a minor problem with a local variable in HashMap.

v0.8.0-alpha.1

21 Mar 21:11
1b3885c
Compare
Choose a tag to compare
v0.8.0-alpha.1 Pre-release
Pre-release

This contains several API changes from 0.7.0 and several bug fixes as well.

  • Unit tests are now only complied in if the emsi_containers_unittest version is specified to the compiler. This should speed up test builds of programs using the containers.
  • CyclicBuffer
    • Added insertAnywhere, put, popFront, popBack.
  • DynamicArray
    • Renamed insert to insertBack. Added insertAnywhere, insert and put as aliases for insertBack.
  • HashMap
    • opIndex now returns ref.
    • Added containsKey.
    • Improved the implementaton
    • Removed default value for the defaultValue parameter to getOrAdd.
    • Made the allocator public.
  • HashSet
    • Added ~= operator overload.
    • Added insertAnywhere alias
    • Renamed range method to opSlice.
  • ImmutableHashSet
    • length and empty fields are now immutable.
  • Default hashing functions
    • Use a variant of FNV-1a for string hashing
  • OpenHashSet
    • Added put and insertAnywhere as aliases for insert.
    • Renamed range to opSlice.
    • Made the allocator public
    • Un-documented private function
  • package.d
    • Added some missing modules
  • SimdSet
    • Added clear
    • Added in operator overload and ~= operator overload.
    • Added insertAnywhere and put aliases for insert.
  • SList
    • Marked front inout.
    • Added back.
    • Added insertAnywhere alias for insertFront.
    • Renamed range to opSlice.
  • TreeMap
    • Added allocator method to get the allocator used by the underlying tree.
    • Added clear, get, byKey, byValue, byKeyValue, and getOrAdd methods.
    • Removed opApply.
    • Added more unit tests.
  • TTree
    • Added clear.
    • Changed the return type of the various insert overloads to size_t.
    • Added an optional overwrite argument to insert to allow newly-inserted values to overwrite existing values
    • Added insertAnywhere alias for insert.
    • Added function attributes such as @nogc and @safe to various methods.
    • Added front and back methods.
    • Made the allocator instance public.
  • UnrolledList
    • Added ~= operator overload.
    • Changed return type of insertAnywhere from void to T*
    • Fixed a bug that caused insertAnywhere to not work.
    • Renamed range to opSlice.

v0.7.0

20 Mar 19:58
Compare
Choose a tag to compare

Changes from v0.6.0:

  • Updated dub.json to reflect the new location of this repository
  • Improvements and fixes for the README
  • Changes that allow DynamicArray to be used in @nogc code in more cases
  • Removed DynamicArray's calls to object destructors.
  • Allow ~= on DynamicArray to accept an array, and make the operator return a reference to this.
  • Use the API-frozen stdx-allocator package instead of std.experimental.allocator
  • Add byKey, byValue/opSlice, and byKeyValue to HashMap.