1. 10 Dec, 2016 1 commit
  2. 07 Dec, 2016 2 commits
  3. 06 Dec, 2016 1 commit
  4. 05 Dec, 2016 1 commit
  5. 29 Nov, 2016 1 commit
    • Halla Rempt's avatar
      Finish implementing the animation renderer · 20fc52a9
      Halla Rempt authored
      The right extension is now always used, and if the codecs are
      there, ffmpeg will render the animation.
      
      For the future, we should probably implement a way to set the
      framerate for animation...
      20fc52a9
  6. 17 Nov, 2016 1 commit
    • Halla Rempt's avatar
      Refactor the filename requester and filedialog · 0a80b8e2
      Halla Rempt authored
      The messing with relative paths to the default folder meant that
      the user never could be sure which path we were going to save to.
      
      Rendering to GIF still fails, though, but I need more brain to
      figure out why.
      
      CCBUG:372572,372537
      0a80b8e2
  7. 09 Nov, 2016 1 commit
  8. 07 Nov, 2016 1 commit
  9. 03 Nov, 2016 1 commit
  10. 31 Oct, 2016 1 commit
  11. 28 Oct, 2016 4 commits
  12. 27 Oct, 2016 1 commit
    • Frederik Gladhorn's avatar
      cmake: use cmake-extra-modules for Unit Tests · 27d0b63e
      Frederik Gladhorn authored
      Summary:
      This actually makes it less boiler plate heavy.
      It also fixes a few small issues with the tests, three tests were
      previously forgotten and have been re-added.
      
      With the custom krita_add_broken_unit_test the same functionallty is
      preserved that was there before in the fork of the kde4 macro.
      This is a step towards reducing the amount of custom cmake code that
      Krita drags around and will make the build system easier.
      
      Thanks to the new macros, the total amount of redundant macro code is
      reduced and we lose a bit over 1000 lines of useless boilerplate.
      
      The total test count goes up by three.
      
      The flake tests had their data in the source path, which is unlike any
      other tests and were relying on some old defines. They have been adapted
      to behave like any other test.
      
      Reviewers: #krita
      
      Subscribers: rempt
      
      Differential Revision: https://phabricator.kde.org/D3167
      27d0b63e
  13. 25 Oct, 2016 1 commit
  14. 24 Oct, 2016 1 commit
  15. 23 Oct, 2016 5 commits
  16. 22 Oct, 2016 4 commits
    • Frederik Gladhorn's avatar
      Cleanup usage of empty strings · ad15727c
      Frederik Gladhorn authored
      There is no need to explicitly initialize QString in constructurs.
      Using "" for an empty string is actually less type safe and more costly
      than using QString() which returns an empty shared null string, so it's
      always preferable to signify empty QStrings that way.
      ad15727c
    • Halla Rempt's avatar
      Fix warning · a275a902
      Halla Rempt authored
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:350:15: warning: array index -1 is before the beginning of the array [clang-diagnostic-array-bounds]
          T alpha = pixel->data[alphaPos];
                    ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:935:13: note: in instantiation of function template specialization 'multiplyAlpha<half, ExrPixel_<half, 1>, 1, -1>' requested here
                  multiplyAlpha<_T_, ExrPixel, size, alphaPos>(rgba);
                  ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:896:5: note: in instantiation of member function 'EncoderImpl<half, 1, -1>::encodeData' requested here
          EncoderImpl(Imf::OutputFile* _file, const ExrPaintLayerSaveInfo* _info, int width) : file(_file), info(_info), pixels(width), m_width(width) {}
          ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:949:24: note: in instantiation of member function 'EncoderImpl<half, 1, -1>::EncoderImpl' requested here
                  return new EncoderImpl < half, 1, -1 > (&file, &info, width);
                             ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:880:5: note: array 'data' declared here
          _T_ data[size];
          ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:359:9: warning: array index -1 is before the beginning of the array [clang-diagnostic-array-bounds]
              pixel->data[alphaPos] = alpha;
              ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:880:5: note: array 'data' declared here
          _T_ data[size];
          ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:350:15: warning: array index -1 is before the beginning of the array [-Warray-bounds]
          T alpha = pixel->data[alphaPos];
                    ^           ~~~~~~~~
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:935:13: note: in instantiation of function template specialization 'multiplyAlpha<half, ExrPixel_<half, 1>, 1, -1>' requested here
                  multiplyAlpha<_T_, ExrPixel, size, alphaPos>(rgba);
                  ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:896:5: note: in instantiation of member function 'EncoderImpl<half, 1, -1>::encodeData' requested here
          EncoderImpl(Imf::OutputFile* _file, const ExrPaintLayerSaveInfo* _info, int width) : file(_file), info(_info), pixels(width), m_width(width) {}
          ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:949:24: note: in instantiation of member function 'EncoderImpl<half, 1, -1>::EncoderImpl' requested here
                  return new EncoderImpl < half, 1, -1 > (&file, &info, width);
                             ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:880:5: note: array 'data' declared here
          _T_ data[size];
          ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:350:15: warning: array index -1 is before the beginning of the array [-Warray-bounds]
          T alpha = pixel->data[alphaPos];
                    ^           ~~~~~~~~
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:935:13: note: in instantiation of function template specialization 'multiplyAlpha<float, ExrPixel_<float, 1>, 1, -1>' requested here
                  multiplyAlpha<_T_, ExrPixel, size, alphaPos>(rgba);
                  ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:896:5: note: in instantiation of member function 'EncoderImpl<float, 1, -1>::encodeData' requested here
          EncoderImpl(Imf::OutputFile* _file, const ExrPaintLayerSaveInfo* _info, int width) : file(_file), info(_info), pixels(width), m_width(width) {}
          ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:952:24: note: in instantiation of member function 'EncoderImpl<float, 1, -1>::EncoderImpl' requested here
                  return new EncoderImpl < float, 1, -1 > (&file, &info, width);
                             ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:880:5: note: array 'data' declared here
          _T_ data[size];
          ^
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:359:9: warning: array index -1 is before the beginning of the array [-Warray-bounds]
              pixel->data[alphaPos] = alpha;
              ^           ~~~~~~~~
      /home/frederik/dev/kde/krita/plugins/impex/exr/exr_converter.cc:880:5: note: array 'data' declared here
          _T_ data[size];
          ^
      3 warnings generated.
      a275a902
    • Frederik Gladhorn's avatar
      Remove unused variables · 0f66e2d4
      Frederik Gladhorn authored
      0f66e2d4
    • Frederik Gladhorn's avatar
      09043163
  17. 19 Oct, 2016 4 commits
  18. 10 Oct, 2016 1 commit
  19. 03 Oct, 2016 1 commit
  20. 26 Sep, 2016 1 commit
    • Nishant Rodrigues's avatar
      Undo rename of KisGrbBrush · f1657cb3
      Nishant Rodrigues authored
      I hadn't realised that there were multiple types of Gimp brushes, until
      Boudewijn pointed it out. (I had actually indended to push this branch
      to master but messed up the git push command. Sorry about that.)
      
      Revert "Rename KisGbrBrus to KisGimpBrush for clarity"
      This reverts commit 3f761273.
      f1657cb3
  21. 25 Sep, 2016 1 commit
  22. 15 Sep, 2016 2 commits
  23. 13 Sep, 2016 1 commit
  24. 09 Sep, 2016 1 commit
  25. 08 Sep, 2016 1 commit