From me at the-compiler.org Mon Mar 2 13:39:36 2015 From: me at the-compiler.org (Florian Bruhin) Date: Mon, 2 Mar 2015 13:39:36 +0100 Subject: [PATCH] rocker-gestures In-Reply-To: <20150228182426.18080.87540@kettle> References: <20150228182426.18080.87540@kettle> Message-ID: <20150302123936.GZ11094@tonks> Hi, First of all, sorry for the late answer! * Gregor Pohl [2015-02-28 19:24:36 +0100]: > Attached is a patch adding a config option "input->rocker-gestures", > which disables the context menu and replaces it with Opera-like > rocker gestures. > > Specifically, holding the right mouse button and pressing the left > button will go back in history. Holding the left mouse button and > pressing the right button moves forward (It is very easy to get used > to this. I can't live without it anymore, hence the patch). > > I'm not sure if there is any interest in merging this, but I thought > I'd at least share the patch. I'd be okay with merging this - though I think the code can be simplified a bit: A QMouseEvent has a button() and a buttons() method: http://doc.qt.io/qt-5/qmouseevent.html#button Returns the button that caused the event. http://doc.qt.io/qt-5/qmouseevent.html#buttons Returns the button state when the event was generated. [...] For mouse press and double click events this includes the button that caused the event. Couldn't you just check if button() is Qt.LeftButton and buttons() is Qt.LeftButton | Qt.RightButton, instead of saving the button state yourself? Also there are some other issues and nitpicks - though for the minor stuff, if you prefer to not deal with my perfectionism that's perfectly fine, I can also do those changes for you :) > diff --git a/qutebrowser/browser/webview.py b/qutebrowser/browser/webview.py > index 13b2cbb..644e349 100644 > --- a/qutebrowser/browser/webview.py > +++ b/qutebrowser/browser/webview.py > @@ -42,6 +42,7 @@ LoadStatus = usertypes.enum('LoadStatus', ['none', 'success', 'error', 'warn', > tab_id_gen = itertools.count(0) > > > + Remove that blank line. > @@ -86,6 +87,10 @@ class WebView(QWebView): > url_text_changed = pyqtSignal(str) > shutting_down = pyqtSignal() > > + #Mouse button states for rocker gestures > + left_pressed = False > + right_pressed = False > + If those are still needed, they should be initialized in __init__, not here. Otherwise they'd be class rather than instance variables, and all instances of the class would share them. > @@ -178,6 +185,12 @@ class WebView(QWebView): > 100) > self._default_zoom_changed = False > self.init_neighborlist() > + if section == 'input' and option == 'rocker-gestures': > + if config.get('input','rocker-gestures'): Add a space after the comma here. > + self.setContextMenuPolicy(Qt.PreventContextMenu) > + else: > + self.setContextMenuPolicy(Qt.DefaultContextMenu) > + > > def init_neighborlist(self): Only one newline between methods, so remove the added newline here. > @@ -497,7 +510,15 @@ class WebView(QWebView): > Return: > The superclass return value. > """ > - if e.button() in (Qt.XButton1, Qt.XButton2): > + if e.button() == Qt.LeftButton: > + self.left_pressed = True > + elif e.button() == Qt.RightButton: > + self.right_pressed = True > + > + if e.button() in (Qt.XButton1, Qt.XButton2) or ( > + e.button() in (Qt.LeftButton, Qt.RightButton) > + and config.get('input', 'rocker-gestures') > + and self.right_pressed and self.left_pressed): I'd prefer this to be written like this: is_rocker_gesture = (e.button() in (Qt.LeftButton, Qt.RightButton) and config.get('input', 'rocker-gestures') and self.right_pressed and self.left_pressed) if e.button() in (Qt.XButton1, Qt.XButton2) or is_rocker_gesture: Otherwise this if gets rather long to grasp. Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From me at the-compiler.org Mon Mar 2 14:57:17 2015 From: me at the-compiler.org (Florian Bruhin) Date: Mon, 2 Mar 2015 14:57:17 +0100 Subject: Qt 5.4.1 released! Message-ID: <20150302135717.GA11094@tonks> Hi! Last Tuesday, Qt 5.4.1 was released upstream: [1] Yesterday, Archlinux updated their packages to 5.4.1, and today I rebuilt the debug packages[2]. This release also fixes some bugs related to qutebrowser: - High number of wakeups when unused due to infinite "poll" https://github.com/The-Compiler/qutebrowser/issues/272 https://bugreports.qt.io/browse/QTBUG-39475 https://codereview.qt-project.org/#/c/100543/ - QWebView is leaking memory on image reload https://bugreports.qt.io/browse/QTBUG-44023 https://codereview.qt-project.org/#/c/104151/ - Regression from 5.3.2 : WebGL crashes the QtWebKit https://bugreports.qt.io/browse/QTBUG-43831 https://codereview.qt-project.org/#/c/103593/ - Youtube HTML5 video flashes in inverted colors once per second https://github.com/The-Compiler/qutebrowser/issues/351 https://bugreports.qt.io/browse/QTBUG-43520 https://codereview.qt-project.org/#/c/102971/ - System sound reset to 100% after YouTube loads a new video https://github.com/The-Compiler/qutebrowser/issues/356 https://bugreports.qt.io/browse/QTBUG-43479 https://codereview.qt-project.org/#/c/102899/ https://bugs.webkit.org/show_bug.cgi?id=118974 - Cannot copy/ paste data from owncloud to Qt-applications https://bugreports.qt.io/browse/QTBUG-43149 https://codereview.qt-project.org/#/c/101729/ - Warning "content-type missing in HTTP POST, defaulting to application/x-www-form-urlencoded" when loading a webpage https://bugreports.qt.io/browse/QTBUG-42479 https://codereview.qt-project.org/#/c/99686/ - PATCH and DELETE request support https://github.com/The-Compiler/qutebrowser/issues/134 https://bugreports.qt.io/browse/QTBUG-42456 https://codereview.qt-project.org/#/c/99687/ Florian [1] http://blog.qt.io/blog/2015/02/24/qt-5-4-1-released/ [2] https://github.com/The-Compiler/qutebrowser/blob/master/doc/stacktrace.asciidoc#archlinux -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From me at the-compiler.org Tue Mar 3 06:53:28 2015 From: me at the-compiler.org (Florian Bruhin) Date: Tue, 3 Mar 2015 06:53:28 +0100 Subject: This week's qutebrowser updates Message-ID: <20150303055328.GE11094@tonks> Heyho, and another week passed already, of course not without some qutebrowser updates! ;) There's also something still work in progress: - Making the web history a lot more efficient (faster and memory consumption). Overview -------- Excluding merges, 2 authors have pushed 34 commits to master and 34 commits to all branches. On master, 44 files have changed and there have been 823 additions and 393 deletions. 1 Pull request merged by 1 person 10 Issues closed by 2 people 4 Issues created by 3 people https://github.com/The-Compiler/qutebrowser/pulse Features -------- - Add option to set minimum number of chars in hints Thanks to Ram-Z for this contribution! - Make it possible to use :open -[twb] without url. - Add input -> partial-timeout option to clear partial keystrings. Improvements ------------ - Display more details in earlyinit import error messages. - Print stacktrace to log on Qt warnings - Move cursor to end of textboxes when hinting. - Disable insecure SSL ciphers (< 128bit) for Qt 5.2 (Ubuntu Trusty). - Disable completion for debug console. (it never really worked anyways) - Don't start searches on invalid URLs for quickmarks/startpage. Bugfixes -------- - Fix removing of partial downloads when a download is cancelled via context menu. - Fix RuntimeError when navigating away from a page using geolocation/notifications. - Allow font names with integers in them. - Fix hinting in new tab/window when javascript is used to load the link. - Log rfc6266 UnicodeDecodeError to correct logger. - Fix buildbot badge in README Under the hood -------------- - Clean up handling of standard dirs. - Restore sys.std* in utils.fake_io on exceptions. - Refactor how click/hint open targets are handled. - Refactor the keyboard input parsers. - Various unittest fixes and improvements. Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From me at the-compiler.org Tue Mar 3 13:01:44 2015 From: me at the-compiler.org (Florian Bruhin) Date: Tue, 3 Mar 2015 13:01:44 +0100 Subject: [PATCH] rocker-gestures In-Reply-To: <20150303114905.14013.35745@kettle> References: <20150228182426.18080.87540@kettle> <20150302123936.GZ11094@tonks> <20150303114905.14013.35745@kettle> Message-ID: <20150303120143.GI11094@tonks> Hi Gregor, * Gregor Pohl [2015-03-03 12:49:25 +0100]: > Thank you for your feedback! I have adopted the changes you mentioned. Thanks a lot for your contribution! Merged as c8c095d: https://github.com/The-Compiler/qutebrowser/commit/c8c095d499eac9e117561a54b5291a57b700b5c6 Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From me at the-compiler.org Mon Mar 9 22:49:10 2015 From: me at the-compiler.org (Florian Bruhin) Date: Mon, 9 Mar 2015 22:49:10 +0100 Subject: This week's qutebrowser updates Message-ID: <20150309214910.GI11094@tonks> Hi! Another week is over, and this one definitely is full of qutebrowser updates! Overview -------- Excluding merges, 4 authors have pushed 52 commits to master and 56 commits to all branches. On master, 34 files have changed and there have been 1,016 additions and 321 deletions. 1 Pull request merged by 1 person 1 Pull request proposed by 1 person 10 Issues closed by 2 people 3 Issues created by 2 people https://github.com/The-Compiler/qutebrowser/pulse Features -------- - Add Opera-like mouse rocker gestures. This adds a new setting input -> rocker-gestures which enables going back/forward in history by holding the left and pressing the right mouse button, and vice versa. Thanks to Gregor Pohl for this contribution! - Make it configurable what to show in the completion for downloads. This adds a new setting completion -> download-path-suggestion (path/filename/both), and many related fixes. Thanks to Joel Torstensson for this contribution! Improvements ------------ - Various history performance improvements. - Adjust prompt size based on its contents (similiar to the command prompt). Bugfixes -------- - Fix exceptions when getting signals for deleted tabs. - Fix exception when using :tab-clone with tabs-are-windows=true - Fix exception when using :back/:forward -w. - Fix links opening in background after background-hinting. - Fix warning when closing qutebrowser via Cmd+Q on OS X - Hide Qt warning when aborting a download with errors. - run_checks: Fix running of pyroma/check-manifest, fix logging. - Fix retrying of downloads which were started in a now closed tab. - Fix race condition/exception when a page gets deleted after clicking an unknown element. - pylint open-without-encoding check: Fix false-positives with non-const arguments. Under the hood -------------- - Added coverage.py (test coverage reports) to the buildbot: http://www.qutebrowser.org/coverage/archlinux/338/index.html Curently it's at 42%, though most of that is because GUI code currently doesn't get tested automatically. - Various small doc updates. - Various small improvements to logging. - Various improvements to the tests (which finally run without segfaulting sometimes on Windows!) - Make sure a command hasn't more completions than arguments. - Refactoring/renaming of LineConfigParser. Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From me at the-compiler.org Sat Mar 14 23:11:47 2015 From: me at the-compiler.org (Florian Bruhin) Date: Sat, 14 Mar 2015 23:11:47 +0100 Subject: Testers needed for history completion Message-ID: <20150314221147.GT11094@tonks> Hi! @toofar on github and I started working on history completion, and it seems to work pretty well by now! However I want some feedback (especially on performance) before merging this. Can you please test the histcomplete branch? When you got the git repo, you can simply do 'git pull' and 'git checkout histcomplete'. Then check how using 'o' feels, and if the performance is acceptable. If it is, :set completion web-history-max-items -1 then restart qutebrowser and test again. Things which potentially could be sluggish: - Opening the completion the first time with 'o'. - Using 'o' after the first time. - Using 'o' and typing (without using the completion) - Scrolling the completion (with tab and scrollbar/mousewheel) Also, it'd be good to know what this says for you: sort ~/.local/share/qutebrowser/history | cut -d' ' -f2 | uniq | wc -l See https://github.com/The-Compiler/qutebrowser/pull/547 for discussions. Thanks! Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From rikuah1n at gmail.com Sun Mar 15 11:19:40 2015 From: rikuah1n at gmail.com (Riku Ahonen) Date: Sun, 15 Mar 2015 12:19:40 +0200 Subject: Testers needed for history completion In-Reply-To: <20150314221147.GT11094@tonks> References: <20150314221147.GT11094@tonks> Message-ID: <55055CBC.8000607@gmail.com> Hi, here are some results about history testing: - sort command returned value 2965 - Opening the completion the first time with 'o' took noticeably longer than longer than without history completion but it was still quite fast. I'd say it took around half a second. - Using 'o' after the first time was not instant but I think it was a bit faster than using it for the first time. Very acceptable performance in my opinion. - Using 'o' and typing (without using the completion) I can notice difference between starting with letter 'a' and 'z' for example. 'a' in my case has more filtering to do so it takes a bit longer than 'z' for example. After completing with those letters after the first time delay seems to get a lot smaller. When filtering after the first letters it seems to get nearly instant. Longest delays are very small so I think performance is good. When holding backspace I can notice lag. - Scrolling the completion (with tab and scrollbar/mousewheel) seems to lag. Lag is most noticeable when scrolling with full speed with any of scrolling methods listed. Usable feature but leaves room for performance improvement. I think that pressing tab for multiple times is most common use case and that works well without lagging. - With "set: completion web-history-max-items -1" performance seems to be same. I tested on Intel Sandy Bridge dual core laptop with two threads per core @2.3Ghz (Intel i5-2410M) with Arch Linux. I hope this is useful help. If needed I could test with a Intel Haswell Chromebook with Arch Linux too. -Riku > Hi! > > @toofar on github and I started working on history completion, and it > seems to work pretty well by now! However I want some feedback > (especially on performance) before merging this. > > Can you please test the histcomplete branch? When you got the git > repo, you can simply do 'git pull' and 'git checkout histcomplete'. > > Then check how using 'o' feels, and if the performance is acceptable. > If it is, :set completion web-history-max-items -1 then restart > qutebrowser and test again. > > Things which potentially could be sluggish: > > - Opening the completion the first time with 'o'. > - Using 'o' after the first time. > - Using 'o' and typing (without using the completion) > - Scrolling the completion (with tab and scrollbar/mousewheel) > > Also, it'd be good to know what this says for you: > > sort ~/.local/share/qutebrowser/history | cut -d' ' -f2 | uniq | wc -l > > See https://github.com/The-Compiler/qutebrowser/pull/547 for > discussions. > > Thanks! > > Florian > From me at the-compiler.org Tue Mar 17 07:14:19 2015 From: me at the-compiler.org (Florian Bruhin) Date: Tue, 17 Mar 2015 07:14:19 +0100 Subject: This week's qutebrowser updates Message-ID: <20150317061419.GC10871@tonks> Hi, Another week with some highlights and lots of smaller changes! :) Overview -------- Excluding merges, 4 authors have pushed 67 commits to master and 72 commits to all branches. On master, 63 files have changed and there have been 1,555 additions and 641 deletions. 4 Pull requests merged by 4 people 13 Issues closed by 1 person 8 Issues created by 2 people https://github.com/The-Compiler/qutebrowser/pulse Features -------- - History completion! Definitely a much-requested feature - now @toofar/Jimmy started implementing it and I did some improvements on top of that. Thanks! This adds some new options: completion -> timestamp-format: The format used to display the history timestamps. completion -> web-history-max-items: How many history items to show in the completion. completion -> cmd-history-max-items: Renamed from history-length. Improvements ------------ - If an SSL error is raised multiple times with the same error/certificate/host/scheme/port, the user is only asked once. - Add a --rapid option to :hint. The rapid/rapid-win targets are now deprecated, and --rapid can be used as well with run/hover/userscript/spawn. - Add a hints -> scatter option, which (when turned off) distributes the hints sequentially (like dwb) instead of scattering their positions (like Vimium). - Add an -f argument to :bind to overwrite the old binding. - Add some documentation about how to write userscripts: https://github.com/The-Compiler/qutebrowser/blob/master/doc/userscripts.asciidoc - Various performance improvements for the completion. - Handle things like "Foo::Bar" as search term, not as URL. Thanks to Patric Schmitz for this contribution! - Remove default search engines so things like ":open ddg foo" or ":open google sucks" works as expected. Thanks to error800 for this contribution! - Use alternating row colors in copletion. This adds a new colors -> completion.alternate-bg option. - Ensure the user only sets a family (no size/weight) for the fonts -> web-family-* settings. - Various performance improvements when qutebrowser is idle. When unused qutebrowser now shouldn't waste any CPU cycles anymore. Except on Windows, where there still has to be a timer polling for signals, because... Windows. Bugfixes -------- - Fix an exception which occured when getting signals for already deleted tabs. - Force saving when using :save even with auto-save-config turned off. - Highlight text case-insensitively in completon. - Scroll completion to top when showing it. - Fix fonts not being anti-aliased (or possibly wrong in other ways) under some circumstances. - Fix package names for manual compilation in stacktrace.asciidoc. - Ignore empty lines in quickmarks/history. Under the hood -------------- - Refactor qutebrowser.config.websettings. - Various small fixes for tests. Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From me at the-compiler.org Thu Mar 19 07:52:47 2015 From: me at the-compiler.org (Florian Bruhin) Date: Thu, 19 Mar 2015 07:52:47 +0100 Subject: qutebrowser v0.1.4 released! Message-ID: <20150319065247.GS10871@tonks> Hi, I just released v0.1.4 which adds workarounds for two security/privacy-related Qt issues and backports some other bugs. Windows builds will be delayed a bit (aka. my Windows VM wants to install updates), but everything else is uploaded. Privacy-related Qt bug ---------------------- !! TL;DR: Please update and delete your !! ~/.cache/qutebrowser/WebpageIcons.db if you used private browsing !! mode for stuff you don't want on your hard disk. Back in January, a pull request was opened[1], which apparently fixed an issue with URLs getting written to the favicon in private browsing mode for the reporter. I was unable to reproduce the exact behaviour the reporter was seeing and the proposed fix was incomplete, which is why I decided to look at it again later. I was reminded of that bug when it got big in the media[2] the exact same bug is present in Safari. As this sounded awfully similiar, I decided to investigate. I'm deeply sorry for not taking action earlier and dismissing this too fast - I misjudged the scope of this issue, and this definitely isn't how I want to handle privacy-relevant bugs. After coordinating with Qt's security contact I ported the upstream fix[3] to QtWebKit[4] where it's currently integrating in their CI. I also opened a bug[5] Debian BTS so this hopefully gets backported to older releases in Debian as well. I extended and applied the workaround[6] from the pull request (thanks to sbinix!), and decided to release v0.1.4 because of this. If you're using the git version, please update to the latest master where the workaround is applied as well. If you visited pages in private browsing mode which you'd rather not see recorded on your disk, I recommend deleting ~/.cache/qutebrowser/WebpageIcons.db (e.g. using shred[7]) so you can be sure there are no traces left behind. The second noteworthy fix is disabling of SSL ciphers commonly regarded as insecure (< 128bit). This change was made upstream with Qt 5.3, so this workaround only affets people using Qt 5.2, e.g. on Ubuntu Trusty. Let me reiterate over this: Those issues weren't my fault - but that doesn't mean they're not my department (tm). As always, for any questions you can reach me at me at the-compiler.org, GPG ID 916E B0C8 FD55 A072 (a link to the key is also in the signature). [1] https://github.com/The-Compiler/qutebrowser/pull/461 [2] http://appleinsider.com/articles/15/03/13/years-old-safari-private-browsing-bug-saves-url-of-every-page-visited-remains-unfixed [3] http://trac.webkit.org/changeset/181565 [4] https://codereview.qt-project.org/#/c/108936/ [5] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780748 [6] https://github.com/The-Compiler/qutebrowser/commit/330e03d382a57660eb8c49ef2c318c07f08a6392 [7] http://linux.die.net/man/1/shred v0.1.4 and v0.2 --------------- v0.1.4 is a bugfix-only release, with the bugfixes since v0.1.3 cherry-picked so they get out faster to people using non-git packages. If you want the latest features, stay on git. There are still some rough edges I want to look at before releasing v0.2: https://github.com/The-Compiler/qutebrowser/issues?q=is%3Aopen+is%3Aissue+milestone%3Av0.2 But still, I hope to release v0.2 in the next few days to weeks. Changes since v0.1.3 -------------------- * Stop the icon database from being created when private-browsing is set to true (d9f3566, 891bb86) * Disable insecure SSL ciphers (< 128bit) for Qt 5.2. (6fe8160) * Improvements to CPU usage when idle. (a4a6099, 44dd4da) * Ensure there's no size for font-family settings. (f69470d) * Refactor websettings and save/restore defaults. (71dbdb3) * Remove default search engines. (6c0e470) * Handle URLs with double-colon at the beginning as search strings (669760e, 2322ee4) * Adjust prompt size hint based on content. (e8b689a) * Ignore RuntimeError in mouserelease_insertmode. (20c3e8d) * Hide Qt warning when aborting download reply. (05f5083, 4ec6183) * Hide "Error while shutting down tabs" message. (baa3dfd, 1251c28) * Clear open target in acceptNavigationRequest. (8f10a97) * Fix handling of signals with deleted tabs. (202b267, 2b34fbc) * Various small improvements to logging. (d0a0e39, bfcce19, d24360d) * Various improvements for hinting. (415c291, d929590, efb0828, 471e62f, f3b55d6) * Remove debug console completing completely. (8291090) * Restore sys.std* in utils.fake_io on exceptions. (a6f77d5) * Allow font names with integers in them. (4bad99e) * Fix QIODevice warnings when closing tabs. (0d1f4c0) * Improve parsing of faulthandler logs. (51276c6, 7dbdc1b) * Set the QSettings path to a config-subdirectory. (e02897e) * Add workaround for adblock-message without window. (ab011cd) * Fix searching for terms starting with a slash. (a8371d3) * Ignore tab key presses if they'd switch focus. (d618892) The Windows builds also will come with Qt 5.4.1 instead of Qt 5.4.0, see my previous mail[8] for the relevant fixes contained there. [8] https://lists.schokokeks.org/pipermail/qutebrowser/2015-March/000054.html Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From me at the-compiler.org Wed Mar 25 07:16:58 2015 From: me at the-compiler.org (Florian Bruhin) Date: Wed, 25 Mar 2015 07:16:58 +0100 Subject: This week's qutebrowser updates Message-ID: <20150325061658.GA4844@tonks> Heyho, I just noticed I totally forgot to send this week's updates on Monday. Oh well, Wednesday it is then! :) Overview -------- (from Wednesday to Wednesday) Excluding merges, 6 authors have pushed 29 commits to master and 75 commits to all branches. On master, 34 files have changed and there have been 1,186 additions and 778 deletions. 1 Release published by 1 person (v0.1.4) 1 Pull request merged by 1 person 1 Pull request proposed by 1 person 9 Issues closed by 1 person 6 Issues created by 2 people https://github.com/The-Compiler/qutebrowser/pulse Features -------- - Queue messages shown in unfocused windows and show them when the window is focused. This can be disabled by setting the new option ui -> message-unfocused. - New --relaxed-config argument which ignores unknown options (mainly intended for debugging). - New -R/--override-restore argument to not load a session even if one was saved. Improvements ------------ - Clear rejected SSL questions when reloading page. - Always open URLs given as argument in the foreground. - Use state file to record which session to load instead of deleting the default session. Bugfixes -------- - Workaround for Qt recording URLs to the icon database even when in private mode, see the release annoucement[1] for details. - Remove colors -> completion.item.bg option which wasn't used anywhere. - Fix for starting qutebrowser via IPC without an URL not working as expected. - Handle unencodable file paths in config types correctly. - Fix for stray about:blank tabs opening on some pages. - Fix for crash when executing a delayed command (because of a shadowed keybinding) and then unfocusing the window. - Fix for crash when hinting on a page which doesn't have an URL yet. - Handle statusbar messages before a window appears correctly. [1] https://lists.schokokeks.org/pipermail/qutebrowser/2015-March/000061.html Under the hood -------------- - Simplify distro package output in earlyinit.py. - Rename doc/HACKING.asciidoc to CONTRIBUTING.asciidoc so GitHub shows it when creating issues/PRs. - Various small updates to CONTRIBUTING. - Reenable some pylint checks which caused issues in older versions. - Enable python warnings earlier and even without --debug. - Add some logging for javascript messages. Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From me at the-compiler.org Wed Mar 25 09:25:52 2015 From: me at the-compiler.org (Florian Bruhin) Date: Wed, 25 Mar 2015 09:25:52 +0100 Subject: qutebrowser v0.1.4 released! In-Reply-To: <20150319065247.GS10871@tonks> References: <20150319065247.GS10871@tonks> Message-ID: <20150325082552.GB4844@tonks> * Florian Bruhin [2015-03-19 07:52:47 +0100]: > I just released v0.1.4 which adds workarounds for two > security/privacy-related Qt issues and backports some other bugs. > > Windows builds will be delayed a bit (aka. my Windows VM wants to > install updates), but everything else is uploaded. Just a small heads-up: The windows builds are uploaded as well now, you can get them from GitHub[1] or from qutebrowser.org[2]. Sorry for the delay! There's now also a script[3] for building the release on Windows, so this should be less painful next time :) Florian [1] https://github.com/The-Compiler/qutebrowser/releases/tag/v0.1.4 [2] http://qutebrowser.org/releases/v0.1.4/windows/ [3] https://github.com/The-Compiler/qutebrowser/blob/master/scripts/build_release.py -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: From me at the-compiler.org Tue Mar 31 09:11:10 2015 From: me at the-compiler.org (Florian Bruhin) Date: Tue, 31 Mar 2015 09:11:10 +0200 Subject: This week's qutebrowser updates Message-ID: <20150331071110.GU442@tonks> Heyho, Another week without v0.2, but with some other updates and progress towards v0.2! There were some big changes about how virtualenvs and testing is managed: - init_venv.py and run_checks.py got deleted and replaced by tox[1]. If you used init_venv.py before, you now have to install tox and run "tox -e mkvenv" instead. - "Adopt pytest month"[2] starts tomorrow and qutebrowser got accepted and got two helpers (see [3]). Thanks in advance to @nicoddemus and @hackebrot for hopefully making creating tests for qutebrowser easier and more fun! :) [1] http://tox.readthedocs.org/en/latest/ [2] http://pytest.org/latest/adopt.html [3] https://github.com/The-Compiler/qutebrowser/issues/550 Overview -------- Excluding merges, 3 authors have pushed 40 commits to master and 59 commits to all branches. On master, 50 files have changed and there have been 892 additions and 862 deletions. 2 Pull requests proposed by 2 people 11 Issues closed by 2 people 11 Issues created by 4 people https://github.com/The-Compiler/qutebrowser/pulse Features -------- - Add a :tab-detach command to open the current tab in a new window. - Implement zooming via Ctrl-Mousewheel. This also adds a new input -> mouse-zoom-divider option to control how much the page is zoomed when rotating the wheel. - Add an option (content -> host-blocking-enabled) to enable/disable host blocking. Improvements ------------ - Improve error messages on invalid URLs. - Show saved session with :session-save and add -q/--quiet argument. - Add a -c/--clear argument to :session-load to close existing windows. Bugfixes -------- - Fix starting with -c '' again... - Fix rare exception when hinting (when webFrame is None). - Fix exception on invalid quickmarks. Under the hood -------------- - Fix pep257 (docstring formatting) issues. - Various changes for the migration to tox and pytest. - Make setup.py work with python2. - Various updates to CONTRIBUTING and INSTALL. - Add a --pdb-postmortem argument to drop into the pdb debugger on exceptions. Florian -- http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: