Progressbar related modifications in Krita
ClosedPublic

Authored by fazek on Mar 9 2016, 7:48 PM.

Details

Reviewers
rempt
Summary

New features:

  • the BatchMode flag is a progressbar suppressor flag now for the import/export plugins to avoid parallel progressbar usage
  • better progressbar support for the csv import/export plugins and for the animation sequence import/export (with cancel)
  • a new cancel button added to the progressbar
  • new functions for KisDocument() to create correct progressbar environment for file import/export

todo: a new error message type for the canceled file operations (now cancels with OK).

Diff Detail

Repository
R37 Krita
Lint
Lint Skipped
Unit
Unit Tests Skipped
fazek updated this revision to Diff 2650.Mar 9 2016, 7:48 PM
fazek retitled this revision from to Progressbar related modifications in Krita.
fazek updated this object.
fazek edited the test plan for this revision. (Show Details)
fazek added a reviewer: rempt.
fazek set the repository for this revision to R37 Krita.
fazek added a subscriber: fazek.
rempt accepted this revision.Mar 10 2016, 9:04 AM
rempt edited edge metadata.

I wonder if in the future we'll manage to figure out a way to make the eventloop hackery common to all filters, but the patch is looking good and a nice simplification of the KisDocument code.

This revision is now accepted and ready to land.Mar 10 2016, 9:04 AM
fazek closed this revision.Mar 10 2016, 8:09 PM

Added the missing error messages and pushed it to master. This was my first git push to Krita by myself, so I hope it landed correctly.

rempt added a comment.EditedMar 11 2016, 7:15 AM

The commit landed without problems. Well, one thing: you don't build the tests, I think, so you forgot to also rename the startExport to exportAnimation in the animation export unittest.

But just a hint for the commit message:

Have a one-line title, not longer than 80 characters
Then one blank line
Then the larger message

That's how git expects commit messages to be formatted, and some git log features depend on that being correct.

Thank you :)

I'm using command line git and just copied the text from here into the terminal....
Isn't there a way to push a diff directly from the phabricator after it's accepted?

Yes, I think that's possible. But also check https://techbase.kde.org/Development/Git/Configuration for configuring git and commit templates.