1. 18 May, 2017 2 commits
  2. 15 May, 2017 1 commit
    • Kenton Varda's avatar
      Feature-flag TLS library for now. · 8db916de
      Kenton Varda authored
      We'll need to update the configure script to check for OpenSSL and conditionally build this. Ekam users will need to add -DKJ_HAS_OPENSSL to their CXXFLAGS if they've arranged to link against the correct libs.
      8db916de
  3. 12 May, 2017 4 commits
  4. 11 May, 2017 1 commit
  5. 10 May, 2017 3 commits
  6. 07 May, 2017 2 commits
  7. 05 May, 2017 2 commits
  8. 03 May, 2017 2 commits
    • Kenton Varda's avatar
      Fix bug with HTTP entities with `Content-Length: 0`. · d2ec1420
      Kenton Varda authored
      The entity-body would never be marked "done", breaking the pipeline for subsequent requests/responses.
      
      (In practice `Content-Length: 0` is rare since normally only GET requests don't have content and they don't pass `Content-Length` at all.)
      d2ec1420
    • Ian Denhardt's avatar
      Remove references to obsolete isCallersFault · a901d43e
      Ian Denhardt authored
      At some point isCallersFault was marked as obsolete, but the description
      of abort still referenced it, suggesting particular usage. This patch
      removes said references.
      
      Since `git-diff` does *such* a good job with prose: This just removes
      the two parentheticals and re-flows the paragraph.
      a901d43e
  9. 02 May, 2017 2 commits
  10. 01 May, 2017 11 commits
  11. 30 Apr, 2017 8 commits
  12. 29 Apr, 2017 2 commits
    • Harris Hancock's avatar
      Update samples CMakeLists.txt · eabee1af
      Harris Hancock authored
      Update outdated comment, and require CMake 3.1, which allows us to take
      advantage of target_compile_features.
      eabee1af
    • Harris Hancock's avatar
      Use target_compile_features to request C++11 · 1d0d1c3b
      Harris Hancock authored
      Projects which use Cap'n Proto require C++11, because they must be able to
      compile our headers. Old gcc defaults to C++98, forcing users to manually
      specify the -std=gnu++11 flag in their CMake projects. CMake 3.1
      introduced the target_compile_features command which removes this
      necessity by automatically communicating the C++ standard level
      requirement to client projects.
      
      Specifically, if target `kj` requires a C++11 feature publicly, then all
      targets which link to `kj` will also require that C++11 feature, and get
      the -std=gnu++11 flag for free. If that target is a library, such as
      `kj-async`, and `kj-async` links publicly to `kj`, the requirement is also
      transitive to all targets which link to `kj-async`.
      
      Note that CMake's default behavior is to request compiler-specific
      extensions, such as those provided by the -std=gnu++11 flag. You must
      specifically opt out of these extensions. I'm not aware of any way to
      propagate this nuance in CMake, but added a check to at least prevent
      users from compiling Cap'n Proto without extensions.
      
      With this change, the c++/samples/CMakeLists.txt will build with MinGW
      with no change beyond requiring a later version of CMake.
      1d0d1c3b