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
a5223ddb0c
Merge branch 'Falkon/3.0'
2018-03-09 22:53:16 +01:00
David Rosca
a50eee896c
Fix setting fallback Breeze icon theme
...
:/icons is a default fallback theme search path
2018-03-09 22:52:38 +01:00
Anmol Gautam
5c97a3abb5
Fix losing menubar visibility settings after quit from fullscreen
...
BUG: 391415
Differential Revision: https://phabricator.kde.org/D11062
2018-03-09 22:50:59 +01:00
David Rosca
2ab2e80630
MainApplication: Move connections from postLaunch to constructor
...
Also set m_isClosing in destructor
2018-03-01 19:01:33 +01:00
David Rosca
b8b43f9732
Merge branch 'Falkon/3.0'
2018-03-01 16:48:01 +01:00
David Rosca
d87cffd5db
Bookmarks: Remove default bookmarks
...
Also don't show bookmarks toolbar by default as there
is nothing to show now.
2018-03-01 16:47:12 +01:00
David Rosca
cdbc64eb6d
ProfileManager: Don't copy data when profile is from development version
...
Allows to jumping from stable version to development version
without it always backing up settings, browsedata and session.
2018-03-01 16:41:45 +01:00
David Rosca
18d009c325
BrowserWindow: Give focus to webview before loading url in loadAddress
...
BrowserWindow::loadAddress() always gets called from user interaction,
so it should always update text in location bar (it wouldn't be updated
if location bar is focused).
2018-03-01 16:27:16 +01:00
David Rosca
1c01936932
Always allow to open uknown schemes with QtWebEngine 5.11
...
This makes unknown schemes like magnet: correctly open in external
applications.
2018-03-01 16:02:41 +01:00
David Rosca
ce3f4ed1e8
Preferences: Add new options in QtWebEngine 5.11
...
- Disable automatic playing of videos
- Prevent WebRTC from leaking local IP address
2018-03-01 14:43:58 +01:00
David Rosca
e4c58424f0
JsOptions: Add new options in QtWebEngine 5.10 and 5.11
2018-03-01 14:40:56 +01:00
David Rosca
a796842dff
Bump version to 3.0.99
2018-02-28 10:38:59 +01:00
David Rosca
0118c0cb96
Version 3.0.0
2018-02-27 14:42:16 +01:00
David Rosca
d8cdee1cce
DataPaths: Remove Translations path
2018-02-26 22:04:14 +01:00
David Rosca
4d2f02ac45
Remove option to change language on per-profile basis
...
System locale is now always used.
2018-02-26 21:52:39 +01:00
David Rosca
ec1e30314c
DataPaths: Only load plugins from first path in portable build
2018-02-26 11:14:12 +01:00
David Rosca
d3ebe40e8f
Replace signals/slots with Q_SIGNALS/Q_SLOTS
2018-02-25 13:33:07 +01:00
David Rosca
49f48bdd1a
BrowserWindow: Don't resend Ctrl+Tab key press events
...
If the event is not accepted by TabWidget, it will be sent
back to BrowserWindow and end up in infinite recursion.
2018-02-24 16:42:15 +01:00
David Rosca
79297f54a2
DataPaths: Allow to override Plugins path with FALKON_PLUGIN_PATH env variable
2018-02-24 12:07:09 +01:00
David Rosca
72f9c4eb7b
DataPaths: Add locate function
2018-02-23 19:47:46 +01:00
David Rosca
86d3ebebc7
Add new Falkon icon
2018-02-23 12:58:04 +01:00
David Rosca
5e88ea7949
Add Falkon UserBase Wiki links
2018-02-16 15:24:49 +01:00
David Rosca
0706cd1997
QzCommon: Move bookmarksVersion to Bookmarks
2018-02-16 14:32:06 +01:00
David Rosca
cf7d077e3a
QzCommon: Add BUGSADDRESS
...
Also remove WIKIADDRESS and change urls to KDE/Falkon
2018-02-16 14:30:44 +01:00
David Rosca
c83f7e3c01
Remove any remaining Oxygen style workarounds
2018-02-16 12:04:46 +01:00
David Rosca
e4c2194177
ComboTabBar: Force close button on right side
...
This mainly applies to macOS where close buttons are normally on left side,
but native macOS tabbar doesn't use icons and it looks wrong with icons.
2018-02-16 12:04:29 +01:00
David Rosca
4a1d807fec
Remove QzRegExp
...
Port directly to QRegularExpression everywhere
2018-02-11 10:54:59 +01:00
David Rosca
c90e0fefd7
Make it possible to override FALKON_PLUGIN_PATH from cache
2018-02-11 09:03:46 +01:00
David Rosca
f5390ed619
CookieManager: Change to QDialog
2018-02-09 18:14:00 +01:00
David Rosca
d8174fb079
More overrides
2018-02-07 12:04:02 +01:00
David Rosca
fd759ded62
PluginProxy: Set MainApplication as parent
2018-02-07 11:24:29 +01:00
David Rosca
6c94d40187
BrowserWindow: Make Ctrl+PgUp/Down shortcuts use tab bar order
2018-02-06 17:39:47 +01:00
David Rosca
0f2728e49e
BrowserWindow: Always create tab models in initialization
2018-02-06 17:39:33 +01:00
David Rosca
0bf881c168
Plugins: Hook key events in TabWidget
2018-02-04 17:21:42 +01:00
David Rosca
6985a8567a
RestoreManager: Validate all elements in session file
...
Session file can be corrupted or have data from unsupported version
inside the file.
2018-02-04 17:20:10 +01:00
David Rosca
ae4d971d1a
BrowserWindow: Add aboutToClose signal
2018-02-04 17:18:35 +01:00
David Rosca
16c7af63b6
BrowserWindow: Add accessor for TabModel
2018-02-04 16:58:43 +01:00
David Rosca
1c7288204c
ProfileManager: Never allow to use session from newer profile version
...
Always make a backup instead of possibly corrupting it.
2018-01-31 21:04:54 +01:00
David Rosca
f8531ac632
MainMenu: Fix null session manager warnings in test mode
2018-01-31 20:45:32 +01:00
David Rosca
056d5ec3aa
Autotests: Clean test profile directory before each test
2018-01-29 00:24:09 +01:00
David Rosca
069c10c1f1
BrowserWindow: Don't show window in test mode
2018-01-29 00:21:49 +01:00
David Rosca
fa8fe079cb
SqlDatabase: Correctly create new connections for threads
...
In Qt 5.11 QSqlDatabase can be accessed only from thread where
it was created, so it is no longer possible to clone it from other
threads.
2018-01-28 12:56:32 +01:00
David Rosca
723aee6a33
MainApplication: Load private.css style from theme in private browsing
...
Closes #2575
2018-01-28 12:52:21 +01:00
David Rosca
0af95e3b1f
MainApplication: Add support for starting in test mode
2018-01-27 10:56:02 +01:00
David Rosca
7265c30aa8
Add Downloads, AdBlock and GreaseMonkey buttons to statusbar
2018-01-24 20:37:10 +01:00
David Rosca
444884bee9
Rename StatusBarMessage -> StatusBar
2018-01-24 20:36:34 +01:00
David Rosca
19bb93a4c5
MainApplication: Load UserAgentManager settings before NetworkManager
...
NetworkManager depends on UserAgentManager being loaded.
Fixes user agent settings not being applied on startup.
2018-01-24 20:34:34 +01:00
David Rosca
7b0aa61975
ProfileManager: Avoid losing session when loading profile from newer app version
...
Backup session in session manager named "backup-$version".
See #2520
2018-01-24 15:13:43 +01:00
David Rosca
6f20d5e511
Move build config options to config.h
...
Also remove NO_SYSTEM_DATAPATH and DISABLE_UPDATES_CHECK
2018-01-24 14:26:13 +01:00