Commit Graph

401 Commits

Author SHA1 Message Date
Florian Bruhin
4999a59470 Add pastebin button to crash dialog 2014-05-06 15:36:15 +02:00
Florian Bruhin
5656921a22 Don't add empty URLs to URL stack 2014-05-06 14:08:40 +02:00
Florian Bruhin
de7c6a63b4 Fix shutdown of networkmanager 2014-05-06 10:53:38 +02:00
Florian Bruhin
e02b84d7ef Add some debug logging for click targets 2014-05-06 09:09:23 +02:00
Florian Bruhin
42c1ea5788 Rename _tabopen to tabopen and tabopen to tabopen_cmd 2014-05-06 08:53:40 +02:00
Florian Bruhin
f8195dc600 Connect tab.open_tab to correct internal slot. 2014-05-06 08:51:10 +02:00
Florian Bruhin
e5000c315d Revert "Use global HintManager"
This reverts commit a76d68f564.

WTF. I thought I reset --hard-ed that one?
2014-05-06 07:11:20 +02:00
Florian Bruhin
a76d68f564 Use global HintManager 2014-05-05 20:28:29 +02:00
Florian Bruhin
c8fd0937b0 Revert "Use global object dict for global objects"
This reverts commit bf2c7831c8.

This was a bad idea as we need to access some of the main attributes
from commands via instance=...
2014-05-05 20:12:20 +02:00
Florian Bruhin
bf2c7831c8 Use global object dict for global objects 2014-05-05 19:12:47 +02:00
Florian Bruhin
667b255d01 Use QApplication for global singletons 2014-05-05 17:56:14 +02:00
Florian Bruhin
ae95b5ea3b Basic cookie handling 2014-05-05 16:28:43 +02:00
Florian Bruhin
85c4bb823f Fix lint 2014-05-05 10:09:19 +02:00
Florian Bruhin
4ebe643ea6 Use simple enums for constants 2014-05-05 07:45:36 +02:00
Florian Bruhin
4ff5431436 Fix checks 2014-05-04 01:33:01 +02:00
Florian Bruhin
ec6066c7ba Show favicons 2014-05-04 01:28:34 +02:00
Florian Bruhin
8ada39ff8b Add focus_tab command 2014-05-03 00:32:43 +02:00
Florian Bruhin
c33fc62d2f Fix lint 2014-05-02 17:53:59 +02:00
Florian Bruhin
5933585a23 Resize model columns properly by hand 2014-05-02 16:23:35 +02:00
Florian Bruhin
204cffc4cf Add logging when tabbing 2014-05-02 15:24:36 +02:00
Florian Bruhin
cbb9a2656f Spelling fix 2014-05-02 15:24:26 +02:00
Florian Bruhin
b961cb8907 Regenerate CommandCompletionModel if necessary. 2014-05-02 15:23:25 +02:00
Florian Bruhin
b74a97580f Handle completions for ValueList sections correctly 2014-05-02 14:18:40 +02:00
Florian Bruhin
be467d5e50 Refactor command argument splitting.
This uses split=True/False as cmdutils.register argument again (because
we would never want to set maxsplit ourselves, only not splitting the
*last* argument makes any sense.

Also this uses shlex for splitting again, like earlier.
2014-05-02 10:28:41 +02:00
Florian Bruhin
de5f85982f Add new _tabopen method for tabopen and backtabopen. 2014-05-02 10:11:47 +02:00
Florian Bruhin
4137e5de53 Don't use QShortcut for space scrolling 2014-05-01 23:25:51 +02:00
Florian Bruhin
3babead395 Don't crash if frame is none in mouseDownEvent 2014-05-01 21:35:24 +02:00
Florian Bruhin
427fe0b8fb Make tab seperator 2px broad 2014-05-01 21:30:29 +02:00
Florian Bruhin
5d80831752 prevpage/nextpage updates 2014-05-01 16:35:26 +02:00
Florian Bruhin
533d82417e Refactor completion handling 2014-05-01 00:23:53 +02:00
Florian Bruhin
b04adca059 Scroll to first item when wrapping completion 2014-04-30 13:52:16 +02:00
Florian Bruhin
7ce0bd8bc8 Force textEdited emit on set_cmd_text 2014-04-30 12:06:23 +02:00
Florian Bruhin
f1942b0ce0 Use selectionChanged to select completions 2014-04-30 12:03:24 +02:00
Florian Bruhin
adfc96cdfa completion: Use textEdited instead of textChanged
This gets rid of _ignore_next and some unneeded logic, since textEdited
won't even emit if we edited it programatically.
2014-04-30 11:52:30 +02:00
Florian Bruhin
1eabbfbfcf Replace QAbstractItemModel by QStandardItemModel.
This is probably the most depressing commit ever.

For some reason I didn't find this while searching for models I could
use and rolled my own one. This uses A LOT less code, and is A LOT
faster...
2014-04-30 07:32:51 +02:00
Florian Bruhin
8474bbdf6a Rename and reorder config options 2014-04-27 21:21:14 +02:00
Florian Bruhin
9252ef94ca Consistent string chars 2014-04-25 16:53:23 +02:00
Florian Bruhin
da91907656 Unfiy completions into single file 2014-04-25 12:29:00 +02:00
Florian Bruhin
875666265b s/BrowserTab/WebView/g 2014-04-25 12:24:26 +02:00
Florian Bruhin
6e78f67a81 Rename keyinput stuff 2014-04-25 12:21:01 +02:00
Florian Bruhin
d4b35b6734 Rename {Command,Seach}Parser to *Manager 2014-04-25 12:04:11 +02:00
Florian Bruhin
937196e287 Rename package-private modules to _foo.py 2014-04-25 11:50:30 +02:00
Florian Bruhin
f437bc25bf Fix lint/cleanup 2014-04-25 11:21:00 +02:00
Florian Bruhin
7787a67c45 Add modes=[]/not_modes=[] to cmdutils.register 2014-04-25 10:10:58 +02:00
Florian Bruhin
43c8a96621 s/command_item/completion_item/ 2014-04-25 09:28:02 +02:00
Florian Bruhin
2d0225a292 Hide command_item_{prev,next} 2014-04-25 09:27:30 +02:00
Florian Bruhin
aeb4980f7e Also handle Return via config 2014-04-25 09:26:52 +02:00
Florian Bruhin
74374df5fd Leave command mode on return press 2014-04-25 09:24:40 +02:00
Florian Bruhin
a29a9a9b70 Handle Command widget based on modes, not focus 2014-04-25 08:38:11 +02:00
Florian Bruhin
55a8da7f1b Start using KeyParser for command mode 2014-04-25 07:50:21 +02:00