Commit Graph

4633 Commits

Author SHA1 Message Date
reaysawa
6313a74423 Merge branch 'perdomainstylesheets' of https://github.com/jcjordyn130/qutebrowser into jcjordyn130/perdomainstylesheets 2019-03-11 00:25:12 -03:00
Florian Bruhin
f5c6ac3769 Fix broken test 2019-03-08 14:23:43 +01:00
Florian Bruhin
05a65fdb2f Merge remote-tracking branch 'origin/pr/4309' 2019-03-04 13:43:26 +01:00
Florian Bruhin
7a3c0d328f Mark two more tests as flaky 2019-02-25 13:10:58 +01:00
Florian Bruhin
edcefc0632 Ignore additional Chromium error on Windows 2019-02-25 13:04:25 +01:00
Florian Bruhin
22e1b22acc Remove unused import 2019-02-25 11:26:44 +01:00
Florian Bruhin
184e0ee44e Rename force_document_end to needs_document_end_workaround 2019-02-25 09:57:17 +01:00
Florian Bruhin
94542c5f78 Merge branch 'greasemonkey-quirks' 2019-02-25 09:56:18 +01:00
Florian Bruhin
8642b6e8ce Fix JSTester.run_file() for new pkg_resources
Read the file via open() instead of utils.read_file.
2019-02-25 09:28:25 +01:00
Florian Bruhin
0e11b85474 Re-enable stylesheet tests for Qt 5.12
This partially reverts commit 0953596ed6.
This reverts commit 0aa342eae6.
2019-02-25 09:28:25 +01:00
Florian Bruhin
9f2073161e Merge remote-tracking branch 'origin/pr/4339' 2019-02-23 18:55:39 +01:00
Florian Bruhin
7406666f32
Merge pull request #4603 from jgkamat/jay/copyright-2019
Update copyright for 2019
2019-02-23 13:01:59 +01:00
Florian Bruhin
6dd978ae05 GreaseMonkey: Force document-end for known-broken scripts
See #4322
2019-02-23 12:52:30 +01:00
Florian Bruhin
fa3612897b Call webenginequtescheme.init() in fixtures.testdata_scheme 2019-02-23 12:52:07 +01:00
Jay Kamat
7c175543d0
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into perdomainstylesheets 2019-02-22 22:23:57 -08:00
Jay Kamat
961a4b206c
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into jay/insert-no-leave 2019-02-22 21:53:00 -08:00
Jay Kamat
3e816f5f8b
Update copyright for 2019 2019-02-22 21:45:08 -08:00
Florian Bruhin
7c1ddb39d1 Remove unused import 2019-02-22 11:28:06 +01:00
Florian Bruhin
99c8b80a46 Use i- as prefix for the IPC path on macOS
With Qt 5.12, standarddir.runtime() gives us a path in /private/var/folders/...
instead of /var/folders/... like before. Due to that change, the path length is
105 chars, which is too long for a named socket (104 seems to be okay).

The complete name is just slightly too long, so using i- instead of ipc- fixes
things...

Fixes #4471
See #888
2019-02-22 10:22:09 +01:00
Florian Bruhin
17846ea386 Skip flaky test 2019-02-17 22:39:58 +01:00
Florian Bruhin
a2c7908414 Remove unused import 2019-02-17 18:53:47 +01:00
Florian Bruhin
04764b9c39 Adjust filename suffix matching for Qt 5.12
https://codereview.qt-project.org/#/c/247517/
https://chromium-review.googlesource.com/c/chromium/src/+/1278137
https://cs.chromium.org/chromium/src/base/time/time_to_iso8601.cc

Fixes #4478
Fixes #4580
2019-02-17 17:53:17 +01:00
Florian Bruhin
64f7692d74 Update qute://settings CSRF tests for Qt 5.12
See #4478
2019-02-17 17:15:03 +01:00
Florian Bruhin
39cc352253 Refactor qute://settings CSRF tests 2019-02-17 17:15:01 +01:00
Florian Bruhin
2214fd63b5 Merge branch 'pyup-scheduled-update-2019-02-11' 2019-02-16 21:02:39 +01:00
Florian Bruhin
94f998ac3a Adjust for new pytest import handling
See #4511
2019-02-16 20:00:01 +01:00
Florian Bruhin
2d996baea0 Fix remaining new flake8 issues 2019-02-16 19:51:58 +01:00
Florian Bruhin
7c87f4e3d0 s/qApp/q_app/g 2019-02-16 19:51:58 +01:00
Florian Bruhin
823a0de884 Check for updated docs in all affected tests
Fixes #4576
2019-02-16 01:43:20 +01:00
Jay Kamat
3a9a75c1d5
Fix style issues 2019-02-01 23:25:22 -08:00
Jay Kamat
09ce1bb8af
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into jay/insert-no-leave 2019-02-01 23:22:42 -08:00
Jay Kamat
a343f9df28
Fix issues with tests 2019-02-01 23:03:44 -08:00
Jay Kamat
1c7178c92c
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into donottrack 2019-02-01 23:02:32 -08:00
Florian Bruhin
1799b7926a Make console available in PAC files 2019-01-14 22:23:30 +01:00
Florian Bruhin
d8c02f495e Add highlighting test 2019-01-13 10:36:14 +01:00
Florian Bruhin
cc0f5fc6d4 Fix migration of scrolling.bar 2019-01-11 11:26:08 +01:00
Florian Bruhin
2c1d039c9e Refactor tests for bool setting migrations 2019-01-11 11:26:08 +01:00
Florian Bruhin
dcd2184f97
Merge pull request #4518 from jgkamat/jay/configcache-cache
Optimize configcache for critical path
2019-01-10 14:04:46 +01:00
Jay Kamat
fdb4dd728f
Merge pull request #4508 from beelzebielsk/master
Implement pinned.tab.frozen setting (issue #4400)
2019-01-09 23:49:16 -08:00
Jay Kamat
8a48e5d2a5
Add benchmark for config cache 2019-01-09 23:16:00 -08:00
adam
5cd988ae52 Change config option to in tabs.pinned group
Changes to be committed:
      modified:   qutebrowser/browser/browsertab.py
      modified:   qutebrowser/config/configdata.yml
      modified:   tests/end2end/features/tabs.feature
        Changed pinned.tabs.frozen to be tabs.pinned.frozen in all of
        these files.
2019-01-06 20:53:26 -05:00
adam
24a1104dc7 Implement pinned.tab.frozen setting (issue #4400)
Implement a new setting, `pinned.tab.frozen` (boolean), which when false
allows a user to navigate to new URLs in a pinned tab (default behavior
is to have `pinned.tab.frozen = true`, in which no navigation is allowed).

issue URL: https://github.com/qutebrowser/qutebrowser/issues/4400

Changes to be committed:
      modified:   qutebrowser/browser/browsertab.py
        Add `navigation_blocked` method to AbstractTab, which returns
        true if navigation is allowed on a tab.
      modified:   qutebrowser/browser/commands.py
        Change `openurl` to use `navigation_blocked` method of a tab to
        determine behavior while navigating a pinned tab.
      modified:   qutebrowser/components/misccommands.py
        Change `home` to use `navigation_blocked` method of a tab to
        determine behavior while navigating a pinned tab.
      modified:   qutebrowser/config/configdata.yml
        Add `pinned.tab.frozen` config.
      modified:   tests/end2end/features/tabs.feature
        Add tests for :open and :home on pinned tabs with
        `pinned.tab.frozen` set to false
2019-01-04 18:03:33 -05:00
Florian Bruhin
3528de82e9 Also skip SSL test on Qt 5.12
See #4240
2019-01-04 10:30:06 +01:00
Florian Bruhin
4da680f41c Fix lint/test issue 2018-12-15 16:50:15 +01:00
Florian Bruhin
e00a7ee5be Mark IPC test which is broken on macOS as xfail
See #4471
2018-12-12 11:34:18 +01:00
Florian Bruhin
aec348d929 Fix test_mhtml_e2e with QtWebKit + Qt 5.12
Fixup for 9eccaea09c
See #4025
2018-12-12 11:27:38 +01:00
Florian Bruhin
0953596ed6 Skip remaining tests which are broken on Qt 5.12
See #4320, #4244
2018-12-11 18:36:52 +01:00
Florian Bruhin
63510c41f5 Don't wait for focus ready message on Qt 5.12
Looks like there's no internal widget focused anymore...
2018-12-11 18:36:20 +01:00
Florian Bruhin
0aa342eae6 Mark test_appendchild as xfail on Qt 5.12
See #4244
2018-12-11 11:05:06 +01:00
Florian Bruhin
a3279772d5 Fix lint 2018-12-10 18:34:11 +01:00