Commit Graph

6677 Commits

Author SHA1 Message Date
Florian Bruhin
bc6c97a672 First implementation of sizeHint for completion.
This implements the sizeHint method of CompletionItemDelegate, however
this doesn't seem to work correctly yet. Only a few size hints get
called when using resizeColumnToContents...
2014-02-06 06:42:12 +01:00
Florian Bruhin
748a28be1c completion resizeHint: adjust for scrollbar 2014-02-05 18:05:08 +01:00
Florian Bruhin
444b813cf5 Clear signal cache on loadStarted 2014-02-05 17:27:57 +01:00
Florian Bruhin
8e35fb5656 Fix signal cache 2014-02-05 17:19:52 +01:00
Florian Bruhin
0477df72b7 Don't output debug strings for cur_progress signals 2014-02-05 16:03:32 +01:00
Florian Bruhin
0005c1d0a7 Fix browser eventFilter/scroll hack 2014-02-05 15:59:54 +01:00
Florian Bruhin
ac33da82a2 Add more debug info to _filter_signals warning 2014-02-05 15:31:09 +01:00
Florian Bruhin
96cfdfc96c Remove statusBarMessage FIXME 2014-02-05 15:21:24 +01:00
Florian Bruhin
81c65dbe97 Handle title changes correctly 2014-02-05 15:17:58 +01:00
Florian Bruhin
43edb7bb9b Debug logging for qurl handling, handle about: correctly 2014-02-05 15:17:29 +01:00
Florian Bruhin
14288977d1 Use functools instead of lambda for _filter_signals 2014-02-05 14:21:55 +01:00
Florian Bruhin
81da8b6aaa Introduce the concept of a signal cache in browser.
The latest cur_* signal emitted by each tab will be re-emitted now when
this tab gets the focus. This should fix the problem with stale data in
the statusbar.
2014-02-05 14:01:16 +01:00
Florian Bruhin
31707a7dd4 Add --debug argument 2014-02-05 12:46:35 +01:00
Florian Bruhin
fc7caee370 Crash more reliably (lol'd) 2014-02-05 11:40:30 +01:00
Florian Bruhin
888c1690de Add FIXME in _handle_single_key 2014-02-05 11:20:33 +01:00
Florian Bruhin
43c2e21daa Avoid code duplication in KeyParser 2014-02-05 11:08:11 +01:00
Florian Bruhin
9c19fd21d6 Implement handling keys with modifiers 2014-02-05 10:54:56 +01:00
Florian Bruhin
630ff1cbf6 Remove obsolete desc from docstring 2014-02-05 08:35:00 +01:00
Florian Bruhin
539fdc9d17 More TODO updates 2014-02-05 06:57:16 +01:00
Florian Bruhin
645d142412 Update TODO 2014-02-05 06:54:28 +01:00
Florian Bruhin
ece03740a0 Do more checks in run_checks.py 2014-02-04 22:10:27 +01:00
Florian Bruhin
1f6ae3e0ed Add possible workaround for model invalidate(). 2014-02-04 20:59:39 +01:00
Florian Bruhin
a0bcfe1960 Add FIXME for self.invalidate() 2014-02-04 18:46:33 +01:00
Florian Bruhin
49a3b57544 Fix checks 2014-02-04 18:44:32 +01:00
Florian Bruhin
89bd255be1 Set _pattern (not pattern) in filter model __init__ 2014-02-04 18:37:54 +01:00
Florian Bruhin
109522e43f Save sourceModel(). 2014-02-04 18:37:35 +01:00
Florian Bruhin
c32ba2f2c8 Only invalidate filter after filtering.
This might avoid some odd segfaults, but it also means sorting won't
work properly.
2014-02-04 13:32:22 +01:00
Florian Bruhin
1f59a00808 Change how resorting is done.
This avoids the pattern_changed signal and does the resorting in the
model directly (where it belongs) instead.
2014-02-04 13:19:55 +01:00
Florian Bruhin
3a3a63c000 Avoid using internalPointer in CompletionModel.
This maybe fixes these weird segfaults.

Based on:
http://python.6.x6.nabble.com/segfault-when-using-a-proxy-and-SIGNAL-quot-clicked-QModelIndex-quot-td1921384.html
2014-02-04 11:05:34 +01:00
Florian Bruhin
bf6290cfc8 Merge branch 'master' of ssh://the-compiler.org:2323/qutebrowser 2014-02-04 07:52:04 +01:00
Florian Bruhin
6e6fa09f60 Add plugin 2014-02-04 07:42:45 +01:00
Florian Bruhin
0adf8d6b53 Call resizeEvent before resizing column for completion 2014-02-01 22:03:06 +01:00
Florian Bruhin
b6126a49a9 Maybe fix completion resize, add debugging. 2014-02-01 21:03:06 +01:00
Florian Bruhin
ef5d034278 Support -c '' again 2014-02-01 20:55:37 +01:00
Florian Bruhin
c4edc6f5da Make sure to save config on crash 2014-01-31 15:58:14 +01:00
Florian Bruhin
85646af2d0 Show webkit version in version info 2014-01-31 15:54:12 +01:00
Florian Bruhin
0cbb574ced Refactor crashdialog setText 2014-01-31 10:30:18 +01:00
Florian Bruhin
89738bce7d Improve crash dialog 2014-01-31 10:24:00 +01:00
Florian Bruhin
7cde8f00cb Set MainWindow size on start 2014-01-31 10:11:59 +01:00
Florian Bruhin
9dafc67567 Update TODO 2014-01-30 23:09:54 +01:00
Florian Bruhin
053ce35032 Hopefully sane default config handling.
This now reads the values from the config, and from a default config if
it's not overridden.
2014-01-30 23:05:39 +01:00
Florian Bruhin
a6db387ef7 Make tabs movable 2014-01-30 22:29:26 +01:00
Florian Bruhin
725106e8ff Add FIXME for settings to tabbar.py 2014-01-30 22:29:13 +01:00
Florian Bruhin
06c8f2d03a Set sensible sizePolicies everywhere 2014-01-30 22:29:01 +01:00
Florian Bruhin
5366186dd1 Small CrashDialog improvements 2014-01-30 21:32:31 +01:00
Florian Bruhin
2c276b98a4 Handle exceptions with a crash dialog. 2014-01-30 21:22:56 +01:00
Florian Bruhin
a71684ea0f Add version() to utils to get version/about infos 2014-01-30 21:11:30 +01:00
Florian Bruhin
c3ce167926 Allow commands/URLs to be passed as arguments. 2014-01-30 21:11:30 +01:00
Florian Bruhin
c6b21b27b5 Fix statusbar sizing 2014-01-30 21:08:01 +01:00
Florian Bruhin
a8b64d6971 Update pylint ignores 2014-01-30 21:08:01 +01:00