1. 22 Jun, 2020 1 commit
  2. 15 Jun, 2020 2 commits
  3. 10 Jun, 2020 4 commits
    • clang: Enable -Weverything, fix all warnings · 9d3f5c8f
      Ben Clayton authored
      This change fixes the following warnings:
      
      ```
          -Wc++98-compat-extra-semi
          -Wc++98-compat-local-type-template-args
          -Wc++98-compat-pedantic
          -Wc++98-compat
          -Wcomma
          -Wdeprecated-copy-dtor
          -Wexit-time-destructors
          -Wextra-semi-stmt
          -Wextra-semi
          -Wfloat-conversion
          -Wfloat-equal
          -Wformat-nonliteral
          -Wglobal-constructors
          -Winconsistent-missing-destructor-override
          -Wnon-virtual-dtor
          -Wold-style-cast
          -Wpadded
          -Wreturn-std-move-in-c++11
          -Wshadow-field-in-constructor
          -Wshadow-uncaptured-local
          -Wshift-sign-overflow
          -Wsign-conversion
          -Wundef
          -Wunreachable-code-return
          -Wused-but-marked-unused
          -Wweak-vtables
          -Wzero-as-null-pointer-constant
      ```
    • Update DAP protocol to 1.41.0 · bb3dbcd2
      Ben Clayton authored
      Update the script to include the DAP version in the file headers.
      
      Remove http file caching. Was never used.
    • Fix moves of any when value isInBuffer · f0c28f93
      Ben Clayton authored
      This was copying the pointer to the other's value in other.buffer.
    • Fix deadlock closing socket on another thread · 2f607e07
      Ben Clayton authored
      while another thread is stuck in read() or write().
      
      Fixes: #37
  4. 08 Jun, 2020 4 commits
  5. 05 Jun, 2020 3 commits
  6. 02 Jun, 2020 1 commit
    • Add the ability to derive message types from one another. · cc93ba97
      Ben Clayton authored
      `DAP_IMPLEMENT_STRUCT_TYPEINFO_EXT` and `DAP_STRUCT_TYPEINFO_EXT` are two new flavors of `DAP_IMPLEMENT_STRUCT_TYPEINFO` and `DAP_STRUCT_TYPEINFO` that allow you to derive message types.
      
      This involved a bit of reworking on the serializer interfaces.
      
      Added test.
      
      Issue: #32
  7. 27 May, 2020 2 commits
  8. 07 May, 2020 1 commit
    • Kokoro Ubuntu: Switch to docker image · 9e313445
      Ben Clayton authored
      presubmit.sh now runs presubmit-docker.sh using the new radial
      docker image which contains various toolchains.
      
      The `/bin/using.sh` bash script exports the `using` bash function
      which can be called to configure toolchains at specific versions.
  9. 05 May, 2020 1 commit
  10. 13 Mar, 2020 1 commit
    • Socket: Enable TCP_NODELAY · 4dcca577
      Ben Clayton authored
      DAP usually consists of small packet requests, with small packet responses. When there are many frequent, blocking requests made, Nagle's algorithm can dramatically limit the request->response rates.
  11. 06 Feb, 2020 1 commit
    • Fix new gcc 9 'deprecated-copy' warning. · c4358807
      Ben Clayton authored
      Example warning:
      
      cppdap/include/dap/future.h:172:14: error: implicitly-declared ‘dap::ResponseOrError<dap::StackTraceResponse>& dap::ResponseOrError<dap::StackTraceResponse>::operator=(const dap::ResponseOrError<dap::StackTraceResponse>&)’ is deprecated [-Werror=deprecated-copy]
      
      Add missing constructors and assignment operators.
      This probably adds more than is absolutely necessary, but there's no
      harm in being thorough.
  12. 28 Jan, 2020 1 commit
  13. 24 Jan, 2020 3 commits
  14. 17 Jan, 2020 3 commits
  15. 06 Jan, 2020 4 commits
  16. 31 Dec, 2019 2 commits
  17. 05 Dec, 2019 1 commit
    • net::Server: Fix onError parameter default. · eab43f35
      Ben Clayton authored
      The onError parameter of Server::start was default initialized with
      OnError(), which is an 'invalid target', not a no-op implementation.
      
      Replace with a true no-op implementation.
  18. 02 Dec, 2019 1 commit
  19. 26 Nov, 2019 1 commit
    • CMakeLists.txt: Disable MSVC warning from third_party · dc3b3eae
      Ben Clayton authored
      `nlohmann/json` raises a `size_t` to `int` MSVC warning that will fail the build if `CPPDAP_WARNINGS_AS_ERRORS` is enabled.
      Given that this is not our code, the best we can do is to make an exception for this warning.
  20. 18 Nov, 2019 1 commit
  21. 14 Nov, 2019 2 commits