summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-31tests: Skip test_real_chromium_version if guessing too muchv2.1.x-devFlorian Bruhin
(cherry picked from commit c7657e65cc2eea04aee70d466b436c675707c270)
2021-03-31tests: Fix accidental network accessFlorian Bruhin
Running :adblock-update also updates ABP lists and thus tries downloading easylist. (cherry picked from commit ac9388fb1baba17c99de9d8872c274ab6dd38854)
2021-03-31tests: Make test_real_chromium_version clearerFlorian Bruhin
(cherry picked from commit c9e6aea1b41d892238635aed4f2099ec5017727c)
2021-03-31flatpak: Try getting ID from /.flatpak_infoFlorian Bruhin
(cherry picked from commit 8b49d87526dd34380df6e98800ecc82367b48be1)
2021-03-31Increase vim compatibilityFlorian Bruhin
Vim has this, and it's almost easter, so clearly we should have it too. Also it's from Monty Python, which makes it even more fitting. HEAD KNIGHT: Ni! KNIGHTS: Ni! Ni! Ni! ARTHUR: Who are you? HEAD KNIGHT: We are the Knights Who Say... Ni! ARTHUR: No! Not the Knights Who Say Ni! HEAD KNIGHT: The same! BEDEVERE: Who are they? HEAD KNIGHT: We are the keepers of the sacred words: Ni, Pen, and Ni-wom! RANDOM: Ni-wom! ARTHUR: Those who hear them seldom live to tell the tale! HEAD KNIGHT: The Knights Who Say Ni demand a sacrifice! ARTHUR: Knights of Ni, we are but simple travellers who seek the enchanter who lives beyond these woods. HEAD KNIGHT: Ni! Ni! Ni! Ni! ARTHUR and PARTY: Oh, ow! HEAD KNIGHT: We shall say 'nee' again to you if you do not appease us. ARTHUR: Well, what is it you want? HEAD KNIGHT: We want... a shrubbery! [dramatic chord] ARTHUR: A what? HEAD KNIGHT: Ni! Ni! ARTHUR and PARTY: Oh, ow! ARTHUR: Please, please! No more! We shall find a shrubbery. HEAD KNIGHT: You must return here with a shrubbery or else you will never pass through this wood alive! ARTHUR: O Knights of Ni, you are just and fair, and we will return with a shrubbery. HEAD KNIGHT: One that looks nice. ARTHUR: Of course. HEAD KNIGHT: And not too expensive. ARTHUR: Yes. HEAD KNIGHTS: Now... go! ARTHUR: Old crone! Is there anywhere in this town where we could buy a shrubbery! [dramatic chord] CRONE: Who sent you? ARTHUR: The Knights Who Say Nee. CRONE: Agh! No! Never! We have no shrubberies here. ARTHUR: If you do not tell us where we can buy a shrubbery, my friend and I will say... we will say... `nee'. CRONE: Agh! Do your worst! ARTHUR: Very well! If you will not assist us voluntarily,... Ni! CRONE: No! Never! No shrubberies! ARTHUR: Ni! BEDEVERE: Noo! Noo! ARTHUR: No, no, no, no -- it's not that, it's 'Ni'. BEDEVERE: Noo! ARTHUR: No, no -- 'Ni'. You're not doing it properly. BEDEVERE: Noo! Ni! ARTHUR: That's it, that's it, you've got it. ARTHUR and BEDEVERE: Ni! Ni! ROGER: Are you saying 'Ni' to that old woman? ARTHUR: Um, yes. ROGER: Oh, what sad times are these when passing ruffians can say `Ni' at will to old ladies. There is a pestilence upon this land, nothing is sacred. Even those who arrange and design shrubberies are under considerable economic stress at this period in history. ARTHUR: Did you say `shrubberies'? ROGER: Yes, shrubberies are my trade -- I am a shrubber. My name is Roger the Shrubber. I arrange, design, and sell shrubberies. BEDEVERE: Ni! ARTHUR: No! No, no, no! No! ARTHUR: O, Knights of Ni, we have brought you your shrubbery. May we go now? HEAD KNIGHT: It is a good shrubbery. I like the laurels particularly. But there is one small problem. ARTHUR: What is that? HEAD KNIGHT: We are now... no longer the Knights Who Say Ni. RANDOM: Ni! HEAD KNIGHT: Shh shh. We are now the Knights Who Say Ecky-ecky-ecky- ecky-pikang-zoom-boing-mumble-mumble. RANDOM: Ni! HEAD KNIGHT: Therefore, we must give you a test. ARTHUR: What is this test, O Knights of-- Knights Who 'Til Recently Said Ni? HEAD KNIGHT: Firstly, you must find... another shrubbery! [dramatic chord] ARTHUR: Not another shrubbery! HEAD KNIGHT: Then, when you have found the shrubbery, you must place it here beside this shrubbery, only slightly higher so you get a two-level effect with a little path running down the middle. RANDOM: A path! A path! Ni! HEAD KNIGHT: Then, when you have found the shrubbery, you must cut down the mightiest tree in the forest... with... a herring! [dramatic chord] ARTHUR: We shall do no such thing! HEAD KNIGHT: Oh, please! ARTHUR: Cut down a tree with a herring? It can't be done. KNIGHTS: Aaaaugh! Aaaugh! HEAD KNIGHT: Don't say that word. ARTHUR: What word? HEAD KNIGHT: I cannot tell, suffice to say is one of the words the Knights of Ni cannot hear. ARTHUR: How can we not say the word if you don't tell us what it is? KNIGHTS: Aaaaugh! Aaaugh! ARTHUR: What, `is'? HEAD KNIGHT: No, not `is' -- we couldn't get vary far in life not saying `is'. BEDEVERE: My liege, it's Sir Robin! MINSTREL (singing): Packing it in and packing it up And sneaking away and buggering up And chickening out and pissing about Yes, bravely he is throwing in the sponge ARTHUR: Oh, Robin! ROBIN: My liege! It's good to see you! KNIGHTS: Aaaaugh! HEAD KNIGHT: He said the word! ARTHUR: Surely you've not given up your quest for the Holy Grail? MINSTREL (singing): He is sneaking away and buggering up-- ROBIN: Shut up! No, no no-- far from it. HEAD KNIGHT: He said the word again! ROBIN: I was looking for it. KNIGHTS: Aaaaugh! ROBIN: Uh, here, here in this forest. ARTHUR: No, it is far from-- KNIGHTS: Aaaaugh! HEAD KNIGHT: Aaaaugh! Stop saying the word! ARTHUR: Oh, stop it! KNIGHTS: Aaaaugh! HEAD KNIGHT: Oh! He said it again! ARTHUR: Patsy! HEAD KNIGHT: Aaugh! I said it! I said it! Ooh! I said it again! KNIGHTS: Aaaaugh! (cherry picked from commit 5a4b51a784b4332242191a61a24d72bca3ff60dc)
2021-03-31flatpak: Make things work without FLATPAK_IDFlorian Bruhin
(cherry picked from commit 3b1bbc709cad66639eb7bf2285a0db2b361281e5)
2021-03-31flatpak: Fix standarddir/ipc testsFlorian Bruhin
(cherry picked from commit f35e284de01ac1bc6e81000063ad8b0525ac1354)
2021-03-31ci: Move test_mkvenv.py to update-dependenciesFlorian Bruhin
It requires some time and network access, so no need to run it as part of the automated tests. (cherry picked from commit 545a295cf0fc318538a2355f1244cfd2df575af9)
2021-03-31Fix --asciidoc for mkvenv.pyFlorian Bruhin
(cherry picked from commit ed49bdd9a4c15aea9e194a5ca8a199a22ecdbd9f)
2021-03-31tests: Ignore mDNS errorsFlorian Bruhin
They happen with data/crashers/webrtc.html in Flatpak and are harmless. (cherry picked from commit aea69ff3dfb572370e6b0514950043bd2be4a864)
2021-03-31flatpak: Skip download dispatcher testsFlorian Bruhin
(cherry picked from commit 40c72f849d35cde1644558792845d93e3032ea93)
2021-03-31flatpak: Get correct path to QtWebEngine localesFlorian Bruhin
(cherry picked from commit 31e655dd36156eea9039cf210c0a0f67f5f3fc87)
2021-03-30Rename version.is_sandboxed() to is_flatpak()Florian Bruhin
(cherry picked from commit 5ce8a9c9c19e2aaec591b191d3c3efebd1957fa7) For easier backporting of changes.
2021-03-30Fix coverageFlorian Bruhin
This is covered by tests in master, and by pre-release checks here
2021-03-29ipc: Hide socket warning when re-getting socketFlorian Bruhin
(cherry picked from commit 6de2d238418ddd8d0791584635955d9882618060)
2021-03-29ipc: Fix socket handlingFlorian Bruhin
Speculatively fixes #5344 (cherry picked from commit 4a2c6c76241d6554e5fa3cfe358cfe16646728a0)
2021-03-29scripts: Fix asciidoc errorFlorian Bruhin
Fixup to 28bd35ed58f85f23570a9901094d550baa6bff1c (cherry picked from commit f511f11ecdc2708c0333ec86b52c790c50f50e23)
2021-03-29Fix QtWebEngine version guessing with PyInstallerFlorian Bruhin
Fixes #6337 (cherry picked from commit eee6e6180e3b75f23059909d52983572c8477f06)
2021-03-29Split QtWebEngine version handling into different methodsFlorian Bruhin
Preparation for #6337 (cherry picked from commit 028e7b65692acd6269dfffcdf6632d5368efbfa9)
2021-03-24tests: Don't download TLD listFlorian Bruhin
(cherry picked from commit 9303e6a85489775f63b5d15b7bbd3173f74764d9)
2021-03-24Catch AttributeError for FormatString configtypeFlorian Bruhin
(cherry picked from commit b171f3c0f2bd52f30330843a742d4bf9600b420d)
2021-03-24Use mainwindow.raise_window for :tab-selectFlorian Bruhin
Fixes #6321 (cherry picked from commit 5d69a21262adcaab90af50eaf8184c38e67031c5)
2021-03-23standarddir: Fix custom basedirs with flatpakFlorian Bruhin
See https://github.com/flathub/org.qutebrowser.qutebrowser/issues/18#issuecomment-802827816 (cherry picked from commit 74c9f66752f077c4b94927c15aec801a1ab88a22)
2021-03-20Improve bindings.key_mappings descriptionFlorian Bruhin
(cherry picked from commit 3dc5584cac2a588828dbd50ba441c04ad27e6d17)
2021-03-20Fix bindings.key_mappings with multiple keysFlorian Bruhin
Otherwise, when e.g. doing "<Meta+Up>": "gg" in bindings.key_mappings, there's a crash like: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/eventfilter.py", line 105, in eventFilter return handler(typing.cast(QKeyEvent, event)) File "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/eventfilter.py", line 75, in _handle_key_event return man.handle_event(event) File "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/modeman.py", line 462, in handle_event return handler(cast(QKeyEvent, event)) File "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/modeman.py", line 283, in _handle_keypress match = parser.handle(event, dry_run=dry_run) File "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/modeparsers.py", line 105, in handle match = super().handle(e, dry_run=dry_run) File "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/basekeyparser.py", line 309, in handle result = self._match_key_mapping(result.sequence) File "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/basekeyparser.py", line 246, in _match_key_mapping mapped = sequence.with_mappings( File "/usr/lib/python3.9/site-packages/qutebrowser/keyinput/keyutils.py", line 675, in with_mappings assert len(new_seq) == 1 AssertionError While this isn't the intended way to use this setting, we shouldn't crash - and let's just make it work instead of forbidding it. (cherry picked from commit 5b6d2c60b46e233d4788a9b34d15fdb7d8d1c114)
2021-03-20qute-pass userscript: Add -o flag to gopass otp invocation so the metadata ↵s3lph
arount the OTP token is omitted (cherry picked from commit 62ff0f0ec07fe11e1c72022970399725fbc475d2)
2021-03-19Only connect IPC after init has finishedFlorian Bruhin
Otherwise, if there's a fatal error message shown during init, we try to open something via IPC before we're fully initialized. This can e.g. lead to a KeyError for qtnetwork-download-manager: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/qutebrowser/app.py", line 120, in <lambda> process_pos_args(args, cwd=cwd, via_ipc=True, File "/usr/lib/python3/dist-packages/qutebrowser/app.py", line 230, in process_pos_args win_id = mainwindow.get_window(via_ipc, force_window=True) File "/usr/lib/python3/dist-packages/qutebrowser/mainwindow/mainwindow.py", line 89, in get_window window = MainWindow(private=None) File "/usr/lib/python3/dist-packages/qutebrowser/mainwindow/mainwindow.py", line 220, in __init__ self._init_downloadmanager() File "/usr/lib/python3/dist-packages/qutebrowser/mainwindow/mainwindow.py", line 350, in _init_downloadmanager qtnetwork_download_manager = objreg.get('qtnetwork-download-manager') File "/usr/lib/python3/dist-packages/qutebrowser/utils/objreg.py", line 249, in get return reg[name] File "/usr/lib/python3.8/collections/__init__.py", line 1010, in __getitem__ raise KeyError(key) KeyError: 'qtnetwork-download-manager' (cherry picked from commit 6c0d8d59647b39ecf3292b125991522d3502db65)
2021-03-19Handle OSError in brave adblockFlorian Bruhin
(cherry picked from commit 09c848fe34bd61fca74c6191ff5e49dbbf9ae101)
2021-03-18Add quirk for krunker.ioFlorian Bruhin
(cherry picked from commit 7de06df5f4d034c50f96f0d5a241d5e222cb5d2a)
2021-03-18Only run test_flatpak_runtimedir on LinuxFlorian Bruhin
Paths are different on macOS/Windows (cherry picked from commit 069743e98d3dd18954298b7a10b55c5156a8d765)
2021-03-18Fix test_flatpak_runtimedirFlorian Bruhin
(cherry picked from commit 6a65ff1ad07911d2ee23a1c6360d2bebdc305b33)
2021-03-18Fix lintFlorian Bruhin
Alternative to c07b93b7c40aef496e8e0a298e4fbafedf4ee8d0
2021-03-18Add a test for flatpak runtime dirFlorian Bruhin
See #6300 (cherry picked from commit ca8c3205857bf81a06f8f36aae999303281412e2, but adjusted for this branch)
2021-03-18Try to recover from CompletionMetaInfo with unexpected structureFlorian Bruhin
Fixes #6302 (cherry picked from commit 254b21f3ecc43d4d844e6ded55378673b913b5c8)
2021-03-18Use correct runtime path for FlatpakFlorian Bruhin
See #6300 Independent from the implementation on master, due to the circular import workaround.
2021-03-17Improve joinpath regexFlorian Bruhin
joinpath is still useful with a list of args (cherry picked from commit ed20af9828f609449afdf64dacf152da5924f6cb)
2021-03-17Fix shadowed nameFlorian Bruhin
(cherry picked from commit ff341513afa1dad95ea71b52d654bb32512a8042)
2021-03-17tests: Handle XDG_*_HOME standarddir testsFlorian Bruhin
For some reason, a recent change on GitHub's runners seems to explicitly set XDG_CONFIG_HOME. That breaks our tests, however, because we can't simply override HOME to control where the directories are created. Thus, make sure that XDG_*_HOME is always unset. (cherry picked from commit 23810876e408253aee8ba19082abd7f07ec7925d)
2021-03-17Fix version parsing with FlatpakFlorian Bruhin
See https://github.com/flathub/org.qutebrowser.qutebrowser/issues/11 (cherry picked from commit 7ae7b6ea1a20c8379ae072eea6bd1449788852a6)
2021-03-12Fix lintFlorian Bruhin
(cherry picked from commit 2a7e053495b35c6003034c63230a92b03f6d007a)
2021-03-12tests: Further improve and stabilize screenshotsFlorian Bruhin
(cherry picked from commit 903e5e294301d8551c06e6f918b726a20a1d391c)
2021-03-12Leave insert mode when clicking devtools 'x'Florian Bruhin
Closes #6270 (cherry picked from commit 579e70b0ab812a5195f726ad41e2d7016e54c7b5)
2021-03-12Also enable formula workaround on Qt 5.12 and 5.13Florian Bruhin
Fixes #6268 (cherry picked from commit 43ab61106c1da7e253161a004a99ac75b2e7bfb3)
2021-03-12Stabilize darkmode mathml testFlorian Bruhin
(cherry picked from commit 54d2ca2a071d3d30266097d7c79e6b1bb82b4a95)
2021-03-12Fix version sorting in mkvenv.py for requirements-pyinstallerFlorian Bruhin
(cherry picked from commit b45ac601c62a1638a86347546e6afee79ecdbcf8)
2021-03-12Update changelog URLsFlorian Bruhin
(cherry picked from commit 7646cfa2f40165ca38200b1d134dd362c1cfe54e)
2021-03-12tox: Force PyQt 5.15.3 for PyInstallerFlorian Bruhin
See #6269 (cherry picked from commit f84b74823cc6a90ba6d0c62b75d568d3fd7da7e5)
2021-03-12scripts: Filter out some noise in recompile_requirementsFlorian Bruhin
(cherry picked from commit e55294ccc966ccba6299a7e0fe91d74d8e292e8e)
2021-03-12Make recompile_requirements run on WindowsFlorian Bruhin
(cherry picked from commit c9cb42d3cd4e1243c3cdf32e09c828088b62fce7)
2021-03-12Improve logging in webenginesettings.initFlorian Bruhin
(cherry picked from commit e626e8ee11575c97293776bdd303d1f4bde67b1b)