1. 21 Sep, 2019 1 commit
  2. 16 Sep, 2019 1 commit
  3. 12 Sep, 2019 1 commit
  4. 05 Sep, 2019 3 commits
    • Mathias Wein's avatar
      Add isLinear() query function to KoColorProfile · f1f556e3
      Mathias Wein authored
      Returns true if a color profile has only linear transfer response curves.
      This implies that that it has transfer response curves.
      
      Hint: The abstract class IccColorProfile::Profile doesn't really seem
      to server any really purpose anymore (if it ever did), so I didn't touch
      its interface. It might be time to remove it and use non-virtual functions.
      f1f556e3
    • Wolthera van Hövell's avatar
      Make use of LCMS' copy alpha flag instead of copying alpha ourselves. · 48d339ea
      Wolthera van Hövell authored
      This should make color management related transforms a bit faster, as
      well as simplifying the code. Given an enum in the depths of the pigment
      jungle is being changed, it takes long to compile.
      
      boud thought there was more alpha handling that needed to be changed,
      but this is the only place I can see with a workaround...
      
      Ref T3503
      48d339ea
    • Dmitry Kazakov's avatar
      Do not include KoCompositeOps.h where not needed · 6bef07c0
      Dmitry Kazakov authored
      Use KoCompositeOpRegistry.h to get IDs of the composite opsinstead.
      The former one is used by colorspaces to actually create the composite
      op objects.
      6bef07c0
  5. 02 Sep, 2019 2 commits
  6. 01 Aug, 2019 2 commits
    • Boudewijn Rempt's avatar
      Modernize initializers · 5645fdef
      Boudewijn Rempt authored
      5645fdef
    • Karl Ove Hufthammer's avatar
      Use translation of unnamed (‘Untitled’) colours · acf34791
      Karl Ove Hufthammer authored
      All of the colour palettes included in Krita that have unnamed colours,
      have actually the colour names set to ‘Untitled’ in the .gpl files,
      instead of having empty names (I’m not sure it’s valid to have empty
      names, though). So the code that tried to show unnamed colours as the
      translation of the string ‘Untitled’, did not succeed. Now, colours with
      empty names or the name ‘Untitled’ are treated the same, so that the
      i18n() call always succeeds for unnamed colours.
      acf34791
  7. 29 Jul, 2019 1 commit
    • Eoin O'Neill's avatar
      Gradient Stop Sorting by Value · fa3c22de
      Eoin O'Neill authored
      Adds right click context menu to gradient editor widget with the ability
      to sort gradients by value. 'Sort by Value' simply sorts the values onto
      the gradient by the value of the color and thus is distributed
      appropriately. 'Sort by Value (Even Distribution)' sorts the stops by
      value but instead of placing them by color value onto the gradient, it
      evenly distributes the colors across the entire gradient space. Both of
      these values can be flipped using the 'reverse' button or the reverse
      option in the right click menu.
      fa3c22de
  8. 19 Jul, 2019 2 commits
  9. 17 Jul, 2019 1 commit
  10. 13 Jul, 2019 1 commit
    • Boudewijn Rempt's avatar
      Use QFileInfo::completeBaseName instead of baseName · 14adaa3b
      Boudewijn Rempt authored
      This makes it possible for users to use dots in their filenames.
      Not that that is a good idea, everything after the first dot is
      technically an extensions, as in bla.tar.gz, but Krita doesn't
      handle any file formats where that actually happens, so we can
      be a bit less technically correct when handling filenames and
      only check the extension after the last dot.
      
      BUG:409765
      14adaa3b
  11. 10 Jul, 2019 2 commits
    • Boudewijn Rempt's avatar
      Fix warning -Wclass-memaccess · ca741341
      Boudewijn Rempt authored
      In file included from /home/boud/dev/krita/libs/pigment/compositeops/KoCompositeOpCopy2.h:26,
                       from /home/boud/dev/krita/libs/pigment/colorspaces/KoAlphaColorSpace.cpp:35:
      /home/boud/dev/krita/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = true; bool alphaLocked = true; bool allChannelFlags = true; _CSTraits = KoColorSpaceTrait<half, 1, 0>; _compositeOp = AlphaColorSpaceMultiplyOp<KoColorSpaceTrait<half, 1, 0> >]’:
      /home/boud/dev/krita/libs/pigment/compositeops/KoCompositeOpBase.h:67:72:   required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoColorSpaceTrait<half, 1, 0>; _compositeOp = AlphaColorSpaceMultiplyOp<KoColorSpaceTrait<half, 1, 0> >]’
      /home/boud/dev/krita/libs/pigment/compositeops/KoCompositeOpBase.h:58:10:   required from here
      /home/boud/dev/krita/libs/pigment/compositeops/KoCompositeOpBase.h:110:27: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘KoCompositeOpBase<KoColorSpaceTrait<half, 1, 0>, AlphaColorSpaceMultiplyOp<KoColorSpaceTrait<half, 1, 0> > >::channels_type’ {aka ‘class half’} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
                           memset(dst, 0, pixel_size);
                           ~~~~~~^~~~~~~~~~~~~~~~~~~~
      ca741341
    • Boudewijn Rempt's avatar
      Try to make the kis_tiff_test run on Jenkins · 5830646d
      Boudewijn Rempt authored
      No need to assert if a certain profile cannot be found; we can
      disregard that and handle not getting a colorspace back.
      5830646d
  12. 06 Jul, 2019 1 commit
    • Dmitry Kazakov's avatar
      Disable AVX optimizations for 32-bit composite ops · cd5450a8
      Dmitry Kazakov authored
      They cause artifacts and we don't have a fix yet :(
      
      CCBUG:404133
      
      Note from the committer:
      This commit was initially made on krita/4.2 branch.
      However between 4.2.1 and 4.2.2 the stable branch was
      reconstructed, which caused all commits that were exclusively
      on the previous krita/4.2 (and not on master) to be missing.
      
      The previous commit hash: d3e4c3aa299cf10a3ef167213f50799baba9c782
      
      Also regarding the artifacts: it never worked, optimization were
      enabled during the creamy flow implementation, but they never should
      be enabled until someone fix them properly.
      cd5450a8
  13. 05 Jul, 2019 1 commit
  14. 01 Jul, 2019 1 commit
  15. 24 Jun, 2019 1 commit
  16. 21 Jun, 2019 1 commit
  17. 15 Jun, 2019 2 commits
  18. 08 Jun, 2019 4 commits
  19. 05 Jun, 2019 1 commit
  20. 14 May, 2019 1 commit
  21. 10 May, 2019 1 commit
  22. 03 May, 2019 1 commit
  23. 02 May, 2019 1 commit
  24. 10 Apr, 2019 1 commit
  25. 15 Mar, 2019 1 commit
    • Miguel Lopez's avatar
      Fix to Modulo Shift Continuous · 06281313
      Miguel Lopez authored
      Summary:
      Before, I have made several test where white layer wouldn't change anything for all modulo mode to verify that they all work as expected. Then over time, I realized that at this point, modulo shift continuous just doesn't make sense from the functional point of view and the former test just don't take into account of that.
      
      The problem with older version: If you set 0 on the blend layer using modulo shift continuous, it assume that there's a shift because of inversion. However, 0 shift is 0 shift as in there shouldn't be any changes at all.
      
      This patch fix that issue from the functional point of view.
      
      Reviewers: #krita
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D19640
      06281313
  26. 11 Mar, 2019 1 commit
  27. 09 Mar, 2019 1 commit
  28. 04 Mar, 2019 1 commit
  29. 23 Feb, 2019 1 commit
  30. 19 Feb, 2019 1 commit