Commit Graph

12071 Commits

Author SHA1 Message Date
pyup-bot
002cfedaef Update isort from 4.2.5 to 4.2.9 2017-06-01 18:04:03 +02:00
Florian Bruhin
587861d899 Check for OpenGL ES later
It looks like we still got False on AppVeyor with "versionFunctions: Not
supported on OpenGL ES". Hopefully this helps.
2017-05-31 11:44:34 +02:00
Florian Bruhin
eac284d880 Skip test_opengl_vendor without QtOpenGL
The test fails on Ubuntu Xenial because QtOpenGL is not installed.
This isn't a problem with real-life usage though, as we only call it with
QtWebEngine, and that ensures that QtOpenGL is available.
2017-05-31 10:29:46 +02:00
Florian Bruhin
4cec9adce6 Fix lint 2017-05-31 09:44:17 +02:00
Florian Bruhin
28f7444d9e Update changelog 2017-05-31 07:14:19 +02:00
Florian Bruhin
912cea6e7d Improve version.opengl_vendor()
On Windows with OpenGL ES we can't use versionFunctions, so we just return None
early.

Also, this fixes some lint and adds a smoke test.
2017-05-30 19:23:27 +02:00
Florian Bruhin
b8a32c577f Merge branch 'nouveau' 2017-05-30 17:36:58 +02:00
Florian Bruhin
62b44c5338 Fix lint 2017-05-30 17:07:31 +02:00
Florian Bruhin
eb9a0c01ba Set backend-warning-shown in test_invocations 2017-05-30 16:49:39 +02:00
Florian Bruhin
67755e6f6c Add error message for QtWebEngine and Nouveau
See #2368
2017-05-30 16:47:39 +02:00
Florian Bruhin
048aec1aa6 Revert "Reorganize earlyinit checks"
This reverts commit 6f3f9ede01a6b30b105d5110a48cfea592e8db52.
2017-05-30 15:53:29 +02:00
Florian Bruhin
d0461eece3 Reorganize earlyinit checks
We first do all checks we can without knowing the backend, before getting that.
This is because we need to do some more stuff in get_backend now.
2017-05-30 15:53:29 +02:00
Florian Bruhin
bec8299b2e Update install instructions
Closes #2440
2017-05-30 15:34:46 +02:00
Florian Bruhin
58de271fc1 Regenerate authors 2017-05-30 10:40:33 +02:00
Florian Bruhin
65329c97c7 Merge branch 'pyup-bot/pyup-update-requests-2.16.5-to-2.17.3' 2017-05-30 10:39:50 +02:00
Florian Bruhin
f656cda248 Merge commit '798cae51d4971a74fa5a7de4815b32d9871caad5' 2017-05-30 10:39:20 +02:00
Florian Bruhin
8167c55e61 Merge commit 'ee99b25bf6eb203726a796f53fa60036f5caeb24' into pyup-bot/pyup-update-requests-2.16.5-to-2.17.3 2017-05-30 10:37:11 +02:00
Florian Bruhin
1c6fd6f725 Add a backend warning when using QtWebKit 2017-05-30 08:42:37 +02:00
Florian Bruhin
4cb82af11e Add QUTE_FAKE_OS_RELEASE envvar 2017-05-30 07:37:10 +02:00
pyup-bot
ee99b25bf6 Update requests from 2.16.5 to 2.17.3 2017-05-30 01:20:03 +02:00
pyup-bot
009acc1600 Update requests from 2.16.5 to 2.17.3 2017-05-30 01:20:02 +02:00
pyup-bot
863e1f1d84 Update requests from 2.16.5 to 2.17.3 2017-05-30 01:20:00 +02:00
Philipp Hansch
798cae51d4
Fix pylint issue 2017-05-29 23:15:22 +02:00
Philipp Hansch
ad8cf371b8
Style table of contents properly for qute theme 2017-05-29 21:50:06 +02:00
Philipp Hansch
932b2814b0
Hide false header element from the TOC 2017-05-29 21:50:04 +02:00
Philipp Hansch
abd3333b9f
Add TOC to installation instructions
This adds a Table of Contents to the installation instructions to
improve the navigation within the document.

I decided to use the command line to configure the TOC because there
were problems with using just using an attribute entry in the document
header.
Specifically the insertion of the `header.asciidoc` into the resulting
HTML file prevented the attribute entry approach from working.

The TOC can now be inserted into any doc file using

    toc::[]
2017-05-29 21:14:01 +02:00
Florian Bruhin
ef504e5b25 Allow None for WebKitElement.value
This fixes an exception when trying to run :open-editor with a comment field
with QtWebKit:

    16:37:51 DEBUG    webelem    webelem:is_editable:238 Checking if element is editable: <qutebrowser.browser.webkit.webkitelem.WebKitElement html='<div id="writer9997095275-writer" class="writer selectable no-lub put-art-here ui-droppable empty" style="min-height: 146px; width: 1169px;" contenteditable="true"></div>'>
    16:37:51 ERROR    misc       crashsignal:exception_hook:205 Uncaught exception
    Traceback (most recent call last):
      File "/home/florian/proj/qutebrowser/git/qutebrowser/app.py", line 882, in eventFilter
        return handler(event)
      File "/home/florian/proj/qutebrowser/git/qutebrowser/app.py", line 842, in _handle_key_event
        return man.eventFilter(event)
      File "/home/florian/proj/qutebrowser/git/qutebrowser/keyinput/modeman.py", line 337, in eventFilter
        return self._eventFilter_keypress(event)
      File "/home/florian/proj/qutebrowser/git/qutebrowser/keyinput/modeman.py", line 168, in _eventFilter_keypress
        handled = parser.handle(event)
      File "/home/florian/proj/qutebrowser/git/qutebrowser/keyinput/basekeyparser.py", line 307, in handle
        handled = self._handle_special_key(e)
      File "/home/florian/proj/qutebrowser/git/qutebrowser/keyinput/basekeyparser.py", line 136, in _handle_special_key
        self.execute(cmdstr, self.Type.special, count)
      File "/home/florian/proj/qutebrowser/git/qutebrowser/keyinput/keyparser.py", line 44, in execute
        self._commandrunner.run(cmdstr, count)
      File "/home/florian/proj/qutebrowser/git/qutebrowser/commands/runners.py", line 275, in run
        result.cmd.run(self._win_id, args, count=count)
      File "/home/florian/proj/qutebrowser/git/qutebrowser/commands/command.py", line 525, in run
        self.handler(*posargs, **kwargs)
      File "/home/florian/proj/qutebrowser/git/qutebrowser/browser/commands.py", line 1600, in open_editor
        tab.elements.find_focused(self._open_editor_cb)
      File "/home/florian/proj/qutebrowser/git/qutebrowser/browser/webkit/webkittab.py", line 589, in find_focused
        callback(webkitelem.WebKitElement(elem, tab=self._tab))
      File "/home/florian/proj/qutebrowser/git/qutebrowser/browser/commands.py", line 1580, in _open_editor_cb
        text = elem.value()
      File "/home/florian/proj/qutebrowser/git/qutebrowser/browser/webkit/webkitelem.py", line 116, in value
        assert isinstance(val, (int, float, str)), val
    AssertionError: None
2017-05-29 16:56:36 +02:00
Florian Bruhin
7186dcb98f Send crash reports to private pastebin
Fixes #481
2017-05-29 09:20:10 +02:00
Florian Bruhin
b32223acc7 Only inherit private mode when window is set
Otherwise, everything calling _open in a private window (like :quickmark-load)
will open a new window.
2017-05-29 06:37:28 +02:00
pyup-bot
615b027fad Update hypothesis from 3.11.0 to 3.11.1 2017-05-28 16:24:59 +02:00
Florian Bruhin
4f6474dc69 Add new requests requirements 2017-05-28 11:30:28 +02:00
Florian Bruhin
f273939521 Merge commit '9e3847863868e780b5a87975254959731c9ac2fb' into pyup-bot/pyup-update-requests-2.14.2-to-2.16.5 2017-05-28 11:25:12 +02:00
Florian Bruhin
8bd6974042 Open a window with an empty session
With general -> save-session on and only private windows open, we can easily get
a session file with "windows: []" in it. If we loaded such a file, we got no
windows at all when qutebrowser started.

Fixes #2664
2017-05-28 11:15:51 +02:00
Florian Bruhin
beb731c04c Move signal connections around 2017-05-28 10:54:16 +02:00
Florian Bruhin
06e754a632 Track HTML fullscreen per-tab
We now automatically get out of fullscreen when switching away from a
fullscreened tab. This also means we can't get into a situation where we can't
leave fullscreen anymore.

Fixes #2379.
2017-05-28 10:51:14 +02:00
pyup-bot
9e38478638 Update requests from 2.14.2 to 2.16.5 2017-05-28 09:52:02 +02:00
pyup-bot
3014a5207a Update requests from 2.14.2 to 2.16.5 2017-05-28 09:52:00 +02:00
pyup-bot
0106036e9e Update requests from 2.14.2 to 2.16.5 2017-05-28 09:51:59 +02:00
Florian Bruhin
a18ebd52a9 Rename TabWidget methods 2017-05-26 18:39:35 +02:00
Florian Bruhin
75409966a7 pyinstaller: Exclude tkinter 2017-05-24 21:53:53 +02:00
Florian Bruhin
54a4a087d4 nsis: Use solid lzma compressor
File sizes, 32 bit:
- default: 64 MB
- lzma: 50 MB
- lzma solid: 47 MB

64 bit:
- default: 75 MB
- lzma: 58 MB
- lzma solid: 55 MB

Between lzma and lzma solid, installation speed doesn't seem to vary much, so
let's go for the smallest.
2017-05-24 21:31:18 +02:00
Florian Bruhin
464eb29704 Set PATH in build_release.py when calling tox
On Windows, we need to have the proper Python folder in PATH when using PyQt5,
so it can load python3.dll properly.
2017-05-24 20:52:57 +02:00
Florian Bruhin
1adcf28e31 build_release: Adjust Windows Python paths 2017-05-24 13:30:11 +02:00
Florian Bruhin
ee320ade21 Regenerate authors 2017-05-24 08:40:20 +02:00
Florian Bruhin
b06599b2c9 Merge branch 'pyup-bot/pyup-update-hypothesis-3.10.0-to-3.11.0' 2017-05-24 08:39:09 +02:00
Florian Bruhin
52f077a780 Merge commit 'baa46aa7c1e54c5007ec35daf015225e425d0acd' 2017-05-24 08:39:09 +02:00
Florian Bruhin
49d7c44e6d Merge commit 'baa46aa7c1e54c5007ec35daf015225e425d0acd' into pyup-bot/pyup-update-hypothesis-3.10.0-to-3.11.0 2017-05-24 08:38:52 +02:00
Florian Bruhin
4e48f878ba build_release: Call tox with -v 2017-05-24 08:37:06 +02:00
Florian Bruhin
b811b9e380 Run update_3rdparty correctly from build_release 2017-05-24 08:37:06 +02:00
Florian Bruhin
e012b738f7 Add qutebrowser.nsi to MANIFEST.in 2017-05-24 08:37:06 +02:00