1. 11 Jul, 2017 1 commit
  2. 29 Oct, 2016 3 commits
  3. 07 Sep, 2016 1 commit
    • Dave Collins's avatar
      Deprecate "disableunsafe" tag in favor of "safe". · 6d212800
      Dave Collins authored
      This adds a new build tag named "safe" which serves the exact same
      purpose as the current "disableunsafe" tag.  This is being done, as
      recommended by @shurcooL, since it is emerging as the standard way to do
      it in several high profile packages, it mirrors the "unsafe" package
      nicely, it is shorter, and users generally seem to prefer it.
      
      However, to avoid breaking existing infrastructure, the disableunsafe
      tag is still available and simply is being deprecated.
      6d212800
  4. 02 Sep, 2016 1 commit
  5. 19 Jun, 2015 1 commit
    • Dave Collins's avatar
      Add support for limited mode without unsafe pkg. · 2df17480
      Dave Collins authored
      This commit adds support for compiling spew without the unsafe package.
      When compiled without the unsafe package, some of the more advanced
      features such as invoking stringers on pointers from non-pointer
      variables and unexported struct fields are not available.
      
      By default, spew will be compiled in the limited mode for Google App
      Engine since the unsafe package is not available there.  Additionally,
      spew can be compiled without the unsafe package manually by specifying
      the "disableunsafe" build tag.
      
      Finally, a new package-level constant named "UnsafeDisabled" has been
      exposed which can be used to programmatically determine if spew was
      compiled with access to the unsafe package.
      2df17480
  6. 25 May, 2015 1 commit
  7. 17 May, 2015 1 commit
  8. 04 May, 2015 1 commit
  9. 10 Apr, 2015 1 commit
    • Tim Hockin's avatar
      Enable methods to sort map keys and spew itself as last resort · 3e6e67c4
      Tim Hockin authored
      If enabled by flags, try to use methods to stringify map keys and sort on that.
      
      If we can't use primitive sorting and we can't use methods, we can still fall
      back on spew itself.  If SpewKeys is enabled, use Sprintf("%#v") to generate a
      string and sort by that.
      3e6e67c4
  10. 23 Feb, 2015 1 commit
  11. 27 Mar, 2014 2 commits
  12. 17 Nov, 2013 2 commits
  13. 16 Nov, 2013 2 commits
  14. 11 Mar, 2013 1 commit
  15. 09 Mar, 2013 2 commits
  16. 03 Mar, 2013 1 commit
  17. 03 Feb, 2013 1 commit
  18. 21 Jan, 2013 1 commit
  19. 20 Jan, 2013 1 commit
  20. 18 Jan, 2013 1 commit
  21. 11 Jan, 2013 2 commits
  22. 09 Jan, 2013 3 commits