Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dlang-community/containers
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.8.1
Choose a base ref
...
head repository: dlang-community/containers
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.9.0
Choose a head ref
  • 18 commits
  • 22 files changed
  • 4 contributors

Commits on Aug 25, 2021

  1. ci: use github actions instead of travis (#174)

    * ci: use github actions instead of travis
    
    * ci: add ci cache
    
    * ci: setup python 3
    
    * ci: install gcc multilib on linux
    
    * test: fix test\make_file for ldc
    
    * ci: run dub tests separately and continue on error for other os
    
    * fix: skip building tests on windows with meson
    
    * fix: build as an static library to fix windows builds
    
    * fix: macos make tests
    
    * ci: fail on UnrolledList test on ldc2
    
    * ci: don't cache ./.dub
    
    * ci: fix remove fetch-depth 0
    
    * chore: remove deprecated meson version keywords
    
    Fixes:
    ```
    ..\meson.build:38: WARNING: Passed invalid keyword argument "version".
    WARNING: This will become a hard error in the future.
    ..\meson.build:38: WARNING: Passed invalid keyword argument "soversion".
    WARNING: This will become a hard error in the future.
    ```
    aminya authored Aug 25, 2021
    Configuration menu
    Copy the full SHA
    ad83e58 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2021

  1. CI fix rollup (#180)

    * fix: use std.experimental allocator
    
    This removes the dependency on `stdx.allocator` by using the built-in `std.experimental.allocator`.
    
    * containers.unrolledlist: Fix unittest on LDC
    
    Patch based on #164 (comment)
    
    Fixes #164.
    
    * Fix writing to dangling pointers to stack
    
    Unittest helper types S, C, Cls hold a pointer to a counter which
    tracks the number of destructions. However, in some circumstances,
    these destructions may be non-deterministic, i.e. occur as a result of
    a garbage collection cycle. Should this occur after the unittest has
    already exited, then the pointer held by these types will be invalid.
    
    This causes a cyclicbuffer unittest to segfault when compiled with
    LDC.
    
    Fix this by always allocating the counter in the managed heap, so that
    its lifetime is properly tracked by the garbage collector, along with
    the test variables.
    
    Co-authored-by: Amin Yahyaabadi <aminyahyaabadi74@gmail.com>
    CyberShadow and aminya authored Sep 17, 2021
    Configuration menu
    Copy the full SHA
    e49e32c View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2021

  1. containers.dynamicarray: Improve #109 unittest

    Calling the destructor for the .init value should be allowed;
    otherwise, we would be forced to always copy instead of moving values.
    CyberShadow committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    11a1744 View commit details
    Browse the repository at this point in the history
  2. containers.dynamicarray: Fix #88 unittest

    The unit test was testing the wrong thing - the number of destructions
    performed during the insert. Not only does that miss the intent of the
    test, but it was testing that an inefficiency exists (i.e. we were
    creating a copy and then discarding it during insertion).
    CyberShadow committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    148cf16 View commit details
    Browse the repository at this point in the history
  3. containers.dynamicarray: Support non-copyable types

    Replace the memset/memcpy hacks with core.lifetime primitives.
    
    Some operations which naturally involve copying, such as slice
    assignment, are unavailable.
    CyberShadow committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    f97ba75 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d969ebf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dd5f0a1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c987d48 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #169 from Panke/fix-ctor

    fix: UnrolledList calls constructors only once on clear
    CyberShadow authored Sep 18, 2021
    Configuration menu
    Copy the full SHA
    6883362 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    57ba8a3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1b94c07 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b0896ae View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2021

  1. Merge pull request #183 from CyberShadow/pull-20210918-113251

    Support non-copyable types in HashMap and UnrolledList
    CyberShadow authored Sep 22, 2021
    Configuration menu
    Copy the full SHA
    5977b0c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #182 from CyberShadow/move-for-dynamic-array

    containers.dynamicarray: Support non-copyable types
    CyberShadow authored Sep 22, 2021
    Configuration menu
    Copy the full SHA
    c0e932a View commit details
    Browse the repository at this point in the history
  3. containers.dynamicarray: Fix with allocators without reallocate

    Use UFCS to pull in the top-level fallback when the method is absent.
    CyberShadow committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    208f5b8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f0d6b58 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #181 from CyberShadow/pull-20210916-062624

    Fix using keys with indirections
    CyberShadow authored Sep 22, 2021
    Configuration menu
    Copy the full SHA
    9eaa830 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #177 from JackStouffer/Issue-176

    Fix Issue #176: DynamicArray should use std.experimental.allocator.common.reallocate
    CyberShadow authored Sep 22, 2021
    Configuration menu
    Copy the full SHA
    116a028 View commit details
    Browse the repository at this point in the history
Loading