1. 07 Feb, 2018 - 1 commit
  2. 07 Nov, 2017 - 1 commit
  3. 12 Sep, 2017 - 1 commit
  4. 06 Jul, 2017 - 1 commit
  5. 23 Jun, 2017 - 1 commit
    • Allan Sandfeld Jensen's avatar
      Fix crash when accessibility is disabled · 0a6707ac
      Allan Sandfeld Jensen authored
      
      With the no-accessibility feature moved to qtgui-config, we don't
      always include it where web_content_apapter_client.h is included, which
      gives it an inconsistent binary layout.
      
      Solve it by making the optional method always defined as it doesn't
      rely on anything from accessibility.
      
      Task-number: QTBUG-61200
      Change-Id: I65f34ab2b6763f3166b945e700994bd8d019a835
      Reviewed-by: default avatarAlexandru Croitor <alexandru.croitor@qt.io>
      0a6707ac
  6. 19 Jun, 2017 - 1 commit
    • Allan Sandfeld Jensen's avatar
      Avoid using string constructor of QJSValue for byte-array · 0c3542eb
      Allan Sandfeld Jensen authored
      
      We were returning the PDF byte-data as a javascript unicode string using
      the deprecated ascii cast constructor.
      
      This patch changes the behavior to match that of runJavaScript callbacks
      and uses a script value over QVariant.
      
      [ChangeLog][QtWebEngine] The callback version of WebEngineView::printToPdf
      is now called with a proper bytearray result instead of PDF byte data
      in a javascript string.
      
      Change-Id: I71565623465c54052568bb5ff34665baaa93e187
      Reviewed-by: default avatarMichal Klocek <michal.klocek@qt.io>
      0c3542eb
  7. 30 May, 2017 - 1 commit
    • Viktor Engelmann's avatar
      Store Target URL in WebContentsDelegateQt::WebContentsCreated · 93f9eed6
      Viktor Engelmann authored
      
      When opening a new window, for example by using the JavaScript
      method window.open('...'), the requested url is not stored
      in the content::WebContents object we get in
      WebContentsDelegateQt::createWindow (at this point, it should
      at least be stored as pending request in the WebContents'
      NavigationController, but it is not).
      
      Because of this, the QQuickWebEngineNewViewRequest object
      in QQuickWebEngineViewPrivate::adoptNewWindow never contained
      the url. We have access to the target url in
      WebContentsDelegateQt::WebContentsCreated, so now we store
      it there in a new property m_initialTargetUrl, from where
      WebContentsDelegateQt::createWindow takes it and passes it
      to WebContentsAdapter::adoptNewWindow as a new parameter.
      
      [ChangeLog][WebEngine] Fix WebEngineNewViewRequest::requestedUrl being empty when opening window from JavaScript
      
      Task-number: QTBUG-57675
      Change-Id: I7e2c7866899baade17ce2517e6be8b2b2709699e
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      93f9eed6
  8. 17 May, 2017 - 1 commit
  9. 26 Mar, 2017 - 1 commit
  10. 08 Mar, 2017 - 1 commit
  11. 22 Feb, 2017 - 1 commit
  12. 26 Jan, 2017 - 2 commits
  13. 16 Jan, 2017 - 1 commit
  14. 10 Jan, 2017 - 1 commit
  15. 15 Dec, 2016 - 1 commit
  16. 01 Dec, 2016 - 1 commit
  17. 29 Nov, 2016 - 1 commit
  18. 25 Nov, 2016 - 1 commit
  19. 02 Nov, 2016 - 1 commit
  20. 01 Oct, 2016 - 1 commit
  21. 27 Sep, 2016 - 1 commit
    • 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
  22. 23 Sep, 2016 - 1 commit
  23. 22 Sep, 2016 - 1 commit
  24. 20 Sep, 2016 - 1 commit
  25. 31 Aug, 2016 - 2 commits
    • 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
  26. 18 Aug, 2016 - 1 commit
    • Michal Klocek's avatar
      Add Qt Quick Controls 2 support for dialogs · baeb20b2
      Michal Klocek authored
      
      QtQuickControls1 does not handle embedded
      platforms too well. In case of eglfs platform
      we crash badly - only one window is supported.
      QtQuickControls2 on the other hand lacks the native
      look on desktop. Therefore on desktop platforms
      keep using QtQuickControls1, and on eglfs use
      QtQuickControls2.
      
      QtQuick.Dialogs are not implemented for QtQuickControls2,
      moreover required authentication dialog and prompt
      dialog are neither implemented in QtQuickControls1.
      As a workaround  make new dialogs to give
      consistent look and feel.
      
      Replace close() with reject() signal in java script
      prompt dialog to unify handling between qqc1 and qqc2
      
      [ChangeLog][QtWebEngine][General] Qt WebEngine (QML)
      now optionally uses Qt Quick 2 Controls to show standard dialogs.
      
      Task-number: QTBUG-53467
      Task-number: QTBUG-51177
      Change-Id: I42f9506357bbb82d4f04465f30a18c8013439e25
      Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
      baeb20b2
  27. 02 Aug, 2016 - 1 commit
  28. 29 Jul, 2016 - 1 commit
  29. 20 Jul, 2016 - 1 commit
  30. 02 Jul, 2016 - 1 commit
  31. 01 Jul, 2016 - 1 commit
  32. 23 Jun, 2016 - 1 commit
  33. 22 Jun, 2016 - 1 commit
    • Allan Sandfeld Jensen's avatar
      Override short-cuts to common editor commands · e0bd650c
      Allan Sandfeld Jensen authored
      
      To ensure Chromium is given a chance to handle editor commands,
      we must override these short-cuts.
      
      On OS X we must also perform the action afterwards as these are not
      handled internally by the Blink Editor.
      
      The patch solves copy/paste in flash plugins and copy/paste on OS X
      when no application short-cuts have been defined. The handling of
      short-cut override events is based on how it was handled in Qt WebKit
      
      Task-number: QTBUG-54221
      Change-Id: I748671c7bfa5662aae16c6a4b9bbe5e2bce1b907
      Reviewed-by: default avatarAlexandru Croitor <alexandru.croitor@theqtcompany.com>
      e0bd650c
  34. 16 Jun, 2016 - 1 commit
    • 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
  35. 31 May, 2016 - 1 commit
  36. 30 May, 2016 - 1 commit
  37. 26 May, 2016 - 1 commit
    • 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
  38. 06 May, 2016 - 1 commit