1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-21 03:06:34 +01:00
Commit Graph

135 Commits

Author SHA1 Message Date
e7d9ecaa3a
Qt6 Port position related functions
GIT_SILENT

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2023-12-17 11:59:59 +01:00
883f24aeba
Always use nullptr for zero pointer
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2023-11-21 01:12:28 +01:00
eb5b015a5d
Update ECM to KF 5.240.0 version
Update code to make it compile.

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
2023-11-20 23:50:18 +01:00
e02a8ee664
Remove Qt5 support 2023-11-20 23:50:18 +01:00
Tiernan Hubble
632cd4c4ba
Initial support for building with Qt6/KF6. 2023-09-28 21:06:09 +02:00
Laurent Montel
5ce71aa6e1 Add missing override 2022-06-27 19:25:20 +02:00
Laurent Montel
424340e392 Use Q_EMIT/nullptr/fix gcc warning 2022-06-27 19:13:24 +02:00
Laurent Montel
3fa1e81105 Modernize code 2022-06-19 09:25:06 +02:00
Laurent Montel
ba459ba600 Use nullptr here too 2022-06-18 08:53:33 +02:00
Laurent Montel
d6c4035ff6 We depend against qt5.15 2022-06-18 07:37:18 +02:00
Allan Sandfeld Jensen
8080d3b70b Parse but ignore unsupported adblock patterns 2022-01-31 16:56:51 +00:00
0e25b116cb SearchBar - Show number of matches found on page search
Summary: BUG: 395429

Test Plan: Open searchbar on webpage and type some text which is present on the page

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D27095
2020-02-15 15:32:32 +01:00
David Rosca
63aa4028a4
SearchToolBar: Remove warning message that no results were found 2019-03-22 14:01:20 +01:00
Carl Schwan
9601e8ad34
Use a searchbar similar to the one in okular
Summary: {F6674717}

Reviewers: #falkon, #vdg, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca, loh.tar, SGOrava, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D19625
2019-03-14 13:56:40 +01:00
David Rosca
b87ccf714c
Fix all override warnings 2019-03-01 17:08:50 +01:00
Laurent Montel
ec8217035f Remove deprecated method 2019-03-01 08:49:55 +01:00
David Rosca
a237c8ff87
SearchToolBar: Add Shift+Enter shortcut to find previous
BUG: 402989
FIXED-IN: 3.1.0
2019-01-24 15:53:59 +01:00
Laurent Montel
4c9d503699 Const'ify 2019-01-11 07:40:51 +01:00
Laurent Montel
4de3e4c703 Fix some clazy warnings 2019-01-08 13:28:02 +01:00
David Rosca
cba7f32666
WebTab: Fix size of web inspector in splitter
BUG: 397596
FIXED-IN: 3.1.0
2018-12-24 20:58:05 +01:00
David Rosca
51eb65ecec
SearchToolBar: Ignore old search callbacks
BUG: 401343
FIXED-IN: 3.1.0
2018-12-24 14:05:29 +01:00
David Rosca
7fce81feaa
Merge branch 'Falkon/3.0' 2018-05-03 13:42:10 +02:00
David Rosca
9375b474ba
BrowserWindow: Track webview that initiated html fullscreen
Fixes issue where it wouldn't be possible to leave fullscreen
with F11 shortcut after closing webview that was in html fullscreen.

BUG: 393797
FIXED-IN: 3.0.1
2018-05-03 13:41:55 +02:00
David Rosca
162f09901d
Merge branch 'Falkon/3.0' 2018-03-25 09:13:44 +02:00
David Rosca
ba3563362d
TabIcon: Avoid infinite loop when trying to change size from resize event
Instead call updateIcon delayed after setting tab button which achieves
resizing TabIcon to correct size too.

Fixes high cpu load from last commit.
2018-03-25 09:09:58 +02:00
David Rosca
9ee1fc9c59
Merge branch 'Falkon/3.0' 2018-03-24 21:47:53 +01:00
David Rosca
bf0043e16c
Export WebTab::SavedTab 2018-03-23 12:09:21 +01:00
David Rosca
f80b0bcbb5
Merge branch 'Falkon/3.0' 2018-03-17 13:58:46 +01:00
David Rosca
dc131ddfee
NavigationBar: Fix syncing back/forward buttons state with web history
BUG: 391331
FIXED-IN: 3.0.1
2018-03-17 13:55:35 +01:00
Julian Wolff
d708fea839 Use selected text in searchToolBar
Summary:
With this patch, the currently selected text in a webpage is automatically inserted into the
searchToolBar when it is opened.
This matches the behaviour of the search tool bar in Kate.

Test Plan:
Open a webpage. Select a single line of text. Press Ctrl+F. The selected text is inserted into the
searchToolBar.

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: drosca

Differential Revision: https://phabricator.kde.org/D11210
2018-03-10 15:05:37 +01:00
David Rosca
d3ebe40e8f
Replace signals/slots with Q_SIGNALS/Q_SLOTS 2018-02-25 13:33:07 +01:00
Anmol Gautam
c67a32a845
fixed drop url over unrestored tabs (#2604) 2018-02-12 22:13:19 +01:00
David Rosca
315218db9d
TabModel: Add BackgroundActivityRole 2018-02-11 16:20:57 +01:00
David Rosca
1ff43ec6d8
WebTab: Raise notifications instead of clearing parent 2018-02-07 11:23:32 +01:00
David Rosca
41b6ae21cd
WebTab: Return requestedUrl when url is empty 2018-02-06 17:40:35 +01:00
David Rosca
408b2ffad6
TabWidget: Add public webTab method
Also cleanup tabbedwebview.h includes.
2018-02-05 16:44:23 +01:00
David Rosca
9eccf4fae3
TabModel: Rework drag&drop logic
Use QMimeData subclass to safely pass pointers.
Only allow to drop one tab at a time and disable drop action
when not possible. Allow to move tabs to other windows, with the
exception of tabs with children.
2018-02-04 17:23:06 +01:00
David Rosca
095e0ff517
WebTab: Add sessionData property 2018-02-04 17:21:57 +01:00
David Rosca
e6b220a87a
WebTab: Add option to prepend child tabs instead of appending 2018-02-04 17:20:00 +01:00
David Rosca
e9f3679bb1
TabTreeModel: Sync top-level tabs with main tabbar
This way the order of top-level tabs is also preserved in session.
2018-02-04 17:18:23 +01:00
David Rosca
af95dd14e2
WebTab: Fix updating isCurrentTab in attach 2018-02-04 16:59:23 +01:00
David Rosca
01c5397fef
WebTab: Don't set "Loading..." tab text
Instead improve page title from url when title is empty
2018-02-04 16:58:18 +01:00
David Rosca
29735b24c8
WebTab: Add makeCurrentTab and closeTab methods 2018-02-04 16:58:01 +01:00
David Rosca
188082b690
TabModel: Add AudioPlayingRole and AudioMutedRole 2018-02-04 16:56:04 +01:00
David Rosca
85def54d3c
WebTab: Preserve order of child tabs in session file 2018-01-31 21:05:30 +01:00
David Rosca
4bb75de25c
WebTab: Fix removing from existing parent in addChildTab 2018-01-31 21:05:21 +01:00
David Rosca
fa19d97dc4
WebTab: Don't add pinned tabs to tab tree 2018-01-31 21:03:11 +01:00
David Rosca
e57fb65c95
Add TabTreeModel
This model orders tabs in "Tree Style Tabs" fashion.
2018-01-31 21:03:06 +01:00
David Rosca
57b605e4e0
TabModel: add CurrentTabRole and LoadingRole 2018-01-31 21:01:36 +01:00
David Rosca
2b994920ad
WebTab: Fix detaching completer and site icon
Fixes crash when detaching tab and closing the originating window.
2018-01-31 20:59:32 +01:00