1. Aug 14, 2018
  2. Aug 28, 2017
  3. Nov 29, 2016
  4. May 03, 2016
  5. Jan 08, 2016
  6. Sep 01, 2015
  7. Feb 18, 2015
  8. 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
  9. Feb 12, 2014
  10. Jan 30, 2014
  11. Jan 27, 2014
  12. Jan 22, 2014
    • Jocelyn Turcotte's avatar
      Clear callbacks with an empty value on page destruction · 6fb392ee
      Jocelyn Turcotte authored
      
      The current implementation offers no way to cancel async requests.
      This means that normal applications could easily allow callbacks
      to dereference a destroyed object unless they use a smart pointer
      within the callback function object.
      
      This patch will empty the pending callback list by calling each of
      them with an empty value. This will at least allow applications to
      cover the cases where the page is expected to have a shorter or equal
      lifetime than objects referenced in the callback.
      
      Change-Id: Ia9fc556b03f5d83f904a0ff4b05dc9e440ea488c
      Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
      6fb392ee
    • Jocelyn Turcotte's avatar
      Unskip and ajust tests using setHtml, setContent, toHtml and toPlainText · 6f07e22a
      Jocelyn Turcotte authored
      
      Replace direct calls of toHtml and toPlainText to use a blocking
      helper function that spins a QEventLoop to wait for the async result.
      This should work fine for tests where the event loop is less polluted
      by other events that could cause code reentrancy through stacked stacks.
      
      Change-Id: Ic46a06a9abad782a39a620ceecdc51c3bbb6b5a1
      Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
      6f07e22a
  13. Oct 14, 2013
  14. Aug 20, 2013