Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Const generics port #198

Merged
merged 44 commits into from
Apr 22, 2021
Merged

Const generics port #198

merged 44 commits into from
Apr 22, 2021

Commits on Mar 25, 2021

  1. x86_64: "practically" thread-safe Pool

    japaric authored and korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    e4580da View commit details
    Browse the repository at this point in the history
  2. fix warnings

    japaric authored and korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    596a1f0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9d7128 View commit details
    Browse the repository at this point in the history
  4. 1.36.0 compatibility

    japaric authored and korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    b0129f5 View commit details
    Browse the repository at this point in the history
  5. Preparing for v0.5.5

    korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    357a312 View commit details
    Browse the repository at this point in the history
  6. Make Producer<..., SingleCore> Send, like Consumer

    I assume there's no reason that only multi-core Producers are marked
    Send, while Consumers are not (they're pretty symmetrical).
    BryanKadzban authored and korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    87917e0 View commit details
    Browse the repository at this point in the history
  7. indexmap: expose PowerOfTwo, Bucket and Pos

    This change allows the create custom structs with size arguments outside
    the heapless crate itself.
    willem66745 authored and korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    1790c4f View commit details
    Browse the repository at this point in the history
  8. readme: add instructions for tests

    andresv authored and korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    0ab806d View commit details
    Browse the repository at this point in the history
  9. histbuf: replace slow modulo operatins

    on cortex m0  `%` is extremely costly
    andresv authored and korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    26dcfa3 View commit details
    Browse the repository at this point in the history
  10. histbuf: fix style

    andresv authored and korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    9e08514 View commit details
    Browse the repository at this point in the history
  11. Vec: add set_len

    samlich authored and korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    0364e05 View commit details
    Browse the repository at this point in the history
  12. String: add as_mut_vec

    samlich authored and korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    6ba462e View commit details
    Browse the repository at this point in the history
  13. Initial conversion to const generics

    vec passes tests
    
    vec passes tests with docs as well (besides one with FromIter)
    
    vec passes tests with docs as well (besides one with FromIter)
    
    exposing full API
    
    passing all current tests
    
    starting with string
    
    string test passes mostly
    
    string test passes
    
    ufmt passes
    
    TODO removed
    
    binary_heap wip
    
    binary_heap passes tests
    
    sealed passes
    
    spsc wip
    
    spsc wip2
    
    split wip3
    
    spcs and split passes --lib tests
    
    spcs and split passes --lib tests
    
    spcs and split passes --lib tests
    
    spcs and split passes all tests (doc + lib)
    
    indexmap wip
    
    indexmap passes --lib test
    
    indexmap passes all tests (lib + doc)
    
    indexset passes all tests (lib + doc)
    
    indexset passes all tests (lib + doc)
    
    linear map wip
    
    linear map all test (lib + doc) passes, drop not tested, into_iter(mut self) not implemented
    
    history buffer all test pass (doc + lib), Copy instead of clone atm
    
    serde does not work
    
    pool works, serde still not
    
    serde wip
    
    serde wip
    
    serde wip
    
    serde wip
    perlindgren authored and korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    f962e3a View commit details
    Browse the repository at this point in the history
  14. Fixes for min const generics

    korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    6dcedb8 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8ba71d4 View commit details
    Browse the repository at this point in the history
  16. Fixed warnings

    korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    305de71 View commit details
    Browse the repository at this point in the history
  17. Cleanup

    korken89 committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    3de878b View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2021

  1. Fix fmt

    kpp committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    f7cb3e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3f4d8f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92cc062 View commit details
    Browse the repository at this point in the history
  4. Fix warnings in src/indexmap.rs

    kpp committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    7fb276f View commit details
    Browse the repository at this point in the history
  5. Fix cfail tests

    kpp committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    5bde47c View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2021

  1. Merge pull request #199 from kpp/const_generics

    Fix several issues in const generics
    korken89 authored Mar 30, 2021
    Configuration menu
    Copy the full SHA
    aee0817 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. Configuration menu
    Copy the full SHA
    1444990 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    73d209a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    12682bd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    870a925 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2021

  1. remove as_slice dependency

    burrbull committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    e0b3b3a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #200 from burrbull/const_generics

    remove as_slice dependency
    korken89 authored Apr 2, 2021
    Configuration menu
    Copy the full SHA
    622eba9 View commit details
    Browse the repository at this point in the history
  3. AsRef, AsMut for pool

    burrbull committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    618eebf View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2021

  1. Merge pull request #201 from burrbull/const_generics

    AsRef, AsMut for pool
    korken89 authored Apr 3, 2021
    Configuration menu
    Copy the full SHA
    fbf8c4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a507b8e View commit details
    Browse the repository at this point in the history
  3. Merge pull request #202 from kpp/fix_cfail

    Fix cfail tests in const generics
    korken89 authored Apr 3, 2021
    Configuration menu
    Copy the full SHA
    5d294a7 View commit details
    Browse the repository at this point in the history
  4. Simplify code in histbuf

    kpp committed Apr 3, 2021
    Configuration menu
    Copy the full SHA
    6bee0f8 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2021

  1. Merge pull request #203 from kpp/simplify_histbuf

    Simplify code in histbuf for const generics
    korken89 authored Apr 4, 2021
    Configuration menu
    Copy the full SHA
    e21c402 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bfe3fe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1fac593 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2c248a3 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2021

  1. Cleanup of comments

    korken89 committed Apr 8, 2021
    Configuration menu
    Copy the full SHA
    0ffef8f View commit details
    Browse the repository at this point in the history
  2. Updated changelog

    korken89 committed Apr 8, 2021
    Configuration menu
    Copy the full SHA
    dfa5d50 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2021

  1. New SPSC queue, now safe and much simpler

    This commit implements a new, simplified, SPSC that does not have the
    reported issues (e.g. not properly wrapping the indexes for non
    powers-of-2), and the support for multiple different index sizes has
    been removed for simplicity.
    korken89 committed Apr 18, 2021
    Configuration menu
    Copy the full SHA
    6fdcc4f View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2021

  1. Configuration menu
    Copy the full SHA
    58cb279 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. Clarification in changelog

    korken89 committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    bf6728e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8754c3d View commit details
    Browse the repository at this point in the history