1. 30 Mar, 2020 1 commit
  2. 29 Mar, 2020 2 commits
  3. 27 Feb, 2020 2 commits
  4. 25 Feb, 2020 1 commit
  5. 13 Jan, 2020 2 commits
  6. 01 Jan, 2020 1 commit
  7. 27 Dec, 2018 1 commit
  8. 07 Oct, 2018 1 commit
  9. 01 Jan, 2018 1 commit
  10. 03 Oct, 2017 2 commits
    • Volker Krause's avatar
      Make HtmlWriter compatible with Grantlee::OutputStream · 8d094a5e
      Volker Krause authored
      Summary:
      For that we need a QTextStream backed by a QIODevice. We have two
      implementation, one backed by a QBuffer and one by a QFile, rplacing
      most of the various sub-classes we had previously.
      
      This means that the internal buffer is now a QByteArray rather than a
      QString. That however turns out to not be a problem at all, as
      QWebEnginePage::setHtml() basically just calls setContent(html.toUtf8()),
      ie. we need a QByteArray in the end anyway.
      
      Another side-effect of the QIODevice usage is that this now becomes a lot
      more sensitive to being in the correct state, therefore also the test code
      needs to properly call begin/end now.
      
      In order to employ this to the full extend the next step is passing this
      along to all render methods and writing into it directly rather than using
      intermediate buffers, as well as adding a custom Grantlee item for nested
      templates so we can do this with streaming too.
      
      Reviewers: knauss
      
      Reviewed By: knauss
      
      Subscribers: mlaurent, #kde_pim
      
      Tags: #kde_pim
      
      Differential Revision: https://phabricator.kde.org/D8087
      8d094a5e
    • Volker Krause's avatar
      Cleanup HtmlWriter API · a5ff3a0c
      Volker Krause authored
      Summary:
      - merge Interface::HtmlWriter and HtmlWriter
      - remove queue() and flush(), which with the single synchronous buffer
        send to WebEngine have no meanings anymore
      - remove the unused CSS argument to begin()
      - remove TeeHtmlWriter, its debugging use has been superseded by the much
        more convenient direct access to the HTML source code in the mail source
        view
      
      This prepares the next step of making HtmlWriter conceptually a QIODevice,
      so we can use it directly with Grantlee's streaming API.
      
      Reviewers: knauss
      
      Reviewed By: knauss
      
      Subscribers: #kde_pim
      
      Tags: #kde_pim
      
      Differential Revision: https://phabricator.kde.org/D8083
      a5ff3a0c
  11. 14 Sep, 2017 1 commit
  12. 09 Jun, 2017 1 commit
  13. 18 Apr, 2017 1 commit
  14. 01 Jan, 2017 1 commit
  15. 03 Oct, 2016 1 commit
  16. 30 Sep, 2016 3 commits
  17. 29 Sep, 2016 4 commits
  18. 02 Sep, 2016 1 commit
    • David Faure's avatar
      Make message switching in kmail much faster (also fixes a focus issue) · 4e32803d
      David Faure authored
      This call to load() triggers a lot of internal stuff in WebEngine,
      including NavigateToEntry, creation (and soon afterwards, deletion) of
      QtWebEngineCore::RenderWidgetHostViewQtDelegateWidget, etc.
      
      I can't see any regression when removing this call.
      
      On the contrary, this fixes a focus issue: when clicking on an
      external link in an email and coming back to kmail, arrow up/down
      didn't work anymore, because the last widget installed as focusproxy
      for the webview (the DelegateWidget above) had been deleted meanwhile.
      
      Differential Revision: https://phabricator.kde.org/D2637
      4e32803d
  19. 01 Apr, 2016 1 commit
  20. 31 Mar, 2016 1 commit
  21. 29 Mar, 2016 1 commit
  22. 28 Mar, 2016 1 commit
  23. 10 Mar, 2016 1 commit
  24. 03 Mar, 2016 2 commits
  25. 21 Jan, 2016 1 commit
  26. 09 Dec, 2015 2 commits