1. Oct 06, 2014
  2. Sep 29, 2014
  3. Sep 12, 2014
  4. Sep 09, 2014
  5. Aug 29, 2014
  6. Aug 19, 2014
  7. Aug 15, 2014
    • Jocelyn Turcotte's avatar
      Handle new window/tab modifiers also on normal navigations · bf4064cd
      Jocelyn Turcotte authored
      
      AddNewContents is only called when window.open is called from JavaScript.
      
      We also want the shift/ctrl modifiers to trigger normal links to open
      in the requested disposition. In this case OpenURLFromTab will pass
      the detected disposition and we must create a new WebContents
      ourselves.
      
      Use the same code path going through
      WebContentsAdapterClient::adoptNewWindow except that we pass a null
      WebContents pointer to the WebContentsAdapter constructor and let it
      create its own when initialized.
      
      Change-Id: I817b0e72aec12723bf92d9b7ad85c1cecbf5e408
      Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
      bf4064cd
  8. Aug 12, 2014
  9. Aug 04, 2014
  10. Aug 01, 2014
  11. Jul 30, 2014
    • Allan Sandfeld Jensen's avatar
      Add api to get the favicon URL · a99922af
      Allan Sandfeld Jensen authored
      
      Adds one of the missing pieces of the QWebFrame and QWebView APIs.
      Unlike the QtWebKit version this only fetches the favicon URL, and not
      the icon. This is because we do not want to implement an icon database,
      and that the icon would be loaded asynchronous anyway, bringing no
      guarantee to be a valid icon/image yet.
      
      Change-Id: I227311ae3676044da850e687b82bee752b5079c8
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      a99922af
  12. Jun 27, 2014
  13. May 19, 2014
  14. May 16, 2014
  15. May 15, 2014
  16. May 05, 2014
  17. Apr 29, 2014
  18. Apr 15, 2014
  19. Apr 10, 2014
  20. Apr 08, 2014
    • Jocelyn Turcotte's avatar
      Render the widgets view using the scene graph into a QOpenGLWidget · 96425960
      Jocelyn Turcotte authored
      
      This means that widgets application now need to setup the GL context
      sharing as well. QWebEngineWidgets::initialize() must be called,
      which has the same effect as QWebEngine::initialize().
      The QtWebEngineWidgets now depends on the QtWebEngine module to make
      this happen.
      
      Since QOpenGLWidget is only available in Qt 5.3, this patch also
      disables the webenginewidgets module completely when building using
      Qt 5.2.
      
      Change-Id: I0e99a779d1eb080f2ccf5a338ff0763ad64e6eba
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
      96425960
  21. Mar 31, 2014
    • Simon Hausmann's avatar
      Centralize OpenGL initialization · 3d6d6594
      Simon Hausmann authored
      
      We now require the user to use QWebEngine::initialize() in main (preferably) and
      print out an error message if this wasn't set up accordingly. This limits the use
      of private scene graph API to inside QWebEngine and offers public API for users
      of the API.
      
      Change-Id: I787c176a85ab7784dbc8787d9876960b4872959e
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      3d6d6594
    • Jocelyn Turcotte's avatar
      Rough port of the documentation to QtWebEngine · 484f2d8c
      Jocelyn Turcotte authored
      
      This is a gross mechanical modification of the documentation, along with build
      system bindings to allow it to generate. This should allow doing iterative
      improvements to the documentation from now on.
      
      This fixes project-related qdoc warnings but we still need to do some serious
      work to get the documentation better fitting QtWebEngine. All the documentation
      is ported to match the current state of our headers (without trying to adapt
      to modified APIs yet) and we should clear the part of the documentation that we
      don't need at the same time that we clean up our public headers.
      
      Change-Id: I6fb4e10e8b4c1c53be7bc7c581286248ac04d4da
      Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
      484f2d8c
  22. Mar 26, 2014
  23. Mar 19, 2014
  24. Mar 06, 2014
  25. Feb 28, 2014
    • Jocelyn Turcotte's avatar
      Add HTTP and proxy authentication signals directly to QWebEnginePage · 970ccc7f
      Jocelyn Turcotte authored
      
      This allows handling calls that would be signaled by QNetworkAccessManager
      in QtWebKit.
      This pulls QtNetwork as a dependency of the QtWebEngineWidgets module
      to be able to use QAuthenticator, but isn't required otherwise.
      
      Only the request URL is available in the case of HTTP authentication
      (no access to HTTP request headers that the QNetworkReply would allow)
      and only the proxy host name in the case case of proxy authentication.
      
      This keeps the API synchronous the same way, as QtWebKit did, in
      favor of source compatibility at the cost of requiring a modal
      dialog, even though the implementation doesn't require it.
      
      Change-Id: I9e021def38e6107c9e66d2de8f86bd0328d543df
      Reviewed-by: default avatarMichael Bruning <michael.bruning@digia.com>
      970ccc7f
  26. Feb 14, 2014
  27. Feb 13, 2014
    • Jocelyn Turcotte's avatar
      Implement QWebEnginePage::findText · 324706a5
      Jocelyn Turcotte authored
      
      A few changes to the API:
      - Return the success result asynchronously.
      - FindWrapsAroundDocument and HighlightAllOccurrences are enabled by
        defaults and cannot be disabled.
      - Found text isn't updating the selection on the page like QtWebKit
        did, but triggers a separate state not available. A find count and
        current index could be exposed, but isn't in this case to keep the
        API delta lower.
      
      This also adds the possibility to pass bool results through the
      CallbackDirectory and add a new tst_QWebEnginePage::findTextResult
      test since the old test relied on the selection to be updated when
      the searched text is found.
      
      Change-Id: I8189b5aea8d832df183c6c1ae03e3f08198a9c45
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
      324706a5
    • Jocelyn Turcotte's avatar
      Update the invoke wrapper to allow bool arguments · 9df1c501
      Jocelyn Turcotte authored
      
      Forcing that arguments to be const references isn't necessary and
      prevents base types to be passed by value.
      
      Change-Id: I53ace8cf731ecaeee0b997af72d37843ef54e38f
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
      9df1c501
    • Jocelyn Turcotte's avatar
      QQuickWebEngineView new window API refactoring · b81a337a
      Jocelyn Turcotte authored
      
      Improve the code and API in a few ways:
      - Expose a more discoverable "request" argument in the signal.
      - Use the request as the carrier of the backend WebContentsAdapter
        and get rid of our handle.
      - Put the adoption method (renamed to openIn) on the request object
        and keep the view API clean of a context-specific adoptHandle method.
      - Use an enum instead of strings for the new view destination.
      - Do not let JavaScript own the request object since it won't be
        necessary until we want to support asynchronous view attachment.
        We can create the request object on the heap and let the JavaScript
        engine own the object once we want to support it.
      - Move the request class to its own header.
      - Replace tabs.currentView by currentWebView in the quicknanobrowser
        qml code since we now need this property on the root object anyway.
      
      Change-Id: I40d7d15255f516ead9f3e414dd587bf345e6ca4b
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@digia.com>
      b81a337a