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 <>
Pushed By:	yhardy
Date:		Sun Mar 11 14:34:08 2018 +0200
Changeset:	d5a38b68141b5dd3824978cb461db2317f41179a

Modified Files:

Log Message:
qutebrowser: update to qutebrowser-1.2.0

Change Log



- Initial implementation of per-domain settings:
  * `:set` and `:config-cycle` now have a `-u`/`--pattern` argument taking a[URL match pattern]
    for supported settings.
  * `config.set` in `` now takes a third argument which is the pattern.
  * New `with config.pattern('...') as p:` context manager for `` 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.


- 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 ``, 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 `` script now only imports URL schemes qutebrowser can
- 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}}`.


- 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
- `: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.


- `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



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


- 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:;a=commitdiff;h=d5a38b68141b5dd3824978cb461db2317f41179a

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

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

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
-GITHUB_TAG=	v1.1.1
+GITHUB_TAG=	v1.2.0
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
@@ -261,6 +258,8 @@ ${PYSITELIB}/qutebrowser/config/configinit.pyo
@@ -272,10 +271,12 @@ ${PYSITELIB}/qutebrowser/config/
@@ -286,11 +287,12 @@ ${PYSITELIB}/qutebrowser/html/no_pdfjs.html
@@ -303,8 +305,8 @@ ${PYSITELIB}/qutebrowser/keyinput/__init__.pyo
@@ -312,7 +314,7 @@ ${PYSITELIB}/qutebrowser/keyinput/modeman.pyc
@@ -467,6 +469,8 @@ ${PYSITELIB}/qutebrowser/utils/qtutils.pyo
@@ -486,6 +490,7 @@ ${PYSITELIB}/qutebrowser/utils/
diff --git a/qutebrowser/distinfo b/qutebrowser/distinfo
index fabb54624e..b6d18e836f 100644
--- a/qutebrowser/distinfo
+++ b/qutebrowser/distinfo
@@ -1,6 +1,6 @@
-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