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

2050 Commits

Author SHA1 Message Date
srazi
90c9caeb18 Windows: Fix compile issue. 2016-05-11 16:03:34 +04:30
David Rosca
b8f5a4ccf1 Fix build with Qt 5.6 2016-05-11 11:09:50 +02:00
David Rosca
c004d52db1 Run js code in ApplicationWorld with QtWebEngine 5.7 2016-05-10 10:47:35 +02:00
Vlad
be72477855 Remove redundant mkdir instruction (#1963) 2016-05-03 16:49:09 +02:00
David Rosca
f93ea0e199 Fix use of deprecated QStyleOptions 2016-04-24 10:49:54 +02:00
David Rosca
56399c0fab Fix use of deprecated QStyleOptions 2016-04-24 10:17:13 +02:00
David Rosca
658f71c337 Fix setting default font families
Closes #1955
2016-04-23 09:47:00 +02:00
David Rosca
9497013197 CommandLineOptions: Don't exit on unknown option
Makes it possible to pass options to Chromium
2016-04-23 09:46:49 +02:00
David Rosca
838ec366de Fix parenting WebPage when created from WebPage::createWindow
Closes #1949
2016-04-17 09:08:03 +02:00
David Rosca
236eea97f0 WebPage: Check view() for nullptr in windowCloseRequested
Closes #1944
2016-04-14 17:22:33 +02:00
David Rosca
572b39cd2a DownloadManager: Always call QWidget::timerEvent 2016-04-08 11:05:42 +02:00
David Rosca
c7423420d1 Preferences: Replace "Netscape plugins" -> "Pepper plugins"
Only Pepper API plugins are supported by QtWebEngine.
2016-04-06 17:31:35 +02:00
David Rosca
90e72aa88f Small cleanup in WebView 2016-04-06 17:24:15 +02:00
David Rosca
d8682ff51d WebHitTestResult: Map position to page viewport coords
Closes #1927
2016-04-06 17:22:44 +02:00
David Rosca
9a415bf40a Enable updates check only on Windows 2016-04-05 10:20:20 +02:00
David Rosca
49315fa84e BookmarksToolbar: Set 0 layout spacing when not on OS X 2016-04-05 09:30:43 +02:00
David Rosca
055210ca0a Hide "Inspect Element" when web inspector is not enabled
Closes #1905
2016-04-05 09:30:43 +02:00
ravas
effda91f7c ensured the window geometry is remembered on OS X
* ensured the window geometry is remembered on OS X

It was always starting based on:
int windowWidth = desktop->availableGeometry().width() / 1.3;
int windowHeight = desktop->availableGeometry().height() / 1.3;

because quitApp isn’t called on OS X.

* ensured the window geometry is remembered on OS X (v2)

* tweaked coding style
2016-04-05 09:07:40 +02:00
David Rosca
209ba1f44c PluginProxy: Remove plugin from wheel handlers on unload
Fixes crash when unloading AutoScroll plugin

Closes #1916
2016-04-04 21:14:40 +02:00
ravas
7a64e4a0f1 fixed overlapping bookmarks on the toolbar
Closes #1896
2016-04-04 21:09:17 +02:00
David Rosca
5f84f29c4b Also backup settings.ini when incompatible profile is detected 2016-03-30 14:10:57 +02:00
David Rosca
a66e179b40 Misc fixes
Correctly initialize QJsonParserError
2016-03-30 11:53:41 +02:00
David Rosca
dfa04388c7 Fix build on Windows 2016-03-30 11:50:46 +02:00
David Rosca
71b6d922be WebView: Handle create WebBrowserWindow
Instead of custom handling of shift + mouse click, use
QWebEngineView::createWindow. It should fix the issue with
JavaScript catching the mouse click performing some action
and QupZilla trying to open new window.

Closes #1898
2016-03-30 09:10:57 +02:00
David Rosca
91e6c2eb71 Mac: Fix crash on startup when showing incompatible profile dialog
QEvent::ApplicationActivate is sent when incompatible profile
warning QMessageBox is shown. We should not create new BrowserWindow
at this point as the initialization is not yet completed.

New window should really be only created when there is no
application window at all.

Closes #1890
2016-03-21 11:09:44 +01:00
David Rosca
6eb0693e7d Remove FollowRedirectReply
QNetworkAccessManager now supports redirects, so there is
no need for it anymore.
2016-03-20 19:59:52 +01:00
David Rosca
7b726970f3 Remove unused IconFetcher 2016-03-20 19:51:26 +01:00
David Rosca
b63a798ad7 NetworkManager: Enable FollowRedirects and SPDY
Note that NetworkManager is not used by QtWebEngine, it is used
only for downloading other data by QupZilla (eg. downloading
user scripts, open search engines, checking for updates, ...)
2016-03-20 19:37:41 +01:00
trnkava1
a741729476 Deleted unused MacMenuReceiver 2016-03-19 14:07:48 +01:00
trnkava1
89d565da6a Mac: Fixed opening Main Menu from button 2016-03-19 14:04:25 +01:00
trnkava1
878cb8b950 fixed compilation with openssl from homebrew 2016-03-19 13:44:48 +01:00
Vladislav Tronko
65667b95db Change background image instantly and for all speed dials 2016-03-07 14:22:08 +02:00
David Rosca
3d5f45bfc5 Don't use custom script for toggle play/pause and mute 2016-02-28 18:25:30 +01:00
David Rosca
a37fadd8dc Don't use C++11 for with Qt containers 2016-02-27 22:13:33 +01:00
David Rosca
3d2001a249 LocationBar: Use normal timer for hiding progress 2016-02-27 17:12:39 +01:00
David Rosca
f46364bc55 Fix typo changeOcurred -> changeOccurred 2016-02-26 10:43:34 +01:00
Vladislav Tronko
f744ae93d2 Removed redundant changeOccurred 2016-02-26 08:28:05 +02:00
Vladislav Tronko
7c5cf9b2c4 Added 'Open in private window' option in bookmarks toolbar 2016-02-25 22:14:53 +02:00
David Rosca
96bc812c50 Update copyright year to 2016 2016-02-25 18:50:49 +01:00
David Rosca
be110d2d8f Don't focus locationbar of non-empty tab when restoring session 2016-02-25 18:47:46 +01:00
David Rosca
844f439526 Merge pull request #1853 from innermous/dev-bookmarks
Feature: implemented bookmark editing on the fly
2016-02-20 15:30:39 +01:00
David Rosca
4a1b67ec2b WebInspector: Disable web inspector by default
It is now needed to manually set the QTWEBENGINE_REMOTE_DEBUGGING
environment variable.
2016-02-20 15:25:18 +01:00
David Rosca
a819fca7dc OpenSearchEngine: Don't accept non http(s) urls 2016-02-20 14:55:54 +01:00
Vladislav Tronko
62ac5581ff Fixed saving bookmarks toolbar display options 2016-02-20 14:27:44 +02:00
Vladislav Tronko
2a6cd7764c Fix a typo in add bookmark item function 2016-02-18 20:32:32 +02:00
Vladislav Tronko
3f3f9eb428 Fix tabwidget signals connect 2016-02-15 20:34:20 +02:00
David Rosca
54f3e78396 Fix grammar "Are you sure to..." -> "Are you sure you want to..." 2016-02-15 09:58:14 +01:00
David Rosca
966537728b AutoFillManager: Add context menu with copy username/pass actions
Closes #1766
2016-02-15 09:52:50 +01:00
Vladislav Tronko
f7aee14343 Typos: extra semicolons 2016-02-14 22:31:28 +02:00
David Rosca
3e3da5909d TabIcon: Don't delay start of loading animation 2016-02-14 11:17:36 +01:00
David Rosca
8681aaaec1 PopupWindow: Add spacing between locationbar and webview 2016-02-14 11:02:02 +01:00
David Rosca
10557a9964 PopupLocationbar: Remove loading animation 2016-02-14 10:58:40 +01:00
David Rosca
8e93a76ca2 PopupWindow: Show statusbar and menubar according to preferences 2016-02-14 10:54:19 +01:00
David Rosca
e487e4c1f6 Add option to open popup windows in tabs
Closes #1796
2016-02-14 10:37:28 +01:00
innermous
603f7f3211 Feature: implemented bookmark editing on the fly 2016-02-10 16:05:39 +02:00
David Rosca
11601f866e NavigationContainer: Add small top margin top with tabs on top 2016-01-31 13:05:43 +01:00
David Rosca
779292713f ComboTabBar: Add small space between pinned and main tabbar 2016-01-31 12:37:02 +01:00
David Rosca
960a46daef Update to latest Qt 5.6 QtWebEngine 2016-01-30 11:41:39 +01:00
David Rosca
06b2414d80 Focus locationbar on startup if url of current tab is empty 2016-01-27 13:23:28 +01:00
David Rosca
6c30379077 Enable Qt 5.6 HighDpiScaling 2016-01-27 13:05:25 +01:00
David Rosca
2f80ca55ef IconProvider: Prefer theme icon for bookmarks 2016-01-27 12:44:19 +01:00
David Rosca
732e0ec94e TabIcon: Fix rendering for Qt 5.6 HighDPI 2016-01-27 12:26:30 +01:00
David Rosca
0b0041af41 WebSearchBar: Show the search engine menu relative to lineedit 2016-01-25 14:43:12 +01:00
David Rosca
2c04ebba63 LocationBarPopup: Show the popup relative to locationbar 2016-01-25 14:21:17 +01:00
David Rosca
007d68a027 Pass only current profile when starting private browsing
Fix starting private browsing when qupzilla is run eg. with

  qupzilla -p profile_name
2016-01-25 13:52:12 +01:00
David Rosca
0aa64de13a IconProvider: Use theme icon for settings icon 2016-01-25 13:51:08 +01:00
David Rosca
ac792de566 TabBar: Improve logic to calculate pinned tab width 2016-01-25 13:33:05 +01:00
David Rosca
ace8c9702b TabIcon: Set the same size as close button
Some styles calculates the height of tabs from displayed tab buttons,
so if the close tab is not visible, it would render the tabs smaller.
2016-01-25 12:51:05 +01:00
David Rosca
a49f1e2763 DataPaths: Use QStandardPaths 2016-01-25 12:13:43 +01:00
David Rosca
5808f3c581 Fix position of status bar message popup 2016-01-24 16:42:09 +01:00
David Rosca
f9359da446 Fix some warnings when starting with new profile 2016-01-24 16:37:31 +01:00
David Rosca
59ac47b08c Hide statusbar and menubar by default 2016-01-24 16:29:46 +01:00
David Rosca
48210c5aa6 SpeedDial: Ignore changed() signal from the current page 2016-01-24 16:17:57 +01:00
David Rosca
34475fcfc9 SpeedDial: Fix Esc key to close edit popups 2016-01-24 16:13:59 +01:00
David Rosca
e4abb59d3a QzTools: Return empty url when pixmap is null in pixmapToDataUrl 2016-01-24 15:47:42 +01:00
David Rosca
18926fd85b SpeedDial: Fix infinite reload when adding dial with invalid url
Closes #1763
2016-01-24 15:39:51 +01:00
David Rosca
a90c35223d LocationBar: Show encrypted site icon on https sites 2016-01-24 13:49:15 +01:00
David Rosca
2a5c6ecfa1 ClickableLabel: Fix resizing icon with label 2016-01-24 13:03:16 +01:00
David Rosca
31508f2907 ToolButton: Bring back fallbackIcon property 2016-01-24 12:28:58 +01:00
David Rosca
4dd9338207 Merge pull request #1835 from kkofler/autosearch-optional
Make automatic searching from the address bar optional
2016-01-14 10:16:06 +01:00
Kevin Kofler
a570beb667 Do not call loadRequest on an invalid URL
I expected that error to be handled gracefully. It's actually not, it
crashes the whole browser, and saves a state that will make it crash
again on startup. So just ignore invalid URLs if searchFromAddressBar is
set to false.
2016-01-14 05:03:13 +01:00
Kevin Kofler
fcae1fd3f5 Make automatic searching from the address bar optional
Some users (like me) really don't like it when their typos get sent to a
search engine without asking.
2016-01-14 03:29:47 +01:00
Kevin Kofler
4a746c0ebe Default to NoProxy rather than HttpProxy
The HttpProxy setting neither makes sense nor works without a concrete
proxy being set. So default to something that has any chance of working
without manual configuration. If you need an HTTP proxy, you will have
to configure it anyway.
2016-01-14 02:47:32 +01:00
David Rosca
3e0583377d Fix handling Enter key in keypad in shortcuts
Closes #1792
2016-01-02 19:58:54 +01:00
David Rosca
53bf6662dc AdBlock: Fix updating rules when adding/removing subscriptions
This also fixes crash on first network request after removing subscription
2016-01-02 17:54:36 +01:00
David Rosca
7391a6403c Change qupzilla.com links to https 2016-01-02 12:38:16 +01:00
David Rosca
5d4c2434a0 SearchEngines: Update suggestion links + always use https 2015-12-18 11:41:43 +01:00
David Rosca
90abf57592 OpenSearch: Fix loading search suggestions 2015-12-18 11:41:27 +01:00
David Rosca
cbc83e81ba Remove dependency on deprecated QtScript 2015-12-18 11:25:45 +01:00
David Rosca
e4b5a416b3 Fix WebTab::SavedTab incompatibility with older versions
@innermous
2015-12-17 22:26:32 +01:00
innermous
5801ff0725 WebTab: Save/Restore zoom level on restart 2015-12-17 22:21:31 +01:00
David Rosca
278299fe2a Merge pull request #1814 from innermous/patch-whitespace
Fix decoding special characters in download dialog
2015-12-17 22:09:39 +01:00
Vladislav Tronko
deeafc3133 Fix downloadmanager displaying wrong filename 2015-12-17 01:45:09 +02:00
Vladislav Tronko
2bb2729665 Fix decoding special characters in download dialog 2015-12-17 00:57:02 +02:00
innermous
a9043f0584 Fix adding Adblock list 2015-12-12 22:33:23 +02:00
innermous
30d2980d86 Bookmarks: Add option to show only text in bookmarks bar 2015-12-11 18:05:46 +02:00
David Rosca
4a8d8fde59 Fix build with latest Qt 5.6 snapshot
Closes #1797
2015-12-09 19:33:54 +01:00
David Rosca
f130bc9763 Explicitly add webenginecore to Qt modules
See #1797
2015-12-09 14:02:14 +01:00
David Rosca
caefbcfa02 Another fix for older GCC
Closes #1790
2015-12-08 11:55:00 +01:00
David Rosca
9ed3554835 Fix build with latest Qt 5.6 2015-12-08 11:27:06 +01:00
David Rosca
73d93e1e3c Don't assert when Shift+LeftClick on a link in frame 2015-12-07 12:41:07 +01:00
David Rosca
4144fc9827 Fix build with older GCC
Closes #1790
2015-12-06 16:09:04 +01:00
David Rosca
072f459ba5 Fix crash when using locationbar with show switch tab option disabled
Closes #1749
2015-12-03 10:01:30 +01:00
David Rosca
06e504e630 UserAgentManager: Update list of known user agents
Closes #1779
2015-12-03 10:01:03 +01:00
Jonathan Hooverman
bdd9a0cf02 Update adblockaddsubscriptiondialog.cpp
Fixes #1785
2015-11-27 12:51:14 +01:00
David Rosca
2bda7e54c4 Remove QString include from qzcommon.h
Closes #1781
2015-11-24 18:11:23 +01:00
David Rosca
082ae33d33 Fix clang warnings 2015-11-24 17:43:02 +01:00
David Rosca
60bc4ba715 DownloadItem: Fix initialization of m_currSpeed
Fix showing invalid download speed in some cases.
2015-11-12 17:03:45 +01:00
David Rosca
9f6ec040bb QzTools: Add actionShortcut function 2015-11-12 17:00:43 +01:00
David Rosca
ac3d9b0f9b Fix showing webview with Breeze style
Closes #1686
2015-11-12 16:38:39 +01:00
David Rosca
d543426c0f Update OS/2 icons with new logo 2015-11-09 19:07:07 +01:00
David Rosca
d59ce4f74b Update mac icons with new logo 2015-11-09 15:18:58 +01:00
David Rosca
ddb7c383de BrowsingLibrary: Don't limit height of search line 2015-11-09 14:29:36 +01:00
David Rosca
a4cbfbecfa Update favicons in default browsedata.db 2015-11-09 14:24:35 +01:00
David Rosca
cc39ec8150 Remove HtmlHighlighter and PlainEditWithLines
They are no longer used.
Also update copyright info in src/lib/data/html/copyright
2015-11-09 00:00:28 +01:00
David Rosca
7cd6f195d3 Adjust logo size in qupzilla:about and qupzilla:config 2015-11-08 23:57:54 +01:00
David Rosca
8b2e6bf9b6 New logo
Thanks to Adrien Vigneron and Elio Qoshi
2015-11-08 23:39:12 +01:00
David Rosca
999bfd3b9a AboutDialog: Fix showing authors page 2015-11-08 23:34:46 +01:00
David Rosca
0e52711a07 SideBar: Don't try to add null widget to layout 2015-11-08 23:33:55 +01:00
David Rosca
626bf8f4bb Fix searching for strings with special whitespaces from locationbar
This fixes eg. search terms with double byte space.

Closes #1622
2015-11-06 23:54:46 +01:00
David Rosca
27f0f9afac WebView: Don't try to load invalid one-word urls
And also save the host lookup in case of invalid url.
2015-11-06 23:46:22 +01:00
David Rosca
fb4782dab2 ComboTabBar: Event handling cleanup 2015-11-06 18:12:48 +01:00
David Rosca
83b7f8f441 ComboTabBar: Call ensureVisible() in resize event 2015-11-06 18:10:02 +01:00
David Rosca
c0809dc0b3 Fix exiting HTML fullscreen with F11 2015-11-06 17:55:57 +01:00
David Rosca
d1a15906b5 LocationBar: Drop "Add .co.uk when pressing ALT" feature
It doesn't work when completer popup is displayed and also it was
weird feature that could confuse users (Why was .co.uk added to the
text when I pressed ALT?).
2015-11-06 17:44:33 +01:00
David Rosca
aa0ec8cbc0 LocationBar: Fix Ctrl+Enter when text already ends with .com
Don't append another .com when the text in locationbar already
ends with .com.

Closes #1737
2015-11-06 17:37:15 +01:00
David Rosca
4f04e6e8e2 BrowsingLibrary: Remove the gradient from top toolbar
Closes #1743
2015-11-06 14:31:02 +01:00
David Rosca
638c22486c WebView: Use correct check if the host lookup succeeds 2015-11-06 13:17:07 +01:00
David Rosca
bcf50f9343 WebView: Better HANDLE_EVENT macro 2015-11-06 12:47:27 +01:00
David Rosca
a6a6b33b09 WebView: Another take on forwarding events
Closes #1747
2015-11-06 00:06:03 +01:00
David Rosca
07f828ddd5 Require Qt 5.6 2015-11-05 23:46:29 +01:00
David Rosca
35fd959315 HighDpi: Save site icons to database with 32x32px size 2015-10-24 12:50:42 +02:00
David Rosca
374af4277a HighDpi: Fix TabIcon 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
58d895e272 WebView: Always update site icon, even when icon is null 2015-10-23 12:26:27 +02:00
David Rosca
e052bda768 Remove remaining hunspell code 2015-10-23 12:26:27 +02:00
David Rosca
97ce417798 Fix use of QList::first() 2015-10-23 12:26:27 +02:00
David Rosca
8d312ad132 WebView: Accept drops with urls and open them
First dropped url is opened with current webview, the others are
opened in new tabs
2015-10-23 12:26:27 +02:00
David Rosca
26644f8cb9 Fix build 2015-10-22 21:02:39 +02:00
David Rosca
6780335dc9 Drop showing build time in version info
Build time was a nice idea, but it only saved build time for
qzcommon.cpp (which was builded only with clean build) and it
also breaks reproducible builds.

A variation of this patch is already used by some distros.
2015-10-22 20:56:59 +02:00
Philipp Wiesemann
59ba849e8f Fix typos in messages 2015-10-22 20:53:06 +02:00
srazi
33553a049a TabManager: Add an option to use it as main tabbar replacement.
- Note: in `TabBar::setVisible()` we didn't need to
  check `(visible && m_window->isFullScreen())` because tabbar's
  visibility in fullscreen mode is managed by m_navigationContainer.
2015-10-22 20:50:35 +02:00
David Rosca
12661a7d61 TabWidget: Ensure current tab is visible after restoring session 2015-10-22 18:33:20 +02:00
David Rosca
fd88bb26c2 Fix crash on close with latest QtWebEngine 2015-10-22 17:55:04 +02:00
David Rosca
de20021f10 Fix build with latest QtWebEngine 5.6 2015-10-22 14:44:41 +02:00
David Rosca
37f32021df Fix unloading plugin with visible sidebar 2015-10-21 12:14:55 +02:00
David Rosca
d6f478be7e Remove qtwebkit-plugins 2015-10-16 23:18:39 +02:00
David Rosca
ebaf53f4f4 WebView: Always use WebView::restoreHistory() 2015-10-15 20:51:26 +02:00
David Rosca
e7144ca78c Update JavaScriptOptions dialog for QtWebEngine 2015-10-15 19:55:04 +02:00
David Rosca
b817c19081 Fix not escaping characters for HTML directory listings
file: scheme handler is not currently used, this commit is
mainly to close the pull request.

Patch by philippwiesemann

Closes #1712
2015-10-15 17:58:38 +02:00