1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 17:42:10 +01:00
Commit Graph

402 Commits

Author SHA1 Message Date
Jose Rios
efc4725e91 Fixed compilation for Openssl 1.1.0
Most of libcrypto and libssl internal structures were made
opaque in this version not allowing to instatiate them in
the stack.

More info:
    * https://www.openssl.org/news/openssl-1.1.0-notes.html
    * https://github.com/openssl/openssl/issues/962#issuecomment-208792020
2017-05-01 11:03:40 +02:00
srazi
9af542aa03 macOS: Disable auto window tabbing (#2261) 2017-03-20 04:28:55 +03:30
David Rosca
e150e44cc6 Replace Q_OS_MAC with Q_OS_MACOS 2017-02-10 19:00:58 +01:00
David Rosca
85f8cf881e Fix drawing text with correct color in item delegates on Windows 2017-02-07 15:47:41 +01:00
David Rosca
335c6b66c5 SpeedDial: Correctly emit load error when trying to load invalid url 2017-02-07 14:52:56 +01:00
David Rosca
41adc8f9ba Don't block focus for QListWidgets
Also set per-pixel scrolling in Preferences
2017-01-27 14:34:56 +01:00
David Rosca
7c798585ef Html5PermissionNotification: Close when request is canceled / load started 2017-01-23 09:14:46 +01:00
David Rosca
ddb60dca53 Bring back mouse grab permission workaround
It is still needed for QtWebEngine 5.7
2017-01-22 13:24:01 +01:00
David Rosca
060011e466 Use qMax and qAbs instead of std functions
Closes #2169
2017-01-21 21:23:36 +01:00
David Rosca
0584037a4f HTML5PermissionsNotification: Remove icon of the requested feature 2017-01-21 16:37:42 +01:00
David Rosca
eeef5da06c WebTab: Show notifications over webview
Mouse grab permission workaround now can be removed as the notification
(and mouse cursor) is inside webview
2017-01-21 16:33:32 +01:00
David Rosca
5cc7dd080e Fix scrolling with high resolution mouse/touchpads
Use helper class to accumulate "common steps" of 120 angle delta.
2017-01-21 12:23:53 +01:00
David Rosca
f701642e34 PageThumbnailer: Take into account devicePixelRatio 2016-12-31 16:24:51 +01:00
David Rosca
9b3fc5f404 Update ignored schemes for saving history and icons 2016-12-31 14:53:06 +01:00
David Rosca
c5e5a679bd Fix generic webpage icon with HighDPI 2016-12-30 17:20:01 +01:00
David Rosca
68e0425bde Hide tab icon when page icon is null
Completely hide the tab icon instead of showing generic webpage icon
when page icon is null.
2016-12-30 17:16:30 +01:00
David Rosca
6afc433ac8 Another HighDPI icons 2016-12-30 16:04:37 +01:00
David Rosca
9a356a61d5 Another HighDPI icons fixes 2016-12-29 16:48:09 +01:00
David Rosca
e21636c661 Add more HighDPI ready icons in data/icons/menu 2016-12-29 15:07:34 +01:00
David Rosca
485df77880 IconProvider: Store icon urls without trailing slash 2016-12-29 12:37:36 +01:00
David Rosca
d5b50edc1e PageThumbnailer: Hide scrollbars when taking page screenshot 2016-12-27 18:02:42 +01:00
David Rosca
95603f652d Fix some warnings in js scripts 2016-12-27 16:51:19 +01:00
David Rosca
157889db70 QzTools: Fix createPixmapForSite with HighDPI 2016-12-27 14:15:01 +01:00
David Rosca
0ca133bfaf Always use QPointF for positions on webpage
Also take zoom into account when setting scroll position
2016-12-27 11:58:29 +01:00
David Rosca
23af6c3af7 Fix drawing correct text color in custom item views 2016-12-26 19:41:06 +01:00
David Rosca
6117f468f4 Cleanup in Clear Recent History dialog
Also adjust paths to QtWebEngine
2016-12-24 00:15:37 +01:00
David Rosca
8a2fc0862f Fix performance when querying icons from database
Make use of the index on icons column by using GLOB
instead of LIKE and handle the escaping ourselves.

Closes #1679
2016-12-20 14:19:58 +01:00
David Rosca
3a9e0501df Fix saving new icons in database
Regression from 38bf9d2b4a
2016-12-20 12:33:43 +01:00
David Rosca
34cc74ab18 Drop the threaded icon loading completely
Also fix icons in buttons in bookmarks toolbar
2016-12-20 12:16:12 +01:00
David Rosca
c2d38dfb7d SqlDatabase::query now modifies the passed SqlQuery 2016-12-20 11:22:31 +01:00
David Rosca
d19f5de7bf SqlDatabase: Skip copy when executing query on main thread 2016-12-11 11:05:51 +01:00
David Rosca
5fb492d033 Load icons asynchronously in History and Bookmarks models
See #1679
2016-12-11 10:24:10 +01:00
David Rosca
ca3d29d917 BookmarkItem: Only try refreshing icons when icon was not found 2016-12-11 09:25:08 +01:00
David Rosca
c4804600b2 Load bookmark icons for menus in separate threads
Should help with #1679
2016-12-11 00:12:38 +01:00
David Rosca
f9c7ed9759 Drop qwebchannel.js copy and use it from qrc instead 2016-12-01 23:04:00 +01:00
David Rosca
f785d81c41 Fix creating QWebChannel on first QWebEnginePage load
The "qt" object may be undefined at the time QWebEngineScript
that creates web channel is being run. Try to create the web channel
until it finally succeeds in 100ms intervals.

Fixes the "Uncaught ReferenceError: qt is not defined" error message.
2016-11-04 10:59:28 +01:00
Vladislav Tronko
e56d01fec9 Distinguish clicked and controlclicked in ToolButton 2016-08-23 08:59:01 +02:00
David Rosca
d9202d1286 Windows: Detect new Windows versions 2016-06-14 13:15:28 +02:00
David Rosca
cfe49a5719 Use QSysInfo to obtain cpu architecture 2016-06-14 13:13:53 +02:00
David Rosca
a1cf84572d Use platformName() to check for X11 platform 2016-06-14 11:58:38 +02:00
David Rosca
766a661bfe Use cpu architecture with os name everywhere 2016-06-14 11:01:22 +02:00
David Rosca
e5de2a2403 Update UA strings + add architecture to OS string 2016-06-14 10:38:49 +02:00
David Rosca
f93ea0e199 Fix use of deprecated QStyleOptions 2016-04-24 10:49:54 +02:00
David Rosca
6eb0693e7d Remove FollowRedirectReply
QNetworkAccessManager now supports redirects, so there is
no need for it anymore.
2016-03-20 19:59:52 +01:00
David Rosca
7b726970f3 Remove unused IconFetcher 2016-03-20 19:51:26 +01:00
David Rosca
3d5f45bfc5 Don't use custom script for toggle play/pause and mute 2016-02-28 18:25:30 +01:00
David Rosca
a37fadd8dc Don't use C++11 for with Qt containers 2016-02-27 22:13:33 +01:00
David Rosca
f46364bc55 Fix typo changeOcurred -> changeOccurred 2016-02-26 10:43:34 +01:00
David Rosca
2f80ca55ef IconProvider: Prefer theme icon for bookmarks 2016-01-27 12:44:19 +01:00
David Rosca
0b0041af41 WebSearchBar: Show the search engine menu relative to lineedit 2016-01-25 14:43:12 +01:00
David Rosca
0aa64de13a IconProvider: Use theme icon for settings icon 2016-01-25 13:51:08 +01:00
David Rosca
e4abb59d3a QzTools: Return empty url when pixmap is null in pixmapToDataUrl 2016-01-24 15:47:42 +01:00
David Rosca
2a5c6ecfa1 ClickableLabel: Fix resizing icon with label 2016-01-24 13:03:16 +01:00
David Rosca
31508f2907 ToolButton: Bring back fallbackIcon property 2016-01-24 12:28:58 +01:00
David Rosca
3e0583377d Fix handling Enter key in keypad in shortcuts
Closes #1792
2016-01-02 19:58:54 +01:00
David Rosca
cbc83e81ba Remove dependency on deprecated QtScript 2015-12-18 11:25:45 +01:00
innermous
5801ff0725 WebTab: Save/Restore zoom level on restart 2015-12-17 22:21:31 +01:00
David Rosca
9f6ec040bb QzTools: Add actionShortcut function 2015-11-12 17:00:43 +01:00
David Rosca
cc39ec8150 Remove HtmlHighlighter and PlainEditWithLines
They are no longer used.
Also update copyright info in src/lib/data/html/copyright
2015-11-09 00:00:28 +01:00
David Rosca
626bf8f4bb Fix searching for strings with special whitespaces from locationbar
This fixes eg. search terms with double byte space.

Closes #1622
2015-11-06 23:54:46 +01:00
David Rosca
35fd959315 HighDpi: Save site icons to database with 32x32px size 2015-10-24 12:50:42 +02:00
David Rosca
88dba5e5ab Don't save icons for file and ftp schemes 2015-10-23 12:57:04 +02:00
David Rosca
97ce417798 Fix use of QList::first() 2015-10-23 12:26:27 +02:00
David Rosca
cefe1bce54 Remove remaining Qt 4 code 2015-10-15 17:57:03 +02:00
David Rosca
b6b7edd187 Use shorter code for QString().arg(int) 2015-10-09 20:42:25 +02:00
David Rosca
1d37a6867c PageThumbnailer: Rewrite to load thumbnails with QML WebEngineView
This way it is possible to get thumbnail even without showing the
webview.
2015-10-09 19:31:08 +02:00
David Rosca
b891d92736 Fix QzTools::ensureUniqueName again
This time it should be correct fix + added tests
2015-10-09 12:26:13 +02:00
David Rosca
d2a84319e7 Fix pointer flicker when enabling mouse lock 2015-10-06 11:15:17 +02:00
David Rosca
b4972955ce HTML5Permissions: Fix granting MouseLock permissions 2015-10-06 11:03:24 +02:00
David Rosca
9fd7c271e4 ToolButton: Fix showing both context menu and button menu on right click 2015-10-05 22:41:20 +02:00
David Rosca
75cb70d049 Don't cache icons for qupzilla: scheme
Also remove icon from SpeedDial page
2015-10-02 17:10:27 +02:00
David Rosca
6ac34f74c1 WebView: Fix loading favicons that are on different hosts than site 2015-10-02 17:05:42 +02:00
David Rosca
97ba8c6af3 Bring back PIM plugin 2015-10-02 14:13:21 +02:00
David Rosca
ffcf137967 QzTools: Fix ensureUniqueFileName when file has no suffix
Closes #1706
2015-10-01 20:05:36 +02:00
David Rosca
b24303c00b WebView: Bring back media context menu 2015-09-30 15:26:52 +02:00
David Rosca
7050ffc9e6 SearchEngines: Bring back creating search engines from forms on page 2015-09-30 14:57:41 +02:00
David Rosca
b0da5ba755 Bring back NetworkManager class 2015-09-29 11:45:39 +02:00
David Rosca
748e6ce020 Ported all X11 specific code to xcb
It now also runtime checks for X11 platform, so it should
work on Wayland without recompilation;
2015-09-25 22:08:09 +02:00
David Rosca
f0408e9c13 Bring back SiteInfo
Security and Databases tabs are removed. Image previews only
works for local images.
2015-09-25 18:31:05 +02:00
David Rosca
ced9c8553c SearchEngines: Bring back support to add engine from page 2015-09-25 17:41:46 +02:00
David Rosca
f4fb888529 QzTools: Add pixmapToDataUrl() 2015-09-25 16:04:12 +02:00
David Rosca
fc85caff57 Add QWebPage::view() that returns WebView * 2015-09-24 23:00:27 +02:00
David Rosca
9d3769c8e6 AutoFill: Save credentials from dynamically created forms
Closes #999
2015-08-31 20:49:49 +02:00
David Rosca
2e6b9b7fce Scripts: Use document.createEvent instead of new Event 2015-08-31 19:58:42 +02:00
David Rosca
32a0db31b3 AutoFill: Initial port to QtWebEngine
There are still issues with completing forms in frames
2015-08-31 18:56:52 +02:00
David Rosca
19f1ed6bfb Scripts: Register window.external to all frames
It seems that only one QWebChannel connection per page
is supported, so we need to forward window.external to
all subframes.
2015-08-31 12:44:08 +02:00
David Rosca
758fd6c687 Fix all build warnings 2015-08-30 17:42:58 +02:00
David Rosca
e83734069b Bring back support for sending POST data
This fixes searching with engines that use POST method
2015-08-30 15:36:34 +02:00
David Rosca
eec26c9af4 Bring back support for web inspector
QtWebEngine only supports remote web inspector, so this
starts it on port 33417.
2015-08-30 14:44:59 +02:00
David Rosca
20c7b3f57b PageThumbnailer: Delay creating thumbnail by 1 sec after loaded 2015-08-30 10:33:10 +02:00
David Rosca
495ebc785e Don't link to unused Qt modules 2015-08-29 18:32:57 +02:00
David Rosca
ef71be2a0e Scripts: Only emit created Event when external is not null 2015-08-29 18:22:45 +02:00
David Rosca
832bd37114 SpeedDial: Implement loading page thumbnails
QWebEngineView must be visible in order to grab page contents, so
loading thumbnails is creating a new background window that is loading
the page.
2015-08-28 20:55:10 +02:00
David Rosca
fc204b3b46 SpeedDial: Fix to work with QWebChannel
Page thumbnails are not yet implemented, otherwise it more or less
works.
2015-08-28 19:25:45 +02:00
David Rosca
431610215d AdBlock: Bring back domain specific element hiding rules 2015-05-27 19:17:29 +02:00
David Rosca
286c714593 WebPage: Bring back windowCloseRequested support 2015-05-22 23:30:26 +02:00
David Rosca
014d0d50ab WebPage: Port feature permission notifications to QtWebEngine
Currently there are missing icons for new permission types
2015-05-22 23:18:25 +02:00
David Rosca
8d7cfb0e2a Remove some Qt 4 specific code 2015-02-26 12:17:47 +01:00
David Rosca
b94135ead5 WebView: Implement icon loading 2015-02-08 11:13:12 +01:00
David Rosca
60b2386a6e Initial port to QtWebEngine
This is first quick port to QtWebEngine, most of advanced features
are not working yet. Please read README.

For now, it will use separate profile directory as well as browser
session, that means you can use both QtWebEngine and QtWebKit versions
at the same time.
2015-01-27 11:01:52 +01:00