Commit Graph

1700 Commits

Author SHA1 Message Date
Florian Bruhin
a555aa66a0 Hide completion if there are no items 2014-06-03 10:46:58 +02:00
Florian Bruhin
e294c01d7d Fix lint 2014-06-03 10:44:19 +02:00
Florian Bruhin
3f0682e5a9 Mark items after filtering 2014-06-03 10:37:04 +02:00
Florian Bruhin
b10f375814 Add item_count method to CompletionFilterModel 2014-06-03 10:16:31 +02:00
Florian Bruhin
ce8ada5024 Get rid of self._completing in completion 2014-06-03 10:06:50 +02:00
Florian Bruhin
8914614f7b Always update completion when cursor position changed 2014-06-03 10:05:01 +02:00
Florian Bruhin
e741744f1d Clear _empty_item_idx correctly. 2014-06-03 09:51:20 +02:00
Florian Bruhin
f2c60c01ae More logging 2014-06-03 09:50:53 +02:00
Florian Bruhin
f82fa297b0 Insert fake empty element when cursor is between spaces.
Known problems:
    - This doesn't work when moving the cursor away from the spaces and moving
      it back; then the completion pattern is wrong.
    - When moving the cursor away from the spaces, the completion isn't updated
      properly.
2014-06-03 07:36:28 +02:00
Florian Bruhin
98b967abaa Completion logging improvements 2014-06-03 06:58:18 +02:00
Florian Bruhin
9bee827d52 Return [''] when splitting empty cmdline 2014-06-03 06:55:08 +02:00
Florian Bruhin
2eb26c96c4 More command splitting cleanup 2014-06-03 06:55:08 +02:00
Florian Bruhin
1d2d435231 Move split_cmdline() out of commands.managers 2014-06-03 06:55:08 +02:00
Florian Bruhin
0c1f611a72 Fix lint 2014-06-03 06:55:08 +02:00
Florian Bruhin
34946d031b Whitespace fix 2014-06-03 06:55:08 +02:00
Florian Bruhin
a389b0f688 Add a quick-complete option.
This moves to the next commandline part when completing if there's only
one possible completion.
2014-06-03 06:55:07 +02:00
Florian Bruhin
749e330383 Ignore completion updates while completing 2014-06-03 06:55:07 +02:00
Florian Bruhin
1928add992 Remove cursor_part_changed signal. 2014-06-03 06:55:07 +02:00
Florian Bruhin
f9eb2af979 Fix cursor position after completing. 2014-06-03 06:55:07 +02:00
Florian Bruhin
1bb757a39e Update cursor part in on_text_edited 2014-06-03 06:55:07 +02:00
Florian Bruhin
962a83b592 Handle parts/prefix in statusbar.command widget 2014-06-03 06:55:07 +02:00
Florian Bruhin
dc655dd40b First try at using cursor position 2014-06-03 06:55:07 +02:00
Florian Bruhin
4d0649a825 Let qt function parsing be more forgiving 2014-06-03 06:54:55 +02:00
Florian Bruhin
6d50ebae49 Less verbose exception logging 2014-06-02 23:29:01 +02:00
Florian Bruhin
2286d1d65a Handle Qt warning category in log handler 2014-06-02 23:16:09 +02:00
Florian Bruhin
6fedc53a4d Suppress libpng warning about color profiles 2014-06-02 23:10:21 +02:00
Florian Bruhin
8aff446a30 Refine dead actute meta-warning 2014-06-02 23:07:46 +02:00
Florian Bruhin
b415773cc7 Use custom Qt message handler 2014-06-02 22:43:32 +02:00
Florian Bruhin
c5230dc347 Use logging system for python warnings 2014-06-02 22:19:35 +02:00
Florian Bruhin
da2d8e1048 Log js console messages as debug, not info 2014-06-02 22:18:41 +02:00
Florian Bruhin
2bf14ac980 Alter pylint function-rgx to accept setUpModule and tearDownModule 2014-06-02 18:47:02 +02:00
Florian Bruhin
3a43f19472 Remove generate_manpage from master for now 2014-06-02 18:38:18 +02:00
Florian Bruhin
fb7f1b381e Fix lint 2014-06-02 18:01:56 +02:00
Florian Bruhin
ce7595639a Start implementing docstring parsing for generate_manpage 2014-05-28 16:29:29 +02:00
Florian Bruhin
17dd85be85 Add generate_manpage 2014-05-27 17:56:48 +02:00
Florian Bruhin
0253dd6977 Catch empty standard paths 2014-05-27 16:28:01 +02:00
Florian Bruhin
161b2ef7af Fix whitespace/CRLF 2014-05-27 16:24:26 +02:00
Florian Bruhin
0cac061feb Clear logger handlers for log tests 2014-05-27 16:23:27 +02:00
Florian Bruhin
1ff193e4dd Replace page_ by page() 2014-05-27 16:04:45 +02:00
Florian Bruhin
0976f95db7 Fix docstring 2014-05-27 15:56:44 +02:00
Florian Bruhin
13cb5ddb31 Nicer qute:version with copyright info. 2014-05-27 15:46:39 +02:00
Florian Bruhin
01f28f3e0f Add -V/--version argument. 2014-05-27 15:46:21 +02:00
Florian Bruhin
371c2b998a Add more meta-info to qutebrowser/__init__.py 2014-05-27 15:45:58 +02:00
Florian Bruhin
7fa65a0f1e Add GPL to version output 2014-05-27 15:33:44 +02:00
Florian Bruhin
53655dac02 Don't inherit CommandDispatcher from QObject 2014-05-27 15:12:43 +02:00
Florian Bruhin
2fe5ae413b Fix readline rl_kill_line 2014-05-27 14:58:23 +02:00
Florian Bruhin
404ba37a0a Add tests for readline 2014-05-27 14:58:07 +02:00
Florian Bruhin
0130a15efe Add more RAMHandlerTests. 2014-05-27 13:49:55 +02:00
Florian Bruhin
b76004e7a1 Add tests for LogFilter 2014-05-27 13:36:11 +02:00
Florian Bruhin
b0a131eb1c Add docstrings to tests 2014-05-27 13:06:13 +02:00