Commit Graph

3052 Commits

Author SHA1 Message Date
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
Claude
572a9857ec fixes 2014-10-18 22:00:28 +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
Florian Bruhin
74839d7aff Use a QObject for quickmarks and add a changed signal.
See #189.
2014-10-15 16:55:55 +02:00
Florian Bruhin
e8fa8fadce Fix completion tabbing.
I accidentally broke this in fb3682f5fa because
the variable gets reset before the slot is executed now.

See #189.
2014-10-15 13:00:56 +02:00
Claude
37023fe896 Improved qmarks model filling
thx to the fix from The-Compiler!
2014-10-15 12:16:05 +02:00
Claude
621388e5e0 init quickmark completion in init_static 2014-10-15 12:08:37 +02:00
Claude
f4c7c1d5a0 der Sensemann 2014-10-15 12:04:37 +02:00
Claude
167e01160c minor copy paste fails 2014-10-15 11:59:01 +02:00
Claude
777e93bd3f quickmarks completion
It works, but:
* terrible performance (5s for ~1600 marks)
* split and join operations in the loop - i want direct access to name +
  url in the marks dict! how?
2014-10-15 11:54:10 +02:00
Florian Bruhin
da0d81e700 Remove warning about crash log.
This was a leftover from dcad41c92e
2014-10-15 07:34:13 +02:00
Florian Bruhin
fb3682f5fa Load completion with a singleShot QTimer.
It still slows stuff down while typing, but at least it's a lot more responsive
for the initial load.

See #189.
2014-10-15 07:15:59 +02:00
Florian Bruhin
a8808aa3d4 Keep a reference to completion source model.
For some reason calling sourceModel() takes quite some time, which accounts for
about 1-2s of delay when showing the completion.

This matters for #189 for example.
2014-10-15 07:06:39 +02:00
Florian Bruhin
b8bf870233 Merge branch 'claudehohl-master' (bookmarks importer) 2014-10-15 06:41:41 +02:00
Florian Bruhin
7adf756326 importer: Add help message about Chromium 2014-10-15 06:24:45 +02:00
Florian Bruhin
2874cdea22 importer: Add module docstring 2014-10-15 06:20:54 +02:00
Florian Bruhin
ea332d65ea importer: Fix printing of usage 2014-10-15 06:19:15 +02:00
Florian Bruhin
6489186342 importer: Add docstrings. 2014-10-15 06:18:43 +02:00
Florian Bruhin
7731547d80 importer: Clean up string formatting 2014-10-15 06:17:52 +02:00
Florian Bruhin
2d7ea2e1fa importer: Import cleanup 2014-10-15 06:17:00 +02:00
Florian Bruhin
78d5532227 importer: Use built-in open 2014-10-15 06:16:42 +02:00
Florian Bruhin
abab935ca8 importer: Whitespace cleanup 2014-10-15 06:16:12 +02:00
Florian Bruhin
f9b4dbc9cb importer: Use choices=... for argparse 2014-10-15 06:15:50 +02:00
Florian Bruhin
7cebc94b31 Merge branch 'master' of https://github.com/claudehohl/qutebrowser into claudehohl-master 2014-10-15 06:13:25 +02:00
Florian Bruhin
818d2cb9d3 Split quickmarks correctly (from the right).
This was discovered in #189.
2014-10-14 23:29:24 +02:00
Florian Bruhin
9c3650296c Add a simple wrapper around Qt's app.exec_().
This improves faulthandler tracebacks.
2014-10-14 21:25:21 +02:00
Florian Bruhin
fed1566370 Remove cookies when permissions->cookies-store was changed.
Fixes #116.
2014-10-14 21:24:09 +02:00
Florian Bruhin
1c6578d409 Save lineparser even if there is no data. 2014-10-14 21:23:46 +02:00
Florian Bruhin
7a1dfebc6a Remove unused faulthandler import. 2014-10-14 21:23:07 +02:00
Florian Bruhin
dcad41c92e Never delete crash log file.
We also want to log to the crash log when segfaults happen during exit.
2014-10-14 20:48:21 +02:00
Florian Bruhin
cf6d303ad1 Improve crash log handling because of single-instance. 2014-10-14 20:47:06 +02:00
Florian Bruhin
bfcb309460 Clear favicon correctly when loading a new page.
This was accidentally deleted in e608ccbe36
Fixes #187.
2014-10-14 18:54:28 +02:00
Florian Bruhin
1c551975c4 Check if currentWidget is None in tabbed_browser.on_mode_left.
Fixes #186.
2014-10-14 17:50:50 +02:00
Florian Bruhin
6d2111bcd4 Add checklists to HACKING for #173. 2014-10-14 17:29:11 +02:00