Commit Graph

17474 Commits

Author SHA1 Message Date
Florian Bruhin 73ed837aeb Release v1.6.3 2019-06-18 11:51:20 +02:00
Florian Bruhin 67ba7ba1b9 Update changelog from master 2019-06-18 11:50:29 +02:00
Florian Bruhin f3db2c3fbe Nuke the cache when the Qt version changed
https://bugreports.qt.io/browse/QTBUG-72532
2019-06-18 11:49:51 +02:00
Florian Bruhin d5ae3a76f3 Ignore Qt::AA_ShareOpenGLContexts warning
See https://bugreports.qt.io/browse/QTBUG-76391
Fixes #4848
2019-06-15 19:34:12 +02:00
Florian Bruhin 828c3d4376 Remove Type.redirect 2019-06-10 14:40:24 +02:00
Jimmy 19b39a098a Disable error pages in webpage fixture.
Due to a [change][] in webkit that introduced a default error page the
the webkit/test_tabhistory.py::test_titles broke with the active tab
because network access is disable in the webpage fixture.

This change disables the default error pages in the fixture by telling
the error notify thing that it doesn't support doing anything with the
errors. It also disables the `ChooseMultipleFilesExtension` which should
be used with this fixture since we override that for real in qutebrowser

I'm declaring the class inside the method because I don't know how to
skip declaring a class in stubs.py with importskip.

change: https://github.com/annulen/webkit/commit/3b3724183bbe
2019-06-10 11:46:22 +02:00
Jay Kamat 8379ce9c84 Fix crash on redirect on qt5.14 2019-06-10 09:38:03 +02:00
Florian Bruhin 7f7055deeb Remove unused import 2019-05-11 20:45:40 +02:00
user202729 1daf0a1303 Check if the tab is current in HintManager._start_cb
Fixes #3892.

(cherry picked from commit 489cc98a9e)
(cherry picked from commit 3db3679b47)
(cherry picked from commit 29a9b8c13a)
(cherry picked from commit e413401d39)
(cherry picked from commit 2b064ef192)
(cherry picked from commit 6fc85a5551)
(cherry picked from commit 18d797a171)
2019-05-11 18:32:02 +02:00
Florian Bruhin 197c0b1c28 Release v1.6.2 2019-05-06 19:36:52 +02:00
Florian Bruhin 67a999a0f0 Upgrade to PyQt 5.12.2 2019-05-06 19:34:47 +02:00
user202729 54641dc7e0 Fixes crash in #1249
See https://github.com/qutebrowser/qutebrowser/issues/1249#issuecomment-446266469 for details.
2019-05-06 09:01:02 +02:00
Florian Bruhin 2afb3929e9 Remove TimestampTemplate configtype
The check being done only catches lone % signs, and only on some versions of
Python: https://bugs.python.org/issue35066

Since we do the real formatting in sqlite anyways, just drop it, as we can't
realistically validate it.

Fixes #4693
2019-04-29 15:57:37 +02:00
Florian Bruhin 8f8d1ff3cd Add test 2019-04-29 13:45:19 +02:00
Ryan Roden-Corrent e75d7ba5b0 Prevent keyhint timer from eating all CPU.
By default, timers are not single-shot, which means they will keep
firing every `interval` seconds after being started. This is unnecessary
for the keyhint timer, and causes it to eat ~100% CPU with
keyhint.delay=0.

Fixes #4742.
2019-04-29 13:45:16 +02:00
Jay Kamat 32a2647942 Move _on_aborted to slot 2019-04-17 12:17:00 +02:00
Paolo Capriotti 6adb610f97 Fix crash when closing prompt
If a window is closed when a prompt is displayed on all windows, leaving prompt
mode later would cause a crash.

This patch fixes the crash simply by ignoring the RegistryUnavailableError
caused by looking up a non-existent window.

Fixes #3378.
2019-04-17 12:17:00 +02:00
Florian Bruhin e8e3f369be Avoid importing qutebrowser.utils.log globally in qutebrowser.py
Otherwise, log.py tries to import QtCore, but at this early point (before
running earlyinit) we shouldn't rely on PyQt being available.

This restores the graphical error message shown when PyQt is missing.
2019-04-07 18:26:16 +02:00
Florian Bruhin 92e68951e6 Fix test 2019-04-03 10:28:06 +02:00
Jay Kamat 47289e4560 Fix 'too many SQL variables' variant 2019-04-03 08:54:59 +02:00
Jay Kamat 0a2c177120 Refactor LongQueryError and EnvironmentError into KnownError
- Also generalize catch on histcategory sql query to fix #4687
2019-04-03 08:54:52 +02:00
Jay Kamat 5671759811 Fix crash on long sql lines 2019-04-03 08:54:00 +02:00
Florian Bruhin 055e827091 pyinstaller: Use paths relative to .spec file
Looks like this changed in PyInstaller recently...
2019-03-20 07:23:17 +01:00
Florian Bruhin 9a59f577bc Release v1.6.1 2019-03-20 06:57:52 +01:00
Florian Bruhin e516dfaf07 Update changelog from master 2019-03-20 06:57:07 +01:00
Florian Bruhin 71f46df32e Update to PyQt 5.12.1 2019-03-19 23:07:08 +01:00
Florian Bruhin b4109d21e3 Adjust docs for --mode 2019-03-19 07:41:13 +01:00
Florian Bruhin 309d78ad04 Use web_tab_setup in webengineview fixture
This reverts 621dab5b04 which caused all tests to
depend on a QApplication.

This way, we make sure to initialize testdata_scheme early enough when the
webengineview fixture is used.
2019-03-18 13:25:00 +01:00
Jay Kamat d303b9652f Turn off named capture group eslint warning
We cannot use named capture groups, as older versions of chrome (from
5.9) do not support them.
2019-03-18 13:11:27 +01:00
Jay Kamat 4a62c6d362 Only set background color on StatusBar 2019-03-18 11:54:50 +01:00
Dennis M. Pöpperl faf65c6e72 Resize SVG to comply with freedesktop standard
SVGs must have a maximum size of 256 pixels or smaller.
Not sure how that even makes sense for vector graphics.
Anyways, Flathub checks for compliance and will fail the
build if the icon is too big. This change should not have
any *real* consequences.
2019-03-18 11:49:56 +01:00
Jay Kamat 21ead8b715 Add undefined actions to action list
Closes #4623
2019-03-18 11:47:42 +01:00
Florian Bruhin 247d622df0 Use window.hasOwnProperty for window._qutebrowser
With an element like this in the page:

    <h2 id="_qutebrowser">qutebrowser</h2>

accessing window._qutebrowser will return the HTMLElement (thanks, JS...),
making qutebrowser's JS think it's already initialized when it actually isn't.

Fixes #4633
2019-03-18 11:45:14 +01:00
Florian Bruhin 4a7e8017f8 Run testdata_scheme fixture early
Otherwise it might be too late to register the scheme.
2019-03-18 11:45:04 +01:00
Florian Bruhin b84c306fe9 Fix assertion
Thanks Qt, schemeByName returns some default scheme if nothing with that name
exists...
2019-03-18 11:44:57 +01:00
Florian Bruhin 829779949e Fix double-registering of schemes in test_webenginesettings 2019-03-18 11:44:47 +01:00
arza 99a4f4a034 Add tests for :config-dict-add, :config-dict-remove, :config-list-add and :config-list-remove with invalid option 2019-03-18 11:15:22 +01:00
arza 6f3f500404 Fix crash in :config-dict-add, :config-dict-remove, :config-list-add and :config-list-remove with invalid option 2019-03-18 11:15:10 +01:00
Florian Bruhin 32f8349fbb Release v1.6.0 2019-02-25 13:50:59 +01:00
Florian Bruhin e5fd87e64d Fix lint/docs 2019-02-25 13:12:25 +01:00
Florian Bruhin 7a3c0d328f Mark two more tests as flaky 2019-02-25 13:10:58 +01:00
Florian Bruhin edcefc0632 Ignore additional Chromium error on Windows 2019-02-25 13:04:25 +01:00
Florian Bruhin 22e1b22acc Remove unused import 2019-02-25 11:26:44 +01:00
Florian Bruhin 147feb8817 travis: Upgrade to Python 3.6 globally 2019-02-25 11:25:40 +01:00
Florian Bruhin 046dde013d tests: Ignore DirectWrite warning 2019-02-25 11:09:51 +01:00
Florian Bruhin ad52f86b02
Merge pull request #4597 from qutebrowser/pyup-scheduled-update-2019-02-18
Scheduled weekly dependency update for week 07
2019-02-25 10:40:02 +01:00
Florian Bruhin c964bfb4bf Finish Qt 5.12 work
Closes #4591
2019-02-25 10:36:08 +01:00
Florian Bruhin 184e0ee44e Rename force_document_end to needs_document_end_workaround 2019-02-25 09:57:17 +01:00
Florian Bruhin 94542c5f78 Merge branch 'greasemonkey-quirks' 2019-02-25 09:56:18 +01:00
Florian Bruhin b10366ec3a Edit changelog for v1.6.0
Closes #4593
2019-02-25 09:38:29 +01:00