1. 24 Mar, 2017 9 commits
    • Jehan's avatar
      autogen: fix and improve automake/aclocal detection. · 8df8cd03
      Jehan authored
      Forgot to edit the first test in commit 6cf26410. If automake/aclocal
      1.11 was installed, autogen.sh breaks, even though other higher versions
      are installed too, because it is the first test.
      Actually I'm not sure I understand this first test. Is it like the
      "preferred" automake version?
      Also add a test for generic `automake` binary in order to handle newer
      versions. Thanks to Éric Hoffman for this proposition.
      8df8cd03
    • Jehan's avatar
      libgimpwidgets: some minor tab cleaning. · 8322ffda
      Jehan authored
      8322ffda
    • Michael Natterer's avatar
    • Michael Natterer's avatar
      app: try to move the compat filter config to its new place · 70d42859
      Michael Natterer authored
      from gimpdir/tool-options/ to gimpdir/filters/, and only if moving
      fails try reading from the old location as fallback. We don't normally
      move files around, but this one-liner nicely avoids cluttering
      gimpdir.
      70d42859
    • Jehan's avatar
      themes: add commented-out font_name property in "System" theme. · 11d34b03
      Jehan authored
      This is to be used as self-documentation code, so that people know
      how to hack the font size since I am not sure GIMP will always provide
      reasonable font display on every platform.
      11d34b03
    • Jehan's avatar
      themes: removing the "Small" theme. · e58d8fcd
      Jehan authored
      As a result of "Bug 745835 - Resize icons as Option, not theme", the
      Small theme is now useless and redundant with the icon sizing
      preferences.
      e58d8fcd
    • Jehan's avatar
      tools: add invert-svg.c in the distribution. · c8068d9e
      Jehan authored
      Otherwise the file won't be included in the tarball (another consequence
      is that `make distcheck` will fail) since this binary is not made the
      common automake way on purpose.
      c8068d9e
    • Jehan's avatar
      tools: invert-svg is to be built natively for the build OS. · 9a2da538
      Jehan authored
      Partially reverts commit 84439a87.
      The fact that tools/invert-svg was kind of manually compiled was on
      purpose. Using the automake syntax with any of the *_PROGRAMS compiles
      for the host OS, but this tool is only for compile-time.
      This fixes cross-compilation.
      
      As for compute_svg_viewbox, let's not build it for now because its
      purpose was to help proper extraction of SVG icons from a single SVG
      file. Unfortunately librsvg was not providing acceptable results anyway
      so right now all SVG icons are manually exported. We keep the code for
      future use when the library will improve.
      9a2da538
    • Michael Natterer's avatar
      Bug 780015 - Filter settings are not properly restored after Gimp restart · ee6c7ec7
      Michael Natterer authored
      Filters settings used to be serialized and deserialized only
      when a filter tool's GUI was shown, too late for the code that
      re-runs/re-shows filters with previous values.
      
      Move the entire loading/saving code to gimp-operation-config.c, even
      adding/removing the dummy separator item between timestamped automatic
      history and manually saved settings. Load the settings automatically
      when a settings container is requested, but still trigger saving from
      the few places the container is changed in the GUI; could also
      automate that later.
      
      This commit also moves all settings of filters that have their own
      tools from gimpdir/tool-options/ to gimpdir/filters/. Add compat code
      to try the old filename if the new doesn't exist, so files are
      migrated automatically.
      
      WIP, but this step already fixes the bug.
      ee6c7ec7
  2. 23 Mar, 2017 16 commits
  3. 22 Mar, 2017 1 commit
    • Ell's avatar
      app: fix abbreviated commit hashes · c97209ba
      Ell authored
      The abbreviated commit hash we show in the shell and the about
      dialog is currently just the last 7 characters of 'git describe',
      based on the assumption that abbreviated hashes are always 7-digits
      long.  When the hash is longer than that, we're just showing a
      nonsense commit.
      
      This was never a good idea, since users can override this, and
      since disambiguation can result in longer hashes, but since git
      2.11, the default abbreviated hash length is determined based on
      the size of the repository, which currently results in 10 digits
      for us.
      
      Let's just do it right.
      c97209ba
  4. 21 Mar, 2017 8 commits
  5. 19 Mar, 2017 2 commits
  6. 18 Mar, 2017 2 commits
  7. 17 Mar, 2017 2 commits
    • Michael Natterer's avatar
      libgimpwidgets: order enum combos of GimpDesaturateMode more logically · 461d807b
      Michael Natterer authored
      This is a bad hack that hardcodes a special case for
      GIMP_TYPE_DESATURATE_MODE right into gimp_prop_enum_combo_box_new(),
      we should think of something better if we get more special cases.
      461d807b
    • Elle Stone's avatar
      Bug 780065 - Change default way to desaturate to Luminance · 48e40446
      Elle Stone authored
      which unlike HSL Lightness is actually physically meaningful and
      also generally speaking much more useful than HSL Lightness.
      
      Change "Lightness" to "Lightness (HSL)" to make it clear that
      the "Lightness" in the Colors/Desaturate/Desaturate menu is not the
      same as "Lightness" in LAB/LCH.
      
      For completeness add the option to desaturate to "Value (HSV)".
      
      Add links in app/operations/gimpoperationdesaturate.c
      to the Wikipedia article with definitions of L/I/V in HSL/HSI/HSV.
      48e40446