1. Jul 22, 2016
  2. Jun 20, 2016
  3. Jun 10, 2016
  4. Jun 07, 2016
  5. Jun 03, 2016
  6. May 24, 2016
  7. May 11, 2016
    • Alexandru Croitor's avatar
      [Simplebrowser] Fix command line option parsing. · bdaea370
      Alexandru Croitor authored
      
      Passing just command line options to Chromium prevents loading of the
      initial startup url. This happens because the startup url is
      overridden by the last command line argument, which happens to be a
      Chromium option, thus an invalid URL.
      
      Fix consists in using the last command line argument as the loading url
      only if it can be parsed as valid url.
      
      Change-Id: I3615ef57b6eddc5098de79cba1b1ba6b6af193ef
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
      bdaea370
  8. May 10, 2016
  9. May 09, 2016
  10. May 04, 2016
    • Michal Klocek's avatar
      Quick fix for not working history in demobrowser · 5dad8663
      Michal Klocek authored
      
      Current implementation of history manager seems to
      be not straight forward. To display history we use QList to keep
      history items plus model adapter in form of HistoryModel
      (QAbstractTableModel) plus HistoryFilterModel to avoid
      duplication, plus HistoryTreeModel to make a tree view with
      split for dates, plus TreeProxyModel on top to enable
      sorting. This approach unfortunately falls apart when items
      should be deleted from the model by treeView. This ends
      badly with corrupted cached values.
      
      This fix removes history items using history manager.
      It also abandons HistoryTreeModel since frequent sourceReset calls make
      it unusable. If split for dates it desired the better approach
      would be to implement history tree model already at HistoryManager
      level to avoid unmaintainable code.
      
      Task-number: QTBUG-49913
      Task-number: QTBUG-50255
      Change-Id: Ic9cebb52b623bd453119e11b5e907eaa90609e34
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
      5dad8663
    • Alexandru Croitor's avatar
      [Demobrowser] Fix command line option parsing. · 4c2a17d8
      Alexandru Croitor authored
      
      Passing just command line options to Chromium prevents loading of the
      initial startup url. This happens because the startup url is
      overridden by the last command line argument, which happens to be a
      Chromium option, thus an invalid URL.
      
      Fix consists in iterating through the command line arguments, until
      a non-option argument is found (doesn't start with a dash), and use
      that as the startup URL.
      
      Change-Id: Ibe2946b25b2e023c094a85e50d2ccbd5bfce2977
      Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>
      4c2a17d8
  11. May 02, 2016
  12. Apr 21, 2016
  13. Apr 20, 2016
  14. Apr 15, 2016
    • Kai Koehne's avatar
      SimpleBrowser: Fix loading icon · d49bc176
      Kai Koehne authored
      
      Change-Id: I008b649b43069978b6ce19b2faf5a557dd67c756
      Reviewed-by: default avatarMichal Klocek <michal.klocek@theqtcompany.com>
      d49bc176
    • Alexandru Croitor's avatar
      Demobrowser: Fix black screen after exiting fullscreen mode on OS X. · 4474bca6
      Alexandru Croitor authored
      
      When exiting fullscreen while viewing a full screen video, the video is
      replaced with a black screen, and does not switch back to the initial
      page.
      
      This happens when hide() is called on a native window while being in
      fullscreen, which hides the window, but does not exit full screen mode,
      thus showing a black screen.
      
      The workaround fix consists of two parts:
      1) Make sure to delete the fullscreen window object, to release the
      OS virtual screen it occupies (visible in mission control as a black
      rectangle).
      2) Hide and show the main page window, to force exit fullscreen mode.
      
      Change-Id: I364d4427e84957ed97f57a14e2cfc2c95aed6f48
      Task-number: QTBUG-52058
      Reviewed-by: default avatarKai Koehne <kai.koehne@theqtcompany.com>
      4474bca6
  15. Apr 13, 2016
  16. Apr 08, 2016
  17. Apr 07, 2016
  18. Mar 31, 2016
  19. Mar 30, 2016
    • Allan Sandfeld Jensen's avatar
      Add API for context menu data · 6454b6b2
      Allan Sandfeld Jensen authored
      
      For QWebEnginePage users to be able to make custom context menu or
      extend the default context menu, they need information about the
      context.
      
      This patch adds a QWebEngineContextMenuData class that contains
      contextual information when a context menu is being requested.
      
      This is also means we can finally generate a custom context-menu in
      the demobrowser the same way we did in QtWebKit.
      
      Task-number: QTBUG-51079
      Change-Id: I695b8cbf648bdc7f119b0ed51ab685cf2f8de8e4
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>
      6454b6b2
  20. Mar 25, 2016
  21. Mar 18, 2016
  22. Mar 16, 2016
    • Michael Bruning's avatar
      Add callback to printing API · df222f8c
      Michael Bruning authored
      
      Also corrects and updates the printToPDF docs to reflect recent changes.
      
      Change-Id: Iffe276a1046d6d55923939f9d72b97cd533017ff
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
      df222f8c
    • Michal Klocek's avatar
      Strip down demobrowser to become simplebrowser · 0b6a3254
      Michal Klocek authored
      
      Demobrowser changes:
      * remove QLocalServer/Socket
      * remove AutoSaver
      * remove restoreLastSession
      * remove general QSettings
      * remove downloadManager
      * remove bookmarkManager
      * remove historyManager
      * remove searchBar
      * favor setStyleSheet over overriding paint methods
      * use lambdas where suitable
      * use QProgressBar instead of own painted widget
      * use QToolButton instead of own painted buttons
      * remove QStackWidget, use single UrlLineEdit per window
        instead of per tab
      * split files to keep own classes: webpage and webview
      * remove tracking windows by QPoiner
      * remove WebPageActionMapper, TabBar classes
      * remove QDrag dead code
      * remove special OS X close app handling
      * fix encapsulation, clean up application logic
      
      Change-Id: I4849b6a2de739dea4f01229abdb90418601a2397
      Reviewed-by: default avatarKai Koehne <kai.koehne@theqtcompany.com>
      Reviewed-by: default avatarAlexandru Croitor <alexandru.croitor@theqtcompany.com>
      0b6a3254
  23. Mar 07, 2016
  24. Mar 01, 2016
  25. Feb 25, 2016
  26. Feb 16, 2016
  27. Feb 10, 2016
  28. Feb 04, 2016
  29. Feb 01, 2016