Florian Bruhin
68a7387b6b
Merge remote-tracking branch 'origin/pr/3940'
2018-06-12 16:32:05 +02:00
Florian Bruhin
a1a5885367
Set parents for tab sub-objects
2018-06-12 14:09:06 +02:00
Florian Bruhin
a6db700886
Fix HTML5 fullscreen
2018-06-12 13:44:47 +02:00
Slackhead
088c7b235d
fix for qt 5.7.1
2018-06-12 11:22:41 +01:00
Florian Bruhin
6faff11243
Improve error messages with backend conditionals
2018-06-12 11:10:03 +02:00
Florian Bruhin
3b0c8e46a3
Add an initial cookie filter for Qt 5.11
...
See #3010
2018-06-12 09:36:05 +02:00
Slackhead
35a1e118f8
combine style nodes
2018-06-12 04:25:13 +01:00
Florian Bruhin
093f07f552
Add content.canvas_reading setting
...
See #2377
Closes #2235
2018-06-11 23:28:04 +02:00
Florian Bruhin
ad7e080827
Fix lint
2018-06-11 21:47:38 +02:00
Florian Bruhin
67c67db230
Handle multiple visible children when finding lost focusProxy
...
When we click a QTBUG link (to open in a new tab) from Qt's codereview, we get
two RWHV objects which both are visible.
Experimenting with .setEnabled(False) it looks like it's (hopefully always...)
the last one which is the one to use.
2018-06-11 21:43:27 +02:00
Florian Bruhin
c328d54ebe
Add a lost-focusproxy debug flag
2018-06-11 21:27:08 +02:00
Florian Bruhin
a6b314ae91
Don't connect Qt 5.11 signals on PyQt 5.10
...
Apparently the signal attributes already exist with PyQt 5.10 (*sigh*) but PyQt
doesn't know what to do with the arguments, causing this to happen:
TypeError: unable to convert a C++ 'QWebEngineRegisterProtocolHandlerRequest'
instance to a Python object
2018-06-11 21:21:41 +02:00
Florian Bruhin
d42934af08
Turn off FocusOnNavigationEnabled on Qt 5.9
...
This way we get the same behavior with Qt 5.9 and 5.10 at least, leaving only
5.7 if we pretend that 5.8 never existed.
2018-06-11 20:28:00 +02:00
Florian Bruhin
141afff0c6
Add a content.desktop_capture setting
...
See #2939
2018-06-11 20:18:57 +02:00
Florian Bruhin
69abc9a1a1
Add a content.webrtc_public_interfaces_only option
...
See #3010
Fixes #2163
2018-06-11 19:44:45 +02:00
Florian Bruhin
3bf89bcea4
Add content.autoplay option
...
See #3010
Closes #1643
2018-06-11 19:32:34 +02:00
Florian Bruhin
c5b7ed350e
Make it possible to provide a converter for websettings
2018-06-11 19:14:31 +02:00
Florian Bruhin
263d298449
Remove the content.developer_extras setting
2018-06-11 18:09:24 +02:00
Florian Bruhin
e5fbb9f68a
Remove pyqtSlot annotations for new types
2018-06-11 18:09:24 +02:00
Florian Bruhin
54011782c8
webenginetab: Move scripts to separate object
2018-06-11 18:09:24 +02:00
Florian Bruhin
b3749df009
webenginetab: Move permissions to separate object
2018-06-11 18:09:18 +02:00
Florian Bruhin
4186577928
Add support for navigator.registerProtocolHandler
...
See #3010
2018-06-11 18:09:18 +02:00
Florian Bruhin
c020160f75
Add support for navigator.webkitPersistentStorage.requestQuota
...
See #3010
2018-06-11 18:09:18 +02:00
Florian Bruhin
4ea957b68b
Allow Qt 5.11 for backends in configdata.yml
2018-06-11 18:09:18 +02:00
Florian Bruhin
05e73872b6
Add blocking=True to shared.feature_permission
2018-06-11 16:37:53 +02:00
Florian Bruhin
be95d6f505
Remove moved audio API
2018-06-11 16:07:32 +02:00
Florian Bruhin
b954fd4b15
Move _on_feature_permission_requested to WebEngineTab
2018-06-11 16:06:58 +02:00
Florian Bruhin
8964845c18
Remove unused import
2018-06-11 15:30:01 +02:00
Florian Bruhin
c7f57bc111
Tell pylint to shut up about a shadowed argument
2018-06-11 15:29:35 +02:00
Florian Bruhin
f052eff038
Stop using view-source: scheme for Pygments-highlighted URLs
...
Doing so causes QtWebEngine to load its own view-source: page even if we supply
custom data.
Instead we pass the original page's URL (to not regress #2948 ).
This partially reverts #3521 and reintroduces TabData.viewing_source.
However, on QtWebEngine we can still ":view-source --pygments" and then
":view-source" (with or without "--pygments") again, because the bit gets
cleaned in _on_load_started.
See #3654 .
2018-06-11 15:18:00 +02:00
Florian Bruhin
6e23a6b958
Merge remote-tracking branch 'origin/pr/3654'
2018-06-11 14:56:32 +02:00
Florian Bruhin
cbd9e36e0f
Fix typo
2018-06-11 14:13:11 +02:00
Florian Bruhin
b63e06561d
Only consider visible render widgets for lost focusProxy
...
Otherwise, when commenting out the focusProxy way above, and using "foo !npm"
with DuckDuckGo, we get two children (one visible, one invisible).
2018-06-11 14:00:02 +02:00
Florian Bruhin
49b6a512c2
Add missing docstring
2018-06-11 13:17:14 +02:00
Florian Bruhin
2934f4a1ca
Merge remote-tracking branch 'origin/pr/3973'
2018-06-11 12:34:18 +02:00
Florian Bruhin
8376278961
Update docs
2018-06-11 12:14:24 +02:00
Florian Bruhin
a1fcdbcfd1
Move muted/audible API to own ".audio" object
2018-06-11 12:12:37 +02:00
Florian Bruhin
1c8d470bd7
Merge remote-tracking branch 'origin/pr/3908'
2018-06-11 12:06:09 +02:00
Florian Bruhin
3999802c71
Add missing 'return'
2018-06-11 11:35:35 +02:00
Florian Bruhin
cf8dbd8bfd
Move pressing Enter into a method
2018-06-11 11:35:16 +02:00
Florian Bruhin
7f69920158
Merge remote-tracking branch 'origin/pr/3947'
2018-06-11 11:29:14 +02:00
Jimmy
addd2e74ce
Allow negating categories in --logfilter
...
Sometimes I want to see all the logs _except_ for the sql stuff and
"marked cookies as dirty". with this you should be able to pass
`--logfilter \!sql,save`.
2018-06-11 21:26:54 +12:00
Florian Bruhin
f034abe6a1
Handle showing/hiding of the inspector properly
2018-06-11 11:07:14 +02:00
Florian Bruhin
1ba2e3e24b
Implement Qt 5.11 devtools support
...
See #3010
2018-06-11 11:07:14 +02:00
Jay Kamat
315ed519ee
Use ctrl-enter in all cases
2018-06-10 16:27:56 -07:00
Florian Bruhin
c4add62301
Merge remote-tracking branch 'origin/pr/3825'
2018-06-10 17:30:44 +02:00
Florian Bruhin
3bffe1ccf8
Release v1.3.2
2018-06-10 15:59:50 +02:00
Jay Kamat
11d8df0e3e
Simplify logic and resolve style issues
2018-06-09 16:45:42 -07:00
Jay Kamat
de127497a2
Press enter to follow links instead of using js
...
This codepath may trigger a crash which was fixed by
0e75f3272d
.
However, this commit does not make it more likely to happen, and this
patch was backported into arch (at least).
In the future, we may be able to use <enter> on qtwebkit with js,
without triggering this crash
2018-06-09 15:42:44 -07:00
Florian Bruhin
7fdeeb25b7
Merge remote-tracking branch 'origin/pr/3793'
2018-06-09 22:59:52 +02:00
Florian Bruhin
96739d0013
Merge remote-tracking branch 'origin/pr/3864'
2018-06-09 21:29:15 +02:00
Florian Bruhin
dcb1191f93
Remove the deprecated :tab-detach
2018-06-09 21:25:09 +02:00
Slackhead
c3771ca2b2
double quoted and className corrected
2018-06-09 19:45:48 +01:00
Florian Bruhin
313cc42d8a
Link to code.qt.io instead of GitHub for _chromium_version
2018-06-09 20:26:12 +02:00
Florian Bruhin
7ce7176475
Fix lint
2018-06-09 20:20:08 +02:00
Florian Bruhin
1b48b67443
Rename reporter.escape_quits to input.escape_quits_reporter
2018-06-09 20:19:32 +02:00
Florian Bruhin
486a92a710
Merge remote-tracking branch 'origin/pr/3944'
2018-06-09 20:18:25 +02:00
Florian Bruhin
b0325e17b7
Add a YamlConfig._migrate_bool helper
2018-06-09 19:57:11 +02:00
Florian Bruhin
7949335a2b
Remove unused import
2018-06-09 19:51:05 +02:00
Florian Bruhin
6e954a1596
Allow to force software rendering with wayland on Qt 5.11
...
Closes #2932 (hopefully for the last time)
2018-06-09 16:50:48 +02:00
Florian Bruhin
88f2873a79
Allow more values for the qt.force_software_rendering setting
2018-06-09 16:21:10 +02:00
Jay Kamat
5d38d28fee
Fix incorrect usage of tab_id
2018-06-08 20:59:25 -07:00
Florian Bruhin
d32d541ac0
Further simplify getting focusProxy children
2018-06-08 17:10:47 +02:00
Florian Bruhin
cc497bf2ea
Improve RWHV typecheck for focusProxy
2018-06-08 15:13:48 +02:00
Florian Bruhin
9725d9ce33
Exclude QMenu when trying to find the missing focusProxy
2018-06-08 14:55:34 +02:00
Florian Bruhin
1531961aeb
Show children in focusProxy workaround
2018-06-08 14:40:59 +02:00
Florian Bruhin
91b4106dcf
Fix check for reloads on Qt < 5.11
...
This was broken in 6ccd69dad2
2018-06-08 08:53:10 +02:00
Florian Bruhin
4614ad5063
Remove unused import
2018-06-07 18:01:29 +02:00
Florian Bruhin
d541634a7c
Avoid hacks for changing per-domain settings on Qt 5.11.1
2018-06-07 17:51:21 +02:00
Florian Bruhin
b1506274c5
Implement a better workaround for chrome-error:// URLs
...
It looks like chrome-error://chromewebdata/ triggers another invalid scheme
load which is why the endless loop happens. When we install a custom scheme
handler for chrome-error:// we can at least show an error page.
2018-06-07 16:03:25 +02:00
Florian Bruhin
89f4333df1
Make sure external schemes are clickable via hints
...
This issue was probably introduced in 545539f28d
- with JavaScript, we can't "click" on an external link.
There might be a better solution using
QWebEngineSettings::setUnknownUrlSchemePolicy(QWebEngineSettings::AllowAllUnknownUrlSchemes)
temporarily when using hints with PyQt 5.11.
Fixes #2833
2018-06-07 14:33:49 +02:00
Florian Bruhin
0c0d204fd4
Add a workaround for chrome-error:// loops on Qt 5.11
...
See #3661
2018-06-07 13:49:33 +02:00
Florian Bruhin
0e9159e8e8
Revert "Fix Qt 5.11 issues with clicking invalid links"
...
This reverts commit 1956590df84a72c7f9a516e805d01529291fccf8.
Turns out the actual issue wasn't due to *invalid* links - it's with links
which have an unknown scheme.
There's still a change in behavior between Qt 5.10 and 5.11 though: Invalid
links are apparently not passed to acceptNavigationRequest (sometimes?) so we
don't show an error message. Instead, we just load about:blank. However,
Chromium does that too and we can't handle a real click easily, so let's just
ignore that one.
See #3661
2018-06-07 13:49:13 +02:00
Florian Bruhin
3d53d0d2c5
Fix Qt 5.11 issues with clicking invalid links
...
See #3661
2018-06-07 13:48:04 +02:00
Florian Bruhin
456fdc55cc
Only set PseudoLayout with Qt 5.11
2018-06-06 20:26:12 +02:00
Florian Bruhin
7e31897dcc
Fix lint
2018-06-06 20:26:12 +02:00
Florian Bruhin
5147fc832c
Handle resizing via PseudoLayout
...
This fixes the scenario where we just get a grey view when opening a link in a
tab from DuckDuckGo.
2018-06-06 20:26:12 +02:00
Florian Bruhin
ec6c5ebb69
Try harder to get the RenderWidgetHostViewQt
2018-06-06 20:26:12 +02:00
Florian Bruhin
34d054e8a5
Revert "Use WrapperLayout instead of PseudoLayout"
...
This reverts commit 6cc920472ee4170b257a0b588687b175162e83df.
Since self._widget can go stale in the layout, we need to somehow solve this differently...
2018-06-06 20:26:12 +02:00
Florian Bruhin
e0213e7447
Use WrapperLayout instead of PseudoLayout
2018-06-06 20:26:12 +02:00
Florian Bruhin
cee88cd7ca
Initial proof of concept for pseudo layout
...
Fixes #3920 - hopefully properly this time...
2018-06-06 20:26:12 +02:00
Florian Bruhin
982a42d453
Unbind Ctrl-Shift-Tab by default
2018-06-05 11:33:34 +02:00
Slackhead
7858bb97d1
Change default bg colour to #000
2018-05-31 06:33:48 +01:00
Slackhead
8c1080de97
Change filter value to 85% to really darken it
2018-05-31 05:58:05 +01:00
Slackhead
d37b2713cf
Change min-width to 0.2em
2018-05-31 05:45:43 +01:00
Slackhead
41a092cd80
Tweak style/animation
2018-05-31 04:50:41 +01:00
Slackhead
0fcbc209bb
Add animation stopper/starter
2018-05-31 04:50:41 +01:00
Slackhead
1578a4836c
Add fallback colours if inherit fails
2018-05-31 04:50:41 +01:00
Slackhead
f34d1b6ce1
Remove inherit styles
2018-05-31 04:50:41 +01:00
Slackhead
4cc2b919fa
Change caret style
2018-05-31 04:50:41 +01:00
Florian Bruhin
b3c95c1668
Release v1.3.1
...
(cherry picked from commit ac29c579ff6a5d54c97513280fd1d8d187304160)
2018-05-29 11:15:15 +02:00
Jay Kamat
28fce9a7cb
Add support for opening background tabs in 5.11
...
Adding more workarounds to 442bdd4a4f153c9c5b728, *sigh*
2018-05-26 13:52:57 -07:00
Jay Kamat
3392d82f50
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into jay/tab-bg-focus
2018-05-26 13:52:12 -07:00
Jay Kamat
c33a887b2d
Add support for following tab selected elements to :follow-selected
2018-05-25 12:39:36 -07:00
Jay Kamat
cd56b97e7d
Add an option to disable escape in the report dialog
2018-05-24 11:50:27 -07:00
Florian Bruhin
12e0edbcd0
Fix lint
2018-05-24 08:47:31 +02:00
Jay Kamat
40e391e199
Prevent closing :report dialog when pressing <escape>
2018-05-23 21:25:43 -07:00
Florian Bruhin
17cfb0d39c
Add some more logging for #3920
2018-05-23 21:31:18 +02:00
Florian Bruhin
7162f15348
Use functools instead of a lambda for QTimer
...
It reads nicer, and this is also speculative fix for #3896 as PyQt5 is
hopefully better at disconnecting partial-objects from dead objects than it is
with lambdas.
2018-05-23 09:44:44 +02:00
Jay Kamat
74ea696a5c
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into jay/tab-bg-focus
2018-05-22 23:17:52 -07:00