Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

  1. 16 Jun, 2017 2 commits
    • Dmitry Kazakov's avatar
      Implement KoShape::updateAbsolute() for complex transformation updates · 6f51599f
      Dmitry Kazakov authored
      Historically, transformation code uses extremely weird method of shape
      updates that rely on the event loop. This patch implements a framework
      for moving away from this strategy.
      
      The problem:
      
      When one transforms a shape he needs to update both areas: bounding
      rect of the shape *before* the transform and a bounding rect of the shape
      *after* the transform. Before the patch, the transformation code used the
      system like that:
      
      shape->update();
      shape->setTransformation(newTransform);
      shape->update();
      
      That works only with assumption that the first update() call will *not*
      be executed before setTransform() call. That should be true atm, but it
      is not guaranteed to be so in the future. Therefore, now the update happens
      like that:
      
      const QRectF oldDirtyRect = shape->boundingRect();
      shape->setTransformation(newTransform);
      shape->updateAbsolute(oldDirtyRect | shape->boundingRect());
      6f51599f
    • Dmitry Kazakov's avatar
      Fix artifacts when rendering shapes with miter join set · cb6516b8
      Dmitry Kazakov authored
      1) Miter limit in Qt should be normalized by line width.
      2) When transforming the insets we should just take maximum
         of insets, not bounding rect. Miters can extend into any
         direction, so not only +-45deg.
      cb6516b8
  2. 09 Jun, 2017 2 commits
  3. 08 Jun, 2017 3 commits
    • Boudewijn Rempt's avatar
      Add Deevad's P&C speech bubbles and make them render · f6aebc9d
      Boudewijn Rempt authored
      Note: Inkscape sometimes has a bounding box with negative height.
      That's not wrong, it just needs normalizing, so fix that in the
      SvgParser.
      
      Note 2: We still need to add metadata to the P&C speech bubbles.
      f6aebc9d
    • Boudewijn Rempt's avatar
      Debug-- · 863072ab
      Boudewijn Rempt authored
      863072ab
    • Boudewijn Rempt's avatar
      FEATURE: Add a docker that gives access to svg symbol libraries · 3e203907
      Boudewijn Rempt authored
      You can drag & drop svg items from the docker to the canvas. This
      uses the new KoDrag and KoSvgPaste support: the KoSvgPaste methods
      are made static for easier access.
      
      The icons are still a bit iffy, and there is no support for editing
      collections, searching collections or tagging collections yet, one
      needs inkscape for that.
      
      The objects are dropped as groups of shapes, instead of symbols,
      and that is intentional: this is meant for things like speech bubbles
      which more often need editing than being exactly the same in the whole
      document. Krita's still not map-making software...
      
      CCMAIL:kimageshop@kde.org
      3e203907
  4. 07 Jun, 2017 7 commits
  5. 01 Jun, 2017 2 commits
    • Boudewijn Rempt's avatar
      Remove KoXmlReader completely · e96b768e
      Boudewijn Rempt authored
      e96b768e
    • Boudewijn Rempt's avatar
      Make Krita build with KOXML_USE_QDOM defined · 348a3591
      Boudewijn Rempt authored
      This "fixes" all the places where KoXml::asQDomElement was used,
      which was broken. It looks like nobody built like this since, oh,
      2010 or so... It's a first step towards not using the KoXmlReader
      code at all anymore.
      
      There is no visible performance regression, but I didn't do real
      benchmarking. But at least, with the ifdef working, we can do
      benchmarking again.
      
      In the text shape, some parts are just rudely ifdeffed out, mostly
      to do with RDF, which krita doesn't need anyway, or changetracking,
      which krita also doesn't need.
      
      The really tricky bit is that in several places we used KoXmlDocument
      with stripSpaces set to true, and I'm not sure what not being able
      to set that flag will have.
      
      KOXML_USE_QDOM is defined now, so Wolthera can continue with
      the calligraphy tool; before merging to master, we should undefine
      it again. Maybe we should make it a cmake option, if we're not just
      going to remove KoXmlReader altogether.
      
      CCMAIL:kimageshop@kde.org
      
      CC'ing the calligra developers since this might be of interest for
      Calligra, too: either calligra should remove KOXmlReaderForward.h,
      or make the ifdef work again -- which is likely much tricker than
      it was for krita.
      
      CCMAIL:calligra-devel@kde.org
      348a3591
  6. 08 May, 2017 1 commit
  7. 07 Apr, 2017 1 commit
  8. 31 Mar, 2017 1 commit
  9. 27 Mar, 2017 2 commits
  10. 23 Mar, 2017 3 commits
  11. 21 Mar, 2017 1 commit
  12. 20 Mar, 2017 3 commits
  13. 18 Mar, 2017 1 commit
  14. 17 Mar, 2017 4 commits
  15. 16 Mar, 2017 3 commits
  16. 15 Mar, 2017 2 commits
  17. 14 Mar, 2017 2 commits