David Rosca
059889ecfe
BrowserWindow: Don't show "Empty Page" in window title
2018-01-11 19:55:44 +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
6a48f4d862
TabBar: Disable greying out not restored tabs
...
It doesn't really work with some themes and there doesn't seem
to be easy way to make the text always clearly visible.
2018-01-11 19:45:27 +01:00
David Rosca
2f8c12ff1c
WebTab: Fix tab with empty url but not empty history treating as invalid
...
Fixes possibility to lose tabs on session restore when closing window
right after it started to restore session (right after it was opened).
2018-01-11 19:38:23 +01:00
David Rosca
0cbbd197ca
AdBlockIcon: Move from statusbar to navigationbar as tool button
2018-01-11 19:29:09 +01:00
David Rosca
c85d33e92a
MainApplication: Completely remove isRestoring state
...
Restoring session should not be any different from simply opening
regular session.
2018-01-11 19:21:47 +01:00
David Rosca
f2002892aa
Save previous crashed session that were not restored to session file
...
Closes #2331
2018-01-11 19:21:17 +01:00
David Rosca
f0488c33c3
WebTab: Correctly remove itself from TabWidget
2018-01-01 17:01:48 +01:00
David Rosca
8817493c68
Tabs: Allow to detach tab from window with only one tab
...
Window will be closed after detaching this tab.
2018-01-01 17:01:41 +01:00
David Rosca
56b28bfa1f
WebTab: Make sure to not call slotRestore multiple times
...
It can happen when switching sessions and results in current tab
being empty tab.
2017-12-30 18:06:19 +01:00
David Rosca
ca2b5f22be
SearchToolbar: Don't set shortcuts from UI file
...
Fixes build with Qt 5.10
Closes #2515
2017-12-03 19:10:01 +01:00
Razi Alavizadeh
04b288b395
Fix restoring non-loaded tabs when moving them.
2017-10-03 17:02:25 +03:30
David Rosca
d00e769749
Initial rename to Falkon
2017-08-25 17:32:32 +02:00
David Rosca
1387baade0
SearchToolBar: Guard against running search callback after toolbar was deleted
2017-08-25 16:11:40 +02:00
srazi
a78b595569
Hide sidebar when a web element goes to full screen.
...
- Closes #2423
2017-08-23 14:02:26 +04:30
David Rosca
8e16efc1bf
Fix crash when restoring history of internal pages with QtWebEngine 5.8
...
Closes #2302
2017-04-08 16:44:41 +02:00
David Rosca
cb4012c5c9
Don't save qupzilla:restore tabs in sessions
2017-04-07 12:36:42 +02:00
David Rosca
5873ed48fd
TabIcon: Hide icon immediately when url is empty or has qupzilla: scheme
2017-02-07 10:41:37 +01:00
David Rosca
446f02c7ee
WebTab: Remove stylesheet changing background color
...
It was there from QtWebKit times, it has no effect now.
2017-01-31 22:11:21 +01:00
David Rosca
abc7a2528b
PopupWindow: Use same notifications as WebTab
2017-01-22 14:58:45 +01:00
David Rosca
f6e9cc1c6a
WebTab: Make it possible to show more than one notification
2017-01-22 14:26:48 +01:00
David Rosca
a049f44757
Each tab now has its own SearchToolBar
...
Also disable show/hide animations.
SearchToolBar is now above Web Inspector (if visible).
2017-01-21 17:43:41 +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
68e0425bde
Hide tab icon when page icon is null
...
Completely hide the tab icon instead of showing generic webpage icon
when page icon is null.
2016-12-30 17:16:30 +01:00
David Rosca
ad563dbba4
WebTab: Add 1 second delay before restoring tab on session restore
...
Workarounds crash in QtWebEngine
2016-12-27 20:10:33 +01:00
David Rosca
fe77d7c9ba
WebTab: Don't need to set zoom when tab is not restored
2016-12-27 19:46:12 +01:00
David Rosca
e15bcc9215
Fix restoring zoom level of tabs
2016-12-27 18:40:13 +01:00
David Rosca
1a110c3641
WebHitTestResult: Use data from QWebEngineContextMenuData
...
Fixes handling context menus in iframes.
Closes #2126
2016-12-26 17:26:39 +01:00
David Rosca
7bdd1b951f
Give WebView focus after restoring tab
2016-12-26 12:58:45 +01:00
David Rosca
cf3fa88942
Require Qt 5.7
2016-10-24 20:11:50 +02:00
Vlad
134737afda
Implement audio mute for webtabs ( #2019 )
2016-08-05 10:50:50 +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
055210ca0a
Hide "Inspect Element" when web inspector is not enabled
...
Closes #1905
2016-04-05 09:30:43 +02: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
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
ebaf53f4f4
WebView: Always use WebView::restoreHistory()
2015-10-15 20:51:26 +02:00
David Rosca
74fc271e25
WebInspector: Implement Inspect Element action
2015-10-15 17:19:16 +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
b39809bfae
Remove option to show tab previews
2015-10-09 16:03:38 +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
949faa5856
Add support for HTML FullScreen
...
Esc is used to leave fullscreen
2015-10-05 18:08:14 +02:00
David Rosca
c68789c217
WebView: Remove unused openNewTab function
2015-10-01 17:37:56 +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
9072cc65c6
WebView: Bring back context menu
2015-09-29 23:15:46 +02:00
David Rosca
d4e09d8840
Hack to make input events work
2015-09-29 21:53:19 +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
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
8a6d083114
SearchToolBar: Don't make shortcuts translatable
2015-09-24 19:43:31 +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
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
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
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
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
869e1ff758
Fix QWebChannel connection after restoring history
2015-08-29 19:19:25 +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
7d9a07b379
Bring back show source support (using view-source: url)
2015-05-24 21:28:45 +02:00
David Rosca
e854afb5d3
TabbedWebView: Bring back showing hovered link url in statusbar
2015-05-22 23:30:51 +02: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
S. Razi Alavizadeh
0af8f45a5f
[MouseGestures] Honor to user settings for 'New Tab' url,
...
- Closes #1380
2014-06-02 00:28:41 +04:30
David Rosca
e9a9a768cc
[TabbedWebView] Make sure to not crash with invalid m_window pointer
...
This is followup to properly handle detached WebTab (outside
BrowserWindow)
[ci skip]
2014-04-11 22:23:42 +02:00
nowrep
bfcae43c21
[WebTab] Don't show "Loading.." on empty tabs
...
[ci skip]
2014-04-08 14:41:30 +02:00
nowrep
aa248893c1
[TabWidget] Renamed getTabBar() to just tabBar()
2014-04-04 17:14:31 +02:00
nowrep
5c2c90ae6d
[WebTab] More cleanup in detach/attach code.
...
TabbedWebView can now be used with null BrowserWindow pointer.
2014-04-04 17:07:31 +02:00
nowrep
98907c2055
[WebTab] Reworked tab attaching/detaching.
...
This also fixes crash on detach
2014-04-01 18:47:19 +02:00
nowrep
84f117e68e
[AutoScroll] Fixed AutoScroll plugin after recent commits
...
Use WebView::overlayWidget for showing widgets over WebView
2014-04-01 16:32:55 +02:00
nowrep
2d9dfa9db7
[WebInspector] WebInspector is now displayed inside WebTab
...
It no longer uses QDockWidget. Instead, it is plain QWidget with
close button in top right corner.
2014-03-31 17:57:35 +02:00
nowrep
7f3d8ee786
[Cleanup] Split src/lib/webview into tabwidget, webkit and webtab folders
2014-03-31 14:54:08 +02:00