summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-05[readability-js] horizontally align codeblock contentsrien333
Before, the first line of a `code` element within a `pre` element had indentation/padding applied to it, creating the illusion that the line started with a space. Now, all the lines in `code` elements horizontally align.
2021-01-05syncrien333
2021-01-05[readability-js] horizontally align codeblock contentsrien333
Before, the first line of a `code` element within a `pre` element had indentation/padding applied to it, creating the illusion that the line started with a space. Now, all the lines in `code` elements horizontally align.
2021-01-05urlutils: Add tests for invalid data: URLFlorian Bruhin
2021-01-05Add overrides for mimetype -> extension conversionFlorian Bruhin
Python 3.6 gets some of those "wrong": https://bugs.python.org/issue1043134 This has been fixed in Python 3.7: https://github.com/python/cpython/pull/14375 The override dict has been generated by copying the types_map from the current git master: https://github.com/python/cpython/blob/v3.10.0a3/Lib/mimetypes.py#L414-L547 And then running the following with Python 3.6: import mimetypes reverse = {} for ext, mimetype in types_map.items(): if mimetype not in reverse: reverse[mimetype] = ext assert reverse['text/plain'] == '.txt' for mimetype, ext in reverse.items(): got = mimetypes.guess_extension(mimetype) if got != ext: print(f' "{mimetype}": "{ext}", # not {got}')
2021-01-05Remove custom data: URL parsingFlorian Bruhin
Argh. I should've known Python can do this, but I didn't notice (or forget?) and wrote code - some 140 lines of it - which only was in this repository for a couple of hours. Oh well, good riddance, code which was replaced by a simple "mimetypes.guess_type(url.toString())". May you be resurrected if we ever need a proper data: URL parser at a later point. I guess some lessons have to be learned the hard way...
2021-01-05Update changelogFlorian Bruhin
2021-01-05Improve download filenames for data: URLsFlorian Bruhin
With QtWebEngine, downloading a data: URL seems to give us the raw data: URL as filename, similar to #1214 / #1321 but for QtWebEngine. With QtWebKit, the logic is now also improved so that we get a proper extension rather than a "binary blob" filename. See #1099
2021-01-04urlutils: Handle data URLs in filename_from_urlFlorian Bruhin
2021-01-04urlutils: Add fallback to filename_from_urlFlorian Bruhin
This makes the callers a bit simpler because they don't need to take care of falling back themselves.
2021-01-04urlutils: Add basic parsing of data: URLsFlorian Bruhin
2021-01-04tests: Make sure QWebEnginePage is deleted earlyFlorian Bruhin
If we use the "webengineview" fixture and access QWebEngineProfile.defaultProfile(), it could happen that the profile outlives the page. In that case, we get a warning on pytest shutdown: Release of profile requested but WebEnginePage still not deleted. Expect troubles ! Thus, let's make sure the page is cleaned up earlier.
2021-01-04docker: Base on official Archlinux imagedockerFlorian Bruhin
2021-01-04requirements: Downgrade PyQt5-stubs for nowFlorian Bruhin
See https://github.com/stlehmann/PyQt5-stubs/pull/126
2021-01-04Update dependenciesqutebrowser bot
2021-01-02Fix spellingFlorian Bruhin
2021-01-02Update changelogFlorian Bruhin
2021-01-02history: Remove old force_rebuild valuesFlorian Bruhin
2021-01-02Improve test_modifyFlorian Bruhin
2021-01-02Merge remote-tracking branch 'origin/pr/5871'Florian Bruhin
2021-01-02ci: Add qute-pylint to cache keyFlorian Bruhin
This makes sure we don't use a stale qute_pylint version in CI.
2021-01-02Merge pull request #6006 from geeseven/bookmark-fixFlorian Bruhin
userscript Nextcloud bookmark URL check fix