1. 17 Jun, 2016 1 commit
    • Kenton Varda's avatar
      Implement basic connection-level flow control. · 538a767e
      Kenton Varda authored
      This is blunt: A peer can choose to stop reading new messages from a connection whenever the calls in-flight cross a certain threshold. This is needed in Sandstorm to prevent errant (or malicious) apps from consuming excessive RAM in other parts of the system by flooding them with calls.
      538a767e
  2. 08 Jun, 2016 1 commit
  3. 31 May, 2016 1 commit
  4. 30 May, 2016 1 commit
  5. 27 May, 2016 4 commits
  6. 25 May, 2016 2 commits
  7. 21 May, 2016 5 commits
  8. 20 May, 2016 15 commits
  9. 19 May, 2016 3 commits
  10. 18 May, 2016 3 commits
    • Branislav Katreniak's avatar
      a435d363
    • Branislav Katreniak's avatar
      capnp/test: add union in generic struct test - compilation error · 682cc0c5
      Branislav Katreniak authored
      Adding union into TestGenerics struct leads to compilation error
      in generated header:
      ````cpp
      In file included from external/capnproto/c++/src/capnp/test_capnp/capnp/test.capnp.c++:4:0:
      external/capnproto/c++/src/capnp/test_capnp/capnp/test.capnp.h:9565:10: error: need ‘typename’ before ‘capnproto_test::capnp::test::TestGenerics<Foo, Bar>::Ug::Reader’ because ‘capnproto_test::capnp::test::TestGenerics<Foo, Bar>::Ug’ is a dependent scope
         inline Ug::Reader getUg() const;
      ````
      Relavant parts in header file:
      
      ````cpp
      template <typename Foo = ::capnp::AnyPointer, typename Bar = ::capnp::AnyPointer>
      struct TestGenerics {
        ...
        struct Ug;
      };
      
      template <typename Foo, typename Bar>
      class TestGenerics<Foo, Bar>::Reader {
        ...
        inline Ug::Reader getUg() const;
      };
      ````
      
      Compiler misses `typename` keyword before Ug::Reader.
      682cc0c5
    • Branislav Katreniak's avatar
      Implement method kj::StringPtr:parseAs<NUMBER_TYPE> · 9de93601
      Branislav Katreniak authored
      This method provides kj-ish interface to parse numbers.
      
      Moves code from capnp json decoder to kj::StringPtr.
      9de93601
  11. 15 May, 2016 1 commit
  12. 10 May, 2016 3 commits