Florian Bruhin
b687ede25c
Adjust eslintrc for eslint 4.0
2017-06-12 09:23:20 +02:00
Florian Bruhin
57fbfbd606
Set an initial window size for background tabs
...
When we open a background tab, it gets a hardcoded size (800x600 or so) because
it doesn't get resized by the layout yet.
By resizing it to the size it'll actually have later, we make sure scrolling to
an anchor in an background tab works, and JS also gets the correct size for
background tabs.
Fixes #1190
Fixes #2495
See #1417
2017-06-11 17:48:01 +02:00
Florian Bruhin
2e5620cac1
Try a different way of fixing userscript crashes
2017-06-11 14:44:19 +02:00
Florian Bruhin
a49adc6298
Revert "Work around userscript crash issue"
...
This reverts commit 73ff2afb3f
.
Doesn't seem to help, at least for pkill9...
2017-06-11 14:41:58 +02:00
Florian Bruhin
73ff2afb3f
Work around userscript crash issue
2017-06-11 13:17:40 +02:00
Florian Bruhin
89218c9d31
Improve error handling in version.opengl_vendor()
...
Not being able to get versionFunctions is now handled, and the cleanup is done
in a finally: block.
2017-06-09 23:14:34 +02:00
Florian Bruhin
9c851293ac
pyinstaller: Add PyQt5.QtOpenGL to hiddenimports
2017-06-09 21:50:52 +02:00
Florian Bruhin
ad260366ef
Remove ":messages without messages" test
...
We can never know for sure there aren't any messages - for example, on Travis we get a message about XDG_RUNTIME_DIR being unset on Qt 5.9.
2017-06-09 11:04:21 +02:00
Florian Bruhin
9f9061f146
Update docs
2017-06-09 11:04:04 +02:00
Florian Bruhin
b874432c69
Remove private browsing notes for QtWebKit-NG
2017-06-09 10:31:21 +02:00
Florian Bruhin
250da212cd
Adjust tests for new QtWebKit-NG
2017-06-09 10:28:41 +02:00
Florian Bruhin
d2c289b6a6
Adjust changelog
2017-06-08 14:18:40 +02:00
Florian Bruhin
6361a5bab2
Merge branch 'private_tag_tab_title' of https://github.com/craftyguy/qutebrowser
2017-06-08 14:17:43 +02:00
Florian Bruhin
56f1dfb9eb
Merge remote-tracking branch 'origin/pyup-update-isort-4.2.14-to-4.2.15'
2017-06-08 14:17:25 +02:00
Florian Bruhin
ddf4521305
Fix :messages tests
2017-06-08 14:16:30 +02:00
Florian Bruhin
c8d4ef13de
Adjust default :messages level
2017-06-08 12:35:21 +02:00
Florian Bruhin
63f6409fdb
Remove stray StatusBar._option
2017-06-08 12:29:07 +02:00
Clayton Craft
daa12ed435
Add private mode title format for tabs too
...
This continues the spirit of my previous PR and allows formatting tab
titles to designate when private mode is enabled. I didn't even realize
that tab title-format was a separate thing from window-title-format
(yes, it's in the name.. silly craftyguy), until now.
2017-06-07 08:17:03 -07:00
Florian Bruhin
7e09b7a707
manifest: Exclude all hidden files
2017-06-07 12:25:15 +02:00
Florian Bruhin
1123129dc4
Slow down pyup requirement updates
2017-06-07 11:19:17 +02:00
pyup-bot
b7cb852c1a
Update isort from 4.2.14 to 4.2.15
2017-06-07 09:50:12 +02:00
pyup-bot
dbea815c3a
Update isort from 4.2.14 to 4.2.15
2017-06-07 09:50:11 +02:00
Florian Bruhin
09baa08948
Remove colon from error page
2017-06-06 22:15:19 +02:00
Florian Bruhin
dd4fb87db6
Update docs
2017-06-06 18:25:42 +02:00
Florian Bruhin
8990513c1b
Merge commit '49b8737f7979fc878ba25aed94cc3e57f481ae3a' into craftyguy/private_tab_title
2017-06-06 18:23:51 +02:00
Florian Bruhin
8df0b063be
Get rid of utils.unused because it's unused
2017-06-06 17:04:21 +02:00
Clayton Craft
49b8737f79
Implement changing of tab title when privacy mode is enabled
2017-06-06 08:00:19 -07:00
Florian Bruhin
a5af98b063
Add a few tests for qutebrowser.is_ignored_chromium_message
2017-06-06 16:26:01 +02:00
Florian Bruhin
cb03fb7d80
Make process/thread ID optional for Chromium messages
...
Looks like at least on Travis they're not always there.
2017-06-06 16:18:53 +02:00
Florian Bruhin
dd490f85d8
Update docs
2017-06-06 16:18:15 +02:00
Florian Bruhin
6d175fbb4b
Get rid of configtypes.WebKitBytes
2017-06-06 16:17:44 +02:00
Florian Bruhin
f9b046d766
Get proper settings object in WebEngineElement._click_js
2017-06-06 16:15:25 +02:00
Florian Bruhin
a7413d7b4a
Remove stale getter
2017-06-06 15:59:42 +02:00
Florian Bruhin
1b0a125cf3
websettings: Improve errors when setting settings=...
2017-06-06 15:59:42 +02:00
Florian Bruhin
b1a0bc13f2
webkitsettings: Use self._get_settings in CookiePolicy._set
2017-06-06 15:59:42 +02:00
Florian Bruhin
30fe3ed328
Remove old websetting comments
2017-06-06 15:46:54 +02:00
Florian Bruhin
e17494c972
Cleanup
2017-06-06 15:25:21 +02:00
Florian Bruhin
9c9a5914b3
Changelog fixup
2017-06-06 14:50:57 +02:00
Florian Bruhin
0ca59f2184
Rename storage -> offline-web-application-storage to -cache
2017-06-06 14:50:57 +02:00
Florian Bruhin
c696723650
Merge storage -> offline-storage-database into local-storage setting
...
Looks like it's the same with QtWebEngine too - setting LocalStorageEnabled also
toggles WebSQL there.
2017-06-06 14:50:57 +02:00
Florian Bruhin
626d299a0d
Add webenginesettings.DefaultProfileSetter.__repr__
2017-06-06 14:50:57 +02:00
Florian Bruhin
93d21c376d
Regenerate docs
2017-06-06 14:50:57 +02:00
Florian Bruhin
2a32e26846
Get rid of various rarely customized settings
...
All those were customized by some <5 people in the past few years of crash
reports.
Closes #1751 .
See #2639 .
2017-06-06 14:50:57 +02:00
Florian Bruhin
1785b72393
Refactor websettings default handling
...
With per-domain settings, having a getter for a setting gets really complicated,
as there isn't one true value for a setting.
The only reason we needed those getters is to save away the default values for
some settings where we were unsure what the defaults are.
- For font setters, we can get the defaults from QFont, like QtWeb{Kit,Engine}
do.
- For font sizes, we hardcode the defaults QtWeb{Kit,Engine} hardcodes too.
- For maximum-page-in-cache, we hardcode 0, just like QtWebKit.
- For default-encoding, we hardcode iso-8559-1, like QtWeb{Kit,Engine}
- For offline-storage-default-quota, we hardcode 5MB, like QtWebKit
- For offline-web-application-cache-quota, we hardcode MAXINT as default value,
but we still keep the empty value in the config. It means "no quota"
internally in QtWebKit, but it's a too confusing value to have in the config.
- For object-cache-capacities it's a bit more complicated (the defaults are
calculated based on disk space), but let's just get rid of the setting
altogether in the next commit (see #1751 ).
Closes #2639 .
2017-06-06 14:50:57 +02:00
Florian Bruhin
2f5756e63b
Merge commit '0501cc626c27a369c2e311c71c2ce2c5cc3f9442' into pyup-bot/pyup-update-isort-4.2.13-to-4.2.14
2017-06-06 10:19:00 +02:00
Florian Bruhin
998f93dfd3
tests: Properly parse Chromium logging messages
...
Closes #2519
2017-06-06 10:01:45 +02:00
pyup-bot
0501cc626c
Update isort from 4.2.13 to 4.2.14
2017-06-06 09:20:10 +02:00
pyup-bot
d57f96da87
Update isort from 4.2.13 to 4.2.14
2017-06-06 09:20:09 +02:00
Florian Bruhin
f280129e7c
Merge commit 'ccdba004272ef40dfa1668a21329876253877155' into pyup-bot/pyup-update-astroid-1.5.2-to-1.5.3
2017-06-06 07:59:15 +02:00
Florian Bruhin
46d11655d8
Merge commit '6a17ee66adee0da5b88c0246c833cf7023bee9cc' into pyup-bot/pyup-update-py-1.4.33-to-1.4.34
2017-06-06 07:59:11 +02:00