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

3542 Commits

Author SHA1 Message Date
David Rosca
dd388cdf1f Version 2.0.2 2016-10-24 17:35:49 +02:00
David Rosca
5d60037e71 Update translations 2016-10-24 17:25:44 +02:00
David Rosca
7fff4b627b MouseGestures: Use same code to create new tab as BrowserWindow
Closes #2089
2016-10-19 09:43:56 +02:00
David Rosca
704933f34c Pull translations from transifex 2016-09-21 16:15:02 +02:00
David Rosca
ad299bfe28 Fixed redundant code warning
Closes #2077
2016-09-18 12:13:44 +02:00
David Rosca
ce9d3983a0 Bring back Save Page action
Only with Qt >= 5.7

Closes #2083
2016-09-18 12:09:38 +02:00
Kevin Kofler
b9bd2338e4 Add initial printing support with QtWebEngine >= 5.7.0 (#2068)
* Add initial printing support with QtWebEngine >= 5.7.0

This works by printing to PDF first, then sending the PDF to a printer
if printing to a physical printer was requested.

On *nix (including Mac OS X), we use the lpr command, which is typically
provided by CUPS nowadays. Currently, no options beyond the printer name
are passed, there is room for improvement there. (Okular has a
FilePrinter class that handles this in a more sophisticated way.)

On Windows, we use ShellExecuteW with the "printto" verb. In that case,
the printer name is unfortunately the only thing that can be passed. The
user experience may also be suboptimal depending on the PDF viewer
installed on the system. (E.g., Adobe Reader is reported to ignore
SW_HIDE.) And if there is no PDF viewer installed at all, it will of
course not work at all. But it is the best we can do without bundling
something like GhostScript (or requiring the user to install it).

* Printing: Let lpr autoremove the temporary file instead of QTemporaryFile

Only lpr knows for sure when it is safe to delete the temporary file.

* Printing: Use the callback version of printToPdf instead of the file one

The file version is also asynchronous and does not report when it is
done.

* Printing: Use async QProcess API instead of QProcess::execute to run lpr

This also required making tempFile a QTemporaryFile * instead of a
QTemporaryFile on the stack, because QTemporaryFile is a QObject and
cannot be copied.

* Printing: Adapt the FilePrinter from Okular to pass correct lpr args

The license of those files is GPLv2+, which is compatible with
QupZilla's GPLv3+ licensing.
2016-09-14 14:07:07 +02:00
David Rosca
d835401656 Mac: Add support for http(s) schemes to Info.plist 2016-09-04 15:45:11 +02:00
David Rosca
35657e6005 Mac: Fix opening urls from FileOpen event 2016-09-04 15:42:51 +02:00
srazi
d4facf2806 TabManager: Add quick filter/switch support.
- Also key navigation support was added.

- Closes #2063
2016-08-29 12:48:31 +04:30
std46
e906f6ae20 Issue #2049 close tabs to right & close tabs to left (#2062)
* add close to right menu 
Closes #2049
2016-08-28 16:24:09 +02:00
David Rosca
3da4150fcb Merge branch 'v2.0' 2016-08-23 19:48:45 +02:00
David Rosca
8206dea201 Workaround crash on drop with Qt 5.7.0
Closes #2060
2016-08-23 19:48:22 +02:00
David Rosca
0b99d45d10 Pull translations from transifex 2016-08-23 09:10:32 +02:00
David Rosca
6d301e1854 Merge branch 'v2.0' 2016-08-23 08:59:06 +02:00
Vladislav Tronko
e56d01fec9 Distinguish clicked and controlclicked in ToolButton 2016-08-23 08:59:01 +02:00
blaze
bc47a9aba5 Show Bookmark Toolbar when Location Bar gets focus
Optional behaviour providing quick access to bookmarks without
wasting the vertical space
2016-08-23 08:57:11 +02:00
Vlad
81aab60023 Add copy image option in context menu (#2058) 2016-08-16 12:57:11 +02:00
David Rosca
5085111657 Merge branch 'v2.0' 2016-08-15 14:51:19 +02:00
David Rosca
4c7735139e ComboTabBar:: Call ensureVisible only after resize event is processed
Also change delay to call ensureVisible after current tab is changed
to 100ms
2016-08-15 14:47:30 +02:00
David Rosca
1a183e590b Merge branch 'v2.0' 2016-08-15 14:25:26 +02:00
David Rosca
42eadaeb2f Fix scrolling to current tab when added from fullscreen mode 2016-08-15 14:25:01 +02:00
David Rosca
cce94944f7 Don't hide supermenu button in fullscreen
Also make the supermenu button as last button in toolbar
2016-08-15 14:24:53 +02:00
Vlad
9ae6c12a3c Show navigation in new tab in fullscreen mode (#2055) 2016-08-15 14:24:35 +02:00
David Rosca
648090d167 Fix warning about converting double to int 2016-08-15 14:24:27 +02:00
spaeps
757c6525f5 Add short command line for all options (#2036) 2016-08-15 14:24:11 +02:00
Marti Martz
18ab4f2a7b GM WIN: Add CR to detection (#2027)
* WIN: Add CR to detection

Saving in Notepad++ with Windows line ending prevents script injection

Post fix for #1964 and some vague references at ce67c7a455

* Add some more line ending checks

* Windows ends in CR and OS Ⅸ compatible uses CR+LF ... OS Ⅹ/*nix uses LF
* Fix pre-existing bug with `\n' with string split for Windows ... tested only on Linux *(Qt 5.6.1)* with Unit Tests so far

Applies to #2027 and post followup for #1964

* Use default Left-associative for pipe (logical or)

* Specific first then general after e.g. flip them ... helps avoid a false injection match with a control character at the beginning with older editors *(may include OS2)*

Applies to #2027 and post followup for #1964
2016-08-15 14:24:00 +02:00
Vlad
8e12480dc9 Show navigation in new tab in fullscreen mode (#2055) 2016-08-15 13:54:54 +02:00
David Rosca
74417d8f36 Fix warning about converting double to int 2016-08-05 10:51:00 +02:00
Vlad
134737afda Implement audio mute for webtabs (#2019) 2016-08-05 10:50:50 +02:00
spaeps
cf5702260c Add short command line for all options (#2036) 2016-07-25 10:24:49 +02:00
Marti Martz
9f298c352b GM WIN: Add CR to detection (#2027)
* WIN: Add CR to detection

Saving in Notepad++ with Windows line ending prevents script injection

Post fix for #1964 and some vague references at ce67c7a455

* Add some more line ending checks

* Windows ends in CR and OS Ⅸ compatible uses CR+LF ... OS Ⅹ/*nix uses LF
* Fix pre-existing bug with `\n' with string split for Windows ... tested only on Linux *(Qt 5.6.1)* with Unit Tests so far

Applies to #2027 and post followup for #1964

* Use default Left-associative for pipe (logical or)

* Specific first then general after e.g. flip them ... helps avoid a false injection match with a control character at the beginning with older editors *(may include OS2)*

Applies to #2027 and post followup for #1964
2016-07-17 09:31:25 +02:00
David Rosca
7ac832c689 Merge branch 'v2.0' 2016-07-10 17:26:42 +02:00
David Rosca
c12e473ab4 Use setWindowState to toggle fullscreen mode
Use setWindowState instead of showNormal() / showFullScreen()
as that may cause issues in some cases.
2016-07-10 17:26:07 +02:00
David Rosca
4cb62b73fb TabBar: Don't calculate tabSizeHint only when window is invisible
Fixes issue with tabbar sometimes having 1px height when leaving fullscreen.

Closes #1967
2016-07-10 16:34:05 +02:00
David Rosca
f0e2b938ba Don't use QWebEngineScript::ApplicationWorld with Qt 5.7
It doesn't work because js on qupzilla: pages runs in MainWorld.

Closes #2015
2016-06-27 12:58:26 +02:00
David Rosca
198bfae88f Merge branch 'v2.0' 2016-06-23 09:07:41 +02:00
Safa Alfulaij
a79395b0fb Fix position of SpeedDial items in RTL 2016-06-23 09:07:26 +02:00
David Rosca
1273c13be8 Merge branch 'v2.0' 2016-06-21 21:47:04 +02:00
David Rosca
d168efae9e WebHitTestResult: Use baseURI for resolving link url
Fixes resolving link urls when there is set base href.

Closes #2010
2016-06-21 21:45:24 +02:00
David Rosca
59278fa4d9 Merge branch 'v2.0' 2016-06-14 13:16:41 +02:00
David Rosca
d9202d1286 Windows: Detect new Windows versions 2016-06-14 13:15:28 +02:00
David Rosca
cfe49a5719 Use QSysInfo to obtain cpu architecture 2016-06-14 13:13:53 +02:00
David Rosca
ec64be807b Merge branch 'v2.0' 2016-06-14 12:15:48 +02:00
David Rosca
3ea85213e5 SpeedDial: Update image for broken page to new icon 2016-06-14 12:14:21 +02:00
David Rosca
72b3fddb22 SpeedDial: Don't override dial title when loading fails
Showing broken image preview is enough.

Closes #1992
2016-06-14 12:02:59 +02:00
David Rosca
24882084de Prepend X11/Wayland to user agents platform on Linux 2016-06-14 11:58:45 +02:00
David Rosca
a1cf84572d Use platformName() to check for X11 platform 2016-06-14 11:58:38 +02:00
David Rosca
b5fabd3ca1 Merge branch 'v2.0' 2016-06-14 11:13:02 +02:00
David Rosca
2c0f96c527 Report Bug: Change email input type to "email" 2016-06-14 11:12:28 +02:00
David Rosca
766a661bfe Use cpu architecture with os name everywhere 2016-06-14 11:01:22 +02:00
David Rosca
e5de2a2403 Update UA strings + add architecture to OS string 2016-06-14 10:38:49 +02:00
David Rosca
993015f31b Bump version number 2016-06-08 16:26:18 +02:00
David Rosca
521d058d71 Merge branch 'v2.0' 2016-06-08 16:25:36 +02:00
David Rosca
4832028600 Version 2.0.1 2016-06-08 16:24:44 +02:00
David Rosca
f9cdc110be Fix cancelling http/proxy authentication
Closes #1980
2016-06-06 10:52:04 +02:00
David Rosca
c270f143e8 Fix cancelling http/proxy authentication
Closes #1980
2016-06-06 10:51:41 +02:00
David Rosca
2ff66ae0f5 Merge branch 'v2.0' 2016-05-31 18:40:10 +02:00
David Rosca
0269541561 Always prefer external download manager when set 2016-05-31 18:39:43 +02:00
David Rosca
39cc9ccbd3 Merge branch 'v2.0' 2016-05-31 18:30:39 +02:00
David Rosca
5f6f0f7bd8 DownloadManager: Fix using external manager
Closes #1972
2016-05-31 18:30:19 +02:00
David Rosca
03193be22c Merge branch 'v2.0' 2016-05-27 21:31:32 +02:00
David Rosca
a0691cb6a0 Fix actually saving the correct download path 2016-05-27 21:31:20 +02:00
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
David Rosca
800cc14dcd Bring back support for searching one-word terms from locationbar 2015-10-01 19:25:55 +02:00
David Rosca
5f6cfdc62a Remove WebView::guessUrlFromString and use QUrl::fromUserInput instead
This also fixes setting homepage and new tab urls in preferences.

Closes #1710
2015-10-01 18:37:45 +02:00
David Rosca
8e39135920 WebView: Clear m_clickedUrl and m_clickedPos in mousePressEvent 2015-10-01 18:16:48 +02:00
David Rosca
9f36401be9 Use QWebEngineSettings::defaultSettings instead of globalSettings 2015-10-01 18:02:36 +02:00
David Rosca
aab8f1ea75 WebView: Shift + Left click now opens link in new window
Also handle left clicking on links in mouse release and not click
2015-10-01 17:48:32 +02:00
David Rosca
c68789c217 WebView: Remove unused openNewTab function 2015-10-01 17:37:56 +02:00
David Rosca
5e0ca7fed8 Preferences: Bring back external download manager option 2015-09-30 18:43:58 +02:00
David Rosca
695475b2e4 SiteInfo: Bring back option to save image 2015-09-30 16:20:31 +02:00
David Rosca
bd215a69ed SiteInfo: Bring back showing previews of images 2015-09-30 15:55:00 +02:00
David Rosca
abe13dd22d Cleanups 2015-09-30 15:28:44 +02:00
David Rosca
b24303c00b WebView: Bring back media context menu 2015-09-30 15:26:52 +02:00
David Rosca
d10c47a825 WebView: Don't cache form data when adding create search engine action 2015-09-30 15:05:28 +02:00
David Rosca
6a2579a22c Cleanups
Remove PAC proxy option as it is hardly to ever be supported
in QtWebEngine.
2015-09-30 15:02:10 +02:00
David Rosca
7050ffc9e6 SearchEngines: Bring back creating search engines from forms on page 2015-09-30 14:57:41 +02:00
David Rosca
878c0f93c1 WebHitTestResult: Fix isContentEditable for readonly inputs 2015-09-30 13:38:57 +02:00
David Rosca
1115d02b37 WebView: Hide not working actions in context menu 2015-09-30 13:33:27 +02:00
David Rosca
942299e649 Remove Page Screen action from menus
Page screen functionality will hardly ever come back with QtWebEngine.
2015-09-30 13:28:18 +02:00
David Rosca
bfad9eb0aa WebView: Bring back support for unbeforeunload when closing tab 2015-09-30 13:01:14 +02:00
David Rosca
c042d86467 WebPage: Add timeout to execJavaScript 2015-09-30 12:59:53 +02:00
David Rosca
36929a45bf Another cleanups
Removed printPage() functions + removed SslManager
2015-09-29 23:41:08 +02:00
David Rosca
730577c0e4 BrowserWindow: showWebInspector -> toggleWebInspector
Using the Web Inspector action while inspector is already visible
will close it.
2015-09-29 23:35:16 +02:00
David Rosca
ecfae5512a WebInspector: Fix closing inspector session when opened from popup window 2015-09-29 23:22:33 +02:00
David Rosca
9072cc65c6 WebView: Bring back context menu 2015-09-29 23:15:46 +02:00
David Rosca
4cb9beecc4 WebView: Opening links in tabs now honor user new tab settings 2015-09-29 22:00:09 +02:00
David Rosca
241d7d8e03 WebPage: Add basic support for WebHitTestResult 2015-09-29 21:53:56 +02:00
David Rosca
d4e09d8840 Hack to make input events work 2015-09-29 21:53:19 +02:00
David Rosca
f448bba885 Fix previous commit 2015-09-29 16:37:22 +02:00
David Rosca
6e6f934535 Fix emitting changed() in TabWidget
TabbedWebView::changed() is no longer used, connect to urlChanged directly
2015-09-29 16:31:23 +02:00
David Rosca
ab75170f85 Move authentication + cert error functionality to NetworkManager
Certificate exceptions only works per-session.
2015-09-29 16:19:11 +02:00
David Rosca
b0da5ba755 Bring back NetworkManager class 2015-09-29 11:45:39 +02:00
David Rosca
f3fda02820 WebPage: Remove unusued QSslCert functionality
Also bring back indication of secured pages.
2015-09-29 11:37:17 +02:00
David Rosca
b2c4064f1b Fix build with NONBLOCK_JS_DIALOGS 2015-09-29 11:30:42 +02:00
David Rosca
2582ee3562 Update expectations for popupwindows test 2015-09-29 11:21:17 +02:00
David Rosca
fcaa2b4559 EncodingMenu: Fix showing duplicate codecs in other menu
Also use alphanumeric sorting with QCollator
2015-09-29 11:14:20 +02:00
David Rosca
16b28a3a90 Preferences: Remove not working options
Also fix disabling local cache
2015-09-29 10:55:24 +02:00
David Rosca
5ba8f4dbb6 ProfileManager: Make appropriate functions static 2015-09-28 20:44:15 +02:00
David Rosca
24de161ad1 DataPaths: Use XDG paths + add Cache path
Also drop support for old deprecated config paths.

Closes #1411
2015-09-28 20:41:01 +02:00
David Rosca
7adc31337b Make afterLaunch settings enum 2015-09-28 14:51:38 +02:00
David Rosca
f28da4407f Remove pinnedtabs.dat on startup, not when saving session 2015-09-28 14:34:21 +02:00
David Rosca
6d37ab5ce4 Save pinned tabs per window if restoring session on start
No more pinned tabs restoring on wrong window. Also it is now possible
to have different pinned tabs on each window.
2015-09-27 18:54:19 +02:00
David Rosca
94bac52e1f Changed CookieManager, SiteInfo and Preferences to QWidget
For some reason, QzTools::setWmClass on SiteInfo resulted
in all webviews turning black.
2015-09-25 22:31:04 +02:00
David Rosca
748e6ce020 Ported all X11 specific code to xcb
It now also runtime checks for X11 platform, so it should
work on Wayland without recompilation;
2015-09-25 22:08:09 +02:00
David Rosca
daee137862 Cleanups in WebView 2015-09-25 20:44:18 +02:00
David Rosca
f0408e9c13 Bring back SiteInfo
Security and Databases tabs are removed. Image previews only
works for local images.
2015-09-25 18:31:05 +02:00
David Rosca
a115d91564 Remove Caret Browsing option
No longer available with QtWebEngine
2015-09-25 17:45:47 +02:00
David Rosca
ced9c8553c SearchEngines: Bring back support to add engine from page 2015-09-25 17:41:46 +02:00
David Rosca
67b5a5337b Another cleanups
Includes enabling again SpeedDial integration in Bookmarks
star icon in locationbar.
2015-09-25 17:02:14 +02:00
David Rosca
f4fb888529 QzTools: Add pixmapToDataUrl() 2015-09-25 16:04:12 +02:00
David Rosca
de46aad181 Bring back support for excluding tabs when restoring after crash 2015-09-25 15:53:14 +02:00
David Rosca
a9d0e79eeb RecoveryJsObject: Use safer method to get BrowserWindow from WebPage 2015-09-24 23:08:55 +02:00
David Rosca
fc85caff57 Add QWebPage::view() that returns WebView * 2015-09-24 23:00:27 +02:00
David Rosca
02f5e032fc Bring back qupzilla:restore page
For now, it doesn't support selecting which windows/tabs not to
restore. It is only possible to start new session or restore previous.
2015-09-24 22:46:35 +02:00
David Rosca
8a6d083114 SearchToolBar: Don't make shortcuts translatable 2015-09-24 19:43:31 +02:00
David Rosca
cde3ed179b Always show restore page when starting after crash 2015-09-24 19:37:40 +02:00
David Rosca
37cd709b7f Fix typo 2015-09-24 19:37:15 +02:00
David Rosca
5467f9643e SpeedDial: Fix updating options values in settings 2015-09-24 18:32:10 +02:00
David Rosca
ca6c20497f SpeedDial: Fix center speed dials option 2015-09-24 17:58:25 +02:00
Philipp Wiesemann
3849fed838 Fix not closing files from /proc/ on read errors
The cmdline files opened from /proc/ were not closed if reading the data
from them failed (e.g. because the file was empty). This leaked the file
descriptor which could lead to failures trying to open more files later.
2015-09-11 22:00:51 +02:00
David Rosca
8521b782bd CommandLineOptions: Port to QCommandLineParser
This comes with removing all 2-chars short options,
only long options are now available.
That means there are no longer both "-nw, --new-window" options,
only "--new-window".
2015-09-09 23:37:43 +02:00
David Rosca
7e1a0d7720 Another cleanups 2015-09-08 11:24:16 +02:00
David Rosca
496c46d067 Fix saving & restoring tabs with urls hidden in locationbar
That is eg. qupzilla:speeddial
2015-09-06 10:32:47 +02:00
David Rosca
7c4d44aa54 SpeedDial: Fix saving settings without changing dials
Closes #1689
Closes #1680
2015-09-05 21:12:54 +02:00
David Rosca
328ab40304 SpeedDial: Fix setting background image 2015-09-05 21:08:44 +02:00
David Rosca
50b9dd9023 Bookmarks: Fix bookmarksSelected signal
Regression from recent commits
2015-08-31 22:26:13 +02:00
David Rosca
5b161b74be SearchToolbar: Add Ctrl+G and Ctrl+Shift+G shortcuts
Closes #1688
2015-08-31 22:21:20 +02:00
David Rosca
ff28f1f211 Another cleanup
- bring back support for Speed Dial Ctrl shortcuts
 - bring back support for one key shortcuts
2015-08-31 22:14:45 +02:00
David Rosca
86a4f3d724 Remove support for transparent background 2015-08-31 21:40:08 +02:00
David Rosca
dad94c64a1 Call QtWebEngine::initialize() in main 2015-08-31 21:24:59 +02:00
David Rosca
9d3769c8e6 AutoFill: Save credentials from dynamically created forms
Closes #999
2015-08-31 20:49:49 +02:00
David Rosca
2e6b9b7fce Scripts: Use document.createEvent instead of new Event 2015-08-31 19:58:42 +02:00
David Rosca
32a0db31b3 AutoFill: Initial port to QtWebEngine
There are still issues with completing forms in frames
2015-08-31 18:56:52 +02:00
David Rosca
a04efdc0be window.external: Only export speedDial on qupzilla:speeddial 2015-08-31 13:17:14 +02:00
David Rosca
19f1ed6bfb Scripts: Register window.external to all frames
It seems that only one QWebChannel connection per page
is supported, so we need to forward window.external to
all subframes.
2015-08-31 12:44:08 +02:00
David Rosca
fa2779e6b9 Bring back AutoScroll plugin 2015-08-30 21:15:18 +02:00
David Rosca
758fd6c687 Fix all build warnings 2015-08-30 17:42:58 +02:00
David Rosca
1683d5aaaf Fix crash when creating window from PopupWindow 2015-08-30 16:53:51 +02:00
David Rosca
b53bf49f75 Old code cleanup 2015-08-30 15:52:15 +02:00
David Rosca
e83734069b Bring back support for sending POST data
This fixes searching with engines that use POST method
2015-08-30 15:36:34 +02:00
David Rosca
44de2b48a0 MsgHandler: Ignore message about starting inspector server 2015-08-30 14:54:43 +02:00
David Rosca
32ea932654 WebPage: Don't write JS console messages to standard output
There is now support for web inspector, so this is not needed
anymore.
2015-08-30 14:46:23 +02:00
David Rosca
eec26c9af4 Bring back support for web inspector
QtWebEngine only supports remote web inspector, so this
starts it on port 33417.
2015-08-30 14:44:59 +02:00
David Rosca
bdd5dee361 SearchToolBar: Fix updating search when changing case sensitivity 2015-08-30 10:57:08 +02:00
David Rosca
2466f790bc SearchToolBar: Don't select text when searching on page 2015-08-30 10:56:58 +02:00
David Rosca
1756c51546 Remove remaining RSS code 2015-08-30 10:40:45 +02:00
David Rosca
20c7b3f57b PageThumbnailer: Delay creating thumbnail by 1 sec after loaded 2015-08-30 10:33:10 +02:00
David Rosca
db888e2b2f SpeedDial: Minor design fixes 2015-08-29 19:40:49 +02:00
David Rosca
869e1ff758 Fix QWebChannel connection after restoring history 2015-08-29 19:19:25 +02:00
David Rosca
495ebc785e Don't link to unused Qt modules 2015-08-29 18:32:57 +02:00
David Rosca
ef71be2a0e Scripts: Only emit created Event when external is not null 2015-08-29 18:22:45 +02:00
David Rosca
832bd37114 SpeedDial: Implement loading page thumbnails
QWebEngineView must be visible in order to grab page contents, so
loading thumbnails is creating a new background window that is loading
the page.
2015-08-28 20:55:10 +02:00
David Rosca
fc204b3b46 SpeedDial: Fix to work with QWebChannel
Page thumbnails are not yet implemented, otherwise it more or less
works.
2015-08-28 19:25:45 +02:00
David Rosca
15279a3641 WebView: Don't show source on qrc: scheme 2015-08-28 17:43:44 +02:00
David Rosca
a672771cef WebPage: Remove isPointerSafeToUse hack
Pointers are no longer stored as void* in network requests
2015-08-28 16:18:05 +02:00
David Rosca
b9d5851ef5 Renamed src/webkit -> src/webengine 2015-08-28 16:17:29 +02:00
David Rosca
adea1139b9 StatusBarIcons: Update NetworkIcon to work with QNetworkProxy
This should make it work with proxy config in Qt 5.6
2015-08-28 10:58:54 +02:00
David Rosca
43a15ff547 Fix creating new config directory 2015-08-18 10:13:44 +02:00
David Rosca
6a16cff13e msghandler: Output log context only when not null 2015-08-18 10:12:01 +02:00
David Rosca
f35f17fa96 Link explicitly to x11extras 2015-08-18 09:56:17 +02:00
David Rosca
e5ec3cea90 Revert [AdBlock] Add Malware Domain List and Malware domains subscription
This reverts commits 7c66b3176c and
2f2d2850cd
2015-08-01 18:10:09 +02:00
Peter Dave Hello
2f2d2850cd [AdBlock] Add "Malware domains" subscription 2015-07-11 21:16:10 +08:00
Peter Dave Hello
7c66b3176c [AdBlock] Add "Malware Domain List" subscription 2015-07-11 21:16:05 +08:00
Peter Dave Hello
cc58aa49f8 [AdBlock] Add "Anti-Adblock Killer" subscription 2015-07-11 21:14:51 +08:00
David Rosca
a745e4776f Fix build with Qt 5.5rc 2015-06-24 10:46:57 +02:00
David Rosca
f747ce3e9d Use better fallback for styleName() when proxy style is null 2015-06-11 21:11:10 +02:00
David Rosca
a0b84a5cd3 TabBar: Don't use ProxyStyle directly 2015-06-11 21:10:47 +02:00
David Rosca
0723deb2fc SearchToolbar: Remove "Highlight" option
It is no longer available with QWebEngine.
Also rewrite callback to use lambda instead of invoke wrapper.
2015-06-10 11:08:32 +02:00
David Rosca
406f522c61 WebPage: Implement certificateError 2015-06-09 18:36:57 +02:00
David Rosca
b30b25b254 WebPage: Implement chooseFiles 2015-06-09 18:10:22 +02:00
David Rosca
2d6ba21c03 AdBlockIcon: Set minimum size
See #1655
2015-05-28 11:15:51 +02:00
David Rosca
458c131170 AdBlockRule: Disable copy
Closes #1654
2015-05-28 11:15:43 +02:00
David Rosca
878ed65753 GreaseMonkey: Show script dialog when creating new user script 2015-05-28 10:08:58 +02:00
David Rosca
146fdc953f GreaseMonkey: Allow userscripts with empty body (just metadata header) 2015-05-28 10:06:41 +02:00
David Rosca
26f0912845 GM_Settings: Add button to create new user script 2015-05-28 10:03:33 +02:00
David Rosca
1c6e9fd036 GM_Script: Parse @updateURL metadata entry 2015-05-28 08:44:16 +02:00
David Rosca
fc606e2019 GreaseMonkey: Don't parse pattern in GM_UrlMatcher
Url matching is now done by QtWebEngine
2015-05-28 08:39:33 +02:00
David Rosca
9c7bfb1c94 GreaseMonkey: Fix removing/updating userscripts 2015-05-27 19:48:40 +02:00
David Rosca
431610215d AdBlock: Bring back domain specific element hiding rules 2015-05-27 19:17:29 +02:00
David Rosca
c75eb32367 Bring back support for user style sheet
This also means that AdBlock global hiding rules are
working again.
2015-05-27 18:48:45 +02:00
David Rosca
ad86572fff Bump GreaseMonkey version number
GreaseMonkey now works the same (or even better) as with QtWebKit.
The only difference is that GM_setClipboard is not implemented
and GM_value functions are saving only to localStorage.
2015-05-25 11:48:38 +02:00
David Rosca
038e4f5014 GreaseMonkey: Implement GM_ functions for userscripts 2015-05-25 11:47:32 +02:00
David Rosca
f95d46953f GreaseMonkey: Disable building JSObject 2015-05-25 10:46:30 +02:00
David Rosca
bb995d7984 Fix some warnings 2015-05-25 10:39:39 +02:00
David Rosca
e825f0268b Bring back GreaseMonkey
Everything seems to work just fine. The only thing that doesn't
work now are GM_setValue and GM_getValue functions.
2015-05-24 23:16:01 +02:00
David Rosca
1387dbef64 Bring back TestPlugin 2015-05-24 21:55:06 +02:00
David Rosca
8f353d7c21 Bring back TabManager plugin 2015-05-24 21:53:12 +02:00
David Rosca
b83c845bab PluginInterface: Replace createRequest with acceptNavigationRequest 2015-05-24 21:41:09 +02:00
David Rosca
7d9a07b379 Bring back show source support (using view-source: url) 2015-05-24 21:28:45 +02:00
David Rosca
b6fcfba09a SpeedDial: First try to port it to QtWebEngine
It now just loads the page, but it does not even correctly
shows all the dials.
2015-05-24 20:49:50 +02:00
David Rosca
89dedf0a0e Bring back qupzilla: scheme pages 2015-05-24 20:41:49 +02:00
David Rosca
406e0f670a Downloader: Drop code for FTP downloads
FTP listing and downloading is now supported by QtWebEngine itself
2015-05-24 19:27:53 +02:00
David Rosca
278b725571 Bring back support for downloading files
All files are now automatically downloaded to the specified
directory. Due to QtWebEngine API changes, it is not possible
to ask user where to save the file.
2015-05-24 19:22:32 +02:00
David Rosca
6da67fc53d Correctly create off-the-record profile for private browsing 2015-05-24 17:29:41 +02:00
David Rosca
f90a40836c PopupWindows: Port to QtWebEngine
It now correctly detects when to open tabs and when to open
popup windows.
Support for opening new browser windows is not yet implemented.
2015-05-22 23:57:24 +02:00
David Rosca
e854afb5d3 TabbedWebView: Bring back showing hovered link url in statusbar 2015-05-22 23:30:51 +02:00
David Rosca
286c714593 WebPage: Bring back windowCloseRequested support 2015-05-22 23:30:26 +02:00
David Rosca
014d0d50ab WebPage: Port feature permission notifications to QtWebEngine
Currently there are missing icons for new permission types
2015-05-22 23:18:25 +02:00
David Rosca
bbc7628de0 Implement changing custom user agent
Per-domain user agent is however not working
2015-05-22 22:00:06 +02:00
David Rosca
c08a584333 Set correct paths for cache and persistent data
Also disable persistent data storage when in private mode
2015-05-22 21:49:00 +02:00
David Rosca
4bd92d1403 Port StatusBarIcons plugin to QtWebEngine
Network icon is disabled.
2015-05-22 18:24:09 +02:00
David Rosca
05fcc35658 Fix build with Qt 5.5
Also enable plugins: FlashCookieManager, Gnome and KWallet passwords.
2015-05-22 18:14:16 +02:00
David Rosca
deb7251231 KWalletPasswords: Fix KF5 KWallet includes 2015-05-22 17:55:35 +02:00
Jonathan Hooverman
610dd28ae1 Removed outdated AdBlock Fanboy subscription, closes #1637 2015-04-23 20:23:07 +02:00
Javier Llorente
3a8b0a1d86 change wording from 'on this site' to 'for this site' 2015-04-17 16:36:20 +02:00
David Rosca
8d34cbc02e SuperMenu: Fix enabling Select All and Find actions 2015-04-09 20:07:56 +02:00
Javier Llorente
44af6ef806 fix for bug #1625 2015-03-19 23:22:05 +01:00
David Rosca
8d7cfb0e2a Remove some Qt 4 specific code 2015-02-26 12:17:47 +01:00
David Rosca
7f27f95a1a Fix build 2015-02-08 11:52:09 +01:00
David Rosca
e3deb6cfd5 More cleanups + remove now unusued WebHistoryInterface 2015-02-08 11:51:19 +01:00
David Rosca
226c721d57 BrowserWindow: Remove static WEBKITVERSION 2015-02-08 11:45:15 +01:00
David Rosca
f366dbd11f Encoding: Make character encoding menu working again 2015-02-08 11:42:01 +01:00
David Rosca
8c068b1f87 Preferences: Fix font settings 2015-02-08 11:38:38 +01:00
David Rosca
e4852e7d88 MainApp: Fix loading fonts settings 2015-02-08 11:32:00 +01:00
David Rosca
b94135ead5 WebView: Implement icon loading 2015-02-08 11:13:12 +01:00
David Rosca
41d9c418e9 lib: Enable C++11 2015-02-08 11:09:53 +01:00
David Rosca
f67348fac8 TabWidget: Don't try to load empty url when adding a tab
Fixes showing titles of other tabs when restoring session
2015-02-08 10:10:36 +01:00
David Rosca
72438755a2 AboutDialog: Show QtWebEngine version
For now, it will only show version of Qt
2015-02-08 09:55:11 +01:00
David Rosca
81639ea923 Port settings to use QWebEngineSettings 2015-01-27 12:15:00 +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
ee80b04a11 Import TabManager plugin from qupzilla-plugins 2015-01-21 13:00:51 +01:00
David Rosca
2a9288209c Import FlashCookieManager plugin from qupzilla-plugins 2015-01-21 12:58:45 +01:00
David Rosca
04d4555b47 Don't duplicate convertUrlToText function in WebView 2015-01-21 12:38:12 +01:00
David Rosca
b75e8a8451 Actually, this is much better solution to previous commit. 2015-01-21 12:32:41 +01:00
David Rosca
7384ed2685 Fix searching for strings with non-ascii characters from locationbar
Closes #1587
2015-01-21 12:21:54 +01:00
David Rosca
744a1d15be Merge pull request #1577 from gzsombor/master
Add 'Block domain' button to the cookie manager
2015-01-20 23:45:14 +01:00
David Rosca
841c956262 Merge pull request #1572 from pejakm/prof_fix
Correct profile path. Fixes #1570
2015-01-20 23:44:29 +01:00
Zsombor Gegesy
e81cbb167a Add 'Remove and block domain' button to the cookie manager 2015-01-20 11:00:16 +01:00
David Rosca
80dd3a8f85 Revert "Add option to completely disable SSLv3"
This reverts commit a640948c3b.

QSsl::SecureProtocols is default value and it already
disables SSLv3 in Qt 5

Closes #1579
2015-01-12 21:11:12 +01:00
David Rosca
26ca447d91 Revert "Use TLS 1.2 with Qt 5 when disabling SSLv3"
This reverts commit 0ccc759e1f.
2015-01-12 21:11:03 +01:00
David Rosca
509a79d987 New year 2015 2015-01-01 12:08:46 +01:00
David Rosca
42ebb227c6 BookmarksModel: Use internalPointer when passing mimedata
internalPointer() is the same as internalId(), which means
that it actually is not safe to use them.
But for now, this at least fixes crashes on FreeBSD and works
quite well in most cases.

Closes #1565
2014-12-31 10:19:14 +01:00
Mladen Pejaković
fbc7c73616 Update fix 2014-12-30 14:51:36 +01:00
David Rosca
dc5dafbe9a Fix build with Qt 4 2014-12-30 14:43:37 +01:00
David Rosca
952196b2e9 BookmarksModel: Correctly store QModelIndex::internalId in data stream
See #1565
2014-12-30 14:25:02 +01:00
David Rosca
d864a14fa6 Merge pull request #1563 from oshi-shinobu/master
Added CTRL+L shortcut to clear download list
2014-12-30 13:25:11 +01:00
Nobody Really
af541a787e Added CTRL+l shortcut to clear download list 2014-12-30 12:46:12 +01:00
David Rosca
01b0491c5b Merge pull request #1569 from srazi/FTP-handle-text-html
FTP: Don't prompt to download text files,
2014-12-30 11:04:52 +01:00
S. Razi Alavizadeh
9591754027 WebPage: Download unsupported content from FTP protocol. 2014-12-29 21:59:08 +03:30
Mladen Pejaković
b86081cb66 Correct profile path. Fixes #1570 2014-12-29 18:28:14 +01:00
David Rosca
c1901cd81d Don't try to load translations for C locale 2014-12-27 12:32:16 +01:00
S. Razi Alavizadeh
3511e0401b RTL, dir list page: Fixed position of dir-up button in RTL layout..
- CLoses #1568
2014-12-25 22:07:50 +03:30
S. Razi Alavizadeh
ce38c2d4fe FTP: Don't prompt to download text files,
- Also update coding style and clean up.
- Closes #1559
2014-12-25 21:51:28 +03:30
S. Razi Alavizadeh
37ce38bbf8 TabBarHelper: Fix a rare bug and compute pressed index, correctly. 2014-12-25 15:16:31 +03:30
S. Razi Alavizadeh
393009f4d1 Show navigation bar when calling openLocation() in full screen mode.
- Closes #1464
2014-12-25 00:10:30 +03:30
S. Razi Alavizadeh
94afd29d67 Windows,Qt5: Fixed compile issue.
- It fixes: error: C2308: concatenating mismatched strings Concatenating wide
- See: http://blog.qt.digia.com/blog/2014/06/13/qt-weekly-13-qstringliteral/
2014-12-24 23:38:38 +03:30
David Rosca
0ccc759e1f Use TLS 1.2 with Qt 5 when disabling SSLv3 2014-12-24 15:08:30 +01:00
Nobody Really
240cecb230 Allow closing Download Manager and Browsing Library with CTRL+w 2014-12-21 15:10:29 +01:00
David Rosca
5cf4d0d6e0 AdBlock: Use display:block when hiding blocked iframes
visibility:hidden leaves empty space in page
2014-12-17 13:27:53 +01:00
David Rosca
a750858ed7 AdBlock: Fix hiding iframes that have completely blocked contents
Closes #1552
2014-12-17 09:51:24 +01:00
S. Razi Alavizadeh
d28154c3d2 ProxyStyle: Set tabbar alignment to left
Closes #1547
2014-12-16 15:18:57 +01:00
David Rosca
478cfa660d Merge pull request #1549 from srazi/fix_1539
Assume "about:blank" as an empty URL.
2014-12-16 14:35:46 +01:00
David Rosca
5d99f53fb8 WebView: Fix zoom shortcuts with +/-/0 on numeric block 2014-12-13 19:29:45 +01:00
David Rosca
fba9900775 Fix debug output with Qt 5.4
Qt 5.4 outputs a malformed "QSslSocket: cannot resolve SSLv2_client_method ("
message on first SSL connection and it breaks all terminal output.
2014-12-13 19:28:27 +01:00
S. Razi Alavizadeh
ab368f647f Assume "about:blank" as an empty URL.
- Closes #1539
2014-12-13 03:37:41 +03:30
S. Razi Alavizadeh
8a7af28165 MainApplication: The getWindow() try to return the current active or last activated window 2014-12-02 22:05:17 +03:30
S. Razi Alavizadeh
598ad6f13c TabStackedWidget: Emit signal on change of pin state. 2014-12-02 10:04:03 +03:30
S. Razi Alavizadeh
9301a5a2a8 CookieManager: Don't add same server to different filters,
- Also don't allow duplicate entries in filters.
2014-12-01 20:17:07 +03:30
David Rosca
e60df0c9f4 MouseGestures: Fix warning about duplicated label names in settings dialog 2014-11-29 13:07:51 +01:00
David Rosca
b4fc38d5ef Silence one cppcheck warning 2014-11-29 11:12:41 +01:00
David Rosca
7ff53e645a Merge pull request #1531 from EionRobb/patch-1
Add duplicate tab (Down->Up) mouse gesture
2014-11-24 14:58:32 +01:00
Eion Robb
f5606e9326 Fix for compiling Windows version with mingw 2014-11-24 09:28:12 +13:00
David Rosca
a640948c3b Add option to completely disable SSLv3
Enabled by default.

See #1493
2014-11-21 19:39:35 +01:00
Eion Robb
154b43a644 [MouseGestures] Add the info to the UI about Down+Up gesture 2014-11-21 13:04:04 +13:00
Eion Robb
65a803b9cc [MouseGestures] Down+Up tab duplicate gesture needs to know what tab to duplicate 2014-11-21 12:47:40 +13:00
Eion Robb
3fe5a699ff Add down+up gesture to mousegestures header 2014-11-20 13:34:04 +13:00
Eion Robb
00812af136 Add duplicate tab (Down->Up) mouse gesture 2014-11-20 13:32:31 +13:00
David Rosca
b1c12998c7 LocationBar: Fix Del key removing all right part of the url 2014-11-18 12:45:37 +01:00
David Rosca
3b38d25277 Drop SSLV3Sites workaround
It is no longer needed, but moreover it is now also not wanted
due to recent SSLv3 security issues.
2014-11-16 22:44:06 +01:00
David Rosca
d0aafd78c0 SpellCheck: Fix loading dictionaries after user saves the spellcheck dialog 2014-11-15 11:54:33 +01:00
David Rosca
1e3556696c Qt5: Enable HighDPI pixmaps 2014-11-14 09:28:42 +01:00
David Rosca
24ff9285f5 Use desktop availableGeometry for default window size calculation 2014-11-10 12:15:23 +01:00
David Rosca
63b7e41713 Save geometry of Preferences window
Closes #1514
2014-11-10 12:05:49 +01:00
David Rosca
03c875b229 Set default window size to be desktop size / 1.3 2014-11-10 11:50:53 +01:00
David Rosca
4320eb202f Fixed "Open blank tab" on new tab option on OS/2 2014-11-08 11:54:46 +01:00
David Rosca
addd5d1f43 OpenSearchEngine: Use Json class instead QScriptEngine to parse suggestions 2014-11-08 11:15:22 +01:00
David Rosca
476bd93f55 Mac: Open new window when clicking on Dock icon
Closes #1517
2014-11-08 10:21:01 +01:00
David Rosca
478b5ddb84 Use open() instead of exec() in all dialogs
Avoid blocking exec().

Closes #1515
2014-11-07 18:08:12 +01:00
David Rosca
05c1fec5c6 Preferences: Prevent opening more than one window 2014-11-07 17:16:22 +01:00
Jonathan Hooverman
fbcb3022ee ChinaList is deprecated and has been replaced by Easylist China
Fixes #1516
2014-11-05 12:53:34 +01:00
David Rosca
f698c0a78f LineEdit: Fix slow text selection with mouse
Regression from 2c0582b9a1
2014-11-05 09:51:13 +01:00
David Rosca
b81c45486f Fix build on Mac with Qt4
QKeySequence::FullScreen was only added in Qt5

Closes #1513
2014-11-04 10:29:04 +01:00
David Rosca
2ed002cb2a Fix build with Qt 4.7 2014-11-03 15:45:11 +01:00
David Rosca
1ff1969941 Mac: Fix Preferences... action in application menu
Make sure the Configuration Information action won't be
detected as "Preferences..." action.

Also use native shortcut for fullscreen (Ctrl+Meta+F)

Closes #1332
2014-11-01 23:19:52 +01:00
David Rosca
3a9f2f9e78 Settings: Allow nesting instances without breaking groups
Closes #1511
2014-11-01 17:50:26 +01:00
David Rosca
9359977d8b Cleanup displayed build configuration flags in qupzilla:config
Removed KDE Integration and WebGL. Both flags don't have much use now.
KDE Integration only enables KWallet plugin building (and only when
KWallet-dev is available).
WebGL is now enabled by default by any recent QtWebKit versions.

Also show Win7API flag only on Windows.
2014-11-01 10:14:04 +01:00
David Rosca
5779b6b835 Adjust default font sizes 2014-11-01 10:01:29 +01:00
David Rosca
ebb2544142 Remove live.com from list to force SSLv3 2014-10-31 16:00:08 +01:00
David Rosca
a0dd1ddcb7 AdBlock: Use one cache for all subscriptions
Added new class AdBlockMatcher that holds the cache of
all subscriptions with rules.
This moves the matching logic from AdBlockSubscription into
separate class.
It also fixes issue that CSS exception rules weren't able to
affect rules from different subscription.
2014-10-31 15:39:02 +01:00
David Rosca
613d18ed16 Remove hdi.de from list to force SSLv3 2014-10-28 13:04:00 +01:00
David Rosca
a70a03272f Building: Use system QtFtp module when available with Qt5
See #1503
2014-10-28 12:43:50 +01:00
David Rosca
3962c63927 Plugins: Don't exclude allowed plugins from available plugins list
This fixes issue that the allowed plugin (enabled by user) would
disappear from the all plugins list (in preferences) after failing
to load on startup.
2014-10-26 17:10:24 +01:00
David Rosca
d29861fdff Windows: Fix crash when unloading AutoScroll plugin 2014-10-19 20:25:54 +02:00
David Rosca
55b9f2c515 Fix building with Qt 4.7 on Linux 2014-10-18 17:05:29 +02:00
David Rosca
2c0582b9a1 LineEdit: Cleanup text edit actions code 2014-10-18 16:33:37 +02:00
David Rosca
ada212bc59 LineEdit: Fix text edit shortcuts not working on non-latin keyboard layout
This fixes Ctrl+C/V/X/A shortcuts in LocationBar and WebSearchBar

Followup to #1494
2014-10-18 16:33:21 +02:00
David Rosca
f6b679585e WebView: Fix text edit shortcuts not working on non-latin keyboard layout
Closes #1494
2014-10-17 18:37:18 +02:00
David Rosca
bcc9f3f431 Portable: Fix auto-loading saved plugins on startup 2014-10-16 12:24:48 +02: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