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

60 Commits

Author SHA1 Message Date
David Rosca
87527762f8 IconProvider: Use encodeUrl also when searching for existing icon
As suggested by @srazi
2018-01-11 19:10:14 +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
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
d00e769749 Initial rename to Falkon 2017-08-25 17:32:32 +02: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
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
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
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
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
0aa64de13a IconProvider: Use theme icon for settings icon 2016-01-25 13:51:08 +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
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
b0da5ba755 Bring back NetworkManager class 2015-09-29 11:45:39 +02:00
David Rosca
b94135ead5 WebView: Implement icon loading 2015-02-08 11:13:12 +01:00
S. Razi Alavizadeh
a32e809bf6 Escape SQLite wildcards when using LIKE clause 2014-06-13 23:52:44 +04:30
David Rosca
59b893075a [LocationCompleter] Fix showing icons after last commit 2014-05-30 22:06:58 +02:00
nowrep
ab638a5525 [IconProvider] Use fallback oxygen icon theme (in oxygen-fallback.qrc)
Instead of manually setting fallback icons, use globally fallback theme.
2014-03-24 16:09:30 +01:00
nowrep
7e57cb63f5 [LocationCompleter] Run completions search in separate thread
Currently, there is one issue with inline domain completion. It is
also searched from the separate thread, and thus it gets displayed
after a small delay.

Closes #1135
2014-03-15 19:36:03 +01:00
nowrep
688e021fff [DatabaseWriter] Replace with new SqlDatabase class 2014-03-15 01:14:06 +01:00
nowrep
2e9ce1ba90 [CodeCleanup] Major cleanup in MainApplication class 2014-03-10 00:47:07 +01:00
nowrep
f558a836b0 [Code] Create singletons with Q_GLOBAL_STATIC macro 2014-03-07 18:24:13 +01:00
nowrep
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +01:00
nowrep
d328ad2023 [Bookmarks] New JSON backend supports multi-level folders and more...
Merge branch 'bookmarks'

Closes #458
2014-02-10 18:13:38 +01:00
nowrep
75f3460a27 [Bookmarks] Automatically migrate bookmarks from SQLite to JSON 2014-02-10 16:58:43 +01:00
nowrep
946354a15d [Bookmarks] Load default bookmarks on error 2014-02-09 18:55:11 +01:00
nowrep
b3c4d5d8da [Bookmarks] Draw separators in BookmarksTreeView 2014-02-09 17:27:55 +01:00
Javier Llorente
c84f3d2366 [Theme] Use theme icon for Exit Fullscreen button in toolbar 2014-02-07 23:14:32 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
Mladen Pejaković
3a3e7341a2 Thematic changes 2014-01-05 00:44:36 +01:00
nowrep
197240845d [Oxygen] Tweaked last icon to be used from theme. 2013-06-02 22:47:02 +02:00
nowrep
5f5cf7417d [Code] Updated coding style with patched Astyle + normalized signals.
Code was formatted with patched astyle that correctly formats
foreach macro.
Normalize tool is now used to normalize all signal/slots signatures
to normalized format. It saves few reallocations on connections.
2013-03-06 09:08:29 +01:00
S. Razi Alavizadeh
06ad80583c IconProvider: fixed, return a fallback icon on non-linux OSes 2013-02-22 01:25:28 +03:30
nowrep
44693080cb Qt5: Fixed Q_WS_X11 macro usage 2012-12-22 12:47:45 +01:00
nowrep
528f398cbe Using QLatin1String and QLatin1Char now everywhere
- it saves few unnecessary allocations
2012-09-04 12:42:45 +02:00
nowrep
7b21bf61f1 Q_OS_X11 macro is invalid in both Qt 4 & 5.
- so for now, use just Q_WS_X11
2012-09-04 10:54:39 +02:00