1. 16 Mar, 2021 1 commit
  2. 14 Mar, 2021 5 commits
    • Andrea Pappacoda's avatar
      FIx Travis branch · 8f7cd12a
      Andrea Pappacoda authored
      As always, I forgot about something.
      8f7cd12a
    • Andrea Pappacoda's avatar
      Update Travis CI · 720fac94
      Andrea Pappacoda authored
      Upgraded to Ubuntu Focal, added Meson builds, added newer compilers
      720fac94
    • Andrea Pappacoda's avatar
      Properly fix #840 · d4f85bd4
      Andrea Pappacoda authored
      The problem was probably caused by
      the absence of -lgcov as a linker option.
      With this I'm replacing
      -fprofile-arcs -ftest-coverage and the linker options
      with --coverage, that passes all the correct flags
      to compiler and linker.
      d4f85bd4
    • Andrea Pappacoda's avatar
      Add Meson support · 16cce3af
      Andrea Pappacoda authored
      Pistache now supports the Meson build system!
      
      It is required to use Meson >=0.57
      because previous versions can't read files,
      and it wouldn't be possible to parse version.txt
      to set the correct parameters in the .pc files and the shared library.
      Such a recent version allows the users to
      switch between the system-provided library
      and the one they have in the subprojects folder
      without even having to specify the fallback kwarg in dependency().
      
      Since Meson provides builtin options for enabling code coverage
      and PIC in static libraries there's no need for the PISTACHE_PIC option
      and the "Profile target" mentioned by dennisjenkins75 in #840,
      as they can be controlled with b_staticpic and b_coverage, respectively.
      
      The cpp_std option is also set to c++17
      even if the current minimun standard is C++14 because of #859.
      
      If you don't know what Meson is, I highly recommend you to check it out.
      16cce3af
    • Andrea Pappacoda's avatar
      Fix parse_RFC_850() · 4f199506
      Andrea Pappacoda authored
      The function was identical to parse_RFC_1123(), and the worst thing
      is that tests with CMake weren't failing,
      while running them with Meson revealed the issue.
      4f199506
  3. 12 Feb, 2021 1 commit
  4. 08 Feb, 2021 7 commits
  5. 06 Feb, 2021 3 commits
  6. 05 Feb, 2021 1 commit
  7. 20 Jan, 2021 2 commits
  8. 19 Jan, 2021 1 commit
  9. 14 Jan, 2021 1 commit
  10. 10 Jan, 2021 1 commit
  11. 08 Jan, 2021 1 commit
  12. 07 Jan, 2021 7 commits
  13. 30 Dec, 2020 2 commits
  14. 29 Dec, 2020 1 commit
  15. 28 Dec, 2020 1 commit
  16. 27 Dec, 2020 1 commit
    • Tachi's avatar
      Modernize CMakeLists.txt · 6cd4d7f2
      Tachi authored
      WIth this I'm trying to fix some of the issues pointed out in #827.
      
      Changes:
      
      Use add_compile_options() instead of modifying CMAKE_CXX_FLAGS.
      
      Use -Og instead of -O0
      (from https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html :
      [-Og] is a better choice than -O0 for producing debuggable code because
      some compiler passes that collect debug information are disabled at -O0)
      
      Fix LTO check (previously it would fail because it checked only
      CMAKE_CXX_FLAGS. This didn't work when properly enabling LTO
      through CMAKE_INTERPROCEDURAL_OPTIMIZATION).
      I'm not sure if I modified it correctly since I don't really understand
      what that check is trying to do in the first place.
      
      Check for Clang or GCC when applying compiler specific flags.
      
      This changes require CMake 3.9 or higher, but I don't think this will
      cause any issues.
      6cd4d7f2
  17. 10 Dec, 2020 1 commit
    • Ian Roddis's avatar
      Rest::Router add client disconnect handlers (#852) · 9a65f409
      Ian Roddis authored
      * - Adding Router::addDisconnectHandler to handle client disconnections.
      - Adding code to call handlers on client disconnection
      
      * - Adding test case for router addDisconnectHandler and associated functionality.
      
      * Changing to 2-space indentation and other formating changes to conform to LLVM style
      
      * More format changes
      Co-authored-by: default avatarIan Roddis <gitlab@ie2r.com>
      9a65f409
  18. 30 Nov, 2020 1 commit
  19. 29 Nov, 2020 2 commits