1. 13 Jan, 2018 5 commits
  2. 12 Jan, 2018 1 commit
    • Jehan's avatar
      libs/rgbe: RGBE magic number made more generic. · cab443df
      Jehan authored
      So it turns out (cf bug 792453) that a RGBE file made with Photoshop
      starts with "#?RGBE", instead of "#?RADIANCE". Looking up Blender's
      implementation, they only use "#?" with a comment clearly saying the
      string after can be anything. Since there doesn't seem to be any other
      file format starting with the "#?" magic number anyway, I guess we
      should just do the same and simply drop any character between "#?" and
      the first newline in the file.
      
      While changing the code, amending for this new magic number, I also made
      it a bit more robust to random contents. In particular,
      g_mapped_file_get_contents() can return NULL, so this has to be checked
      before dereferencing its contents. Moreover glib code says that the
      returned string is not necessarily zero-terminated, so we must properly
      limit searches and comparisons to the data size.
      cab443df
  3. 11 Jan, 2018 5 commits
  4. 10 Jan, 2018 3 commits
  5. 09 Jan, 2018 5 commits
  6. 08 Jan, 2018 2 commits
  7. 07 Jan, 2018 3 commits
  8. 05 Jan, 2018 5 commits
  9. 04 Jan, 2018 2 commits
  10. 03 Jan, 2018 2 commits
  11. 02 Jan, 2018 2 commits
  12. 01 Jan, 2018 2 commits
  13. 31 Dec, 2017 2 commits
  14. 30 Dec, 2017 1 commit
    • Ell's avatar
      gegl-stats: add gegl_reset_stats() · 86031b78
      Ell authored
      ... which resets the cumulative properties of GeglStats (in
      particular, cache-total-max, cache-hits, and cache-misses).
      86031b78