Commit Graph

3083 Commits

Author SHA1 Message Date
Florian Bruhin
bb031b51f7 Make most scripts work if we're in scripts/ directory.
See #213.
2014-10-26 19:42:01 +01:00
Florian Bruhin
d3b1a5efb4 Raise useful exception in run_checks if config wasn't found.
See #213.
2014-10-26 19:40:52 +01:00
Florian Bruhin
4c78b611eb Clean up QWebPage::extension handling. 2014-10-25 23:59:09 +02:00
Florian Bruhin
c79c1f950a Open unknown protocols with external viewer.
Closes #210.
2014-10-25 23:51:22 +02:00
Florian Bruhin
c2daadf0bd Fix exception when element has no web frame. 2014-10-22 20:18:58 +02:00
Florian Bruhin
6f3fde4450 Don't trigger completion update twice.
Fixes #206.
2014-10-21 16:45:04 +02:00
Florian Bruhin
7eba55459b Fix completion with flags.
Fixes #203.
2014-10-20 20:39:25 +02:00
Florian Bruhin
0b37ad4348 Don't pass unknown dict keys to argparse in function annotations. 2014-10-20 20:27:33 +02:00
Florian Bruhin
c7f6a747a8 Check flag length in function annotations. 2014-10-20 20:27:19 +02:00
Florian Bruhin
6f3b15c324 Document function annotations in HACKING.
Closes #173.
2014-10-20 20:25:54 +02:00
Florian Bruhin
fd6e56d7af Convert all function annotations to dicts. 2014-10-20 17:20:39 +02:00
Florian Bruhin
c4cd6fc56a Update branch documentation in HACKING 2014-10-20 17:15:35 +02:00
Florian Bruhin
a6f1bf29ae Revert "Remove unneeded invalidateFilter call."
This reverts commit b5781f0ed3.

For some reason this did break the "completion->shrink" setting.

Closes #204.
Makes #190 a bit worse again though.

Conflicts:
	qutebrowser/models/completionfilter.py
2014-10-20 12:01:48 +02:00
Florian Bruhin
0a5cee6ea2 Simplify text marking in completion.
Also improves performance, see #190.
2014-10-20 07:43:07 +02:00
Florian Bruhin
1917911dd8 Don't set marks data if the pattern is empty.
See #190.
2014-10-20 07:13:29 +02:00
Florian Bruhin
b5781f0ed3 Remove unneeded invalidateFilter call.
See #190.
2014-10-20 06:38:21 +02:00
Florian Bruhin
013a9ff216 Don't update completion twice when setting cmd text.
See #190.
2014-10-20 06:17:20 +02:00
Florian Bruhin
9f242cb907 Fix lint 2014-10-20 00:33:52 +02:00
Florian Bruhin
dbd7f2a16b Update ez_setup to 7.0 2014-10-20 00:30:16 +02:00
Florian Bruhin
596c33fe1c Merge branch 'quickmark-completion' 2014-10-20 00:29:46 +02:00
Florian Bruhin
eb7d12445b Fix indent 2014-10-20 00:29:19 +02:00
Florian Bruhin
1b91cd61cd Fix long line 2014-10-20 00:28:14 +02:00
Florian Bruhin
4ae4d0c74b Simplify getting of quickmarks 2014-10-20 00:27:45 +02:00
Florian Bruhin
1238807745 Whitespace fixes. 2014-10-20 00:25:12 +02:00
Florian Bruhin
8e9836785f Remove unused import. 2014-10-20 00:25:10 +02:00
Claude
14d8d01d92 raising value error 2014-10-19 23:04:32 +02:00
Florian Bruhin
8dffceeb2a completion: Match case-insensitively. 2014-10-19 23:04:26 +02:00
Claude
ed51367bdd selfish parameters 2014-10-19 23:01:06 +02:00
Claude
ecbe5c071d match urls with open, names with quickmark-load 2014-10-19 22:25:21 +02:00
Florian Bruhin
e3e1382ccd Add missing faulthandler import. 2014-10-19 18:19:36 +02:00
Florian Bruhin
499f0767da Revert "Never delete crash log file."
This reverts commit dcad41c92e.

Shutdown segfaults still happen too often, and the crash log doesn't tell us
anything useful...
2014-10-18 23:46:24 +02:00
Claude
572a9857ec fixes 2014-10-18 22:00:28 +02:00
Florian Bruhin
f2dcb8f002 Don't update stylesheets of deleted objects.
Fixes #156.
2014-10-18 19:53:22 +02:00
Florian Bruhin
76de3d0c51 Use signals and decorators for configs again.
This basically rolls back 64a119afb2 and
b7f2a6d143.

Fixes #188.
Breaks #156 again but the next commit will fix this.
2014-10-18 19:50:10 +02:00
Claude
afe45f9970 puschschsch 2014-10-18 16:42:06 +02:00
Claude
36328a01a4 updating code
according to https://github.com/The-Compiler/qutebrowser/pull/189#issuecomment-59220531
2014-10-17 21:39:28 +02:00
Claude
9613cc0eab Merge remote-tracking branch 'florian/master' into quickmark-completion 2014-10-17 20:46:00 +02:00
Florian Bruhin
bff0efb4a4 Paste primary selection on Shift+Insert 2014-10-17 15:01:08 +02:00
Florian Bruhin
5a5ff70703 hints: fix replacing of {hint-url}.
Fixes #200.
2014-10-17 11:39:44 +02:00
Florian Bruhin
ee02f339d7 Draw hints correctly when page is zoomed.
Fixes #199.
2014-10-17 11:32:41 +02:00
Florian Bruhin
999474c751 Set title directly instead of using signals.
See #198, but this didn't fix it.
2014-10-15 23:25:21 +02:00
Florian Bruhin
b4c7669e64 Shut down TabbedBrowser in MainWindow closeEvent.
Hopefully fixes #197.
2014-10-15 23:15:27 +02:00
Florian Bruhin
0209382df4 Fix redrawing of downloadview if there are downloads added. 2014-10-15 21:30:04 +02:00
Florian Bruhin
7e820a0e82 Show error messages in downloads. 2014-10-15 21:22:53 +02:00
Florian Bruhin
971e4f4372 pylint_checkers: Fix getting encoding argument. 2014-10-15 21:07:00 +02:00
Florian Bruhin
0a7ff8db09 importer: Use with-block to open file. 2014-10-15 21:06:52 +02:00
Florian Bruhin
17816bdab2 importer: Add vim modeline 2014-10-15 20:43:47 +02:00
Florian Bruhin
dc8f156c21 Make srcmodel public in CompletionFilterModel. 2014-10-15 20:43:20 +02:00
Florian Bruhin
b54151f206 Use last focused window for download errors and other stuff.
When the event happens, it's possible we don't have any window focused yet, so
we display it in the window which was last focused.

Fixes #191.
2014-10-15 20:42:40 +02:00
Florian Bruhin
348bc7147f Don't clear page in WebView:shutdown. Fixes #99.
It seems Qt still wants to access the page (for the mousePressEvent) and
segfaults when we clear the page before that's finished.

We now try it inside __del__ like done in the link mentioned in the comment.
2014-10-15 18:03:48 +02:00