1. 06 May, 2018 1 commit
  2. 10 Apr, 2018 2 commits
  3. 18 Mar, 2018 1 commit
    • Philip Chimento's avatar
      build: SpiderMonkey sanity check · a964366b
      Philip Chimento authored
      This attempts to detect the situation where the one remaining patch
      that's required for SpiderMonkey 52 isn't applied. This can happen when
      someone is compiling their own SpiderMonkey from the Firefox sources and
      doesn't realize that it's broken.
      
      Closes #128.
      a964366b
  4. 13 Mar, 2018 3 commits
  5. 19 Feb, 2018 1 commit
  6. 05 Feb, 2018 1 commit
  7. 24 Jan, 2018 1 commit
    • Philip Chimento's avatar
      profiler: Allow configuring with --disable-profiler · 9424ffa2
      Philip Chimento authored
      We check for the existence of timer_settime() with some M4 macros from
      gnulib. These POSIX APIs are required for building the profiler.
      
      Allow disabling the profiler with a configure switch. This keeps the API
      (and its preconditions as much as possible) but makes it a no-op and
      prints an informational message at runtime on attempted use. We also
      leave out the sysprof writer code and skip the profiler tests if the
      profiler is not being built.
      9424ffa2
  8. 09 Jan, 2018 1 commit
  9. 10 Dec, 2017 1 commit
  10. 30 Nov, 2017 1 commit
  11. 13 Nov, 2017 2 commits
  12. 19 Sep, 2017 1 commit
  13. 11 Sep, 2017 1 commit
  14. 04 Sep, 2017 1 commit
  15. 01 Sep, 2017 2 commits
  16. 25 Aug, 2017 1 commit
    • Claudio André's avatar
      maint: add ASAN Address Sanitizer · 98830739
      Claudio André authored
      AddressSanitizer (or ASan) is a programming tool that detects memory
      corruption bugs such as buffer overflows or use after free. AddressSanitizer
      is based on compiler instrumentation.
      
      UndefinedBehaviorSanitizer (or UBSan) is a fast undefined behavior
      detector. It modifies the program at compile-time to catch errors
      such as using misaligned or null pointer and signed integer overflow.
      
      The llvm.org states that Sanitizers have found thousands of bugs everywhere.
      Sanitizers running during CI can prevent bugs from taking up residence. They
      are helper tools to maintain bugs out.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=783220
      98830739
  17. 21 Aug, 2017 1 commit
  18. 09 Aug, 2017 1 commit
  19. 03 Aug, 2017 1 commit
  20. 29 Jul, 2017 1 commit
  21. 18 Jul, 2017 1 commit
  22. 09 Jul, 2017 2 commits
  23. 19 Jun, 2017 2 commits
  24. 06 May, 2017 1 commit
    • Philip Chimento's avatar
      build: Autodetect SpiderMonkey's debug mode · 8a0bba51
      Philip Chimento authored
      We currently check whether JS_DEBUG was defined in js-config.h in order to
      decide whether to define DEBUG. (It's a long-standing bug in SpiderMonkey
      headers that you have to define DEBUG before including them if SpiderMonkey
      is in debug mode.)
      
      That will not be possible in SpiderMonkey 52. In an effort to mitigate the
      bug, it will error out if you include js-config.h without defining DEBUG
      when you are supposed to (or having defined DEBUG when you are not supposed
      to.) So, our method of checking will not work anymore.
      
      Instead, run a configure-time check that generates an #error if JS_DEBUG is
      defined in js-config.h, and define a symbol in config.h. This check will
      also work in the SpiderMonkey 52 case, since including js-config.h will
      also error out if JS_DEBUG is defined.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=781429
      8a0bba51
  25. 01 May, 2017 1 commit
    • Philip Chimento's avatar
      jsapi-util-args: Mark functions as always-inline · bdbf7179
      Philip Chimento authored
      On GCC, we get warnings about the inline functions causing too much code
      growth. However, we do want these functions always inlined, since they're
      in a header file.
      
      Previously we dealt with the warnings by increasing --param
      inline-unit-growth, but that causes other warnings on Clang since Clang
      doesn't have that parameter. I also noticed that it requires different
      values on other versions of GCC, so it's not a very good solution.
      
      Instead, we use the always_inline attribute on GCC, which causes the
      functions to be inlined regardless of the compiler's inlining heuristics.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=780350
      bdbf7179
  26. 26 Apr, 2017 1 commit
  27. 24 Apr, 2017 2 commits
  28. 13 Apr, 2017 1 commit
  29. 29 Mar, 2017 1 commit
  30. 13 Mar, 2017 1 commit
  31. 01 Mar, 2017 1 commit
  32. 28 Feb, 2017 1 commit