Florian Bruhin
1ca80fec8e
Make stuff run again
2014-05-15 19:02:20 +02:00
Florian Bruhin
d3eaeaac91
First steps at getting rid of signal cache
2014-05-15 17:57:08 +02:00
Florian Bruhin
0d104b5813
Revert "Open startpage with :tabopen/:backtabopen if no URL is given"
...
This reverts commit 68556a0e87
.
This broke keybindings with partial commands, e.g. o/O.
2014-05-15 16:54:08 +02:00
Florian Bruhin
68556a0e87
Open startpage with :tabopen/:backtabopen if no URL is given
2014-05-15 16:32:00 +02:00
Florian Bruhin
326280f910
Fix consistency and spelling in docstrings/comments
2014-05-15 16:27:34 +02:00
Florian Bruhin
537c45f518
Check zoom percentage is >= 0%
2014-05-15 15:41:54 +02:00
Florian Bruhin
659fe5126b
Display error dialog when started after segfault
2014-05-15 12:20:03 +02:00
Florian Bruhin
8fe4000e41
Split CrashDialog into ExceptionCrashDialog and _CrashDialog
2014-05-15 11:56:22 +02:00
Florian Bruhin
ec75382a6d
Allow text in crash dialog to be copied
2014-05-15 10:54:24 +02:00
Florian Bruhin
5a6326922e
Don't cache cur_ssl_errors
2014-05-15 10:50:07 +02:00
Florian Bruhin
d801c35e3f
Fix typo
2014-05-15 00:03:54 +02:00
Florian Bruhin
b96efddbdc
Make tab close buttons work
2014-05-15 00:02:40 +02:00
Florian Bruhin
603fbdf239
Range-check all values passed to C code.
2014-05-15 00:02:20 +02:00
Florian Bruhin
daf42fdc0d
Split WebView.mouseEvent into smaller chunks
2014-05-14 20:59:21 +02:00
Florian Bruhin
a045511962
Use exceptions for command errors
2014-05-14 18:00:40 +02:00
Florian Bruhin
876dcad28f
Fix some more escaped quotes
2014-05-13 22:18:59 +02:00
Florian Bruhin
f448aeebda
Use property to iterate over tabs
2014-05-13 21:25:16 +02:00
Florian Bruhin
c52caa1427
Leave hint mode when page loading started.
2014-05-13 11:17:36 +02:00
Florian Bruhin
d9bb1e904f
Support back/forward mouse buttons
2014-05-13 09:53:29 +02:00
Florian Bruhin
4b78e9a9f5
Add missing docstring
2014-05-13 07:11:46 +02:00
Florian Bruhin
55ea24e431
Split statusbar into multiple files
2014-05-13 07:10:50 +02:00
Florian Bruhin
3c4866f3d9
Add show-favicons option
2014-05-12 23:03:55 +02:00
Florian Bruhin
297a0e65c4
Work around the tabbar cut font issue
2014-05-12 21:23:16 +02:00
Florian Bruhin
fd6e739281
Change _error and _urltype to class attributes.
2014-05-12 18:35:26 +02:00
Florian Bruhin
0c4e7c5fe3
Fix class name in url stylesheet
2014-05-12 18:35:16 +02:00
Florian Bruhin
512625cee1
Support to show SSL status with URL color
2014-05-12 18:00:44 +02:00
Florian Bruhin
c76819a8b0
Use loggings.warning instead of warn
2014-05-12 17:39:17 +02:00
Florian Bruhin
c3816b2820
Make min/max tab width configurable
2014-05-12 16:04:43 +02:00
Florian Bruhin
7b2961f23e
Fix some backslash-quotes
2014-05-12 15:58:09 +02:00
Florian Bruhin
31a1e91866
Make hitTestResult work with frames correctly
2014-05-12 08:28:44 +02:00
Florian Bruhin
c2af513ae2
Split CompletionDelegate into own file
2014-05-09 20:25:16 +02:00
Florian Bruhin
5f1cb2ede3
Restyle completion to be dark
2014-05-09 20:25:16 +02:00
Florian Bruhin
6417c7d875
Turn off horizontal scrollbar in completer
2014-05-09 19:12:46 +02:00
Florian Bruhin
5a6208862e
Add cmdutils.arg_or_count
2014-05-09 19:12:08 +02:00
Florian Bruhin
63ce8e0966
Set min-/max-width for tabs
2014-05-09 17:59:13 +02:00
Florian Bruhin
edc9d0810c
Use QCoreApplication.instance()
2014-05-09 17:01:05 +02:00
Florian Bruhin
3c098060d1
Don't handle auto-insert-mode when not needed
2014-05-09 16:43:08 +02:00
Florian Bruhin
5044f98f2e
Don't leave insert mode when loading finished
2014-05-09 16:36:53 +02:00
Florian Bruhin
502cb20c2d
Only leave insert mode if mainFrame started loading
2014-05-09 16:18:04 +02:00
Florian Bruhin
59a89d31fe
Add reasons why modes are entered/left
2014-05-09 16:03:46 +02:00
Florian Bruhin
91d1be1020
Split tab_move into _tab_move_absolute/relative
2014-05-09 15:52:03 +02:00
Florian Bruhin
1785294a43
Fix some lint
2014-05-09 15:30:27 +02:00
Florian Bruhin
f7e6dc0244
Add zoom command.
2014-05-09 14:20:26 +02:00
Florian Bruhin
4361220a48
Add bindings for xo/xO (backtabopen(cur))
2014-05-09 12:10:03 +02:00
Florian Bruhin
96d456fdee
New command: tab_focus_last / Ctrl-Tab
2014-05-09 11:58:49 +02:00
Florian Bruhin
4e7eb41cb9
Add command tab_move (gm/gl/gr)
2014-05-09 11:47:25 +02:00
Florian Bruhin
87e94a2c68
Add T command / refactor focus_tab
2014-05-09 11:29:25 +02:00
Florian Bruhin
e6af8bb7ae
Add only/co command
2014-05-09 11:24:33 +02:00
Florian Bruhin
8fc12fea5f
Refactor tabclose
2014-05-09 11:20:17 +02:00
Florian Bruhin
ed0d0d8ff7
Handle tab titles via onUrlChanged
2014-05-08 21:04:27 +02:00
Florian Bruhin
bf19cb7536
Add window-open-behaviour setting
2014-05-08 20:43:40 +02:00
Florian Bruhin
e2a2ed8850
Support QWebView::createWindow (opening windows via js)
2014-05-08 20:36:05 +02:00
Florian Bruhin
586455bbad
Fix scrollbar click bug
2014-05-08 11:50:46 +02:00
Florian Bruhin
214cda91bd
Nicer error messages for focus_tab
2014-05-08 09:03:48 +02:00
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
Florian Bruhin
9ab8f42e20
s/commandmode/normalmode
2014-04-24 21:37:51 +02:00
Florian Bruhin
9320c813f7
Add set_cmd_text to MessageBridge
2014-04-24 21:28:24 +02:00
Florian Bruhin
c674d96cfe
Reorganize input modules into keyinput subpackage
2014-04-24 21:03:45 +02:00
Florian Bruhin
6f7391d7d1
Leave insert mode in loadStarted
2014-04-24 19:06:51 +02:00
Florian Bruhin
b372c23b80
Move hint webelem code to utils.webelem
2014-04-24 16:30:59 +02:00
Florian Bruhin
6fb52e610d
Leave insert mode when loadFinished with ok=False
2014-04-24 16:27:18 +02:00
Florian Bruhin
1c5ae25b68
Start implementing auto_insert_mode
2014-04-24 16:03:16 +02:00
Florian Bruhin
10d7d887ec
Pass keypresses to statusbar correctly
2014-04-24 15:47:38 +02:00
Florian Bruhin
b3418cae5d
Improve _is_editable()
2014-04-24 13:13:58 +02:00
Florian Bruhin
a82ab6d707
Go to insert mode when plugin clicked
2014-04-24 07:41:20 +02:00
Florian Bruhin
95691e1e11
Show passthrough modes in statusbar
2014-04-24 06:59:39 +02:00
Florian Bruhin
3d292fbc27
Use a stack for current modes
2014-04-24 06:44:58 +02:00
Florian Bruhin
f3db29c010
Enter normal mode when clicking non-editable elem
2014-04-23 23:26:02 +02:00
Florian Bruhin
b4b9b6c69d
Enter/leave command mode for Command widget
2014-04-23 23:25:06 +02:00
Florian Bruhin
8f44b56923
Start implementing eventFilter in ModeManager
2014-04-23 23:20:39 +02:00
Florian Bruhin
a33c9827d6
Check for editable fields in mousePressEvent
2014-04-23 21:18:05 +02:00
Florian Bruhin
8b5daad367
Add ModeManager
2014-04-23 21:15:47 +02:00
Florian Bruhin
a67ed4d054
Override mousePressEvent instead of event
2014-04-23 07:34:23 +02:00
Florian Bruhin
7acd32a5d7
Display error when there's nothing to undo
2014-04-23 06:17:36 +02:00
Florian Bruhin
61802725a6
Actually use message.error for errors
2014-04-23 06:17:29 +02:00
Florian Bruhin
21bb9840d9
Simplify padding in Qt-CSS
2014-04-22 23:02:51 +02:00
Florian Bruhin
06ff2e00e9
Always draw categories correctly in completion
2014-04-22 21:38:06 +02:00
Florian Bruhin
fb9ac1bc4c
Restyle tabbar
2014-04-22 20:49:16 +02:00
Florian Bruhin
55e3aca702
linting cleanup
2014-04-22 17:53:27 +02:00
Florian Bruhin
8dfc44da59
Remove another FIXME
2014-04-22 15:58:44 +02:00
Florian Bruhin
76f4917ae9
Implement wrapping/message when switching tabs
2014-04-22 15:57:38 +02:00
Florian Bruhin
963066b4bd
Remove some old FIXMEs
2014-04-22 14:45:24 +02:00
Florian Bruhin
0de249e904
Support frames correctly in HintManager
2014-04-22 14:23:55 +02:00
Florian Bruhin
b794739d94
Remove unneeded assignment
2014-04-22 13:56:25 +02:00
Florian Bruhin
af1ba0edf6
Re-sort some functions
2014-04-22 10:45:07 +02:00
Florian Bruhin
1a68bdb9a9
Clean up signal connections
2014-04-22 10:40:33 +02:00
Florian Bruhin
78060fc879
Get rid of temp_message signal
2014-04-22 10:08:56 +02:00
Florian Bruhin
e1b7305e40
Get rid of unneeded text slots in statusbar
2014-04-22 10:00:43 +02:00
Florian Bruhin
d700d962af
Add the ability to display persistent messages.
2014-04-22 09:06:17 +02:00
Florian Bruhin
1740d4c60f
Ignore empty js statusbar messages.
2014-04-22 09:05:53 +02:00
Florian Bruhin
ba7f56f5e9
Add different hinting modes (yank, backtab, rapid)
2014-04-21 23:33:36 +02:00
Florian Bruhin
05e3fb8650
Add :backtabopen command
2014-04-21 23:33:19 +02:00
Florian Bruhin
1c5686f5e3
Handle crashes before config is loaded correctly
2014-04-21 21:09:15 +02:00
Florian Bruhin
695ab70d7c
Style fixes
2014-04-21 21:05:39 +02:00
Florian Bruhin
a6789095b3
Fix paste when clipboard is empty
2014-04-21 20:29:58 +02:00
Florian Bruhin
4f58d067b4
Clear errors when key is pressed
2014-04-21 20:21:42 +02:00
Florian Bruhin
a11b14fd2d
Implement more hinting modes
2014-04-21 19:29:11 +02:00
Florian Bruhin
0741326e5d
Make it possible to open tabs in background
2014-04-21 19:03:04 +02:00
Florian Bruhin
20dd33fb7a
Set focus on webview before processing click
2014-04-21 17:23:22 +02:00
Florian Bruhin
de0e96ab2d
Add clicking on links
2014-04-21 16:59:03 +02:00
Florian Bruhin
d7b87e09c9
Implement modes and hint input.
2014-04-21 15:24:19 +02:00
Florian Bruhin
5a3966ca82
Fix lint, add documentation
2014-04-21 11:03:43 +02:00
Florian Bruhin
e6569f946c
Add proof-of-concept hinting
2014-04-21 11:03:41 +02:00
Florian Bruhin
39f580d9f1
Cleanup
2014-04-17 17:44:27 +02:00
Florian Bruhin
975d83b50e
Respect inspector height for completion
2014-04-17 15:58:09 +02:00
Florian Bruhin
dea30e3f4d
Ensure developer extras are enabled for webinspector
2014-04-17 15:46:29 +02:00
Florian Bruhin
457e173592
More config cleanup.
...
This renames the config instance from "config" to "instance" and adds a
convenience get() function in the config module.
2014-04-17 15:26:27 +02:00
Florian Bruhin
b323706f5f
Use maxsplit (passed to str.split()) instead bool
2014-04-17 12:06:27 +02:00
Florian Bruhin
72340575af
Remove value from on_config_changed signal again.
...
Turns out this causes more trouble than it's worth, and it's unintuitive
from which layer we get the value.
2014-04-17 11:39:25 +02:00
Florian Bruhin
c0236b8d22
Use a proper separated model for cmd history
2014-04-17 11:08:14 +02:00
Florian Bruhin
6b72c3dbdf
Fix long line
2014-04-17 09:51:05 +02:00
Florian Bruhin
4b1dcbd82a
Refactor tab/browser widgets
2014-04-17 09:44:26 +02:00
Florian Bruhin
58ae1f7441
Add comment about CurCommandDispatcher
2014-04-17 08:24:59 +02:00
Florian Bruhin
57baafbf30
Change configdata from function to attribute
2014-04-16 16:32:14 +02:00
Florian Bruhin
2adcde1c89
Implement web inspector
2014-04-16 14:12:04 +02:00
Florian Bruhin
e878fc538d
Fix some checks
2014-04-16 10:02:34 +02:00
Florian Bruhin
4ca8cc9537
Add value to config.changed signal
2014-04-16 09:50:24 +02:00
Florian Bruhin
a410d56a78
Implement command history
2014-04-16 09:08:56 +02:00
Florian Bruhin
dad6451b7e
style fixes
2014-04-15 17:21:12 +02:00
Florian Bruhin
88b522fa16
Only clear selection model if it exists
2014-04-15 17:16:28 +02:00
Florian Bruhin
f959c0c137
Add completion for settings values
2014-04-14 17:54:11 +02:00
Florian Bruhin
44ce804bdf
Highlight all rows in completion
2014-04-13 23:06:41 +02:00
Florian Bruhin
27046b5186
Give completion items a bit more space
2014-04-13 22:35:55 +02:00
Florian Bruhin
f59f8cac6c
Clear completion model after an item is selected
2014-04-13 22:11:47 +02:00
Florian Bruhin
04807489b7
Update everything needed when config is changed
2014-04-10 23:30:45 +02:00
Florian Bruhin
aa616e5ac7
Start implementing config changed signal
2014-04-10 18:01:16 +02:00
Florian Bruhin
175eabdc80
Remove fallback values from config
2014-04-10 14:40:02 +02:00
Florian Bruhin
c5ca0e56be
Remove blank lines before """ in docstrings.
...
pep257 has changed in this regard so we reflect this change.
2014-04-10 14:21:27 +02:00
Florian Bruhin
c26430d08d
Remove annoying two-word completions
2014-04-10 06:58:58 +02:00
Florian Bruhin
782242de04
Fix marking of items
2014-04-09 21:21:15 +02:00
Florian Bruhin
18bcae40c5
Fix completing when text ends with space #2
2014-04-09 21:15:18 +02:00
Florian Bruhin
d485d8cc4e
Remove strech from statusbar
2014-04-09 21:11:11 +02:00
Florian Bruhin
7eb27c86ee
Fix some completion bugs
2014-04-09 20:57:25 +02:00
Florian Bruhin
3f7635619a
Complete multi-part values correctly
2014-04-09 17:54:41 +02:00
Florian Bruhin
3c343ecff7
Handle prefixes correctly in on_change_completed_part
2014-04-09 16:03:35 +02:00
Florian Bruhin
ad742d51d8
Set text correctly when completing
2014-04-09 07:14:26 +02:00
Florian Bruhin
fd3262e2ba
Move split_cmdline to commands.parsers
2014-04-09 07:07:32 +02:00
Florian Bruhin
deb286272c
Use command parser for completions
2014-04-09 06:58:17 +02:00
Florian Bruhin
361dc7d037
Fix checks and spellings
2014-04-07 17:20:14 +02:00
Florian Bruhin
c865cc1b84
Don't set pattern etc. when model is None
2014-03-26 20:20:09 +01:00
Florian Bruhin
3635a40c56
Always set model when needed.
2014-03-26 20:19:46 +01:00
Florian Bruhin
1132f7bb6c
Lint fixes
2014-03-24 11:48:56 +01:00
Florian Bruhin
678b4d54af
Refactor completion chosing
2014-03-24 11:37:41 +01:00
Florian Bruhin
a5702c781f
Actually append cmd text on append_cmd_text
2014-03-23 21:36:01 +01:00
Florian Bruhin
8ebd2929fd
Rename model to _model for completionview
2014-03-23 21:34:02 +01:00
Florian Bruhin
ea0ef4fb01
Add FIXME for backspacing
2014-03-23 21:15:17 +01:00
Florian Bruhin
cea6c0934f
Don't set model in init
2014-03-21 20:17:03 +01:00
Florian Bruhin
384e7c1927
Don't append space when completing
2014-03-21 20:12:49 +01:00
Florian Bruhin
b9492d0f1e
Revert "Remove ignore_next"
...
This reverts commit df6c1fd26d
.
2014-03-21 20:11:20 +01:00
Florian Bruhin
bd2aa2d723
Only change completion when necessary
2014-03-21 20:11:18 +01:00
Florian Bruhin
df6c1fd26d
Remove ignore_next
2014-03-21 20:02:17 +01:00
Florian Bruhin
fa6f464e23
Refactor completion model changing
2014-03-21 20:01:13 +01:00
Florian Bruhin
a643bcd617
Store complete model correctly
2014-03-21 19:19:55 +01:00
Florian Bruhin
ed4f168779
Attempt to use separate QSFPMs
2014-03-21 17:00:20 +01:00
Florian Bruhin
df26d4ad91
Completion pattern update
2014-03-10 00:39:15 +01:00
Florian Bruhin
ecf405c7af
Set source model properly
2014-03-10 00:39:15 +01:00
Florian Bruhin
e33b87f713
sourcemodel and logging updates
2014-03-10 00:39:15 +01:00
Florian Bruhin
bd4dba1ed3
Broken setting completion
2014-03-10 00:39:15 +01:00
Florian Bruhin
4e78775d3c
Fix checks
2014-03-10 00:39:14 +01:00
Florian Bruhin
98d15de460
Fix style issues
2014-03-10 00:39:14 +01:00
Florian Bruhin
f079d6bf3b
More config update/adoption
2014-03-10 00:39:14 +01:00
Florian Bruhin
6f093d33c1
Fix paste command
2014-03-04 16:52:56 +01:00
Florian Bruhin
9ee4e93e0a
Split browser.py into smaller files
2014-03-03 21:35:13 +01:00
Florian Bruhin
98fb1a0250
Remove unused imports
2014-03-03 21:24:33 +01:00
Florian Bruhin
97ae3adb4a
Working towards using getattr instead
2014-03-03 18:47:42 +01:00
Florian Bruhin
032ccb8b43
Try some broken component register foo
2014-03-03 17:56:53 +01:00
Florian Bruhin
b22b19d881
Start using (broken) decorators
2014-03-03 06:09:23 +01:00
Florian Bruhin
66852aa736
Add FIXME for CompletionItemDelegate
2014-02-26 21:54:24 +01:00
Florian Bruhin
a9a4b2ac92
Add profile.py
2014-02-26 21:18:53 +01:00
Florian Bruhin
4925d25c36
Remove wrong 'cur.' for BrowserTab
2014-02-24 17:37:48 +01:00
Florian Bruhin
76a627bb10
Move style related stuff to config.style
2014-02-23 18:15:08 +01:00
Florian Bruhin
3b648a4c0d
Move config to config subfolder
2014-02-23 18:14:40 +01:00
Florian Bruhin
b59f0e9a34
Rename types.py to usertypes.py
2014-02-23 16:30:07 +01:00
Florian Bruhin
5f78b96cb1
Move cur_* methods for TabbedBrowser to CurCommandDispatcher class
2014-02-21 22:00:41 +01:00
Florian Bruhin
e47d13d725
Fix initial tab opening
2014-02-21 20:06:42 +01:00
Florian Bruhin
38ef8fe8c7
First attempt at proper AboutSchemeHandler
2014-02-20 23:08:27 +01:00
Florian Bruhin
ec1951c56c
Move abouthandler to network subpackage
2014-02-20 22:26:25 +01:00
Florian Bruhin
65ae1882f0
Move NetworkManager to own file
2014-02-20 22:26:25 +01:00
Florian Bruhin
82f7e46459
Use NeighborList for history in statusbar.
2014-02-20 20:47:26 +01:00
Florian Bruhin
cf2133bb96
Add zoomin/zoomout commands.
2014-02-20 19:55:35 +01:00
Florian Bruhin
dc179a65bb
Add temp_message signal to BrowserTab
2014-02-20 19:55:35 +01:00
Florian Bruhin
ab8fef3cdb
Add new NeighborList datatype
2014-02-20 19:55:35 +01:00
Florian Bruhin
561a7e1cdd
Add workaround to keystring so it gets cleared properly.
2014-02-19 23:08:38 +01:00
Florian Bruhin
1c921a77f6
Set scroll percentage to 0 in __init__
2014-02-19 16:25:15 +01:00
Florian Bruhin
21cf1cc700
Remove unnecessary lambda
2014-02-19 15:57:13 +01:00
Florian Bruhin
3a140b9a1c
Split text to normal/error/tmp again, show text.
...
This splits the text shown in the statusbar into normal/error/temporary
text again, and shows the text when idle instead of the command.
2014-02-19 15:40:43 +01:00
Florian Bruhin
c2e3039702
Only hide temporary error message on non-modifiers
2014-02-19 14:57:31 +01:00
Florian Bruhin
cb47ae1b43
Fix pyqtSlot() decorations.
2014-02-19 14:57:16 +01:00
Florian Bruhin
b03932400f
Simplify displaying text a lot.
...
This now only has one category of text, and displays it in a
QStackedWidget with the Command.
2014-02-19 14:44:40 +01:00
Florian Bruhin
ab87c8e8b9
Clear temporary text on keypress.
2014-02-19 14:44:38 +01:00
Florian Bruhin
c57e78b765
Display temporary messages in statusbar.
...
For some odd reason, old messages still don't get cleared properly.
2014-02-19 14:44:37 +01:00
Florian Bruhin
4b91915090
Bugfix: initialize _url_stack for Browser properly.
2014-02-19 14:44:00 +01:00
Florian Bruhin
93065188a7
All-caps constants
2014-02-19 11:11:19 +01:00
Florian Bruhin
9a990d56d9
Nicer docstrings
2014-02-19 10:58:32 +01:00
Florian Bruhin
581f88fcce
Avoid pylint maybe-no-member warnings for ConfigParser.
2014-02-18 19:32:00 +01:00
Florian Bruhin
6d709d9fd8
Allow completion widget height to be configured in %
2014-02-18 19:05:56 +01:00
Florian Bruhin
9318558eb6
Make completion height configurable
2014-02-18 18:42:43 +01:00
Florian Bruhin
9568be3d2a
Use default geometry if no geometry was saved.
2014-02-18 18:38:48 +01:00
Florian Bruhin
96747c9d58
Reordering in widget submodules
2014-02-18 18:32:07 +01:00
Florian Bruhin
034f85b1d4
Use property for CompletionFilterModel.srcmodel
2014-02-18 17:57:58 +01:00
Florian Bruhin
0425ce7b48
Extend paintEvent instead of using an eventFilter
2014-02-18 17:26:26 +01:00
Florian Bruhin
2fe2ca85c2
Set WA_StyledBackground for statusbar instead of overriding paintEvent
2014-02-18 16:57:10 +01:00
Florian Bruhin
911d5d3b4a
Refactor ALL the things
2014-02-18 16:51:01 +01:00
Florian Bruhin
3d37b22fb0
Cleanup
2014-02-18 14:21:39 +01:00
Florian Bruhin
234d171483
Use Qt saveGeometry and restoreGeometry
2014-02-18 14:14:27 +01:00
Florian Bruhin
c9e4f2417d
Add more shutdown debugging
2014-02-18 13:05:42 +01:00
Florian Bruhin
27d354633c
Save/restore window geometry.
2014-02-18 11:57:35 +01:00
Florian Bruhin
8ba4661838
bugfix: Fix command history
2014-02-18 10:50:41 +01:00
Florian Bruhin
d349a987c7
CrashDialog: add Stretch before buttons.
2014-02-18 08:52:37 +01:00
Florian Bruhin
8c1619236b
CrashDialog: fix layout setting issue
2014-02-18 08:52:25 +01:00
Florian Bruhin
8d9280d1d8
Set more parents
2014-02-18 08:37:05 +01:00
Florian Bruhin
2779b2f42e
Fix cur_scroll_page regression.
2014-02-17 22:24:17 +01:00
Florian Bruhin
14a090c087
More shutdown/crashing improvments.
2014-02-17 20:30:09 +01:00
Florian Bruhin
9c0f0e8ac5
Add last_close setting.
2014-02-17 16:50:41 +01:00
Florian Bruhin
01096b995c
Store more Qt properties as class attributes.
2014-02-17 16:09:27 +01:00
Florian Bruhin
8c37e1c33a
Make closing/crashing much more reliable.
2014-02-17 14:17:56 +01:00
Florian Bruhin
966ceba1e6
Import cleanup
2014-02-17 12:23:52 +01:00
Florian Bruhin
d5807169d1
Decorate slots with pyqtSlot.
...
This seems to reduce memory usage a bit and make things a bit faster.
2014-02-17 12:00:08 +01:00
Florian Bruhin
0abb5cf738
Try to shut down everything cleanly.
2014-02-17 10:20:57 +01:00
Florian Bruhin
9257f0c98a
Don't keep static references to QPainter.
...
For some reason, this seems to cause a segfault.
2014-02-17 08:42:12 +01:00
Florian Bruhin
76a459f604
Add more hard references.
...
This should prevent some segfaults, as pointed out by [1].
[1]: https://github.com/integricho/path-of-a-pyqter/tree/master/qttut02
2014-02-17 08:19:30 +01:00
Florian Bruhin
933296f47f
Move models to qutebrowser.models
2014-02-14 17:41:12 +01:00
Florian Bruhin
434a904335
Add icon= to error html format()
2014-02-14 07:50:31 +01:00
Florian Bruhin
e56ed54102
Add broken error pages
2014-02-14 07:17:36 +01:00
Florian Bruhin
203fa3eb34
Docstring grammar fixes
2014-02-13 18:57:19 +01:00
Florian Bruhin
62f140cf88
Remove unneeded self.show()s
2014-02-13 18:47:39 +01:00
Florian Bruhin
176c1aa7d6
Use float() where applicable, not int()
2014-02-13 11:48:25 +01:00
Florian Bruhin
029813c8eb
Implement page-wise scrolling.
2014-02-13 10:28:09 +01:00
Florian Bruhin
7deab20820
Cleanup, more checks
2014-02-13 09:10:53 +01:00
Florian Bruhin
963b90ae74
Disable pylint maybe-no-member in TabWidget._init_config
2014-02-13 09:00:07 +01:00
Florian Bruhin
5b0e24b799
Make tabbar configurable.
2014-02-13 08:56:01 +01:00
Florian Bruhin
d7f58015bb
Set sizePolicy of Command to minimumExpanding.
2014-02-13 07:16:47 +01:00
Florian Bruhin
4271200846
Emit urlChanged immediately when opening a new tab.
2014-02-13 07:11:18 +01:00
Florian Bruhin
ca97a50820
Call tab.openurl _after_ connecting signals.
2014-02-13 07:10:41 +01:00
Florian Bruhin
0326a66758
Don't color progress bar anymore.
2014-02-13 07:06:34 +01:00
Florian Bruhin
6538dbbdf1
Colorize URLs in statusbar, fix hovering.
...
Before, when hovering from an URL to another URL, the old hover-URL was
saved as old-url. This is now fixed.
2014-02-13 06:58:17 +01:00
Florian Bruhin
76ba7921d4
Elide statusbar text/URLs correctly.
2014-02-12 23:56:23 +01:00
Florian Bruhin
626b9fc3b8
Ignore StatusBar sizehint
2014-02-12 23:04:46 +01:00
Florian Bruhin
d343ea26af
Don't use QMainWindow
2014-02-12 23:04:46 +01:00
Florian Bruhin
f893b11f1b
Fix progress bar being red hopefully.
2014-02-12 17:13:31 +01:00
Florian Bruhin
5342b88519
linting update
2014-02-12 17:00:50 +01:00
Florian Bruhin
c0dc9f8622
Use Qt properties for condition coloring.
2014-02-12 17:00:39 +01:00
Florian Bruhin
002118953c
Use separate QHBoxLayout elements for statusbar.
2014-02-12 08:48:54 +01:00
Florian Bruhin
c77589a821
Make SignalCache an own class.
2014-02-11 14:04:36 +01:00
Florian Bruhin
d4e69c955e
Show hovered link in statusbar.
2014-02-11 13:33:33 +01:00
Florian Bruhin
1134461953
Make it possible to ignore signals for cache.
2014-02-11 13:27:26 +01:00
Florian Bruhin
d37318b851
Immediately emit cur_url_changed when opening new tab.
2014-02-11 13:08:15 +01:00
Florian Bruhin
9aa49b7fe8
Pad scroll percentage.
2014-02-11 13:06:02 +01:00
Florian Bruhin
d89098582f
Show URL in statusbar.
2014-02-11 11:50:37 +01:00
Florian Bruhin
7486cb628a
Revert "Delete QWebViews when tabs are closed."
...
This reverts commit 83276b9576
.
This causes lots of segfaults and other strange stuff when a tab is
closed.
2014-02-11 11:31:20 +01:00
Florian Bruhin
83276b9576
Delete QWebViews when tabs are closed.
2014-02-11 11:17:53 +01:00
Florian Bruhin
78c89981ab
Implement custom style for Ubuntu madness.
2014-02-11 07:01:59 +01:00
Florian Bruhin
6cf85ff52e
Replace QUrl::url by QUrl::toString.
2014-02-10 19:12:12 +01:00
Florian Bruhin
094640b39b
Fix signal_cache init, more debugging.
2014-02-10 17:54:24 +01:00
Florian Bruhin
39ed73c3cf
python package cleanup
2014-02-10 15:06:46 +01:00
Florian Bruhin
e49a0aa0ed
Use generator expressions where possible.
2014-02-10 08:21:09 +01:00
Florian Bruhin
1af78272bb
Make fonts configurable.
2014-02-10 07:03:51 +01:00
Florian Bruhin
9636432bd5
Move completion widget when statusbar moves.
2014-02-09 21:43:24 +01:00
Florian Bruhin
1a74cbee74
Completion widget design microtuning.
2014-02-09 21:27:56 +01:00
Florian Bruhin
6fbfcab3e2
Don't hardcode heights of tabbar/statusbar
2014-02-09 21:18:44 +01:00
Florian Bruhin
01633007e0
Be PEP257 compliant.
2014-02-07 20:21:50 +01:00
Florian Bruhin
a4a2832f8e
Move url utils to url.py
2014-02-07 17:20:55 +01:00
Florian Bruhin
ccddf3f7e7
Improve url/searchterm checking.
2014-02-07 17:14:13 +01:00
Florian Bruhin
acd7a0a070
Load unknown about:... pages with QWebView.
2014-02-07 14:01:35 +01:00
Florian Bruhin
2ed3f722f5
Catch AttributeError when opening unknown about: pages
2014-02-07 12:54:39 +01:00
Florian Bruhin
920683b804
Refactor about:... handling
2014-02-07 10:34:37 +01:00
Florian Bruhin
0648dce295
Add GNU GPL
2014-02-06 14:01:23 +01:00
Florian Bruhin
04ffbc3e53
Fixes for checks.
2014-02-06 13:40:18 +01:00
Florian Bruhin
4c36665601
Bind loadStarted correctly, whoops.
2014-02-06 13:37:05 +01:00
Florian Bruhin
e2589a35b3
Add opencur and tabopencur
2014-02-06 13:34:49 +01:00
Florian Bruhin
bb7df14c08
Fix completion widget size handling
2014-02-06 10:36:00 +01:00
Florian Bruhin
9a0451c984
Crash more reliably #2
2014-02-06 10:25:22 +01:00
Florian Bruhin
ae81427293
Cleanup/Checks
2014-02-06 06:54:57 +01:00
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
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
fc7caee370
Crash more reliably (lol'd)
2014-02-05 11:40:30 +01:00
Florian Bruhin
1f6ae3e0ed
Add possible workaround for model invalidate().
2014-02-04 20:59:39 +01:00
Florian Bruhin
109522e43f
Save sourceModel().
2014-02-04 18:37:35 +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
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
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
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
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
b158cd78b5
Allow non-None default for count
2014-01-30 07:08:45 +01:00
Florian Bruhin
85c44ed78c
Implement count everywhere
2014-01-30 07:05:17 +01:00
Florian Bruhin
58103fa7e4
Implement yank/paste
2014-01-30 00:29:46 +01:00
Florian Bruhin
18c68ce74e
Implement searching
2014-01-29 21:06:56 +01:00
Florian Bruhin
c0f01d9219
Allow other chars than : to be used for commandline
2014-01-29 20:25:41 +01:00
Florian Bruhin
6445410c2a
Set progress bar color to normal if loading okay
2014-01-29 15:50:15 +01:00
Florian Bruhin
293ebc8d46
Add some asserts
2014-01-29 15:45:10 +01:00
Florian Bruhin
e56099e0ec
Docstringify ALL the things
2014-01-29 15:30:19 +01:00
Florian Bruhin
46660b11ef
Refactor CompletionView
2014-01-29 09:14:37 +01:00
Florian Bruhin
a8f9137fc8
Simple cleanups in widgets.completion
2014-01-29 09:07:04 +01:00
Florian Bruhin
7d4c02d301
Add docstrings to widgets.completion
2014-01-29 09:06:38 +01:00
Florian Bruhin
d83b98ecc0
More pylint fixes
2014-01-29 08:36:44 +01:00
Florian Bruhin
8870882edd
Shut up, pylint
2014-01-29 04:25:46 +01:00
Florian Bruhin
59a19db9a2
Add __init__.py
2014-01-29 04:24:37 +01:00
Florian Bruhin
06ad500964
Refactor CompletionItemDelegate a bit
2014-01-29 06:36:13 +01:00
Florian Bruhin
6f3a2448ba
pep8 fixes
2014-01-28 23:12:44 +01:00
Florian Bruhin
f059bf0b3d
some pylint fixes
2014-01-28 19:52:09 +01:00
Florian Bruhin
80feee323f
Fix long lines
2014-01-28 17:33:48 +01:00
Florian Bruhin
eeb33a3e10
Remove semicolon
2014-01-28 17:30:37 +01:00
Florian Bruhin
9f25f049b8
Remove stylesheet debug output
2014-01-28 16:25:46 +01:00
Florian Bruhin
3c016de687
Scroll on space press
2014-01-28 16:13:26 +01:00
Florian Bruhin
a907e913dd
More monospace fonts
2014-01-28 15:20:58 +01:00
Florian Bruhin
9e24731d9a
Don't tabcomplete if it's impossible
2014-01-28 13:23:08 +01:00
Florian Bruhin
fb84bdb55c
Fix color configuration bugs
2014-01-28 13:03:15 +01:00
Florian Bruhin
9c209c0cdd
Allow completion to be disabled
2014-01-28 12:59:38 +01:00
Florian Bruhin
9bf7dd2bbb
Make colors configurable
2014-01-28 12:24:08 +01:00
Florian Bruhin
429d4a6814
Open new tab on Ctrl+click
2014-01-28 08:22:49 +01:00
Florian Bruhin
16645768e6
completion: clean up tab handler
2014-01-28 08:16:31 +01:00
Florian Bruhin
2480f13106
completion: Mark in red, not blue
2014-01-28 07:53:52 +01:00
Florian Bruhin
9d42bfa7cb
Remove old FIXME
2014-01-28 07:53:21 +01:00
Florian Bruhin
69e972e275
completion: Only mark in first column
2014-01-28 07:53:05 +01:00
Florian Bruhin
5027930018
Add FIXME for statusBarMessage
2014-01-28 07:18:09 +01:00
Florian Bruhin
b351fdf477
Handle statusBarMessage from WebView
2014-01-28 07:16:33 +01:00
Florian Bruhin
5df27e36a0
Set statusbar to 0% on loadStarted
2014-01-28 07:07:53 +01:00
Florian Bruhin
9ac3f51db2
Color statusbar red on failed load
2014-01-28 06:59:35 +01:00
Florian Bruhin
801bfcaab5
Tabbar style improvement
2014-01-27 23:12:43 +01:00
Florian Bruhin
adb0644674
Use QUrls everywhere in browser.py
2014-01-27 23:07:00 +01:00
Florian Bruhin
b4cfb7dbf2
Try to handle middle clicks
2014-01-27 22:55:58 +01:00
Florian Bruhin
3e47c89bac
Sort items correctly
2014-01-27 22:18:12 +01:00
Florian Bruhin
7a549b38a4
Aaaargh, CRLFs
2014-01-27 21:42:00 +01:00
Florian Bruhin
f2223064b3
Merge completion branch
...
Squashed commit of the following:
commit 8bbf7242e7ae3168a0e8652ad643c7c1fe8670d3
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 21:34:35 2014 +0100
foo
commit cc9a4eed6e7ca9599bcc40b40f43614040711714
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 21:33:09 2014 +0100
fixes
commit b84c9207f8596dac0f47bf72cd178f8e3ee9ebb7
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 21:27:48 2014 +0100
Make titles bold
commit d2ef899f90036b05856deb178e61de5d961e1342
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 21:18:01 2014 +0100
Make tab work properly
commit ccc407093e39f1964c8e3ff2900c66b28dc7fe56
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 16:19:57 2014 +0100
Add FIXME, remove showhide
commit cbe6d0a2b0614df839c75f1815f939c11e4ae3ba
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 16:12:55 2014 +0100
Use stylesheet for highlight
commit 7eeb6e79f17bc8e7ccc1ec90f474d1c2b1c01c1e
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 16:01:50 2014 +0100
Make highlighting work
commit 4fed5b9f7291109fd1c669c61501861223364b7d
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 17:49:30 2014 +0100
First attempt at marking
commit 27a3bda214b7fc7741b4c12d723ccdf4073c0d5e
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 17:14:48 2014 +0100
Funny broken marking
commit 2798cf75dd295ace2a33295e9a64dd373b7fd669
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 16:25:36 2014 +0100
Make completion and filtering work
commit b213d9724bc9f4bb36204bd1b2c4aaf62a454e11
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 16:07:14 2014 +0100
Implement dynamic source models
commit c7951e6b4346a1702509bea6d3694cc50550c9ed
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 14:44:31 2014 +0100
Add custom filtering
commit 37b100f3a1a1f5a90592e34b268c08df684b0df9
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 14:43:57 2014 +0100
Add default roles in model
commit 1610423c1dd36c0adc35743a38e2c3a81f3641ef
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 14:43:36 2014 +0100
Remove dataChanged
commit 467712630b00a9ca2407903bdba977b5e66dd2bc
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 13:57:18 2014 +0100
Fix stuff
commit 00bb46e0ef46b9ae61652bde3ae10d3252263e46
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 11:51:34 2014 +0100
First attempt at a real CommandCompletionModel
commit a8be022f80d7d35049d1ae3d8431702e7a407698
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 10:25:48 2014 +0100
Adapt completion view to size
commit ad6bf69a4257880ce14b0590bcb5381c718bb744
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 09:17:48 2014 +0100
Fix stuff
commit 41c1fbfa942bab0a1a0db35f6b745b691c774b22
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 09:16:09 2014 +0100
Hide CompletionView by default
commit 2ac8596dada6c7e079807bfd698377a9d3ffd0af
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 09:13:11 2014 +0100
File shuffling
commit f0c85d5bee30095324be354934f3379c1c6a5291
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 09:04:29 2014 +0100
Cleanup, don't show completionview
commit 177ac97acb2d611992869f122669d95a8dadcdbb
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 07:16:37 2014 +0100
Add FIXME for eliding
commit 6b234c58928e9a231ec35e5080a27d7a8affebc4
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 07:12:55 2014 +0100
Add TextOption to TextDocument
commit 195e95459b54bbdb0545cb0e4db417ab641cea28
Author: Florian Bruhin <git@the-compiler.org>
Date: Mon Jan 27 07:01:41 2014 +0100
Resize QTreeView contents based on window size
commit 05b854bc812f0aabf5c6dcbdfa1dfd74ea495170
Author: Florian Bruhin <git@the-compiler.org>
Date: Sun Jan 26 01:19:28 2014 +0100
Split files
commit ff433b561179a562494c7d3558336a917edc497f
Author: Florian Bruhin <git@the-compiler.org>
Date: Sun Jan 26 00:57:18 2014 +0100
cleanup
commit bdb17de2fee65411b4dd1d0ad449329f0586f1e0
Author: Florian Bruhin <git@the-compiler.org>
Date: Sun Jan 26 00:15:17 2014 +0100
Make text drawing work properly
commit d844152074738df88ed79c2e1efc4eec4b6e5734
Author: Florian Bruhin <git@the-compiler.org>
Date: Sat Jan 25 14:03:16 2014 +0100
Split painting into functions
commit 585a9f6931a407117c4232ac14844d33233922f8
Author: Florian Bruhin <git@the-compiler.org>
Date: Sat Jan 25 13:50:52 2014 +0100
Use QTextDocument, things are getting better
commit 96fef2114e68766590ed33fa92c6f2bbac8adb11
Author: Florian Bruhin <git@the-compiler.org>
Date: Sat Jan 25 13:08:58 2014 +0100
Failed try to reimplement painting
commit d967285f24a7966674c8685e9e276e560e9cc066
Author: Florian Bruhin <git@the-compiler.org>
Date: Sat Jan 25 11:15:07 2014 +0100
Try drawing over text
commit 2687d891cc2f1ecd00cace78492cbffc745d9e5b
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 23:06:44 2014 +0100
First try at implementing delegate
commit c8bada0c7607df936df04b9c7796a03cc2e1a71a
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 19:59:14 2014 +0100
Don't allow categories to be selected
commit 6b56df5a0e2588d89d757f583070dd2ca78a6e15
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 19:53:36 2014 +0100
Add outline:0 to TreeView
commit 534ba6e191e711cc7abeea78c3bf470e9eaf0bfd
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 17:57:57 2014 +0100
More styling
commit 065d40c24d2746f49660485700e3e6327b28810d
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 17:47:40 2014 +0100
Add more commands, more styling for TreeView
commit 2362d01db40bbc923a51a8bc53ffbabfd18ebea0
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 16:50:31 2014 +0100
Adjust super()
commit 43ebedff6724af0f217acc14a325febd12c4ed0b
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 16:50:20 2014 +0100
Style CompletionView
commit 79c1010cf54bd8a3c3f4b2b4a9f97d8ae7d603fb
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 13:06:12 2014 +0100
Completion refactoring
Clean up imports
Whitespace
Make items non-editable
Rename nodeToIndex()
Return QVariant() instead of None
Remove comments
Don't inherit TreeItem from object
Get rid of getValue
Get rid of child()
Get rid of childCount
Remove appendChild
Get rid of columnCount
Get rid of parent()
Renames
Refactor if
Simplify columnCount
Minor fixups
commit a7a6b95f56a87ef03359ec5f9e5d45a906112845
Author: Florian Bruhin <git@the-compiler.org>
Date: Fri Jan 24 13:04:28 2014 +0100
Split completion out of command.py
commit cd1c6419ff4034a29a1b48c4ed6ca292944f5674
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Jan 23 17:53:37 2014 +0100
Fix
commit 7073edea92ff8384535f5db80c01168bb8462e75
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Jan 23 17:28:03 2014 +0100
More attempts
commit 7dc522667ba52e9b7f20b3b66e977d23258a3ff4
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Jan 23 16:56:01 2014 +0100
Get rid of parent in setupModelData
commit 5df4874e14818399494f3a47f7feea8b9f86cf69
Author: Florian Bruhin <git@the-compiler.org>
Date: Thu Jan 23 16:51:52 2014 +0100
First model/view experiments
2014-01-27 21:35:12 +01:00
Florian Bruhin
7284b21be7
Add FIXME
2014-01-24 12:57:02 +01:00
Florian Bruhin
d56344f46a
Move some things from x.foo.foo to x.foo (__init__.py)
2014-01-21 15:46:41 +01:00
Florian Bruhin
bf33836dcf
Remove QCompleter from statusbar.text
2014-01-21 18:02:07 +01:00
Florian Bruhin
bcd4273672
Split statusbar into multiple files
2014-01-21 17:54:21 +01:00
Florian Bruhin
f87e9c3546
Move CmdValidator out of StatusCommand, add CmdCompleter example
2014-01-21 17:44:50 +01:00
Florian Bruhin
d18162d902
History fixes
2014-01-21 12:06:23 +01:00
Florian Bruhin
06b1683033
Add colon in set_cmd
2014-01-21 12:01:28 +01:00
Florian Bruhin
133e4c4b61
Improve history
...
Also adds partial history completion, like zsh
2014-01-21 11:59:01 +01:00
Florian Bruhin
485c7a6316
Implement command history
2014-01-21 11:32:56 +01:00