Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-14 | Update changelogrich-text-messages | Florian Bruhin | |
2022-06-14 | Only replace the exact same message | Florian 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-14 | Add --rich to :message-* commands | Florian Bruhin | |
See #7246 | |||
2022-06-14 | Don't render messages at Qt rich text by default | Florian Bruhin | |
Closes #7246 | |||
2022-06-14 | Add a MessageInfo data class | Florian Bruhin | |
Preparation for #7246 | |||
2022-06-14 | Update changelog | Florian Bruhin | |
2022-06-14 | Merge remote-tracking branch 'origin/pr/6456' | Florian Bruhin | |
2022-06-14 | Update docs | Florian Bruhin | |
2022-06-14 | Use with_history instead of no_history in API | Florian Bruhin | |
Better to have positive rather than negated names. Still keeping the user-facing part though, to keep the default. | |||
2022-06-14 | Add tests for :session-save --no-history | Florian Bruhin | |
2022-06-14 | Add test for :session-save with --no-history | Florian Bruhin | |
2022-06-14 | tests: Make it possible to pass flags when saving session | Florian Bruhin | |
2022-06-14 | Merge remote-tracking branch 'origin/pr/7184' | Florian Bruhin | |
2022-06-14 | Restore search match debug logging | Florian Bruhin | |
Needed for tests... Partially reverts 8137f2a6d90e30643ad3bcf0c2c182c9a48012eb. | |||
2022-06-14 | Merge branch 'dev' | Florian Bruhin | |
2022-06-14 | Unify duplicated prev/next search code | Florian Bruhin | |
2022-06-14 | Update docs | Florian Bruhin | |
2022-06-14 | Add a SearchMatch.is_null() | Florian Bruhin | |
2022-06-14 | Fix lint | Florian Bruhin | |
2022-06-14 | Remove now-unneeded lint ignore | Florian Bruhin | |
2022-06-14 | Slightly clean up _draw_widgets | Florian Bruhin | |
2022-06-14 | Update changelog | Florian Bruhin | |
2022-06-14 | Use 'continue', not 'return' | Florian Bruhin | |
Otherwise, any following widget in the for loop would not be added. | |||
2022-06-13 | Skip test broken on QtWebKitdev | Florian Bruhin | |
(cherry picked from commit d01dd9be07bd1591b1ecda298a2bf84b41ea280c) | |||
2022-06-13 | Fix lint with FindFlags change | Florian Bruhin | |
2022-06-13 | Fix prev_result/next_result with None callbacks | Florian Bruhin | |
2022-06-13 | Add a helper dataclass for find flags | Florian Bruhin | |
When e.g. doing: - '?foo' (search with reverse=True -> FindBackwards) - 'N' (prev_result -> no FindBackwards) - 'n' (next_result -> FindBackwards again) we need to take a copy of the flags so that we can temporarily clear FindBackwards when pressing 'N'. Relevant history: - We originally did int(self._flags) in d4502574856c7d539a0890fbb6b093942c4551b6. - In f0da508c218ad57289bdb9268faeba7b7741a233, we used QWebPage.FindFlags(int(self._flags)) instead. - With 97bdcb8e674c8ff27ab92448effef263880ab3aa (picked from c349fbd18084183d44f351af617f6ad5d16efabf) we instead do: flags = QWebEnginePage.FindFlag(self._flags) Using FindFlag instead of FindFlags seemed to work fine with PyQt6 and enum.Flag. With PyQt5, however, later clearing a flag bit ends up with us getting 0 as an integer, thus losing the type information about this being a FindFlag instance, and resulting in a TypeError when calling into Qt. We could use FindFlags() with PyQt 6 but FindFlag() with PyQt 5 to copy the original flags, but that's getting rather cumbersome. Instead, let's have a helper dataclass of bools, do away with the bit-twiddling, and only convert it to a Qt flags when we actually need them. This solves the copying issue nicely, and also makes the code a lot nicer. Finally, this also adds a test case which fails when the flags are mutated in place instead of copied. We could do the same kind of change for QtWebKit as well, but given that it's somewhat dead - and perhaps more importantly, won't run with Qt 6 - let's not bother. To not break the end2end tests with QtWebKit, the output still is the same as before. (cherry picked from commit 96a0cc39512753445bc7a01b218b2f1290819ddd) | |||
2022-06-13 | search: Split navigation/search callbacks | Florian Bruhin | |
This way, we can move more logic (checking wrapping, etc.) into the API, thus making the commands much more simple and stateless. | |||
2022-06-13 | search: Move wrap argument to next/prev_result | Florian Bruhin | |
The fact that we need to specify this while searching rather than when "zapping" through the results make no sense. It makes both the API as well as our own code more complex. | |||
2022-06-13 | Get rid of _WebEngineSearchWrapHandler | Florian Bruhin | |
2022-06-13 | Add a SearchMatch helper class | Florian Bruhin | |
2022-06-13 | Merge remote-tracking branch 'origin/pr/6670' into dev | Florian Bruhin | |
2022-06-13 | Fix lint | Florian Bruhin | |
2022-06-13 | click-element: Fix typing | Florian Bruhin | |
2022-06-13 | click-element: Unpack lambda dict into if | Florian Bruhin | |
Easier to do assertions, and seems cleaner than storing lambdas. | |||
2022-06-13 | Add setting reference | Florian Bruhin | |
2022-06-13 | Add test for using :prompt-fileselect-external on wrong prompt | Florian Bruhin | |
2022-06-13 | Update docs | Florian Bruhin | |
2022-06-13 | Fix test | Florian Bruhin | |
2022-06-13 | Merge remote-tracking branch 'origin/pr/7003' | Florian Bruhin | |
2022-06-13 | Update docs | Florian Bruhin | |
2022-06-13 | Merge remote-tracking branch 'origin/pr/6448' | Florian Bruhin | |
2022-06-13 | Update changelog | Florian Bruhin | |
2022-06-13 | Minor fixes | Florian Bruhin | |
2022-06-13 | Merge remote-tracking branch 'origin/pr/7096' | Florian Bruhin | |
2022-06-13 | Update changelog | Florian Bruhin | |
2022-06-13 | Merge remote-tracking branch 'origin/pr/7124' | Florian Bruhin | |
2022-06-13 | Update changelog | Florian Bruhin | |
2022-06-13 | Merge remote-tracking branch 'origin/pr/7196' | Florian Bruhin | |
2022-06-13 | Update changelog | Florian Bruhin | |