1. 19 Nov, 2016 1 commit
  2. 09 Nov, 2016 1 commit
  3. 07 Oct, 2016 1 commit
  4. 01 Oct, 2016 1 commit
  5. 30 Sep, 2016 2 commits
  6. 22 Sep, 2016 1 commit
  7. 21 Sep, 2016 1 commit
    • Halla Rempt's avatar
      Remove the use of the KisFilterGraph and KisFilterChain · d9c6c126
      Halla Rempt authored
      We never supported chained input/output anyway; that is barely
      useful for image files and would never perform well. This makes
      the whole import/export system much simpler.
      Plus, apparently all the chain stuff took some noticeable time
      because the export dialogs now appear much, much quicker.
  8. 14 Sep, 2016 1 commit
  9. 04 Jul, 2016 1 commit
  10. 28 Jun, 2016 4 commits
  11. 20 Jun, 2016 1 commit
    • Halla Rempt's avatar
      Extend the Import/Export filter API · 0ed201c7
      Halla Rempt authored
      Following paintops and filters, we make it possible to retrieve
      a default filter configuration and the filter configuration widget
      so we don't have to do everything in the convert method.
  12. 22 Apr, 2016 2 commits
    • Dmitry Kazakov's avatar
      Added a concept of "safe" assert · 14628395
      Dmitry Kazakov authored
      If you add some sanity check to the code and you are 100% sure
      that failing this assert and recovering after it will not break
      Krita and the user will be able to continue his work, you can use
      "safe asserts". By default they don't show anything to the user,
      just dump a message to the terminal and take the recovery branch
      almost silently.
      If you want to make these assert produce real warning messages you
      should set a cmake option for it:
      This is highly recommended for developers, and not recommended for
      painters who do real work of those builds of Krita.
      Now rules when to use "safe" asserts. You can use them if the following
      conditions are met:
      1) The condition in the assert shows that a real *bug* has happened. It
         is not just a warning. It is a bug that should be fixed.
      2) The recovery branch will *workaround* the bug and the user will be
         able to continue his work *as if nothing has happened*. Again, please
         mark the assert "safe" if and only if you are 100% sure Krita will
         not crash in a minute after you faced that bug. The user is not notified
         about this bug, so he is not going to take any emergency steps like
         saving his work and restarting Krita!
      3) If you think that Krita should be better restarted after this bug,
         please use a usual KIS_ASSRT_RECOVER.
    • Dmitry Kazakov's avatar
      Barrier-lock the image before start saving (needs testing!) · d5c39fbd
      Dmitry Kazakov authored
      This is a bit dangerous commit. We should test saving of the document
      extensively. What should be tested:
      1) Saving to KRA
      2) Saving to any other formats
      3) Saving while some action in still executing
      4) Saving when LoD mode is active
      5) Saving in batch mode
      The program should not crash and/or hangup. The latter is the
      most probable bug.
      Fixes T2332
  13. 10 Mar, 2016 1 commit
  14. 26 Jan, 2016 1 commit
    • Halla Rempt's avatar
      Consolidate all plugins together · 120aa2e3
      Halla Rempt authored
      Now we have only one plugin dir. The plugin dir now has the
      great big include_directories list, but that's for fixing
      later on.
  15. 19 Nov, 2015 1 commit
  16. 17 Nov, 2015 1 commit
    • Halla Rempt's avatar
      Make some file formats return KisImportExportFilter::UserCancelled when their... · c9f20bed
      Halla Rempt authored
      Make some file formats return KisImportExportFilter::UserCancelled when their options dialogs are cancelled
      The file formats affected by this patch are: r16 heightmap/r8 heightmap/JPEG-2000/JPEG/PNG/PPM/PGM/PBM
      These formats return KisImportExportFilter::OK rather than KisImportExportFilter::UserCancelled when their import/export options dialog is cancelled.
      This leads to buggy behaviour that can be reproduced using either set of the following steps:
      CASE 1
          * Create a new document and modify it
          * Close the document and opt to save it as one of the affected formats
          * Cancel when the export options appear
          * (The document closes without saving)
      CASE 2
          * Open a heightmap
          * Cancel when the import options appear
          * (Krita crashes)
      I've also modified kis_png_export.cc so that it sets up the Cancel/OK buttons explicitly instead of relying on getting them by default from KDialog.
      Reviewers: #krita:_stable, rempt
      Reviewed By: #krita:_stable, rempt
      Subscribers: rempt
      Differential Revision: https://phabricator.kde.org/D548
      Patch by Nicholas LaPointe, thanks!
  17. 10 Sep, 2015 1 commit
    • Halla Rempt's avatar
      Fork KDialog into KoDialog · ec76064f
      Halla Rempt authored
      We have a hundred or so kdialog-based dialogs in calligra. It's not
      feasible to port all of them the to the much clumsier QDialog api,
      so for KoDialog and strip it of kdelibs4support dependencies.
  18. 01 Apr, 2015 1 commit
  19. 31 Mar, 2015 1 commit
  20. 15 Jan, 2015 1 commit
  21. 20 Dec, 2014 1 commit
    • Halla Rempt's avatar
      Clean up all messageboxes · e4880172
      Halla Rempt authored
      * Use QMessageBox everywhere, instead of KMessageBox in some places, and
      QMessageBox in others
      * Add a translation hint to the messagebox title
      * Make sure all messageboxes are translated.
  22. 05 Dec, 2014 1 commit
    • Halla Rempt's avatar
      Merge krita-mvc-rempt into master · 1cb2d177
      Halla Rempt authored
      This refactors Krita to allow the user to have more than one
      image open in a window. Krita no longer uses or depends on the
      komain library.
      For now, Sketch and Gemini are disabled.
  23. 11 Oct, 2014 1 commit
  24. 03 Oct, 2014 1 commit
  25. 02 Oct, 2014 1 commit
  26. 18 Jun, 2014 2 commits
    • Halla Rempt's avatar
      Also add support for r8 heightmap files · 46987249
      Halla Rempt authored
      Note: the common extension for 8 bit raw heightmap files is .raw, however
      that conflicts with panasonic .raw raw camera files. Since panasonic
      registered the mimetype for .raw and the games people didn't, the games
      people lose and have to mess about with another extension, i.e., .r8.
    • Halla Rempt's avatar
      Add import/export for R16 heightmaps · 1421157d
      Halla Rempt authored
      These are used for games. The format is undocumented, but basically
      just a stream of 16 bit integers.