Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e8abaa2d1 | ||
|
|
9d83bfe5cd | ||
|
|
501e4dba9c | ||
|
|
de147b5a93 |
@@ -15,6 +15,15 @@ breaking changes (such as renamed commands) can happen in minor releases.
|
||||
// `Fixed` for any bug fixes.
|
||||
// `Security` to invite users to upgrade in case of vulnerabilities.
|
||||
|
||||
v1.1.1
|
||||
------
|
||||
|
||||
Fixed
|
||||
~~~~~
|
||||
|
||||
- The Makefile now actually works.
|
||||
- Fixed crashes with Qt 5.10 when closing a tab before it finished loading.
|
||||
|
||||
v1.1.0
|
||||
------
|
||||
|
||||
|
||||
@@ -21,5 +21,5 @@ install: doc/qutebrowser.1.html
|
||||
$(wildcard misc/userscripts/*)
|
||||
install -Dm755 -t "$(DESTDIR)/usr/share/qutebrowser/scripts/" \
|
||||
$(filter-out scripts/__init__.py scripts/__pycache__ scripts/dev \
|
||||
scripts/testbrowser_cpp scripts/asciidoc2html.py scripts/setupcommon.py \
|
||||
scripts/testbrowser scripts/asciidoc2html.py scripts/setupcommon.py \
|
||||
scripts/link_pyqt.py,$(wildcard scripts/*))
|
||||
|
||||
@@ -26,7 +26,7 @@ __copyright__ = "Copyright 2014-2017 Florian Bruhin (The Compiler)"
|
||||
__license__ = "GPL"
|
||||
__maintainer__ = __author__
|
||||
__email__ = "mail@qutebrowser.org"
|
||||
__version_info__ = (1, 1, 0)
|
||||
__version_info__ = (1, 1, 1)
|
||||
__version__ = '.'.join(str(e) for e in __version_info__)
|
||||
__description__ = "A keyboard-driven, vim-like browser based on PyQt5."
|
||||
|
||||
|
||||
@@ -749,6 +749,10 @@ class AbstractTab(QWidget):
|
||||
|
||||
@pyqtSlot(bool)
|
||||
def _on_load_finished(self, ok):
|
||||
if sip.isdeleted(self._widget):
|
||||
# https://github.com/qutebrowser/qutebrowser/issues/3498
|
||||
return
|
||||
|
||||
sess_manager = objreg.get('session-manager')
|
||||
sess_manager.save_autosave()
|
||||
|
||||
|
||||
@@ -597,6 +597,9 @@ class WebEngineTab(browsertab.AbstractTab):
|
||||
|
||||
@pyqtSlot()
|
||||
def _restore_zoom(self):
|
||||
if sip.isdeleted(self._widget):
|
||||
# https://github.com/qutebrowser/qutebrowser/issues/3498
|
||||
return
|
||||
if self._saved_zoom is None:
|
||||
return
|
||||
self.zoom.set_factor(self._saved_zoom)
|
||||
|
||||
@@ -328,6 +328,14 @@ def build_sdist():
|
||||
return artifacts
|
||||
|
||||
|
||||
def test_makefile():
|
||||
"""Make sure the Makefile works correctly."""
|
||||
utils.print_title("Testing makefile")
|
||||
with tempfile.TemporaryDirectory() as tmpdir:
|
||||
subprocess.run(['make', '-f', 'misc/Makefile',
|
||||
'DESTDIR={}'.format(tmpdir), 'install'], check=True)
|
||||
|
||||
|
||||
def read_github_token():
|
||||
"""Read the GitHub API token from disk."""
|
||||
token_file = os.path.join(os.path.expanduser('~'), '.gh_token')
|
||||
@@ -403,6 +411,7 @@ def main():
|
||||
elif sys.platform == 'darwin':
|
||||
artifacts = build_mac()
|
||||
else:
|
||||
test_makefile()
|
||||
artifacts = build_sdist()
|
||||
upload_to_pypi = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user