Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-04 | Use flake8-pytest-stylepytest-style | Florian Bruhin | |
2021-12-02 | pylint: Remove bad-continuation supressions | Florian Bruhin | |
Removed in https://github.com/PyCQA/pylint/pull/3571 - should use black instead | |||
2021-12-02 | pylint: Handle consider-using-with | Florian Bruhin | |
2021-03-24 | Fix trailing whitespace | Florian Bruhin | |
2021-03-24 | Avoid missing_ok | Florian Bruhin | |
Added in Python 3.8, see #6291 | |||
2021-03-24 | Simplify paths in test_jinja, _qtutils and _version | Florian Bruhin | |
2021-03-18 | Reverting to abspath,minor simplifications | Lembrun | |
2021-03-16 | Simplified with to write_text directly | Lembrun | |
2021-03-16 | Replaced os.path by pathlib in tests/unit/utils | Lembrun | |
2021-02-25 | Rename utils.py to testutils.py | Lembrun | |
2021-02-10 | Fix lint/tests | Florian Bruhin | |
2021-02-10 | tests: Move Color to testutils | Florian Bruhin | |
2021-01-26 | doc: Switch URLs to https | Florian Bruhin | |
2021-01-20 | Bump copyright years | Florian Bruhin | |
Closes #6015 | |||
2021-01-13 | dataclasses: Adjust import order | Florian Bruhin | |
See #6023 | |||
2021-01-13 | dataclasses: Initial switch | Florian Bruhin | |
See #6023 | |||
2021-01-11 | Add objects.qapp to avoid needing to None-check | Florian 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-08 | Trivial PyQt 6 changes | Florian Bruhin | |
See #5395 | |||
2020-11-20 | tests: Update test_version_check | Florian Bruhin | |
Use more recent Qt versions and add a test for a dev suffix | |||
2020-11-20 | Move utils.interpolate_color to qtutils | Florian Bruhin | |
This avoids a circular import between utils and qtutils, which, while unproblematic, was easy to fix. Also, qtutils is actually a better fit here, because we're dealing with QColor objects anyways. | |||
2020-05-26 | Add filename if QtOSError is used with QFileDevice | Florian Bruhin | |
If we have a filename available, let's add it to the error message. This also effectively reverts 00747be9d3790534e8b32464605d1b5b6c2d6627 since that's not needed anymore (Qt 5.7 is the oldest supported release). | |||
2020-01-04 | Adjust copyrights for 2020 | Florian Bruhin | |
2019-05-22 | Add tests for qtutils.is_single_process() | Florian Bruhin | |
2019-05-19 | Check for invalid QColor objects | Florian Bruhin | |
2019-05-16 | Fix tab and webkit background colors clearing on config change | Jay Kamat | |
Per the qt docs, we should not call setPalette on a class that also uses stylesheets. Since #4637, we set a stylesheet on the application, so we cannot use setPalette anymore. This commit refactors those calls to use stylesheets instead. As far as I can tell, QPalette is OK to use when manually drawing (we currently use it there). | |||
2019-03-13 | Eschew the extraneous elses | Florian Bruhin | |
https://www.youtube.com/watch?v=JVVMMULwR4s&t=289 | |||
2019-02-22 | Update copyright for 2019 | Jay Kamat | |
2018-11-28 | Remove unnecessary pass statements | Florian Bruhin | |
2018-07-16 | Fix pylint 2.0 useless-return cases | Florian Bruhin | |
See https://github.com/PyCQA/pylint/issues/2300 | |||
2018-07-03 | Don't import test_file on Windows | Florian Bruhin | |
See https://github.com/pytest-dev/pytest/issues/3650 | |||
2018-02-05 | Update copyright years | Florian Bruhin | |
2017-12-15 | pylint: Re-enable bad-continuation | Florian Bruhin | |
And lots and lots of whitespace changes. | |||
2017-10-23 | modified as requested | siddhugolu | |
2017-10-22 | modified pylint pragmas | siddhugolu | |
2017-10-12 | Add missing test | Florian Bruhin | |
2017-10-12 | Also check PyQt version for qtutils.version_check() | Florian Bruhin | |
With an older PyQt built against a newer Qt, we still don't have its features available. This also drops support for exact=True with compiled=True as the semantics for that are unclear, and it's not used. | |||
2017-10-08 | Make qtutils.version_check strict by default | Florian Bruhin | |
This also renames 'strict' to 'compiled' to be more descriptive. It also fixes a crash when starting qutebrowser with an older compiled Qt version which was introduced recently (calling setSpellCheckEnabled). | |||
2017-09-20 | Use utils.is_* for platform checks everywhere | Florian Bruhin | |
2017-09-18 | Drop legacy QtWebKit support | Florian Bruhin | |
See #2742 | |||
2017-09-18 | Drop support for Qt < 5.7.1 | Florian Bruhin | |
See #2742 | |||
2017-09-17 | Add a new qt_args setting | Florian Bruhin | |
See #2589 | |||
2017-09-17 | Move qtutils.unset_organization to standarddir | Florian Bruhin | |
2017-07-08 | Replace OS X with macOS | Florian Bruhin | |
2017-05-23 | tests: Use match= for pytest.raises | Florian Bruhin | |
2017-05-17 | Reorganize pylint config | Florian Bruhin | |
This removes various stuff we don't need anymoe, and also re-enables and fixes the import order check. | |||
2017-05-09 | Finally update copyrights... | Florian Bruhin | |
2017-04-28 | Read qWebKitVersion in qtutils.is_webkit_ng. | Florian Bruhin | |
This means we need to try and import qWebKitVersion in qtutils, but better there than at every place which calls it. | |||
2017-04-03 | Remove qtutils.ensure_not_null | Florian Bruhin | |
It's not used anymore. | |||
2017-03-08 | Remove unused operator imports | Florian Bruhin | |
2017-03-08 | Refactor qtutils.version_check API | Florian Bruhin | |
Fixes #2423 |