1. 22 Jan, 2020 2 commits
    • Dominik Charousset's avatar
      Merge pull request #1026 · 03b3e669
      Dominik Charousset authored
      03b3e669
    • Dominik Charousset's avatar
      Add to_strings for enum back to the repository · 0626e714
      Dominik Charousset authored
      Using a code generator that requires compiling a C++ tool breaks when
      crosscompiling CAF. It can also interact badly with projects that
      include CAF as a submodule.
      
      As a compromise between easy consumption / integration of CAF and
      maintainability of the `to_string` implementations, this set of changes
      adds two new targets to CMake:
      - `check-consistency` runs the code generator and checks whether all
        files in the repository are still up-to-date. We can run this target
        automatically in our CI to fail builds that introduce inconsistencies.
      - `update-enum-strings` runs the code generator to replace the files in
        the source tree. This is meant for CAF developers to update `.cpp`
        files after changing enum headers.
      
      Both new targets are excluded from `ALL` in CMake and thus do not run
      automatically.
      0626e714
  2. 20 Jan, 2020 2 commits
    • Dominik Charousset's avatar
      Merge pull request #1023 · 9c4f5804
      Dominik Charousset authored
      9c4f5804
    • Dominik Charousset's avatar
      Report errors while connecting two CAF nodes · fc84df5a
      Dominik Charousset authored
      Connecting two CAF nodes can fail for several reasons:
      - unexpected TCP disconnects
      - an application ID mismatch
      - a CAF version mismatch
      
      Currently, CAF reports all of the above errors as
      `disconnect_during_handshake`. Masking the true error makes it
      impossible for users to troubleshoot CAF applications or to respond to
      errors programmatically. For example, an application may try to
      reconnect on actual TCP disconnects but there's no point in
      disconnecting to an incompatible node.
      fc84df5a
  3. 19 Jan, 2020 2 commits
  4. 18 Jan, 2020 9 commits
  5. 16 Jan, 2020 4 commits
  6. 11 Nov, 2019 1 commit
  7. 10 Nov, 2019 9 commits
  8. 09 Nov, 2019 2 commits
  9. 08 Nov, 2019 2 commits
  10. 07 Nov, 2019 2 commits
  11. 06 Nov, 2019 5 commits