1. 19 Jul, 2020 1 commit
    • Stefano Crocco's avatar
      Add support for full screen web pages · bc3a0717
      Stefano Crocco authored
      Konqueror already has a full screen mode where the menu bar and the
      title bar are hidden and the window takes all the space in the screen.
      However, this isn't enough as some web pages (for example when those
      playing a video) now expect a full screen mode (which I call complete
      full screen) where an element of the page, and not just the window,
      takes all the screen.
      
      To achieve this kind of full screen, it's necessary to hide not only the
      menu bar and the title bar, but also the status bar, the tab bar and the
      tool bars. In theory, also the side bar and the terminal emulator should
      be hidden, but this commit doesn't to that.
      
      When switching to a different tab, the complete full screen mode is
      automatically exited (because it's strictly related to the contents
      of the page). Complete full screen mode is NOT entered again
      automatically when switching back to the previous page. This is
      consistent with the behavior of other browsers such as Chrome or
      FireFox.
      
      If Konqueror ...
      bc3a0717
  2. 18 Jul, 2020 1 commit
    • Jonathan Marten's avatar
      Port and update the Konqueror core (client, libkonq, src) · 1a62207c
      Jonathan Marten authored
      Note that this change must be applied after all of the others
      that remove KDELibs4Support, otherwise the build will fail.
      
      kDebug(), qDebug() -> qCDebug() with logging category
      No need to link with KDELibs4Support
      QDrag::start() -> QDrag::exec() with explicit argument
      Window title and action icon for "Configure Extensions"
      1a62207c
  3. 17 Jul, 2020 2 commits
    • Jonathan Marten's avatar
      Port and update the Sidebar · 43d36acc
      Jonathan Marten authored
      No need to link with KDELibs4Support
      Use Qt5 signal connection syntax
      kDebug(), qDebug() -> qCDebug() with logging category
      Use 'override' as identified by GCC 9.3.0
      No need for KonqPlacesCustomPlacesView
      KInputDialog -> QInputDialog
      SmallIcon() -> QIcon::fromTheme()
      KMenu -> QMenu
      Correct icon names for Bookmarks and History
      Correct use of QStandardPaths::locateAll() in ModuleManager::availablePlugins()
      
      Ignoring for the moment subdirectories 'trees' (which needs Qt3Support)
      and 'web_module' (which depends on KHTML).
      43d36acc
    • Jonathan Marten's avatar
      Port and update the Konqueror settings · 818eb665
      Jonathan Marten authored
      kDebug(), qDebug() -> qCDebug() with logging category
      No need to link with KDELibs4Support
      Use Qt5 signal connection syntax
      Remove konq/kcustommenueditor.*, no longer used and needs Qt3Support
      Convert deprecated What's This -> tool tips
      Remove konqhtml/pluginopts.* and associated, Netscape plugins not supported since KDE3
      Remove konqhtml/khttpoptdlg.*, no longer supported or accessible from GUI
      KDialog -> QDialog
      QObject::blockSignals() -> QSignalBlocker
      KCModule::changed() -> markAsChanged()
      Make the adblock import/export help appear again
      KFileDialog -> QFileDialog
      KIntSpinBox -> QSpinBox
      818eb665
  4. 15 Jul, 2020 4 commits
    • Jonathan Marten's avatar
      Port and update the Shell Command plugin · 42a4e4db
      Jonathan Marten authored
      kDebug(), qDebug() -> qCDebug() with logging category
      No need to link with KDELibs4Support
      Use Qt5 signal connection syntax
      KDialog -> QDialog
      KInputDialog -> QInputDialog
      KIO::NetAccess::mostLocalUrl() -> KIO::mostLocalUrl()
      42a4e4db
    • Jonathan Marten's avatar
      Port and update the WebEnginePart · 1b6ba1e8
      Jonathan Marten authored
      kDebug(), qDebug() -> qCDebug() with logging category
      Use Qt5 signal connection syntax
      KSslInfoDialog::errorsFromString() -> certificatErrorsFromString()
      Comment out unused KParts::SelectorInterface functions
      QHostAddress::operator=(QString) -> QHostAddress(QString)
      1b6ba1e8
    • Jonathan Marten's avatar
      Port and update the Search Bar plugin · 7830a5a0
      Jonathan Marten authored
      kDebug(), qDebug() -> qCDebug() with logging category
      Use Qt5 signal connection syntax
      No need to link with KDELibs4Support
      KLocale -> QLocale
      QUrl::addQueryItem() -> QUrlQuery
      QWeakPointer -> QPointer
      QFontMetrics::width() -> horizontalAdvance()
      Warning regarding deprecated QScriptEngine
      
      Using a QWeakPointer as a tracked pointer to a QObject is now
      deprecated as obsolete, so the most appropriate type to use for
      maintaining a reference to the associated KPart would seem to
      be a QPointer.
      7830a5a0
    • Jonathan Marten's avatar
      Port and update the Image Gallery plugin · f4137b33
      Jonathan Marten authored
      kDebug(), qDebug() -> qCDebug() with logging category
      No need to link with KDELibs4Support
      Convert layouts to use QFormLayout
      KIntNumInput -> QSpinBox
      Use Qt5 signal connection syntax
      Replace deprecated "What's This" with tool tips
      KToolInvocation::invokeBrowser() -> QDesktopServices::openUrl()
      KLocale::formatDate() -> QLocale
      KImageIO::pattern() -> QImageReader/QMimeDatabase
      KIO::NetAccess::file_copy() -> QFile::copy() - files are known to be local
      f4137b33
  5. 11 Jul, 2020 1 commit
  6. 10 Jul, 2020 1 commit
    • Jonathan Marten's avatar
      Fix proxy configuration where WebEngine is not the default · efb58d59
      Jonathan Marten authored
      Commit 2b45b2af introduced checking and synchronisation of the KIO proxy
      configuration with WebEngine (which can only use a limited set of the
      available options).  However, if WebEngine is not the default part
      (webengineIsDefault in KonqMainWindow::updateProxyForWebEngine()), the
      Qt application proxy is unconditionally set to NoProxy.  This may not be
      correct if the user has set proxy environment variables suitable for
      WebEngine but it is not the default.
      
      In order to cover the case where WebEngine is not the default but the user
      may wish to switch to it later, if it is not the default then assume that
      the existing proxy settings are as intended and do not change them.
      efb58d59
  7. 28 Jun, 2020 1 commit
  8. 24 Jun, 2020 1 commit
  9. 18 Jun, 2020 2 commits
  10. 17 Jun, 2020 2 commits
  11. 14 Jun, 2020 1 commit
    • Stefano Crocco's avatar
      Ensure that WebEnginePart uses proxy settings from KCM · 2b45b2af
      Stefano Crocco authored
      Summary:
      Force WebEnginePart to follow the global KDE proxy settings.
      
      QtWebEngine uses the proxy set with QNetworkProxy::setApplicationProxy, which
      means that it ignores the KDE proxy settings chosen by the user.
      
      To force QtWebEngine to respect the user's preferences, read the proxy settings
      using KProtocolManager and call QNetworkProxy::setApplicationProxy
      appropriately.
      
      QtWebEngine only supports a small subset of the options provided by the
      proxy KCM: if the current configuration isn't supported, the user is
      warned and asked how to proceed.
      
      If the default HTML engine is not QtWebEngine,
      QNetworkProxy::setApplicationProxy is still called in case of a
      supported configuration, but nothing is done in case of an unsupported
      configuration.
      
      Reviewers: dfaure
      
      Differential Revision: https://phabricator.kde.org/D29066
      2b45b2af
  12. 13 Jun, 2020 1 commit
  13. 07 Jun, 2020 1 commit
  14. 02 Jun, 2020 4 commits
  15. 31 May, 2020 1 commit
  16. 23 May, 2020 5 commits
  17. 21 May, 2020 1 commit
  18. 19 May, 2020 1 commit
  19. 17 May, 2020 1 commit
  20. 10 May, 2020 3 commits
  21. 09 May, 2020 1 commit
  22. 05 May, 2020 1 commit
  23. 04 May, 2020 1 commit
  24. 01 May, 2020 2 commits