1. 26 Nov, 2015 1 commit
  2. 25 Sep, 2015 1 commit
  3. 04 Sep, 2015 1 commit
    • Boudewijn Rempt's avatar
      Port away from kdebug to qcdebug · 4fa86a75
      Boudewijn Rempt authored
      The approach taken is a bit different from what's in the porting
      scripts or in pigment: I've moved kis_debug to libglobal and adapted
      the dbgKrita etc. defines to use qcDebug etc. I've kept the old
      category numbers for now. I've also ported all places where we
      used kDebug() etc. directly, and not a few places where qDebug() etc
      were used directly.
      4fa86a75
  4. 02 Sep, 2015 2 commits
  5. 10 Aug, 2015 1 commit
    • Stefano Bonicatti's avatar
      Fix to resource md5 generation · e731c466
      Stefano Bonicatti authored
      Now the md5 will be calculated on the file data instead of the one in
      memory that has been interpreted, to keep the result consistent.
      
      Reactivated the code that warns the user and avoids to install resources
      when they have a different md5 from the manifest one.
      
      Reactivated the bundle edit button in Manage Resources.
      
      Added KoHashGenerator, KoMD5Generator, KisMD5Generator,
      KoHashGeneratorProvider classes.
      The first is an abstract class which gives a base to implement an
      hash generator that accepts a filename or a byte array to generate
      its hash.
      The second is an implementation of the first with the MD5 algorithm.
      The third overrides the first on the function that generates the md5
      from the filename, to support Krita resource bundles.
      The fourth is the one that provides the correct generator when asked.
      The hash generator identification is a string.
      
      Added versioning of the bundle through a simple increasing integer
      string.
      All the bundles which doesn't have the version in their meta are
      recreated and the md5 of each resource is recalculated.
      An old version of the bundle is mantained (bundlename.bundle.old).
      
      REVIEW: 122678
      CCMAIL: kimageshop@kde.org
      e731c466
  6. 28 May, 2015 1 commit
  7. 01 May, 2015 1 commit
  8. 29 Apr, 2015 1 commit
  9. 19 Apr, 2015 1 commit
  10. 28 Mar, 2015 1 commit
    • Lukáš Tvrdý's avatar
      Fix memory leak when loading presets · efd35bb0
      Lukáš Tvrdý authored
      ==7314== 814,368 (768 direct, 813,600 indirect) bytes in 48 blocks are definitely lost in loss record 134,421 of 134,446
      ==7314==    at 0x4A06965: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==7314==    by 0x592A37C: KisPaintOpPreset::load() (kis_paintop_preset.cpp:177)
      ==7314==    by 0x4FBED34: KoResourceServer<KisPaintOpPreset, SharedPointerStroragePolicy<KisSharedPtr<KisPaintOpPreset> > >::loadResources(QStringList) (KoResourceServer.h:194)
      ==7314==    by 0x5DD9AD5: KoResourceLoaderThread::run() (KoResourceServerProvider.cpp:140)
      ==7314==    by 0x3DD7E7C69E: ??? (in /usr/lib64/libQtCore.so.4.8.6)
      ==7314==    by 0x35D1A07EE4: start_thread (in /usr/lib64/libpthread-2.18.so)
      ==7314==    by 0x35D16F4D1C: clone (in /usr/lib64/libc-2.18.so)
      efd35bb0
  11. 20 Feb, 2015 2 commits
    • Boudewijn Rempt's avatar
      qdebug-- · dfa65a16
      Boudewijn Rempt authored
      dfa65a16
    • Boudewijn Rempt's avatar
      CCBUG:341752 Make it possible to reload presets that come from a bundle · ed79b700
      Boudewijn Rempt authored
      The KisPaintopPreset::load() method broke when trying to reload a preset
      that's in a bundle, and that method is called whenever we activate a
      preset unless dirty presets is on.
      
      It's probably worth thinking whether it's a good idea to hit the disk
      on every preset change...
      
      Note: this makes krita/image depend on kostore, which is in koodf. Which
      is not ideal.
      ed79b700
  12. 13 Jan, 2015 1 commit
  13. 25 Dec, 2014 1 commit
    • Dmitry Kazakov's avatar
      Fixed the rest of bugs in Dirty Presets · 6bfbc8a3
      Dmitry Kazakov authored
      1) Now Save/Reload buttons are enabled/disabled correctly depending
         on the status of the currently selected preset
      2) Instead of marking the preset name with pink color now it i sjust typed
         in italic.
      3) Fixed random switched between dirty/clean states of the preset
      6bfbc8a3
  14. 10 Nov, 2014 1 commit
  15. 20 Oct, 2014 1 commit
    • Mohit Goyal's avatar
      Squashed commit and merged krita-mohit-testing into master. Introduces two · 74848d9a
      Mohit Goyal authored
      new features :
      Dirty Presets : Keeps temporary tweaks made to the preset till the session ends
      
          Go to the Brush Editor box. Bottom left -- select "Temporarily save tweaks made to presets"
          Any time you make a change to any setting in the preset -- the textbox will turn pink and a "+" symbol will appear on the icon. The Reload button is used to reset the tweaks for that particular preset
      
      Locked Settings : Keeps settings constant across presets
      
          In the brush editor box, for any paint option like "Size" on the left, there will be a "link" icon. Right click on that option to Lock the option. Now that particular setting will remain constant across all presets. If you cange it in one preset - the changes will reflect across all presets.
          To unlock any option : right click on a locked option and click on Drop Locked Settings. You can either use these settings in the preset or load the last settings available in the preset.
      
      Cumulative Undo/Redo
      1. To use this feature, you will have to first have to go to Settings->Dockers->Undo History to activate the docker.
      2. Next right click on <empty> or on any stroke in the undo docker and select "Use Cumulative Undo/Redo"
      3. This feature merges commands together so the the user doesn't have to undo a particular group one by one and has a much larger undo history than the initial 30 strokes. The feature works on three configurable parameters :
      Time before merging strokes together : While strokes are made, the code keeps checking for a particular timelapse of T seconds before it merges the groups together
      Time to group the strokes : According to this parameter -- groups are made. Every stroke is put into the same group till two consecutive strokes have a time gap of more than T seconds. Then a new group is started.
      Individual strokes to leave at the end : A user may want to keep the ability of Undoing/Redoing his last N strokes. Once N is crossed -- the earlier strokes are merged into the group's first stroke.
      74848d9a
  16. 06 Jun, 2014 2 commits
  17. 05 Jun, 2014 1 commit
    • Boudewijn Rempt's avatar
      Updates for the clone tool · c0afb21e
      Boudewijn Rempt authored
      The clone tool can now clone from the projection and it's possible
      to change the clone source layer. Press ctrl-alt-click to select a
      new clone source on the current layer. ctrl-click to select a new clone
      source point on the layer that was active when you selected the clone
      op.
      c0afb21e
  18. 14 May, 2014 2 commits
  19. 07 May, 2014 1 commit
  20. 03 May, 2014 1 commit
  21. 01 May, 2014 1 commit
    • Boudewijn Rempt's avatar
      Merge origin/calligra-resource_md5-rempt into master · d8ee0554
      Boudewijn Rempt authored
      This makes it possible to id resources by an md5 sum.
      
      It also prepares for deferred resource loading by splitting
      the image() method of some resources into the image used
      for icons, and the actual resource data used as e.g. brush
      or pattern.
      
      Squashed commit of the following:
      
      commit aaf181254f8fe3800c589687566e6036ed100f5d
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu May 1 14:06:57 2014 +0200
      
          Make saving/loading tags work again
      
          Tags now work primarily with md5, then with the filename without the
          path. In some places, Krita was already adapted to work with just the
          file names, in others not yet.
      
          Also: reinstate the KoResourceTaggingTest and make it actually work
          without depending on a given user setting.
      
      commit 4cdc4e1e11a8ae550e1104108d929d4052ba3411
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu May 1 11:31:49 2014 +0200
      
          Add methods to get a resource by filename or md5
      
          The filename is stripped of the path; the tagstore stores the full
          path for compatibility with gimp, but we won't find any resource by
          using the full path since we use only the filename.
      
      commit ecfbdfe1ee4c65ac3254ca63f2097d905e690a47
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu May 1 10:29:01 2014 +0200
      
          Add some debug
      
      commit ea1738f1497f6e5252b860cc2ed4d31f8e5d03b0
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu May 1 10:10:41 2014 +0200
      
          Try to find the tagged resource using both md5 and filename
      
      commit 971b55530f60561b16b76dd741e9b2657efe1a96
      Merge: e760836 e0a2654
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu May 1 09:13:26 2014 +0200
      
          Merge branch 'master' into calligra-resource_md5-rempt
      
      commit e760836a20c25ff8d6be71d01e00b5179164db99
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Wed Apr 30 20:18:14 2014 +0200
      
          Use the actual resource in the tagging database
      
          (intermediate, needs fixing)
      
      commit 39a780fbba3c5a736245ba8b34408a5a2927321d
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Wed Apr 30 11:47:25 2014 +0200
      
          Remove unused conversion method
      
          The tag store now keeps pointers to the resources
      
      commit c6b23d8eb01c18d9aa3a083345c03b89771c4259
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Wed Apr 30 10:41:38 2014 +0200
      
          Remove the resourcetagging test altogether
      
          It was broken by design because it depends on the tag store in the local
          user's .kde directory.
      
      commit 5ffd7c7f0bdb8f5c0e2a3ddc67445fddb0b2276d
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Wed Apr 30 10:31:43 2014 +0200
      
          Add hash function using the md5 sum for KoResource
      
      commit edceb9e3e59ff887333d37ac68b136ab1a53373b
      Merge: b502624 93475d4
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 29 11:49:31 2014 +0200
      
          Merge remote-tracking branch 'origin/master' into calligra-resource_md5-rempt
      
      commit b502624e453a64d880ed346977b67a3807128228
      Merge: fcc7adf 6871ea1
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 29 10:11:36 2014 +0200
      
          Merge branch 'master' into calligra-resource_md5-rempt
      
      commit fcc7adf61a26c570b86c1aad847dca8ebae83f61
      Merge: 7e892ab 6942088
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Apr 28 09:12:39 2014 +0200
      
          Merge branch 'master' into calligra-resource_md5-rempt
      
      commit 7e892ab6ee5437253ad6d37a66563e767f5b05f8
      Merge: 931fc5e aeeef4b
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Apr 25 09:07:59 2014 +0200
      
          Merge branch 'master' into calligra-resource_md5-rempt
      
          Conflicts:
          	libs/widgets/KoResourceFiltering.cpp
      
      commit 931fc5ee1bd82db5d64d9371e87e7adcd16fd9cf
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Apr 18 20:10:53 2014 +0200
      
          Warnings--
      
      commit 9e0be15ca6fdcf5c54986cd4ed98a0a27d1eff2a
      Merge: 9044045 a51c97c
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Wed Apr 16 10:29:03 2014 +0200
      
          Merge branch 'master' into calligra-resource_md5-rempt
      
          Conflicts:
          	libs/widgets/KoFileDialog.cpp
      
      commit 9044045b5a606ef040c70af871e5bfc5ac7586a0
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Wed Apr 16 09:38:10 2014 +0200
      
          Move to using md5 in the tagstore
      
      commit 050007c30216534863a7b9d5a633d1291fb50ada
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 15 15:52:43 2014 +0200
      
          more tagObject -> tagStore renaming
      
      commit ffd1a0cc68d75d9b87948eef1dd846ac14b4f1a1
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 15 15:44:10 2014 +0200
      
          Also store the md5sum in the tag repository.
      
      commit 7a319b1234fe6d42abf5a4c625d6e0a25724ac87
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 15 15:13:07 2014 +0200
      
          skip resources without md5 sum
      
      commit 3dba36cd21e70f8e39a7f38d15fe33aee7ca8ae7
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 15 14:52:26 2014 +0200
      
          Calculate MD5 sum as soon as possible
      
      commit 13838d84e83f54ddac31954975d14dbf1b7b3891
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 15 14:26:38 2014 +0200
      
          initialize KoAbstractGradient properly
      
      commit 855d18073deb68ac816ced0d7b7c7a03de7f4299
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 15 12:52:35 2014 +0200
      
          index resources also by md5
      
      commit 0481ea8b6fbc2e88bf83ed428de7fdb5de2881a2
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 15 11:33:31 2014 +0200
      
          Add dummy implementation for md5 summing resource bundles
      
      commit 9870cdc3c30cbf072ddb2d91bfee36c7baba59b1
      Merge: f4bf3ac ff5e141
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 15 11:20:52 2014 +0200
      
          Merge branch 'master' into calligra-resource_md5-rempt
      
          Conflicts:
          	krita/plugins/paintops/resourcemanager/KoResourceBundle.cpp
          	krita/plugins/paintops/resourcemanager/KoResourceBundle.h
      
      commit f4bf3aca5155df5f83d72c4de0febc48aa7f8332
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 15 11:19:04 2014 +0200
      
          Rename tabObject to tagStore
      
      commit 32d353d1e695b4ca1edb569cc927599fea2137ec
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 15 11:18:41 2014 +0200
      
          Tagstore: Read md5 sum if present
      
      commit 8d1e900544671464054dc8c5df3e77e5fedc2642
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 15 11:01:53 2014 +0200
      
          Add md5 sum calculation for the various brush tip types
      
      commit 68461e8135d570982f072e7f22e7febf484cb34a
      Merge: 4faa11b 516b07d
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Tue Apr 15 10:08:21 2014 +0200
      
          Merge branch 'master' into calligra-resource_md5-rempt
      
      commit 4faa11bab8b6dcb7a56eae19ed8d26f4b0839d41
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Apr 14 12:51:04 2014 +0200
      
          Remove protected m_image variable from KisBrush
      
      commit e2a4590fd15e5dcf493f5e5c78269579e74118c2
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Apr 14 11:49:38 2014 +0200
      
          Cleanup KisBrush implementations
      
          The empty saveToDevice implementations aren't necessary at all, it's
          not part of the KisBrush api.
      
      commit 1c15374839c3b438a24736fee18ba0ce69f0c432
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Apr 14 11:29:25 2014 +0200
      
          Fix setting the icon for png patterns
      
      commit 9b51e01492d4e6349b1b6412771fe1914ed9c23a
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Apr 14 11:00:08 2014 +0200
      
          Show the gradient previews again.
      
      commit 8733300e85057506614346ee9bb7fadee13c1df2
      Merge: be373dc b7b85ae
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Mon Apr 14 10:13:53 2014 +0200
      
          Merge remote-tracking branch 'origin/master' into calligra-resource_md5-rempt
      
      commit be373dcd4ac8ca6896cf31f7e3d15b8717ec00c9
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Apr 11 15:49:47 2014 +0200
      
          Start implementing the md5sum generators for all kinds of resources.
      
      commit d924d5ef13b2c790064606cb296ba9fafb370246
      Merge: 2e08dfe c93b2d5
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Apr 11 11:46:07 2014 +0200
      
          Merge branch 'master' into calligra-resource_md5-rempt
      
      commit 2e08dfe57ccbfff797b42267c63d0a9f84d36d27
      Merge: 50a8ceb 1b3508d
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Apr 11 11:33:00 2014 +0200
      
          Merge branch 'master' into calligra-resource_md5-rempt
      
      commit 50a8ceb8a2954cec91d15e5d3144d92592f2a493
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Apr 11 11:21:54 2014 +0200
      
          Delete some more d-pointers
      
      commit 7e731d3dbcf7b81ccd5006f92a9daf19b47d936c
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Apr 11 10:22:39 2014 +0200
      
          remove obsolete comment. save _is_ implemented.
      
      commit 72562746d80748c410d444b4242e5fa14efbc329
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Fri Apr 11 10:07:20 2014 +0200
      
          Move the KoCachedGradient into KisGradientPainter
      
          It's only used in one place, so let's not clutter up pigment with it.
      
          (Also, it hasn't got a d-pointer to leak anymore.)
      
      commit f2a68ee8cf5fc4a74aabf6013cfd6832430b80ac
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Apr 10 16:38:27 2014 +0200
      
          remove unused include
      
      commit bfdd7d822b6493bb2f7e03e1e33c95d5762d7764
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Apr 10 16:34:35 2014 +0200
      
          Remove image() overload from KoResourceBundle
      
      commit d35d3a54d0c42dd9a28ed0dd4a283c9c06dc6ed6
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Apr 10 16:33:24 2014 +0200
      
          fix coding style: m_ prefix for class members
      
      commit 20cc841932b6a6edef3ba413e833fcbe0c862b70
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Apr 10 16:31:31 2014 +0200
      
          Remove image() overload from the mypaint brush resource
      
      commit 7930fa780c9e3bfaa66138abbc5a1205dc761bf6
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Apr 10 16:27:29 2014 +0200
      
          Remove useless image() override from the taskset resource
      
      commit 8967f4d072f2ab194bb154b8ca70be885bddd4ef
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Apr 10 16:26:21 2014 +0200
      
          Move the md5sum functionality from KoPattern to KoResource
      
          So we can start implementing it in all resources
      
      commit f8ed4ac3777f7044592778cae96cd907adbb4942
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Apr 10 16:17:34 2014 +0200
      
          Fix warning
      
      commit 02ede1c630cb59a37736e6981b29e87d40e5de6f
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Apr 10 15:50:53 2014 +0200
      
          Coding style: remove superfluous semicolon
      
      commit 9dacc59e326184e673f3e924cf1661c4cbc10161
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Apr 10 14:24:06 2014 +0200
      
          Add KisBrush::brushTipImage() to access the image to paint with
      
      commit b0ef67a458ce2f7b6698f244db6dd21b3673f0b3
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Apr 10 13:52:31 2014 +0200
      
          rename KisBrush::setImage to KisBrush::setBrushTipImage
      
          Since that's what it does -- it sets the QImage that we'll use as a
          mask when painting.
      
      commit 7cefc667c5ed6bdbe4b66485bcb0d8147ea67ba3
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Apr 10 12:37:12 2014 +0200
      
          Use KisPattern::pattern() where that is needed, and image() for icons
      
      commit 83a32df13463bc419a93e5bf609e8bde1b25e035
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Apr 10 12:29:12 2014 +0200
      
          Add a pattern() method to KoPattern to return the actual pattern
      
          Because using image() for both the thumbnail as well as the pattern
          is something we need to change if we want to make all resources lazy
          loading.
      d8ee0554
  22. 10 Nov, 2013 1 commit
  23. 12 Oct, 2013 1 commit
  24. 01 Dec, 2012 1 commit
  25. 22 Aug, 2012 1 commit
  26. 24 Dec, 2011 1 commit
  27. 21 May, 2011 1 commit
  28. 21 Feb, 2011 1 commit
  29. 03 Sep, 2010 1 commit
  30. 05 Mar, 2010 2 commits
  31. 04 Mar, 2010 2 commits
  32. 26 Feb, 2010 1 commit
  33. 04 Feb, 2010 1 commit
  34. 27 Jan, 2010 1 commit