1. 26 Jan, 2016 1 commit
  2. 04 Mar, 2015 1 commit
  3. 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.
      02025cd8
  4. 02 Jul, 2010 1 commit
    • Dmitry Kazakov's avatar
      Implemented an optimizer for the new update scheduler · 21dd1021
      Dmitry Kazakov authored
      You know, one of the problems of KisToolFreeHand is that it emits many
      update signals and most of them overlap with each other. This causes
      some areas of the image to be recalculated several times...
      
      And here comes the optimizer. It filters overlapping areas from the
      update queue, so the merger has to do less work!
      
      In the beginning i wanted to use some comprehensive theoretical
      algorithms for Maximum Independent Set of Rectangles problem, but then
      i decided to implement a simple and naive algorithm instead...
      
      This version of optimizer is trivial, it just unites rectangles until
      the area of a new rectangle is less than ALPHA*(summed area of both
      initial rectangles), where ALPHA is an empirical
      coefficient. Technically, ALPHA shows how much _more_ work the merger
      will have to make after we unite two rectangles. So, from a
      theoretical point of view, the algorithm is stable, until ALPHA is
      less than 1. In theory...
      
      Yeah, theory is really good thing... but not in our case ;)
      I've set the coefficient to 2.5, and it started to work really fast!
      More than that, the accumulated work, made by the merger does not(!)
      grow much! Actual average calculated ALPHA is still below 1.06. Of
      course, the algorithm became "unstable", and in some rare cases it can
      update much more than was requested, but, i think, we can live with
      it.
      
      Well, are you still reading this stuff? ;) Then i'll tell you how to
      activate and test the new scheduler:
      
      1) Check that you don't have KisProjectionCache backend activated - it
      is not reentrant. You need to (a)activate Image Pyramid or (b)turn on
      OpenGL.
         a) put in your kritarc: useMipmapping=true
         b) set a radio-button in a configuration menu
      
      2) Uncomment line in krita/image/kis_image.cc to activate the scheduler:
         #define USE_UPDATE_SCHEDULER
      
      3) Comment out line in krita/image/kis_updater_context.cc to unlock
      multithreading:
      
         /**
          * FIXME: Due to non-reentrancy of some krita code
          * we limit the number of threads by 1
          */
          // threadCount = 1;
      
      Now you can easily paint from under the blur adjustment layer and
      freely move shapes on shape layer!
      
      svn path=/trunk/koffice/; revision=1145287
      21dd1021
  5. 13 Jun, 2010 1 commit
  6. 22 May, 2010 1 commit
  7. 25 Jan, 2010 1 commit
  8. 08 Apr, 2009 1 commit
    • Boudewijn Rempt's avatar
      Move stuff around · 8b27146b
      Boudewijn Rempt authored
      * The krita file filter plugins are moved to krita/plugins/formats.
      They depend on the various krita libraries anyway, unlike, frex,
      the kword filters, and we too often forgot to check them when changing
      krita's api
      
      * rename the awkwardly named viewplugins to extensions, in line with
      the README in the plugins dir (which got extended with the remaining
      plugin types
      
      * move the painterly framework to extensions -- it feels more logical
      in that place.
      
      * move the 
      
      svn path=/trunk/koffice/; revision=951222
      8b27146b
  9. 27 Aug, 2008 1 commit
  10. 04 Jan, 2008 1 commit
    • Emanuele Tamponi's avatar
      Various changes. Most important: · 2d9e9d46
      Emanuele Tamponi authored
      - now the color space loading code is much cleaner
      - the tests have been rewritted in order to do some checks and they works great
      - the mixing test has been disabled (completely removed) because I need to rewrite
        it as it will be the base upon which I'll draw all the graphs I'll need in future
        works.
      
      svn path=/trunk/koffice/; revision=757448
      2d9e9d46
  11. 26 Dec, 2007 2 commits
  12. 25 Dec, 2007 1 commit
  13. 24 Dec, 2007 1 commit
  14. 05 Dec, 2007 1 commit
  15. 20 Aug, 2007 1 commit
    • Emanuele Tamponi's avatar
      The Painterly Framework is here! · a35a747e
      Emanuele Tamponi authored
      It has the same old Painterly Mixer, and a shiny new
      Bidi Paint Operation. The Mixer Tool is now based on
      KisToolFreehand, so it's a lot smoother.
      Enjoy the bugs! :-)
      
      svn path=/trunk/koffice/; revision=702433
      a35a747e
  16. 17 Aug, 2007 1 commit
    • Boudewijn Rempt's avatar
      CCMAIL:kimageshop@kde.org · 5f241f2c
      Boudewijn Rempt authored
      * Make masks and layers inherit a common baseclass: KisNode. Create
        code in krita/image to handle the new layer hierarchy.
      * Remove KisMetaRegistry
      * Remove the "super" typedefs
      * Fix bugs demonstrated by unittests
      * Add several unittests -- some show that we have some bugs still.
      * Considerably simplify the api of KisPaintDevice and Kisimage 
      * Add several more options for perfomance and tweak others to give
        better performance by default
      * Sanitize the dirty setting of rects
      * Start working on extracting the prescaling and canvas preview update
        spaghetti into a separate class.
      * Re-instate the fast-but-ugly nearest-neighbour scale option (doesn't
        work yet, is part of the above)
      
      Warning: this commit breaks some stuff, notably the adding of layers
      and masks. Painting, redisplay using QPainter and opengl and selections
      should be fine, without regressions. I am still working on the layer/mask
      issue and on the display thing, but apart from these two issues, Krita
      is reasonably stable again. There are two Umbrello diagrams in krita/doc
      that show the new layer design and the way the selection classes fit 
      together.
      
      
      svn path=/trunk/koffice/; revision=701132
      5f241f2c
  17. 08 Aug, 2007 1 commit
  18. 07 May, 2007 1 commit
  19. 15 Apr, 2007 1 commit
  20. 10 May, 2006 1 commit
    • David Faure's avatar
      krita/core -> krita/image · 07f5adde
      David Faure authored
      and perl -pi -e 's,\${KDE4_INCLUDE_DIR} \${QT_INCLUDES},\${KDE4_INCLUDES},' **/*.txt
      
      svn path=/trunk/koffice/; revision=539314
      07f5adde
  21. 26 Jul, 2005 1 commit
    • Boudewijn Rempt's avatar
      * Fix locking of tools when the layer is locked or invisible · 2e20d064
      Boudewijn Rempt authored
      * Remove the wet paintbrush tool; it's sufficient to use the wet paintop
      * The fsf has moved house, or so Thomas tells me. I guess it's a pretty dumb
        idea to have such volatile information in all headers, but there you are.
        We're up-to-date again...
      
      svn path=/trunk/koffice/; revision=438821
      2e20d064
  22. 07 Jun, 2005 1 commit
  23. 07 Nov, 2003 1 commit
  24. 03 Nov, 2003 1 commit
  25. 17 Mar, 2003 1 commit
  26. 10 Oct, 2002 1 commit
  27. 05 Oct, 2002 1 commit
  28. 20 Sep, 2002 1 commit
    • Patrick Julien's avatar
      - New in-core image format · 2173c8c5
      Patrick Julien authored
      - Implemented paint-offset
      - Implemented real-time zoom
      - Made scrolling work with zoom
      - Deactivated anything that hasn't been ported yet
      - Implemented image builder with ImageMagick.  See "Image/Import Image" or "Layer/Import Image" in menus.
      
      svn path=/trunk/koffice/; revision=179080
      2173c8c5
  29. 30 Aug, 2002 1 commit
  30. 28 Feb, 2002 1 commit