1. 16 Jun, 2019 1 commit
    • Kenton Varda's avatar
      Calculate SO_VERSION in configure for compatibility with BSD make. · 8fdcad7a
      Kenton Varda authored
      BSD Make does not support `$(shell ...)`. It does support an alternative, `!=` assignments (which, confusingly, don't mean "not equal" but rather "evaluate the right in the shell before assignment"). GNU Make also supports `!=` as of version 4.0, released in 2013. Unfortunately, f***ing Apple ships GNU Make version 3.81, from 2006, with MacOS/XCode.
      8fdcad7a
  2. 26 Aug, 2018 1 commit
  3. 18 Aug, 2018 1 commit
  4. 05 Aug, 2018 1 commit
    • Kenton Varda's avatar
      We now require C++14. · 66730ef6
      Kenton Varda authored
      I'm tired of working around missing features that were added in C++14. It's four years old now, compilers should support it.
      66730ef6
  5. 11 Feb, 2018 1 commit
    • Harris Hancock's avatar
      Escape CMake config var in configure.ac · 2a8a7095
      Harris Hancock authored
      Previously ${CMAKE_CURRENT_LIST_DIR} was expanded (to an empty string) before CapnProtoConfig.cmake.in was configured, resulting in CapnProtoConfig.cmake setting CAPNP_INCLUDE_DIRECTORY to "/../../include", which is obviously wrong.
      2a8a7095
  6. 07 Nov, 2017 1 commit
  7. 16 Oct, 2017 2 commits
  8. 29 Apr, 2017 1 commit
  9. 07 Nov, 2016 1 commit
  10. 29 Mar, 2016 1 commit
  11. 15 Feb, 2016 1 commit
  12. 30 Dec, 2014 1 commit
  13. 12 Dec, 2014 1 commit
  14. 22 Nov, 2014 1 commit
  15. 26 Oct, 2014 1 commit
    • Kenton Varda's avatar
      Implement "lite mode", where reflection is disabled. · c772a700
      Kenton Varda authored
      To use, pass --disable-reflection to the configure script.
      
      This produces a smaller runtime library. However, using it for this purpose is not recommended. The main purpose of lite mode is to define a subset of Cap'n Proto which might plausibly compile under MSVC. MSVC still lacks full support for constexpr and expression SFINAE; luckily, most of our use of these things relates to reflection, and not all users need reflection.
      
      Cap'n Proto lite mode inherits its name from Protocol Buffers' lite mode. However, there are some key differences:
      
      - Protobuf generated code included global constructors related to registering descriptors and extensions. For many people, this was the main reason to use lite mode: to get rid of these global constructors and achieve faster startup times. Cap'n Proto, on the other hand, never had global constructors in the first place.
      
      - Schemas are actually still available in lite mode, though only in their raw (Cap'n Proto structure) form. Only the schema API (which wraps the raw schemas in a more convenient interface) and reflection API (which offers a convenient way to use the schemas) are unavailable.
      
      - Lite mode is enabled in an application by defining CAPNP_LITE rather than by specifying an annotation in the schema file. This better-reflects real-world usage patterns, where you typically want to enable lite mode application-wide anyway.
      
      - We do not build the lite mode library by default. You must request it by passing --disable-reflection to the configure script. Before you can do that, you must have a prebuilt Cap'n Proto compiler binary available, since the compiler can't be built without reflection.
      
      - Relatedly, the lite mode library is built with the same name as the full library. This library is not intended to be installed. If anything it should be statically linked. But, mostly the option only exists on non-MSVC platform to give us a way to test that we haven't broken lite mode.
      c772a700
  16. 29 Aug, 2014 1 commit
  17. 11 Dec, 2013 1 commit
  18. 10 Dec, 2013 1 commit
  19. 07 Dec, 2013 1 commit
  20. 15 Nov, 2013 1 commit
  21. 12 Nov, 2013 1 commit
  22. 11 Sep, 2013 1 commit
  23. 31 Aug, 2013 1 commit
  24. 12 Aug, 2013 1 commit
  25. 10 Aug, 2013 2 commits
  26. 09 Aug, 2013 1 commit
  27. 27 Jun, 2013 2 commits
  28. 26 Jun, 2013 1 commit
  29. 25 Jun, 2013 4 commits
  30. 07 Jun, 2013 1 commit
  31. 25 May, 2013 1 commit
  32. 29 Mar, 2013 2 commits