1. 17 Jun, 2017 1 commit
  2. 07 Jun, 2017 1 commit
  3. 06 Jun, 2017 1 commit
  4. 03 Jun, 2017 1 commit
  5. 23 May, 2017 1 commit
    • Ell's avatar
      enums: run gimp-mkenums from the build dir · 5bcde32c
      Ell authored
      Commit 1e6acbd4 modified the
      generated enum recipes to run gimp-mkenums from the source
      directory, instead of the build directory, so that only the
      basenames of the corresponding header files would appear in
      the comment at the top of the generated files.  This was a
      mistake -- $(GIMP_MKENUMS) is expecting to be invoked from the
      build directory.
      
      Switch back to running gimp-mkenums from the build directory.  To
      avoid including the relative path from the build directory to the
      source directory in the generated file, add a @basename@ production
      variable to gimp-mkenums, which exapnds to the basename of the
      input file, and use it instead of @filename@ in the recipes for the
      generated enum files.
      5bcde32c
  6. 22 May, 2017 1 commit
    • Ell's avatar
      enums: don't write generated enum files to src-dir if unchanged · f9fa0d1b
      Ell authored
      When regenerating an enum file, don't copy it back to the source
      directory if it hasn't actually changed.  This allows using a read-
      only source directory where the enum header is newer than the
      generated file, as long as they're not really out of sync.
      
      OTOH, *do* touch the generated source-dir file even when unchanged,
      in order to avoid re-running its recipe on the next build, however,
      allow this to silently fail (which is harmless).
      f9fa0d1b
  7. 07 May, 2017 1 commit
  8. 06 May, 2017 1 commit
    • Ell's avatar
      enums: generate enum files in source dir · 1e6acbd4
      Ell authored
      We check them into git, so this makes it easier to keep them in
      sync when using a separate build directory.
      
      Case in point -- this commit also syncs a few enum files that went
      out-of-sync with their headers.
      1e6acbd4
  9. 04 May, 2017 2 commits
  10. 06 Apr, 2017 2 commits
    • Ell's avatar
      libgimp: add new functions to gimp.def · b7ee733e
      Ell authored
      ... and a small style change to debug.pdb
      b7ee733e
    • Ell's avatar
      pdb: add debug group; add debug-timer-{start,end} procs · 16bebedc
      Ell authored
      Add a debug procedure group, living in 'debug.pdb', which would host
      useful debug helper functions.  Functions in this group are not part
      of the stable API, and may be changed at any point.
      
      All procedures added to 'debug.pdb' should have a 'debug_' prefix,
      and use the new std_pdb_debug() macro, which adds the proper "here be
      dragons" warning to their description.
      
      Add two debug procedures: gimp-debug-timer-start() and
      gimp-debug-timer-end(), which measure elapsed time, a la
      GIMP_TIMER_{START,END}, and can be used to profile script-fu
      commands.
      16bebedc
  11. 04 Apr, 2017 1 commit
  12. 21 Mar, 2017 1 commit
  13. 16 Mar, 2017 1 commit
  14. 15 Mar, 2017 2 commits
    • Ell's avatar
      app: rename "Color (HSV)" mode to "Color (HSL)" · 661c22c0
      Ell authored
      ... since that's the color space it actually works in.
      
      Keep the legacy "Color (HSV)" mode's name as is, wrong as it is,
      since, well, that's what it used to be called...
      661c22c0
    • Ell's avatar
      app: remove mono-mix layer mode · 3fa2c915
      Ell authored
      This effectively reverts commit c6c08996.
      
      Removing due to lack of consensus.  We can always re-add it in the
      future if we decide we want it.
      3fa2c915
  15. 10 Mar, 2017 4 commits
    • Ell's avatar
      app: add split layer mode · ed0fda03
      Ell authored
      Subtracts the source layer from the destination, such that
      recompositing the result with the source using merge mode
      reproduces the original content.
      ed0fda03
    • Ell's avatar
      app: add merge layer mode · 23e6984d
      Ell authored
      Merge mode lays the source layer on top of the destination, same as
      normal mode, however, it assumes the source and destination are two
      parts of an original whole, and are therefore mutually exclusive.
      
      This is useful for blending cut & pasted content without artifacts,
      or for replacing erased content in general.
      23e6984d
    • Ell's avatar
      app: add mono-mix layer mode · c6c08996
      Ell authored
      Calculates the dot product of the two input colors, and uses that
      as the value for all the output color's components.  Basically,
      a per-pixel mono mixer.
      
      Useful for custom desaturation, component extraction, and crazier
      stuff (bump mapping!)
      c6c08996
    • Ell's avatar
      app: make erase mode an ordinary layer/paint mode · dfb3ddc4
      Ell authored
      Include erase mode in the menu for layers and general paint tools.
      This makes the eraser tool somewhat unnecessary, but allows for
      interesting use cases (e.g., airbrush eraser, etc.)
      dfb3ddc4
  16. 08 Mar, 2017 1 commit
    • Ell's avatar
      app: implement color-erase mode as a GimpOperationLayerMode blendfun · b22c09e7
      Ell authored
      ... and get rid of the dedicated op.  This gives us support for all
      the blend/composite options for this mode.
      
      Rename COLOR_ERASE to COLOR_ERASE_LEGACY, with perceptual blending/
      compositing and immutable everything, and add a new COLOR_ERASE
      mode, defaulting to linear blending/compositing, with mutable
      everything.  Modify affected code.
      b22c09e7
  17. 05 Mar, 2017 1 commit
  18. 26 Feb, 2017 4 commits
  19. 20 Feb, 2017 4 commits
  20. 19 Feb, 2017 3 commits
  21. 18 Feb, 2017 1 commit
  22. 12 Feb, 2017 1 commit
  23. 05 Feb, 2017 1 commit
    • Ell's avatar
      app: add "hard mix" blend mode · 8f4700b8
      Ell authored
      Similar to the Photoshop mode of the same name.  Assigns
      either 0 or 1 to each of the channels, depending on whether the
      sum of source and destination channel values is less than, or
      greater than (or equals to), one, respectively.
      
      This is equivalent to inverting the source, and using it to perform
      per-pixel, per-channel threshold against the destination, which is
      useful for various effects.
      8f4700b8
  24. 01 Feb, 2017 2 commits
  25. 30 Jan, 2017 1 commit