Florian Bruhin
3ffbf07eab
Update docs
2016-10-03 06:42:13 +02:00
Florian Bruhin
656d51d44f
Update docs
2016-09-29 06:34:20 +02:00
Florian Bruhin
482901169c
Update docs
2016-09-26 07:07:23 +02:00
Florian Bruhin
301447baaa
Update docs
2016-09-26 07:01:48 +02:00
Florian Bruhin
1523d512fe
Update changelog
2016-09-15 15:05:07 +02:00
Florian Bruhin
41d5a9202c
Update docs
2016-09-11 16:25:03 +02:00
Florian Bruhin
0b816181c0
Update changelog
2016-09-11 16:16:19 +02:00
Florian Bruhin
162e6d6483
Fix closing with no last-visible-main-window
...
Fixes #1918
2016-09-11 16:03:15 +02:00
Florian Bruhin
984e1cf3c5
Update docs
2016-09-09 17:58:35 +02:00
Florian Bruhin
d0cf452ec8
Remove :prompt-yes and :prompt-no
...
Those are replaced by :prompt-accept yes and :prompt-accept no
2016-09-09 15:59:00 +02:00
Florian Bruhin
d579697245
Add a value argument to :prompt-accept
2016-09-09 15:48:42 +02:00
Florian Bruhin
b65440e7e3
Update docs
2016-09-06 18:21:12 +02:00
Florian Bruhin
308f38ab34
Rename javascript-can-open-windows setting
...
Fixes #1896 .
2016-09-05 17:09:14 +02:00
Florian Bruhin
e82a119061
Update docs
2016-09-05 11:00:22 +02:00
Florian Bruhin
faa052ad6f
Fix hang with multiple spaces in URL completion
2016-09-04 20:19:16 +02:00
Florian Bruhin
b1a92c7646
Update docs
2016-09-01 22:04:21 +02:00
Florian Bruhin
7499255395
Update docs
2016-09-01 07:29:13 +02:00
Florian Bruhin
2157635ccc
Update changelog
...
[ci skip]
2016-09-01 07:14:36 +02:00
Florian Bruhin
343630ef46
Update docs
2016-08-29 07:14:44 +02:00
Florian Bruhin
e074192cc4
Update docs
2016-08-19 15:27:56 +02:00
Florian Bruhin
5a3328d834
Update docs
2016-08-19 13:41:21 +02:00
Florian Bruhin
a40dd7edf6
Allow empty string for tabs -> title-format
2016-08-19 08:31:36 +02:00
Florian Bruhin
0cef4ac2db
Add a :click-element command
2016-08-18 15:30:04 +02:00
Florian Bruhin
f42f54f403
Update changelog
2016-08-17 15:32:24 +02:00
Florian Bruhin
781e7554e4
Set open target for force_tab to tab-silent
...
Fixes #1328
2016-08-17 12:04:46 +02:00
Florian Bruhin
01fd7cd210
Merge branch 'issue1060' of https://github.com/haasn/qutebrowser into haasn-issue1060
2016-08-17 12:01:53 +02:00
Florian Bruhin
1dbedbc474
Fix :restart deleting the given --basedir
2016-08-16 21:27:23 +02:00
Florian Bruhin
7b463f2d8b
Update changelog
...
[ci skip]
2016-08-16 14:22:47 +02:00
Florian Bruhin
9c76ce1255
Update docs
2016-08-16 13:31:41 +02:00
Florian Bruhin
7519ba3ea4
Update docs
2016-08-16 12:59:54 +02:00
Niklas Haas
c2cc28a72b
Add new-instance-open-target.window = first-opened
...
Fixes #1060 .
In the process of adding this, I also decided to rewrite
mainwindow.get_window() for clarity (and also because flake8 was warning
about complexity).
Also adds some tests to the new-instance-target mechanism, in particular
a specific test for the issue in question.
2016-08-16 12:24:38 +02:00
Florian Bruhin
cfa246a4bd
Update docs
2016-08-16 11:46:57 +02:00
Florian Bruhin
d1138fa342
Update docs
2016-08-16 11:22:29 +02:00
Florian Bruhin
62cce23b84
Update changelog
...
Seems like that fix accidentally didn't make it to v0.8.2
2016-08-16 11:16:32 +02:00
Florian Bruhin
9d7d307aa5
Merge branch 'winonly' of https://github.com/haasn/qutebrowser into haasn-winonly
2016-08-16 11:02:49 +02:00
Florian Bruhin
e1332412b9
Update docs
2016-08-16 10:07:46 +02:00
Niklas Haas
d5080bdb1a
Add :window-only command
...
I mainly added this so I can speed up all of the tests that rely on
closing other windows.
2016-08-11 23:37:14 +02:00
Florian Bruhin
e676063cee
Update docs
2016-08-11 19:47:07 +02:00
Florian Bruhin
7a28268d2f
Update docs
2016-08-11 13:14:33 +02:00
Florian Bruhin
3336766034
Update docs
2016-08-10 20:48:33 +02:00
Florian Bruhin
08d9243c3e
Merge branch 'haasn-lastvisible'
2016-08-10 19:58:41 +02:00
Florian Bruhin
a07e520f6b
Update docs
2016-08-10 17:50:24 +02:00
Florian Bruhin
4205e1c95b
Update docs
2016-08-10 17:40:27 +02:00
Florian Bruhin
082e8da144
Update changelog
2016-08-10 16:58:26 +02:00
Florian Bruhin
42107dd3a0
Update changelog
2016-08-10 15:40:00 +02:00
Florian Bruhin
4f1a542328
Update docs
2016-08-10 09:53:30 +02:00
Florian Bruhin
7c5d0eea44
Update changelog
2016-08-10 09:38:17 +02:00
Florian Bruhin
4576fd9840
Update docs
2016-08-10 09:13:35 +02:00
Niklas Haas
2223a285ef
Remove ui -> hide-mouse-cursor setting
...
This was currently almost completely broken, yet nobody complained. The
new behavior (in the previous commit) makes this always hide the mouse
cursor, even when an input field has focus.
Since the only two easy options to implement are "never hide" and
"always hide", combined with the fact that both are sort of useless to
an end-user, just remove the option until somebody wants it back.
2016-08-09 23:32:17 +02:00
Florian Bruhin
cf519bd528
Update docs
2016-08-09 16:44:00 +02:00
Florian Bruhin
6f074049c2
Update docs
2016-08-09 16:14:58 +02:00
Florian Bruhin
7c689d83bf
Update docs
2016-08-08 15:22:57 +02:00
Florian Bruhin
5b1ff84e71
Update changelog
2016-08-08 09:43:15 +02:00
Florian Bruhin
64566fff35
Set maximum value for auto-save-interval correctly
2016-08-08 08:47:21 +02:00
Florian Bruhin
5a22852521
Update docs
2016-08-07 11:34:52 +02:00
Florian Bruhin
d1eef5d1dc
Update changelog
2016-08-07 11:19:03 +02:00
Florian Bruhin
ef0b2e1488
Update docs
2016-08-07 11:09:16 +02:00
Florian Bruhin
4541f19195
Fix crash when doing :<space><enter>
...
Introduced in #1577 .
Fixes #1773 .
2016-08-05 15:42:03 +02:00
Florian Bruhin
ec2ba032a8
Update docs
2016-08-05 15:07:10 +02:00
Florian Bruhin
2143641d14
Update docs
2016-08-04 12:48:02 +02:00
Florian Bruhin
6b14fa49f2
Update docs
2016-08-03 09:22:59 +02:00
Florian Bruhin
641a2d9b42
Update docs
2016-08-03 08:56:02 +02:00
Florian Bruhin
8f14cac565
Fix changelog
2016-08-03 06:51:21 +02:00
Florian Bruhin
f92a426c5b
Update changelog for v0.8.2
2016-08-02 18:32:36 +02:00
Florian Bruhin
48067f0c76
Update changelog
2016-08-02 16:15:30 +02:00
Florian Bruhin
e53de02e69
Update changelog
...
[ci skip]
2016-08-02 15:57:09 +02:00
Florian Bruhin
ecf358b53a
Update changelog
...
[ci skip]
2016-08-02 15:25:20 +02:00
Florian Bruhin
66709ed1b9
Update changelog
2016-08-02 14:22:01 +02:00
Florian Bruhin
4a5b5c496f
Fix using a relative path with --basedir
2016-08-02 14:08:28 +02:00
Florian Bruhin
c496cca306
Release v0.8.1
2016-08-01 22:50:58 +02:00
Florian Bruhin
ef439bb916
Fix ;o/;O default bindings
2016-08-01 18:19:34 +02:00
Florian Bruhin
5ec39b7540
Fix crash when opening http://foo%40bar@baz
2016-08-01 17:18:14 +02:00
Florian Bruhin
ad05296e1b
Update docs
2016-08-01 16:18:08 +02:00
Florian Bruhin
149e0d7b05
Update changelog
2016-08-01 15:56:39 +02:00
Florian Bruhin
cc94383785
Update docs
2016-08-01 14:37:58 +02:00
Florian Bruhin
77f9696a96
Update docs
2016-08-01 11:01:33 +02:00
Florian Bruhin
09418d77a0
Update changelog
2016-07-30 18:49:10 +02:00
Florian Bruhin
88b2c20421
Update docs
2016-07-29 09:06:04 +02:00
Florian Bruhin
56515321dd
Handle failing javascript in webelem.rect_on_view
...
Fixes #1641 .
2016-07-28 17:10:31 +02:00
Florian Bruhin
ed43e12c3e
Add (unreleased) to changelog
2016-07-27 19:45:37 +02:00
Florian Bruhin
1ebf2bab1c
Whoops, remove conflict marker
2016-07-27 12:43:15 +02:00
Florian Bruhin
48fc89ca88
Whoops, remove conflict marker
2016-07-27 12:42:53 +02:00
Florian Bruhin
d8153f7010
Whoops, remove conflict marker
2016-07-27 12:42:22 +02:00
Florian Bruhin
04aa98d7fb
Release v0.8.1
2016-07-27 12:41:40 +02:00
Florian Bruhin
0405a05d34
Update docs
2016-07-26 21:28:14 +02:00
Florian Bruhin
29fd292aa4
Update docs
2016-07-26 17:30:07 +02:00
Florian Bruhin
7f9af096cd
Clean up changelog
2016-07-26 12:34:02 +02:00
Florian Bruhin
d5cf8ef894
Update docs
2016-07-26 10:54:45 +02:00
Florian Bruhin
da64db853e
Update docs
2016-07-26 08:36:16 +02:00
Florian Bruhin
19077c8b47
Update docs
2016-07-23 15:47:31 +02:00
Florian Bruhin
76eab7617b
Remove @pyqtSlot for functions and non-QObjects
...
Fixes #1669
2016-07-23 11:42:50 +02:00
Florian Bruhin
7b9d38e438
Fix config values being lost with DELETED_OPTIONS
...
When an option was deleted, we accidentally stopped reading instead of
ignoring that one option and then resuming.
2016-07-14 16:58:54 +02:00
Florian Bruhin
da417bff3e
Update docs
2016-07-13 21:25:48 +02:00
Florian Bruhin
64b32ec87d
Remove general -> wrap-search
2016-07-12 16:47:57 +02:00
Florian Bruhin
995b601222
Update docs
2016-07-12 13:31:21 +02:00
Florian Bruhin
31b4f2e383
Update changelog
2016-07-11 21:15:03 +02:00
Florian Bruhin
fc999f247b
Update docs
2016-07-11 20:55:24 +02:00
Florian Bruhin
e80475ed57
Remove support for showing JS statusbar messages
...
Closes #1579 .
2016-07-11 16:19:44 +02:00
Florian Bruhin
7ddbd24c30
Add ui -> status-position to the changelog
2016-07-06 13:58:46 +02:00
Florian Bruhin
8ba04b460e
Add $QUTE_*_DIR to changelog
2016-07-06 13:56:34 +02:00
Florian Bruhin
70117265d6
Fix some a/an misspellings
...
Thanks to https://github.com/jwilk/anorack
2016-07-05 08:34:03 +02:00
Florian Bruhin
e3c6a0b766
Handle OSError when closing download fileobj
2016-07-03 18:26:21 +02:00
Florian Bruhin
43812b6d2b
behaviour -> behavior
2016-07-01 14:20:00 +02:00
Florian Bruhin
a6dbdc3e84
Update docs
2016-07-01 13:47:26 +02:00
Florian Bruhin
4ae3df62c5
Handle invalid URLs in :jump-mark
2016-06-30 20:59:18 +02:00
Florian Bruhin
ce8315b720
Document :hint input and add default binding
...
See #1607 , #1499
2016-06-30 17:33:51 +02:00
Florian Bruhin
080f9f5bc2
Update docs
2016-06-30 12:40:20 +02:00
Florian Bruhin
f10841e003
Update docs
2016-06-30 12:27:43 +02:00
Florian Bruhin
8121b02f5c
Update docs
2016-06-13 09:29:36 +02:00
Florian Bruhin
acf54c5cbe
Release v0.7.0
2016-06-10 15:18:56 +02:00
Florian Bruhin
823b7e2900
Update changelog
2016-06-10 14:47:41 +02:00
Florian Bruhin
1d1c71f919
Strip of trailing spaces for history entries
2016-06-09 21:14:04 +02:00
Florian Bruhin
035526848e
Add a hints -> find-implementation setting
...
This makes it possible to switch to an alternative implementation if
there are weird issues like #1568 . Some users might also prefer the
slightly better performance over more accurate hints.
2016-06-09 17:00:08 +02:00
Florian Bruhin
10918d2a3a
Update docs
2016-06-09 10:50:08 +02:00
Florian Bruhin
5563552c13
Update docs
2016-06-08 22:39:54 +02:00
Florian Bruhin
483a5f8103
Fix sharing of cookie jars with private browsing
...
Fixes #1219
2016-06-08 16:35:43 +02:00
Florian Bruhin
049510ea8f
Update changelog
2016-06-08 15:17:27 +02:00
Florian Bruhin
af653e7cce
Update docs
2016-06-08 11:33:37 +02:00
Florian Bruhin
9880f5bd5f
Handle FileNotFoundError in ipc.listen
...
Fixes #1530
2016-06-07 16:48:43 +02:00
Florian Bruhin
db0a67766d
Ignore hints -> scatter for number hints
...
See https://github.com/The-Compiler/qutebrowser/issues/308#issuecomment-167091450
2016-06-07 15:13:30 +02:00
Florian Bruhin
e906178c7d
Add changelog entry for multi-word matching
2016-06-07 14:28:36 +02:00
Florian Bruhin
222ab6f75e
Add changelog entry for #308
2016-06-07 13:58:22 +02:00
Florian Bruhin
457913b2ec
Add changelog for #576
2016-06-07 11:59:33 +02:00
Florian Bruhin
cbc866d86d
Add changelog entry for #1186 fix
2016-06-07 11:55:17 +02:00
Florian Bruhin
802258d70a
Add hints -> auto-follow-timeout to CHANGELOG
2016-06-07 11:07:29 +02:00
Florian Bruhin
3e22f64a20
Get tab indicator fix from #697
2016-06-06 16:49:29 +02:00
Florian Bruhin
a38ec6e5a3
Update docs
2016-06-06 16:19:42 +02:00
Florian Bruhin
abfd789f9e
Fix zooming with a too big count
...
Fixes #1118
Supersedes #1140
2016-06-06 13:25:01 +02:00
Florian Bruhin
4d04d0a511
Update docs
2016-06-06 10:42:49 +02:00
Florian Bruhin
6d86ad7bef
Update changelog
2016-06-04 23:31:32 +02:00
Florian Bruhin
2ac521627e
Update changelog
2016-06-04 23:13:13 +02:00
Florian Bruhin
53b8ac1a60
Update changelog
2016-06-04 13:15:30 +02:00
Florian Bruhin
65817ebb81
Update docs
2016-05-30 16:15:20 +02:00
Florian Bruhin
1e55db0630
Follow the American way(tm) of spelling things
2016-05-29 10:57:41 +02:00
Florian Bruhin
86d320b6a1
Update docs
2016-05-29 10:38:24 +02:00
Florian Bruhin
1d87eee4d7
Fix starting when sys.stderr is None
2016-05-27 14:48:46 +02:00
Florian Bruhin
29aedef420
Fix :debug-console with PyQt 5.6
2016-05-27 00:18:23 +02:00
Florian Bruhin
998f025553
Update docs
2016-05-26 07:45:17 +02:00
Florian Bruhin
4c0f85564d
Update docs
2016-05-25 22:10:45 +02:00
Florian Bruhin
ed6432136f
Update docs
2016-05-25 22:06:59 +02:00
Florian Bruhin
4b5788a878
Update docs
2016-05-20 18:08:46 +02:00
Florian Bruhin
f02bcf256b
Update changelog
2016-05-18 18:49:37 +02:00
Florian Bruhin
213677d30a
Update changelog
2016-05-18 07:37:20 +02:00
Florian Bruhin
6aed55f09d
Update changelog
2016-05-18 07:28:28 +02:00
Florian Bruhin
76a755634b
Update changelog
2016-05-15 11:51:09 +02:00
Florian Bruhin
c64e5c9bd5
Get rid of the colorlog dependency
...
colorlog was problematic for various reasons:
- Not commonly packaged for Linux distributions
- Calling colorama.init() automatically on import
- Not supporting {foo} log formatting
- Not supporting an easy way to turn colors off
Instead we now do the log coloring by hand, which is simpler and means
everyone will have colored logs.
2016-05-13 21:19:33 +02:00
Florian Bruhin
181a785ce6
Update changelog
...
[ci skip]
2016-05-10 23:49:10 +02:00
Florian Bruhin
7f99c36ec5
Update changelog
2016-05-09 07:07:46 +02:00
Florian Bruhin
3e6ac28c66
Fix ;Y on systems not supporting primary selection
...
Instead we paste clipboard like we already do with some other commands
when primary selection is not supported.
Fixes #1336
2016-05-08 21:59:25 +02:00
Florian Bruhin
a5cea14a0f
Update docs
2016-05-07 21:39:19 +02:00
Florian Bruhin
e81c13cf35
Update changelog
2016-05-06 18:23:16 +02:00
Florian Bruhin
0124354b91
Disable more bad SSL ciphers with old Qt/OpenSSL
...
See #594
2016-05-01 17:31:00 +02:00
Florian Bruhin
528e303d6e
Add a --force-color argument for logging
2016-04-30 17:01:45 +02:00
Florian Bruhin
365a6ec3ad
Update changelog for v0.6.2
2016-04-30 14:47:05 +02:00
Florian Bruhin
1ea516f0b5
Update changelog
2016-04-30 14:11:08 +02:00
Florian Bruhin
e374599988
Update changelog
2016-04-28 22:25:39 +02:00
Florian Bruhin
c228bb263b
Update docs
2016-04-28 07:05:55 +02:00
Florian Bruhin
0a76a7584d
Update changelog
2016-04-27 21:21:30 +02:00
Florian Bruhin
2604f0841a
Update changelog
2016-04-25 19:20:37 +02:00
Florian Bruhin
6349c00c72
Fix crash with :tab-{prev,next,focus} with 0 tabs
...
When using :tab-prev/:tab-next (or :tab-focus which uses :tab-next
internally) immediately after the last tab, those functions could be
called with 0 tabs open, which caused a ZeroDivisionError when trying to
do % 0.
Fixes #1448 .
2016-04-25 18:55:15 +02:00
Florian Bruhin
0955ed49a7
Update docs
2016-04-21 22:55:36 +02:00
Florian Bruhin
9ae826295b
Update docs
2016-04-20 22:17:27 +02:00
Florian Bruhin
c27d4f4407
Update docs
2016-04-20 20:59:27 +02:00
Florian Bruhin
e860d8cfea
Add a custom-headers setting
...
Supersedes #1132
Closes #1020 .
2016-04-19 06:35:32 +02:00
Florian Bruhin
4f84911474
Fix CHANGELOG/link in README
2016-04-14 17:50:03 +02:00
Florian Bruhin
c690e652dc
Release v0.6.1
2016-04-10 21:25:32 +02:00
Florian Bruhin
d01616109e
Update docs
2016-04-09 21:20:14 +02:00
Florian Bruhin
d56cdd64db
Update changelog
2016-04-05 18:35:47 +02:00
Florian Bruhin
806436297a
Release v0.6.0
2016-04-04 18:16:56 +02:00
Florian Bruhin
b5636a3531
Update changelog
2016-04-01 06:14:30 +02:00
Florian Bruhin
451ea05393
Ignore "Frame load interrupted by policy change"
...
Searching for that error doesn't turn up many helpful results, but it
seems to be harmless and shown when downloading a file - it's also new
in Qt 5.6 it seems, so let's just ignore it.
2016-03-31 22:41:25 +02:00
Florian Bruhin
27b31b7ded
Avoid DownloadView being focused when pressing tab
...
The previous fix didn't work in situations where the web view was
actually focused, but had no focused element (like about:blank).
The new fix always works, and even is a lot simpler!
Fixes #504 .
2016-03-31 19:45:36 +02:00
Florian Bruhin
123fd18af5
Fix crash when removing download in closed window
...
When a download is finished with `removed-finished-download` set to a
delay, it's removed via a singleshot QTimer.
However, when the window was closed in the meantime, the slot still was
executed by Qt, even though the DownloadManager was already deleted.
Fixes #1242
2016-03-31 19:09:43 +02:00
Florian Bruhin
305c8a2f03
Update changelog
2016-03-31 07:16:00 +02:00
Florian Bruhin
8a1c99d3ff
Update changelog
2016-03-29 22:38:50 +02:00
Florian Bruhin
2aaf22df76
Also read blocked hosts from ~/.config
2016-03-29 06:59:23 +02:00
Florian Bruhin
952daf0479
Well, this is embarassing. Fix segfault reports.
2016-03-27 22:53:05 +02:00
Florian Bruhin
f2f0f429fb
Update docs
2016-03-25 11:10:38 +01:00
Florian Bruhin
e72e7dbf5f
Update changelog
2016-03-18 06:35:52 +01:00
Florian Bruhin
60c293846f
Un-deprecate :download-remove --all
2016-03-14 19:11:41 +01:00
Florian Bruhin
25ee48d28b
Add an --all flag to :download-cancel
2016-03-14 19:05:15 +01:00
Daniel Schadt
e5dc10a29e
downloads: handle relative XDG_DOWNLOAD_DIR
...
Issues #1269 , #866
qutebrowser would crash when XDG_DOWNLOAD_DIR was set to some
non-absolute value (which should not happen, but it can) and
"storage -> download-dir" was empty, since when the user didn't give an
absolute filename, even the joined path of download_dir() (i.e.
XDG_DOWNLOAD_DIR in this case) and the filename was not absolute either.
Since the path was not absolute, create_full_filename returned None,
which meant that os.path.basename(self._filename) raised an exception.
Now we display an error message and fall back to $HOME.
2016-02-22 23:43:09 +01:00
Florian Bruhin
b6f1dd963d
Handle Shift-Insert correctly in prompt mode.
...
Fixes #1299 .
2016-02-10 06:40:54 +01:00
Florian Bruhin
63968749d4
Update changelog.
2016-02-07 12:29:21 +01:00
Florian Bruhin
e5e1a0d95c
Reject hints -> chars containing duplicate chars
...
Fixes #1286 .
2016-02-03 21:05:35 +01:00
Florian Bruhin
9d73c93ebe
Update docs.
2016-02-02 18:59:00 +01:00
Jimmy
42160335dc
Improve performance when scrolling with many tabs.
...
Closes #1278 .
2016-02-02 07:33:07 +01:00
Florian Bruhin
8166a4a76d
Update changelog.
...
[ci skip]
2016-02-02 06:55:38 +01:00
Florian Bruhin
312daca2b0
fuzzy_url: Raise InvalidUrlError on empty URLs.
...
Before we raised QtValueError (via qtutils.ensure_valid), but maybe there are
more callers out there which call fuzzy_url with an empty input - and it makes
more sense to raise InvalidUrlError which gets displayed to the user than
raising QtValueError which is more like an assertion.
2016-02-02 06:38:48 +01:00
Florian Bruhin
701cdc7f76
Update docs.
2016-01-31 20:57:56 +01:00
Florian Bruhin
85adf7593d
Fix crash when downloading URL without path infos.
...
Fixes #1243 .
2016-01-26 22:39:10 +01:00
Florian Bruhin
ea1627c1e6
Cancel permission prompt when tab is closed.
...
Fixes #1250 .
2016-01-26 19:47:31 +01:00
Florian Bruhin
9eefb935c2
Update docs.
2016-01-24 17:02:11 +01:00
Florian Bruhin
7f70964171
Update changelog.
2016-01-20 21:25:49 +01:00
Florian Bruhin
80712caf50
Update docs.
2016-01-20 20:06:47 +01:00
Florian Bruhin
9aa881faee
Update changelog for v0.5.1.
2016-01-18 21:40:41 +01:00
Florian Bruhin
9d520b7312
Avoid trying to load .netrc if $HOME isn't set.
...
This logged an error on Windows:
ERROR misc networkmanager:on_authentication_required:269 Unable to read the netrc file
Traceback (most recent call last):
File "c:\python34\Lib\netrc.py", line 27, in __init__
file = os.path.join(os.environ['HOME'], ".netrc")
File "C:\Users\florian\buildbot\slave\win8\build\.tox\py34\lib\os.py", line 633, in __getitem__
raise KeyError(key) from None
KeyError: 'HOME'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\florian\buildbot\slave\win8\build\qutebrowser\browser\network\networkmanager.py", line 262, in on_authentication_required
net = netrc.netrc()
File "c:\python34\Lib\netrc.py", line 29, in __init__
raise OSError("Could not find .netrc: $HOME is not set")
Since this case is pretty common, we don't want to log it - and checking the
variable beforehand is easier than parsing the exception message.
This should fix the failing tests on Windows.
2016-01-15 06:57:43 +01:00
Florian Bruhin
f61b9fd42c
Update docs.
2016-01-13 18:20:44 +01:00
Florian Bruhin
df03099468
Fix completion for String config type.
...
Since 2a705e2eb6
non-specialized config types are
String. However, String had an overloaded complete() which defaulted to
returning None.
Now we use the normal complete() which relies on valid_values if completions
isn't given instead.
Fixes #1223 .
2016-01-12 18:53:53 +01:00
Florian Bruhin
1db662fbff
Update docs.
2016-01-06 06:31:56 +01:00