Florian Bruhin
be48f3c875
flake8: Ignore E402.
2015-02-08 21:56:52 +01:00
Florian Bruhin
1c055a25b6
Remove ez_setup.py exclude from .flake8.
...
We don't ship that file anymore, and it seems to trigger a bug in pep8.
2015-02-08 21:46:38 +01:00
Florian Bruhin
31e71ed6d9
Fix copyright years.
...
Files created in 2015 don't need to have 2014 as copyright year.
2015-02-06 00:21:57 +01:00
Florian Bruhin
97d7e727b7
Regenerate docs.
2015-02-05 08:29:33 +01:00
Florian Bruhin
514ae1e798
Add periods for argparse help texts.
2015-02-05 08:29:13 +01:00
Florian Bruhin
a55076dfdf
src2asciidoc: Fix metavar with nargs != 1.
2015-02-05 08:28:05 +01:00
Florian Bruhin
f78b21874f
Add -p/--print argument to :set to print value.
2015-02-05 07:58:51 +01:00
Florian Bruhin
7615e20091
Add -s argument to set temporary options.
2015-02-05 07:54:19 +01:00
Florian Bruhin
5ed592a447
Replace some QTimers by named Timers.
2015-02-05 07:17:58 +01:00
Florian Bruhin
370c182f48
Fix header encoding in FakeNetworkReply test stub.
...
This was broken since ef9ddb2d5f
but we never
noticed it, as an __init__.py was missing in the test folder since
06ec1a3885
.
2015-02-05 07:12:36 +01:00
Florian Bruhin
0957d5df8e
Make tests for browser.http run again.
2015-02-05 06:59:00 +01:00
Florian Bruhin
7d01abacaa
run_checks: Add checker for missing __init__.py.
2015-02-05 06:55:48 +01:00
Florian Bruhin
af53a670ee
Reorder stacktrace.asciidoc
2015-02-03 20:45:44 +01:00
Florian Bruhin
a18b3fe2a8
Update Arch section in stacktrace.asciidoc.
2015-02-03 20:30:51 +01:00
Florian Bruhin
fba2b2b5ae
fuzzy_url: handle invalid URLs with autosearch off
...
Fixes #497 .
2015-02-02 22:24:01 +01:00
Florian Bruhin
a95dda8e92
Handle explicit searches with auto-search=false.
...
See #497 .
2015-02-02 22:19:43 +01:00
Florian Bruhin
cbde36948a
Abort download override question on error/cancel.
...
If a download error occured or the user cancelled the download during the file
override question, an exception occured as the download was no longer valid
when the question was answered.
See #416 .
2015-02-02 06:53:55 +01:00
Florian Bruhin
18b58b2001
Set a higher z-index for hint labels.
...
This fixes hinting on the youtube top bar.
Fixes #496 .
2015-02-02 06:35:45 +01:00
Florian Bruhin
59a11c178f
Don't open relative files in fuzzy_url with :open
...
With most actions which use fuzzy_url (:open/quickmarks/etc.) it's rather
confusing when relative files are opened - the only place where they should be
opened is when we're processing a commandline argument.
2015-02-01 23:55:37 +01:00
Florian Bruhin
9b1729c77e
Always write config files to disk on first start.
2015-02-01 23:47:40 +01:00
Florian Bruhin
1c919967bb
Send history (optionally) in fatal crash dialog.
2015-02-01 23:12:46 +01:00
Florian Bruhin
2f01c7c3ae
Minor style adjustments in crashdialog.py.
2015-02-01 23:12:32 +01:00
Florian Bruhin
dc6aaecc78
Add __getitem__ to WebHistory.
2015-02-01 23:12:02 +01:00
Florian Bruhin
d9ae2183e8
Initialize web history earlier.
...
This is needed when displaying the history in the segfault report dialog.
2015-02-01 23:11:30 +01:00
Florian Bruhin
503fc9f56b
Re-enable some flake8 checks.
2015-02-01 22:38:40 +01:00
Florian Bruhin
33a2181e31
Record global page history to disk.
...
We currently don't do anything with it yet, but people could use it in scripts
already and we have the history later when completion or other stuff will be
added based on it.
See #33 .
2015-02-01 22:27:58 +01:00
Florian Bruhin
933151abd7
Regenerate docs.
2015-02-01 01:53:29 +01:00
Florian Bruhin
1266f147c8
Auto-save state/config/... periodically.
...
See #15 .
2015-02-01 01:38:16 +01:00
Florian Bruhin
822bf90b26
Fix another speeling mistake.
2015-02-01 01:22:46 +01:00
Florian Bruhin
3b667325ca
Move initializing of version/geometry saveables.
2015-02-01 01:22:24 +01:00
Florian Bruhin
43c5dc3bf6
Refactor saving logic, only save stuff if modified.
...
Fixes #113 .
See #11 .
2015-02-01 00:43:07 +01:00
Florian Bruhin
d6e87a2672
Hide adblocked iframes.
...
We now hide iframes which have been blocked completely instead of displaying an
error page in there. Displaying the error page also did break back/forward,
e.g. on reddit.
Fixes #493 .
2015-01-31 22:38:31 +01:00
Florian Bruhin
9736224fa6
Close contextmenu when closing tab to avoid crash.
...
Fixes #494 .
2015-01-31 21:01:03 +01:00
Florian Bruhin
55649882a0
Revert "Paste primary selection into forms on Shift-Insert."
...
This reverts commit 68a0428a09
.
Even if this works fine for me, various people reported segfault issues when
using Shift-Insert, so I'm reverting this for now until I find a proper
solution.
See #491 .
2015-01-30 11:50:05 +01:00
Florian Bruhin
c40e70ed11
Revert "Also copy QByteArray of clipboard data."
...
This reverts commit 4138debd1e
.
It seems even with this, there are still weird segfault issues.
See #491 .
2015-01-30 11:48:40 +01:00
Florian Bruhin
6bf87dd1d7
Fix statusbar quickly popping up as window.
2015-01-30 11:36:07 +01:00
Florian Bruhin
4138debd1e
Also copy QByteArray of clipboard data.
...
This could possibly fix segfaults some people have seen when pasting after
68a0428a09
.
See #491 .
2015-01-30 06:42:55 +01:00
Florian Bruhin
b721a0e992
Clean up NetworkManager after downloads finished.
...
Fixes #490 .
2015-01-28 22:52:24 +01:00
Florian Bruhin
66ec4f0599
Resize completion when it's shown, and only then.
...
Before this, we always resized the completion when the mainwindow was resized.
If the statusbar is hidden during the resize (ui -> hide-statusbar is true), we
got an invalid calculated QRect for the completion, causing the update to be
not applied at all - so the completion showed up incorrectly.
With this change, another resize is done when the completion is shown - at this
point it's certain the statusbar is visible. Also we only update it while it's
shown - it doesn't make sense to always adjust its size when it's hidden
anyways.
2015-01-28 22:16:22 +01:00
Florian Bruhin
81b91888f4
Add logging to completion resizing.
2015-01-28 22:15:57 +01:00
Florian Bruhin
052d4f513c
Add .venv to .gitignore.
2015-01-28 20:35:05 +01:00
Florian Bruhin
4486573b2a
Add jsconfirm.html test file.
2015-01-28 20:34:46 +01:00
Florian Bruhin
cf5fd9456b
Add gen_resources.py script.
2015-01-28 20:33:54 +01:00
Florian Bruhin
1526cf1532
Merge branch 'master' of ssh://tonks/qutebrowser
2015-01-28 08:43:48 +01:00
Florian Bruhin
b9f16804f7
Make the window title configurable.
...
Closes #489 .
2015-01-28 08:40:16 +01:00
Florian Bruhin
68a0428a09
Paste primary selection into forms on Shift-Insert.
...
Closes #491 .
2015-01-28 06:56:38 +01:00
Florian Bruhin
d90814aabe
Fix restoring of cmd widget after an error.
...
We accidentally restored the prompt widget instead of the command widget when
an immediate error message interrupted command mode.
Fixes #487 .
2015-01-27 21:18:24 +01:00
Florian Bruhin
4c87287f4e
Don't set up on_ssl_errors slot without SSL.
2015-01-26 13:23:41 +01:00
Florian Bruhin
7169d02609
Support running qutebrowser without SSL.
2015-01-26 13:15:08 +01:00
Florian Bruhin
bc380fca61
Clone zoom factor when cloning tab.
2015-01-26 07:20:03 +01:00