David Rosca
4f0c30c5c7
Add support for window.print()
...
Closes #2509
2018-01-13 16:42:03 +01:00
David Rosca
a8dcf176cf
Fix merge issues
2018-01-11 20:51:34 +01:00
David Rosca
e0e62c6e81
SearchEngines: Add back support for window.external.AddSearchProvider
2018-01-11 19:57:10 +01:00
David Rosca
4bf85ee3cb
WebPage: Register QWebChannel on isolated ApplicationWorld
...
This way scripts on pages don't have access to it.
Exception is qupzilla: scheme as internal pages requires the bridge.
GreaseMonkey userscripts now runs on ApplicationWorld too. This fixes
userscript that depend on script world being isolated from main page world.
Tested with 4ChanX + OneeChan.
2018-01-11 19:55:01 +01:00
David Rosca
1f9599aac7
Add DownloadsButton to navigation toolbar
...
It is visible only when there are items in download manager and shows
number of active downloads in badge text.
2018-01-11 19:48:43 +01:00
David Rosca
0e41fd0785
AbstractButtonInterface: Add support for hiding tool button
2018-01-11 19:48:06 +01:00
David Rosca
238a06874d
AbstractButtonInterface: Allow delayed hide of popup
2018-01-11 19:48:01 +01:00
David Rosca
6806fa5405
AbstractButtonInterface: Use WebView property instead of WebPage
...
WebView of a tab will not change while WebPage may.
This also fixes crash when WebPage of WebView is changed. It can happen
eg. when opening new tab from page with target=_blank.
Closes #2537
2018-01-11 19:42:38 +01:00
David Rosca
ba2ea9cb09
AbstractButtonInterface: Rename badgeLabelText -> badgeText
2018-01-11 19:36:54 +01:00
David Rosca
09d2a2017d
ButtonWithMenu: Don't show menu on right click
2018-01-11 19:31:00 +01:00
David Rosca
c5b59d1011
ToolButton: Disable showing button menu on right click by default
2018-01-11 19:30:05 +01:00
David Rosca
6824ea17f2
NavigationBar: Add support for adding additional tool buttons
2018-01-11 19:28:32 +01:00
David Rosca
54282af88f
ClosedWindowsManager: Only save last 3 windows in session file
...
Prevents growing session file indefinitely.
2018-01-11 19:24:07 +01:00
David Rosca
5cc41d219e
Always open new window when restoring session after crash
...
Also remove special handling for qupzilla:restore tabs.
2018-01-11 19:23:36 +01:00
David Rosca
679268dbd1
ClosedTabsManager: Move check for saving restore tab from TabWidget
2018-01-11 19:22:43 +01:00
David Rosca
3f60c554ee
ClosedWindowsManager: Save closed windows into session file
2018-01-11 19:21:59 +01:00
David Rosca
8a6547b39c
Use window._qupzilla_external property to check if web channel is connected
...
Instead of checking for window.external as that is now defined with
at least QtWebEngine 5.10.
2018-01-11 19:15:02 +01:00
David Rosca
6a5b7d30e3
ExternalJsObject: Add support for registering extra objects
...
Extra objects will be available as window.external.extra.objectName
2018-01-11 19:11:02 +01:00
David Rosca
87527762f8
IconProvider: Use encodeUrl also when searching for existing icon
...
As suggested by @srazi
2018-01-11 19:10:14 +01:00
David Rosca
4e0e4b0d35
ClosedWindowsManager: Fix crash when saving window without any tabs
2018-01-02 22:57:34 +01:00
David Rosca
25b1583770
Fix merge issues
2018-01-02 15:22:35 +01:00
David Rosca
f80d827e59
QzTools: Use correct screen for widget in centerWidgetOnScreen
...
BUG: 384543
2018-01-02 15:03:50 +01:00
David Rosca
ef06ed567a
Add ClosedWindowsManager allowing to restore closed windows
...
Closes #2306
2018-01-02 15:03:11 +01:00
David Rosca
16fcae4202
ClosedTabsManager: Rewrite to use WebTab::SavedTab
2018-01-02 14:59:06 +01:00
David Rosca
1ea0c570c4
SqlDatabase: Remove exec and execAsync methods
2017-12-23 18:34:46 +01:00
David Rosca
c1c168aae9
Create every QSqlQuery with correct database for current thread
...
Queries are now always executed on correct database instance.
Databases are also stored in thread local storage instead of in hash
table with mutex.
Closes #2498
2017-12-18 13:06:42 +01:00
David Rosca
fd1b8ca16f
IconProvider: Save icon urls as QString instead of QByteArray
...
Saving it as QByteArray results in sqlite treating it as binary data
and breaks the index search.
Closes #1474
2017-11-13 13:28:28 +01:00
David Rosca
e8807fd901
Fix build on macOS < 10.12
...
Closes #2473
2017-11-08 15:59:17 +01:00
David Rosca
fe82dde871
IconProvider: Use SqlDatabase to exec query on correct database in imageForDomain
...
Fixes crash when being called from multiple threads with Qt 5.10
Closes #2491
2017-11-01 17:36:51 +01:00
David Rosca
efff69b7b2
Continue with Falkon renaming
2017-08-25 17:55:52 +02:00
David Rosca
d00e769749
Initial rename to Falkon
2017-08-25 17:32:32 +02:00
David Rosca
bc65a0a038
Add RemoveItemFocusDelegate and use it in SearchEnginesDialog
2017-06-08 13:08:38 +02:00
David Rosca
74c65c2272
Password observer: Also use 'login' input name as username
2017-05-29 16:15:09 +02:00
David Rosca
57172459d8
Fix comparing tagName in form observer
...
Listen also to subtree mutations
Closes #2321
2017-05-29 16:08:41 +02:00
David Rosca
54949f94f3
AesInterface: Don't use deprecated RAND_pseudo_bytes
2017-05-03 21:17:09 +02:00
Jose Rios
efc4725e91
Fixed compilation for Openssl 1.1.0
...
Most of libcrypto and libssl internal structures were made
opaque in this version not allowing to instatiate them in
the stack.
More info:
* https://www.openssl.org/news/openssl-1.1.0-notes.html
* https://github.com/openssl/openssl/issues/962#issuecomment-208792020
2017-05-01 11:03:40 +02:00
srazi
9af542aa03
macOS: Disable auto window tabbing ( #2261 )
2017-03-20 04:28:55 +03:30
David Rosca
e150e44cc6
Replace Q_OS_MAC with Q_OS_MACOS
2017-02-10 19:00:58 +01:00
David Rosca
85f8cf881e
Fix drawing text with correct color in item delegates on Windows
2017-02-07 15:47:41 +01:00
David Rosca
335c6b66c5
SpeedDial: Correctly emit load error when trying to load invalid url
2017-02-07 14:52:56 +01:00
David Rosca
41adc8f9ba
Don't block focus for QListWidgets
...
Also set per-pixel scrolling in Preferences
2017-01-27 14:34:56 +01:00
David Rosca
7c798585ef
Html5PermissionNotification: Close when request is canceled / load started
2017-01-23 09:14:46 +01:00
David Rosca
ddb60dca53
Bring back mouse grab permission workaround
...
It is still needed for QtWebEngine 5.7
2017-01-22 13:24:01 +01:00
David Rosca
060011e466
Use qMax and qAbs instead of std functions
...
Closes #2169
2017-01-21 21:23:36 +01:00
David Rosca
0584037a4f
HTML5PermissionsNotification: Remove icon of the requested feature
2017-01-21 16:37:42 +01:00
David Rosca
eeef5da06c
WebTab: Show notifications over webview
...
Mouse grab permission workaround now can be removed as the notification
(and mouse cursor) is inside webview
2017-01-21 16:33:32 +01:00
David Rosca
5cc7dd080e
Fix scrolling with high resolution mouse/touchpads
...
Use helper class to accumulate "common steps" of 120 angle delta.
2017-01-21 12:23:53 +01:00
David Rosca
f701642e34
PageThumbnailer: Take into account devicePixelRatio
2016-12-31 16:24:51 +01:00
David Rosca
9b3fc5f404
Update ignored schemes for saving history and icons
2016-12-31 14:53:06 +01:00
David Rosca
c5e5a679bd
Fix generic webpage icon with HighDPI
2016-12-30 17:20:01 +01:00