1. Oct 01, 2016
  2. Sep 27, 2016
    • Allan Sandfeld Jensen's avatar
      Cleanup directory structure · aeadc50e
      Allan Sandfeld Jensen authored
      
      The src/core/renderer directory is meant to contain files that would be
      in the renderer process and the chrome/renderer subdirectory in chromium,
      but a few classes from the browser process and the renderer_host dir
      has snuck in.
      
      This patch cleans up the structure so that classes in the browser that
      serves as host classes for renderer classes goes in renderer_host.
      
      Change-Id: I9333b1322e2246d4da9b4e8cfe6be604f6d996bf
      Reviewed-by: default avatarPeter Varga <pvarga@inf.u-szeged.hu>
      aeadc50e
  3. Sep 26, 2016
  4. Sep 22, 2016
  5. Sep 20, 2016
  6. Sep 14, 2016
  7. Sep 08, 2016
  8. Aug 31, 2016
    • Michal Klocek's avatar
      Add context menu request to qml api · 3f73e471
      Michal Klocek authored
      
      Introduce qml APIs to support custom context menus.
      
      [ChangeLog][QtWebEngine][QML] Added ability to show custom
      context menu.
      
      Task-number: QTBUG-52554
      Change-Id: Ief0cbbbf221f4c6849e16bbba7417dccee59ad61
      Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
      3f73e471
    • Michal Klocek's avatar
      Add dialog requests to qml api · 3cbe59e2
      Michal Klocek authored
      
      Introduce qml APIs to support custom dialogs:
       * http and proxy authentication
       * javascript dialogs
       * file pickers
       * color pickers
       * form validation messages
      
      [ChangeLog][QtWebEngine][QML] Added ability to provide custom dialogs
      for HTTP and proxy authentication, JavaScript alerts, file and color
      picking, and form validation messages.
      
      Task-number: QTBUG-51190
      Change-Id: I559ca59264750feb36ba7d3dba0bf0647509306d
      Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
      3cbe59e2
  9. Aug 28, 2016
  10. Aug 25, 2016
  11. Aug 24, 2016
    • Michael Bruning's avatar
      Add widgets API for printing on a QPrinter · af253501
      Michael Bruning authored
      
      Renders the content to a PDF document and then renders this on a
      QPrinter-backed QPainter using the PDFium library.
      
      PDFium bitmap to QImage conversion based on work by Paulo Pinheiro
      <paulvap.os@gmail.com>.
      
      [ChangeLog][QtWebEngineWidgets][Printing] Enables printing QWebPage
      content on a QPrinter. Currently does not support previewing the
      document. Widgets only for the moment.
      
      Change-Id: I9a5264433093379aee90f5e4f69bf2aee8814f2b
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      af253501
  12. Aug 23, 2016
  13. Aug 09, 2016
    • Alexandru Croitor's avatar
      Add focusOnNavigationEnabled setting · 6534b090
      Alexandru Croitor authored
      
      The focusOnNavigationEnabled setting allows changing the behavior of
      whether a WebEngine view (widget or quick) will automatically get
      focus, whenever a navigation action happens (load, reload, previous
      history entry, etc).
      The default behavior before this patch was to always grab the focus.
      
      [ChangeLog][QtWebEngine][General] Add focusOnNavigationEnabled setting
      which allows controlling whether a web view will receive focus on a
      navigation request. Previously the view always received the focus.
      
      Task-number: QTBUG-52999
      Change-Id: I6d30d973a41b53011131f21dcecbf6ec4d652759
      Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
      6534b090
  14. Aug 02, 2016
  15. Jul 26, 2016
    • Andy Shaw's avatar
      Prevent a crash after having downloaded a file · 808ca6e6
      Andy Shaw authored
      
      Since the profile owns the QWebEngineDownloadItem then it is likely that
      it will still be around when the QWebEngineProfile is deleted. As the
      QWebEngineDownloadItem is a child of the QWebEngineProfile then it will
      try to delete it when deleting the QWebEngineProfile which means it cannot
      trigger a function call into QWebEngineProfilePrivate.
      
      Change-Id: I51077a7857fb49a6708224a9e9942d17de6f6778
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      808ca6e6
  16. Jul 14, 2016
  17. Jul 08, 2016
    • Joerg Bornemann's avatar
      Allow QWebEnginePage::createWindow to return this · 38550156
      Joerg Bornemann authored
      Consider a QWebEnginePage subclass that does "return this;" in
      createWindow. Commit 1f07d292
      
       made this a no-op to prevent QtWebEngine
      from crashing. The reason for the crash was access to deleted memory
      after destroying the current adapter in adoptNewWindow.
        Defer the adoption in this case to whenever we hit the event loop
      again.
      
      Change-Id: I9674d80ef8b2f301c1446ff505b2486649451ba6
      Task-number: QTBUG-42216
      Reviewed-by: default avatarMichal Klocek <michal.klocek@qt.io>
      38550156
  18. Jul 02, 2016
  19. Jul 01, 2016
  20. Jun 30, 2016
  21. Jun 22, 2016
  22. Jun 16, 2016
    • Joerg Bornemann's avatar
      Introduce QWebEnginePage::save · 3398abfc
      Joerg Bornemann authored
      
      Add the convenience method QWebEnginePage::save for saving pages without
      the need to explicitly handle download requests.
      
      Task-number: QTBUG-51798
      Change-Id: I8910ce8cb7c9370d72f2b209c4d2de07c614f6d6
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      3398abfc
    • Joerg Bornemann's avatar
      Fix access to deleted memory on QWebEnginePage destruction · d5cde6f1
      Joerg Bornemann authored
      
      Suppose QWebEnginePage is destroyed while there's still a combobox popup
      open. We would crash with the following stack trace:
      
      1   QtWebEngineCore::RenderWidgetHostViewQt::dpiScale
      2   QtWebEngineCore::RenderWidgetHostViewQt::GetViewBounds
      3   content::RenderWidgetHostImpl::SendScreenRects
      4   content::RenderWidgetHostImpl::OnRenderViewReady
      ...
      16  base::MessageLoop::DoWork
      17  WebEngineContext::destroy
      18  `anonymous namespace'::destroyContext
      19  qt_call_post_routines
      20  QApplication::~QApplication
      
      RenderWidgetHostViewQt still holds a pointer to WebContentsAdapterClient.
      To fix this, expose the QObject owning the adapter client, and
      hide RenderWidgetHostViewQt when it is destroyed so it won't try to render.
      
      Change-Id: Ide5543197b35038a3e1c7491ceda3f5ad10f6f07
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      d5cde6f1
  23. Jun 14, 2016
  24. Jun 09, 2016
  25. May 26, 2016
    • Alexandru Croitor's avatar
      Disabled WebEngine views should not receive focus. · 4c305cba
      Alexandru Croitor authored
      
      Currently if a QWebEngineView or a QQuickWebEngineView is disabled
      using setEnabled(false), after loading a web page, the views are
      automatically focused, and a user might see a blinking caret in an html
      input for example, even though the user can't interact with it.
      
      Fix consists in not calling the Focus() method whenever a view is
      disabled.
      
      Change-Id: I1014fb5898a5ddf01a4e9b14c3eaf5d4006e5131
      Task-number: QTBUG-53159
      Reviewed-by: default avatarMichal Klocek <michal.klocek@theqtcompany.com>
      4c305cba
  26. May 20, 2016
  27. May 19, 2016
  28. May 18, 2016
  29. May 13, 2016
  30. May 06, 2016
  31. May 04, 2016