Skip to content
Snippets Groups Projects
  1. Dec 10, 2018
    • Arseny Kapoulkine's avatar
      Move unreachable line handling to Makefile · ba84465d
      Arseny Kapoulkine authored
      This allows us to reuse this code for MinGW builds.
      
      Additionally disable coverage step for Linux clang - it looks like
      Travis has a mismatch in the version of gcov info between clang and gcov
      which causes gcov to crash - somehow this crash isn't picked up as a
      build error.
      ba84465d
  2. Nov 27, 2018
    • Arseny Kapoulkine's avatar
      Enable config=sanitize in Travis CI · 1a9c3f66
      Arseny Kapoulkine authored
      This commit changes sanitize configuration to fail on the first error
      and ignore floating-point division and overflow "errors" that trigger
      when we test the corresponding functionality. This makes it possible to
      run this on all commits - if new UB or memory safety issues are introduced,
      asan/ubsan will catch them.
      1a9c3f66
  3. Nov 24, 2018
    • Arseny Kapoulkine's avatar
      Fix Wdouble-promotion warnings · f9a2a7d1
      Arseny Kapoulkine authored
      We had a few places in test code and library source where we used an
      implicit float->double cast; while it should preserve the value exactly,
      gcc/clang implement this warning to make sure uses of double are intentional.
      
      This change also adds the warning to Makefile to make sure we don't
      regress on this warning.
      
      Fixes #243.
      f9a2a7d1
  4. Oct 30, 2017
    • Arseny Kapoulkine's avatar
      build: Simplify config=sanitize · 6fe31d14
      Arseny Kapoulkine authored
      These days OSX clang supports UB sanitizer so we can just use the same
      settings for all systems.
      6fe31d14
    • Arseny Kapoulkine's avatar
      build: Switch fuzz builds to use Clang 5.0 sanitize=fuzzer · ba950432
      Arseny Kapoulkine authored
      The old fuzzer location is deprecated; this also makes it almost trivial
      to fuzz, provided that the clang is set up correctly... on Ubuntu 17.10,
      a command sequence like this works now:
      
          sudo apt install clang-5.0
          sudo apt install libfuzzer-5.0
          sudo cp /usr/lib/llvm-5.0/lib/libFuzzer.a /usr/lib/libLLVMFuzzer.a
          CXX=clang++-5.0 make fuzz_parse
      ba950432
  5. Apr 04, 2017
  6. Mar 21, 2017
  7. Feb 11, 2017
  8. Feb 09, 2017
  9. Jan 30, 2017
  10. Nov 29, 2016
    • Arseny Kapoulkine's avatar
      scripts: Make archive build reproducible · e3524c90
      Arseny Kapoulkine authored
      We used to use the current timestamp when building the archive; switch to using
      the timestamp of the tag with the version we're packaging.
      
      This requires some monkey patching since tarfile module is always using current
      timestamp when writing gzip header...
      
      Also exclude archive.py from archive and simplify release file list in Makefile.
      e3524c90
  11. Nov 28, 2016
  12. Nov 14, 2016
  13. Jul 28, 2016
  14. Jul 11, 2016
    • Arseny Kapoulkine's avatar
      Makefile: Add -Wcast-qual · 1d3befea
      Arseny Kapoulkine authored
      It is probably redundant given that we have -Wold-style-cast, but it's better
      to warn about casts like this in case we ever need to remove the latter flag.
      1d3befea
  15. Jun 11, 2016
  16. Jan 26, 2016
    • Stephan Beyer's avatar
      Make cxxstd an argument to Makefile · 6bbbdb7d
      Stephan Beyer authored
      This determines the used C++ standard.
      If you do not want to use a specific C++ standard, use cxxstd=any.
      The default is set to c++11.
      
      The "define" PUGIXML_NO_CXX11 is removed from the Makefile
      since it is not used in the code anyways.
      6bbbdb7d
  17. Oct 19, 2015
  18. Oct 17, 2015
  19. Oct 10, 2015
  20. Aug 25, 2015
  21. Jun 13, 2015
  22. May 13, 2015
  23. Apr 22, 2015
  24. Apr 12, 2015
  25. Mar 25, 2015
  26. Mar 22, 2015
  27. Mar 20, 2015
  28. Mar 13, 2015
  29. Feb 12, 2015
  30. Nov 01, 2014
  31. Oct 25, 2014
  32. Feb 09, 2014
Loading