1. 05 Aug, 2018 1 commit
  2. 02 Jul, 2018 1 commit
    • Anna Medonosová's avatar
      Gamut masking for the artistic color selector · dbe05327
      Anna Medonosová authored
      Implementation of bug [[ https://bugs.kde.org/show_bug.cgi?id=391210 | 391210 ]].
      There is a feature that was not in the design document: the user can set mask strictness in the selector settings to either enforcing (only swatches inside the mask are available for the user to choose) or permissive, "just show the shapes", which only paints the shapes on top of the wheel but does not restrict color picking in any way.
      Contrary to the design document, there is no stand-alone mask editor. Instead, when user clicks the edit button, a template opens as a regular view which can be modified, previewed and saved.
        - ArtColorSel: When initializing the selector for the first time (empty configuration), the wheel segment values are not right
      **Smaller tweaks**
        - icon for gamut masking
        - GamutMask: better template design
            - group layer, gray l. with vector on top set to erase
            - set explicit stroke (black) and background (solid transparent) for shapes on preview/save; set fill to white on load to editor, so the erase blend mode works
        - Create user documentation
        - Create pre-made masks, some for basic color harmonies and something fancy to showcase the possibilities
      Reviewers: #krita, dkazakov
      Subscribers: dkazakov, rempt
      Tags: #krita
      Differential Revision: https://phabricator.kde.org/D13525
  3. 15 Mar, 2018 2 commits
    • Boudewijn Rempt's avatar
      Load the tags in a separate step after loading all resources · 69d8a5e1
      Boudewijn Rempt authored
      This also refactors KoTagStore to remove two methods the use
      of which has disappeared in the mists of time, and that
      prevented some tags to be loaded for default resources.
      Now all Deevad's tags are loaded; all system tags used for
      custom resources in 3.3 are kept; all custom tags created
      in 3.3 are kept.
      The regression from the previous commit, where the krita 3
      bundle was loaded even if disabled is also fixed...
      Items 1, 2 and 4 of 391576 are resolved now, at least as
      far as I can see. I haven't dared look at item 3 yet...
    • Boudewijn Rempt's avatar
      Resources: Remove KoResourceLoaderThread · 5d361cf0
      Boudewijn Rempt authored
      All resources were loaded synchronously by now, so KoResourceLoaderThread
      was obsolete. This also moved the bundle server to it's own singleton,
      since it needs a completely instantiated singleton of KisResourceServerProvider.
      KisApplication now instantiates the singletons in the correct order, without
      superfluously getting the actual resource providers. Since the order is now
      properly known, we can clear the empty krita 3 system preset tags from the
      tag database after loading the last bundles. However, the tag system seems
      to be case-insensitive, but we used to have both ink and Ink; that still
      needs fixing.
      This fixes item 2 from
      Curiously enough, this also makes Krita start quite a bit faster for me...
  4. 07 Jun, 2017 1 commit
    • Boudewijn Rempt's avatar
      Add KoSvgSymbolCollectioNResource · 3a28b5e7
      Boudewijn Rempt authored
      This is a KoResource that can be created from the symbols in the
      defs section of an svg file. It will be compatible with the files
      inkscape uses for symbols.
  5. 25 May, 2017 1 commit
  6. 08 May, 2017 1 commit
  7. 25 Jan, 2016 1 commit
  8. 22 Jan, 2016 1 commit
    • Boudewijn Rempt's avatar
      Serialize loading resources · bcc44a76
      Boudewijn Rempt authored
      This might affect startup time, but it's, until we implement a database
      system for resources the only way to make the tagging system reliable.
  9. 30 Sep, 2015 1 commit
  10. 15 Sep, 2015 1 commit
    • Boudewijn Rempt's avatar
      Make kowidgets kdelibs4support-free · 6483ec80
      Boudewijn Rempt authored
      This breaks komain, which is now unported again...
      There is also a big todo left for the resourceserverprovider.
      QStandardPaths and KStandardDirs have one really big difference:
      KStandardDirs allows you to define a resource type and add different
      locations to look for those resources, QStandardPaths doesn't.
      The porting guide says to simply look in all those places when
      using QStandardPaths::locate, but that doesn't work, of course, for
      us, because our resource loading code is all generic.
      So this needs thought...
  11. 04 Mar, 2015 1 commit
  12. 15 Jan, 2015 1 commit
  13. 01 Jan, 2015 1 commit
    • Boudewijn Rempt's avatar
      Add option to get a resource server without blocking on the loader thread · 4c1e3ca5
      Boudewijn Rempt authored
      Many widgets need a resource server object to initialize themselves
      correctly, but they don't need the resources to be ready and loaded
      This patch ensures that during the construction of a main window, no
      widget blocks until all resources of a type are loaded, which means
      faster startup and the loading of resources in the background is
      useful again.
  14. 01 Dec, 2014 1 commit
  15. 28 Feb, 2014 1 commit
  16. 25 Feb, 2014 1 commit
  17. 23 Feb, 2013 1 commit
  18. 18 Jan, 2013 1 commit
  19. 15 Jul, 2012 1 commit
  20. 27 Jun, 2012 1 commit
  21. 09 Apr, 2012 1 commit
    • Boudewijn Rempt's avatar
      Add the special gradients at the end · d55ee49c
      Boudewijn Rempt authored
      And insert them in front of the sorted gradients we load from resources.
      The only remaining bug is that the first gradient isn't selected, but
      the one from the loaded list.
  22. 07 Feb, 2012 1 commit
    • Boudewijn Rempt's avatar
      Change <QtGui/QDialog> style includes to <QDialog> · 02025cd8
      Boudewijn Rempt authored
      This is already a tiny part of preparation for Qt5, where QtGui is split
      into QtGui and QtWidgets. If we use explicit module names in our includes,
      we are liable to churn like this.
      Since KDE applications always have all Qt modules in the include path
      anyway, direct includes always work (both in Qt4 and Qt5), and since we
      already used direct includes in thousands of places, this change makes
      our code more consistent, too.
  23. 10 Oct, 2011 1 commit
    • Dmitry Kazakov's avatar
      Fixed a race condition bug in KoResourceLoaderThread · 1aaec4d5
      Dmitry Kazakov authored
      There was a bug: the users of the server provider might request
      a server before the thread has loaded it. That caused deleting
      the thread object with all its consequences. No that is gone.
      We call to KoResourceLoaderThread::barrier() before accessing
      the server itself. This call is quite cheap (mutex+read) when
      the thread has already finished running, and when the loading
      is not completed yet, the caller is blocked until it is done.
  24. 29 May, 2011 1 commit
  25. 28 May, 2011 1 commit
  26. 31 Jan, 2010 1 commit
  27. 03 Jan, 2010 1 commit
  28. 05 Dec, 2009 1 commit
  29. 27 Sep, 2009 1 commit
  30. 28 Jun, 2009 1 commit
    • Sven Langkamp's avatar
      · d8f7629f
      Sven Langkamp authored
      start to port the resource choosers to qt model/view
      -split the resource selection into model, view and delegate
      -replaced gradient and pattern tool choosers in Karbon
      -replaced resource choosers in Krita (paintop preset and brush chooser
      still need some work)
      svn path=/trunk/koffice/; revision=988565
  31. 21 Mar, 2009 1 commit
  32. 20 Mar, 2009 1 commit
  33. 18 Mar, 2009 1 commit
  34. 17 Mar, 2009 1 commit
  35. 09 Sep, 2008 1 commit
  36. 24 Dec, 2007 2 commits
  37. 20 Dec, 2007 1 commit
    • Sven Langkamp's avatar
      * ported Krita to use KoResourceServer · ea643526
      Sven Langkamp authored
      * implemented import and delete resource in Krita
      * added and import function to KoResourceServer
      * added a observer for KoResourceServer changes
      svn path=/trunk/koffice/; revision=751015
  38. 31 Oct, 2007 1 commit