summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-21notification: Improve error case testsnotifcation-error-handlingFlorian Bruhin
2022-06-21notification: Split up present()Florian Bruhin
2022-06-21notifications: Refactor selecting candidatesFlorian Bruhin
2022-06-21notification: Add unit tests for error casesFlorian Bruhin
Those require a lot of patching (and other efforts), but it does not seem possible to write this kind of thing as an integration test: https://www.riverbankcomputing.com/pipermail/pyqt/2022-June/044733.html https://www.riverbankcomputing.com/pipermail/pyqt/2022-June/044734.html
2022-06-21notification: Refactor error handlingFlorian Bruhin
The decision in a64c3d0dfc000cbd1a0b1f0f0afda783be245880 to return from _verify_message() when there is a non-fatal error (later expanded to more than just NoReply) was a poor one: While the error signal indeed takes care of swapping out the faulty adapter, the direct caller of _verify_message generally expects the message to be in the verified shape (e.g. having 4 arguments, or an int as argument, etc.). Thus, every caller would have to handle this situation, yet none of them did! With the restructured code, we now *always* raise an exception. It's still the callers responsibility to deal with that happening, but that's much less tricky than just pretending we validated the data when we did not. Thankfully, most caller already handle the situation, or don't need to: - _get_server_info() and _fetch_capabilities() get called from __init__, where any notification.Error is already handled by NotificationBridgePresenter. - _handle_close() and _handle_action() get called as DBus signals by Qt. It's hard to imagine how they would ever get an error reply, as the caller is the other side (the notification server), not us! This only leaves present(), which now handles this case: If it gets a fatal exception it still gets raised, but for any non-fatal ones, we now emit the error signal there and return a dummy value.
2022-06-21notifications: Fix wrong return type annotationFlorian Bruhin
2022-06-21notifications: Add PID to DBus test notification serviceFlorian Bruhin
Fixes #7160
2022-06-21notifications: Update quirksFlorian Bruhin
2022-06-21Regenerate docsFlorian Bruhin
2022-06-20Update changelogFlorian Bruhin
2022-06-20Add LinkedIn array.at quirkFlorian Bruhin
Closes #7237
2022-06-20tests: Improve greasemonkey testsFlorian Bruhin
2022-06-20Merge remote-tracking branch 'origin/pr/7272'Florian Bruhin
2022-06-20pylint: remove now unneeded suppressionsFlorian Bruhin
2022-06-20Update dependenciesqutebrowser bot
2022-06-18greasemonkey: Add some more testsFlorian Bruhin
2022-06-17Fix lintFlorian Bruhin
2022-06-17greasemonkey: Add error handlingFlorian Bruhin
See #7245
2022-06-17greasemonkey: Add LoadResult data classFlorian Bruhin
Needed for #7245
2022-06-17greasemonkey: Don't implicitly load scriptsFlorian Bruhin
Needed for #7245 and also seems like cleaner code.
2022-06-17crashdialog: Add QTWEBENGINE_* to crash infoFlorian Bruhin
2022-06-17build-release: Fix wrong path on WindowsFlorian Bruhin
2022-06-17Merge remote-tracking branch 'origin/pr/7261'Florian Bruhin
2022-06-17Remove repeated item in listMohammed Anas
2022-06-17Update changelogFlorian Bruhin
2022-06-16Fix lintFlorian Bruhin
2022-06-16build-release: Sign macOS .app properlyFlorian Bruhin
Based on https://github.com/pyinstaller/pyinstaller/issues/6612 Might help with #6771.
2022-06-16build-release: ModernizeFlorian Bruhin
pathlib, type annotations, modern syntax, dataclasses
2022-06-16build-release: Move macOS Info.plist back to PyInstaller .specFlorian Bruhin
The patching was originally introduced back in 2017 in #3055, when PyInstaller only supported very basic Info.plist operations. This changed in 2018 (!) however, with PyInstaller 3.4: https://pyinstaller.org/en/stable/CHANGES-3.html#id8 https://github.com/pyinstaller/pyinstaller/pull/3532 Thus, let's move this back to PyInstaller. This produces exactly the same Info.plist as before. Fixes #7251
2022-06-16build-release: Accept --skip-packaging on macOSFlorian Bruhin
2022-06-16build-release: Add pre-dmg smoke test for macOSFlorian Bruhin
Fixes #7254
2022-06-16Fix coverage pragmas for Content-Disposition parsingFlorian Bruhin
https://github.com/python/cpython/issues/93010 has now been fixed, but https://github.com/python/cpython/issues/87112 is still broken.
2022-06-16Update changelogFlorian Bruhin
2022-06-16Merge remote-tracking branch 'origin/pr/7217'Florian Bruhin
2022-06-16Change background color for light color schemeIngrid Budau
- Added a nuance of blue instead of white, as a background for light color scheme - Deleted some unused CSS
2022-06-15Merge pull request #7248 from emanuele6/patch-1Florian Bruhin
README.asciidoc: avoid HTML redirect for luakit website
2022-06-15README.asciidoc: avoid HTML redirect for luakit websiteEmanuele Torre
It seems that, now, the luakit homepage is at https://luakit.github.io/ and https://luakit.github.io/luakit/ is just an HTML redirect to it. Let's avoid the annoying redirect.
2022-06-14Update changelogFlorian Bruhin
2022-06-14Fix lintFlorian Bruhin
2022-06-14Update changelogrich-text-messagesFlorian Bruhin
2022-06-14Only replace the exact same messageFlorian Bruhin
If we have a error message followed by an info message with the same text, they should both be shown, not replaced automatically.
2022-06-14Add --rich to :message-* commandsFlorian Bruhin
See #7246
2022-06-14Don't render messages at Qt rich text by defaultFlorian Bruhin
Closes #7246
2022-06-14Add a MessageInfo data classFlorian Bruhin
Preparation for #7246
2022-06-14Update changelogFlorian Bruhin
2022-06-14Merge remote-tracking branch 'origin/pr/6456'Florian Bruhin
2022-06-14Update docsFlorian Bruhin
2022-06-14Use with_history instead of no_history in APIFlorian Bruhin
Better to have positive rather than negated names. Still keeping the user-facing part though, to keep the default.
2022-06-14Add tests for :session-save --no-historyFlorian Bruhin
2022-06-14Center logoIngrid Budau
As well as: - replace external links with internal links for changelog and quickstart - remove unused class names - use already existing logo - replace `url` with `_url` to mark it unused