summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-02Add test for remembered ignored certificate errorsv1.6.xFlorian Bruhin
This is a continuation of the previous commit for #5403. The tests are split up from the commit itself so that the fix can be backported with less conflicts. See #5403 (cherry picked from commit 45a2be3f9f32f900c0b567998433d43055f722e2)
2020-05-02Security: Remember hosts with ignored cert errors for load statusFlorian Bruhin
Without this change, we only set a flag when a certificate error occurred. However, when the same certificate error then happens a second time (e.g. because of a reload or opening the same URL again), we then colored the URL as success_https (i.e. green) again. See #5403 (cherry picked from commit 021ab572a319ca3db5907a33a59774f502b3b975)
2019-06-18Release v1.6.3v1.6.3Florian Bruhin
2019-06-18Update changelog from masterFlorian Bruhin
2019-06-18Nuke the cache when the Qt version changedFlorian Bruhin
https://bugreports.qt.io/browse/QTBUG-72532
2019-06-15Ignore Qt::AA_ShareOpenGLContexts warningFlorian Bruhin
See https://bugreports.qt.io/browse/QTBUG-76391 Fixes #4848
2019-06-10Remove Type.redirectFlorian Bruhin
2019-06-10Disable error pages in webpage fixture.Jimmy
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-10Fix crash on redirect on qt5.14Jay Kamat
2019-05-11Remove unused importFlorian Bruhin
2019-05-11Check if the tab is current in HintManager._start_cbuser202729
Fixes #3892. (cherry picked from commit 489cc98a9ed9cf73e3562f7a06e220a54658f7ee) (cherry picked from commit 3db3679b47d5650bb34ffd972ed4524f698fa535) (cherry picked from commit 29a9b8c13ae8c92d48a3ac62feb8625d5bf7d57e) (cherry picked from commit e413401d39b0fb4813d85056d085dafd669b1e40) (cherry picked from commit 2b064ef1922135eacbb69512761bc09c1e8640fc) (cherry picked from commit 6fc85a5551393899990410c00bf05f3d369e3e37) (cherry picked from commit 18d797a1718c62db3621768f101196c1323be3de)
2019-05-06Release v1.6.2v1.6.2Florian Bruhin
2019-05-06Upgrade to PyQt 5.12.2Florian Bruhin
2019-05-06Fixes crash in #1249user202729
See https://github.com/qutebrowser/qutebrowser/issues/1249#issuecomment-446266469 for details.
2019-04-29Remove TimestampTemplate configtypeFlorian Bruhin
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-29Add testFlorian Bruhin
2019-04-29Prevent keyhint timer from eating all CPU.Ryan Roden-Corrent
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-17Move _on_aborted to slotJay Kamat
2019-04-17Fix crash when closing promptPaolo Capriotti
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-07Avoid importing qutebrowser.utils.log globally in qutebrowser.pyFlorian Bruhin
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-03Fix testFlorian Bruhin
2019-04-03Fix 'too many SQL variables' variantJay Kamat
2019-04-03Refactor LongQueryError and EnvironmentError into KnownErrorJay Kamat
- Also generalize catch on histcategory sql query to fix #4687
2019-04-03Fix crash on long sql linesJay Kamat
2019-03-20pyinstaller: Use paths relative to .spec fileFlorian Bruhin
Looks like this changed in PyInstaller recently...
2019-03-20Release v1.6.1v1.6.1Florian Bruhin
2019-03-20Update changelog from masterFlorian Bruhin
2019-03-19Update to PyQt 5.12.1Florian Bruhin
2019-03-19Adjust docs for --modeFlorian Bruhin
2019-03-18Use web_tab_setup in webengineview fixtureFlorian Bruhin
This reverts 621dab5b0428a9042418c8ceabaffa49badd4573 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-18Turn off named capture group eslint warningJay Kamat
We cannot use named capture groups, as older versions of chrome (from 5.9) do not support them.
2019-03-18Only set background color on StatusBarJay Kamat
2019-03-18Resize SVG to comply with freedesktop standardDennis M. Pöpperl
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-18Add undefined actions to action listJay Kamat
Closes #4623
2019-03-18Use window.hasOwnProperty for window._qutebrowserFlorian Bruhin
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-18Run testdata_scheme fixture earlyFlorian Bruhin
Otherwise it might be too late to register the scheme.
2019-03-18Fix assertionFlorian Bruhin
Thanks Qt, schemeByName returns some default scheme if nothing with that name exists...
2019-03-18Fix double-registering of schemes in test_webenginesettingsFlorian Bruhin
2019-03-18Add tests for :config-dict-add, :config-dict-remove, :config-list-add and ↵arza
:config-list-remove with invalid option
2019-03-18Fix crash in :config-dict-add, :config-dict-remove, :config-list-add and ↵arza
:config-list-remove with invalid option
2019-02-25Release v1.6.0v1.6.0Florian Bruhin
2019-02-25Fix lint/docsFlorian Bruhin
2019-02-25Mark two more tests as flakyFlorian Bruhin
2019-02-25Ignore additional Chromium error on WindowsFlorian Bruhin
2019-02-25Remove unused importFlorian Bruhin
2019-02-25travis: Upgrade to Python 3.6 globallyFlorian Bruhin
2019-02-25tests: Ignore DirectWrite warningFlorian Bruhin
2019-02-25Merge pull request #4597 from qutebrowser/pyup-scheduled-update-2019-02-18Florian Bruhin
Scheduled weekly dependency update for week 07
2019-02-25Finish Qt 5.12 workFlorian Bruhin
Closes #4591
2019-02-25Rename force_document_end to needs_document_end_workaroundFlorian Bruhin