Commit Graph

1716 Commits

Author SHA1 Message Date
Florian Bruhin
298e757991 Fix qt warning regex 2014-06-03 17:01:42 +02:00
Florian Bruhin
cc1ea76d9d Clean up shutdown 2014-06-03 16:48:21 +02:00
Florian Bruhin
04c3a912e8 Uninstall Qt message handler on quit.
This caused segfaults while exiting for some reason.
2014-06-03 15:19:48 +02:00
Florian Bruhin
ec25821fae _foo.py file rename [2/2] 2014-06-03 15:01:57 +02:00
Florian Bruhin
fa1e03f56b _foo.py file rename [1/2] 2014-06-03 14:57:57 +02:00
Florian Bruhin
70575d61f9 Check for set_trace in scripts 2014-06-03 14:52:53 +02:00
Florian Bruhin
a4c3ce6bdc Fix lint 2014-06-03 14:34:38 +02:00
Florian Bruhin
813783d976 Get rid of _lastmodel in completer 2014-06-03 13:50:13 +02:00
Florian Bruhin
0f41366269 Fix lint 2014-06-03 13:48:12 +02:00
Florian Bruhin
02e92fd0ed Move set_model logging to completer 2014-06-03 13:42:29 +02:00
Florian Bruhin
968bb3d430 Move selection_changed to Completer 2014-06-03 13:37:11 +02:00
Florian Bruhin
7d440426eb Move on_update_completion 2014-06-03 12:59:50 +02:00
Florian Bruhin
2648f283b9 Get rid of _model in completion widget 2014-06-03 12:53:07 +02:00
Florian Bruhin
ff06e753df Start moving stuff to Completer 2014-06-03 12:51:23 +02:00
Florian Bruhin
58c1646e9b Shrink completion if configured to do so 2014-06-03 11:39:53 +02:00
Florian Bruhin
c7b2ff4db5 Make item_count a @property 2014-06-03 10:48:47 +02:00
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