1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00
Commit Graph

4041 Commits

Author SHA1 Message Date
David Rosca
208e08a914 DownloadManager: Add support for all save page formats 2016-10-25 16:00:04 +02:00
David Rosca
c3b6271a1c Travis: Qt 5.6 is no longer supported 2016-10-24 22:19:45 +02:00
David Rosca
96634f7f85 Update translations 2016-10-24 22:14:22 +02:00
David Rosca
9e1c6312cb Fix connecting to WebView::iconChanged 2016-10-24 21:43:31 +02:00
David Rosca
c0907885b9 Implement QWebEnginePage::createWindow(WebBrowserBackgroundTab) 2016-10-24 21:31:24 +02:00
David Rosca
1eec6ac87a Use ViewSource page action with Qt 5.8 2016-10-24 21:24:33 +02:00
David Rosca
38bf9d2b4a Use QWebEngineView::icon() instead of custom icon downloading 2016-10-24 21:19:27 +02:00
David Rosca
e1c97e1a6d Use runtime Qt version instead of define where appropriate 2016-10-24 21:10:15 +02:00
David Rosca
cf3fa88942 Require Qt 5.7 2016-10-24 20:11:50 +02:00
David Rosca
f7835b7ba8 Merge branch 'v2.0' 2016-10-24 20:04:27 +02:00
David Rosca
b8414e12c5 Rename license file to LICENSE 2016-10-24 20:02:26 +02:00
David Rosca
19ac3667bc Fix typo in CHANGELOG 2016-10-24 17:41:37 +02:00
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
91fa5cd835 Update empty.ts 2016-09-18 12:10:36 +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
David Rosca
c8a3930d8c Update empty.ts 2016-08-16 12:58:47 +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
cranes-bill
0e3448f96c Fix completions according to new options (#2043) 2016-08-15 14:24:18 +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
cranes-bill
d0a4cfa726 Fix completions according to new options (#2043) 2016-07-31 14:35:02 +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