1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 19:12:11 +01:00
Commit Graph

59 Commits

Author SHA1 Message Date
David Rosca
e3deb6cfd5 More cleanups + remove now unusued WebHistoryInterface 2015-02-08 11:51:19 +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
David Rosca
15bb39689c Remove History::optimizeHistory() function
It is no longer needed, this function was little confusing
as it actually only executed VACUUM.
Instead, execute VACUUM after clearing all history in
History::clearHistory()
2014-10-15 22:50:19 +02:00
David Rosca
b6f913dafe HistoryMenu: Don't crash in aboutToShow() when m_window is null
Closes #1487
2014-10-07 16:19:30 +02:00
David Rosca
325072881d [HistoryMenu] Show recently visited sites in top-level menu
Closes #1355
2014-06-05 19:58:32 +02:00
David Rosca
7fab76b79b [Build] Fixed build after last commit 2014-05-03 16:32:29 +02:00
David Rosca
9a3382ee85 [SideBars] Don't override cursor on scrollbars in History/Bookmarks sidebars 2014-05-03 15:23:07 +02:00
David Rosca
ad5dbe459c [HistoryTreeView] Rewrite HistoryView to use same logic as BookmarksTreeView
It also fixes issue that middle click on item opened the url in both
current and new tab
2014-05-03 15:08:47 +02:00
nowrep
6874df57d7 [Coding Style] Edited coding style (use linux style brackets)
Linux style brackets are now used also for source files.
One line blocks can now be without brackets.

Example:

if (test)
    foo();

Multi-line if statements are now written with conditionals (||, &&, ...)
at the end of line. The last line of if body does not ends with closing
bracket, instead the closing bracket is written on separate line.
One line blocks in multi-line if statements should not be without brackets.

Example:

if (test ||
    test2 &&
    test3
   ) {
    foo();
}

[ci skip]
2014-04-05 14:53:45 +02:00
nowrep
98907c2055 [WebTab] Reworked tab attaching/detaching.
This also fixes crash on detach
2014-04-01 18:47:19 +02:00
nowrep
6e71ae3c54 [ClosedTabsManager] Save icon of closed tab
Instead of searching icon from database, save the icon of tab.
It will now correctly shows icon of not-yet loaded closed tab if
the url was not in database.
2014-03-30 12:47:13 +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
96b6743ac6 [ClosedTabsButton] New button in the right corner of tabbar
Added icon for Linux theme.
But it needs a new icon for other themes...
2014-03-17 15:04:58 +01:00
nowrep
2e9ce1ba90 [CodeCleanup] Major cleanup in MainApplication class 2014-03-10 00:47:07 +01:00
nowrep
417da146e5 [QzTools] Make QzTools class and export only the class
Also fixed building on Windows
2014-03-07 22:54:50 +01:00
nowrep
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +01:00
Mladen Pejaković
8f9f187b80 Fix regression after 2a6896e57f 2014-03-01 00:22:55 +01:00
Mladen Pejaković
b18ac632df [HistoryMenu] Improvements 2014-02-28 21:12:25 +01:00
nowrep
a9bce8c775 [Code] Moved history menu into separate HistoryMenu class 2014-02-27 22:53:56 +01:00
nowrep
5e4f703ef2 [Code] Renamed qz_namespace.h to qzcommon.h 2014-02-26 20:03:20 +01:00
nowrep
afae00e4a2 [Cleanup] Rename export macro to just QUPZILLA_EXPORT 2014-02-19 22:12:32 +01:00
nowrep
404fa68a1b [Cleanup] Renamed QupZilla class to BrowserWindow 2014-02-19 22:07:21 +01:00
nowrep
d422ce3767 [Models] Decrease the delay for filtering to 300ms 2014-02-14 20:28:25 +01:00
nowrep
f9d3c102ec [Cleanup] QTimer::start() restarts timer if it is already running 2014-02-14 19:31:35 +01:00
nowrep
260447e414 [coverity] Fixes for issues found by scan.coverity.com 2014-02-01 19:21:49 +01:00
Jonathan Hooverman
d917f43cf0 Updated copyright year to 2014 2014-01-11 16:11:42 +01:00
nowrep
da15e5868d [CodingStyle] Don't use references when assigning to local variable
Let the compiler do the optimization
2013-12-30 13:43:48 +01:00
nowrep
d52b0e2cea [OptimizeDb] Move Optimize Database link to ClearPrivateData dialog. 2013-12-28 16:55:08 +01:00
Jonathan Hooverman
4848def230 Modified copyright year 2013-07-11 16:21:57 +02:00
nowrep
acbd04dd3d Improved performance of WebHistoryInterface
Use std::set to search in logarithmic time.
2013-06-09 12:05:20 +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
nowrep
d885444501 [Code] Use QVector instead of QList for elements bigger than pointer. 2013-02-26 12:56:11 +01:00
nowrep
76849082e4 [LocationCompleter] Fixes performance when drawing really long urls.
data: urls can get really long (> 1000000 characters), so don't save
them in history from now on.
2013-02-22 09:36:47 +01:00
nowrep
0a9f2ec4d6 Coding style. 2013-02-08 12:10:12 +01:00
nowrep
e28f9d438e [Code] qz_ prefixed functions moved to QzTools namespace. 2013-01-22 19:04:22 +01:00
nowrep
9f2de4b73a [Code] Made all helper functions static. 2013-01-22 18:12:21 +01:00
nowrep
89e091f09c Qt5: Main code has been edited to support both Qt4 and Qt5
It doesn't include plugins yet.
Even thought the app can be built with Qt5 now, it won't run.
I am still working on a fix.
2012-12-20 14:45:35 +01:00
Franz Fellner
454d0d47dd [Fix] Infinite loop on bookmarking a page while history is empty
Previous fix as in 7a1bbd9 introduced new bug with history
sidebar being always empty.
This commit fixes this bug.
2012-12-08 11:39:03 +01:00
nowrep
7a1bbd993d Fixed infinite loop when adding a bookmark
- when history is empty
Closes #652
2012-11-27 18:01:30 +01:00
Franz Fellner
7eaa2d11e0 Fixed crash when clearing history.
To reproduce the issue:
* clear your browsing history via the ui - do not close the browser
* start navigating pages, so that new items get inserted into the
* history model.
-> will crash as m_todayItem got deleted but not recreated, as it was
not NULLed.
2012-11-20 09:49:23 +01:00
S. Razi Alavizadeh
02a7742cc6 Fixed history case sensitive search. 2012-11-19 17:34:25 +03:30
nowrep
528f398cbe Using QLatin1String and QLatin1Char now everywhere
- it saves few unnecessary allocations
2012-09-04 12:42:45 +02:00
nowrep
4f3c3cdcc4 Fixed navigation keys not working right after closing search bar
- keys PageUp, PageDown, Space and arrows

closes #530
2012-08-27 16:02:08 +02:00
nowrep
e709e17d5c Small cleanup in code (classes holding settings as static variables)
- merged LocationBarSettings and WebSettings into one class
- new class QzSettings no longer uses static variables
2012-08-10 21:16:43 +02:00
nowrep
2b7b28db37 HistoryModel: Fixed deleting top level item (month, day)
- when it was not fetched
2012-07-04 00:21:08 +02:00
nowrep
dfb82fb3cc Using user preferred new tab position now everywhere it makes sense.
see #382
2012-06-27 18:05:09 +02:00
nowrep
7037e562ae Improved performance of searching in history model
- testing with QString::contains(QString) instead of QRegExp
2012-05-05 18:04:41 +02:00
nowrep
5b75c0e5a0 History completely rewritten into Model/View architecture.
- much faster history loading (loading history entries only when
  needed - eg. expanding top level items)
- less memory usage (sidebar and manager are using the same model)
- searching is now performed on title and url
- clear private data -> clear history is now working properly
2012-04-30 16:33:14 +02:00
nowrep
73dce1d2d2 Always using position from QContextMenuEvent when showing menus.
- so it will show menu on proper position even if you create context
  menu event eg. from keyboard
2012-04-11 18:06:50 +02:00