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

3179 Commits

Author SHA1 Message Date
David Rosca
d15bac1bd3 Merge branch 'v2.0' 2016-05-27 20:37:19 +02:00
David Rosca
5ba652afa9 Download Manager: Save last path only when not empty 2016-05-27 20:37:08 +02:00
David Rosca
4bef6f6506 Merge branch 'v2.0' 2016-05-27 20:21:08 +02:00
David Rosca
6280d34e70 Download Manager: Fix storing last download path 2016-05-27 20:20:08 +02:00
David Rosca
d1f266cc49 AdBlock: Apply all css rules in WebPage::cleanBlockedObjects 2016-05-27 15:58:21 +02:00
David Rosca
00df74bd64 Don't add user stylesheet script when usercss is empty 2016-05-27 15:57:40 +02:00
Marti Martz
1fe3bed362 Mac: Repair current OpenSSL undefined reference from homebrew to dynamic (#1971)
* Repair current OpenSSL static reference from homebrew

* These are the default locations, as of today, for Mac OS X 10.11.4 *(El Capitan)*

**NOTES**
* This could really use some environment variables for homebrew root and which SSL version is in use. Not familiar enough yet with recent Qt to do this at this time.
* Symbolic links could also be used but again determining the current homebrew SSL installed is something to be desired e.g. similar to `$ openssl version` e.g. perhaps a `cut` of `$ brew info openssl`?

Refs:
* http://brew.sh/ *(homepage)*
* https://github.com/Homebrew/brew *(repo)*

Historical refs:
* #1888
* #1850

* Mac: Scrape `brew` output for openssl working install directory as per @nowrep

* Addresses a long standing bug on Mac compiling with this project
* Also correct the BUILDING markdown file for OS X... was awaiting response from the owner to do this to see which direction to move.

**NOTES**
* Quotes **are required** when using `$$system` here otherwise `cut` fails with no switch argument found

Applies to #1971

* Fix BUILDING to BUILDING.md

* Do this so it actually parses markdown

Indirectly related to #1971

* Fix `brew` to Homebrew

* Even though the project is named `brew` and owner is `Homebrew` their pages refers to it as `Homebrew`

Applies to #1971

* Yet another change

* There are more symlinks... so the results from `brew --prefix openssl` yields a symlinked path and adding `/include` and `/lib` to them resolve alternately to the `Cellar`. Feel **much** better about using this one since it's an exact API as I mentioned earlier in the PR

Applies to #1971

* Add a single newline for @cranes-bill

* Only one newline is needed and has nothing to do with trailing spaces... at least according to the GH editor
* Restores the flow :)

Applies to #1971

* More flow of README.md

* GH preview said it didn't need this but I guess it does... we'll try newlines everywhere ;)

Applies to #1971

* Use non-standard markdown for "newlines"

* Restore the spaces manually

**NOTES**
This is not any known specification but it's what @nowrep wants

Refs:
* [CommonMark](http://commonmark.org/)
* [Daring Fireballs](http://daringfireball.net/projects/markdown/)
2016-05-27 15:57:31 +02:00
srazi
2fd838184c RTL: Fixed order of bookmark toolbar icons.
- Closes #1923
2016-05-27 15:57:12 +02:00
srazi
b788df0097 Windows: Fix compile issue. 2016-05-27 15:57:03 +02:00
David Rosca
509c913cbe AdBlock: Apply all css rules in WebPage::cleanBlockedObjects 2016-05-27 15:55:30 +02:00
David Rosca
a515d92211 Don't add user stylesheet script when usercss is empty 2016-05-27 11:03:40 +02:00
David Rosca
c5987f039d Revert "Mac: Bring back /opt/local/ include and libdirs"
This reverts commit 626be13402.
2016-05-14 16:55:35 +02:00
David Rosca
626be13402 Mac: Bring back /opt/local/ include and libdirs 2016-05-14 15:46:44 +02:00
Marti Martz
0fe5b36d75 Mac: Repair current OpenSSL undefined reference from homebrew to dynamic (#1971)
* Repair current OpenSSL static reference from homebrew

* These are the default locations, as of today, for Mac OS X 10.11.4 *(El Capitan)*

**NOTES**
* This could really use some environment variables for homebrew root and which SSL version is in use. Not familiar enough yet with recent Qt to do this at this time.
* Symbolic links could also be used but again determining the current homebrew SSL installed is something to be desired e.g. similar to `$ openssl version` e.g. perhaps a `cut` of `$ brew info openssl`?

Refs:
* http://brew.sh/ *(homepage)*
* https://github.com/Homebrew/brew *(repo)*

Historical refs:
* #1888
* #1850

* Mac: Scrape `brew` output for openssl working install directory as per @nowrep

* Addresses a long standing bug on Mac compiling with this project
* Also correct the BUILDING markdown file for OS X... was awaiting response from the owner to do this to see which direction to move.

**NOTES**
* Quotes **are required** when using `$$system` here otherwise `cut` fails with no switch argument found

Applies to #1971

* Fix BUILDING to BUILDING.md

* Do this so it actually parses markdown

Indirectly related to #1971

* Fix `brew` to Homebrew

* Even though the project is named `brew` and owner is `Homebrew` their pages refers to it as `Homebrew`

Applies to #1971

* Yet another change

* There are more symlinks... so the results from `brew --prefix openssl` yields a symlinked path and adding `/include` and `/lib` to them resolve alternately to the `Cellar`. Feel **much** better about using this one since it's an exact API as I mentioned earlier in the PR

Applies to #1971

* Add a single newline for @cranes-bill

* Only one newline is needed and has nothing to do with trailing spaces... at least according to the GH editor
* Restores the flow :)

Applies to #1971

* More flow of README.md

* GH preview said it didn't need this but I guess it does... we'll try newlines everywhere ;)

Applies to #1971

* Use non-standard markdown for "newlines"

* Restore the spaces manually

**NOTES**
This is not any known specification but it's what @nowrep wants

Refs:
* [CommonMark](http://commonmark.org/)
* [Daring Fireballs](http://daringfireball.net/projects/markdown/)
2016-05-14 12:45:28 +02:00
Martii
0af54b8d7f Scaling tweaks
* Deflate the radius a bit on Chrome to be closer to the others
* Inflate the radius a bit on Opera to be closer to the others
2016-05-12 21:26:56 -06:00
Martii
fbc6e2cd58 Some Fair Use icon updates
* Browsers ... gleaned from their svg counterparts for crispness, size, etc.
2016-05-12 16:52:37 -06:00
Martii
83287a6944 Optimize some other image types
* Optimize .gif files
* Optimize .ico files

**NOTES**
* Not touching OS2 .ico's currently... no applicable program to modify 1..5 *(page_os2.ico)* images and 1..7 *(qupzilla_os2)* images respectively. May have to see if I kept my OS/2 Warp in storage.
* Can't save all Apple *.icns currently on dev station... Mac dev station makes it bigger on duplication ... this could probably be optimized but unable to at this time

All should be same but smaller *(palette opts, and other format opts)*... special note on qupzill.ico... all I did was resave and it's quite a bit smaller... icons are also currently in reverse order... should be okay but not standard and may fail on some older Windows
2016-05-12 15:20:13 -06:00
Martii
fc2ae4c4dd Brute crush all pngs
* Making the footprint a little smaller
2016-05-12 12:47:46 -06:00
srazi
9d8552aa4b RTL: Fixed order of bookmark toolbar icons.
- Closes #1923
2016-05-11 16:12:56 +04:30
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
Marti Martz
ce67c7a455 GM: Detect properly the UserScript metadata block on parse (#1964)
Eliminates some false positives
2016-05-10 10:10:52 +02:00
David Rosca
4a60521e7d Update translations 2016-05-03 16:52:59 +02:00
Marti Martz
707004a85b GM: Detect properly the UserScript metadata block on parse (#1964)
Eliminates some false positives
2016-05-03 16:50:11 +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
a2c8108aff Merge branch 'v2.0' 2016-04-23 09:48:16 +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
ff3c45cafc CommandLineOptions: Don't exit on unknown option
Makes it possible to pass options to Chromium

Closes #1952
2016-04-21 20:55:59 +02:00
TheRoid
f9e6a7911a Update mousegestures.cpp (#1950)
Update mousegestures.cpp so that LocationBar is focused when opening a new tab
2016-04-20 10:12:10 +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
c512d2bafc Don't enable HighDPI scaling by default
Closes #1935
2016-04-13 11:46:13 +02:00
David Rosca
6c0f363eca Update translations
Closes #1938
2016-04-13 09:59:47 +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
e40f0a366c Update empty.ts translation files 2016-04-03 11:21:03 +02:00
David Rosca
7b48b34f8c Pull translations from Transifex 2016-04-03 11:19:13 +02:00
David Rosca
e5460538c8 Version 2.0.0 2016-03-30 14:50:03 +02:00
David Rosca
5f84f29c4b Also backup settings.ini when incompatible profile is detected 2016-03-30 14:10:57 +02:00
David Rosca
fc17444438 GM: Don't try to install userscripts from XHR
See #1903
2016-03-30 13:23:19 +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
385f10e345 GM: Only download scripts when user clicks on link
Closes #1903
2016-03-30 08:40:00 +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
11792ee778 GM_Downloader: Fix missing emit error()
@trnkava1
2016-03-20 20:02:15 +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
David Rosca
2f91f81089 GM Settings: Fix redrawing items when script updating state changes 2016-03-20 19:22:26 +01:00
trnkava1
b0b2820180 Greasemonkey: add script updating
- Fixed parsing @updateURL/@downloadURL
- Updating is only manual
- User have to click on update button located in Greasemonkey settings
- Update works just like download
- New version is not being checked, original script is replaced
- Fixed coding style issues

Closes #1653
2016-03-20 19:05:26 +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
46e0b9d807 GreaseMonkey: Implement include/exclude matching
Somehow I was under false impression that QtWebEngineScript
takes care of the metadata parsing. It does not, so we must
run the script only on correct sites.
2016-02-29 17:18:45 +01:00
David Rosca
4f5d3193ae GreaseMonkey: Remove GM_UrlMatcher 2016-02-28 18:29:23 +01: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
c2b5b479a4 GreaseMonkey: Don't assume metadata block is at the start of script
See #1869
2016-02-27 17:59:27 +01:00
David Rosca
0da388f206 GreaseMonkey: Add support for run-at: document-idle 2016-02-27 17:31:01 +01:00
David Rosca
7ac45b75d7 GreaseMonkey: Remove old url from plugin description
Closes #1869
2016-02-27 17:14:03 +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
6ebb9464b2 Fix bash completion install path 2016-02-25 18:13:29 +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
a262de8239 Fix build 2016-02-15 17:36:32 +01:00
David Rosca
6e10e6ac92 Update translations 2016-02-15 10:10:03 +01: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
Bernd Steinhauser
d9325de00e Simplify folder definitions. 2016-02-07 17:04:56 +01:00
Bernd Steinhauser
3dd31ac8bb Fix data installation paths. 2016-02-07 16:55:52 +01: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
Vladislav Tronko
b311902cf3 Added action with all in one image search engines 2016-01-20 19:44:22 +02:00
David Rosca
20f35c8a8d Merge pull request #1833 from innermous/feature-imagefinder
Feature: ImageFinder plugin
2016-01-20 17:00:16 +01:00
innermous
2cc2c26c84 Feature: ImageFinder plugin 2016-01-17 01:13:00 +02: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
34970e4c47 Revert "Call QtWebEngine::initialize() in main"
This reverts commit dad94c64a1.
2015-12-18 19:38:32 +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
a75002313a main: Bump minimum Qt version to 5.6 2015-11-12 18:38:26 +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
e93c3fe58d Remove obsolete build flags 2015-11-06 00:23:32 +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
d0129202dd FlashCookieManager: Drop support for plugin out-of-tree
No longer needed as it is now official plugin and only causes problems.
2015-11-04 23:11: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
Philipp Wiesemann
0e47899791 GreaseMonkey: Fix GM_listValues() listing nothing
The function GM_listValues() got broken when the source file "values.js"
was minimized into "values.min.js" because the optimizing tool was not
aware that the string containing the placeholder (%1) is not final and
will be changed later. It optimized away the expression which gets the
length of the string and replaced it with its static value (2). This was
a problem because not the length of the placeholder (%1) but the length
of the current script id is needed to extract prefixes from the keys in
the local storage. Failing to correctly extract the prefixes prevented
finding the entries for the current script. This was fixed by comparing
prefixes without extracting new strings. It works around the need to get
the length of the id string and therefore the breaking optimization.

An unrelated and redundant variable declaration was also removed.
2015-10-23 22:45:21 +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
David Rosca
044bc89326 TestPlugin: Update comments 2015-10-22 20:54:58 +02:00
David Rosca
176b31198e Plugins: Set plugin as parent for all created actions
This fixes crash on Windows when unloading plugin and then showing a menu
where the plugin action was.

There is still crash on exit in that case.
2015-10-22 20:54:42 +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
David Rosca
cefe1bce54 Remove remaining Qt 4 code 2015-10-15 17:57:03 +02:00
srazi
e604120f49 FCM, TabManager: add them to extension sub-menu. 2015-10-15 17:44:13 +02:00
srazi
3fd23a54cb Plugins: Added interface for extension's submenu to Tools menu, 2015-10-15 17:43:47 +02:00
srazi
ac48237eca Fix a rare crash. 2015-10-15 17:42:27 +02:00
David Rosca
1af76cb2a9 WebInspector: Show close button only when docked 2015-10-15 17:22:23 +02:00
David Rosca
74fc271e25 WebInspector: Implement Inspect Element action 2015-10-15 17:19:16 +02:00
David Rosca
34eac0d9db Automatically fill proxy credentials in proxyAuthorizationRequested
Also don't allow to save credentials into AutoFill. Proxy credentials
should be saved in Preferences.
2015-10-15 15:38:44 +02:00
David Rosca
0845606cc7 Bring back proxy configuration 2015-10-15 14:39:18 +02:00
David Rosca
1c63a90e1a SBI_Proxy: Remove option to set NoProxy
QtWebEngine doesn't support NoProxy option, it will always
try to use SystemProxy if no proxy is specified
2015-10-15 11:33:48 +02:00
David Rosca
f8525f2533 Bump version to 1.9.99 2015-10-15 11:00:42 +02:00
David Rosca
5c40121aa9 Show correct default user agent in About dialog 2015-10-15 10:49:11 +02:00
David Rosca
5b82102075 Don't show "WebKit version: QtWebEngine" anywhere 2015-10-15 10:34:49 +02:00
David Rosca
96cc2d41e2 Remove non-working Work Offline option 2015-10-15 10:28:03 +02:00
srazi
dd5c5db142 Windows: After showing QZ window (1s delay) try to check as default and show dialogs as child of QZ window.
- Closes #1632
2015-10-15 10:10:29 +02:00
srazi
e3ed2547db RTL: Correctly show messages in statusBar.
- Closes #1713
2015-10-15 10:10:20 +02:00
David Rosca
f755e312b9 WebTab: Fix loading other non-selected tabs while pinning tabs 2015-10-14 23:20:16 +02:00
David Rosca
1f32a018f5 TabStackedWidget: Cleanup pinUnPinTab code 2015-10-14 22:50:57 +02:00
David Rosca
398232246e TabStackedWidget: Only send show event to one widget after removing tab
When removing current tab, the widget was removed from stackwidget,
which would send the show event to next widget in stack and then
send show event to another widget when changing the current index from
ComboTabBar.
2015-10-14 22:48:17 +02:00
David Rosca
5024ada696 Fix showing speed dials in bookmarks icon 2015-10-14 19:52:08 +02:00
David Rosca
ccabc336c0 Fix crash when application style is externally changed
Closes #1707
2015-10-14 17:06:03 +02:00
David Rosca
0fade63d86 WebPage: Add page to display when render process crashes 2015-10-14 16:19:54 +02:00
David Rosca
e9cbb32e26 Remove unused certs.qrc 2015-10-14 15:05:15 +02:00
David Rosca
a4a6d3eb7a Removed unused qupzilla.ico 2015-10-14 15:03:10 +02:00
David Rosca
387aee12c2 SiteInfo: Only show on non-internal pages 2015-10-14 12:50:30 +02:00
David Rosca
af93ecf81e AdBlock: Show error page when the whole page was blocked 2015-10-14 12:41:42 +02:00
David Rosca
74350785b0 Update copyright in qupzilla:about 2015-10-14 12:16:39 +02:00
David Rosca
36031c46e6 WebView: Store input widget as QWidget and not QObject 2015-10-14 12:12:25 +02:00
David Rosca
1a068e8c7d Use QWebEnginePage::RequestClose action to close tabs
It is no longer to use hacky onbeforeunload javascript handling when
closing tabs.
2015-10-12 12:07:01 +02:00
David Rosca
e127000cb7 ComboTabBar: Remove blured background support 2015-10-11 10:52:04 +02:00
David Rosca
53e4512d31 ComboTabBar: Fix showing tooltip when animating scrolling 2015-10-11 10:51:16 +02:00
David Rosca
c0a7ef8d9e WebInspector: Add pointing hand cursor to close button 2015-10-11 10:29:09 +02:00
David Rosca
7e238f69b0 WebInspector: Fix close button with QtWebEngine 5.6 2015-10-10 00:12:14 +02:00
David Rosca
56e5237697 WebView: Don't save blank page / speed dial into view history 2015-10-09 21:33:07 +02:00
David Rosca
b6b7edd187 Use shorter code for QString().arg(int) 2015-10-09 20:42:25 +02:00
David Rosca
1d37a6867c PageThumbnailer: Rewrite to load thumbnails with QML WebEngineView
This way it is possible to get thumbnail even without showing the
webview.
2015-10-09 19:31:08 +02:00
David Rosca
50d5eeef0c Remove bundled certificates 2015-10-09 19:20:04 +02:00
David Rosca
f1ab8ac5e9 Remove option to configure Click2Flash
Click2Flash is no longer available
2015-10-09 16:11:40 +02:00
David Rosca
b39809bfae Remove option to show tab previews 2015-10-09 16:03:38 +02:00
David Rosca
df487f0726 WebHitTestResult: Resolve image url 2015-10-09 15:57:35 +02:00
David Rosca
258d78a247 AdBlockRule: Fix handling domain and third-party restrictions
Domain and third-party restrictions should be applied on page url,
not url of request.

This requires https://codereview.qt-project.org/#/c/127159/
2015-10-09 13:16:24 +02:00
David Rosca
b891d92736 Fix QzTools::ensureUniqueName again
This time it should be correct fix + added tests
2015-10-09 12:26:13 +02:00
David Rosca
0f6720a32c Bring back KWallet password backend test 2015-10-09 11:35:57 +02:00
David Rosca
3f3d202194 AutoScroll: Fix position of scroll indicator when site notification is visible 2015-10-08 23:51:14 +02:00
David Rosca
d0f662d599 GreaseMonkey: Use url interceptor for downloading scripts 2015-10-08 23:32:18 +02:00
David Rosca
03399c7b2c Use acceptNavigationRequest to handle abp: urls
QtWebEngine now sends external urls through acceptNavigationRequest
so it is no longer needed to install scheme handler.
2015-10-08 22:39:27 +02:00
David Rosca
de0dd7fb2d Fix build with latest QtWebEngine 5.6 2015-10-08 22:17:21 +02:00
David Rosca
c3e0f39c9b ProfileManager: Drop support for old profiles 2015-10-08 11:52:40 +02:00
David Rosca
54f31237a5 Fix build 2015-10-08 11:49:22 +02:00
David Rosca
d2a84319e7 Fix pointer flicker when enabling mouse lock 2015-10-06 11:15:17 +02:00
David Rosca
b4972955ce HTML5Permissions: Fix granting MouseLock permissions 2015-10-06 11:03:24 +02:00
David Rosca
83db3c1988 WebPage: Always grant MouseLock permission in fullscreen 2015-10-06 10:58:17 +02:00
David Rosca
6b02cd4cab AdBlockRule: Correctly disable third-party option 2015-10-06 10:13:41 +02:00
David Rosca
4efbc54cac UserAgentDialog: Hide per-site options 2015-10-06 10:10:27 +02:00
David Rosca
dd71761854 Remove no longer used classes 2015-10-06 09:52:44 +02:00
David Rosca
6d026969f7 Remove QFtp 2015-10-06 09:49:42 +02:00
David Rosca
db058ff194 Remove use of QNetworkRequest in LoadRequest 2015-10-06 09:46:23 +02:00
David Rosca
1a87d443c0 WebTab: Fix pinning tabs that are not yet restored 2015-10-05 23:39:59 +02:00
David Rosca
9fd7c271e4 ToolButton: Fix showing both context menu and button menu on right click 2015-10-05 22:41:20 +02:00
David Rosca
3ec6da6103 Bring back support for sending DNT header to servers 2015-10-05 22:32:55 +02:00
David Rosca
39c920f3ce Preferences: Remove Send Referer option 2015-10-05 22:24:21 +02:00
David Rosca
8778ddc2dd Bring back support for setting AcceptLanguage header 2015-10-05 22:21:14 +02:00
David Rosca
3d8b09653f WebView: Clear icon when icon url changes 2015-10-05 22:08:31 +02:00
David Rosca
4d05c1105a Bring back support for managing cookies 2015-10-05 22:03:53 +02:00
David Rosca
226b29b0c6 Set empty page icon to qupzilla:speeddial 2015-10-05 20:50:20 +02:00
David Rosca
88c5b271e2 AdBlockRule: Add support for script, stylesheet and object-subrequest 2015-10-05 20:43:05 +02:00
David Rosca
3050913d21 WebHitTestResult: Fix isContentSelected
Was returning always true on right click
2015-10-05 20:29:38 +02:00
David Rosca
150252aea9 Don't store blocked entries in WebPage
It is not possible in this way with QtWebEngine
2015-10-05 20:23:10 +02:00
David Rosca
e91d6482d1 Bring back AdBlock blocking network requests 2015-10-05 20:16:51 +02:00
David Rosca
40eb1281f8 Add UrlInterceptor interface 2015-10-05 19:52:41 +02:00
David Rosca
a6c9ca7b4c Workaround error handling in scheme handlers 2015-10-05 19:16:12 +02:00
David Rosca
5829318774 AdBlock: Bring back support for adding new subscription with abp: links 2015-10-05 18:54:58 +02:00
David Rosca
79dd0d5899 Removed ftp scheme handler
ftp is internal scheme, so it is not possible to use custom scheme
handler with QtWebEngine
2015-10-05 18:12:10 +02:00
David Rosca
949faa5856 Add support for HTML FullScreen
Esc is used to leave fullscreen
2015-10-05 18:08:14 +02:00
David Rosca
637f38684d Settings: Bring back support for plugins (eg. Flash) 2015-10-05 17:29:09 +02:00
David Rosca
9cb66878ff Port to Qt 5.6 2015-10-05 17:20:53 +02:00
David Rosca
94d89e4fa6 DownloadManager: Use shorter timeout for updating window title 2015-10-04 21:12:53 +02:00
David Rosca
510f521074 Downloads: Bring back option to choose path / open downloads 2015-10-04 21:00:38 +02:00
David Rosca
35f002efb4 DownloadManager: Fix clearing download items 2015-10-04 20:23:54 +02:00
David Rosca
c24b0e92fd Remove TODO comment 2015-10-04 20:02:16 +02:00
David Rosca
a1d9740caf Allow to start more instances of the same profile with --no-remote 2015-10-04 19:54:59 +02:00
David Rosca
e161e45c41 WebPage: Add Q_UNREACHABLE to createWindow(WebBrowserWindow) 2015-10-04 19:51:39 +02:00
David Rosca
6857270057 WebInspector: Fix searching with Ctrl+F in inspector
Don't eat key events so inspector's search function can be used.
2015-10-04 19:44:25 +02:00
David Rosca
102ee62d3d WebView: Enable download link/image/media actions with Qt 5.6 2015-10-04 19:35:02 +02:00
David Rosca
e60daf072b WebPage: Remove disabled form resubmitted warning
Looks like it won't come back in QtWebEngine and it wasn't
really that much useful feature.
2015-10-04 19:22:52 +02:00
David Rosca
7a512918f8 WebView: Prevent handling input events twice
This fixes site info being opened twice when pressing Ctrl+I while
having focus in webview.

This makes the input events handling code very fragile, so let's hope
this won't break anything .. and QtWebEngine won't change the behavior
in following releases.
2015-10-04 19:04:25 +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
7f101700ca WebView: Check for m_clickedUrl.isEmpty() in mouseReleaseEvent 2015-10-02 15:50:29 +02:00
David Rosca
4d5808d915 Bring back AutoScroll plugin
This time implemented in C++ and not with userscript. There
is also no support for scrolling inside frames.
2015-10-02 15:36:07 +02:00
David Rosca
74e02dd1e3 Revert "Bring back AutoScroll plugin"
This reverts commit fa2779e6b9.
2015-10-02 14:48:25 +02:00
David Rosca
66d0fa588d Enable out of dir plugins 2015-10-02 14:29:49 +02:00
David Rosca
97ba8c6af3 Bring back PIM plugin 2015-10-02 14:13:21 +02:00
David Rosca
75fe50ca48 Bring back MouseGestures plugin 2015-10-02 11:14:10 +02:00
David Rosca
939ebeb2c9 Guard against null QProxyStyle::baseStyle()
See #1686 #1707
2015-10-01 20:25:22 +02:00
David Rosca
ffcf137967 QzTools: Fix ensureUniqueFileName when file has no suffix
Closes #1706
2015-10-01 20:05:36 +02:00