1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-23 02:32:10 +02:00
Commit Graph

366 Commits

Author SHA1 Message Date
David Rosca
f80d827e59 QzTools: Use correct screen for widget in centerWidgetOnScreen
BUG: 384543
2018-01-02 15:03:50 +01:00
David Rosca
ef06ed567a Add ClosedWindowsManager allowing to restore closed windows
Closes #2306
2018-01-02 15:03:11 +01:00
David Rosca
16fcae4202 ClosedTabsManager: Rewrite to use WebTab::SavedTab 2018-01-02 14:59:06 +01:00
David Rosca
1ea0c570c4 SqlDatabase: Remove exec and execAsync methods 2017-12-23 18:34:46 +01:00
David Rosca
c1c168aae9 Create every QSqlQuery with correct database for current thread
Queries are now always executed on correct database instance.
Databases are also stored in thread local storage instead of in hash
table with mutex.

Closes #2498
2017-12-18 13:06:42 +01:00
David Rosca
fd1b8ca16f IconProvider: Save icon urls as QString instead of QByteArray
Saving it as QByteArray results in sqlite treating it as binary data
and breaks the index search.

Closes #1474
2017-11-13 13:28:28 +01:00
David Rosca
e8807fd901 Fix build on macOS < 10.12
Closes #2473
2017-11-08 15:59:17 +01:00
David Rosca
fe82dde871 IconProvider: Use SqlDatabase to exec query on correct database in imageForDomain
Fixes crash when being called from multiple threads with Qt 5.10

Closes #2491
2017-11-01 17:36:51 +01:00
David Rosca
efff69b7b2 Continue with Falkon renaming 2017-08-25 17:55:52 +02:00
David Rosca
d00e769749 Initial rename to Falkon 2017-08-25 17:32:32 +02:00
David Rosca
bc65a0a038 Add RemoveItemFocusDelegate and use it in SearchEnginesDialog 2017-06-08 13:08:38 +02:00
David Rosca
74c65c2272 Password observer: Also use 'login' input name as username 2017-05-29 16:15:09 +02:00
David Rosca
57172459d8 Fix comparing tagName in form observer
Listen also to subtree mutations

Closes #2321
2017-05-29 16:08:41 +02:00
David Rosca
54949f94f3 AesInterface: Don't use deprecated RAND_pseudo_bytes 2017-05-03 21:17:09 +02:00
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