Commit Graph

16729 Commits

Author SHA1 Message Date
Florian Bruhin
6c245ca7a0 Merge remote-tracking branch 'origin/pr/4220' 2018-10-04 19:34:03 +02:00
Florian Bruhin
8a3704fbe4 Update docs 2018-10-04 19:33:02 +02:00
Florian Bruhin
c786c25494 Update changelog 2018-10-04 19:31:09 +02:00
Florian Bruhin
923b726e38 Merge remote-tracking branch 'origin/pr/4220' 2018-10-04 19:28:01 +02:00
Florian Bruhin
4f697578d9 Update changelog 2018-10-04 16:55:07 +02:00
Florian Bruhin
5514ddeed5 Log OSError for PDF.js more explicitly
Closes #4289
2018-10-04 16:54:44 +02:00
Florian Bruhin
659be2296f Don't log stacktraces for qute:// errors 2018-10-04 16:54:44 +02:00
Florian Bruhin
29142f763c Use a proper data dir for PDF.js 2018-10-04 16:54:44 +02:00
Florian Bruhin
c472adfa82 Upgrade to pytest-qt 3.2.1
This fixes compatibility with PyQt 5.11.3.
2018-10-04 16:25:23 +02:00
Florian Bruhin
c3fec3c8aa pyinstaller: Re-add pdf.js bundling
Fixes #4291
2018-10-04 16:25:07 +02:00
Florian Bruhin
a1a68c13a1 Update changelog 2018-10-04 15:55:36 +02:00
Florian Bruhin
0caff547aa Show/hide TabBar and not TabWidget with many tabs 2018-10-04 15:54:07 +02:00
Florian Bruhin
45d2e74f53 Clarify changelog 2018-10-04 15:52:43 +02:00
Ryan Roden-Corrent
a5b3670477
Fix pylint/flake8 errors in configtypes. 2018-10-03 21:44:10 -04:00
Ryan Roden-Corrent
59f9d31d4b
Fix up configtypes based on code review.
- Remove stray statements
- add an early bail-out if we can't parse a color function
- add more test cases
2018-10-03 17:41:48 -04:00
Florian Bruhin
cfffc628f3 Also update PyQt5 in tox.ini 2018-10-03 22:19:59 +02:00
Florian Bruhin
d04b435ed2 Add coverage comment 2018-10-03 16:23:59 +02:00
Florian Bruhin
a5a222244d Update release checklist for Python 3.7 2018-10-03 16:14:25 +02:00
Florian Bruhin
7d08714a93 Upgrade PyQt for v1.5.0 2018-10-03 16:07:38 +02:00
Florian Bruhin
7e7d18f113 Release v1.5.0 2018-10-03 15:55:48 +02:00
Florian Bruhin
b06bcafdb6 Update changelog for v1.5.0 2018-10-03 15:55:48 +02:00
Florian Bruhin
9ca6da485c Handle None values in lessThan 2018-10-03 15:15:25 +02:00
Ryan Roden-Corrent
46683b82e7
Change colors.completion.match.fg to QtColor.
The color is now used in a custom Highlighter class, not set in a
stylesheet.
2018-10-02 17:47:33 -04:00
Ryan Roden-Corrent
66cc5f5ea4
Add support for more values in QtColor config type.
Recent changes in the completion highlighter mandate that
config.val.colors.completion.match be changed from a QssColor to a
QtColor. However, the latter accepts fewer formats. To avoid breaking
configs, this allows QtColors to be specified using all the same formats
as QssColors, excluding gradients.

I separated the QssColor and QtColor tests as the previous approach of
generating the tests made adding tests for QtColor more complicated.

While working on this I discovered that Qt's css parser is potentially
broken around parsing hsv percentages and filed
https://bugreports.qt.io/browse/QTBUG-70897.

For consistency, I made our parser similarly broken.

You can show the bug in qutebrowser right now by noting that the
following have different effects:

```
set colors.completion.odd.bg 'hsv(100%, 100%, 100%)'
set colors.completion.odd.bg 'hsv(358, 255, 255)'
```
2018-10-02 17:30:43 -04:00
Florian Bruhin
1cedfc5470 Add test 2018-10-02 13:38:28 +02:00
Florian Bruhin
fc446a9971 Update changelog 2018-10-02 13:34:44 +02:00
Florian Bruhin
55ec72df00 Re-break lines 2018-10-02 13:33:41 +02:00
lyeoh
1b8e1a9ea4 Fix url available to :navigate (strip query) 2018-10-01 16:24:54 -05:00
Florian Bruhin
4060fcc1c6 Fix lint 2018-10-01 21:54:08 +02:00
Florian Bruhin
bb1ed71c7e
Merge pull request #4279 from qutebrowser/pyup-scheduled-update-2018-10-01
Scheduled weekly dependency update for week 39
2018-10-01 20:58:12 +02:00
pyup-bot
9923b49ed7 Update hypothesis from 3.73.0 to 3.74.0 2018-10-01 19:53:18 +02:00
pyup-bot
30687a01b5 Update click from 6.7 to 7.0 2018-10-01 19:53:17 +02:00
pyup-bot
7e477a26c8 Update wheel from 0.31.1 to 0.32.0 2018-10-01 19:53:15 +02:00
pyup-bot
9db667f97b Update pyparsing from 2.2.1 to 2.2.2 2018-10-01 19:53:14 +02:00
pyup-bot
96a4888e11 Update packaging from 17.1 to 18.0 2018-10-01 19:53:12 +02:00
Florian Bruhin
8a7c1b66a4 Add :tab-{give,take} --keep 2018-10-01 16:54:02 +02:00
Florian Bruhin
8f33b89a57 Merge remote-tracking branch 'origin/pr/4276' 2018-10-01 11:21:40 +02:00
Jay Kamat
2b35d04607
Select text node in tests to imitate real selections 2018-09-30 23:29:24 -07:00
Florian Bruhin
a3ae950707 Ignore click events with invalid positions
Since Qt 5.11.2, various crash logs like this popped up after clicking a
<select> element:

    Traceback (most recent call last):
      File ".../browser/mouse.py", line 239, in eventFilter
        return self._handlers[evtype](event)
      File ".../browser/mouse.py", line 121, in _handle_mouse_press
        self._mousepress_insertmode_cb)
      File ".../browser/webengine/webenginetab.py", line 624, in find_at_pos
        assert pos.x() >= 0
    AssertionError

This is probably caused by https://codereview.qt-project.org/#/c/193908/ in
some way...
2018-09-30 22:55:17 +02:00
Florian Bruhin
dd41bc2f7b Merge remote-tracking branch 'origin/pr/4274' 2018-09-30 22:14:56 +02:00
Florian Bruhin
c7c9a2cb84 Fix _is_pinned() during init 2018-09-30 22:14:19 +02:00
Florian Bruhin
45a3611b62 Update docs 2018-09-30 22:08:00 +02:00
Florian Bruhin
6f01571462 Rename variable 2018-09-30 22:02:11 +02:00
Florian Bruhin
4b495303f9 Merge remote-tracking branch 'origin/pr/4191' 2018-09-30 22:01:57 +02:00
Florian Bruhin
8d489a40e4 Simplify toggle_visibility 2018-09-30 21:53:19 +02:00
Florian Bruhin
b8be4e5915 Merge remote-tracking branch 'origin/pr/4266' 2018-09-30 21:52:35 +02:00
Joel Gillman
839eff13f4
FAQ: Add MacOS PATH info to Troubleshooting 2018-09-30 15:44:44 -04:00
Florian Bruhin
d80bdb9563 FAQ: Update mailcap answer 2018-09-30 21:33:22 +02:00
Florian Bruhin
96f28c6f72 Show errors on invalid --mode argument for :hint 2018-09-30 11:45:59 +02:00
Florian Bruhin
d362299e4e Repeat last run macro with @@ 2018-09-30 11:09:42 +02:00