pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

qutebrowser: update to qutebrowser-1.2.0



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sun Mar 11 14:34:08 2018 +0200
Changeset:	d5a38b68141b5dd3824978cb461db2317f41179a

Modified Files:
	qutebrowser/Makefile
	qutebrowser/PLIST
	qutebrowser/distinfo

Log Message:
qutebrowser: update to qutebrowser-1.2.0

Change Log
===========

v1.2.0
------

Added
~~~~~

- Initial implementation of per-domain settings:
  * `:set` and `:config-cycle` now have a `-u`/`--pattern` argument taking a
    https://developer.chrome.com/extensions/match_patterns[URL match pattern]
    for supported settings.
  * `config.set` in `config.py` now takes a third argument which is the pattern.
  * New `with config.pattern('...') as p:` context manager for `config.py` to
    use the shorthand syntax with a pattern.
  * New `tsh` keybinding to toggle scripts for the current host. With a capital
    `S`, the toggle is saved. With a capital `H`, subdomains are included. With
    `u` instead of `h`, the exact current URL is used.
  * New `tph` keybinding to toggle plugins, with the same additional binding
    described above.
- New QtWebEngine features:
  * Caret/visual mode
  * Authentication via ~/.netrc
  * Retrying downloads with Qt 5.10 or newer
  * Hinting and other features inside same-origin frames
- New flags for existing commands:
  * `:session-load` has a new `--delete` flag which deletes the
    session after loading it.
  * New `--no-last` flag for `:tab-focus` to not focus the last tab when focusing
    the currently focused one.
  * New `--edit` flag for `:view-source` to open the source in an external editor.
  * New `--select` flag for `:follow-hint` which acts like the given string was entered but doesn't necessary follow the hint.
- New special pages:
  * `qute://bindings` (opened via `:bind`) which shows all keybindings.
  * `qute://tabs` (opened via `:buffer`) which lists all tabs.
- New settings:
  * `statusbar.widgets` to configure which widgets should be shown in which
    order in the statusbar.
  * `tabs.mode_on_change` which replaces `tabs.persist_mode_on_change`. It can
    now be set to `restore` which remembers input modes (input/passthrough)
    per tab.
  * `input.insert_mode.auto_enter` which makes it possible to disable entering
    insert mode automatically when an editable element was clicked. Together
    with `input.forward_unbound_keys`, this should allow for emacs-like
    "modeless" keybindings.
- New `:prompt-yank` command (bound to `Alt-y` by default) to yank URLs
  referenced in prompts.
- The `hostblock_blame` script which was removed in v1.0 was updated for the new
  config and re-added.
- New `cycle-inputs.js` script in `scripts/` which can be used with `:jseval -f`
  to cycle through inputs.

Changed
~~~~~~~

- Complete refactoring of key input handling, with various effects:
  * emacs-like keychains such as `<Ctrl-X><Ctrl-C>` can now be bound.
  * Key chains can now be bound in any mode (this allows binding unused keys in
    hint mode).
  * Yes/no prompts don't use keybindings from the `prompt` section anymore, they
    have their own `yesno` section instead.
  * Trying to bind invalid keys now shows an error.
  * The `bindings.default` setting can now only be set in a `config.py`, and
    existing values in `autoconfig.yml` are ignored.
- Improvements for GreaseMonkey support:
  * `@include` and `@exclude` now support regex matches. With QtWebEngine and Qt
    5.8 and newer, Qt handles the matching, but similar functionality will be
    added in Qt 5.11.
  * Support for `@requires`
  * Support for the GreaseMonkey 4.0 API
- The sqlite history now uses write-ahead logging which should be
  a performance and stability improvement.
- When an editor is spawned with `:open-editor` and `:config-edit`, the changes
  are now applied as soon as the file is saved in the editor.
- The `hist_importer.py` script now only imports URL schemes qutebrowser can
  handle.
- Deleting a prefix (`:`, `/` or `?`) via backspace now leaves command mode.
- Angular 1 elements and `<summary>`/`<details>` now get hints assigned.
- `:tab-only` with pinned tabs now still closes unpinned tabs.
- The `url.incdec_segments` option now also can take `port` as possible segment.
- QtWebEngine: `:view-source` now uses Chromium's `view-source:` scheme.
- Tabs now show their full title as tooltip.
- When there are multiple unknown keys in a autoconfig.yml, they now all get
  reported in one error.
- More performance improvements when opening/closing many tabs.
- The `:version` page now has a button to pastebin the information.
- Replacements like `{url}` can now be escaped as `{{url}}`.

Fixed
~~~~~

- QtWebEngine bugfixes:
  * Improved fullscreen handling with Qt 5.10.
  * Hinting and scrolling now works properly on special `view-source:` pages.
  * Scroll positions are now restored correctly from sessions.
  * `:follow-selected` should now work in more cases with Qt > 5.10.
  * Incremental search now flickers less and doesn't move to the second result
    when pressing Enter.
  * Keys like `Ctrl-V` or `Shift-Insert` are now correctly handled/filtered with
    Qt 5.10.
  * Fixed hangs/segfaults on exit with Qt 5.10.1.
  * Fixed favicons sometimes getting cleared with Qt 5.10.
  * Qt download objects are now cleaned up properly when a download is removed.
  * JavaScript messages are now not double-HTML escaped anymore on Qt < 5.11
- QtWebKit bugfixes:
  * Fixed GreaseMonkey-related crashes.
  * `:view-source` now displays a valid URL.
- URLs containing ampersands and other special chars are now shown correctly
  when filtering them in the completion.
- `:bookmark-add "" foo` can now be used to save the current URL with a custom
  title.
- `:spawn -o` now waits until the process has finished before trying to show the
  output. Previously, it incorrectly showed the previous output immediately.
- Suspended pages now should always load the correct page when being un-suspended.
- Exception types are now shown properly with `:config-source` and `:config-edit`.
- When using `:bookmark-add --toggle`, bookmarks are now saved properly.
- Crash when opening an invalid URL from an application on macOS.
- Crash with an empty `completion.timestamp_format`.
- Crash when `completion.min_chars` is set in some cases.
- HTML/JS resource files are now read into RAM on start to avoid crashes when
  changing qutebrowser versions while it's open.
- Setting `bindings.key_mappings` to an empty value is now allowed.
- Bindings to an empty commands are now ignored rather than crashing.

Removed
~~~~~~~

- `QUTE_SELECTED_HTML` is now not set for userscripts anymore except when called
  via hints.
- The `qutebrowser_viewsource` userscript has been removed as
  `:view-source --edit` can now be used.
- The `tabs.persist_mode_on_change` setting has been removed and replaced by
  `tabs.mode_on_change`.

v1.1.2
------

Changed
~~~~~~~

- Windows/macOS releases now bundle Qt 5.10.1 which includes security fixes from
  Chromium up to version 64.0.3282.140.

Fixed
~~~~~

- QtWebEngine: Crash with Qt 5.10.1 when using :undo on some tabs.
- Compatibility with Python 3.7

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d5a38b68141b5dd3824978cb461db2317f41179a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 qutebrowser/Makefile |  4 ++--
 qutebrowser/PLIST    | 19 ++++++++++++-------
 qutebrowser/distinfo |  8 ++++----
 3 files changed, 18 insertions(+), 13 deletions(-)

diffs:
diff --git a/qutebrowser/Makefile b/qutebrowser/Makefile
index 1b665e6337..151a83c55e 100644
--- a/qutebrowser/Makefile
+++ b/qutebrowser/Makefile
@@ -1,9 +1,9 @@
 # $NetBSD$
 
-DISTNAME=	qutebrowser-1.1.1
+DISTNAME=	qutebrowser-1.2.0
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_GITHUB:=qutebrowser/}
-GITHUB_TAG=	v1.1.1
+GITHUB_TAG=	v1.2.0
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://qutebrowser.org/
diff --git a/qutebrowser/PLIST b/qutebrowser/PLIST
index 6cb333ff45..b4965e2cc4 100644
--- a/qutebrowser/PLIST
+++ b/qutebrowser/PLIST
@@ -167,14 +167,11 @@ ${PYSITELIB}/qutebrowser/browser/webkit/network/networkmanager.pyo
 ${PYSITELIB}/qutebrowser/browser/webkit/network/networkmanager.pyc
 ${PYSITELIB}/qutebrowser/browser/webkit/network/networkreply.pyo
 ${PYSITELIB}/qutebrowser/browser/webkit/network/networkreply.pyc
-${PYSITELIB}/qutebrowser/browser/webkit/network/schemehandler.pyo
-${PYSITELIB}/qutebrowser/browser/webkit/network/schemehandler.pyc
 ${PYSITELIB}/qutebrowser/browser/webkit/network/webkitqutescheme.pyo
 ${PYSITELIB}/qutebrowser/browser/webkit/network/webkitqutescheme.pyc
 ${PYSITELIB}/qutebrowser/browser/webkit/network/filescheme.py
 ${PYSITELIB}/qutebrowser/browser/webkit/network/networkmanager.py
 ${PYSITELIB}/qutebrowser/browser/webkit/network/networkreply.py
-${PYSITELIB}/qutebrowser/browser/webkit/network/schemehandler.py
 ${PYSITELIB}/qutebrowser/browser/webkit/network/webkitqutescheme.py
 ${PYSITELIB}/qutebrowser/browser/webkit/rfc6266.py
 ${PYSITELIB}/qutebrowser/browser/webkit/tabhistory.py
@@ -261,6 +258,8 @@ ${PYSITELIB}/qutebrowser/config/configinit.pyo
 ${PYSITELIB}/qutebrowser/config/configinit.pyc
 ${PYSITELIB}/qutebrowser/config/configtypes.pyo
 ${PYSITELIB}/qutebrowser/config/configtypes.pyc
+${PYSITELIB}/qutebrowser/config/configutils.pyo
+${PYSITELIB}/qutebrowser/config/configutils.pyc
 ${PYSITELIB}/qutebrowser/config/websettings.pyo
 ${PYSITELIB}/qutebrowser/config/websettings.pyc
 ${PYSITELIB}/qutebrowser/config/config.py
@@ -272,10 +271,12 @@ ${PYSITELIB}/qutebrowser/config/configexc.py
 ${PYSITELIB}/qutebrowser/config/configfiles.py
 ${PYSITELIB}/qutebrowser/config/configinit.py
 ${PYSITELIB}/qutebrowser/config/configtypes.py
+${PYSITELIB}/qutebrowser/config/configutils.py
 ${PYSITELIB}/qutebrowser/config/websettings.py
 ${PYSITELIB}/qutebrowser/git-commit-id
 ${PYSITELIB}/qutebrowser/html/back.html
 ${PYSITELIB}/qutebrowser/html/base.html
+${PYSITELIB}/qutebrowser/html/bindings.html
 ${PYSITELIB}/qutebrowser/html/bookmarks.html
 ${PYSITELIB}/qutebrowser/html/dirbrowser.html
 ${PYSITELIB}/qutebrowser/html/error.html
@@ -286,11 +287,12 @@ ${PYSITELIB}/qutebrowser/html/no_pdfjs.html
 ${PYSITELIB}/qutebrowser/html/pre.html
 ${PYSITELIB}/qutebrowser/html/settings.html
 ${PYSITELIB}/qutebrowser/html/styled.html
-${PYSITELIB}/qutebrowser/html/undef_error.html
+${PYSITELIB}/qutebrowser/html/tabs.html
 ${PYSITELIB}/qutebrowser/html/version.html
 ${PYSITELIB}/qutebrowser/img/broken_qutebrowser_logo.png
 ${PYSITELIB}/qutebrowser/img/file.svg
 ${PYSITELIB}/qutebrowser/img/folder.svg
+${PYSITELIB}/qutebrowser/javascript/caret.js
 ${PYSITELIB}/qutebrowser/javascript/greasemonkey_wrapper.js
 ${PYSITELIB}/qutebrowser/javascript/history.js
 ${PYSITELIB}/qutebrowser/javascript/pac_utils.js
@@ -303,8 +305,8 @@ ${PYSITELIB}/qutebrowser/keyinput/__init__.pyo
 ${PYSITELIB}/qutebrowser/keyinput/__init__.pyc
 ${PYSITELIB}/qutebrowser/keyinput/basekeyparser.pyo
 ${PYSITELIB}/qutebrowser/keyinput/basekeyparser.pyc
-${PYSITELIB}/qutebrowser/keyinput/keyparser.pyo
-${PYSITELIB}/qutebrowser/keyinput/keyparser.pyc
+${PYSITELIB}/qutebrowser/keyinput/keyutils.pyo
+${PYSITELIB}/qutebrowser/keyinput/keyutils.pyc
 ${PYSITELIB}/qutebrowser/keyinput/macros.pyo
 ${PYSITELIB}/qutebrowser/keyinput/macros.pyc
 ${PYSITELIB}/qutebrowser/keyinput/modeman.pyo
@@ -312,7 +314,7 @@ ${PYSITELIB}/qutebrowser/keyinput/modeman.pyc
 ${PYSITELIB}/qutebrowser/keyinput/modeparsers.pyo
 ${PYSITELIB}/qutebrowser/keyinput/modeparsers.pyc
 ${PYSITELIB}/qutebrowser/keyinput/basekeyparser.py
-${PYSITELIB}/qutebrowser/keyinput/keyparser.py
+${PYSITELIB}/qutebrowser/keyinput/keyutils.py
 ${PYSITELIB}/qutebrowser/keyinput/macros.py
 ${PYSITELIB}/qutebrowser/keyinput/modeman.py
 ${PYSITELIB}/qutebrowser/keyinput/modeparsers.py
@@ -467,6 +469,8 @@ ${PYSITELIB}/qutebrowser/utils/qtutils.pyo
 ${PYSITELIB}/qutebrowser/utils/qtutils.pyc
 ${PYSITELIB}/qutebrowser/utils/standarddir.pyo
 ${PYSITELIB}/qutebrowser/utils/standarddir.pyc
+${PYSITELIB}/qutebrowser/utils/urlmatch.pyo
+${PYSITELIB}/qutebrowser/utils/urlmatch.pyc
 ${PYSITELIB}/qutebrowser/utils/urlutils.pyo
 ${PYSITELIB}/qutebrowser/utils/urlutils.pyc
 ${PYSITELIB}/qutebrowser/utils/usertypes.pyo
@@ -486,6 +490,7 @@ ${PYSITELIB}/qutebrowser/utils/objreg.py
 ${PYSITELIB}/qutebrowser/utils/qtutils.py
 ${PYSITELIB}/qutebrowser/utils/standarddir.py
 ${PYSITELIB}/qutebrowser/utils/testfile
+${PYSITELIB}/qutebrowser/utils/urlmatch.py
 ${PYSITELIB}/qutebrowser/utils/urlutils.py
 ${PYSITELIB}/qutebrowser/utils/usertypes.py
 ${PYSITELIB}/qutebrowser/utils/utils.py
diff --git a/qutebrowser/distinfo b/qutebrowser/distinfo
index fabb54624e..b6d18e836f 100644
--- a/qutebrowser/distinfo
+++ b/qutebrowser/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (qutebrowser-1.1.1.tar.gz) = 35001873a4e220e9d7443ccc96209e4c8f75cc5f
-RMD160 (qutebrowser-1.1.1.tar.gz) = eb9c5641f358677aad034b56cce1f493364ee088
-SHA512 (qutebrowser-1.1.1.tar.gz) = a836e91d54240b31edede3ad691b02112fbf48608131ed8c84dffbc20b33bea6e32f47e03bafcd4108dda561c04ed50667d97b4539e4f9fb211a9f0151c3d39f
-Size (qutebrowser-1.1.1.tar.gz) = 2900176 bytes
+SHA1 (qutebrowser-1.2.0.tar.gz) = feb682d67659e6eb6e735158c4a969641ee1a7d2
+RMD160 (qutebrowser-1.2.0.tar.gz) = 12581b780b75fd27c09370e062b70499ef415f80
+SHA512 (qutebrowser-1.2.0.tar.gz) = e789d4b6dd90620e6db7bae77617c85a4c3cb6a73c7dc90db14d6a56bbbbdccce66df76c4cecdac080a9697d8b09ddc24f23bbaf57f602f1b9c2074980299a52
+Size (qutebrowser-1.2.0.tar.gz) = 3065630 bytes


Home | Main Index | Thread Index | Old Index