Florian Bruhin
e9e411311a
Remove unused import
2017-10-09 10:08:45 +02:00
Florian Bruhin
33b71ee937
Use develop branch of PyInstaller
...
https://github.com/pyinstaller/pyinstaller/pull/2519 was merged.
Fixes #2880
(cherry picked from commit ba04822388 )
2017-10-09 08:46:31 +02:00
Florian Bruhin
d166587f3d
Release v0.11.1
2017-10-09 08:30:18 +02:00
Florian Bruhin
dd663df35f
Update changelog from master
2017-10-09 08:30:03 +02:00
Florian Bruhin
9d292128d2
Remove test_upgrade_version
...
This is the last v0.11.x release
2017-10-09 08:24:56 +02:00
Florian Bruhin
f3eb5dbb66
Revert "Only emit perc_changed signal when the percentage actually changed"
...
This reverts commit 3eaad092b8 .
This breaks various end2end test relying on getting log messages for scrolling.
2017-10-06 10:17:13 +02:00
Florian Bruhin
3eaad092b8
Only emit perc_changed signal when the percentage actually changed
...
QtWebEngine emits scrollPositionChanged a lot during smooth scrolling, and
there's no reason we need to update percentages when they didn't *actually*
change.
This reduces the updates with a single spacebar press from 6-7 to 2-3 on my
machine, which might not be enough though.
See #2233
(cherry picked from commit 1d50c2c39a )
2017-10-06 08:54:52 +02:00
Florian Bruhin
38bccd4fdd
Remove unused import
...
(cherry picked from commit 629f6a6876 )
2017-10-04 11:16:18 +02:00
Florian Bruhin
9a5668f7a0
Fix test_version after OpenGL removal
2017-10-04 09:32:33 +02:00
Florian Bruhin
48023e7b1d
Use ctypes instead of PyOpenGL for QtWebEngine Nvidia workaround
...
Normally a dependency change like this wouldn't appear on a stable branch, but
it looks like multiple people have issues with importing PyOpenGL:
Traceback (most recent call last):
...
File "/usr/lib/python3/dist-packages/qutebrowser/browser/webengine/webenginesettings.py", line 208, in init
from OpenGL import GL # pylint: disable=unused-variable
File "/usr/lib/python3/dist-packages/OpenGL/GL/__init__.py", line 3, in <module>
from OpenGL.GL.VERSION.GL_1_1 import *
File "/usr/lib/python3/dist-packages/OpenGL/GL/VERSION/GL_1_1.py", line 10, in <module>
from OpenGL import platform, constants, constant, arrays
File "/usr/lib/python3/dist-packages/OpenGL/arrays/__init__.py", line 22, in <module>
formathandler.FormatHandler.loadAll()
File "/usr/lib/python3/dist-packages/OpenGL/arrays/formathandler.py", line 28, in loadAll
cls.loadPlugin( entrypoint )
File "/usr/lib/python3/dist-packages/OpenGL/arrays/formathandler.py", line 35, in loadPlugin
plugin_class = entrypoint.load()
File "/usr/lib/python3/dist-packages/OpenGL/plugins.py", line 14, in load
return importByName( self.import_path )
File "/usr/lib/python3/dist-packages/OpenGL/plugins.py", line 28, in importByName
module = __import__( ".".join(moduleName), {}, {}, moduleName)
File "/usr/lib/python3/dist-packages/OpenGL/arrays/vbo.py", line 430, in <module>
def mapVBO( vbo, access=GL.GL_READ_WRITE ):
AttributeError: module 'OpenGL.GL' has no attribute 'GL_READ_WRITE'
Fixes #2821
(cherry picked from commit a942613d7f )
2017-10-04 06:54:08 +02:00
Florian Bruhin
74e1b1ec26
Make userscripts work on both Python 2 and 3
...
(cherry picked from commit dca962ca03 )
2017-09-29 13:39:09 +02:00
Florian Bruhin
cfe7386f20
eslint: Turn off function-paren-newline
2017-09-10 12:50:25 +02:00
Jay Kamat
12b00dad44
Enforce a minimum size for non-pinned tabs
...
Closes #2826
2017-09-10 01:52:55 +02:00
Jay Kamat
ccf3cb6d7c
Restructure minimum tab size behavior
2017-09-10 01:52:55 +02:00
Jay Kamat
fcd8be5b68
Test for saving a session with --only-active-window
2017-08-28 07:58:32 +02:00
cryzed
259d08ba29
:save-session --only-active-window implies --with-private for private windows
2017-08-28 07:58:32 +02:00
Florian Bruhin
9d65039b35
Ignore a new Geoclue error during tests
2017-08-08 22:01:36 +02:00
Florian Bruhin
e50b7b65a4
version.distribution(): Handle Funtoo
2017-08-08 21:29:07 +02:00
Florian Bruhin
1aefaaf7c7
Fix tests for QProcess changes
2017-07-23 22:11:01 +02:00
Florian Bruhin
4da89139d1
Disallow :spawn -u -d
...
(cherry picked from commit efe6719f4f354348e7db6f77dc22c319850de5d4)
2017-07-23 21:34:56 +02:00
Florian Bruhin
3f04c94047
Fix error message with :spawn -d
...
(cherry picked from commit c951b71307e666cb6a02c1c0e9f54131ac61266a)
2017-07-23 21:34:50 +02:00
Florian Bruhin
00f456fd7f
Fix the "try again" button on error pages
...
Fixes #2810
(cherry picked from commit 5c367e7ab2 )
2017-07-13 17:28:06 +02:00
Jay Kamat
00d5aa6b22
Refactor tab_close_prompt_if_pinned
...
Now it lives in tabbedbrowser.py as method instead of a static function
(cherry picked from commit 7dfca60893 )
2017-07-13 11:03:28 +02:00
Jay Kamat
91c5eff2c9
Prompt when closing a pinned tab via the mouse
...
Closes #2761
(cherry picked from commit 4d1dbe11e8 )
2017-07-13 11:03:22 +02:00
Florian Bruhin
0d704043ec
Fix printing on macOS
...
Fixes #2798
(cherry picked from commit 53620ecce4 )
2017-07-12 07:43:18 +02:00
Florian Bruhin
b11abb028b
Remove unused import
...
(cherry picked from commit cfb169b5f0 )
2017-07-09 12:40:30 +02:00
Florian Bruhin
474e904409
Move OpenGL workaround import
...
OpenGL.GL gets imported in earlyinit already anyways, so we can move everything
there.
(cherry picked from commit 9e7f2e470f )
2017-07-09 11:57:48 +02:00
Florian Bruhin
cc05cb1c67
Recommend QT_XCB_FORCE_SOFTWARE_OPENGL
...
This won't disable OpenGL for stuff started from qutebrowser.
See #2368 .
(cherry picked from commit fcf5158258 )
2017-07-08 17:37:44 +02:00
Florian Bruhin
e10ce420ab
Improve earlyinit check for PyOpenGL
...
Importing OpenGL alone doesn't actually load libgl, it only checks that the
package is here. If libgl is missing, we'd later get an exception.
(cherry picked from commit b81474d2fd )
2017-07-08 17:34:41 +02:00
Florian Bruhin
5b5adc1a00
Fix :restart with private browsing mode
...
(cherry picked from commit 0de0bbfa71 )
2017-07-08 10:46:57 +02:00
Florian Bruhin
63fa412882
Fix build_release.py
2017-07-07 15:18:14 +02:00
Florian Bruhin
47ad8f212e
build_release: Fail GitHub uploads early
2017-07-07 14:28:44 +02:00
Florian Bruhin
7ac27fdd85
Add Gentoo instructions to backend warning
2017-07-06 00:40:58 +02:00
Florian Bruhin
d4baeb2ada
Merge branch 'pr/2747' into v0.11.x
2017-07-05 22:15:23 +02:00
Florian Bruhin
0304040cbb
Update docs
2017-07-05 22:14:01 +02:00
Florian Bruhin
a8120a23c4
Update comment for TabBarStyle
2017-07-05 22:13:24 +02:00
Florian Bruhin
eaecfe5882
build_release: Adjust Windows installer names
2017-07-04 22:27:17 +02:00
Florian Bruhin
725d4a44f0
build_release: Don't fail if hdiutil detach fails
2017-07-04 22:16:21 +02:00
Florian Bruhin
c424a745d8
build_release: Add comment about missing 3rdparty upgrade
2017-07-04 21:36:20 +02:00
Florian Bruhin
3cbe419cee
Update Python version for Windows in release checklist
2017-07-04 21:36:20 +02:00
Florian Bruhin
8f03a36862
build_release: Use correct path when copying dirs
2017-07-04 21:31:53 +02:00
Florian Bruhin
7ecdd6c1c5
build_release: Print some more information about copied files
2017-07-04 21:04:08 +02:00
Florian Bruhin
d96403fe93
build_release: Clean up before doing stuff
...
So we can inspect the results later.
2017-07-04 21:03:55 +02:00
Florian Bruhin
2df9508e44
Add PyQt5 OpenGL module to PyInstaller hiddenimports
2017-07-04 21:03:34 +02:00
Florian Bruhin
defe140d98
build_release: Run tox with -vv
2017-07-04 19:56:54 +02:00
Florian Bruhin
28410b8533
Release v0.11.0
2017-07-04 18:02:34 +02:00
Florian Bruhin
378914b327
Ignore another new geoclue error during tests
2017-07-04 18:01:24 +02:00
Florian Bruhin
023bf82638
Update for PyQt 5.9.1
2017-07-04 17:31:09 +02:00
Florian Bruhin
45b1285402
Merge pull request #2765 from jgkamat/jay/tab-crashes
...
Refactor set_tab_pinned to take a tab widget.
2017-07-04 17:24:10 +02:00
Florian Bruhin
629038632c
Add proxy support for QtWebEngine and Qt 5.7.1
...
This used to give us crashes in libproxy:
https://github.com/libproxy/libproxy/issues/45
https://bugreports.qt.io/browse/QTBUG-56852
However, trying again with Qt 5.7.1 on Debian and from PyPI, this doesn't happen
anymore, so it was probably something with how Archlinux handled things.
See #2082 , #2775 .
Reverts fd29528e4f
2017-07-03 10:29:28 +02:00