1. 29 Oct, 2020 2 commits
    • daniel's avatar
      - rename MonoGenerator to BoringGenerator(no judging here, just saying) · a038ad3c
      daniel authored
      - update doc comments for generator mod
      - add a iterator method for non-ignorant generators using a closure as receive source
      - slight refactors and handle warnings
    • daniel's avatar
      - fix ExchangeContainerRef to not check if currently referenced container is... · 45094588
      daniel authored
      - fix ExchangeContainerRef to not check if currently referenced container is empty when receiving new ref since it is is unsafe by design and therefore might hold a invalid ref(i needed just a about an hour to understand this quite obvious problem but well)
      - replace CoroutineFactory by extending Coroutine's state model with Init holding closure and nothing more / refactor coroutine's state management code to reflect this
      - Remove GeneratorFactory constructs as well
      - Redesign generator architecture:
        - basic trait model with Generator(receiving/yielding) values, ResultingGenerator(may have a additional result) and maker IgnorantGenerator receiving () and can iterate
        - implementations MonoGenerator being a simple non-resulting IgorantGenerator and BoostedGenerator being a ResultingGenerator that might be Ignorant
      - adapt examples
  2. 28 Oct, 2020 2 commits
    • daniel's avatar
      - Introduce StackFactory Wrapper for dynamic, encapsulated context construction in transfer module · ae34ba81
      daniel authored
      - introduce context bootstrap function in ExchangingTransfer in order to move all lowlevel/unsafe code to transfer and restrict its public interface even more
      - restrict pub interface of transfer mod to ExchangingTransfer and StackFactory stack, hiding all context implementation details here
      - make heap-based CoroutineFactory work as delegate for GeneratorFactory -> remove other variant and finally get rid of non-function closure templates and duplicated bootstrap code
      - remove all remaining unsafe code from coroutines mod
      - working on generator decoration model
    • daniel's avatar
      - change costack unwinding in drop case to use resume_unwind instead of panic!... · 1258c6ef
      daniel authored
      - change costack unwinding in drop case to use resume_unwind instead of panic! to avoid backtrace and panic message output
      - change behaviour on panic in coroutine to use new panic! in invocation context instead of resume_unwind to get backtrace information about invocation call, too
      - add Generator Traits and split plain resume trait from return trait
      - change IntoGenerator trait to use types instead of template paramters
  3. 27 Oct, 2020 6 commits
  4. 26 Oct, 2020 9 commits
  5. 25 Oct, 2020 5 commits
  6. 24 Oct, 2020 7 commits