Florian Bruhin
b30ca6bcb6
Don't record command history in private mode.
...
Fixes #43 .
2014-12-10 13:19:42 +01: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
596c33fe1c
Merge branch 'quickmark-completion'
2014-10-20 00:29:46 +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
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
dc8f156c21
Make srcmodel public in CompletionFilterModel.
2014-10-15 20:43:20 +02:00
Claude
37023fe896
Improved qmarks model filling
...
thx to the fix from The-Compiler!
2014-10-15 12:16:05 +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
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
61a836fec5
Merge DownloadModel into DownloadManager.
2014-10-08 20:18:44 +02:00
Florian Bruhin
6349a6a213
Remove Emit:/Raise: from docstrings.
...
They got out-of-sync fast and provided no real benefit.
2014-10-07 23:08:37 +02:00
Florian Bruhin
64a119afb2
Don't use signals for on_config_changed.
2014-09-28 11:27:52 +02:00
Florian Bruhin
0fadf6b091
Use a list as items-argument for usertypes.enum
2014-09-28 00:42:53 +02:00
Florian Bruhin
36fd2e5c7f
Improve __repr__ methods.
2014-09-26 15:48:24 +02:00
Florian Bruhin
f2b46dc2e9
Remove srcmodel attribute from completionfilter.
2014-09-24 22:25:11 +02:00
Florian Bruhin
3f02451828
Move object registry to its own file.
2014-09-24 07:06:45 +02:00
Florian Bruhin
2b60cdb64c
Object names cleanup
2014-09-23 23:05:55 +02:00
Florian Bruhin
b818bc5896
Use object registry for downloadmanager.
2014-09-23 22:22:03 +02:00
Florian Bruhin
8af8e3530f
Use object registry for args.
2014-09-23 22:13:10 +02:00
Florian Bruhin
381b06e967
Fix lint
2014-09-08 07:44:32 +02:00
Florian Bruhin
5e6150e665
Add a :help command.
2014-09-08 07:36:18 +02:00
Florian Bruhin
ccfc0b3c19
Get rid of most @property's.
...
They were problematic because they're executing hidden code, and also PyQt
hides exceptions happening inside them.
2014-09-02 23:37:47 +02:00
Florian Bruhin
ce4a5affa4
Rename commands.utils to commands.cmdutils.
2014-08-26 20:48:39 +02:00
Florian Bruhin
8bd64382bd
Rename utils.qt to utils.qtutils.
2014-08-26 20:25:11 +02:00
Florian Bruhin
b4298c2922
Remove 'as logger' imports.
2014-08-26 20:15:41 +02:00
Florian Bruhin
e04b31eb90
Remove qt_ prefix from qtutils functions.
2014-08-26 19:23:06 +02:00
Florian Bruhin
d625cde28c
Clean up imports
2014-08-26 19:10:14 +02:00
Florian Bruhin
b9e4dd282c
cmdhistory: Make history public.
2014-08-13 06:53:02 +02:00
Florian Bruhin
7063f2445c
cmdhistory: Make History more modular.
2014-08-07 14:39:42 +02:00
Florian Bruhin
f8c995d58d
Support multiline setting descriptions.
2014-08-02 22:53:57 +02:00
Florian Bruhin
8d80ce2628
Switch to python 3.4 enums.
...
Our home-brewn enum wasn't really liked by pylint (many no-member errors), so
instead of adding some workaround, we just use the python 3.4 enum instead.
This however also means we need to depend on Python 3.4 and not 3.3. Maybe we
should use enum34 on Python < 3.3.
2014-07-28 20:41:42 +02:00
Florian Bruhin
a083fe69db
Add a :report command
2014-06-25 22:22:30 +02:00
Florian Bruhin
359e4bab6f
Fix value models when config changed.
2014-06-23 16:43:04 +02:00
Florian Bruhin
8a8ca0c34f
Split utils.misc into utils.{qt,misc}
2014-06-23 07:45:04 +02:00
Florian Bruhin
3443364de1
Fix lint
2014-06-23 07:12:19 +02:00
Florian Bruhin
c77ad57a42
Don't log missing config descriptions
2014-06-22 23:55:48 +02:00