1. 30 May, 2019 1 commit
  2. 17 May, 2019 1 commit
    • Agata Cacko's avatar
      Unify error codes engaged in import/export · e518e102
      Agata Cacko authored
      Before this patch, there were two layers of error codes:
      KisImageBuilder_Result in KisImageBuilderResult.h
      later converted into ConversionStatus in KisImportExportFilter.h
      In case of usage of libraw, there were also libraw error codes.
      After this patch, only one error code system and error messages system
      is implemented. Error codes should match the previous ones,
      but are not necessarily correct now.
      e518e102
  3. 09 May, 2019 1 commit
  4. 29 Oct, 2018 1 commit
  5. 21 Oct, 2018 1 commit
  6. 28 Sep, 2018 1 commit
  7. 20 Sep, 2018 1 commit
  8. 14 Aug, 2018 1 commit
  9. 05 Aug, 2018 1 commit
  10. 15 May, 2018 1 commit
  11. 08 May, 2018 1 commit
  12. 07 May, 2018 2 commits
    • Halla Rempt's avatar
      Rename foreGround/backGround to foreground/background · 21e8384d
      Halla Rempt authored
      This is more consistent with the rest of Krita and is more correct.
      However, the colorSource and halftone filter haven't been changed
      since those used these strings to save and load config.
      21e8384d
    • Halla Rempt's avatar
      Add Document::setBackgroundColor API · 24f97f7d
      Halla Rempt authored
      This can be used like this:
      
      from krita import Krita
      from PyQt5.QtGui import QColor
      
      kt = Krita.instance()
      doc = kt.activeDocument()
      
      test_color = QColor(128, 128, 128, 255)  # change as needed
      
      old_background = doc.backGroundColor()
      print("Old background: {}".format(old_background.getRgb()))
      
      doc.setBackGroundColor(test_color)
      
      new_background = doc.backGroundColor()
      print("New background {}".format(new_background.getRgb()))
      
      Patch by Jeroen Hoolmans, thanks!
      fferential Revision: https://phabricator.kde.org/D12729
      24f97f7d
  13. 27 Feb, 2018 1 commit
  14. 23 Feb, 2018 2 commits
  15. 21 Feb, 2018 2 commits
  16. 13 Feb, 2018 1 commit
  17. 23 Jan, 2018 1 commit
  18. 08 Jan, 2018 1 commit
  19. 07 Jan, 2018 2 commits
  20. 06 Jan, 2018 1 commit
  21. 24 Nov, 2017 1 commit
  22. 28 Oct, 2017 1 commit
  23. 18 Aug, 2017 1 commit
  24. 13 Aug, 2017 1 commit
  25. 12 Aug, 2017 1 commit
  26. 24 Jun, 2017 1 commit
    • Dmitry Kazakov's avatar
      Implement asynchronous saving of Krita documents · bb5db7ce
      Dmitry Kazakov authored
      Now all the saving operations work in the following way:
      1) Make a shallow copy of the image
      2) Create a separate document with it
      3) Save it in a separate thread in background
      
      The functionality basically works, except the following parts:
      
      1) Cloning the image "forgets" some image stuff. I don't have a list of what
         is forgotten yet (layer styles?).
      2) Closing the image while Krita is saving will most probably cause a crash.
      3) D&D of layers is not tested, though it should work.
      4) There was some option to provide "real name" for json export plugin,
         it is not supported anymore.
      bb5db7ce
  27. 16 Jun, 2017 1 commit
    • Eliakin Costa's avatar
      Improve resizeImage with offset parameters · 9f803a7d
      Eliakin Costa authored
      - I Added two new properties xOffset and yOffSet
      - I wrote properties documentation in the header
      - New methods added to .sip file
      - These properties represent the edge of the image
      - Refactoring of the resizeImage method to accept these new properties, including documentation.
      - Refactoring of the width and height properties are using resizeImage
      
      Bugs from changes in the API
      
      - I added one new parameter that represents the objectId of the action to all classes that was using createAction
      9f803a7d
  28. 05 Jun, 2017 1 commit
  29. 01 Jun, 2017 2 commits
  30. 30 May, 2017 1 commit
  31. 25 May, 2017 1 commit
  32. 15 Apr, 2017 1 commit
    • Dmitry Kazakov's avatar
      Cleanup KisDocument from all the unused variables · d9105787
      Dmitry Kazakov authored
      This patch basically removes all the unused variables from KisDocument
      and adds a copy-constructor for implementing a proper asynchronous saving
      in the future.
      
      It also removes a bit of mutable state with isExporting() and
      isImporting(). These "global" variables are really a pain when making
      the saving asynchronous.
      d9105787
  33. 04 Apr, 2017 1 commit
    • Halla Rempt's avatar
      Add libkis: the Krita scripting wrapper library · 505fa128
      Halla Rempt authored
      libkis offers a QObject-introspectalbe wrapper around Krita's messy
      internals. Some notes:
      
      * Functions that return a pointer to a wrapper objectare factories:
      the caller is responsible for deleting the wrapper object
      * In principle, the library is meant to be low-level. Not a set of
      macro commands, but an programming API
      * Bindings in other languages are welcome
      * Extensions are welcome.
      505fa128