summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-01-14Update changelogFlorian Bruhin
2021-01-14guiprocess: Adjust message handling for WindowsFlorian Bruhin
2021-01-14guiprocess: Improve output for crashing processesFlorian Bruhin
Before this change, we displayed two different error messages, one in _on_error, one in _on_finished. See the screenshot here: https://www.reddit.com/r/qutebrowser/comments/kwvaw8/setting_vim_as_editor_creates_error_message/
2021-01-14version: Remove Python backports from module infoFlorian Bruhin
They will always be present (either stdlib or backport), don't have a version number, and we can't tell the two variants apart (other than looking at the Python version) - so there's zero value in having them there.
2021-01-14history: Simplify HistoryProgressFlorian Bruhin
It doesn't actually need to be reusable, also make sure it's cleaned up when unneeded.
2021-01-14Fix lintFlorian Bruhin
2021-01-14sql: Remove .delete(like=True)Florian Bruhin
Mostly reverts bdab7b35b6b3b7cd807f975d3449ac0d1fc68e55 as we didn't end up using it in b2fcc270ec5427df1b77ed28c459d295d77dd28f.
2021-01-14history: Skip unnecessary checkFlorian Bruhin
It doesn't really matter if we run a DELETE query on an empty table vs. running a query to find out whether the table is empty.
2021-01-14sql: Improve/fix rows_affected() testsFlorian Bruhin
2021-01-14Merge branch 'master' into history-cleanupFlorian Bruhin
# Conflicts: # qutebrowser/app.py
2021-01-14Revert "guiprocess: Improve output for crashing processes"Florian Bruhin
This reverts commit 32229f8b07a6773bdafff04ce2db582f9eefaf5e. Seems to act differently on Windows.
2021-01-14sql: Add Query.__bool__Florian Bruhin
Makes it clearer what the intent is (rather than implicitly falling back on __len__ via Python) and also happens to be a small (most probably insignificant) performance improvement. On my machine, without a __bool__: Name (time in us) Min Max Median test_bool_benchmark 144.2940 879.5960 167.2730 With it: Name (time in us) Min Max Median test_bool_benchmark 133.3990 876.1080 152.1879
2021-01-14sql: Harden rows_affected()Florian Bruhin
See https://doc.qt.io/qt-5/qsqlquery.html#numRowsAffected
2021-01-14sql: Fix testFlorian Bruhin
2021-01-14guiprocess: Improve output for crashing processesFlorian Bruhin
Before this change, we displayed two different error messages, one in _on_error, one in _on_finished. See the screenshot here: https://www.reddit.com/r/qutebrowser/comments/kwvaw8/setting_vim_as_editor_creates_error_message/
2021-01-13Remove unused importsFlorian Bruhin
2021-01-13dataclasses: Remaining dependency changesdataclassFlorian Bruhin
See #6023
2021-01-13dataclasses: Remove redundancy in BackendImportsFlorian Bruhin
Let's just use "no error message" as "module is available" instead of saving the same information in a bool and in an optional string. See #6023
2021-01-13dataclasses: Use normal class for WebEngineRequestFlorian Bruhin
While we use dataclasses for its base class (interceptors.Request), it causes more problems than it solves here. See #6023
2021-01-13dataclasses: Fix typing around undoFlorian Bruhin
See #6023
2021-01-13dataclasses: Fix issues in test_tabhistoryFlorian Bruhin
See #6023
2021-01-13dataclasses: Be more explicit about FakeOutputFlorian Bruhin
See #6023
2021-01-13dataclasses: Fix args/typing around HintContextFlorian Bruhin
For some reason, some issues were only uncovered by mypy after switching from attrs to dataclasses. See #6023
2021-01-13dataclasses: Initial mypy fixFlorian Bruhin
See #6023
2021-01-13dataclasses: Adjust import orderFlorian Bruhin
See #6023
2021-01-13dataclasses: Fix lintFlorian Bruhin
See #6023
2021-01-13dataclasses: Fix orderingFlorian Bruhin
See #6023
2021-01-13dataclasses: Initial switchFlorian Bruhin
See #6023
2021-01-11Merge pull request #6030 from qutebrowser/update-dependenciesFlorian Bruhin
Update dependencies
2021-01-11Add objects.qapp to avoid needing to None-checkFlorian Bruhin
We know that QApplication.instance() will always be non-None for practical purposes, but the stubs now (correctly) declare it as Optional. See https://github.com/stlehmann/PyQt5-stubs/pull/126
2021-01-11tests: Disable hypothesis fixture health checksFlorian Bruhin
2021-01-11Update dependenciesqutebrowser bot
2021-01-09ci: Test Ubuntu 18.04Florian Bruhin
See #5551
2021-01-09Update readmeFlorian Bruhin
2021-01-09Make pygments dependency optionalFlorian Bruhin
Closes #5555
2021-01-09Merge pull request #6028 from gadhagod/masterFlorian Bruhin
Fix brew installation instructions
2021-01-08Fix brew installation instructionsAarav Borthakur
2021-01-08Fix testsFlorian Bruhin
2021-01-08Drop support for Python 3.6.0Florian Bruhin
It has some subtle typing differences compared to 3.6.1, see e.g. https://docs.python.org/3/library/typing.html#typing.NamedTuple Also, we can't easily test it, it's unlikely to be in use anywhere anyways, and various dependencies already dropped support for it or are going to (e.g. PyQt 6). See #4800
2021-01-08Trivial PyQt 6 changesFlorian Bruhin
See #5395
2021-01-08ci: Remove macOS Big Sur for nowFlorian Bruhin
See https://github.com/actions/virtual-environments/issues/841
2021-01-08Move JS quirks into subfolderFlorian Bruhin
2021-01-05Revert "old qt: Remove networkmanager init workaround"Florian Bruhin
See #6010 This reverts commit 0810b3e7b99316861bf9e34c694136c30e1a2266.
2021-01-05Merge remote-tracking branch 'origin/pr/6016'Florian Bruhin
2021-01-05history: Skip cleanup steps if tables are emptyFlorian Bruhin
2021-01-05history: Improve progress dialog UXFlorian Bruhin
2021-01-05sql: Run VACUUM after rebuilding completionFlorian Bruhin
See #6007
2021-01-05history: Don't query SQL to rebuild completionFlorian Bruhin
Instead of using an empty table as a trigger to rebuild, use a simple flag. If the user wants to force a rebuild, they can set the user version to 0 instead.
2021-01-05sql: Only alter tables if user version changedFlorian Bruhin
This avoids having to do various unneeded SQL queries on every start, thus increasing startup time. While all those queries are idempotent, doing them on every startup is still kind of expensive and might involve disk I/O.
2021-01-05history: Use new user version handlingFlorian Bruhin