1. 09 Apr, 2021 5 commits
  2. 06 Apr, 2021 2 commits
  3. 05 Apr, 2021 3 commits
  4. 04 Apr, 2021 2 commits
  5. 02 Apr, 2021 3 commits
  6. 30 Mar, 2021 1 commit
  7. 29 Mar, 2021 3 commits
  8. 26 Mar, 2021 3 commits
  9. 24 Mar, 2021 1 commit
    • Andrea Pappacoda's avatar
      Add Cppcheck and Doxygen in Meson... · bf53fb79
      Andrea Pappacoda authored
      ...fix RapidJSON dependency, remove features from CMake
      
      I've now implemented in Meson all the remaining features that were in
      CMake, like Cppcheck and Doxygen documentation. I've also removed almost
      all the non-essential features from CMake, like building examples,
      documentation, code coverage, the install target, Cppcheck, and tarball
      generation. This should help with maintainability, while preserving
      testability, following @kiplingw and @dennisjenkins75 main concerns.
      
      Cppcheck is not ran by default, but it is a build target; you can run it
      with `meson compile -C builddir cppcheck`.
      
      I've also made some little fixes and tweaks:
      
      Fixed RapidJSON
      dependency, as it was previously declared only as a dependency of the
      run_rest_description example, while used in
      include/pistache/thirdparty/serializer/rapidjson.h.
      
      Updated CMakeLists, replacing the old Include(Dart) with the newer
      Include(CTest), and also adding messaging suggesting the user to install
      RapidJSON and GoogleTest on their system rather than building them from
      source.
      
      Fixed a "small" issue in meson.build, replacing add_global_arguments
      with add_project_arguments, since the former can't be used in
      subprojects and can cause build failures for users.
      bf53fb79
  10. 18 Mar, 2021 1 commit
    • Andrea Pappacoda's avatar
      Use CMake's FetchContent and remove git submodules · cfd5322e
      Andrea Pappacoda authored
      Submodules get included in the source tarball generated by meson dist,
      making dpkg-source throw a lot of warnings.
      
      Using FetchContent instead of submodules has a few advantages:
      Solves packaging warnings
      Faster git clone
      External dependencies get downloaded only if needed
      cfd5322e
  11. 16 Mar, 2021 5 commits
    • Andrea Pappacoda's avatar
      Fix Debian packaging with Meson · f3080e9e
      Andrea Pappacoda authored
      Now the package is built with Meson. I've updated the debhelper-compat version to 12 since it provides good support for Meson, I've removed the lintian overrides (useless since the migration to Docusaurus), and obviously updated debian/rules to use Meson for building the package and creating the tarball.
      
      This is not perfect though, as I had to use an ugly hack for the tarball since Meson does not add .github to the archive (mesonbuild/meson#8541).
      Also, it is not possible to run the tests with valgrind since debhelper 12 uses ninja test for testing (while it should use meson test, so that one could add --wrap=valgrind). This behavior is corrected in debhelper 13, but it is too recent and not available in Ubuntu 20.04. It would be also possible to completely override dh_auto_test, but I don't think that's worth it.
      
      autopkgtest does not report any error in Ubuntu Focal, so I think that everything is ok :)
      f3080e9e
    • Andrea Pappacoda's avatar
      Delete ossar-analysis.yml · 8654b2c4
      Andrea Pappacoda authored
      Wrong repository, sorry 😅
      8654b2c4
    • Andrea Pappacoda's avatar
      Create ossar-analysis.yml · fa619b2a
      Andrea Pappacoda authored
      fa619b2a
    • Tachi's avatar
      Use Meson in Debian packaging · 41a61063
      Tachi authored
      41a61063
    • Tachi's avatar
      Support Meson versions as old as 0.50.0 · df5bc509
      Tachi authored
      df5bc509
  12. 14 Mar, 2021 7 commits
    • Kip's avatar
      Merge pull request #871 from Tachi107/pistacheio-deploy-pr · 019b74cb
      Kip authored
      Only trigger pistache.io deploy when needed
      019b74cb
    • Andrea Pappacoda's avatar
      Only trigger pistache.io deploy when needed · 80de541e
      Andrea Pappacoda authored
      The workflow was triggered every time someone would make a PR,
      resulting in a failure due to missing privileges of the user.
      It was also triggered when unrelated files were modified.
      This PR fixes that.
      80de541e
    • 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
  13. 12 Feb, 2021 1 commit
  14. 08 Feb, 2021 3 commits